:root {
    --soft-blue: #a0c4ff;
    --light-gold: #ffd6a5;
    --dark-blue: #03254c;
    --text-primary: #111827;
    --text-secondary: #4b5563;
}

/* ── Base ── */
html {
    scroll-behavior: smooth;
    overflow-x: clip;
    width: 100%;
}
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-primary);
    overflow-x: clip;
    width: 100%;
}
[x-cloak] { display: none !important; }

/* ── Landing / loader ── */
#landing-screen {
    background: linear-gradient(135deg, var(--soft-blue), var(--light-gold));
    transition: opacity 1s ease-out;
}
#main-content {
    display: none;
    opacity: 0;
    transition: opacity 1s ease-in;
}
.loader {
    width: 50px;
    height: 50px;
    border: 4px solid #ccc;
    border-top-color: var(--dark-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ── Misc helpers ── */
svg.contact-info { margin-top: 3px; }
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.arrow-down {
    display: inline-block;
    margin-top: 3px;
    margin-left: 3px;
}
.arrow-down svg {
    position: relative;
    top: 2px;
    left: 2px;
}
.fade-in { animation: fadeIn 1s forwards; }
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.animate-gradient {
    background-size: 200% 200%;
    animation: gradient 4s ease infinite;
}
.animate-gradient-reverse {
    background-size: 200% 200%;
    animation: gradient 4s ease infinite reverse;
}
.animate-shimmer { animation: shimmer 1.5s ease-in-out; }

/* ── Logo ── */
#slogo-main {
    box-sizing: border-box;
    height: 60px;
    padding: 4px;
    filter: contrast(0.1) brightness(4.5);
}

/* ── Search results dropdown ── */
#header-placeholder { display: none !important; }
#searchResults {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 50;
    max-height: 200px;
    overflow-y: auto;
}


#sticky-header {
    position: fixed;
    top: 14px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 100%;
    z-index: 100;
    border-radius: 0;
    border: none;
    background-color: transparent !important;
    backdrop-filter: blur(0px) !important;
    box-shadow: 0 0 0 transparent !important;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform: translateY(0);
}
#sticky-header.stuck {
    top: 20px;
    width: -moz-fit-content;
    width: fit-content;
    border-radius: 50px;
    background-color: rgb(255 255 255 / 75%) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    backdrop-filter: blur(14px) !important;
    box-shadow: 0px 0px 0px 1px rgb(0 0 0 / 19%) !important;
}
#sticky-header.stuck img { display: none; }
#sticky-header.menu-open {
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.95) !important;
}
@media (min-width: 1280px) {
    #sticky-header.header-hidden {
        transform: translateY(-150%);
    }
}

/* Home page: transparent-top nav link colours */
#sticky-header:not(.stuck):not(.menu-open) a.text-gray-700,
#sticky-header:not(.stuck):not(.menu-open) button.text-gray-700 {
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}
#sticky-header:not(.stuck):not(.menu-open) i.material-icons,
#sticky-header:not(.stuck):not(.menu-open) svg {
    color: #ffffff;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}
#sticky-header:not(.stuck):not(.menu-open) #mobile-menu-button {
    background-color: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(4px);
}

@media (max-width: 1279px) {
    #sticky-header{
        top: 0 !important;
    }
    #sticky-header.stuck{
        width: 100% !important;
        border: none !important;
    }
    #sticky-header.stuck:not(.menu-open) {
        background-color: white !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        pointer-events: none;
        width: 100%;
        border-radius: 0;
    }
    #sticky-header.stuck:not(.menu-open) img{
        display: inline !important;
        filter: unset;
    }
    #sticky-header.menu-open img{
        display: inline !important;
        filter: grayscale(1) contrast(1) !important;
    }
    #sticky-header.menu-open {
        border-radius: 0 !important;
    }
    #sticky-header.stuck:not(.menu-open) #mobile-menu-button {
        pointer-events: auto;
        background-color: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(12px) !important;
    }
}

/* ── Inner pages: always solid pill, correct text colours ── */
body.is-inner-page #sticky-header {
    top: 20px;
    width: fit-content;
    border: 1px solid #d7d7d7;
    border-radius: 50px;
    background-color: rgb(255 255 255 / 60%) !important;
    backdrop-filter: blur(14px) !important;
    box-shadow: 0 10px 40px -10px rgb(0 0 0 / 5%) !important;
}
body.is-inner-page #sticky-header:not(.menu-open) a.text-gray-700,
body.is-inner-page #sticky-header:not(.menu-open) button.text-gray-700 {
    color: #374151 !important;
    text-shadow: none !important;
}
body.is-inner-page #sticky-header:not(.menu-open) i.material-icons,
body.is-inner-page #sticky-header:not(.menu-open) svg {
    color: #374151 !important;
    filter: none !important;
}
body.is-inner-page #sticky-header:not(.menu-open) #mobile-menu-button {
    background-color: transparent !important;
    backdrop-filter: none !important;
}
body.is-inner-page #sticky-header img {
    display: none !important;
}

