/* assets\web\css\custom.css */

/* =========================================================
   GLOBAL OVERFLOW GUARD
   Prevents horizontal scrollbar from ever appearing AND
   stabilizes the vertical scrollbar so it cannot flicker
   during AOS animations, carousel transitions, or image loads.
   ========================================================= */

/* Reserve vertical scrollbar space permanently so the
   horizontal bar can never "flash" in and out. */
html {
    overflow-x: hidden !important;
    overflow-y: scroll !important;
    scrollbar-gutter: stable !important;
    overscroll-behavior-x: none;
    width: 100%;
    max-width: 100%;
}
body {
    overflow-x: hidden !important;
    position: relative;
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
}
/* "hidden" turns body into a scroll container, which breaks
   position: sticky on the header. "clip" hides overflow without it. */
@supports (overflow-x: clip) {
    body { overflow-x: clip !important; }
}

section,
.home-section,
.about-us-tamil,
.hero-welcome-container,
.hero-wrapper {
    overflow-x: hidden;
}

/* =========================================================
   HARD OVERFLOW KILL
   Clips the deliberate bleed from the About Us section and
   prevents AOS / Bootstrap from widening the document.
   ========================================================= */

/* About Us — clip the extended feature grid at section level */
.about-us-tamil {
    overflow: hidden !important;
    position: relative;
    width: 100%;
    max-width: 100vw;
}
.about-us-tamil .about-us-grid {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
}
.about-us-tamil .about-features {
    width: calc(100% + min(420px, 30vw)) !important;
}
.about-us-tamil .about-us-image,
.about-us-tamil .justice-img {
    margin-right: 0 !important;
}

/* AOS — prevent pre-animation transform from affecting layout.
   This makes AOS use opacity only (no translate) so elements
   never shift position and never push other sections around. */
[data-aos] {
    opacity: 0;
    transition-property: opacity !important;
    transform: none !important;
}
[data-aos].aos-animate {
    opacity: 1;
    transform: none !important;
}

/* Bootstrap rows inside containers: cancel -15px side margins */
.container > .row,
.container-fluid > .row {
    margin-left: 0;
    margin-right: 0;
}

/* Sections & cards: force box-sizing so padding never pushes
   past the viewport edge. */
.home-section,
.home-section *,
.committee-section,
.notice-download-section,
.quick-section,
.news-section,
.gallery-section {
    box-sizing: border-box;
}

/* Carousel controls: prevent Bootstrap's default negative
   offsets from widening the hero section. */
#hero .carousel-inner {
    overflow: hidden;
}
#hero .carousel-control-prev,
#hero .carousel-control-next {
    margin: 0 20px !important;
}

/* Lock the hero height so slide transitions can never
   change the document height (which caused the scrollbar
   to appear/disappear). */
#hero,
#hero .carousel,
#hero .carousel-inner,
#hero .carousel-item {
    height: 780px !important;
    min-height: 780px;
    max-height: 780px;
}

/* =========================================================
   THEME HELPERS (existing)
   ========================================================= */
