﻿
:root {
    --navy: #1a3a5c;
    --navy-dark: #102845;
    --navy-mid: #1e4875;
    --gold: #c8922a;
    --gold-light: #e8b84b;
    --cream: #fdf8f0;
    --sky: #e8f4fd;
    --teal: #1b7a6b;
    --teal-light: #2aa08a;
    --red-tn: #c0392b;
    --white: #ffffff;
    --text-dark: #1a2332;
    --text-mid: #3d5068;
    --text-muted: #6b7f96;
    --border: #d8e6f0;
    --shadow: 0 4px 24px rgba(26,58,92,.10);
    --shadow-lg: 0 8px 48px rgba(26,58,92,.16);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    font-family: 'DM Sans',sans-serif;
    background: var(--cream);
    color: var(--text-dark);
    overflow-x: hidden
}

/* CUSTOM CURSOR */
#cursor {
    position: fixed;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gold);
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%,-50%);
    transition: transform .1s,background .2s,width .15s,height .15s;
    mix-blend-mode: multiply
}

#cursor-ring {
    position: fixed;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 1.5px solid var(--navy);
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%,-50%);
    transition: all .12s ease;
    opacity: .5
}

body:has(a:hover) #cursor, body:has(button:hover) #cursor {
    width: 12px;
    height: 12px;
    background: var(--navy)
}

body:has(a:hover) #cursor-ring, body:has(button:hover) #cursor-ring {
    width: 20px;
    height: 20px;
    opacity: .3
}

/* SCROLL PROGRESS */
#scroll-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg,var(--gold),var(--teal));
    z-index: 9999;
    width: 0%;
    transition: width .1s
}

.top-strip {
    background: #1a2332;
    color: rgba(255,255,255,.75);
    font-size: 11.5px;
    padding: 6px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    flex-wrap: nowrap;
    gap: 8px;
    min-height: 36px;
    overflow: hidden; /* prevent translated text overflow */
}

    .top-strip > span:first-child {
        flex: 1; /* takes available left space */
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis; /* trims long Tamil text gracefully */
        max-width: 40%;
    }

.top-strip-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    color: rgba(255,255,255,.75);
    font-size: 11.5px;
    pointer-events: none;
    z-index: 1;
    max-width: 30%;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0; /* never shrink the buttons */
    z-index: 2;
    margin-left: auto;
}
.user-btn {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.18);
    color: #cce0f5;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 18px !important;
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
    font-family: 'DM Sans', sans-serif;
}

    .user-btn:hover {
        background: rgba(200,146,42,.25);
        border-color: #c8922a;
        color: #e8b84b;
    }

.complaint-btn {
    background: #e8b84b;
    border: none;
    color: #1a2332;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 18px !important;
    cursor: pointer;
    white-space: nowrap;
    transition: background .15s;
    font-family: 'DM Sans', sans-serif;
}

    .complaint-btn:hover {
        background: #c8922a;
        color: #fff;
    }

/* HEADER BANNER */
.header-banner {
    background: linear-gradient(135deg,var(--navy-dark) 0%,var(--navy-mid) 50%,var(--teal) 100%);
    padding: 20px 0 16px;
    position: relative;
    overflow: hidden
}

    .header-banner::before {
        content: '';
        position: absolute;
        inset: 0;
        background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")
    }

.banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 20px
}

.tn-logo-wrap {
    flex-shrink: 0
}

.tn-logo {
    width: 100% !important;
    height: 100px;
    animation: rotateLogo 20s linear infinite
}

@keyframes rotateLogo {
    0% {
        filter: drop-shadow(0 0 8px rgba(200,146,42,.4))
    }

    50% {
        filter: drop-shadow(0 0 16px rgba(200,146,42,.8))
    }

    100% {
        filter: drop-shadow(0 0 8px rgba(200,146,42,.4))
    }
}

.banner-text {
    flex: 1
}

.banner-title-tn {
    color: #e8b84b;
    font-family: 'Playfair Display',serif;
    font-size: 17px;
    font-weight: bolder;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: .9;
    margin-bottom: 2px;
    animation: fadeSlideDown .8s ease both;
    text-align:center;
}

