:root {
    --primary-blue: #0071BC;
    --primary-dark-blue: #05286e;
    --accent-gold: rgb(228, 168, 18);
    --bg-light: #F9F9FA;
    --text-primary: #545454;
    --text-secondary: #48546f;
    --header-gradient: linear-gradient(141deg, #05286e 0%, #0072c4 51%, #05286e 75%);

    /* Override Bootstrap 5 theme primary to exact brand blue (#0071BC) */
    --bs-primary: #0071BC;
    --bs-primary-rgb: 0, 113, 188;
    --bs-link-color: #0071BC;
    --bs-link-hover-color: #005b99;
}

.text-primary {
    color: var(--primary-blue) !important;
}

.border-primary {
    border-color: var(--primary-blue) !important;
}

.btn-primary {
    background-color: var(--primary-blue) !important;
    border-color: var(--primary-blue) !important;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: #005b99 !important;
    border-color: #005b99 !important;
}

.btn-outline-primary {
    color: var(--primary-blue) !important;
    border-color: var(--primary-blue) !important;
}

.btn-outline-primary:hover, .btn-outline-primary:focus, .btn-outline-primary:active {
    background-color: var(--primary-blue) !important;
    border-color: var(--primary-blue) !important;
    color: #fff !important;
}

/* Category Pill Badge */
.post-category-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 113, 188, 0.08);
    color: var(--primary-blue) !important;
    font-weight: 600;
    font-size: 12.5px;
    padding: 6px 14px;
    border-radius: 30px;
    border: 1px solid rgba(0, 113, 188, 0.18);
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.post-category-pill:hover {
    background: var(--primary-blue);
    color: #ffffff !important;
    border-color: var(--primary-blue);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 113, 188, 0.2);
}

/* Breadcrumb Polish */
.custom-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 13.5px;
    color: #64748b;
    margin-bottom: 1.5rem;
    padding: 0;
    list-style: none;
}

.custom-breadcrumb a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.custom-breadcrumb a:hover {
    color: var(--primary-blue);
}

.custom-breadcrumb .breadcrumb-separator {
    color: #cbd5e1;
    font-size: 11px;
}

.custom-breadcrumb .breadcrumb-current {
    color: var(--primary-blue);
    font-weight: 600;
    max-width: 320px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

html {
    margin: 0 !important;
    padding: 0 !important;
    font-family: 'Hind Siliguri', 'Inter', sans-serif;
    color: var(--text-primary);
    overflow-x: hidden;
    /* NOTE: No height:100% here — it clips footer on mobile */
}

body {
    margin: 0 !important;
    padding: 0 !important;
    font-family: 'Hind Siliguri', 'Inter', sans-serif;
    color: var(--text-primary);
    overflow-x: hidden;
}

body {
    display: flex !important;
    flex-direction: column !important;
    min-height: 100vh !important;
    background-color: #fff;
}

#main-content {
    flex: 1 0 auto; /* Pushes footer to the bottom */
}

/* Desktop: sticky (stays with flow) */
.sticky-wrapper {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99999;
    background: #fff;
    margin: 0 !important;
}

/* Mobile/Tablet: fixed (most reliable on Android & iOS momentum scroll) */
@media (max-width: 991.98px) {
    .sticky-wrapper {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        /* No will-change/transform here — reduces GPU compositing lag on scroll */
    }

    /* CSS fallback: ensures banner never starts under the fixed header
       JS will override this with the exact measured header height */
    #main-content {
        padding-top: 72px;
    }

    /* Reset when drawer is open */
    body.drawer-open #main-content {
        padding-top: 0;
    }
}

/* Hide topbar when mobile drawer is open (drawer has its own logo header) */
body.drawer-open .sticky-wrapper {
    display: none !important;
}


.top-bar {
    background-color: #fafbfc; /* Sleek premium off-white background */
    padding: 12px 0;
    border-top: 3px solid var(--primary-blue); /* Solid brand color top accent line! */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    margin: 0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.contact-mini-icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: rgba(0, 113, 188, 0.07);
    border: 1px solid rgba(0, 113, 188, 0.1);
    color: var(--primary-blue);
    font-size: 11px;
    transition: all 0.25s ease;
}

.d-flex:hover .contact-mini-icon {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: #fff;
    transform: scale(1.05);
}

.contact-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
}

.contact-value {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--primary-blue) !important;
    text-decoration: none;
    transition: color 0.25s ease;
}

.contact-value:hover {
    color: #005b99 !important;
}

.social-icon-circle {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #f8f9fa;
    border: 1px solid rgba(0, 0, 0, 0.04);
    color: var(--primary-blue) !important;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.social-icon-circle:hover {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #005b99 100%);
    border-color: transparent;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 113, 188, 0.20);
}

.mobile-contact-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    text-decoration: none;
}

.mobile-contact-link:hover {
    transform: scale(1.15);
}

/* =========================================
   Header Language Switcher
   ========================================= */
.lang-switcher-wrapper {
    display: inline-flex;
    align-items: center;
}

.lang-pill-group {
    display: inline-flex;
    align-items: center;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    padding: 3px;
    gap: 2px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03);
}