.text-violet        { color: #00369F !important; }
.text-green         { color: #002E87 !important; }
.text-light-green   { color: #00369F !important; }
.text-black-shader  { color: #212529 !important; }
.text-red           { color: #ff0000 !important; }
.text-bold          { font-weight: bold !important; }
.bg-violet          { background-color: #00369f !important; }
.bg-green           { background-color: #002E87 !important; }
.img-fluid-80       { width: 80% !important; margin: auto; }

.MsoNormal span {
    background: #fff !important;
    color: #333 !important;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn-squared-green {
    width: 100px; height: 100px;
    font-size: 45px; color: #fff;
    background-color: #00369F;
    transition: all 0.5s ease-in-out;
}
.btn-squared-green:hover {
    background-color: #002E87;
    color: #f9f9f9;
}
.btn-custom {
    background-color: var(--theme-secondary-color);
    color: #fff; opacity: 0.9;
    transition: all 0.5s ease-in-out;
}
.btn-custom:hover {
    opacity: 1;
    color: #fff !important;
    text-decoration: none !important;
}

/* =========================================================
   NAV SUB MENU
   ========================================================= */
.nav-sub-menu ul { list-style: none; }
.nav-sub-menu ul li {
    float: left;
    margin-top: 4px;
    margin-left: 10px;
    padding: 0px 10px;
    background: #005606;
    border-radius: 40px;
    text-decoration: none;
    transition: all 0.35s ease-in-out;
}
.nav-sub-menu ul li a { color: #ffffff; }
.nav-sub-menu ul li:hover { background-color: #004204; }
.contact-info > p { float: left; }

/* =========================================================
   WELCOME WRAPPER (legacy)
   ========================================================= */
.hero-welcome-container {
    width: 100%;
    display: block;
}
.hero-wrapper { width: 100%; float: left; }
.welcome-wrapper {
    width: 30%;
    float: left;
    padding-left: 15px;
}
.welcome-wrapper p {
    text-align: justify;
    font-size: 13px;
}

/* =========================================================
   DOWNLOAD LISTS
   ========================================================= */
.download-list-link {
    opacity: 1;
    transition: all 0.5s ease-in-out;
}
.featured .icon-box:hover .download-list-link { opacity: 1; }
.download-list-link-btn {
    border: 1px solid #5b4a9a;
    padding: 5px 10px;
    border-radius: 4px;
}
.download-list { list-style: none; }
.download-list i { font-size: 20px !important; float: right; }
.download-list li {
    padding: 10px 10px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    margin: 10px 0;
    border-bottom: 1px solid #ececec;
}
.download-list li a,
.download-list a { color: var(--link-alt-color); }
.download-list li a:hover { color: var(--link-color); }
.download-list a:hover { color: var(--link-color); }
.download-list-all li {
    display: flex;
    justify-content: space-between;
}
.download-list-all li p { margin-bottom: 0px; }
.download-list-all li:last-child { margin-bottom: 0px; }

.notice-list i {
    float: left;
    font-weight: normal;
    font-size: 14px;
    margin-right: 5px;
}
.notice-list a { display: flex; }
.notice-list img {
    width: 50px; height: 50px;
    margin-right: 10px;
}
.notice-list p { line-height: 1.27; }
.featured .notice-list h2,
.featured .download-list h2 { font-size: 21px; margin: 0; }

/* =========================================================
   MEMBER SEARCH (legacy page blocks)
   ========================================================= */
.member-search-form .form-control {
    height: calc(1.5em + .75rem + 2px);
    padding: .5rem .75rem;
    font-size: 16px;
    color: #000;
}
.member-search-form button { font-size: 16px; }
.member-search-form button i { margin-right: 2px; }

.member-search-box, .member-table {
    position: relative;
    padding: 30px 15px 25px 14px;
    border: 1px solid #DDD;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.15);
    border-bottom: 5px solid var(--theme-alt-color);
}
.member-search-box .form-control {
    color: #0a0a0a;
    background-color: #e7e7e7eb;
    border-radius: 0;
}
.member-search-box button { border-radius: 0; }
.member-search-box .form-control::placeholder { color: #0a0a0a; }
.member-search-form select:focus > option:checked:before {
    color: red; background: red;
}
.member-search-overlay {
    background: #DADADA;
    border-radius: 60%;
    padding: 10px;
    width: 145px;
    letter-spacing: 2px;
    color: rgb(34, 12, 75);
    text-align: center;
    font-size: 1.2em;
    position: absolute;
    top: -26px; left: 10px;
}

.section-heading-costom {
    border-bottom: 1px solid #DDD;
    font-size: 16px;
    letter-spacing: 1px;
    font-weight: bold;
    color: #000;
    text-transform: capitalize;
}

#attorney-details ul > li {
    padding: 0 1.25rem;
    font-weight: bold;
    border: none;
}
.list-group-item:last-child {
    margin-bottom: 0;
    border-bottom-right-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
}
.list-group-item:first-child {
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
}

/* =========================================================
   OWL CAROUSEL
   ========================================================= */
.owl-nav { text-align: center; }
.owl-prev, .owl-next {
    width: 30px; height: 30px;
    background-color: var(--icon-color) !important;
    color: #ffffff !important;
    font-size: 20px !important;
    z-index: 5000;
    margin: 2px;
    border-radius: 4px;
}
.owl-carousel .owl-nav button.owl-next:active,
.owl-carousel .owl-nav button.owl-next:visited,
.owl-carousel .owl-nav button.owl-next:focus,
.owl-carousel .owl-nav button.owl-prev:active,
.owl-carousel .owl-nav button.owl-prev:visited,
.owl-carousel .owl-nav button.owl-prev:focus {
    outline: none !important;
}

/* =========================================================
   PRIDE / COMMITTEE SLIDES
   ========================================================= */
.pride-top-name { font-size: 20px; }
.scroll-pride-top-name { font-size: 17px; }
.com-page .scroll-pride-top-name {
    font-size: 18px;
    color: var(--theme-color);
}
.com-page .scroll-pride-top-name:hover { color: var(--link-color); }

#pride-slide .owl-stage,
#committee-slide .owl-stage { display: flex; }
#pride-slide .owl-item,
#committee-slide .owl-item {
    display: flex;
    flex-direction: column;
    margin: 15px;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    background: #fff;
    padding: 10px;
    transition: all ease-in-out 0.3s;
}
#pride-slide .owl-item {
    background: var(--ash-color);
    border-bottom: 5px solid #0f1b33;
}

/* =========================================================
   PAGINATION
   ========================================================= */
.page-item.active .page-link {
    color: #fff !important;
    background-color: var(--theme-color) !important;
    border-color: var(--theme-secondary-color) !important;
}
.page-link { color: var(--theme-color) !important; }
.page-link:focus {
    box-shadow: none;
    outline: 0;
    border-color: var(--theme-secondary-color) !important;
}

/* =========================================================
   FOOTER
   ========================================================= */
#footer .footer-item .footer-title {
    font-size: 24px;
    padding: 20px 0 15px 0;
    margin-bottom: 0;
    position: relative;
    color: var(--theme-color);
    font-weight: 700;
}
#footer .footer-item .footer-title:after {
    content: '';
    display: block;
    width: 30px; height: 1px;
    background: var(--theme-color);
    margin-bottom: 10px;
    margin-top: 15px;
}
.ftex {
    margin-bottom: 0;
    text-align: center;
    color: var(--ash-color);
    font-size: 17px;
}

/* =========================================================
   MISC
   ========================================================= */
.bgi-cover-center {
    background-size: cover;
    background-position: center;
}
.rs-icon-funfact .icon {
    display: block;
    font-size: 42px;
    line-height: 2;
    float: left;
    width: 70px; height: 70px;
    color: #8a8989;
    text-align: center;
    border-radius: 50%;
}
.rs-icon-funfact .body-content p { color: #8a8989; }
.rs-icon-funfact .body-content {
    margin-left: 90px;
    border-left: 1px solid #002E87;
    padding-left: 20px;
}
.body-content h2 {
    font-size: 2.857em;
    line-height: normal;
    color: #fff;
}
.uk18 { font-size: 18px; }
.content-wrap { padding: 30px 0; }

.row.display-flex { display: flex; }
.row.display-flex > [class*='col-'] { display: flex; }

/* =========================================================
   TEXT TICKER
   ========================================================= */
.text-ticker { height: 35px; }
.text-ticker marquee {
    color: #fff;
    font-weight: bold;
    font-size: 15px;
    width: calc(100% - 100px);
    background-color: #f9f9f9;
    height: 100%;
}
.text-ticker marquee a {
    color: #000000;
    margin-right: 20px;
    font-weight: normal;
    line-height: 35px;
}
.text-ticker marquee a:hover { color: #00369F !important; }
.text-ticker marquee .dot {
    height: 15px; width: 15px;
    background-color: #545454;
    border-radius: 50%;
    display: inline-block;
    margin-right: 10px;
    position: relative; top: 3px;
}
.contact-info a:hover { color: #f1f1f1 !important; }

.text-ticker .image {
    width: 100px; height: 35px;
    position: relative;
    background: red;
    float: left;
    font-size: 16px;
    line-height: 35px;
    text-align: center;
    color: #fff;
    padding-left: 20px;
}
.text-ticker .image:after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 0; height: 0;
    border-left: 17px solid white;
    border-top: 17px solid transparent;
    border-bottom: 17px solid transparent;
}
.text-ticker .image:before {
    content: "";
    position: absolute;
    bottom: 0; right: -17px;
    z-index: 1;
    width: 0; height: 0;
    border-left: 17px solid red;
    border-top: 17px solid transparent;
    border-bottom: 17px solid transparent;
}

/* =========================================================
   CATEGORY NAV
   ========================================================= */
.category-nav {
    list-style: none;
    padding: 0; margin: 0;
    overflow: hidden;
}
.category-nav li {
    padding: 5px 0px;
    border-bottom: 1px solid #ddd;
    position: relative;
}
.category-nav li:last-child {
    padding-bottom: 0px;
    border-bottom: none;
}
.category-nav li i {
    position: absolute;
    font-size: 22px;
    top: 7px; left: -20px;
    opacity: 0;
    transition: all 0.35s ease-in-out;
}
.category-nav li a { transition: all 0.35s ease-in-out; }
.category-nav li:hover i { left: 0px; opacity: 1; }
.category-nav li:hover a { margin-left: 22px; }

/* =========================================================
   LANGUAGE SWITCHER
   ========================================================= */
.language-btn {
    color: #222;
    text-decoration: none;
    border: 1px solid var(--theme-secondary-color);
    font-size: 13px;
    line-height: 14px;
}
.language-btn.active {
    background-color: var(--theme-secondary-color);
    color: #fff !important;
}
.language-btn:hover {
    text-decoration: none;
    color: #fff;
}
.lang { margin: 2px 0px; }

/* =========================================================
   FEATURED ICON BOX
   ========================================================= */
.featured .icon-box h3 {
    margin-top: -15px;
    margin-left: -15px;
    margin-right: -15px;
    background-color: #a784cb;
    padding: 10px 10px 5px;
    font-size: 20px;
    color: #fff;
}

.member-info p {
    color: #000;
    line-height: 14px;
    font-size: 13px;
}

/* =========================================================
   BLINK ANIMATION
   ========================================================= */
@keyframes blink {
    0%   { background-color: #00369F; }
    50%  { background-color: rgb(51, 93, 178); }
    100% { background-color: #00369F; }
}

.download-application {
    background-color: #00369F;
    text-align: center;
    margin-bottom: 4px;
    font-size: 13px;
    border-radius: 5px;
    text-transform: none;
    transition: all 0.5s ease-in-out;
    animation: blink normal 1.5s infinite ease-in-out;
}
.committee-member-name { font-size: 15px; }
.committee-member-designation { font-size: 12px; }

.speech.icon-box p {
    color: #545454;
    line-height: 30px !important;
    font-size: 13px;
    margin-bottom: 0;
}

/* =========================================================
   RESPONSIVE — low-res tablets & mobile landscape
   ========================================================= */
@media (min-width: 481px) and (max-width: 767px) {
    .info { text-align: center; margin: 10px 0px; }
    .right-top-navbar { margin-bottom: 10px; }
}

@media(max-width: 768px) {
    .ticker-title { flex: 0 0 110px; }

    #header .logo h1 { font-size: 17px; }
    #header .logo img.navbar-logo {
        width: 160px;
        max-height: 75px;
    }
    .logo-row {
        padding: 5px 0;
        position: fixed;
        height: 75px;
        overflow: hidden;
        z-index: 9;
        right: 0; left: 0;
    }
    .mobile-top-bar .list-view {
        margin-top: 75px;
        background: #fff;
        font-size: 14px;
    }
    .mobile-top-bar .list-view ul {
        list-style: none;
        background: #fff7f7;
        display: inline-flex;
        margin: 0;
        padding: 5px 10px;
        justify-content: space-evenly;
        width: 100%;
    }
    .mobile-top-bar .list-view ul li {
        border: 0;
        padding: 0;
        margin: 0;
    }
    .featured .icon-box h3 {
        font-size: 20px;
        font-weight: normal;
        background: #00369F;
        color: white;
        text-align: center;
    }
    .featured.glance_section .icon-box h3 {
        font-size: 16px;
        padding: 10px;
    }
    .featured .icon-box h3 i { font-size: 16px; }
    .featured.glance_section .icon-box h3 i {
        font-size: 14px;
        margin-right: 5px;
    }
    .rs-testimonial-1 .media {
        width: 100% !important;
        height: auto !important;
        margin-bottom: 5px !important;
        margin-right: 10px;
        max-width: 110px;
    }
}

/* =========================================================
   RESPONSIVE — small phones
   ========================================================= */
@media (min-width: 320px) and (max-width: 480px) {
    .info { text-align: center; margin: 10px 0px; }
    .right-top-navbar {
        display: flex;
        justify-content: space-around;
        margin: 10px 0px;
    }
    .rs-testimonial-1 .body { width: 100%; }
    .footer-item { text-align: center; }
    .footer-item img { margin-top: 30px; }
    .nav-sub-menu { padding: 10px 0px; }
    .nav-sub-menu ul li { float: right; }
}

/* =========================================================
   HEADER LOGO / MENU FOOTER LOGO
   ========================================================= */
.header-logo { display: none; }
.menu-footer-logo { display: none; }

@media(max-width: 768px) {
    .mobile-nav .clearfix { margin-bottom: 60px; }
    .header-logo {
        display: block;
        text-align: center;
        border-bottom: 1px solid #ececec42;
        padding-bottom: 10px;
        position: relative;
    }
    .header-logo img { width: 80px; }
    .lang {
        margin: 0;
        position: absolute;
        top: -7px; right: 12px;
    }
    .lang a { padding: 5px; }

    .menu-footer-logo {
        position: fixed;
        display: block;
        width: 100%;
        bottom: 15px;
        padding: 10px 15px;
        right: 0;
        z-index: 99;
        overflow: hidden;
        padding-bottom: 0px;
    }
    .menu-footer-logo p {
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        background: #00266f;
        border-radius: 0 0 10px 10px;
    }
    .menu-footer-logo img { width: 40px; }
}

@media(max-width: 400px) {
    #header .logo h1 { font-size: 18px; }
}

/* =========================================================
   LSC-STYLE HEADER
   ========================================================= */
:root {
    --brand-primary: #00369F;
    --brand-dark: #002E87;
    --brand-navy: #001B4D;
    --brand-light: #F4F7FC;
    --brand-gold: #C9A961;
    --brand-gold-light: #d8b96f;
    --text-dark: #212529;
    --text-muted: #6c757d;
    --border-light: #e6e9ef;
}

/* ---------- TOP INFO BAR ---------- */
.lsc-header .top-info-bar {
    background: var(--brand-navy);
    color: #ffffff;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
/* =========================================================
   TOP INFO BAR – REFINED LAYOUT
   Handles alignment and spacing for the contact/social bar.
   ========================================================= */

/* Main container for the top bar content */
.lsc-header .top-info-bar-inner {
    width: 100%;
    /* The flex properties are already applied via Bootstrap classes in the HTML */
}

/* Left side container */
.lsc-header .top-info-left {
    /* Ensure items don't wrap awkwardly on very small screens */
    flex-wrap: wrap; 
}

/* Individual info items (email, address) */
.lsc-header .top-info-item {
    margin-right: 20px; /* Consistent spacing between items */
    line-height: 1; /* Helps with vertical alignment */
}

/* Remove extra margin from the last item on the left */
.lsc-header .top-info-left .top-info-item:last-child {
    margin-right: 0;
}

/* Right side social icon container */
.lsc-header .top-info-right {
    /* The gap property is already defined in your main styles, but we can reinforce it */
    gap: 8px; 
    flex-shrink: 0; /* Prevent icons from shrinking */
}

/* =========================================================
   RESPONSIVE ADJUSTMENTS FOR TOP INFO BAR
   ========================================================= */

/* On mobile devices (up to 767px) */
@media (max-width: 767.98px) {
    .lsc-header .top-info-bar {
        padding: 6px 0; /* Slightly reduce vertical padding */
    }

    /* Hide the address text and icon on mobile */
    .lsc-header .top-info-address {
        display: none !important;
    }

    /* Adjust font sizes for better fit on small screens */
    .lsc-header .top-info-item,
    .lsc-header .top-info-right .social-icon {
        font-size: 12px;
    }

    /* Make the email text smaller if needed, or allow it to wrap */
    .lsc-header .top-info-item span {
        font-size: 12px;
    }

    /* Ensure the email icon and text are aligned */
    .lsc-header .top-info-item {
        display: inline-flex;
        align-items: center;
    }
    
    /* Adjust the size of social icons slightly for mobile */
    .lsc-header .top-info-right .social-icon {
        width: 26px;
        height: 26px;
        font-size: 11px;
    }
}

/* For very small screens (up to 400px) */
@media (max-width: 400px) {
    .lsc-header .top-info-item span {
        font-size: 11px; /* Further reduce font size if necessary */
    }
    .lsc-header .top-info-item i {
        font-size: 11px; /* Adjust icon size */
    }
}
.lsc-header .top-info-item {
    color: #ffffff;
    text-decoration: none;
    margin-right: 25px;
    display: inline-flex;
    align-items: center;
    transition: opacity 0.3s;
}
.lsc-header .top-info-item i {
    margin-right: 8px;
    font-size: 13px;
    color: #9fb6e6;
}
.lsc-header .top-info-item:hover {
    color: #ffffff;
    opacity: 0.85;
    text-decoration: none;
}
.lsc-header .top-info-right { gap: 8px; }
.lsc-header .top-info-right .social-icon {
    color: #ffffff;
    width: 28px; height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.3s;
    background: rgba(255,255,255,0.08);
}
.lsc-header .top-info-right .social-icon:hover {
    background: var(--brand-primary);
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
}

/* ---------- MAIN NAV BAR ---------- */
/* The whole header is sticky, offset upward by the top info bar's
   height (set by JS in header.php) so only the nav bar stays pinned. */
#header.lsc-header {
    position: -webkit-sticky;
    position: sticky;
    top: calc(-1 * var(--lsc-topbar-h, 45px));
    z-index: 999;
}
.lsc-header .main-nav-bar {
    background: #ffffff;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    padding: 5px 0;
}
.lsc-header .navbar-logo {
    max-height: 55px;
    width: auto;
    transition: transform 0.3s;
}
.lsc-header .navbar-logo:hover { transform: scale(1.03); }

/* ---------- NAV MENU ---------- */
.lsc-header .nav-menu ul {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.lsc-header .nav-menu ul li { position: relative; }
.lsc-header .nav-menu ul li > a {
    display: block;
    padding: 10px 14px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    text-transform: capitalize;
    letter-spacing: 0.2px;
    transition: color 0.3s;
    position: relative;
}
.lsc-header .nav-menu ul li > a:after {
    content: '';
    position: absolute;
    bottom: 4px; left: 50%;
    transform: translateX(-50%);
    width: 0; 
    height: 2px;
    background: #fff;
    transition: width 0.3s;
}
.lsc-header .nav-menu ul li.active a:after{
    background: var(--brand-primary);
}
.lsc-header .nav-menu ul li:hover > a,
.lsc-header .nav-menu ul li.active > a { color: var(--brand-primary); }
.lsc-header .nav-menu ul li:hover > a:after,
.lsc-header .nav-menu ul li.active > a:after { width: 60%; }

/* Dropdown */
.lsc-header .nav-menu ul li.drop-down > ul {
    display: block;
    position: absolute;
    top: 100%; left: 0;
    min-width: 240px;
    background: #ffffff;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    border-radius: 6px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    flex-direction: column;
    gap: 0;
    z-index: 100;
}
.lsc-header .nav-menu ul li.drop-down:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.lsc-header .nav-menu ul li.drop-down ul li > a {
    padding: 9px 20px;
    font-size: 14px;
    font-weight: 400;
    border-radius: 0;
}
.lsc-header .nav-menu ul li.drop-down ul li > a:after { display: none; }
.lsc-header .nav-menu ul li.drop-down ul li > a:hover {
    background: var(--brand-light);
    color: var(--brand-primary);
    padding-left: 25px;
}

/* ---------- HEADER ACTIONS ---------- */
.header-actions .lang .btn {
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid var(--border-light);
    color: var(--text-dark);
    background: #fff;
    border-radius: 4px;
    margin-left: 4px;
    text-decoration: none;
    transition: all 0.3s;
}
.header-actions .lang .btn.active {
    background: var(--brand-primary);
    color: #fff;
    border-color: var(--brand-primary);
}
.header-actions .lang .btn:hover {
    background: var(--brand-primary);
    color: #fff;
    border-color: var(--brand-primary);
}

/* ---------- MOBILE TOGGLE ---------- */
.mobile-toggle { display: none !important; }
.mobile-toggle:hover { background: var(--brand-dark); }

/* ---------- MOBILE NAV OVERLAY ---------- */
.mobile-nav-overlay {
    position: fixed;
    top: 0; right: -100%;
    width: 320px;
    max-width: 85%;
    height: 100vh;
    background: #ffffff;
    box-shadow: -5px 0 25px rgba(0,0,0,0.15);
    z-index: 9999;
    transition: right 0.4s ease;
    overflow-y: auto;
}
.mobile-nav-overlay.active { right: 0; }
.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border-light);
    background: var(--brand-light);
}
.mobile-nav-close {
    background: transparent;
    border: none;
    font-size: 22px;
    color: var(--text-dark);
    cursor: pointer;
}
.mobile-nav-menu ul {
    list-style: none;
    padding: 10px 0;
    margin: 0;
}
.mobile-nav-menu ul li a {
    display: block;
    padding: 13px 22px;
    color: var(--text-dark);
    font-size: 15px;
    text-decoration: none;
    border-bottom: 1px solid var(--border-light);
    transition: all 0.3s;
}
.mobile-nav-menu ul li a:hover {
    background: var(--brand-light);
    color: var(--brand-primary);
    padding-left: 28px;
}
.mobile-nav-menu .mobile-drop-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}
.mobile-nav-menu .mobile-drop-toggle i {
    font-size: 12px;
    transition: transform 0.3s;
}
.mobile-nav-menu li.open > .mobile-drop-toggle i {
    transform: rotate(180deg);
}
.mobile-nav-menu ul.mobile-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    background: var(--brand-light);
    transition: max-height 0.35s ease;
}
.mobile-nav-menu li.open > ul.mobile-submenu {
    max-height: 600px;
}
.mobile-nav-menu ul.mobile-submenu li a {
    padding: 11px 22px 11px 38px;
    font-size: 14px;
}
.mobile-nav-menu ul.mobile-submenu li a:hover {
    padding-left: 44px;
}
.mobile-lang { padding: 20px; display: flex; gap: 8px; }
.mobile-lang .btn {
    flex: 1;
    padding: 10px;
    border: 1px solid var(--border-light);
    border-radius: 5px;
    color: var(--text-dark);
    text-align: center;
    text-decoration: none;
    font-weight: 600;
}
.mobile-lang .btn.active {
    background: var(--brand-primary);
    color: #fff;
    border-color: var(--brand-primary);
}

/* =========================================================
   HERO — BAR OF INDIA STYLE (Golden accent + serif)
   ========================================================= */
.hero-welcome-container { width: 100%; display: block; }
.hero-wrapper.full-width { width: 100%; float: none; }

#hero {
    width: 100%;
    position: relative;
    height: 780px;
    padding-bottom: 0;
    overflow: hidden;
}
#hero .hero-container {
    position: relative;
    width: 100%;
    height: 100%;
}

#hero .carousel,
#hero .carousel-inner,
#hero .carousel-item {
    height: 780px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Gradient overlay: dark left → transparent right */
#hero .carousel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 10, 30, 0.88) 0%,
        rgba(0, 10, 30, 0.72) 30%,
        rgba(0, 10, 30, 0.45) 55%,
        rgba(0, 10, 30, 0.15) 80%,
        rgba(0, 0, 0, 0.00) 100%
    );
    z-index: 1;
}

/* ---------- Hero Text Overlay (above carousel) ---------- */
#hero .hero-text-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 60px 0;
}
#hero .hero-text-overlay .container {
    position: relative;
    z-index: 4;
}