/* Inner pages: push main below fixed header */
body.is-inner-page main {
    padding-top: 90px;
}

/* Mobile inner pages: full-width solid bar instead of floating pill */
@media (max-width: 1279px) {
    body.is-inner-page #sticky-header {
        top: 0;
        width: 100%;
        border-radius: 0;
        background-color: rgba(255, 255, 255, 0.97) !important;
        backdrop-filter: blur(14px) !important;
        box-shadow: 0 2px 16px -4px rgba(0, 0, 0, 0.14) !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.07);
        pointer-events: auto !important;
    }
    body.is-inner-page #sticky-header #mobile-menu-button {
        pointer-events: auto !important;
        background-color: transparent !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
    }
    body.is-inner-page main {
        padding-top: 72px;
    }
}

/* ─────────────────────────────────────────────
   NEWS TICKER
   ───────────────────────────────────────────── */
#news-ticker {
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.scrolled #news-ticker { transform: translateY(0); }

@keyframes scroll-left {
    0%   { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}
.news-scroll {
    animation: scroll-left 40s linear infinite;
}
.news-scroll:hover { animation-play-state: paused; }

/* ─────────────────────────────────────────────
   HERO SECTION
   ───────────────────────────────────────────── */
.hero-height {
    height: 100vh;
    min-height: 600px;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.48);
    z-index: 4;
}
.hero-overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 0.25) 0%,
        transparent 35%,
        rgba(3, 37, 76, 0.45) 100%);
    z-index: 4;
}
.hero-slide {
    opacity: 0;
    transition: opacity 1.6s ease-in-out;
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    transform-origin: center center;
    will-change: transform, opacity;
}
.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

/* Ken Burns keyframes */
@keyframes kb-zoom-in {
    from { transform: scale(1.0);  background-position: 50% 55%; }
    to   { transform: scale(1.14); background-position: 50% 50%; }
}
@keyframes kb-zoom-out {
    from { transform: scale(1.14); background-position: 55% 50%; }
    to   { transform: scale(1.0);  background-position: 50% 52%; }
}
@keyframes kb-pan-right {
    from { transform: scale(1.1) translateX(-2%); }
    to   { transform: scale(1.1) translateX(2%); }
}
@keyframes kb-pan-left {
    from { transform: scale(1.1) translateX(2%); }
    to   { transform: scale(1.1) translateX(-2%); }
}

/* Hero indicators (hidden but kept for JS hooks) */
.hero-indicators { display: none; }
.hero-indicator {
    position: relative;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}
.hero-indicator.active {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.2);
}
.indicator-progress {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(45deg, #3b82f6, #60a5fa);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
}
.hero-indicator.active .indicator-progress {
    transform: scale(1);
    animation: pulse-indicator 2s infinite;
}

/* ─────────────────────────────────────────────
   PARTICLES
   ───────────────────────────────────────────── */
.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
    animation: float 6s ease-in-out infinite;
}
.particle-1 { width: 4px; height: 4px; top: 20%; left: 10%; animation-delay: 0s; }
.particle-2 { width: 6px; height: 6px; top: 60%; left: 80%; animation-delay: 2s; }
.particle-3 { width: 3px; height: 3px; top: 40%; left: 20%; animation-delay: 4s; }
.particle-4 { width: 5px; height: 5px; top: 80%; left: 60%; animation-delay: 1s; }
.particle-5 { width: 4px; height: 4px; top: 30%; left: 70%; animation-delay: 3s; }
.particle-6 { width: 7px; height: 7px; top: 70%; left: 30%; animation-delay: 5s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg);   opacity: 0.1; }
    50%       { transform: translateY(-20px) rotate(180deg); opacity: 0.3; }
}

/* ─────────────────────────────────────────────
   SECTION DECORATIONS
   ───────────────────────────────────────────── */
.section-label {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--dark-blue);
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
}
.section-heading {
    position: relative;
    padding-bottom: 16px;
}
.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--dark-blue), var(--soft-blue));
    border-radius: 2px;
}
.section-heading.align-left::after {
    left: 0;
    transform: none;
}

/* ─────────────────────────────────────────────
   CARDS
   (was: @apply bg-white rounded-2xl overflow-hidden)
   ───────────────────────────────────────────── */
