body {
    overflow-x: hidden;
}

/* 🔴 Breaking News Section */
.breaking-news-bar {
    background: #fff;
    border-top: 2px solid maroon;
    border-bottom: 2px solid maroon;
    font-family: "Inter", sans-serif;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(128, 0, 0, 0.15);
}

/* ✅ Popular Tags */
.popular-tags strong {
    color: maroon;
    font-weight: 700;
    font-size: 16px;
}

.tag {
    background: #fff;
    border: 1px solid maroon;
    color: maroon;
    font-size: 14px;
    padding: 3px 10px;
    border-radius: 4px;
    margin-right: 6px;
    text-decoration: none;
    transition: 0.3s;
}

.tag:hover {
    background: maroon;
    color: #fff;
}

/* ✅ Breaking News Right Side */
.breaking-news {
    border-left: 1px solid #ddd;
    margin-left: auto;
    white-space: nowrap;
    flex-wrap: nowrap;
}

.breaking-title {
    background: maroon;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 15px;
    padding: 8px 18px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px 0 0 6px;
    animation: pulseRed 1.8s infinite;
}

/* Title Animation */
@keyframes pulseRed {
    0%,
    100% {
        background: maroon;
    }
    50% {
        background: #d80000;
    }
}

/* ✅ Ticker Animation */
.news-ticker {
    overflow: hidden;
    position: relative;
    flex-grow: 1;
}

.ticker-content {
    display: inline-flex;
    align-items: center;
    gap: 60px;
    white-space: nowrap;
    animation: tickerScroll 30s linear infinite;
}

.ticker-inner {
    display: flex;
    align-items: center;
    gap: 60px;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: #333;
}

.news-img {
    width: 34px;
    height: 34px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 8px;
    border: 2px solid maroon;
    box-shadow: 0 0 6px rgba(128, 0, 0, 0.2);
}

@keyframes tickerScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ✅ Pause on hover */
.news-ticker:hover .ticker-content {
    animation-play-state: paused;
}

/* ✅ Responsive */
@media (max-width: 768px) {
    .breaking-news-bar .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .popular-tags {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
    }

    .breaking-news {
        border-left: none;
        width: 100%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .breaking-title {
        border-radius: 6px;
        padding: 8px 70px;
        margin-bottom: 6px;
    }

    .ticker-item {
        font-size: 14px;
    }
}

/* 🔴 main SECTION TITLE */
.section-title {
    position: relative;
    display: inline-block;
    font-weight: 700;
    color: #fff;
    background: #800000;
    padding: 6px 14px;
    font-size: 16px;
    margin-bottom: 12px;
    text-transform: uppercase;
    border-radius: 4px;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    width: 80px;
    height: 3px;
    background: #800000;
    margin-left: 8px;
}

/* 📰 NEWS CARD */
.news-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.4s ease;
    background: #000;
}

.news-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.2));
    opacity: 0.9;
    transition: opacity 0.3s;
}

.news-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 15px;
    z-index: 2;
    color: #fff;
    width: 100%;
    transition: transform 0.4s ease;
}

.tags span {
    background: #c00;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 1px 6px;
    margin-right: 4px;
    border-radius: 3px;
    text-transform: uppercase;
}

.news-content h5 {
    font-weight: 700;
    font-size: 1rem;
    margin-top: 6px;
    line-height: 1.3;
}

.news-meta {
    font-size: 12px;
    opacity: 0.9;
    margin-top: 4px;
}

.news-card:hover img {
    transform: scale(1.08);
}

.news-card:hover .news-content {
    transform: translateY(-4px);
}

.news-card.large {
    height: 350px;
}

.news-card.small {
    height: 170px;
}

/* Carousel Controls */
.carousel-indicators [data-bs-target] {
    background-color: #c00;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    padding: 10px;
}

/* Responsive */
@media (max-width: 992px) {
    .news-card.large {
        height: 300px;
    }

    .news-card.small {
        height: 160px;
    }
}

@media (max-width: 768px) {
    .news-card.large,
    .news-card.small {
        height: 240px;
    }
}

/* ===== SECTION TITLE ===== */
.section-heading {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.section-heading h5 {
    font-weight: 700;
    color: #800000;
    background: #fff;
    padding-right: 10px;
    margin-bottom: 0;
    font-size: 18px;
}

.section-heading::after {
    content: "";
    flex: 1;
    height: 2px;
    background: #800000;
    margin-left: 10px;
}

/* ===== CARD DESIGN ===== */
.bnews-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.bnews-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.bnews-img {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.bnews-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.bnews-card:hover .bnews-img img {
    transform: scale(1.1);
}

/* ===== TAGS ===== */
.bnews-tags {
    position: absolute;
    bottom: 10px;
    left: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
}

.bnews-tags span {
    background: #c00;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 5px;
    border-radius: 3px;
    text-transform: uppercase;
}

/* ===== CONTENT ===== */
.bnews-content {
    padding: 10px;
}

.bnews-title {
    font-weight: 700;
    font-size: 14px;
    color: #111;
    line-height: 1.4;
    transition: color 0.3s;
    margin-bottom: 5px;
}

.bnews-card:hover .bnews-title {
    color: #c00;
}

.bnews-meta {
    font-size: 12px;
    color: #777;
}

.bnews-meta i {
    color: #c00;
    margin-right: 4px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .bnews-img {
        height: 140px;
    }

    .bnews-title {
        font-size: 13px;
    }
}

.up-news-section {
    background: #fff;
    color: #000;
}

.up-section-title h5 {
    display: inline-block;
    background: #800000;
    color: #fff;
    padding: 6px 15px;
    font-weight: 600;
    font-size: 17px;
    border-radius: 4px;
    position: relative;
}

.up-section-title h5::after {
    content: "";
    position: absolute;
    height: 2px;
    width: 100%;
    bottom: -6px;
    left: 0;
    background: #800000;
}

/* ✅ Cards */
.up-card {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.up-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.up-card:hover img {
    transform: scale(1.05);
}

.up-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 18px 14px;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.85),
        rgba(0, 0, 0, 0.4),
        transparent
    );
    color: #fff;
    backdrop-filter: blur(1px);
}