/* ---------- Golden label with dashes (LEFT aligned) ---------- */
#hero .hero-label-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    margin-bottom: 24px;
}
#hero .hero-label-line {
    display: inline-block;
    width: 45px;
    height: 1px;
    background: var(--brand-gold);
}
#hero .hero-label {
    display: inline-block;
    font-family: 'Poppins', 'Raleway', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--brand-gold);
    opacity: 1;
    margin-bottom: 0;
}

/* ---------- Main heading (LEFT aligned) ---------- */
#hero .hero-main-heading {
    font-family: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
    font-size: 68px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
    margin: 0 0 28px 0;
    letter-spacing: -1px;
    text-shadow: 0 3px 30px rgba(0, 0, 0, 0.5);
    max-width: 620px;
    text-align: left;
}

/* ---------- Subtitle (LEFT aligned) ---------- */
#hero .hero-sub-text {
    font-family: 'Open Sans', 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0 36px 0;
    max-width: 720px;
    text-align: left;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

/* ---------- Thin divider ---------- */
#hero .hero-divider {
    width: 70px;
    height: 1px;
    background: rgba(255, 255, 255, 0.35);
    margin: 0 0 34px 0;
}

/* =========================================================
   HERO STATS + SEARCH (CENTERED across full container)
   ========================================================= */
#hero .hero-stats-search {
    max-width: 900px;
    margin: 40px auto 0;
    width: 100%;
    display: block;
    clear: both;
}

/* Stats row: 4 columns, centered group */
#hero .hero-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 34px;
    width: 100%;
}
#hero .stat-item {
    position: relative;
    padding-left: 18px;
    border-left: 2px solid var(--brand-gold);
    text-align: left;
}
#hero .stat-number {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
    color: var(--brand-gold);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}
#hero .stat-label {
    font-family: 'Poppins', 'Raleway', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.4;
}

/* Search form (glass panel, centered) */
#hero .hero-search-form {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(201, 169, 97, 0.35);
    border-radius: 4px;
    padding: 8px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 100%;
    max-width: 100%;
}
#hero .hero-search-row {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr auto;
    gap: 1px;
    align-items: stretch;
}
#hero .hero-search-field {
    position: relative;
    background: rgba(255, 255, 255, 0.06);
}
#hero .hero-search-field i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--brand-gold);
    font-size: 13px;
    pointer-events: none;
}
#hero .hero-search-field .form-control {
    background: transparent;
    border: none;
    color: #ffffff;
    height: 48px;
    padding: 0 14px 0 36px;
    font-size: 13.5px;
    border-radius: 0;
    box-shadow: none;
}
#hero .hero-search-field .form-control::placeholder {
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
}
#hero .hero-search-field .form-control:focus {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    box-shadow: none;
    outline: none;
}
#hero .hero-search-btn-wrap { display: flex; }
#hero .hero-search-btn {
    background: var(--brand-gold);
    color: #0a0a0a;
    border: none;
    padding: 0 26px;
    height: 48px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s;
    white-space: nowrap;
}
#hero .hero-search-btn:hover { background: var(--brand-gold-light); }

/* ---------- Carousel controls ---------- */
#hero .carousel-control-prev,
#hero .carousel-control-next {
    width: 55px; height: 55px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(6px);
    border-radius: 50%;
    opacity: 1;
    transition: all 0.3s;
    margin: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}
#hero .carousel-control-prev:hover,
#hero .carousel-control-next:hover { background: var(--brand-primary); }
#hero .carousel-control-prev-icon,
#hero .carousel-control-next-icon {
    font-size: 18px;
    color: #fff;
}
#hero .carousel-indicators { bottom: 30px; z-index: 5; }
#hero .carousel-indicators li {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    margin: 0 6px;
    transition: all 0.3s;
}
#hero .carousel-indicators li.active {
    background: var(--brand-gold);
    width: 35px;
    border-radius: 10px;
}