.banner-title-main {
    color: #fff;
    font-family: 'Playfair Display',serif;
    font-size: clamp(19px,2.8vw,40px);
    font-weight: 700;
    line-height: 1.15;
    animation: fadeSlideDown .9s ease .1s both;
    text-align:center;
}

.banner-title-sub {
    color: #b8d4eb;
    font-size: clamp(11px,1.5vw,13.5px);
    margin-top: 5px;
    font-weight: 300;
    letter-spacing: .5px;
    animation: fadeSlideDown 1s ease .2s both
}

.banner-badges {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
    animation: fadeSlideDown 1.1s ease .3s both
}

.badge {
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    color: #cce0f5;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 20px;
    backdrop-filter: blur(4px)
}

@keyframes fadeSlideDown {
    from {
        opacity: 0;
        transform: translateY(-14px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.navbar-custom {
    background: var(--white);
    border-bottom: 2px solid var(--gold);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
    padding: 0;
}

    .navbar-custom .navbar-nav .nav-link {
        padding: 14px 11px;
        font-size: 12.3px;
        font-weight: 800;
        color: var(--text-dark);
        text-decoration: none;
        white-space: nowrap;
        transition: color .2s;
        letter-spacing: .2px;
        position: relative;
    }

        .navbar-custom .navbar-nav .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 11px;
            right: 11px;
            height: 2px;
            background: var(--gold);
            transform: scaleX(0);
            transition: transform .25s;
        }

        .navbar-custom .navbar-nav .nav-link:hover::after,
        .navbar-custom .navbar-nav .nav-item.active .nav-link::after {
            transform: scaleX(1);
        }

        .navbar-custom .navbar-nav .nav-link:hover,
        .navbar-custom .navbar-nav .nav-item.active .nav-link {
            color: var(--navy);
        }

    .navbar-custom .dropdown-menu {
        border: 1px solid var(--border);
        border-top: 2px solid var(--gold);
        box-shadow: var(--shadow-lg);
        border-radius: 0 0 8px 8px;
        padding: 0;
        min-width: 220px;
        animation: dropDown .2s ease;
    }

    .navbar-custom .dropdown-item {
        padding: 10px 18px;
        font-size: 13px;
        color: var(--text-dark);
        border-left: 3px solid transparent;
        transition: background .15s, color .15s, border-color .15s;
    }

        .navbar-custom .dropdown-item:hover {
            background: var(--sky);
            color: var(--navy);
            border-left-color: var(--gold);
        }

    .navbar-custom .navbar-toggler {
        border: none;
        padding: 8px;
    }

        .navbar-custom .navbar-toggler:focus {
            box-shadow: none;
        }

    .navbar-custom .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2826, 58, 92, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    .navbar-custom .dropdown-toggle::after {
        font-size: 10px;
        vertical-align: middle;
        margin-left: 4px;
    }

    .navbar-custom .nav-inner-wrap {
        max-width: 1351px;
        margin: 0 auto;
        padding: 0 24px;
        width: 100%;
    }

@keyframes dropDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .dropdown-menu {
        position: absolute;
        margin-left: -38px !important;
    }
}

@media (max-width: 991px) {
    .navbar-custom .navbar-collapse {
        border-top: 2px solid var(--gold);
        background: var(--white);
        max-height: 80vh;
        overflow-y: auto;
    }

    .navbar-custom .navbar-nav .nav-link {
        padding: 12px 20px;
        border-bottom: 1px solid var(--border);
    }

        .navbar-custom .navbar-nav .nav-link::after {
            display: none;
        }

    .navbar-custom .dropdown-menu {
        border: none;
        border-left: 3px solid var(--gold);
        box-shadow: none;
        animation: none;
        margin-left: 16px;
        background: #f7f9fc;
    }
}

/* HERO SLIDER */
.hero {
    position: relative;
    height: clamp(320px,55vw,560px);
    overflow: hidden
}

.slides {
    display: flex;
    height: 100%;
    transition: transform .8s cubic-bezier(.77,0,.175,1)
}

.slide {
    min-width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden
}

.slide-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 8s ease
}

.slide.active .slide-img {
    transform: scale(1.06)
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,rgba(16,40,69,.75) 0%,rgba(27,122,107,.45) 100%)
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    max-width: 780px
}