.up-overlay h6 {
    font-size: 15px;
    font-weight: 700;
    margin-top: 6px;
    line-height: 1.4;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.up-overlay p {
    font-size: 12px;
    color: #e0e0e0;
    margin: 3px 0 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.up-tags span {
    background: #b71c1c;
    color: #fff;
    font-size: 10px;
    padding: 3px 6px;
    margin: 0 2px 3px 0;
    border-radius: 3px;
    font-weight: 500;
}

/* ✅ Latest News */
.up-latest-list .up-latest-item {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.up-latest-list img {
    width: 110px;
    height: 75px;
    object-fit: cover;
    margin-right: 10px;
    border-radius: 3px;
}

.up-text h6 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 3px;
}

.up-text p {
    font-size: 12px;
    color: #777;
    margin: 0;
}

.up-latest-list .up-tags span {
    background: #b71c1c;
    color: #fff;
    font-size: 9px;
    padding: 2px 4px;
    margin-right: 2px;
    border-radius: 2px;
}

/* ✅ Responsive */
@media (max-width: 768px) {
    .up-latest-list img {
        width: 80px;
        height: 60px;
    }

    .up-card img {
        height: 200px;
    }

    .up-section-title h5 {
        font-size: 15px;
    }
}

/* ✅ Background Theme */
.register-area {
    background: url("https://t3.ftcdn.net/jpg/02/35/44/35/360_F_235443599_p8HtD6hwLv1HQXc0Qv1oz2sQ8sM2dtBe.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 80px 0;
    position: relative;
}

.register-area:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(4px);
    background: rgba(0, 0, 0, 0.5);
}

/* ✅ Glassmorphism Form Card */
.reg-card {
    position: relative;
    max-width: 700px;
    margin: auto;
    padding: 35px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
    border: 2px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    color: #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

.form-label {
    font-weight: 600;
    font-size: 14px;
    color: #f1f1f1;
}

.form-control,
.form-select {
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.form-control::placeholder {
    color: #ddd;
}

.form-control:focus,
.form-select:focus {
    border-color: #e30613;
    box-shadow: none;
}

.reg-title {
    text-align: center;
    font-size: 32px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 25px;
    color: #ff1e26;
    letter-spacing: 1px;
}

/* ✅ Button */
.btn-register {
    background: #ff1e26;
    font-size: 18px;
    font-weight: bold;
    padding: 10px;
    width: 100%;
    border-radius: 6px;
    border: none;
    transition: 0.3s;
    color: #fff;
}

.btn-register:hover {
    background: #b30109;
    transform: translateY(-2px);
}

.already-text {
    text-align: center;
    margin-top: 12px;
    color: #fff;
}

.already-text a {
    color: #ff1e26;
    font-weight: bold;
    text-decoration: none;
}

/* ✅ Mobile Responsive */
@media (max-width: 576px) {
    .reg-card {
        padding: 25px;
    }
    .reg-title {
        font-size: 26px;
    }
}

.login-area {
    background: url("https://t3.ftcdn.net/jpg/02/35/44/35/360_F_235443599_p8HtD6hwLv1HQXc0Qv1oz2sQ8sM2dtBe.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 90px 0;
    position: relative;
}

.login-area:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.login-card {
    position: relative;
    width: 100%;
    max-width: 450px;
    margin: auto;
    padding: 35px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
    border: 2px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
    color: #fff;
}

.login-title {
    font-size: 30px;
    text-transform: uppercase;
    font-weight: 800;
    color: #ff1e26;
    text-align: center;
    margin-bottom: 25px;
}

.form-label {
    color: #eee;
    font-weight: 600;
}

.form-control {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
}

.form-control:focus {
    border-color: #ff1e26;
    box-shadow: none;
}

.form-control::placeholder {
    color: #ccc;
}

.btn-login {
    background: #ff1e26;
    color: #fff;
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 17px;
    transition: 0.3s;
}

.btn-login:hover {
    background: #b30109;
    transform: translateY(-2px);
}

.extra-text {
    text-align: center;
    margin-top: 15px;
    font-size: 15px;
}

.extra-text a {
    color: #ff1e26;
    font-weight: bold;
    text-decoration: none;
}

@media (max-width: 576px) {
    .login-card {
        padding: 28px;
    }

    .login-title {
        font-size: 24px;
    }
}














