/* =============================================
   DIET MADHEPURA – MAIN STYLESHEET
   ============================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #1a56db;
    --primary-d: #1341b0;
    --accent: #f59e0b;
    --green: #10b981;
    --red: #ef4444;
    --dark: #0f172a;
    --text: #ffffff;
    --muted: #64748b;
    --light: #f0f4ff;
    --white: #ffffff;
    --border: #e2e8f0;
    --radius: 14px;
    --shadow: 0 4px 24px rgba(26, 86, 219, .12);
    --shadow-lg: 0 8px 40px rgba(26, 86, 219, .18);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background: #f8fafc;
    overflow-x: hidden;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

.hidden {
    display: none !important;
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: 50px;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s;
    border: 2px solid transparent;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(26, 86, 219, .35);
}

.btn-primary:hover {
    background: var(--primary-d);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 86, 219, .45);
}

.btn-outline {
    border-color: var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

/* ---- TICKER ---- */
.ticker-wrap {
    background: linear-gradient(90deg, #0f172a 0%, #1a56db 100%);
    color: #fff;
    display: flex;
    align-items: center;
    height: 36px;
    overflow: hidden;
    font-size: .78rem;
    font-weight: 500;
}

.ticker-label {
    background: var(--accent);
    color: #000;
    padding: 0 14px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    font-weight: 700;
    flex-shrink: 0;
}

.ticker-content {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 100%;
}

.ticker-inner {
    display: inline-flex;
    align-items: center;
    height: 100%;
    white-space: nowrap;
    animation: ticker 30s linear infinite;
}

.ticker-inner span {
    margin: 0 40px;
}

@keyframes ticker {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* ---- TOP LATEST NOTICE TICKER ---- */
.top-ticker {
    background: linear-gradient(90deg, #0f172a 0%, #1a56db 100%);
    color: #fff;
    display: flex;
    align-items: center;
    height: 32px;
    overflow: hidden;
    font-size: .76rem;
}

.top-ticker-label {
    background: #ff9933;
    color: #000;
    padding: 0 14px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    font-weight: 700;
    font-size: .74rem;
    flex-shrink: 0;
}

.top-ticker-scroll {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.top-ticker-scroll a {
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    padding-left: 40px;
    animation: topTickerScroll 20s linear infinite;
    font-weight: 500;
}

@keyframes topTickerScroll {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* ---- TRICOLOR WELCOME BANNER ---- */
.tricolor-banner {
    background: #fff;
    border-top: 3px solid #FF9933;
    border-bottom: 3px solid #138808;
    padding: 8px 20px;
    text-align: center;
}

.tricolor-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000;
    letter-spacing: 1px;
}

.blink-text {
    animation: blinkAnim 1s step-end infinite;
}

@keyframes blinkAnim {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* ---- HEADER ---- */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(90deg, #ff9933 0%, #ffffff 50%, #138808 100%);
    box-shadow: 0 4px 30px rgba(0, 0, 0, .4);
    border-bottom: 3px solid #1a56db;
}

.header * {
    color: #333 !important;
}

.header a,
.nav a,
.nav-dropdown .dropbtn {
    color: #333 !important;
}

.header a:hover,
.nav a:hover,
.nav-dropdown .dropbtn:hover {
    color: #1a56db !important;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 30px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.logo-circle {
    width: 220px;
    height: 70px;
    border-radius: 8px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: none;
    border: none;
    padding: 0;
}

.logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-text h1 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.1;
}

.logo-text h1 span {
    color: var(--primary);
}

.logo-text p {
    font-size: .72rem;
    color: #94a3b8;
    line-height: 1.3;
}

.logo-text .sub {
    color: var(--accent);
    font-weight: 600;
    font-size: .68rem;
}

.nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* NAV DROPDOWN */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown .dropbtn {
    padding: 8px 18px;
    cursor: pointer;
    color: #333 !important;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    background: transparent;
    border-radius: 6px;
    border: none;
    margin: 0 2px;
}

.nav-dropdown:hover .dropbtn {
    background: #1a56db;
    color: #fff !important;
    border-radius: 6px;
}

.nav-dropdown .dropbtn i {
    margin-left: 5px;
    font-size: 0.8em;
    color: #fff !important;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: #fff;
    min-width: 220px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    border-radius: 10px;
    overflow: hidden;
    top: 100%;
    left: 0;
    border: 1px solid #e2e8f0;
}

.dropdown-content a {
    color: #0f172a !important;
    padding: 14px 18px;
    text-decoration: none;
    display: block;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.95rem;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background: linear-gradient(135deg, #1a56db, #2563eb) !important;
    color: #fff !important;
}

.dropdown-content a i {
    margin-right: 10px;
    width: 20px;
}

.nav-dropdown:hover .dropdown-content {
    display: block;
}

/* New Badge with blink animation */
.new-badge {
    background-color: #dc2626;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: bold;
    margin-left: 5px;
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    25%,
    75% {
        opacity: 0.3;
    }
}

.nav a {
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a1a !important;
    text-decoration: none;
    transition: all 0.3s;
    background: transparent;
    margin: 0 2px;
    border: none;
    display: inline-flex;
    align-items: center;
}

.nav a:hover {
    background: #1a56db;
    color: #fff !important;
    border-radius: 6px;
}

.nav .nav-admin {
    background: #1a56db;
    color: #fff !important;
    padding: 8px 18px;
    border-radius: 6px;
    font-weight: 600;
}

.nav .nav-admin:hover {
    background: #0d3ea8;
    color: #fff !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--dark);
    border-radius: 4px;
    transition: .3s;
}

/* ---- TRICOLOR WELCOME BANNER ---- */
.tricolor-banner {
    background: linear-gradient(90deg, #FF9933 0%, #ffffff 33%, #000080 50%, #ffffff 66%, #138808 100%);
    padding: 12px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 3px solid #FF9933;
    border-bottom: 3px solid #138808;
}

.tricolor-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            rgba(255, 153, 51, .15) 0%,
            rgba(255, 255, 255, .0) 33%,
            rgba(0, 0, 128, .15) 50%,
            rgba(255, 255, 255, .0) 66%,
            rgba(19, 136, 8, .15) 100%);
    animation: tricolorWave 4s ease-in-out infinite;
}

@keyframes tricolorWave {

    0%,
    100% {
        transform: translateX(-5%);
    }

    50% {
        transform: translateX(5%);
    }
}

.tricolor-text {
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.tricolor-word {
    display: inline-block;
    margin: 0 4px;
    color: #fff;
    font-weight: bold;
    animation: glow 1.5s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 5px #fff, 0 0 10px #fff;
    }

    to {
        text-shadow: 0 0 20px #ffeb3b, 0 0 30px #ffeb3b;
    }
}

.tricolor-word:nth-child(1) {
    animation-delay: 0s;
}

.tricolor-word:nth-child(2) {
    animation-delay: 0.2s;
}

.tricolor-word:nth-child(3) {
    animation-delay: 0.4s;
}

.tricolor-word:nth-child(4) {
    animation-delay: 0.6s;
}

.tricolor-word:nth-child(5) {
    animation-delay: 0.8s;
}

.tricolor-word:nth-child(6) {
    animation-delay: 1s;
}

.tricolor-word:nth-child(7) {
    animation-delay: 1.2s;
}

.tricolor-word:nth-child(8) {
    animation-delay: 1.4s;
}

.tricolor-word:nth-child(9) {
    animation-delay: 1.6s;
}

.tricolor-word:nth-child(10) {
    animation-delay: 1.8s;
}

.tricolor-word:nth-child(11) {
    animation-delay: 2s;
}

.tricolor-word:nth-child(14) {
    animation-delay: 0.7s;
}

.tricolor-word:nth-child(15) {
    animation-delay: 0.75s;
}

.tricolor-word:nth-child(16) {
    animation-delay: 0.8s;
}

.tricolor-word:nth-child(17) {
    animation-delay: 0.85s;
}

.tricolor-word:nth-child(18) {
    animation-delay: 0.9s;
}

.tricolor-word:nth-child(19) {
    animation-delay: 0.95s;
}

.tricolor-word:nth-child(20) {
    animation-delay: 1s;
}

.tricolor-word:nth-child(21) {
    animation-delay: 1.05s;
}

.tricolor-word:nth-child(22) {
    animation-delay: 1.1s;
}

.tricolor-word:nth-child(23) {
    animation-delay: 1.15s;
}

.tricolor-word:nth-child(24) {
    animation-delay: 1.2s;
}

.tricolor-word:nth-child(25) {
    animation-delay: 1.25s;
}

.tricolor-word:nth-child(26) {
    animation-delay: 1.3s;
}

.tricolor-word:nth-child(27) {
    animation-delay: 1.35s;
}

.tricolor-word:nth-child(28) {
    animation-delay: 1.4s;
}

.tricolor-word:nth-child(29) {
    animation-delay: 1.45s;
}

.tricolor-word:nth-child(30) {
    animation-delay: 1.5s;
}

.tricolor-word:nth-child(31) {
    animation-delay: 1.55s;
}

.tricolor-word:nth-child(32) {
    animation-delay: 1.6s;
}

.tricolor-word:nth-child(33) {
    animation-delay: 1.65s;
}

.tricolor-word:nth-child(34) {
    animation-delay: 1.7s;
}

.tricolor-word:nth-child(35) {
    animation-delay: 1.75s;
}

.tricolor-word:nth-child(36) {
    animation-delay: 1.8s;
}

.tricolor-word:nth-child(37) {
    animation-delay: 1.85s;
}

.tricolor-word:nth-child(38) {
    animation-delay: 1.9s;
}

.tricolor-word:nth-child(39) {
    animation-delay: 1.95s;
}

.tricolor-word:nth-child(40) {
    animation-delay: 2s;
}

.tricolor-word:nth-child(41) {
    animation-delay: 2.05s;
}

.tricolor-word:nth-child(42) {
    animation-delay: 2.1s;
}

.tricolor-word:nth-child(43) {
    animation-delay: 2.15s;
}

.tricolor-word:nth-child(44) {
    animation-delay: 2.2s;
}

.tricolor-word:nth-child(45) {
    animation-delay: 2.25s;
}

.tricolor-word:nth-child(46) {
    animation-delay: 2.3s;
}

.tricolor-word:nth-child(47) {
    animation-delay: 2.35s;
}

.tricolor-word:nth-child(48) {
    animation-delay: 2.4s;
}

.tricolor-word:nth-child(49) {
    animation-delay: 2.45s;
}

.tricolor-word:nth-child(50) {
    animation-delay: 2.5s;
}

@keyframes wordReveal {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes wordPulse {

    0%,
    100% {
        color: #ffffff;
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    }

    50% {
        color: #fbbf24;
        text-shadow: 0 0 20px #fbbf24, 0 0 35px #fbbf24;
    }
}

/* ---- HORIZONTAL NOTICE MARQUEE ---- */
.notice-marquee-bar {
    background: linear-gradient(90deg, #0f172a 0%, #1e3a8a 50%, #0f172a 100%);
    padding: 10px 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    border-bottom: 3px solid #f59e0b;
}

.marquee-label {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    padding: 8px 18px;
    font-weight: 700;
    font-size: 0.85rem;
    white-space: nowrap;
    z-index: 2;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.marquee-content {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.marquee-content span {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 40s linear infinite;
    color: #ffffff !important;
    font-weight: 500;
    font-size: 0.95rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8), 0 0 10px rgba(255, 255, 255, 0.3);
}

.marquee-content span::after {
    content: ' • ';
    color: #fbbf24;
    margin: 0 15px;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.notice-marquee-bar:hover .marquee-content span {
    animation-play-state: paused;
}

/* ---- HERO ---- */
.hero {
    position: relative;
    padding: 60px 0 50px;
    background: linear-gradient(135deg, #0f172a 0%, #1a3a8f 60%, #1a56db 100%);
    overflow: hidden;
    min-height: 520px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            #ff9933 0%,
            #ff9933 33%,
            #ffffff 33%,
            #ffffff 66%,
            #138808 66%,
            #138808 100%);
    opacity: 0.12;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.badge-pill {
    display: inline-block;
    background: rgba(245, 158, 11, .2);
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: .75rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.hero-text h2 {
    font-size: 2.6rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero-text h2 span {
    color: var(--accent);
}

.hero-text p {
    color: #94a3b8;
    font-size: .95rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ---- HERO NOTICE BOX ---- */
.notice-box {
    background: rgba(255, 255, 255, .95);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .2);
    overflow: hidden;
}

.notice-box-header {
    background: linear-gradient(90deg, #1a56db, #2563eb);
    color: #fff;
    padding: 12px 18px;
    font-weight: 700;
    font-size: .9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.notice-box-body {
    height: 220px;
    overflow-y: auto;
    position: relative;
    scrollbar-width: thin;
    scrollbar-color: #1a56db #f0f4ff;
    background: #ffffff;
    padding: 8px;
}

.notice-box-body::-webkit-scrollbar {
    width: 6px;
}

.notice-box-body::-webkit-scrollbar-track {
    background: #f0f4ff;
}

.notice-box-body::-webkit-scrollbar-thumb {
    background: #1a56db;
    border-radius: 3px;
}

.notice-box-body:hover {
    overflow-y: scroll;
}

.notice-vmarquee {
    display: flex;
    flex-direction: column;
    animation: vMarquee 60s linear infinite;
}

.notice-box-body:hover .notice-vmarquee {
    animation-play-state: paused;
}

@keyframes vMarquee {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}

.notice-vitem {
    padding: 10px 14px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: background .2s;
    background: transparent;
    margin-bottom: 6px;
    border-radius: 8px;
}

.notice-vitem:hover {
    background: #f0f4ff;
}

.notice-vitem:last-child {
    border-bottom: none;
}

.notice-vtitle {
    font-size: .78rem;
    font-weight: 600;
    color: #0f172a !important;
    white-space: normal;
    line-height: 1.3;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    background: transparent;
    padding: 0;
    border-radius: 0;
}

.notice-vtitle:hover {
    color: #1a56db !important;
}

.notice-vtitle .v-new {
    background: #dc2626;
    color: #fff !important;
    font-size: .6rem;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
    animation: blinkNew 1s infinite;
    flex-shrink: 0;
    margin-left: auto;
}

.notice-vmeta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 6px;
}

.notice-vdate {
    font-size: .68rem;
    color: #64748b !important;
}

.notice-vbtn {
    background: #10b981;
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: .72rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    transition: all .2s;
}

.notice-vbtn:hover {
    background: #059669;
    transform: scale(1.05);
}

.notice-vbtn i {
    font-size: .7rem;
}

.hero-stats-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.hero-stats-row .stat-card {
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: var(--radius);
    padding: 18px 28px;
    text-align: center;
    transition: all .3s;
    min-width: 140px;
}

.hero-stats-row .stat-card:hover {
    background: rgba(255, 255, 255, .15);
    transform: translateY(-4px);
}

.hero-stats-row .stat-card i {
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 6px;
}

.hero-stats-row .stat-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
}

.hero-stats-row .stat-card p {
    font-size: .72rem;
    color: #94a3b8;
    margin-top: 2px;
}

.stat-card {
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: var(--radius);
    padding: 24px 20px;
    text-align: center;
    transition: all .3s;
}

.stat-card:hover {
    background: rgba(255, 255, 255, .15);
    transform: translateY(-4px);
}

.stat-card i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 8px;
}

.stat-card h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
}

.stat-card p {
    font-size: .78rem;
    color: #94a3b8;
    margin-top: 2px;
}

/* ---- HERO NOTICE MARQUEE ---- */
.hero-marquee-wrap {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .35);
    backdrop-filter: blur(6px);
    border-top: 1px solid rgba(255, 255, 255, .1);
    margin-top: 40px;
    overflow: hidden;
    height: 42px;
}

.marquee-label {
    background: var(--accent);
    color: #000;
    padding: 0 16px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    font-weight: 700;
    font-size: .78rem;
    flex-shrink: 0;
}

.hero-marquee {
    flex: 1;
    overflow: hidden;
    height: 100%;
}

.hero-marquee-inner {
    display: inline-flex;
    align-items: center;
    height: 100%;
    white-space: nowrap;
    animation: marqueeScroll 60s linear infinite;
}

.hero-marquee-inner a {
    color: #fff;
    text-decoration: none;
    font-size: .82rem;
    font-weight: 500;
    margin: 0 36px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color .2s;
}

.hero-marquee-inner a:hover {
    color: var(--accent);
}

.hero-marquee-inner .m-sep {
    color: rgba(255, 255, 255, .3);
    margin: 0 4px;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* ---- SECTION HEADER ---- */
.section-tag {
    display: inline-block;
    background: var(--light);
    color: var(--primary);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: .75rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 6px;
}

.section-header p {
    color: var(--muted);
    font-size: .9rem;
}

/* ---- PAYMENT SECTION ---- */
.payment-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.payment-section .section-subtitle {
    text-align: center;
    color: #64748b;
    margin-top: -10px;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.payment-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.payment-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.payment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.payment-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1a56db 0%, #3b82f6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.payment-icon i {
    font-size: 2rem;
    color: #fff;
}

.payment-card h3 {
    font-size: 1.4rem;
    color: #0f172a;
    margin-bottom: 15px;
}

.payment-card p {
    color: #64748b;
    margin-bottom: 25px;
    line-height: 1.6;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid #1a56db;
    color: #1a56db;
}

.btn-outline:hover {
    background: #1a56db;
    color: #fff;
}

.payment-note {
    max-width: 600px;
    margin: 30px auto 0;
    padding: 16px 20px;
    background: #eff6ff;
    border-left: 4px solid #1a56db;
    border-radius: 8px;
    color: #1e40af;
    text-align: center;
}

.payment-note i {
    margin-right: 8px;
    color: #1a56db;
}

/* Responsive payment */
@media (max-width: 768px) {
    .payment-cards {
        grid-template-columns: 1fr;
    }

    .payment-card {
        padding: 30px 20px;
    }
}

/* ---- NOTICE SECTION ---- */
.notice-section {
    background: #f0f4ff;
    padding: 80px 0;
}

.notice-controls {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 200px;
}

.search-box i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
}

.search-box input {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border: 2px solid var(--border);
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: .88rem;
    outline: none;
    transition: border .2s;
    background: #fff;
}

.search-box input:focus {
    border-color: var(--primary);
}

.filter-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tab {
    padding: 8px 18px;
    border-radius: 50px;
    border: 2px solid var(--border);
    background: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: .82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s;
    color: var(--muted);
}

.tab.active,
.tab:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* Notice List */
.notice-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.notice-item {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    transition: all .25s;
    position: relative;
    overflow: hidden;
}

.notice-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary);
    border-radius: 4px 0 0 4px;
}

.notice-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(4px);
    border-color: var(--primary);
}

.notice-item.important::before {
    background: var(--red);
}

.notice-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.notice-body {
    flex: 1;
    min-width: 0;
}

.notice-title {
    font-size: .92rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
    cursor: pointer;
}

.notice-title:hover {
    color: var(--primary);
    text-decoration: underline;
}

.notice-meta {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.notice-date {
    font-size: .76rem;
    color: var(--muted);
}

.badge {
    font-size: .68rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.badge-new {
    background: #dcfce7;
    color: #16a34a;
}

.badge-new i {
    animation: blinkNew 1s infinite;
    margin-right: 3px;
}

@keyframes blinkNew {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.badge-imp {
    background: #fee2e2;
    color: #dc2626;
}

.badge-exam {
    background: #dbeafe;
    color: #1d4ed8;
}

.badge-result {
    background: #fef9c3;
    color: #92400e;
}

.badge-admission {
    background: #f3e8ff;
    color: #7c3aed;
}

.badge-general {
    background: #e0f2fe;
    color: #0369a1;
}

.notice-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.btn-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s;
    font-size: .85rem;
}

.btn-preview {
    background: var(--light);
    color: var(--primary);
}

.btn-preview:hover {
    background: var(--primary);
    color: #fff;
}

.btn-download {
    background: #ecfdf5;
    color: var(--green);
}

.btn-download:hover {
    background: var(--green);
    color: #fff;
}

/* Empty state */
.notice-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--muted);
}

.notice-empty i {
    font-size: 3rem;
    margin-bottom: 12px;
    opacity: .4;
}

/* ---- ABOUT ---- */
.about-section {
    padding: 80px 0;
    background: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-img-placeholder {
    background: linear-gradient(135deg, var(--primary) 0%, #60a5fa 100%);
    border-radius: 24px;
    aspect-ratio: 4/3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .7);
    font-size: 5rem;
}

.about-img-placeholder p {
    font-size: .9rem;
    margin-top: 12px;
    font-weight: 500;
}

.about-text h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark);
    margin: 10px 0 16px;
}

.about-text p {
    color: #334155;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 1rem;
}

.about-list {
    list-style: none;
    margin-bottom: 28px;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: .88rem;
    color: #1e293b;
    font-weight: 500;
    border-bottom: 1px solid #e2e8f0;
}

.about-list li:last-child {
    border: none;
}

.about-list li i {
    color: var(--green);
    flex-shrink: 0;
}

/* ---- AMRIT KAAL SECTION ---- */
.amrit-section {
    padding: 50px 0;
    background: linear-gradient(135deg, #f0f4ff 0%, #e0e7ff 100%);
}

.amrit-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
}

.amrit-box {
    position: relative;
    padding: 6px;
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    background-size: 400%;
    animation: rainbowMove 4s linear infinite;
    border-radius: 16px;
}

@keyframes rainbowMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.amrit-box h3 {
    text-align: center;
    color: #1e3a8a;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 10px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px 10px 0 0;
}

.amrit-image {
    background: #fff;
    padding: 8px;
    border-radius: 10px;
}

.amrit-box img {
    width: 100%;
    display: block;
    border-radius: 8px;
}

.ncte-box {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.ncte-box h3 {
    color: #dc2626;
    font-weight: 800;
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.ncte-subtitle {
    color: #1e3a8a;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}

.ncte-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.ncte-list li {
    border-bottom: 1px solid #f1f5f9;
    padding: 8px 0;
}

.ncte-list li a {
    color: #334155;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.ncte-list li a:hover {
    color: #1e3a8a;
    padding-left: 5px;
}

.ncte-list li a i {
    color: #dc2626;
    width: 20px;
}

@media (max-width: 768px) {
    .amrit-grid {
        grid-template-columns: 1fr;
    }

    .ncte-list {
        grid-template-columns: 1fr;
    }
}

/* ---- GALLERY ---- */
.gallery-section {
    padding: 80px 0;
    background: #f0f4ff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 14px;
}

.gallery-item {
    border-radius: var(--radius);
    aspect-ratio: 4/3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, .8);
    cursor: pointer;
    transition: transform .3s;
    position: relative;
    overflow: hidden;
}

.gallery-item span {
    font-size: .8rem;
    font-weight: 600;
    margin-top: 8px;
    color: rgba(255, 255, 255, .9);
}

.gallery-item:hover {
    transform: scale(1.02);
}

.g1 {
    background: linear-gradient(135deg, #1a56db, #60a5fa);
}

.g2 {
    background: linear-gradient(135deg, #7c3aed, #c084fc);
}

.g3 {
    background: linear-gradient(135deg, #0891b2, #67e8f9);
}

.g4 {
    background: linear-gradient(135deg, #d97706, #fcd34d);
}

.g5 {
    background: linear-gradient(135deg, #be185d, #f9a8d4);
}

.g6 {
    background: linear-gradient(135deg, #065f46, #6ee7b7);
}

/* ---- FOOTER ---- */
.footer {
    background: var(--dark);
    color: #94a3b8;
    padding: 50px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding-bottom: 40px;
}

.footer h3 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 14px;
}

.footer p {
    font-size: .82rem;
    line-height: 1.7;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: .82rem;
    transition: color .2s;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    text-align: center;
    padding: 16px 20px;
    font-size: .78rem;
}

.footer-bottom a {
    color: var(--accent);
    text-decoration: none;
}

/* ---- MODAL ---- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.modal {
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 520px;
    padding: 32px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
    transform: translateY(30px);
    transition: transform .3s;
}

.modal-overlay.open .modal {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--light);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    color: var(--muted);
    transition: all .2s;
}

.modal-close:hover {
    background: var(--red);
    color: #fff;
}

.modal-header {
    margin-bottom: 16px;
}

.modal-cat-badge {
    font-size: .7rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 50px;
    background: var(--light);
    color: var(--primary);
    margin-bottom: 10px;
    display: inline-block;
    text-transform: uppercase;
}

.modal-header h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin: 8px 0;
}

.modal-header p {
    font-size: .8rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.modal-body {
    font-size: .88rem;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 24px;
}

.modal-footer {
    display: flex;
    gap: 12px;
}

/* ---- RESPONSIVE ---- */
/* Tablet: 768px - 1024px */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }

    .hero-content {
        gap: 25px;
    }

    .notice-box {
        max-height: 280px;
    }
}

/* Tablet Portrait: 600px - 900px */
@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero {
        padding: 60px 0 30px;
    }

    .hero-text h2 {
        font-size: 2rem;
    }

    .hero-stats {
        grid-template-columns: repeat(4, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Marquee responsive */
    .notice-marquee-bar {
        flex-direction: column;
        gap: 8px;
        padding: 12px;
    }

    .marquee-label {
        width: 100%;
        text-align: center;
    }

    .marquee-content {
        width: 100%;
    }

    /* Notice box on mobile */
    .notice-box {
        max-height: 250px;
    }
}

/* Mobile: max-width 600px */
@media (max-width: 600px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(180deg, #1a56db 0%, #0f172a 100%);
        flex-direction: column;
        padding: 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        z-index: 200;
        gap: 0;
    }

    .nav.open {
        display: flex;
    }

    .nav a {
        color: #fff !important;
        padding: 16px 24px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 1rem;
        text-align: left;
    }

    .nav a:hover {
        background: rgba(255, 255, 255, 0.1);
        color: #fbbf24 !important;
    }

    /* Mobile dropdown */
    .nav-dropdown {
        display: block;
    }

    .dropdown-content {
        position: static;
        background: rgba(0, 0, 0, 0.2);
        box-shadow: none;
        border-radius: 0;
        display: none;
    }

    .nav-dropdown:hover .dropdown-content {
        display: block;
    }

    .dropdown-content a {
        padding: 14px 30px;
        font-size: 0.95rem;
    }

    .dropbtn {
        display: block;
        width: 100%;
    }

    .hamburger {
        display: flex;
    }

    .hamburger span {
        background: #1a56db;
    }

    .hero-stats {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.5rem;
    }

    /* Hide hero text and buttons on mobile - show only notice box */
    .hero-text {
        display: none !important;
    }

    /* Hide tricolor banner and marquee on mobile */
    .tricolor-banner {
        display: none !important;
    }

    .notice-marquee-bar {
        display: none !important;
    }

    .notice-item {
        flex-wrap: wrap;
    }

    /* Mobile marquee */
    .notice-marquee-bar {
        padding: 8px 10px;
    }

    .marquee-label {
        font-size: 0.75rem;
        padding: 6px 12px;
    }

    .marquee-content span {
        font-size: 0.8rem;
    }

    /* Tricolor banner mobile */
    .tricolor-text {
        font-size: 1rem;
    }

    .tricolor-word {
        margin: 0 2px;
    }

    /* Notice box mobile */
    .notice-box {
        max-height: 220px;
        margin-top: 20px;
    }

    .notice-box-header {
        font-size: 0.9rem;
        padding: 10px;
    }

    /* Hero mobile */
    .hero {
        padding: 40px 0 20px;
        min-height: auto;
    }

    .hero-cta {
        flex-direction: column;
        gap: 10px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}  
"/* Dropdown Section Styles */"  
".dropdown-section {"  
"    padding: 10px 0;"  
"    border-bottom: 1px solid #e5e7eb;"  
"}"  
""  
".dropdown-section:last-child {"  
"    border-bottom: none;"  
"    padding-bottom: 0;"  
"}"  
""  
".dropdown-section:first-child {"  
"    padding-top: 0;"  
"}"  
""  
".dropdown-section h4 {"  
"    color: #1e3a8a;"  
"    padding: 8px 20px;"  
"    margin: 0;"  
"    font-size: 0.9rem;"  
"    font-weight: 600;"  
"    display: flex;"  
"    align-items: center;"  
"    gap: 8px;"  
"}"  
""  
".dropdown-section h4 i {"  
"    color: #2563eb;"  
"}" 