.slide-tag {
    background: var(--gold);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 4px 16px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 14px;
    animation: slideUp .7s ease both
}

.slide-h {
    font-family: 'Playfair Display',serif;
    font-size: clamp(22px,4vw,46px);
    color: #fff;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 10px;
    animation: slideUp .8s ease .1s both
}

.slide-p {
    color: rgba(255,255,255,.85);
    font-size: clamp(13px,1.8vw,16px);
    margin-bottom: 22px;
    animation: slideUp .9s ease .2s both
}

.slide-btn {
    background: var(--gold);
    color: #fff;
    border: none;
    padding: 11px 28px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background .2s,transform .15s;
    animation: slideUp 1s ease .3s both
}

    .slide-btn:hover {
        background: var(--gold-light);
        transform: translateY(-2px)
    }

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(22px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

/* SLIDER CONTROLS */
.slider-prev, .slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255,255,255,.2);
    border: 1.5px solid rgba(255,255,255,.4);
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    backdrop-filter: blur(4px);
    transition: background .2s
}

.slider-prev {
    left: 18px
}

.slider-next {
    right: 18px
}

    .slider-prev:hover, .slider-next:hover {
        background: var(--gold)
    }

.slider-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,.45);
    cursor: pointer;
    transition: all .3s
}

    .dot.active {
        background: #fff;
        width: 24px;
        border-radius: 4px
    }

/* VIDEO STRIP */
.video-section {
    background: var(--navy-dark);
    padding: 52px 0;
    position: relative;
    overflow: hidden
}

    .video-section::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(ellipse at 30% 50%,rgba(27,122,107,.2),transparent 60%)
    }

.section-title {
    text-align: center;
    margin-bottom: 36px
}

.section-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px
}

.section-h {
    font-family: 'Playfair Display',serif;
    font-size: clamp(24px,3vw,34px);
    font-weight: 700
}

.section-p {
    font-size: 14.5px;
    max-width: 560px;
    margin: 10px auto 0;
    opacity: .8
}

.video-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px
}

.video-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16/9;
    background: var(--navy-mid)
}

    .video-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .4s
    }

    .video-card:hover img {
        transform: scale(1.04)
    }

.video-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,rgba(10,26,46,.85) 0%,transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 18px
}

.video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,.2);
    border: 2px solid rgba(255,255,255,.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    transition: all .2s;
    backdrop-filter: blur(4px)
}

.video-card:hover .video-play {
    background: var(--gold);
    border-color: var(--gold);
    transform: translate(-50%,-50%) scale(1.1)
}

.video-title {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    margin-top: 4px
}

.video-meta {
    color: rgba(255,255,255,.65);
    font-size: 12px
}

.video-section .section-h, .video-section .section-p {
    color: #fff
}

/* QUICK LINKS */
.quicklinks {
    background: var(--white);
    padding: 48px 0
}

.quicklinks-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(170px,1fr));
    gap: 18px
}

.ql-card {
    background: var(--sky);
    border: 1px solid var(--border);
    border-top: 3px solid var(--navy);
    border-radius: 8px;
    padding: 22px 16px;
    text-align: center;
    text-decoration: none;
    color: var(--text-dark);
    transition: all .25s;
    cursor: pointer
}

    .ql-card:hover {
        transform: translateY(-5px);
        border-top-color: var(--gold);
        box-shadow: var(--shadow)
    }

.ql-icon {
    font-size: 28px;
    margin-bottom: 10px
}

.ql-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--navy)
}

/* ABOUT STRIP */
.about-strip {
    background: linear-gradient(135deg,var(--sky),var(--white));
    padding: 60px 0
}

.about-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 52px;
    align-items: center
}

.about-img-wrap {
    position: relative
}

.about-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
    object-fit: cover
}

.about-badge {
    position: absolute;
    bottom: -18px;
    right: -18px;
    background: var(--gold);
    color: #fff;
    font-family: 'Playfair Display',serif;
    font-size: 13px;
    padding: 16px 20px;
    border-radius: 10px;
    text-align: center;
    line-height: 1.4
}

.about-tag {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 10px
}

.about-h {
    font-family: 'Playfair Display',serif;
    font-size: clamp(24px,3vw,32px);
    color: var(--navy-dark);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 14px
}