/* =========================================================
   HERO RESPONSIVE
   ========================================================= */
@media (max-width: 1199px) {
    #hero,
    #hero .carousel,
    #hero .carousel-inner,
    #hero .carousel-item { height: 820px; }

    #hero .hero-main-heading { font-size: 56px; }
    #hero .hero-search-row {
        grid-template-columns: 1.2fr 1fr 1fr auto;
    }
    #hero .hero-search-field:nth-child(3) { display: none; }
}

@media (max-width: 991px) {
    #hero,
    #hero .carousel,
    #hero .carousel-inner,
    #hero .carousel-item { height: 900px; }

    #hero .hero-main-heading { font-size: 44px; }
    #hero .hero-sub-text { font-size: 15px; }
    #hero .stat-number { font-size: 32px; }
    #hero .hero-stats-row { gap: 18px; }
    #hero .hero-search-row {
        grid-template-columns: 1fr 1fr auto;
    }
    #hero .hero-search-field:nth-child(2),
    #hero .hero-search-field:nth-child(3) { display: none; }
}

@media (max-width: 767px) {
    #hero,
    #hero .carousel,
    #hero .carousel-inner,
    #hero .carousel-item { height: auto; min-height: 720px; }

    #hero .hero-text-overlay { padding: 60px 0 40px; }
    #hero .hero-main-heading { font-size: 34px; margin-bottom: 18px; }
    #hero .hero-sub-text { font-size: 14px; margin-bottom: 24px; }

    #hero .hero-stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        margin-bottom: 24px;
    }
    #hero .stat-number { font-size: 28px; }
    #hero .stat-item { padding-left: 12px; }

    #hero .hero-search-row {
        grid-template-columns: 1fr auto;
    }
    #hero .hero-search-field:nth-child(2),
    #hero .hero-search-field:nth-child(3),
    #hero .hero-search-field:nth-child(4) { display: none; }
    #hero .hero-search-btn { padding: 0 18px; }
    #hero .hero-search-btn span { display: none; }
}

@media (max-width: 480px) {
    #hero .hero-main-heading { font-size: 26px; }
    #hero .hero-label { font-size: 10px; letter-spacing: 2px; }
    #hero .hero-label-line { width: 24px; }
    #hero .stat-number { font-size: 24px; }
    #hero .stat-label { font-size: 9px; letter-spacing: 1.2px; }
}

/* =========================================================
   ABOUT US — Tamil Bar Association Style
   ========================================================= */
.about-us-tamil {
    padding: 70px 0 80px;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

/* Grid: text (48%) / image (52%) — image has more room + can bleed right */
.about-us-tamil .about-us-grid {
    display: grid;
    grid-template-columns: 48% 52%;
    gap: 20px;
    align-items: flex-start;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 4% 0 8%;
    position: relative;
}

/* ---------- LEFT: Text ---------- */
.about-us-tamil .about-us-content {
    max-width: 640px;
    padding-top: 10px;
    padding-right: 20px;
}

.about-us-tamil .about-label {
    display: block;
    font-family: 'Poppins', 'Raleway', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #212529;
    margin-bottom: 24px;
}

.about-us-tamil .about-heading {
    font-family: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
    font-size: 48px;
    font-weight: 400;
    color: #1a1a1a;
    line-height: 1.15;
    margin: 0 0 28px 0;
    letter-spacing: -0.5px;
}
.about-us-tamil .about-heading br { display: block; }

.about-us-tamil .about-description {
    font-family: 'Open Sans', 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #4a4a4a;
    margin: 0 0 34px 0;
    max-width: 580px;
}

.about-us-tamil .about-learn-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Poppins', 'Raleway', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #212529;
    text-decoration: none;
    margin-bottom: 60px;
    transition: all 0.3s;
}
.about-us-tamil .about-learn-more:hover {
    color: #00369F;
    text-decoration: none;
}
.about-us-tamil .about-learn-more i {
    transition: transform 0.3s;
    font-size: 12px;
}
.about-us-tamil .about-learn-more:hover i {
    transform: translateX(5px);
}

/* ---------- 3-column mini features ----------
   Divider + features row extends RIGHT past the text column
   (mimics the Tamil Bar screenshot where the 3 features sit under
   both the text AND the image columns)
------------------------------------------------- */
.about-us-tamil .about-features {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
    border-top: 1px solid #e0e0e0;
    padding-top: 30px;
    margin-left: -60px;                 /* align divider left with column start */
    padding-left: 60px;                 /* restore text alignment */
    width: calc(100% + 420px);          /* extend right edge past text column */
    max-width: none;
}
.about-us-tamil .about-feature h4 {
    font-family: 'Poppins', 'Raleway', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #212529;
    margin: 0 0 12px 0;
}
.about-us-tamil .about-feature p {
    font-family: 'Open Sans', 'Poppins', sans-serif;
    font-size: 13.5px;
    line-height: 1.65;
    color: #4a4a4a;
    margin: 0;
}

/* ---------- RIGHT: Lady Justice image ---------- */
.about-us-tamil .about-us-image {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    height: 100%;
    min-height: 520px;
    overflow: visible;
    margin-right: -60px;                /* push image block further right */
}
.about-us-tamil .justice-img {
    max-width: 100%;
    height: auto;
    max-height: 620px;
    opacity: 0.9;
    object-fit: contain;
    margin-right: -80px;                /* image bleeds further past the edge */
    -webkit-mask-image: linear-gradient(to bottom, #000 85%, transparent 100%);
            mask-image: linear-gradient(to bottom, #000 85%, transparent 100%);
}

/* =========================================================
   ABOUT US — Responsive
   ========================================================= */
@media (max-width: 1399px) {
    .about-us-tamil .about-us-grid {
        grid-template-columns: 48% 52%;
        padding: 0 4% 0 7%;
    }
    .about-us-tamil .about-features {
        margin-left: -50px;
        padding-left: 50px;
        width: calc(100% + 320px);
    }
    .about-us-tamil .about-us-image { margin-right: -50px; }
    .about-us-tamil .justice-img    { margin-right: -70px; }
}

@media (max-width: 1199px) {
    .about-us-tamil .about-heading { font-size: 42px; }
    .about-us-tamil .about-description { font-size: 15px; }
    .about-us-tamil .justice-img { max-height: 540px; }
    .about-us-tamil .about-features {
        margin-left: -40px;
        padding-left: 40px;
        width: calc(100% + 220px);
    }
    .about-us-tamil .about-us-image { margin-right: -40px; }
    .about-us-tamil .justice-img    { margin-right: -50px; }
}

@media (max-width: 991px) {
    .about-us-tamil { padding: 60px 0 70px; }
    .about-us-tamil .about-us-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 6%;
    }
    .about-us-tamil .about-us-content {
        max-width: 100%;
        order: 1;
        padding-right: 0;
    }
    .about-us-tamil .about-us-image {
        order: 2;
        min-height: 380px;
        justify-content: center;
        margin-top: 20px;
        margin-right: 0;
    }
    .about-us-tamil .justice-img {
        max-height: 420px;
        margin-right: 0;
    }
    .about-us-tamil .about-heading { font-size: 38px; }

    /* Reset feature offsets on stacked layout */
    .about-us-tamil .about-features {
        margin-left: 0;
        padding-left: 0;
        width: 100%;
    }
}

@media (max-width: 767px) {
    .about-us-tamil { padding: 50px 0 60px; }
    .about-us-tamil .about-heading { font-size: 30px; line-height: 1.2; }
    .about-us-tamil .about-label {
        font-size: 10px;
        letter-spacing: 2px;
        margin-bottom: 18px;
    }
    .about-us-tamil .about-description {
        font-size: 14.5px;
        margin-bottom: 26px;
    }
    .about-us-tamil .about-learn-more {
        margin-bottom: 40px;
        font-size: 12px;
    }
    .about-us-tamil .about-features {
        grid-template-columns: 1fr;
        gap: 22px;
        padding-top: 24px;
    }
    .about-us-tamil .about-feature h4 { font-size: 10.5px; }
    .about-us-tamil .about-feature p { font-size: 13px; }

    .about-us-tamil .about-us-image { min-height: 300px; }
    .about-us-tamil .justice-img { max-height: 320px; }
}

@media (max-width: 480px) {
    .about-us-tamil .about-heading { font-size: 26px; }
    .about-us-tamil .about-description { font-size: 14px; }
    .about-us-tamil .about-us-image { min-height: 240px; }
    .about-us-tamil .justice-img { max-height: 260px; }
}

/* =========================================================
   HOMEPAGE — EXTENDS THE HERO / ABOUT DESIGN LANGUAGE
   Serif display headings, tracked uppercase eyebrows,
   navy + gold palette, soft white cards.
   ========================================================= */
.home-section {
    padding: 90px 0;
    position: relative;
}
.home-section--tint { background: var(--brand-light); }
.home-section--dark {
    background:
        radial-gradient(1000px 420px at 85% -10%, rgba(201, 169, 97, 0.18), transparent 60%),
        linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-primary) 100%);
}

/* ---------- Section head ---------- */
.section-head {
    max-width: 780px;
    margin: 0 auto 54px;
    text-align: center;
}
.section-head--spaced { margin-top: 96px; }
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 18px;
}
.section-eyebrow-line {
    display: inline-block;
    width: 45px;
    height: 1px;
    background: var(--brand-gold);
}
.section-eyebrow-text {
    font-family: 'Poppins', 'Raleway', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--brand-gold);
}
.section-heading-serif {
    font-family: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
    font-size: 42px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.5px;
    color: var(--brand-ink);
    margin: 0 0 16px;
}
.section-lead {
    font-family: 'Open Sans', 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--brand-body);
    margin: 0 auto;
    max-width: 660px;
}
.home-section--dark .section-heading-serif { color: #ffffff; }
.home-section--dark .section-lead { color: rgba(255, 255, 255, 0.78); }
.section-cta { margin-top: 54px; }

/* ---------- Buttons ---------- */
.btn-new {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--brand-primary);
    color: #ffffff;
    border: 1px solid var(--brand-primary);
    border-radius: 6px;
    padding: 14px 30px;
    font-family: 'Poppins', sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
}
.btn-new:hover {
    background: var(--brand-ink);
    border-color: var(--brand-ink);
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(15, 27, 77, 0.25);
}
.btn-new i {
    color: var(--brand-gold);
    font-size: 11px;
    transition: transform 0.3s ease;
}
.btn-new:hover i { transform: translateX(4px); }
.btn-new--outline {
    background: transparent;
    color: var(--brand-ink);
    border-color: rgba(201, 169, 97, 0.65);
}
.btn-new--outline:hover {
    background: var(--brand-gold);
    border-color: var(--brand-gold);
    color: var(--brand-ink);
    box-shadow: 0 12px 26px rgba(201, 169, 97, 0.35);
}
.btn-new--outline i { color: currentColor; }
.btn-new--block {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-top: 20px;
}