.lang-btn {
    border: none;
    border-radius: 9999px !important;
    padding: 5px 12px;
    font-size: 11.5px;
    font-weight: 600;
    color: #64748b;
    line-height: 1.2;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.lang-btn:hover {
    color: #0f172a;
    background: rgba(255, 255, 255, 0.7);
}

.lang-btn.active {
    background: var(--primary-blue, #0056b3);
    color: #ffffff !important;
    box-shadow: 0 2px 5px rgba(0, 86, 179, 0.28);
}

.header-divider-vertical {
    width: 1px;
    height: 22px;
    background-color: #e2e8f0;
    margin: 0 4px;
}

.header-follow-label {
    font-size: 10px;
    letter-spacing: 0.6px;
    color: #888;
    text-transform: uppercase;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

.mobile-lang-pill {
    padding: 4px 8px;
    font-size: 10.5px;
    font-weight: 700;
    border-radius: 9999px;
    background: #f1f5f9;
    color: #64748b;
    text-decoration: none;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.mobile-lang-pill.active {
    background: var(--primary-blue, #0056b3);
    color: #ffffff !important;
    border-color: var(--primary-blue, #0056b3);
    box-shadow: 0 1px 3px rgba(0, 86, 179, 0.2);
}

.mobile-contact-link i {
    font-size: 20px !important;
    color: var(--primary-blue);
    transition: font-size 0.2s ease;
}

@media (min-width: 576px) {
    .mobile-contact-link i {
        font-size: 24px !important;
    }
}

.mobile-header-toggler {
    border: none !important;
    background: transparent !important;
    color: var(--primary-blue) !important;
    font-size: 24px !important;
    padding: 0 !important;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: none !important;
    outline: none !important;
}

.logo-box img {
    max-height: 36px;
    transition: all 0.3s ease;
}

@media (min-width: 576px) {
    .logo-box img {
        max-height: 48px;
    }
}

@media (min-width: 992px) {
    .logo-box img {
        max-height: 75px;
    }
}

.top-bar-actions a {
    text-decoration: none;
    margin-left: 15px;
}

.contact-item {
    font-size: 14px;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.contact-item i {
    font-size: 16px;
    color: var(--primary-blue);
}

.contact-item span {
    color: #333;
}

.contact-item:hover span {
    color: var(--primary-blue);
}

.btn-ln-en {
    color: #fff;
    background-color: var(--primary-blue);
    padding: 5px 15px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s;
}

.btn-ln-en:hover {
    background-color: var(--primary-dark-blue);
    color: #fff;
}

/* =========================================
   Navigation Bar
   ========================================= */
.main-nav {
    background: var(--header-gradient);
    border-bottom: none;
    margin: 0 !important;
    overflow: visible !important; /* CRITICAL: Allows dropdowns to show outside the bar */
    position: relative;
    z-index: 99998;
}

.main-nav .container {
    display: flex;
    justify-content: center; 
}

.navbar-nav {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center;
}

.main-nav .nav-item {
    border-right: 1px solid #0096f0;
    border-radius: 35px;
    margin: 0;
    transition: background-color 0.3s ease;
    padding: 0;
}

.main-nav .nav-item:last-child {
    border-right: none;
}

.main-nav .nav-link {
    color: #fff;
    font-weight: 500;
    padding: 12px 18px !important;
    position: relative;
    transition: all 0.3s ease;
    font-size: 15px;
    display: flex;
    align-items: center;
}

/* Home Icon specific */
.home-icon-link {
    padding: 12px 15px !important;
}

.home-icon-link i {
    color: transparent;
    -webkit-text-stroke: 1.5px #ffd076;
    /* Outline effect */
    font-size: 19px;
}

/* Hover State — Translucent Floating Pill */
.main-nav .nav-item:hover {
    background-color: transparent;
}

.main-nav .nav-item:hover > .nav-link,
.main-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.16) !important;
    color: #ffffff !important;
    border-radius: 20px !important;
    padding: 6px 14px !important;
    margin: 4px 5px !important;
}

.main-nav .nav-item:hover .home-icon-link i {
    color: #ffffff !important;
    -webkit-text-stroke: 0 !important;
}

/* Active State — Elevated Translucent Glass Pill */
.main-nav .nav-item.active {
    background-color: transparent;
}

.main-nav .nav-item.active > .nav-link,
.main-nav .nav-link.active {
    background-color: rgba(255, 255, 255, 0.26) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    border-radius: 20px !important;
    padding: 6px 14px !important;
    margin: 4px 5px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12) !important;
}

.main-nav .nav-item.active .home-icon-link i,
.main-nav .home-icon-link.active i {
    color: #ffd076 !important;
    -webkit-text-stroke: 0 !important;
}

/* =========================================
   Multi-level Nested Dropdown CSS
   ========================================= */
.dropdown-menu {
    border-radius: 8px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    margin-top: 0;
    opacity: 0;
    visibility: hidden;
    display: block;
    overflow: visible; /* Allow nested flyout to extend beyond dropdown panel */
    /* Required for transition if not using d-none */
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown-item {
    padding: 10px 20px;
    font-size: 15px;
    color: var(--text-primary);
    transition: all 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.submenu-arrow {
    font-size: 10px;
    margin-left: 10px;
    opacity: 0.7;
    transition: transform 0.3s ease;
}

.dropdown-submenu:hover>.dropdown-item .submenu-arrow {
    transform: translateX(4px);
    color: var(--primary-blue);
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: #f1f7ff;
    color: var(--primary-blue);
    border-left-color: var(--primary-blue);
}

/* Active dropdown item — current page indicator */
.dropdown-item.active,
.dropdown-item:active {
    background-color: var(--primary-blue) !important;
    color: #ffffff !important;
    font-weight: 600;
    border-left: 3px solid rgba(255,255,255,0.4);
    padding-left: 22px;
}

/* Active state inside nested flyout submenu */
.dropdown-submenu>.dropdown-menu .dropdown-item.active,
.dropdown-submenu>.dropdown-menu .dropdown-item:active {
    background-color: var(--primary-blue) !important;
    color: #ffffff !important;
    font-weight: 600;
}

/* Active nav-link in the main navbar bar */
.main-nav .nav-item.active>.nav-link,
.main-nav .nav-item>.nav-link.active {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.22) !important;
    border-radius: 20px !important;
    padding: 6px 14px !important;
    margin: 4px 5px !important;
    font-weight: 600;
}

/* =========================================
   Main Dropdown — Show on Hover (desktop)
   This ONLY matches the top-level dropdown-menu, not nested ones
   ========================================= */
.main-nav .dropdown:hover>.dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* =========================================
   Nested Submenu — Flyout (opens to the LEFT)
   right: 100% ensures it never overflows the right edge
   z-index: 9999 ensures it appears above all page content
   ========================================= */
.dropdown-menu .dropdown-submenu {
    position: relative;
}

/* Hidden by default — use opacity/visibility (NOT display:none)
   so that transition + pointer-events work correctly           */
.dropdown-submenu>.dropdown-menu {
    position: absolute;
    top: -8px;
    left: 100%;            /* Opens RIGHT of the parent dropdown panel */
    right: auto;
    margin-left: 2px;
    min-width: 200px;
    z-index: 9999 !important;
    /* Hidden state */
    opacity: 0;
    visibility: hidden;
    transform: translateX(-8px);
    transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
    /* Reset base .dropdown-menu overrides */
    display: block !important;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    background: #fff;
    padding: 8px 0;
    border: none;
}

/* Show on hover — smooth slide in */
.dropdown-submenu:hover>.dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Nested item styles */
.dropdown-submenu>.dropdown-menu .dropdown-item {
    padding: 10px 20px;
    font-size: 14.5px;
    color: #334155;
    white-space: nowrap;
}

.dropdown-submenu>.dropdown-menu .dropdown-item:hover {
    background: #f1f7ff;
    color: var(--primary-blue);
    padding-left: 26px;
}

/* Trigger arrow: ► pointing right (submenu opens to the right) */
.dropdown-submenu>.dropdown-item {
    position: relative;
    padding-left: 20px;
    padding-right: 32px;
}

.dropdown-submenu>.dropdown-item::after {
    content: '►';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 9px;
    opacity: 0.45;
    border: none;
    transition: opacity 0.2s, color 0.2s;
}

.dropdown-submenu:hover>.dropdown-item::after {
    opacity: 1;
    color: var(--primary-blue);
}


/* Sticky Wrapper Setup moved to top of file */

/* =========================================
   Search Bar (Modern Sleek Pill)
   ========================================= */
.nav-item-search {
    display: flex;
    align-items: center;
    margin-right: 12px;
}

.search-form {
    position: relative;
    display: flex;
    align-items: center;
}

.search-form input {
    width: 165px;
    height: 36px;
    padding: 0 16px 0 38px;
    font-size: 13.5px;
    font-weight: 400;
    color: #1e293b;
    background-color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-radius: 9999px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

.search-form input::placeholder {
    color: #94a3b8;
    font-size: 13px;
    font-weight: 400;
}

.search-form input:hover {
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}

.search-form input:focus {
    width: 215px;
    background-color: #ffffff;
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25), 0 4px 12px rgba(0, 0, 0, 0.12);
}

.search-form .search-btn {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    padding: 0;
    color: #64748b;
    font-size: 13.5px;
    cursor: pointer;
    z-index: 2;
    transition: color 0.2s ease, transform 0.2s ease;
}

.search-form .search-btn:hover {
    color: var(--primary-blue, #0056b3);
    transform: scale(1.1);
}

.search-form:focus-within .search-btn {
    color: var(--primary-blue, #0056b3);
}

/* =========================================
   Responsive Adjustments  
   ========================================= */
@media (max-width: 991px) {

    /* Modern Accordion Sidebar */
    .accordion-flush .accordion-item {
        border-bottom: 1px solid #f3f3f3 !important;
        background: transparent;
    }

    .accordion-flush .accordion-item.no-arrow .nav-link-custom {
        padding: 18px 25px;
        display: block;
        text-decoration: none;
        color: #333;
        font-weight: 500;
        font-size: 16px;
        border-left: 4px solid transparent;
        transition: all 0.3s ease;
    }

    .accordion-flush .accordion-item.no-arrow .nav-link-custom:hover,
    .accordion-flush .accordion-item.no-arrow .nav-link-custom.active {
        background-color: #f1f6ff;
        color: var(--primary-blue);
        border-left-color: var(--primary-blue);
    }

    .accordion-button {
        padding: 18px 25px !important;
        font-size: 16px !important;
        font-weight: 500 !important;
        color: #333 !important;
        background-color: transparent !important;
        box-shadow: none !important;
        border-left: 4px solid transparent;
        transition: all 0.3s ease;
        text-align: left !important;
    }

    .accordion-button::after {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230071BC'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
    }

    .accordion-button:not(.collapsed) {
        background-color: #f1f6ff !important;
        color: var(--primary-blue) !important;
        border-left-color: var(--primary-blue);
    }

    .accordion-body {
        padding: 0 !important;
        background-color: #fafafa;
    }

    /* Submenu Styles */
    .sub-item-header {
        padding: 12px 45px 5px 45px;
        font-size: 12px;
        text-transform: uppercase;
        color: #999;
        letter-spacing: 0.5px;
        font-weight: 600;
    }

    .sub-link {
        display: block;
        padding: 12px 45px;
        color: #555;
        text-decoration: none;
        font-size: 15px;
        transition: all 0.2s;
        border-bottom: 1px solid #f9f9f9;
        width: 100%;
    }

    .sub-link:hover {
        background-color: #fff;
        color: var(--primary-blue);
        padding-left: 50px;
    }


    .offcanvas .dropdown-submenu:hover>.dropdown-menu {
        /* Disable hover for mobile, rely on BS click if possible or simple static display */
    }

    .top-bar-actions {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        flex-wrap: wrap;
    }

    .top-bar-actions a {
        margin-left: 10px;
        margin-bottom: 5px;
    }

    body {
        padding-top: 65px;
        /* Compact padding for mobile as the blue nav is hidden */
    }

    /* Fix search bar in mobile drawer */
    .search-form-mobile input {
        border-radius: 8px !important;
        padding: 10px 15px !important;
        font-size: 14px;
    }

    .search-form-mobile .input-group-text {
        border-radius: 8px 0 0 8px !important;
    }
}

/* =========================================
   Banner Carousel & Hero Section
   ========================================= */
.banner-section {
    position: relative;
    overflow: hidden;
    margin-top: 0;
    padding-top: 0;
    user-select: none;
    /* Prevent text/image selection during drag */
    -webkit-user-drag: none;
}

#heroCarousel .carousel-item {
    height: auto;
    /* Remove fixed height to allow full image visibility */
    background-color: #eee;
}

.banner-img {
    width: 100%;
    height: auto;
    /* Ensure image keeps its natural ratio */
    display: block;
}

/* Crossfade Speed */
.carousel-fade .carousel-item {
    transition-duration: 0.8s;
}

/* Modern Indicators (Glassmorphism) */
.custom-indicators {
    bottom: 30px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    width: fit-content;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.custom-indicators button {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    margin: 0 8px !important;
    border: none !important;
    background-color: rgba(255, 255, 255, 0.6) !important;
    opacity: 1 !important;
    transition: all 0.3s ease;
}

.custom-indicators button.active {
    background-color: #fff !important;
    transform: scale(1.3);
}

/* Carousel Controls Styling */
.carousel-control-prev,
.carousel-control-next {
    width: 8%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#heroCarousel:hover .carousel-control-prev,
#heroCarousel:hover .carousel-control-next {
    opacity: 1;
}

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

/* Responsive Banner adjustments */
@media (max-width: 767px) {
    .custom-indicators {
        bottom: 15px;
        padding: 5px 12px;
    }

    .custom-indicators button {
        width: 8px !important;
        height: 8px !important;
    }
}

/* =========================================
   Floating Action Sidebars
   ========================================= */
.sidebar-left,
.sidebar-right {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1060;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sidebar-left {
    left: 0;
}

.sidebar-right {
    right: 0;
}

.sidebar-item {
    background-color: var(--primary-blue);
    color: #fff;
    text-decoration: none;
    padding: 20px 10px;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 1px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    border-radius: 0 5px 5px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

.sidebar-right .sidebar-item {
    border-radius: 5px 0 0 5px;
    transform: rotate(0deg);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar-item:hover {
    background-color: var(--primary-dark-blue);
    color: #fff;
    transform: rotate(180deg) translateX(-10px);
    /* Smooth slide out to the right */
}

.sidebar-right .sidebar-item:hover {
    transform: translateX(-10px);
    /* Smooth slide out to the left */
}

/* Orange State for Apply Now */
.sidebar-item.apply-now {
    background-color: #F9A723;
    border-bottom: 3px solid #d48600;
}

.sidebar-item.apply-now:hover {
    background-color: #e69519;
}

/* Contact & Social Widgets */
.contact-widget,
.social-widget {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.contact-icon,
.social-icon {
    width: 45px;
    height: 45px;
    background-color: var(--primary-blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
    border-radius: 5px 0 0 5px;
    margin-bottom: 2px;
}

.contact-widget {
    position: relative;
}

.contact-expand {
    position: absolute;
    right: 50px;
    top: 0;
    background: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    white-space: nowrap;
    border: 1px solid #eee;
}

.contact-widget:hover .contact-expand {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.contact-icon:hover {
    background-color: var(--primary-dark-blue);
    transform: translateX(-10px);
}

.social-icon:hover {
    background-color: #fff;
    transform: translateX(-10px);
}

.social-icon.fb:hover {
    color: #1877F2;
}

.social-icon.yt:hover {
    color: #FF0000;
}

.social-icon.li:hover {
    color: #0A66C2;
}

.social-icon.ig:hover {
    color: #E4405F;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .floating-widgets {
        display: none !important;
    }
}

/* =========================================
   What's New Section (Legacy "Emn Koro" Style)
   ========================================= */
.whats-new-section {
    background-color: #ffffff;
    overflow: hidden;
}

/* Title with Fading Lines */
.legacy-title-wrapper {
    position: relative;
    width: 100%;
}

.title-line {
    height: 1.5px;
    flex-grow: 1;
}

.title-line.left-fade {
    background: linear-gradient(to left, var(--primary-blue), transparent);
}

.title-line.right-fade {
    background: linear-gradient(to right, var(--primary-blue), transparent);
}

.section-title {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 24px;
    text-transform: none;
}

/* Nav Arrows */
.whats-new-nav {
    position: absolute;
    top: 55%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #ccc;
    font-size: 45px;
    z-index: 10;
    transition: color 0.3s ease;
    cursor: pointer;
}

.whats-new-nav:hover {
    color: var(--primary-blue);
}

.prev-btn { left: -60px; }
.next-btn { right: -60px; }

/* Horizontal Slider Container */
.whats-new-slider-container {
    width: 100%;
    overflow: hidden;
    padding: 10px 0;
}

.whats-new-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory; /* CRITICAL: Snaps to images */
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 20px;
}

.whats-new-slider::-webkit-scrollbar {
    display: none;
}

.slider-item {
    flex: 0 0 calc(25% - 15px);
    min-width: 280px;
    scroll-snap-align: start; /* CRITICAL: Aligns to individual image */
}

/* Old Style Card Structure */
.old-style-card {
    background: #fff;
    transition: all 0.3s ease;
    border: none;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-img-box {
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.old-style-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-us-section .card-img-box {
    box-shadow: none !important;
}

/* About section featured image: full image shown uncropped on PC */
.about-featured-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.about-featured-img:hover {
    transform: scale(1.015);
}

@media (max-width: 576px) {
    .about-featured-img {
        border-radius: 8px;
    }
}

.card-footer-bar {
    background-color: var(--primary-blue);
    color: #fff !important;
    text-align: center;
    padding: 12px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 15px;
    transition: background-color 0.3s ease;
    display: block;
    margin-top: 10px;
    border-radius: 4px;
}

.card-footer-bar:hover {
    background-color: #005b99;
}

/* Hover Effects */
.old-style-card:hover img {
    transform: scale(1.05);
}

.old-style-card:hover .card-footer-bar {
    background-color: var(--primary-dark-blue);
    box-shadow: 0 5px 15px rgba(0, 90, 156, 0.3);
}

@media (max-width: 1400px) {
    .whats-new-nav { display: none !important; }
}

@media (max-width: 991px) {
    .slider-item {
        flex: 0 0 calc(50% - 10px); /* 2 items on tablets */
    }
}

@media (max-width: 768px) {
    .section-title { font-size: 20px; }
    .title-line { display: none; }
    .slider-item {
        flex: 0 0 85%; /* Almost full width on mobile for swipe */
    }
}@media (max-width: 768px) {
    .legacy-title-wrapper { margin-bottom: 30px !important; }
    .section-title { font-size: 18px !important; }
    .title-line { 
        display: block !important; 
        height: 1.5px !important; 
        opacity: 0.8;
    }
    .slider-item {
        flex: 0 0 calc(85% - 20px) !important;
        min-width: 250px !important;
    }
}

@media (max-width: 1300px) {
    .main-nav .nav-link {
        padding: 10px 10px !important;
        font-size: 13px !important;
    }
}

/* =========================================
   Modern List View UI Styles
   ========================================= */
.branch-hero {
    background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
}

.branch-search-wrapper {
    position: relative;
}

.search-loc-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-blue);
    font-size: 18px;
}

.branch-search-wrapper input {
    padding-left: 45px;
    height: 52px;
    border-radius: 12px;
    border: 2px solid #e1e7f0;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.branch-search-wrapper input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 8px 25px rgba(0, 113, 188, 0.12);
    transform: translateY(-2px);
}

/* List Header */
.branch-list-section {
    background: #f6f8fb;
    padding-top: 20px;
}

.branch-list-header {
    background: #eaeff5;
    padding: 15px 25px;
    border-radius: 10px;
    font-weight: 700;
    color: var(--primary-dark-blue);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.col-name { flex: 0 0 30%; }
.col-address { flex: 0 0 40%; }
.col-status { flex: 0 0 15%; text-align: center; }
.col-action { flex: 0 0 15%; text-align: right; }

/* Branch Row */
.branch-row {
    background: #fff;
    border-radius: 12px;
    padding: 22px 25px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 113, 188, 0.05);
    border: 1px solid rgba(0, 113, 188, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.branch-row:hover {
    transform: scale(1.01) translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    border-color: rgba(0, 113, 188, 0.2);
    z-index: 5;
}

.branch-info-main {
    flex: 0 0 30%;
    display: flex;
    align-items: center;
}

.branch-icon-box {
    width: 48px;
    height: 48px;
    background: #f0f7ff;
    color: var(--primary-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 15px;
    transition: background 0.3s;
}

.branch-row:hover .branch-icon-box {
    background: var(--primary-blue);
    color: #fff;
}

.branch-name-area h5 {
    margin: 0;
    font-weight: 700;
    color: #333;
    font-size: 17px;
}

.area-tag {
    font-size: 12px;
    color: var(--primary-blue);
    font-weight: 600;
}

.branch-contact-details {
    flex: 0 0 40%;
}

.branch-contact-details p {
    margin-bottom: 4px;
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
}

.branch-contact-details p i {
    color: var(--primary-blue);
    margin-right: 10px;
    margin-top: 3px;
    opacity: 0.8;
}

.branch-status-box {
    flex: 0 0 15%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.status-badge.open {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.status-badge.closed {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

.time-info {
    font-size: 11px;
    color: #999;
    margin-top: 4px;
}

.branch-actions {
    flex: 0 0 15%;
    text-align: right;
}

.btn-list-map {
    background: #fff;
    border: 1.5px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-list-map:hover {
    background: var(--primary-blue);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 113, 188, 0.2);
}

/* Mobile Responsiveness for List */
@media (max-width: 991px) {
    .branch-list-header { display: none; }
    
    .branch-row {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }
    
    .branch-info-main, 
    .branch-contact-details, 
    .branch-status-box, 
    .branch-actions {
        flex: 0 0 100%;
        width: 100%;
        text-align: left;
        margin-bottom: 15px;
    }
    
    .branch-status-box {
        flex-direction: row;
        gap: 10px;
        align-items: center;
        border-top: 1px solid #eee;
        padding-top: 15px;
    }
    
    .branch-actions {
        margin-bottom: 0;
    }
    
    .btn-list-map {
        width: 100%;
        text-align: center;
    }
}


/* =========================================
   Modernized Premium Footer Styles
   ========================================= */
footer.main-footer {
    position: relative;
    overflow: visible;
    border-top: 1px solid rgba(0, 46, 91, 0.5);
    background: linear-gradient(135deg, #002e5b 0%, #001a35 100%) !important;
    width: 100%;
    margin-top: auto; /* Push to bottom of flex container */
    z-index: 10;
    color: #fff;
    padding: 0;
    flex-shrink: 0; /* Prevent footer from collapsing in flex layout */
    display: block !important;
}

footer.main-footer::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: none;
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
}

footer.main-footer .container,
footer.main-footer .copyrights {
    position: relative;
    z-index: 2;
}

footer.main-footer .footer-col-card {
    background: rgba(255, 255, 255, 0.03);
    /* backdrop-filter removed: causes heavy GPU usage and scroll lag on mobile */
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 2.5rem;
    border-radius: 1.5rem;
    height: 100%;
    transition: background 0.3s ease, border-color 0.3s ease;
}

footer.main-footer .footer-col-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    /* No transform: prevents layout reflow/jank during mobile scroll */
}

footer.main-footer .hover-warning:hover {
    color: #ffc107 !important;
    padding-left: 8px;
    transition: all 0.3s ease;
}

footer.main-footer .social-icon-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: white !important;
    transition: all 0.3s;
    text-decoration: none;
}

footer.main-footer .social-icon-btn:hover {
    background: #0071BC;
    transform: scale(1.1);
    color: white !important;
}

footer.main-footer a {
    color: #eee;
    text-decoration: none;
    transition: all 0.3s ease;
}

footer.main-footer a:hover {
    color: #ffc107;
}

footer.main-footer .hover-warning .small-icon {
    display: inline-block;
    font-size: 9px;
    transition: transform 0.2s ease;
}

footer.main-footer .hover-warning:hover .small-icon {
    transform: translateX(4px);
}

/* =========================================
   Post Details & Global Screen Styles
   ========================================= */
svg.w-4 { width: 16px !important; height: 16px !important; }
svg.w-5 { width: 20px !important; height: 20px !important; }
svg.w-6 { width: 24px !important; height: 24px !important; }
svg.w-8 { width: 32px !important; height: 32px !important; }
svg.w-10 { width: 40px !important; height: 40px !important; }

/* Ensure SVGs don't grow beyond their containers if classes fail */
svg {
    max-width: 100%;
    vertical-align: middle;
}

.post-details-container {
    background: #f8fafc;
}

.post-details-card {
    background: #ffffff;
    border: 1px solid rgba(0, 113, 188, 0.08);
    border-radius: 20px;
    padding: 2.25rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

@media (max-width: 767.98px) {
    .post-details-card {
        padding: 1.25rem;
        border-radius: 14px;
    }
}

.post-featured-box {
    width: 100%;
    max-height: 440px;
    border-radius: 16px;
    overflow: hidden;
    background-color: #f1f5f9;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.post-featured-box img {
    width: 100%;
    height: 100%;
    max-height: 440px;
    object-fit: cover;
    display: block;
}

.post-title {
    color: var(--primary-dark-blue);
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1.35;
}

@media (max-width: 767.98px) {
    .post-title {
        font-size: 1.4rem;
    }
}

.post-meta {
    font-size: 13.5px;
    color: #64748b;
}

.post-meta i {
    color: var(--primary-blue);
}

.post-content {
    color: #334155;
    line-height: 1.85;
    font-size: 1.05rem;
}

.post-content p {
    margin-bottom: 1.4rem;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1.5rem 0;
}

.post-content h2, .post-content h3, .post-content h4 {
    color: var(--primary-dark-blue);
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

blockquote {
    border-left: 4px solid var(--primary-blue) !important;
    background: rgba(0, 113, 188, 0.04);
    padding: 1rem 1.25rem;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #1e293b;
    margin: 1.5rem 0;
}

.newsletter-card {
    background: var(--header-gradient);
}

.sidebar-title {
    border-bottom: 2px solid var(--primary-blue);
    color: var(--primary-dark-blue);
    font-weight: 700;
    display: inline-block;
}

.recent-post-item:hover h5 {
    color: var(--primary-blue);
}

.sidebar-widget ul li a {
    transition: all 0.2s;
    font-weight: 500;
}

.sidebar-widget ul li a:hover {
    color: var(--primary-blue) !important;
    padding-left: 5px;
}

/* Line Clamp for titles */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 991px) {
    .post-details-container {
        padding-top: 30px;
    }
    .post-title {
        font-size: 28px;
    }
}

.footer-menu .btn-group {
    display: inline-block;
}

/* =========================================
   Centered Global Page Details Styles
   ========================================= */
.text-dark-blue {
    color: var(--primary-dark-blue);
}

.title-divider {
    width: 80px;
    height: 4px;
    background: var(--primary-blue);
    border-radius: 2px;
}

.placeholder-hero {
    background-image: linear-gradient(135deg, #f0f7ff 0%, #e1effe 100%);
    border: 1px dashed var(--primary-blue);
}

.page-body-content {
    color: #444;
    line-height: 1.9;
    font-size: 17.5px;
}

.page-body-content .lead {
    font-size: 22px;
    color: #333;
    font-weight: 500;
}

.custom-list {
    list-style: none;
    padding-left: 0;
}

.custom-list li i {
    font-size: 18px;
    vertical-align: middle;
}

.page-body-content blockquote {
    border-left: none !important;
    background: #fff;
    border-radius: 20px;
    position: relative;
    border: 1px solid #eee !important;
}

.page-body-content blockquote::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 40px;
    font-size: 80px;
    color: var(--primary-blue);
    opacity: 0.1;
    font-family: serif;
}

.page-cta-section {
    border-top: 2px dashed #eee !important;
}

@media (max-width: 768px) {
    .page-title-section h1 {
        font-size: 2.2rem;
    }
    .placeholder-hero {
        height: 250px !important;
    }
}

/* =========================================
   Career & Job Circular Styles
   ========================================= */
.job-card {
    transition: all 0.3s ease;
    border-left: 5px solid var(--primary-blue) !important;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08) !important;
}

.transition-transform {
    transition: transform 0.3s ease;
}

.custom-list-v2 {
    list-style: none;
    padding-left: 0;
}

.custom-list-v2 li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
}

.custom-list-v2 li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-blue);
}

/* High-Visibility Square Upload Box */
.modern-upload-box {
    background-color: #f0f7ff !important;
    border: 2px dashed #0052a0 !important;
    border-radius: 12px !important;
    padding: 40px 20px !important;
    text-align: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: block !important;
    width: 100% !important;
    margin-bottom: 15px !important;
}

.modern-upload-box:hover {
    background-color: #e1efff !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 20px rgba(0, 82, 160, 0.1) !important;
}

.modern-upload-box .upload-icon {
    font-size: 3rem !important;
    color: #0052a0 !important;
    margin-bottom: 15px !important;
    display: block !important;
}

.modern-upload-box .upload-text {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #003d7a !important;
    display: block !important;
    margin-bottom: 5px !important;
}

.modern-upload-box .upload-subtext {
    font-size: 0.9rem !important;
    color: #475569 !important;
    display: block !important;
}

#fileDisplayArea {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
    padding: 15px;
    background: #ffffff;
    border: 2px solid #0052a0;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

#fileDisplayArea.active {
    display: flex !important;
}

.filename-text {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    max-width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-clear-file {
    color: #ef4444;
    background: none;
    border: none;
    padding: 0;
    font-size: 1.1rem;
    cursor: pointer;
    line-height: 1;
}

.btn-clear-file:hover {
    color: #b91c1c;
}

.job-header-card {
    border-top: 5px solid var(--primary-blue);
}

.form-control-lg {
    font-size: 1rem;
    padding: 0.8rem 1.2rem;
}

.form-control:focus {
    background-color: #fff !important;
    box-shadow: 0 0 0 0.25rem rgba(0, 82, 160, 0.1);
    border-color: var(--primary-blue);
}

@media (max-width: 991px) {
    .job-header-card {
        padding: 30px !important;
    }
}

/* =========================================
   Gallery & Media Section Styles
   ========================================= */
.gallery-section {
    padding: 60px 0;
}

/* Category Filter Buttons */
.filter-container {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-btn {
    border: 1px solid #e2e8f0;
    background: #fff;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    background: #f0f7ff;
}

.filter-btn.active {
    background: var(--primary-blue);
    color: #fff;
    border-color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(0, 82, 160, 0.2);
}

/* Gallery Grid & Cards */
/* =========================================
   Premium Photo Gallery & Lightbox Styles
   ========================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.gallery-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 16 / 11;
    background: #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 113, 188, 0.08);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(0, 113, 188, 0.18);
    border-color: rgba(0, 113, 188, 0.3);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(5, 40, 110, 0.3) 40%, rgba(5, 40, 110, 0.92) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-zoom-badge {
    align-self: flex-end;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 14px;
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gallery-card:hover .gallery-zoom-badge {
    transform: scale(1);
    background: #ffffff;
    color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.gallery-content {
    transform: translateY(12px);
    transition: transform 0.35s ease;
    color: #ffffff;
}

.gallery-card:hover .gallery-content {
    transform: translateY(0);
}

.gallery-tag {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 600;
    width: fit-content;
    margin-bottom: 6px;
    color: #ffffff;
}

.gallery-title {
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.35;
    margin-bottom: 4px;
    color: #ffffff;
}

.gallery-desc {
    font-size: 12.5px;
    opacity: 0.85;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0;
    color: #e2e8f0;
}

/* Category Filter Bar */
.filter-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.filter-btn {
    padding: 8px 20px;
    border-radius: 30px;
    border: 1.5px solid rgba(0, 113, 188, 0.18);
    background: #ffffff;
    color: #475569;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.filter-btn:hover {
    color: var(--primary-blue);
    border-color: var(--primary-blue);
    transform: translateY(-1px);
}

.filter-btn.active {
    background: var(--primary-blue);
    color: #ffffff;
    border-color: var(--primary-blue);
    box-shadow: 0 4px 14px rgba(0, 113, 188, 0.25);
}

/* =========================================
   Modern Fullscreen Lightbox Modal
   ========================================= */
.lightbox-modal {
    position: fixed;
    inset: 0;
    background: rgba(3, 15, 45, 0.94);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    z-index: 99999;
    display: none;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active {
    display: flex;
    opacity: 1;
}

/* Lightbox Top Header */
.lightbox-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    color: #ffffff;
    z-index: 10;
    background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, transparent 100%);
}

.lightbox-counter-pill {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.lightbox-tool-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.lightbox-tool-btn:hover {
    background: var(--primary-blue);
    color: #ffffff;
    transform: scale(1.08);
}

.lightbox-tool-btn.close-btn:hover {
    background: #ef4444;
    border-color: #ef4444;
}

/* Lightbox Stage */
.lightbox-stage {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 10px 80px;
    overflow: hidden;
    user-select: none;
}

.lightbox-img-wrapper {
    max-width: 90vw;
    max-height: 72vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.lightbox-main-img {
    max-width: 100%;
    max-height: 72vh;
    border-radius: 14px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    object-fit: contain;
    transform: scale(0.96);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.35s ease;
}

.lightbox-modal.active .lightbox-main-img {
    transform: scale(1);
    opacity: 1;
}

/* Nav Arrows */
.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 10;
}

.lightbox-nav-btn:hover {
    background: var(--primary-blue);
    color: #ffffff;
    transform: translateY(-50%) scale(1.12);
    box-shadow: 0 6px 20px rgba(0, 113, 188, 0.4);
}

.lightbox-nav-btn.prev {
    left: 24px;
}

.lightbox-nav-btn.next {
    right: 24px;
}

/* Bottom Caption Bar */
.lightbox-caption-bar {
    padding: 16px 24px 22px;
    text-align: center;
    color: #ffffff;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    z-index: 10;
    background: linear-gradient(0deg, rgba(0,0,0,0.6) 0%, transparent 100%);
}

.lightbox-caption-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #ffffff;
}

.lightbox-caption-desc {
    font-size: 13.5px;
    color: #cbd5e1;
    line-height: 1.5;
    margin-bottom: 0;
}

@media (max-width: 767.98px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .lightbox-stage {
        padding: 10px 15px;
    }

    .lightbox-nav-btn {
        width: 42px;
        height: 42px;
        font-size: 15px;
    }

    .lightbox-nav-btn.prev { left: 10px; }
    .lightbox-nav-btn.next { right: 10px; }

    .lightbox-main-img {
        max-height: 60vh;
        border-radius: 10px;
    }

    .lightbox-caption-title {
        font-size: 1rem;
    }
    
    .lightbox-caption-desc {
        font-size: 12px;
    }
}

/* =========================================
   Home Page Section Styles
/* =========================================
   Counters Section & Responsive Elements
   ========================================= */
.counter-section {
    position: relative;
}

@media (min-width: 992px) {
    .col-lg-counter-5 {
        flex: 0 0 20% !important;
        max-width: 20% !important;
    }
}

.counter-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    min-width: 0;
    padding: 0.35rem 0.2rem;
    border-radius: 8px;
    transition: transform 0.25s ease;
}

.counter-icon-wrapper {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid rgba(0, 113, 188, 0.15);
    box-shadow: 0 2px 8px rgba(0, 113, 188, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 7px;
    flex-shrink: 0;
}

.counter-item:hover .counter-icon-wrapper {
    transform: translateY(-2px) scale(1.05);
    border-color: var(--primary-blue, #0071bc);
    box-shadow: 0 6px 16px rgba(0, 113, 188, 0.16);
    background: rgba(0, 113, 188, 0.04);
}

.counter-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.counter-item:hover .counter-icon {
    transform: scale(1.06);
}

.counter-content {
    min-width: 0;
    flex: 1;
    border-left: 2px solid var(--primary-blue, #0071bc);
    padding-left: 0.5rem;
}

.counter-value {
    font-size: clamp(0.92rem, 3.1vw, 1.45rem);
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.15;
    margin-bottom: 2px;
    letter-spacing: -0.025em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.counter-label {
    font-size: clamp(0.72rem, 2vw, 0.85rem);
    line-height: 1.25;
    color: #64748b;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (min-width: 576px) {
    .counter-item {
        gap: 0.65rem;
        padding: 0.5rem 0.35rem;
    }

    .counter-icon-wrapper {
        width: 46px;
        height: 46px;
        padding: 9px;
    }

    .counter-icon {
        width: 26px;
        height: 26px;
    }

    .counter-content {
        padding-left: 0.65rem;
    }

    .counter-value {
        font-size: clamp(1.1rem, 2.4vw, 1.6rem);
    }

    .counter-label {
        font-size: 0.85rem;
    }
}

@media (min-width: 768px) {
    .counter-item {
        gap: 0.75rem;
    }

    .counter-icon-wrapper {
        width: 48px;
        height: 48px;
        padding: 9px;
    }

    .counter-icon {
        width: 26px;
        height: 26px;
    }

    .counter-content {
        padding-left: 0.65rem;
        border-left-width: 2.5px;
    }

    .counter-value {
        font-size: clamp(1.05rem, 1.35vw, 1.45rem);
        letter-spacing: -0.03em;
    }

    .counter-label {
        font-size: 0.85rem;
    }
}

@media (min-width: 1200px) {
    .counter-value {
        font-size: clamp(1.15rem, 1.25vw, 1.5rem);
    }
}

.mini-blog .card-img-box img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.mini-blog .p-4 {
    padding: 1rem !important;
}

@media (min-width: 768px) {
    .mini-blog .card-img-box img {
        height: 170px;
    }
}

/* Premium About Button */
.btn-premium-about {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #005691 100%);
    border: none;
    color: #fff !important;
    font-weight: 600;
    border-radius: 30px; /* Capsule shape button */
    padding: 10px 24px !important;
    box-shadow: 0 4px 15px rgba(0, 113, 188, 0.25);
    display: inline-flex;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
    font-size: 15px;
    text-decoration: none;
}

.btn-premium-about:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 113, 188, 0.35);
}

.btn-premium-about:active {
    transform: translateY(-1px);
}

.btn-premium-about i {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-premium-about:hover i {
    transform: translateX(5px); /* Arrow slides right on hover */
}

/* =========================================
   Premium Post Grid & Listing Styling
   ========================================= */
.post-grid-card {
    background: #ffffff;
    border: 1px solid rgba(0, 113, 188, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.post-grid-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(0, 113, 188, 0.1);
    border-color: rgba(0, 113, 188, 0.22);
}

.post-grid-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background-color: #f1f5f9;
}

.post-grid-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.post-grid-card:hover .post-grid-thumb img {
    transform: scale(1.06);
}

.post-grid-category-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--primary-blue);
    font-size: 11.5px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 113, 188, 0.12);
    z-index: 2;
    transition: all 0.25s ease;
}

.post-grid-card:hover .post-grid-category-tag {
    background: var(--primary-blue);
    color: #ffffff;
    border-color: var(--primary-blue);
}

.post-grid-body {
    padding: 1.25rem 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.post-grid-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.45;
    margin-bottom: 0.6rem;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-grid-card:hover .post-grid-title {
    color: var(--primary-blue);
}

.post-grid-excerpt {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-grid-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.8rem;
    color: #94a3b8;
}

.post-grid-btn {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 0.825rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.25s ease;
}

.post-grid-card:hover .post-grid-btn {
    gap: 8px;
}

/* Sidebar Styling */
.post-sidebar-card {
    background: #ffffff;
    border: 1px solid rgba(0, 113, 188, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.post-sidebar-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(0, 113, 188, 0.1);
    position: relative;
}

.post-sidebar-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 36px;
    height: 2px;
    background: var(--primary-blue);
    border-radius: 2px;
}

.category-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: 10px;
    color: #475569;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.category-nav-link:hover {
    background: rgba(0, 113, 188, 0.06);
    color: var(--primary-blue);
    border-color: rgba(0, 113, 188, 0.12);
    transform: translateX(4px);
}

.category-nav-link.active {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #005691 100%);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 113, 188, 0.25);
}

.recent-post-row {
    display: flex;
    gap: 12px;
    align-items: center;
    text-decoration: none;
    padding: 8px;
    border-radius: 10px;
    transition: background 0.2s ease;
}

.recent-post-row:hover {
    background: rgba(0, 113, 188, 0.04);
}

.recent-post-row:hover .rp-thumb img {
    transform: scale(1.08);
}

.recent-post-row:hover .rp-title {
    color: var(--primary-blue);
}

/* Animated "আরও পড়ুন" CTA Button */
.btn-view-more-animated {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 24px;
    background: #ffffff;
    color: var(--primary-blue) !important;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.3px;
    border-radius: 50px;
    text-decoration: none !important;
    border: 1.5px solid rgba(0, 113, 188, 0.25);
    box-shadow: 0 4px 15px rgba(0, 113, 188, 0.08);
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1;
}

.btn-view-more-animated::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #005b99 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: -1;
}

.btn-view-more-animated:hover {
    color: #ffffff !important;
    border-color: transparent;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 113, 188, 0.28);
}

.btn-view-more-animated:hover::before {
    opacity: 1;
}

.btn-view-more-animated .btn-arrow-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(0, 113, 188, 0.1);
    border-radius: 50%;
    font-size: 12px;
    color: var(--primary-blue);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-view-more-animated:hover .btn-arrow-icon {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    transform: translateX(4px);
}

/* =========================================
   Executive Committee & Management Team Grid
   ========================================= */
.team-member-card {
    background: #ffffff;
    border: 1px solid rgba(0, 113, 188, 0.09);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), #00a8ff);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-member-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 113, 188, 0.14);
    border-color: rgba(0, 113, 188, 0.25);
}

.team-member-card:hover::before {
    opacity: 1;
}

.team-avatar-box {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    padding: 5px;
    background: linear-gradient(135deg, rgba(0, 113, 188, 0.15) 0%, rgba(0, 113, 188, 0.03) 100%);
    border: 2px solid rgba(0, 113, 188, 0.2);
    margin-bottom: 1.25rem;
    position: relative;
    transition: all 0.4s ease;
}

.team-member-card:hover .team-avatar-box {
    transform: scale(1.05);
    border-color: var(--primary-blue);
    box-shadow: 0 8px 24px rgba(0, 113, 188, 0.2);
}

.team-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    background: #f1f5f9;
}

.team-member-name {
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--primary-dark-blue);
    margin-bottom: 0.35rem;
    line-height: 1.35;
}

.team-designation-badge {
    display: inline-block;
    background: rgba(0, 113, 188, 0.08);
    color: var(--primary-blue);
    font-size: 12.5px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 30px;
    border: 1px solid rgba(0, 113, 188, 0.15);
    margin-bottom: 0.5rem;
}

.team-contact-strip {
    margin-top: auto;
    padding-top: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #64748b;
}

/* =========================================
   Contact Page Premium Styles
   ========================================= */
.contact-hero-banner {
    background: linear-gradient(135deg, #002e5b 0%, #001a35 100%);
    position: relative;
    overflow: hidden;
}

.contact-hero-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 113, 188, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.contact-card-premium {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(0, 113, 188, 0.08);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.contact-card-premium::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), #00a8ff);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 46, 91, 0.1) !important;
    border-color: rgba(0, 113, 188, 0.2);
}

.contact-card-premium:hover::after {
    opacity: 1;
}

.contact-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin: 0 auto 1.25rem;
    transition: transform 0.3s ease;
}

.contact-card-premium:hover .contact-icon-wrapper {
    transform: scale(1.1) rotate(-5deg);
}

.contact-form-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 15px 45px rgba(0, 46, 91, 0.06);
    border: 1px solid rgba(0, 113, 188, 0.08);
}

.contact-input-group .form-control {
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 14.5px;
    border: 1px solid #cbd5e1;
    background-color: #f8fafc;
    transition: all 0.25s ease;
}

.contact-input-group .form-control:focus {
    background-color: #ffffff;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(0, 113, 188, 0.12);
}

.contact-input-group .input-group-text {
    border-radius: 12px 0 0 12px;
    background-color: #f8fafc;
    border: 1px solid #cbd5e1;
    border-right: none;
    color: #64748b;
}

.contact-input-group .form-control.ps-0 {
    border-left: none;
    border-radius: 0 12px 12px 0;
}

.btn-contact-submit {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #005b99 100%);
    color: #ffffff;
    font-weight: 600;
    padding: 14px 36px;
    border-radius: 50px;
    border: none;
    box-shadow: 0 8px 24px rgba(0, 113, 188, 0.25);
    transition: all 0.3s ease;
}

.btn-contact-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 113, 188, 0.35);
    color: #ffffff;
}

.btn-contact-submit i {
    transition: transform 0.3s ease;
}

.btn-contact-submit:hover i {
    transform: translateX(4px);
}

/* =========================================
   Image Skeleton Shimmer Loader
   ========================================= */
.img-shimmer-wrapper {
    position: relative;
    background: #eef2f6;
    background: linear-gradient(90deg, #eef2f6 0%, #f8fafc 50%, #eef2f6 100%);
    background-size: 200% 100%;
    animation: imageShimmer 1.5s infinite ease-in-out;
    overflow: hidden;
    display: block;
}

.img-shimmer-wrapper img {
    transition: opacity 0.35s ease-in-out;
}

.img-shimmer-wrapper.img-shimmer-loaded {
    animation: none !important;
    background: transparent !important;
}

@keyframes imageShimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* =========================================
   ASO Brand Preloader
   ========================================= */
.aso-preloader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #ffffff;
    background: linear-gradient(135deg, #ffffff 0%, #f4f7fb 100%);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.45s ease;
    opacity: 1;
    visibility: visible;
}

.aso-preloader-wrapper.preloader-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.aso-preloader-content {
    text-align: center;
    padding: 1.5rem;
    max-width: 85vw;
}

.aso-preloader-logo-box {
    animation: asoPulseGlow 2s ease-in-out infinite alternate;
    display: inline-block;
    max-width: 100%;
}

.aso-preloader-logo {
    max-height: 60px;
    max-width: 80vw;
    width: auto;
    height: auto;
    filter: drop-shadow(0 4px 14px rgba(0, 37, 76, 0.08));
}

.aso-preloader-progress-track {
    width: 140px;
    max-width: 60vw;
    height: 4px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.aso-preloader-progress-bar {
    width: 45%;
    height: 100%;
    background: linear-gradient(90deg, #00254c 0%, #0071BC 100%);
    border-radius: 10px;
    position: absolute;
    animation: asoShimmer 1.4s cubic-bezier(0.65, 0, 0.35, 1) infinite;
    box-shadow: 0 0 10px rgba(0, 113, 188, 0.3);
}

.aso-preloader-text {
    color: #00254c;
    font-size: 11px;
    letter-spacing: 0.15em;
    margin: 0;
    font-weight: 700;
}

@media (max-width: 576px) {
    .aso-preloader-logo {
        max-height: 46px;
        max-width: 75vw;
    }
    .aso-preloader-progress-track {
        width: 110px;
        height: 3px;
    }
    .aso-preloader-text {
        font-size: 9.5px;
        letter-spacing: 0.12em;
    }
}

@media (max-width: 380px) {
    .aso-preloader-logo {
        max-height: 40px;
        max-width: 70vw;
    }
    .aso-preloader-progress-track {
        width: 95px;
    }
    .aso-preloader-text {
        font-size: 8.5px;
        letter-spacing: 0.1em;
    }
}

@keyframes asoPulseGlow {
    0% {
        transform: scale(0.98);
        opacity: 0.85;
    }
    100% {
        transform: scale(1.02);
        opacity: 1;
    }
}

@keyframes asoShimmer {
    0% {
        left: -45%;
    }
    100% {
        left: 100%;
    }
}

/* =========================================
   Circular Results & Details Styles
   ========================================= */
.circular-result-page {
    background: #f8fafc;
    min-height: 70vh;
}

.result-content-body {
    font-size: 15.5px;
    line-height: 1.85;
    color: #334155;
}

.result-content-body table {
    width: 100% !important;
    margin: 1.5rem 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    border: 1px solid #cbd5e1 !important;
}

.result-content-body table th,
.result-content-body table td {
    padding: 12px 16px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    border-right: 1px solid #e2e8f0 !important;
    font-size: 14px !important;
}

.result-content-body table th:last-child,
.result-content-body table td:last-child {
    border-right: none !important;
}

.result-content-body table tr:last-child td {
    border-bottom: none !important;
}

.result-content-body table th {
    background-color: #f1f5f9 !important;
    color: #0f172a !important;
    font-weight: 700 !important;
}

.result-content-body table tbody tr:nth-child(even) {
    background-color: #f8fafc !important;
}

.result-content-body table tbody tr:hover {
    background-color: #f0f7ff !important;
}

@media print {
    header,
    navbar,
    footer,
    .sidebar-col,
    .no-print {
        display: none !important;
    }

    .main-card {
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
    }
}

/* Circular Details Interaction Styles */
.hover-lift {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -10px rgba(0, 50, 100, 0.15) !important;
}

.bg-danger-soft {
    background-color: rgba(220, 53, 69, 0.05);
}

.stagger {
    animation: fade-in-up 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.form-control-xl {
    height: 60px;
    font-size: 1rem;
}

.focus-ring:focus {
    background-color: #fff !important;
    border-color: rgba(0, 113, 188, 0.3) !important;
    box-shadow: 0 0 0 4px rgba(0, 113, 188, 0.1) !important;
}

.premium-upload-box {
    border-color: rgba(0, 113, 188, 0.2);
    background-color: rgba(0, 113, 188, 0.02);
}

.premium-upload-box:hover {
    border-color: #0071BC;
    background-color: rgba(0, 113, 188, 0.05);
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   Publication & Reports 3D Book Showcase
   ========================================= */
.report-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 20px 18px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    max-width: 300px;
    margin: 0 auto;
    width: 100%;
    box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.04), 0 2px 4px -1px rgba(15, 23, 42, 0.02);
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
}
.report-card:hover {
    transform: translateY(-6px);
    border-color: #cbd5e1;
    box-shadow: 0 16px 32px -4px rgba(0, 113, 188, 0.14), 0 4px 12px rgba(15, 23, 42, 0.04);
}

.report-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    line-height: 1.2;
}
.badge-annual {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #dbeafe;
}
.badge-monthly {
    background: #faf5ff;
    color: #7e22ce;
    border: 1px solid #f3e8ff;
}
.format-badge {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.3px;
}

.book-stage {
    perspective: 900px;
    padding: 10px 10px 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.book-stage::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 155px;
    height: 14px;
    background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.22) 0%, rgba(15, 23, 42, 0) 75%);
    border-radius: 50%;
    z-index: 1;
    transition: all 0.35s ease;
}
.report-card:hover .book-stage::after {
    width: 175px;
    transform: translateX(-50%) scale(1.05);
    opacity: 0.65;
}

.book-3d {
    position: relative;
    width: 170px;
    height: 242px;
    border-radius: 3px 10px 10px 3px;
    background: #0f172a;
    transform-style: preserve-3d;
    transform: rotateY(-6deg) rotateX(1deg);
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.35s ease;
    z-index: 2;
    box-shadow: 
        -3px 0 8px rgba(0, 0, 0, 0.35),
        3px 2px 0 #faf8f5,
        6px 4px 0 #ede8db,
        9px 6px 1px #d6cfbe,
        15px 18px 24px -4px rgba(15, 23, 42, 0.25),
        5px 10px 14px rgba(0, 0, 0, 0.06);
}
.report-card:hover .book-3d {
    transform: rotateY(-1deg) rotateX(0deg) translateY(-4px) scale(1.02);
    box-shadow: 
        -2px 0 10px rgba(0, 0, 0, 0.25),
        4px 3px 0 #faf8f5,
        8px 5px 0 #ede8db,
        11px 7px 1px #d6cfbe,
        18px 26px 30px -4px rgba(0, 113, 188, 0.25),
        6px 12px 18px rgba(0, 0, 0, 0.08);
}

.book-spine-crease {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 22px;
    background: linear-gradient(90deg, 
        rgba(0,0,0,0.38) 0%, 
        rgba(255,255,255,0.22) 22%, 
        rgba(0,0,0,0.22) 38%, 
        rgba(255,255,255,0.06) 52%, 
        transparent 100%);
    z-index: 6;
    pointer-events: none;
    border-radius: 3px 0 0 3px;
}

.book-gloss {
    position: absolute;
    inset: 0;
    background: linear-gradient(130deg, 
        rgba(255, 255, 255, 0.16) 0%, 
        rgba(255, 255, 255, 0.04) 35%, 
        transparent 55%, 
        rgba(0, 0, 0, 0.12) 100%);
    z-index: 5;
    pointer-events: none;
    border-radius: 3px 10px 10px 3px;
}

.book-cover-inner {
    width: 100%;
    height: 100%;
    border-radius: 3px 10px 10px 3px;
    overflow: hidden;
    position: relative;
}
.book-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.book-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(150deg, #071e3d 0%, #10375c 55%, #005691 100%);
    color: #ffffff;
    padding: 20px 14px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.book-fallback::before {
    content: '';
    position: absolute;
    inset: 9px;
    border: 1px solid rgba(246, 206, 119, 0.45);
    border-radius: 4px;
    pointer-events: none;
}
.book-fallback::after {
    content: '';
    position: absolute;
    inset: 12px;
    border: 1px dashed rgba(246, 206, 119, 0.25);
    border-radius: 3px;
    pointer-events: none;
}

.book-fallback-header {
    position: relative;
    z-index: 2;
}
.book-fallback-emblem {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(246, 206, 119, 0.15);
    border: 1px solid rgba(246, 206, 119, 0.5);
    color: #f6ce77;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 5px;
    font-size: 13px;
}
.book-fallback-subtitle {
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: #f6ce77;
    text-transform: uppercase;
    margin-bottom: 2px;
}
.book-fallback-org {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.book-fallback-body {
    position: relative;
    z-index: 2;
    padding: 8px 4px;
}
.book-fallback-title {
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.4;
    color: #ffffff;
    margin-bottom: 6px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.book-fallback-tag {
    display: inline-block;
    font-size: 9.5px;
    background: rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
    padding: 2px 8px;
    border-radius: 12px;
    backdrop-filter: blur(4px);
}

.book-fallback-footer {
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(246, 206, 119, 0.3);
    padding-top: 6px;
}
.book-fallback-footer-text {
    font-size: 8.5px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.5px;
}

.report-info-section {
    margin-top: 6px;
    margin-bottom: 12px;
    width: 100%;
}
.report-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.45;
    margin-bottom: 5px;
    min-height: 42px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: center;
}
.report-meta {
    font-size: 11.5px;
    color: #64748b;
    text-align: center;
}

.report-actions-row {
    display: flex;
    align-items: center;
    gap: 8px;
    border-top: 1px solid #f1f5f9;
    padding-top: 14px;
    width: 100%;
}
.btn-report-read {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 10px;
    font-size: 12.5px;
    font-weight: 600;
    color: #0071BC;
    background: #f0f7ff;
    border: 1.5px solid #c8e3fc;
    border-radius: 24px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}
.btn-report-read:hover {
    background: #0071BC;
    color: #ffffff !important;
    border-color: #0071BC;
}

.btn-report-download {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 10px;
    font-size: 12.5px;
    font-weight: 600;
    color: #ffffff !important;
    background: linear-gradient(135deg, #0071BC 0%, #005691 100%);
    border: 1.5px solid transparent;
    border-radius: 24px;
    text-decoration: none !important;
    box-shadow: 0 3px 8px rgba(0, 113, 188, 0.22);
    transition: all 0.2s ease;
}
.btn-report-download:hover {
    background: linear-gradient(135deg, #005ea0 0%, #004070 100%);
    box-shadow: 0 5px 14px rgba(0, 113, 188, 0.35);
    transform: translateY(-1px);
}

.report-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    text-decoration: none !important;
    transition: all 0.2s ease;
}
.report-filter-pill:hover {
    border-color: var(--primary-blue, #0071BC);
    color: var(--primary-blue, #0071BC);
    background: #f8fbff;
}
.report-filter-pill.active {
    background: var(--primary-blue, #0071BC);
    border-color: var(--primary-blue, #0071BC);
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(0, 113, 188, 0.25);
}