.about-p {
    font-size: 14.5px;
    color: var(--text-mid);
    line-height: 1.75;
    margin-bottom: 12px
}

.about-list {
    list-style: none;
    margin-bottom: 20px
}

    .about-list li {
        padding: 6px 0;
        font-size: 14px;
        color: var(--text-mid);
        display: flex;
        gap: 10px;
        align-items: flex-start
    }

        .about-list li::before {
            content: '✦';
            color: var(--gold);
            font-size: 10px;
            margin-top: 4px;
            flex-shrink: 0
        }

/* STATS ROW */
.stats {
    background: var(--navy-dark);
    padding: 44px 0
}

.stats-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(160px,1fr));
    gap: 2px
}

.stat-item {
    text-align: center;
    padding: 24px 16px;
    border-right: 1px solid rgba(255,255,255,.1)
}

    .stat-item:last-child {
        border-right: none
    }

.stat-num {
    font-family: 'Playfair Display',serif;
    font-size: clamp(28px,4vw,44px);
    font-weight: 700;
    color: var(--gold-light);
    line-height: 1
}

.stat-label {
    font-size: 13px;
    color: rgba(255,255,255,.65);
    margin-top: 6px
}

/* ACTS & RULES */
.acts-section {
    padding: 60px 0;
    background: var(--white)
}

.acts-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px
}

.acts-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--border);
    margin-bottom: 32px;
    overflow-x: auto
}

.act-tab {
    padding: 11px 22px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    white-space: nowrap;
    transition: all .2s
}

    .act-tab.active, .act-tab:hover {
        color: var(--navy);
        border-bottom-color: var(--gold)
    }

.act-content {
    display: none
}

    .act-content.active {
        display: block;
        animation: fadeIn .3s ease
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.act-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
    gap: 18px
}

.act-card {
    background: var(--sky);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    transition: all .2s;
    text-decoration: none;
    cursor: pointer
}

    .act-card:hover {
        box-shadow: var(--shadow);
        transform: translateY(-3px);
        border-color: var(--gold)
    }

.act-icon {
    width: 40px;
    height: 40px;
    background: var(--navy);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    flex-shrink: 0
}

.act-title {
    font-weight: 600;
    font-size: 13.5px;
    color: var(--navy-dark);
    margin-bottom: 4px
}

.act-desc {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.5
}

/* NEWS & PRESS */
.news-section {
    padding: 60px 0;
    background: linear-gradient(135deg,#f0f7ff,var(--cream))
}

.news-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px
}

.news-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 28px
}

.news-main {
    display: flex;
    flex-direction: column;
    gap: 16px
}

.news-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    gap: 0;
    transition: box-shadow .2s
}

    .news-card:hover {
        box-shadow: var(--shadow)
    }

.news-img {
    width: 120px;
    min-height: 100px;
    object-fit: cover;
    flex-shrink: 0
}

.news-body {
    padding: 14px 16px;
    flex: 1
}

.news-date {
    font-size: 11.5px;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 4px
}

.news-h {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
    line-height: 1.35
}

.news-p {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.5
}

.news-tag {
    display: inline-block;
    background: var(--sky);
    color: var(--navy);
    font-size: 11px;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 12px;
    margin-bottom: 6px
}

.sidebar-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden
}

.sidebar-header {
    background: var(--navy);
    color: #fff;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 600
}

.sidebar-item {
    display: flex;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    align-items: flex-start
}

    .sidebar-item:last-child {
        border-bottom: none
    }

.sidebar-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    margin-top: 5px;
    flex-shrink: 0
}

.sidebar-text {
    font-size: 12.5px;
    color: var(--text-mid);
    line-height: 1.45
}

/* COMMITTEE */
.committee-section {
    padding: 60px 0;
    background: var(--white)
}

.committee-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px
}

.committee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(230px,1fr));
    gap: 22px
}

.committee-card {
    background: var(--sky);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 24px;
    text-align: center;
    transition: all .25s
}

    .committee-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-lg);
        border-color: var(--navy)
    }

.comm-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--navy);
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display',serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--gold-light)
}

.comm-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--navy-dark);
    margin-bottom: 3px
}