/* ---------- Message cards (speech) ---------- */
.msg-card {
    display: flex;
    gap: 26px;
    height: 100%;
    background: #ffffff;
    border: 1px solid var(--brand-line);
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(15, 27, 51, 0.06);
    transition: all 0.35s ease;
    position: relative;
}
.msg-card:hover {
    transform: translateY(-5px);
    border-color: #d5dced;
    box-shadow: 0 18px 40px rgba(15, 27, 51, 0.12);
}
.msg-card-portrait {
    flex: 0 0 120px;
    display: block;
}
.msg-card-portrait img {
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(15, 27, 51, 0.16);
    transition: all 0.35s ease;
    max-width: 200px;
    border-radius: 50%;
    border: 5px solid var(--brand-gold);
    padding: 5px;
}
.msg-card-body {
    position: relative;
    flex: 1;
    min-width: 0;
    padding-left: 36px;
}
.msg-card-body > i {
    position: absolute;
    left: 0;
    top: -4px;
    font-size: 26px;
    color: var(--brand-gold);
    opacity: 0.9;
}
.msg-card-text {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    line-height: 1.75;
    color: var(--brand-body);
    text-align: justify;
    margin: 0 0 14px;
}
.msg-card-more,
.news-card-more {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: 'Poppins', sans-serif;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--brand-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}
.msg-card-more i,
.news-card-more i {
    font-size: 10px;
    transition: transform 0.3s ease;
}
.msg-card-more:hover,
.news-card-more:hover {
    color: var(--brand-gold);
    text-decoration: none;
}
.msg-card-more:hover i,
.news-card-more:hover i { transform: translateX(4px); }
.msg-card-sign {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--brand-line);
}
.msg-card-sign h5 {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--brand-ink);
    margin: 0 0 5px;
}
.msg-card-sign h5 a { color: inherit; transition: color 0.3s; }
.msg-card-sign h5 a:hover { color: var(--brand-primary); text-decoration: none; }
.msg-card-sign h6 {
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--brand-gold);
    margin: 0;
}

/* ---------- Executive committee member cards ---------- */
.com-page .member-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--brand-line);
    border-radius: 14px;
    padding: 18px 14px 22px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(15, 27, 51, 0.06);
    transition: all 0.35s ease;
}
.com-page .member-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(15, 27, 51, 0.13);
}
.member-card-media { display: block; }
.member-card-media img {
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(15, 27, 51, 0.16);
    transition: all 0.35s ease;
    max-width: 180px;
    border-radius: 50%;
    border: 5px solid var(--brand-gold);
    padding: 5px;
}
.member-card:hover .member-card-media img {
    transform: scale(1.03);
    border-color: rgba(201, 169, 97, 0.55);
}
.member-card-body { margin-top: 4px; }
.member-card-body h3 {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.35;
    margin: 16px 0 7px;
}
.member-card-body h3 a {
    color: var(--brand-ink);
    transition: color 0.3s;
}
.member-card-body h3 a:hover { color: var(--brand-primary); text-decoration: none; }
.member-card-body p {
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    color: var(--brand-primary);
    margin: 0;
}

/* ---------- Notice / Download panels ---------- */
.panel-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff;
    border: 1px solid var(--brand-line);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(15, 27, 51, 0.07);
}
.panel-card-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 26px;
    border-bottom: 1px solid var(--brand-line);
}
.panel-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--brand-primary-soft);
    color: var(--brand-primary);
    font-size: 17px;
    flex: 0 0 42px;
}
.panel-card-head h3 {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--brand-ink);
    margin: 0;
}
.panel-card-more {
    margin-left: auto;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--brand-gold);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s;
}
.panel-card-more:hover { color: var(--brand-primary); text-decoration: none; }
.panel-list {
    list-style: none;
    margin: 0;
    padding: 8px 14px 18px;
    flex: 1;
}
.panel-list li { border-bottom: 1px solid var(--brand-line); }
.panel-list li:last-child { border-bottom: none; }
.panel-list a {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 14px;
    border-radius: 10px;
    color: var(--brand-ink);
    text-decoration: none;
    transition: background 0.3s ease;
}
.panel-list a:hover { background: var(--brand-light); text-decoration: none; }
.panel-list img {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    object-fit: cover;
    border-radius: 8px;
    background: var(--brand-surface);
}
.panel-file-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    border-radius: 8px;
    background: var(--brand-primary-soft);
    color: var(--brand-primary);
    font-size: 20px;
}
.panel-list .content {
    flex: 1;
    min-width: 0;
}
.panel-list h4 {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
    color: var(--brand-ink);
    margin: 0 0 5px;
    transition: color 0.3s;
}
.panel-list a:hover h4 { color: var(--brand-primary); }
.panel-list p {
    font-family: 'Poppins', sans-serif;
    font-size: 11.5px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--brand-muted);
    margin: 0;
    line-height: 1.4;
}
.panel-arrow {
    color: var(--brand-muted);
    font-size: 13px;
    transition: all 0.3s ease;
}
.panel-list a:hover .panel-arrow {
    color: var(--brand-gold);
    transform: translateX(4px);
}

/* Notice / Download columns: panel fills column, "More" button sits below it */
.notice-download-section .col-lg-7,
.notice-download-section .col-lg-5 {
    display: flex;
    flex-direction: column;
}
.notice-download-section .panel-card {
    flex: 1 1 auto;
    height: auto;
}

/* ---------- Quick verification (dark band) ---------- */
.quick-card {
    height: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(201, 169, 97, 0.32);
    border-radius: 14px;
    padding: 30px 26px 28px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.35s ease;
}
.quick-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(201, 169, 97, 0.65);
    transform: translateY(-4px);
}
.quick-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: rgba(201, 169, 97, 0.18);
    color: var(--brand-gold);
    font-size: 18px;
    margin-bottom: 18px;
}
.quick-card h3 {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 8px;
}
.quick-card p {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.72);
    margin: 0 0 20px;
}
.quick-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.quick-input {
    display: flex;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.3s;
}
.quick-input:focus-within { border-color: var(--brand-gold); }
.quick-input .form-control {
    background: transparent;
    border: none;
    box-shadow: none;
    height: 50px;
    padding: 0 16px;
    color: #ffffff;
    font-size: 14px;
    border-radius: 0;
}
.quick-input .form-control::placeholder { color: rgba(255, 255, 255, 0.5); }
.quick-input .form-control:focus {
    background: transparent;
    color: #ffffff;
    box-shadow: none;
    outline: none;
}
.quick-btn {
    background: var(--brand-gold);
    color: var(--brand-ink);
    border: none;
    border-radius: 8px;
    padding: 14px 18px;
    font-family: 'Poppins', sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease;
}
.quick-btn:hover { background: var(--brand-gold-light); }

/* ---------- News cards ---------- */
.news-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff;
    border: 1px solid var(--brand-line);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(15, 27, 51, 0.06);
    transition: all 0.35s ease;
}
.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(15, 27, 51, 0.13);
}
.news-card-media {
    position: relative;
    display: block;
    overflow: hidden;
}
.news-card-media img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.news-card:hover .news-card-media img { transform: scale(1.06); }
.news-card-media:after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 27, 77, 0.5), transparent 55%);
    opacity: 0.85;
}
.news-card-date {
    position: absolute;
    left: 16px;
    top: 16px;
    z-index: 2;
    background: var(--brand-gold);
    color: var(--brand-ink);
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 7px 12px;
    border-radius: 6px;
}
.news-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 24px 24px 26px;
}
.news-card-body h3 {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 21px;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 12px;
}
.news-card-body h3 a {
    color: var(--brand-ink);
    transition: color 0.3s;
}
.news-card-body h3 a:hover { color: var(--brand-primary); text-decoration: none; }
.news-card-body p {
    font-family: 'Open Sans', sans-serif;
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--brand-body);
    margin: 0 0 18px;
}
.news-card-more { margin-top: auto; }

/* ---------- Gallery ---------- */
.gallery-section .snip1543 {
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(15, 27, 51, 0.08);
}
.gallery-section .snip1543 figcaption { padding: 25px 34% 25px 24px; }
.gallery-section .snip1543 h3 {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 21px;
    font-weight: 600;
    letter-spacing: 0;
}
.gallery-section .snip1543 p {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    letter-spacing: 0;
    color: rgba(255, 255, 255, 0.88);
}

/* =========================================================
   HOMEPAGE — RESPONSIVE
   ========================================================= */
@media (max-width: 1199px) {
    .section-heading-serif { font-size: 38px; }
    .msg-card { flex-direction: column; gap: 18px; }
    .msg-card-portrait img { width: 100%; height: 210px; }
    .msg-card-body { padding-left: 32px; }
}

@media (max-width: 991px) {
    .home-section { padding: 70px 0; }
    .section-head { margin-bottom: 42px; }
    .section-head--spaced { margin-top: 70px; }
    .section-heading-serif { font-size: 34px; }
    .section-lead { font-size: 15px; }
    .msg-card { flex-direction: row; }
    .msg-card-portrait img { width: 120px; height: 150px; }
}

@media (max-width: 767px) {
    .home-section { padding: 56px 0; }
    .section-head--spaced { margin-top: 56px; }
    .section-heading-serif { font-size: 28px; }
    .section-eyebrow { margin-bottom: 14px; }
    .section-eyebrow-text { font-size: 10.5px; letter-spacing: 2.5px; }
    .section-eyebrow-line { width: 26px; }
    .section-lead { font-size: 14.5px; }
    .section-cta { margin-top: 38px; }

    .msg-card {
        flex-direction: column;
        padding: 24px 20px;
        gap: 16px;
    }
    .msg-card-portrait { flex: 0 0 auto; }
    .msg-card-portrait img { width: 100%; height: 220px; }
    .msg-card-body { padding-left: 30px; }
    .msg-card-text { font-size: 14.5px; }
    .msg-card-sign h5 { font-size: 18px; }

    .com-page .member-card { padding: 14px 10px 18px; }
    .member-card-media img { width: 130px; height: 162px; }
    .member-card-body h3 { font-size: 17px; margin-top: 14px; }

    .panel-card-head { padding: 18px 18px; gap: 12px; }
    .panel-card-head h3 { font-size: 21px; }
    .panel-card-more { font-size: 10px; letter-spacing: 1px; }
    .panel-list { padding: 6px 8px 14px; }
    .panel-list a { padding: 14px 10px; gap: 12px; }
    .panel-list h4 { font-size: 15px; }
    .panel-list img,
    .panel-file-icon { width: 46px; height: 46px; flex-basis: 46px; }

    .quick-card { padding: 26px 20px; }
    .quick-card h3 { font-size: 20px; }

    .news-card-media img { height: 200px; }
    .news-card-body { padding: 20px 18px 22px; }
    .news-card-body h3 { font-size: 19px; }

    .gallery-section .snip1543 figcaption { padding: 20px 22px; }
    .gallery-section .snip1543 h3 { font-size: 18px; }
    .gallery-section .snip1543 p { font-size: 13px; }
}