.card {
    background-color: #ffffff;
    border-radius: 1rem;      /* rounded-2xl = 16px */
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(3, 37, 76, 0.08);
    transition: transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1),
                box-shadow 0.45s ease;
}
.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 64px rgba(3, 37, 76, 0.16);
}
.card-img-wrap {
    position: relative;
    overflow: hidden;
    height: 14rem;
}
.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: block;
}
.card:hover .card-img-wrap img { transform: scale(1.07); }
.card-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(3, 37, 76, 0.55) 0%, transparent 55%);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.card:hover .card-img-overlay { opacity: 1; }

/* ─────────────────────────────────────────────
   GALLERY
   ───────────────────────────────────────────── */
/* (was: @apply aspect-square w-full h-full object-cover transition-transform duration-500 group-hover:scale-110) */
.gallery-img {
    aspect-ratio: 1 / 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms cubic-bezier(0.25, 0.8, 0.25, 1);
}
.group:hover .gallery-img { transform: scale(1.1); }

.gallery-link {
    position: relative;
    overflow: hidden;
    display: block;
    border-radius: 0.75rem;
}
.gallery-link img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.gallery-link::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(3, 37, 76, 0.65) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}
.gallery-link:hover::after { opacity: 1; }
.gallery-link:hover img   { transform: scale(1.1); }

/* Gallery mobile grid fix */
@media (max-width: 480px) {
    .gallery-grid-responsive {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    .gallery-grid-responsive .gallery-link img { aspect-ratio: 4 / 3; }
}
@media (min-width: 481px) and (max-width: 767px) {
    .gallery-grid-responsive { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ─────────────────────────────────────────────
   PLACEMENT SCROLLER
   ───────────────────────────────────────────── */
.placement-card {
    min-width: 200px;
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-shrink: 0;
}
.placement-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
}
.placement-logo {
    width: 80px; height: 80px;
    object-fit: contain;
    margin-bottom: 16px;
    border-radius: 8px;
}
.placement-scroll {
    display: flex;
    gap: 2rem;
    transition: transform 0.3s ease;
    cursor: grab;
}
.placement-scroll.dragging {
    cursor: grabbing;
    transition: none;
}
.placement-scroll.auto-scroll {
    animation: scroll-placement 40s linear infinite;
}
@keyframes scroll-placement {
    0%   { transform: translateX(0); }
    100% { transform: translateX(calc(-200px * 10 - 2rem * 10)); }
}
.placement-container {
    overflow: hidden;
    position: relative;
    cursor: grab;
}
.placement-container:active { cursor: grabbing; }
.placement-container::before,
.placement-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 50px; height: 100%;
    z-index: 2;
    pointer-events: none;
}
.placement-container::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}
.placement-container::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

/* ─────────────────────────────────────────────
   SCROLL REVEAL ANIMATIONS
   ───────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.5, 0, 0, 1),
                transform 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.9s cubic-bezier(0.5, 0, 0, 1),
                transform 0.9s cubic-bezier(0.5, 0, 0, 1);
}
.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.9s cubic-bezier(0.5, 0, 0, 1),
                transform 0.9s cubic-bezier(0.5, 0, 0, 1);
}
.reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.8s cubic-bezier(0.5, 0, 0, 1),
                transform 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal-left.reveal-active,
.reveal-right.reveal-active,
.reveal-scale.reveal-active {
    opacity: 1;
    transform: none;
}

.reveal-blur {
    opacity: 0;
    filter: blur(12px);
    transform: translateY(30px);
    transition: opacity 0.9s cubic-bezier(0.25, 0.8, 0.25, 1),
                filter 0.9s cubic-bezier(0.25, 0.8, 0.25, 1),
                transform 0.9s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.reveal-blur.reveal-active {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

.reveal-rotate {
    opacity: 0;
    transform: perspective(800px) rotateY(15deg) translateX(-40px);
    transition: opacity 1s cubic-bezier(0.25, 0.8, 0.25, 1),
                transform 1s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.reveal-rotate.reveal-active {
    opacity: 1;
    transform: perspective(800px) rotateY(0) translateX(0);
}

.reveal-rotate-right {
    opacity: 0;
    transform: perspective(800px) rotateY(-15deg) translateX(40px);
    transition: opacity 1s cubic-bezier(0.25, 0.8, 0.25, 1),
                transform 1s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.reveal-rotate-right.reveal-active {
    opacity: 1;
    transform: perspective(800px) rotateY(0) translateX(0);
}

.reveal-zoom {
    opacity: 0;
    transform: scale(0.8);
    filter: blur(6px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1),
                transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1),
                filter 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.reveal-zoom.reveal-active {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
}

/* Stagger children */
.reveal-stagger-children > * {
    opacity: 0;
    transform: translateY(25px);
    filter: blur(4px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.8, 0.25, 1),
                transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1),
                filter 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.reveal-stagger-children.reveal-active > * {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}