.comm-role {
    font-size: 12px;
    color: var(--teal);
    font-weight: 500;
    margin-bottom: 6px
}

.comm-dept {
    font-size: 12px;
    color: var(--text-muted)
}

/* TRAINING MATERIALS */
.training-section {
    padding: 60px 0;
    background: linear-gradient(135deg,var(--navy-dark),var(--navy-mid))
}

.training-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px
}

.training-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
    gap: 18px;
    margin-top: 32px
}

.train-card {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 10px;
    padding: 22px;
    text-decoration: none;
    transition: all .25s;
    cursor: pointer
}

    .train-card:hover {
        background: rgba(255,255,255,.14);
        transform: translateY(-4px)
    }

.train-icon {
    font-size: 30px;
    margin-bottom: 12px
}

.train-title {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px
}

.train-desc {
    color: rgba(255,255,255,.65);
    font-size: 12.5px;
    line-height: 1.5
}

.train-badge {
    display: inline-block;
    background: var(--gold);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 12px;
    margin-top: 10px
}

.training-section .section-h, .training-section .section-p {
    color: #fff
}

/* CONTACT */
.contact-section {
    padding: 60px 0;
    background: var(--cream)
}

.contact-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px
}

.contact-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 28px
}

.contact-h {
    font-family: 'Playfair Display',serif;
    font-size: 19px;
    color: var(--navy-dark);
    font-weight: 700;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gold)
}

.contact-row {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    align-items: flex-start
}

.contact-icon {
    width: 36px;
    height: 36px;
    background: var(--sky);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0
}

.contact-label {
    font-size: 11.5px;
    color: var(--text-muted);
    margin-bottom: 2px
}

.contact-val {
    font-size: 13.5px;
    color: var(--text-dark);
    font-weight: 500
}

.district-list {
    max-height: 280px;
    overflow-y: auto;
    margin-top: 4px
}

.district-item {
    display: flex;
    justify-content: space-between;
    padding: 9px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-mid)
}

    .district-item span:last-child {
        color: var(--navy);
        font-weight: 500;
        font-size: 12.5px
    }

/* FOOTER */
footer {
    background: var(--navy-dark);
    color: #b8cee0;
    padding: 48px 0 0
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 36px
}

.footer-brand {
    margin-bottom: 0
}

.footer-logo-wrap {
  /*  display: flex;
    align-items: center;
    gap: 14px;*/
    margin-bottom: 14px
}

.footer-brand-name {
    color: #fff;
    font-family: 'Playfair Display',serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2
}

.footer-desc {
    font-size: 13px;
    line-height: 1.7;
    opacity: .8
}

.footer-h {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,.1)
}

.footer-links {
    list-style: none
}

    .footer-links li {
        margin-bottom: 8px
    }

    .footer-links a {
        color: #b8cee0;
        text-decoration: none;
        font-size: 13px;
        transition: color .2s
    }

        .footer-links a:hover {
            color: var(--gold-light)
        }

.footer-contact p {
    font-size: 13px;
    margin-bottom: 8px;
    line-height: 1.6
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    margin-top: 40px;
    padding: 16px 24px;
    text-align: center;
    font-size: 12.5px;
    opacity: .6
}

/* SCROLL ANIMATIONS */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .65s ease,transform .65s ease
}

    .reveal.visible {
        opacity: 1;
        transform: none
    }

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity .65s ease,transform .65s ease
}

    .reveal-left.visible {
        opacity: 1;
        transform: none
    }

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity .65s ease,transform .65s ease
}

    .reveal-right.visible {
        opacity: 1;
        transform: none
    }

/* MOBILE NAV */
@media(max-width:900px) {
    .hamburger {
        display: flex
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        border-top: 2px solid var(--gold);
        box-shadow: var(--shadow-lg);
        max-height: 80vh;
        overflow-y: auto
    }

        .nav-menu.open {
            display: flex
        }

    .nav-link {
        padding: 12px 20px;
        border-bottom: 1px solid var(--border)
    }

    .sub-menu {
        display: none !important;
        position: static;
        box-shadow: none;
        border: none;
        border-top: 1px solid var(--border);
        animation: none;
        padding-left: 12px
    }

    .nav-item:hover .sub-menu {
        display: none !important
    }

    .nav-item.open-sub .sub-menu {
        display: block !important
    }

    .nav-link::after {
        display: none
    }

    .nav-inner {
        position: relative;
        flex-wrap: wrap
    }

    .about-inner, .news-grid, .contact-inner, .footer-inner {
        grid-template-columns: 1fr
    }

    .video-grid {
        grid-template-columns: 1fr
    }
}