@media (max-width: 480px) {
    .section-heading-serif { font-size: 24px; }
    .msg-card-portrait img { height: 190px; }
    .btn-new { padding: 12px 22px; font-size: 11.5px; letter-spacing: 1.2px; }
}
/* =========================================================
   INNER PAGES – SAME DESIGN LANGUAGE AS THE HOMEPAGE
   Page hero band, serif headings, gold eyebrow,
   white cards, branded tables / forms / filters.
   ========================================================= */

/* ---------- Page hero (replaces legacy banner-page strip) ---------- */
.page-hero {
    position: relative;
    background-color: var(--brand-navy);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 92px 0 84px;
    overflow: hidden;
}
.page-hero:after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(760px 320px at 88% -10%, rgba(201, 169, 97, 0.22), transparent 62%);
    pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero-inner { max-width: 860px; }
.page-hero .section-eyebrow {
    justify-content: flex-start;
    margin-bottom: 16px;
}
.page-hero-title {
    font-family: 'Playfair Display', 'Georgia', 'Noto Sans Bengali', serif;
    font-size: 50px;
    font-weight: 600;
    line-height: 1.16;
    letter-spacing: -0.5px;
    color: #ffffff;
    margin: 0 0 24px;
}
.page-breadcrumb .breadcrumb {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px;
    margin: 0;
    padding: 11px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.page-breadcrumb .breadcrumb-item {
    font-family: 'Poppins', 'Noto Sans Bengali', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}
.page-breadcrumb .breadcrumb-item + .breadcrumb-item:before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--brand-gold);
    padding: 0 10px;
}
.page-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.3s;
}
.page-breadcrumb .breadcrumb-item a:hover { color: var(--brand-gold); }
.page-breadcrumb .breadcrumb-item a i { margin-right: 6px; font-size: 11px; }
.page-breadcrumb .breadcrumb-item.active { color: #ffffff; }

/* ---------- Page body sections ---------- */
.page-section { padding: 90px 0; }
.page-section--tint { background: var(--brand-light); }
.page-section--flush { padding-top: 0; }
.page-content {
    font-family: 'Open Sans', 'Noto Sans Bengali', sans-serif;
    font-size: 16px;
    line-height: 1.85;
    color: var(--brand-body);
}
.page-content:last-child { margin-bottom: 0; }
.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5 {
    font-family: 'Playfair Display', 'Georgia', 'Noto Sans Bengali', serif;
    font-weight: 600;
    color: var(--brand-ink);
    line-height: 1.3;
    margin: 28px 0 14px;
}
.page-content h2 { font-size: 30px; }
.page-content h3 { font-size: 24px; }
.page-content h4 { font-size: 20px; }
.page-content h1:first-child,
.page-content h2:first-child,
.page-content h3:first-child { margin-top: 0; }
.page-content p { margin-bottom: 18px; }
.page-content a { color: var(--brand-primary); font-weight: 600; }
.page-content a:hover { color: var(--brand-gold); }
.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 10px 0;
}
.page-content ul,
.page-content ol { padding-left: 22px; margin-bottom: 18px; }
.page-content li { margin-bottom: 8px; }
.page-content blockquote {
    margin: 24px 0;
    padding: 18px 24px;
    background: var(--brand-light);
    border-left: 3px solid var(--brand-gold);
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: var(--brand-ink);
}
.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 22px 0;
    font-size: 15px;
}
.page-content table th {
    background: var(--brand-navy);
    color: #ffffff;
    font-family: 'Poppins', 'Noto Sans Bengali', sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 13px 16px;
    text-align: left;
}
.page-content table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--brand-line);
    color: var(--brand-body);
}
.page-content table tbody tr:nth-child(even) { background: var(--brand-surface); }
.page-content table tbody tr:hover { background: var(--brand-light); }

/* ---------- Filter / search cards ---------- */
.search-card {
    background: #ffffff;
    border: 1px solid var(--brand-line);
    border-radius: 14px;
    padding: 26px;
    margin-bottom: 40px;
    box-shadow: 0 6px 24px rgba(15, 27, 51, 0.07);
}
.search-card label {
    font-family: 'Poppins', 'Noto Sans Bengali', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--brand-muted);
    margin-bottom: 6px;
}
.search-card .form-control {
    border: 1px solid #dfe4ee;
    border-radius: 8px;
    height: 46px;
    padding: 0 14px;
    font-size: 14.5px;
    color: var(--brand-ink);
    background: var(--brand-surface);
    transition: all 0.3s;
}
.search-card .form-control:focus {
    background: #ffffff;
    border-color: var(--brand-gold);
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.18);
}
.search-card .input-group-text {
    border-radius: 8px 0 0 8px;
    border: 1px solid #dfe4ee;
    border-right: none;
    background: var(--brand-primary-soft);
    color: var(--brand-primary);
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}
.search-card select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238A94A6' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}
.search-card .btn-search {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 46px;
    background: var(--brand-gold);
    color: var(--brand-ink);
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', 'Noto Sans Bengali', sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s;
}
.search-card .btn-search:hover { background: var(--brand-gold-light); color: var(--brand-ink); }
.search-card .btn-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 46px;
    background: transparent;
    color: var(--brand-ink);
    border: 1px solid rgba(201, 169, 97, 0.65);
    border-radius: 8px;
    font-family: 'Poppins', 'Noto Sans Bengali', sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s;
}
.search-card .btn-reset:hover {
    background: var(--brand-gold);
    border-color: var(--brand-gold);
    color: var(--brand-ink);
    text-decoration: none;
}

/* standalone .btn-search (action button outside a .search-card) */
.btn-search {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 170px;
    padding: 0 26px;
    height: 46px;
    background: var(--brand-gold);
    color: var(--brand-ink);
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', 'Noto Sans Bengali', sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s;
}
.btn-search:hover {
    background: var(--brand-gold-light);
    color: var(--brand-ink);
    text-decoration: none;
}

/* ---------- Data tables ---------- */
.page-section .table-responsive { margin-top: 10px; }
.page-section .table {
    background: #ffffff;
    border-radius: 14px;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(15, 27, 51, 0.07);
    margin-bottom: 30px;
}
.page-section .table thead th {
    background: var(--brand-navy);
    color: #ffffff;
    border: none;
    font-family: 'Poppins', 'Noto Sans Bengali', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    padding: 16px 18px;
    white-space: nowrap;
}
.page-section .table td {
    vertical-align: middle;
    padding: 15px 18px;
    border-top: 1px solid var(--brand-line);
    color: var(--brand-body);
    font-size: 15px;
}
.page-section .table tbody tr { transition: background 0.25s; }
.page-section .table tbody tr:hover { background: var(--brand-light); }
.page-section .table a { color: var(--brand-primary); font-weight: 600; }
.page-section .table a:hover { color: var(--brand-gold); text-decoration: none; }

/* ---------- Pagination ---------- */
.page-section .pagination {
    justify-content: center;
    margin: 10px 0 0;
    flex-wrap: wrap;
    gap: 6px;
}
.page-section .pagination .page-item { margin: 0; }
.page-section .pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 13px;
    margin: 0;
    border: 1px solid var(--brand-line);
    border-radius: 8px;
    background: #ffffff;
    color: var(--brand-ink);
    font-family: 'Poppins', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    transition: all 0.3s;
}
.page-section .pagination .page-link:hover {
    background: var(--brand-light);
    border-color: var(--brand-gold);
    color: var(--brand-primary);
    text-decoration: none;
}
.page-section .pagination .page-item.active .page-link {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #ffffff;
}
.page-section .pagination .page-item.disabled .page-link {
    background: var(--brand-surface);
    color: var(--brand-muted);
}

/* ---------- Member grids (legacy rs-team-1 kept brand-new) ---------- */
.page-section .member-page .rs-team-1 {
    background: #ffffff;
    border: 1px solid var(--brand-line);
    border-bottom: none;
    border-radius: 14px;
    overflow: hidden;
    text-align: center;
    padding: 16px 14px 20px;
    box-shadow: 0 4px 20px rgba(15, 27, 51, 0.06);
    transition: all 0.35s ease;
    height: 100%;
}
.page-section .member-page .rs-team-1:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(15, 27, 51, 0.13);
}
.page-section .member-page .rs-team-1 .sub-pride-img {
    width: 150px;
    height: 185px;
    object-fit: cover;
    border-radius: 10px;
    border: 3px solid #ffffff;
    box-shadow: 0 8px 20px rgba(15, 27, 51, 0.16);
}
.page-section .member-page .rs-team-1 .scroll-pride-top-name,
.page-section .member-page .rs-team-1 h3 {
    font-family: 'Playfair Display', 'Georgia', 'Noto Sans Bengali', serif;
    font-size: 19px;
    font-weight: 600;
    color: var(--brand-ink);
    margin-top: 14px;
}
.page-section .member-page .rs-team-1 .designation,
.page-section .member-page .rs-team-1 .sub-title {
    font-family: 'Poppins', 'Noto Sans Bengali', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    color: var(--brand-primary);
}

/* ---------- Icon boxes / news tiles (legacy) ---------- */
.page-section .icon-box {
    background: #ffffff;
    border: 1px solid var(--brand-line);
    border-top: 3px solid var(--brand-gold);
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(15, 27, 51, 0.06);
    transition: all 0.35s ease;
    height: 100%;
}
.page-section .icon-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(15, 27, 51, 0.12);
}
.page-section .icon-box h3,
.page-section .icon-box .news-title {
    font-family: 'Playfair Display', 'Georgia', 'Noto Sans Bengali', serif;
    font-size: 21px;
    font-weight: 600;
    color: var(--brand-ink);
}
.page-section .icon-box h3 a { color: inherit; }
.page-section .icon-box h3 a:hover,
.page-section .icon-box .news-title:hover { color: var(--brand-primary); text-decoration: none; }
.page-section .icon-box p { color: var(--brand-body); font-size: 14.5px; line-height: 1.7; }

/* ---------- Profile widgets / wells (committee top officers) ---------- */
.page-section .well,
.page-section .mini-profile-widget {
    background: #ffffff;
    border: 1px solid var(--brand-line);
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(15, 27, 51, 0.07);
    overflow: hidden;
}
.page-section .mini-profile-widget .user-heading {
    background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-primary) 100%);
}
.page-section .mini-profile-widget h4,
.page-section .mini-profile-widget .details h4 {
    font-family: 'Playfair Display', 'Georgia', 'Noto Sans Bengali', serif;
    font-weight: 600;
    color: var(--brand-ink);
}