.reveal-stagger-children > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger-children > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger-children > *:nth-child(3) { transition-delay: 0.19s; }
.reveal-stagger-children > *:nth-child(4) { transition-delay: 0.26s; }
.reveal-stagger-children > *:nth-child(5) { transition-delay: 0.33s; }
.reveal-stagger-children > *:nth-child(6) { transition-delay: 0.40s; }

/* Stagger delay utilities */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* Mobile: reduce blur intensity for performance */
@media (max-width: 768px) {
    .reveal-blur                    { filter: blur(6px); }
    .reveal-zoom                    { filter: blur(3px); }
    .reveal-rotate                  { transform: translateX(-20px); }
    .reveal-rotate-right            { transform: translateX(20px); }
}

/* ─────────────────────────────────────────────
   PARALLAX
   ───────────────────────────────────────────── */
[data-parallax] {
    will-change: transform;
    transition: transform 0.1s linear;
}
.parallax-bg {
    position: absolute;
    inset: -20% 0;
    z-index: 0;
    will-change: transform;
    pointer-events: none;
}
.parallax-section,
#stats-section,
#anti-ragging,
#enquiry {
    position: relative;
    overflow: hidden;
    /* Hardware acceleration to prevent tearing/checkerboarding when scrolling over complex sticky layers */
    transform: translateZ(0);
    backface-visibility: hidden;
    z-index: 10;
}
.parallax-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.06;
}

/* ─────────────────────────────────────────────
   KEYFRAMES (shared)
   ───────────────────────────────────────────── */
@keyframes gradient {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes shimmer {
    0%   { transform: translateX(-100%) skewX(-12deg); }
    100% { transform: translateX(200%) skewX(-12deg); }
}
@keyframes pulse-indicator {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.7; }
}

/* ─────────────────────────────────────────────
   SECTION WAVE DIVIDERS
   ───────────────────────────────────────────── */
.section-wave-top {
    position: absolute;
    top: -1px; left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}
.section-wave-top svg {
    display: block;
    width: 100%;
    height: 40px;
}

/* ── Desktop nav dropdown polish (xl+) ── */
@media (min-width: 1280px) {
    /* Dropdown panels: subtle border, soft inner padding, hairline ring */
    #sticky-header nav .relative > div.absolute {
        padding: 0.4rem;
        border: 1px solid rgba(229, 231, 235, 0.9);
        box-shadow:
            0 10px 25px -5px rgba(15, 23, 42, 0.10),
            0 8px 10px -6px rgba(15, 23, 42, 0.06),
            0 0 0 1px rgba(15, 23, 42, 0.02);
        transform-origin: top center;
    }

    /* Round every item so hover never collides with the panel's rounded corners */
    #sticky-header nav .relative > div.absolute a.block,
    #sticky-header nav .relative > div.absolute button.w-full,
    #sticky-header nav .relative > div.absolute > div > div > div[x-show] a.block {
        border-radius: 0.75rem;
        transition: background-color .18s ease, color .18s ease, padding-left .18s ease;
        position: relative;
    }

    /* Premium hover: soft blue tint + accent text + subtle nudge */
    #sticky-header nav .relative > div.absolute a.block:hover,
    #sticky-header nav .relative > div.absolute button.w-full:hover {
        background-color: #eff6ff !important;
        color: #2563eb;
        padding-left: 1.25rem;
    }

    /* Trigger buttons: smooth hover pill + arrow rotation when open */
    #sticky-header nav > div > a,
    #sticky-header nav > div > div > button {
        transition: background-color .18s ease, color .18s ease;
    }
    #sticky-header:not(.stuck) nav > div > div > button:hover {
        background-color: #eff6ff21;
    }
    #sticky-header nav .arrow-down {
        display: inline-flex;
        align-items: center;
        margin-left: 0.25rem;
        transition: transform .25s ease;
    }
    #sticky-header nav .relative:has(> div.absolute:not([style*="none"])) > button .arrow-down {
        transform: rotate(180deg);
    }

    /* Nested sub-panels: lighter background, tighter spacing */
    #sticky-header nav .relative > div.absolute .bg-gray-50 {
        background-color: #f8fafc;
        padding: 0.35rem;
        border: 1px solid rgba(226, 232, 240, 0.8);
    }
}