/* SCREEN READER ACCESS BAR */
.sr-access-bar {
    background: #1a2332;
    border-bottom: 1px solid #2d3f55;
    padding: 0px 0;
    font-size: 11.5px;
}

.sr-access-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 32px;
    flex-wrap: nowrap;
    position: relative; /* ← add this */
}

.last-updated {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: #e8b84b;
    font-weight: 600;
    font-size: 11.5px;
    letter-spacing: .5px;
    white-space: nowrap;
    pointer-events: none;
}

.sr-access-controls {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    flex: 0 0 auto; /* don't grow, don't shrink */
}

#google_translate_element {
    display: flex;
    align-items: center;
    margin-left: auto; /* pushes to far right */
    flex-shrink: 0;
}

    /* shrink Google Translate's default widget */
    #google_translate_element .goog-te-gadget-simple {
        background: rgba(255,255,255,.07) !important;
        border: 1px solid rgba(255,255,255,.18) !important;
        border-radius: 3px !important;
        padding: 2px 8px !important;
        font-size: 11px !important;
        color: #cce0f5 !important;
    }


.sr-access-label {
    color: #e8b84b;
    font-weight: 600;
    font-size: 11.5px;
    letter-spacing: .5px;
    margin-right: 8px;
    white-space: nowrap;
}



.sr-btn {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.18);
    color: #cce0f5;
    font-size: 11px;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 3px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    transition: background .15s, color .15s, border-color .15s;
    line-height: 1.4;
    font-family: 'DM Sans', sans-serif;
}

    .sr-btn:hover {
        background: rgba(200,146,42,.25);
        border-color: #c8922a;
        color: #e8b84b;
    }

    .sr-btn.active-lang {
        background: rgba(200,146,42,.3);
        border-color: #c8922a;
        color: #e8b84b;
    }

.sr-divider {
    color: rgba(255,255,255,.2);
    margin: 0 4px;
    font-size: 13px;
}

.sr-lang-label {
    color: rgba(255,255,255,.45);
    font-size: 11px;
    margin-right: 2px;
}

/* Google translate container */
#google_translate_element {
    margin-left: auto !important;
    margin-right: 10px;
}

/* Main translate box */
.goog-te-gadget-simple {
    background: #1a2332 !important; /* navbar color */
    border: 1px solid #2d3f55 !important;
    border-radius: 6px !important;
    padding: 4px 10px !important;
    height: 38px !important;
    display: flex !important;
    align-items: center !important;
}

    /* Dropdown text */
    .goog-te-gadget-simple span {
        color: #fff !important;
        font-size: 13px !important;
        font-family: 'DM Sans', sans-serif !important;
    }

/* Select dropdown */
.goog-te-combo {
    background: #1a2332 !important;
    color: #ffffff !important;
    border: 1px solid #3c4b63 !important;
    border-radius: 5px !important;
    padding: 6px 12px !important;
    font-size: 13px !important;
    cursor: pointer;
    outline: none !important;
    min-width: 180px;
}

    /* Dropdown hover */
    .goog-te-combo:hover {
        border-color: #e8b84b !important;
    }

/* Remove google branding */
.goog-logo-link,
.goog-te-gadget span,
.goog-te-banner-frame.skiptranslate {
    display: none !important;
}

body {
    top: 0 !important;
}

/* Remove unwanted text */
.goog-te-gadget {
    color: transparent !important;
    font-size: 0 !important;
}

@media(max-width:620px) {
    .banner-inner {
        flex-direction: column;
        text-align: center;
        gap: 14px
    }

    .tn-logo {
        width: 60px;
        height: 60px
    }

    .slider-prev, .slider-next {
        width: 34px;
        height: 34px;
        font-size: 14px
    }

    .acts-tabs {
        flex-wrap: wrap;
        gap: 4px
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr
    }
}