/* ---------- Contact info boxes ---------- */
.page-section .contact .info-box {
    background: #ffffff;
    border: 1px solid var(--brand-line);
    border-radius: 14px;
    padding: 30px 26px;
    height: 100%;
    text-align: center;
    box-shadow: 0 4px 20px rgba(15, 27, 51, 0.06);
    transition: all 0.35s ease;
}
.page-section .contact .info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(15, 27, 51, 0.12);
}
.page-section .contact .info-box i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: rgba(201, 169, 97, 0.16);
    color: var(--brand-gold);
    font-size: 22px;
    margin-bottom: 16px;
}
.page-section .contact .info-box h3 {
    font-family: 'Playfair Display', 'Georgia', 'Noto Sans Bengali', serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--brand-ink);
    margin-bottom: 8px;
}
.page-section .contact .info-box p { color: var(--brand-body); font-size: 15px; margin-bottom: 0; }

/* ---------- FAQ accordion ---------- */
.page-section .faq-section,
.faq-section {
    background: #ffffff;
    border: 1px solid var(--brand-line);
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(15, 27, 51, 0.06);
    overflow: hidden;
    margin-bottom: 18px;
}
.faq-section .question {
    padding: 20px 24px;
    cursor: pointer;
    transition: background 0.3s;
}
.faq-section .question:hover { background: var(--brand-light); }
.faq-section .question p {
    font-family: 'Open Sans', 'Noto Sans Bengali', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--brand-ink);
    margin: 0;
}
.faq-section .question i { color: var(--brand-gold); }
.faq-section .answer {
    display: none;
    padding: 0 24px 22px;
    border-top: 1px solid var(--brand-line);
}
.faq-section .answer p {
    font-family: 'Open Sans', 'Noto Sans Bengali', sans-serif;
    font-size: 15px;
    line-height: 1.75;
    color: var(--brand-body);
    margin: 16px 0 0;
}
.faq-section.open .answer { display: block; }

/* ---------- Download list rows ---------- */
.download-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    background: #ffffff;
    border: 1px solid var(--brand-line);
    border-radius: 12px;
    padding: 16px 20px;
    margin: 0 0 14px;
    transition: all 0.3s;
}
.download-list li:hover {
    border-color: rgba(201, 169, 97, 0.55);
    box-shadow: 0 12px 30px rgba(15, 27, 51, 0.1);
    transform: translateY(-2px);
}
.download-list li a { color: var(--brand-ink); font-weight: 600; }
.download-list li a:hover { color: var(--brand-primary); }
.download-list i { color: var(--brand-gold); }

/* =========================================================
   GALLERY TILES (photos / albums)
   ─ Refined minimal overlay ─ no blue, elegant depth.
   ─ Deeper bottom gradient, gold ring accent, gentle zoom.
   ─ snip1543 pseudo-elements are fully neutralised.
   ========================================================= */

/* --- album card: refined premium hover --- */
.page-section .gallery-grid figure,
.page-section figure.snip1543 { border-radius: 14px; }

.page-section .album-card {
    position: relative;
    display: block;
    background: #ffffff;
    border: 1px solid var(--brand-line);
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(15, 27, 51, 0.06);
    transition: box-shadow 0.4s ease, border-color 0.4s ease, transform 0.4s ease;
    height: 100%;
    isolation: isolate;
}
.page-section .album-card:hover,
.page-section .album-card:focus {
    border-color: rgba(201, 169, 97, 0.7);
    box-shadow:
        0 16px 36px rgba(15, 27, 51, 0.14),
        0 0 0 1px rgba(201, 169, 97, 0.18);
    transform: translateY(-4px);
}
.page-section .album-card:active { transform: translateY(-2px); }

/* Image container */
.page-section .album-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.page-section .album-card:hover img { transform: scale(1.05); }

/* Refined dark gradient overlay at the bottom of the image */
.page-section .album-card::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 60%;
    background: linear-gradient(
        to top,
        rgba(0, 15, 40, 0.72) 0%,
        rgba(0, 15, 40, 0.42) 35%,
        rgba(0, 15, 40, 0.14) 70%,
        rgba(0, 15, 40, 0.00) 100%
    );
    pointer-events: none;
    opacity: 0.92;
    transition: opacity 0.4s ease;
    z-index: 1;
}
.page-section .album-card:hover::after { opacity: 1; }

/* Thin gold inner ring — subtle, premium */
.page-section .album-card::before {
    content: '';
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(201, 169, 97, 0);
    border-radius: 10px;
    pointer-events: none;
    transition: border-color 0.4s ease;
    z-index: 3;
}
.page-section .album-card:hover::before {
    border-color: rgba(201, 169, 97, 0.42);
}

/* Body sits above the gradient */
.page-section .album-card .album-card-body {
    position: relative;
    padding: 20px 22px 24px;
    background: #ffffff;
    z-index: 2;
}
.page-section .album-card h3 {
    font-family: 'Playfair Display', 'Georgia', 'Noto Sans Bengali', serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--brand-ink);
    margin: 0 0 8px;
    transition: color 0.3s ease;
}
.page-section .album-card:hover h3 { color: var(--brand-primary); }
.page-section .album-card p {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--brand-body);
    margin: 0;
}

/* --- snip1543: kill the coloured overlays + keep the tile polished --- */
.page-section figure.snip1543,
.gallery-section figure.snip1543,
figure.snip1543 {
    position: relative;
    background: #ffffff !important;
    transition: box-shadow 0.4s ease, border-color 0.4s ease !important;
    box-shadow: 0 4px 20px rgba(15, 27, 51, 0.06) !important;
    transform: none !important;
    overflow: hidden !important;
    border-radius: 14px;
    border: 1px solid var(--brand-line);
    isolation: isolate;
}
.page-section figure.snip1543:hover,
.gallery-section figure.snip1543:hover,
figure.snip1543:hover {
    box-shadow:
        0 16px 36px rgba(15, 27, 51, 0.14),
        0 0 0 1px rgba(201, 169, 97, 0.18) !important;
    border-color: rgba(201, 169, 97, 0.7);
    transform: none !important;
    background: #ffffff !important;
}

/* The image inside the figure */
.page-section figure.snip1543 img,
.gallery-section figure.snip1543 img,
figure.snip1543 img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) !important;
    transform: none !important;
    filter: none !important;
    -webkit-filter: none !important;
}
.page-section figure.snip1543:hover img,
.gallery-section figure.snip1543:hover img,
figure.snip1543:hover img {
    transform: scale(1.05) !important;
    filter: none !important;
    -webkit-filter: none !important;
}

/* Refined dark gradient overlay on the snip1543 figure */
.page-section figure.snip1543::after,
.gallery-section figure.snip1543::after,
figure.snip1543::after {
    content: '' !important;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 60%;
    background: linear-gradient(
        to top,
        rgba(0, 15, 40, 0.72) 0%,
        rgba(0, 15, 40, 0.42) 35%,
        rgba(0, 15, 40, 0.14) 70%,
        rgba(0, 15, 40, 0.00) 100%
    ) !important;
    pointer-events: none;
    opacity: 0.92;
    transition: opacity 0.4s ease !important;
    z-index: 1;
}
.page-section figure.snip1543:hover::after,
.gallery-section figure.snip1543:hover::after,
figure.snip1543:hover::after {
    opacity: 1;
}

/* Thin gold inner ring on snip1543 too */
.page-section figure.snip1543::before,
.gallery-section figure.snip1543::before,
figure.snip1543::before {
    content: '' !important;
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(201, 169, 97, 0) !important;
    border-radius: 10px;
    pointer-events: none;
    transition: border-color 0.4s ease !important;
    z-index: 3;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    opacity: 1 !important;
    transform: none !important;
}
.page-section figure.snip1543:hover::before,
.gallery-section figure.snip1543:hover::before,
figure.snip1543:hover::before {
    border-color: rgba(201, 169, 97, 0.42) !important;
    background: transparent !important;
    opacity: 1 !important;
}

/* figcaption — sits above the gradient, keeps the caption text bright */
.page-section figure.snip1543 figcaption,
.gallery-section figure.snip1543 figcaption,
figure.snip1543 figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 25px 34% 25px 24px;
    background: transparent !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    z-index: 2;
}
.page-section figure.snip1543:hover figcaption,
.gallery-section figure.snip1543:hover figcaption,
figure.snip1543:hover figcaption {
    background: transparent !important;
    transform: none !important;
    opacity: 1 !important;
}

/* Caption text — white on the dark gradient */
.page-section figure.snip1543 h3,
.gallery-section figure.snip1543 h3,
figure.snip1543 h3 {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 21px;
    font-weight: 600;
    color: #ffffff !important;
    margin: 0 0 6px;
    letter-spacing: 0;
    transition: none !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.page-section figure.snip1543 h3 a,
.gallery-section figure.snip1543 h3 a,
figure.snip1543 h3 a {
    color: #ffffff !important;
    text-decoration: none;
    transition: none !important;
}
.page-section figure.snip1543 p,
.gallery-section figure.snip1543 p,
figure.snip1543 p {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    letter-spacing: 0;
    color: rgba(255, 255, 255, 0.94) !important;
    margin: 0;
    transition: none !important;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

/* Kill the figcaption pseudo-element borders (the original blue) */
.page-section figure.snip1543 figcaption::before,
.page-section figure.snip1543 figcaption::after,
.gallery-section figure.snip1543 figcaption::before,
.gallery-section figure.snip1543 figcaption::after,
figure.snip1543 figcaption::before,
figure.snip1543 figcaption::after {
    content: '' !important;
    background: transparent !important;
    background-color: transparent !important;
    border-color: transparent !important;
    border: 0 !important;
    opacity: 0 !important;
    transform: none !important;
    transition: none !important;
    width: 0 !important;
    height: 0 !important;
}
.page-section figure.snip1543:hover figcaption::before,
.page-section figure.snip1543:hover figcaption::after,
.gallery-section figure.snip1543:hover figcaption::before,
.gallery-section figure.snip1543:hover figcaption::after,
figure.snip1543:hover figcaption::before,
figure.snip1543:hover figcaption::after {
    background: transparent !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
}

/* Kill the <a> overlay pseudo-elements (the original snip1543 uses these) */
.page-section figure.snip1543 a,
.gallery-section figure.snip1543 a,
figure.snip1543 a {
    background: transparent !important;
    transition: none !important;
    color: transparent !important;
    box-shadow: none !important;
}
.page-section figure.snip1543 a::before,
.page-section figure.snip1543 a::after,
.gallery-section figure.snip1543 a::before,
.gallery-section figure.snip1543 a::after,
figure.snip1543 a::before,
figure.snip1543 a::after {
    content: '' !important;
    background: transparent !important;
    background-color: transparent !important;
    border-color: transparent !important;
    border: 0 !important;
    opacity: 0 !important;
    transform: none !important;
    transition: none !important;
    width: 0 !important;
    height: 0 !important;
}
.page-section figure.snip1543:hover a::before,
.page-section figure.snip1543:hover a::after,
.gallery-section figure.snip1543:hover a::before,
.gallery-section figure.snip1543:hover a::after,
figure.snip1543:hover a::before,
figure.snip1543:hover a::after {
    background: transparent !important;
    background-color: transparent !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
}

/* ---------- Library (stats / book cards / autocomplete) ---------- */
.page-section .stat-card {
    height: 100%;
    background: #ffffff;
    border: 1px solid var(--brand-line);
    border-radius: 14px;
    padding: 36px 26px;
    text-align: center;
    box-shadow: 0 6px 24px rgba(15, 27, 51, 0.07);
    transition: all 0.35s ease;
}
.page-section .stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(201, 169, 97, 0.55);
    box-shadow: 0 16px 36px rgba(15, 27, 51, 0.12);
}
.page-section .stat-card .stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: rgba(201, 169, 97, 0.16);
    color: var(--brand-gold);
    font-size: 24px;
    margin-bottom: 20px;
}
.page-section .stat-card .stat-number {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 46px;
    font-weight: 600;
    line-height: 1;
    color: var(--brand-ink);
    margin: 0 0 10px;
}
.page-section .stat-card .stat-label {
    font-family: 'Poppins', 'Noto Sans Bengali', sans-serif;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--brand-body);
    margin: 0;
}
.page-section .book-card {
    display: block;
    height: 100%;
    background: #ffffff;
    border: 1px solid var(--brand-line);
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 6px 24px rgba(15, 27, 51, 0.07);
    transition: all 0.35s ease;
}
.page-section .book-card:hover {
    transform: translateY(-5px);
    border-color: rgba(201, 169, 97, 0.55);
    box-shadow: 0 16px 36px rgba(15, 27, 51, 0.13);
    text-decoration: none;
}
.page-section .book-card .book-card-img {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 235px;
    padding: 20px;
    background: var(--brand-light);
}
.page-section .book-card .book-card-img img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 6px 18px rgba(15, 27, 51, 0.18);
}
.page-section .book-card .book-card-body {
    padding: 18px 20px 22px;
    text-align: center;
}
.page-section .book-card h3 {
    font-family: 'Poppins', 'Noto Sans Bengali', sans-serif;
    font-size: 15.5px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--brand-ink);
    margin: 0;
    transition: color 0.3s;
}
.page-section .book-card:hover h3 { color: var(--brand-primary); }
.page-section .book-card p {
    font-size: 13px;
    color: var(--brand-body);
    margin: 6px 0 0;
}
.page-section .book-detail-card {
    display: flex;
    flex-wrap: wrap;
    gap: 36px;
    background: #ffffff;
    border: 1px solid var(--brand-line);
    border-top: 3px solid var(--brand-gold);
    border-radius: 14px;
    padding: 36px;
    box-shadow: 0 8px 30px rgba(15, 27, 51, 0.08);
}
.page-section .book-detail-media {
    flex: 0 0 260px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}
.page-section .book-detail-media img {
    max-width: 100%;
    border-radius: 6px;
    box-shadow: 0 10px 26px rgba(15, 27, 51, 0.2);
}
.page-section .book-detail-body { flex: 1 1 320px; min-width: 0; }
.page-section .book-detail-body .book-name {
    font-family: 'Playfair Display', 'Noto Sans Bengali', serif;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--brand-ink);
    margin: 0 0 10px;
}
.page-section .book-detail-body .book-by {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 15px;
    color: var(--brand-body);
    margin: 0;
}
.page-section .book-detail-body .book-by i { color: var(--brand-gold); }
.ajax-search-box {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    z-index: 40;
    display: none;
}
.ajax-search-box.show { display: block; }
.ajax-search-suggestion {
    background: #ffffff;
    border: 1px solid var(--brand-line);
    border-radius: 10px;
    box-shadow: 0 14px 34px rgba(15, 27, 51, 0.14);
    max-height: 270px;
    overflow-y: auto;
    overflow-x: hidden;
}
.ajax-search-suggestion a {
    display: block;
    padding: 11px 16px;
    font-size: 14px;
    color: var(--brand-body);
    text-decoration: none;
    border-bottom: 1px solid #eef1f7;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ajax-search-suggestion a:last-child { border-bottom: none; }
.ajax-search-suggestion a:hover {
    background: var(--brand-light);
    color: var(--brand-primary);
}

/* ---------- Verification result cards ---------- */
.verify-section .icon-box {
    background: #ffffff;
    border: 1px solid var(--brand-line);
    border-top: 3px solid var(--brand-gold);
    border-radius: 14px;
    padding: 34px 30px;
    box-shadow: 0 10px 34px rgba(15, 27, 51, 0.1);
}

/* ---------- Legacy title blocks (safety net for unconverted pages) ---------- */
.section-title h2 {
    font-family: 'Playfair Display', 'Georgia', 'Noto Sans Bengali', serif;
    font-size: 34px;
    text-transform: none;
    letter-spacing: -0.3px;
    font-weight: 600;
    color: var(--brand-ink);
}
.mkd-separator { background: var(--brand-gold) !important; }
.banner-page { min-height: 220px; }

/* ---------- Inner page responsive ---------- */
@media (max-width: 1199px) {
    .page-hero-title { font-size: 44px; }
}
@media (max-width: 991px) {
    .page-hero { padding: 72px 0 66px; }
    .page-hero-title { font-size: 38px; }
    .page-section { padding: 70px 0; }
    .search-card { padding: 22px; }
}
@media (max-width: 767px) {
    .page-hero { padding: 56px 0 52px; }
    .page-hero-title { font-size: 30px; margin-bottom: 18px; }
    .page-breadcrumb .breadcrumb { padding: 9px 14px; }
    .page-breadcrumb .breadcrumb-item { font-size: 11px; letter-spacing: 0.5px; }
    .page-section { padding: 52px 0; }
    .page-content { font-size: 15px; }
    .page-content h2 { font-size: 24px; }
    .page-content h3 { font-size: 20px; }
    .page-content table { display: block; overflow-x: auto; }
    .search-card { padding: 18px; border-radius: 12px; }
    .page-section .table thead th { padding: 13px 14px; font-size: 11px; }
    .page-section .table td { padding: 12px 14px; font-size: 14px; }
    .page-section .member-page .rs-team-1 .sub-pride-img { width: 130px; height: 162px; }
    .section-title h2 { font-size: 26px; }
}

/* =========================================================
   COMMITTEE / JUDGES CARDS (Screenshot Style)
   Black background, gold accents, circular B&W portraits.
   ========================================================= */
.judge-card {
    background-color: #00143a; /* Black background */
    border: 1px solid #333;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    height: 100%;
    width: 100%; 
    transition: all 0.35s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.judge-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand-gold, #C9A961); /* Gold border on hover */
    box-shadow: 0 15px 35px rgba(201, 169, 97, 0.15);
}

/* Circular Image Wrapper with Gold Border */
.judge-img-wrapper {
    display: block;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--brand-gold, #C9A961); /* Gold ring */
    padding: 4px; /* Creates a small gap between image and border */
    margin-bottom: 20px;
    background: #fff;
    position: relative;
}

.judge-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    /* Black and White Filter */
    filter: grayscale(100%);
    transition: filter 0.4s ease, transform 0.4s ease;
}

/* Remove grayscale on hover for interaction */
.judge-card:hover .judge-img-wrapper img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Typography */
.judge-info h4 {
    font-family: 'Playfair Display', 'Georgia', 'Noto Sans Bengali', serif; /* Serif font for names */
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.judge-info h4 a {
    color: var(--brand-gold, #C9A961); /* Gold Name */
    text-decoration: none;
    transition: color 0.3s;
}

.judge-info h4 a:hover {
    color: #fff; /* White on hover */
}

.judge-info .designation {
    font-family: 'Poppins', 'Noto Sans Bengali', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--brand-gold, #C9A961); /* Gold Designation */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

/* Secondary line under the designation in judge cards */
.judge-info .judge-sub {
    font-family: 'Poppins', 'Noto Sans Bengali', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #b9b9b9;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 6px 0 0 0;
}

/* When the whole judge card is wrapped inside a link (e.g. GP / Public Prosecutor) */
.judge-card > a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}
.judge-card a h4 {
    color: var(--brand-gold, #C9A961);
    transition: color 0.3s;
}
.judge-card a:hover h4,
.judge-card:hover a:hover h4 {
    color: #fff;
}

/* =========================================================
   PREVIOUS COMMITTEE PHOTO CARDS (Screenshot Style)
   Black card, gold frame, grayscale-to-color group photos.
   ========================================================= */
.committee-photo-card {
    background-color: #000000;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 16px 16px 22px;
    text-align: center;
    height: 100%;
    transition: all 0.35s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.committee-photo-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand-gold, #C9A961);
    box-shadow: 0 15px 35px rgba(201, 169, 97, 0.15);
}
.committee-photo-frame {
    display: block;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid var(--brand-gold, #C9A961);
    padding: 4px;
    background: #fff;
    position: relative;
}
.committee-photo-frame img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    filter: grayscale(100%);
    transition: filter 0.4s ease, transform 0.4s ease;
}
.committee-photo-card:hover .committee-photo-frame img {
    filter: grayscale(0%);
    transform: scale(1.05);
}
.committee-photo-card h3 {
    font-family: 'Playfair Display', 'Georgia', 'Noto Sans Bengali', serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--brand-gold, #C9A961);
    margin: 18px 0 12px;
    line-height: 1.3;
}
.committee-photo-card h3 a {
    color: var(--brand-gold, #C9A961);
    text-decoration: none;
    transition: color 0.3s;
}
.committee-photo-card h3 a:hover {
    color: #fff;
}
.committee-photo-card .btn-view {
    font-family: 'Poppins', 'Noto Sans Bengali', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    background: transparent;
    border: 1px solid var(--brand-gold, #C9A961);
    border-radius: 30px;
    padding: 7px 22px;
    margin-top: auto;
    transition: all 0.3s ease;
}
.committee-photo-card .btn-view:hover {
    background: var(--brand-gold, #C9A961);
    color: #000;
    text-decoration: none;
}

@media (max-width: 575.98px) {
    .committee-photo-frame img { height: 180px; }
    .judge-card { padding: 24px 10px; }
    .judge-img-wrapper { width: 130px; height: 130px; }
}