:root {
    /* Integrative Color System */
    --color-deep-blue: #0F4C5C;
    /* Deep Teal */
    --color-emerald-green: #1FAB89;
    /* Turquoise */
    --color-light-blue: #A7D7E7;
    /* Light Blue */
    --color-soft-mint: #DFF5EC;
    /* Soft Mint */
    --color-soft-white: #F8FBFC;
    /* Off White */
    --color-gold: #C8A96A;
    /* Soft Gold Accent */
    --color-white: #FFFFFF;
    --color-dark: #1E2A32;
    /* Dark Text */
    --color-text: #1E2A32;
    /* Body Text */
    --color-text-light: #1E2A32;
    --color-obsidian: #063947;
    /* Ultra Deep Base */

    /* Compact Spacing System */
    --section-padding: 100px 0;
    --container-width: 1200px;
}

/* Typography Utility Classes */
.text-serif {
    font-family: 'Playfair Display', serif !important;
    font-style: italic;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.section-label {
    color: var(--color-emerald-green);
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.section-label::before {
    content: '';
    width: 20px;
    height: 2px;
    background-color: var(--color-gold);
    border-radius: 2px;
}

.section-title .section-label {
    justify-content: center;
}

.section-title .section-label::after {
    content: '';
    width: 20px;
    height: 2px;
    background-color: var(--color-gold);
    border-radius: 2px;
}

/* Modern Tidy Layouts */
.section-header {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 60px;
}

.section-header.text-left {
    text-align: left;
    margin: 0 0 60px 0;
}

.section-header h2 {
    font-size: 3.2rem;
    line-height: 1.1;
    margin-bottom: 25px;
}

.section-header p {
    font-size: 1.2rem;
    opacity: 0.75;
    line-height: 1.8;
}

.modern-card {
    background: white;
    border-radius: 24px;
    padding: 35px;
    border: 1px solid rgba(15, 76, 92, 0.04);
    box-shadow: 0 10px 40px rgba(15, 76, 92, 0.03);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.modern-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(15, 76, 92, 0.08);
    border-color: var(--color-emerald-green);
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
}

/* Mobile Tidy Fixes */
@media (max-width: 968px) {
    h1 {
        font-size: 2.4rem !important;
        letter-spacing: -0.02em;
    }

    h2 {
        font-size: 2rem !important;
        letter-spacing: -0.02em;
        line-height: 1.2;
    }

    h3 {
        font-size: 1.8rem !important;
    }

    .section-header {
        margin-bottom: 50px;
        padding: 0 15px;
    }

    .section-header h2 {
        font-size: 2rem !important;
    }

    .modern-card,
    .glass-card {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .mobile-center-btn {
        display: flex;
        justify-content: center;
        width: 100%;
    }
}

/* Global Mobile Standards */
@media (max-width: 968px) {
    .section-title {
        text-align: left !important;
        margin-bottom: 40px !important;
    }

    .section-title h2 {
        font-size: 2.2rem !important;
        text-align: left !important;
    }

    .section-title h2::after {
        left: 0 !important;
        transform: none !important;
    }

    .section-title p {
        margin: 15px 0 0 !important;
        text-align: left !important;
    }
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--color-text);
    background-color: var(--color-soft-white);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--color-deep-blue);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

h1 {
    font-size: 4rem;
    letter-spacing: -0.04em;
}

h2 {
    font-size: 3.2rem;
}

h3 {
    font-size: 2.4rem;
}

h4 {
    font-size: 1.8rem;
    font-weight: 700;
}

h5 {
    font-size: 1.4rem;
    font-weight: 700;
}

h6 {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

a {
    text-decoration: none;
    transition: 0.3s;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

main {
    padding-top: 0;
}

/* Typography Helpers */
.text-premium {
    font-family: 'Playfair Display', serif;
}

.text-gold {
    color: var(--color-gold);
}

.text-white {
    color: var(--color-white);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: none;
    text-decoration: none;
    position: relative;
    z-index: 1;
}

.btn:active {
    transform: translateY(1px) scale(0.98);
}

.btn-primary {
    background-color: var(--color-deep-blue);
    color: white;
    box-shadow: 0 10px 20px rgba(15, 76, 92, 0.1);
}

.btn-primary:hover {
    background-color: #082d47;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(15, 76, 92, 0.15);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--color-deep-blue);
    color: var(--color-deep-blue);
}

.btn-outline:hover {
    background-color: var(--color-deep-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(15, 76, 92, 0.1);
}

.btn-gold {
    background-color: var(--color-gold);
    color: white;
    box-shadow: 0 10px 20px rgba(200, 169, 106, 0.15);
}

.btn-gold:hover {
    background-color: #b39558;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(200, 169, 106, 0.2);
}

.btn-emerald {
    background-color: var(--color-emerald-green);
    color: white;
    box-shadow: 0 10px 20px rgba(31, 171, 137, 0.15);
}

.btn-emerald:hover {
    background-color: #178a6e;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(31, 171, 137, 0.2);
}

/* Sections */
section {
    padding: var(--section-padding);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 3rem;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    color: var(--color-deep-blue);
    font-weight: 800;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-emerald-green), var(--color-gold));
    border-radius: 10px;
    transition: width 0.4s ease;
}

.section-title:hover h2::after {
    width: 100px;
}

.section-title p {
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.8;
    line-height: 1.7;
}

/* Glassmorphism Classes */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Card Styles */
.card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    transition: 0.4s ease;
    border: none;
}

.card:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

/* Form Elements */
input,
select,
textarea {
    font-family: 'Inter', sans-serif;
    border: 1px solid #E1E8ED;
    border-radius: 12px;
    padding: 12px 20px;
    transition: 0.3s;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-emerald-green);
    box-shadow: 0 0 0 3px rgba(31, 171, 137, 0.1);
}

/* Animations */
/* Architectural Grid System (Unified) */
.architectural-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    overflow: hidden;
}

.arch-item {
    padding: 35px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: -1px;
    /* Overlap borders */
}

/* Footer Refinements */
.footer-col {
    position: relative;
    padding: 0 30px;
}

.footer-col:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.footer-label {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-gold);
    display: block;
    margin-bottom: 8px;
    opacity: 0.8;
}

.animate-fade-in {
    animation: fadeIn 1s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

/* Bento Grid System */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(280px, auto);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
}

.bento-item {
    background-color: transparent;
    padding: 50px;
    border-radius: 12px;
    border: none;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: none;
    background-size: cover;
    background-position: center;
    background-origin: border-box;
    color: var(--color-deep-blue);
    overflow: hidden;
}

.bento-item::before {
    content: '';
    position: absolute;
    inset: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.4) 100%);
    /* backdrop-filter: blur(8px); */
    /* -webkit-backdrop-filter: blur(8px); */
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    pointer-events: none;
    z-index: 0;
}

.bento-item>* {
    position: relative;
    z-index: 1;
}

.bento-item h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--color-deep-blue);
}

.bento-item p {
    font-size: 1.05rem;
    font-weight: 600;
    opacity: 0.85;
    line-height: 1.6;
}

.bento-large {
    grid-row: span 2;
}

.bento-wide {
    grid-column: span 2;
}

.bento-icon {
    width: 50px;
    height: 50px;
    background: #f8fbfb;
    color: var(--color-emerald-green);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 25px;
    border: 1px solid rgba(15, 76, 92, 0.05);
}

/* Backgrounds */
.bg-deep-teal {
    background-color: var(--color-deep-blue);
    color: white;
}

.bg-deep-teal h2,
.bg-deep-teal h3,
.bg-deep-teal h4 {
    color: white;
}

.bg-turquoise {
    background-color: var(--color-emerald-green);
    color: white;
}

.bg-light-blue {
    background-color: var(--color-light-blue);
}

.bg-soft-mint {
    background-color: var(--color-soft-mint);
}

.bg-soft-white {
    background-color: var(--color-soft-white);
}

.bg-white {
    background-color: var(--color-white);
}

.bg-dark {
    background-color: var(--color-dark);
    color: white;
}

.bg-dark h2,
.bg-dark h3 {
    color: white;
}

/* Navigation */
nav {
    background: transparent;
    padding: 1px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: padding 0.5s cubic-bezier(0.165, 0.84, 0.44, 1),
        transform 0.4s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: calc(1px + env(safe-area-inset-top));
    will-change: padding, transform;
}

/* Global Nav Scrim (Ensures visibility over any background) */
nav::after {
    content: '';
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35) 0%, transparent 100%);
    z-index: -1;
    opacity: 1;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

nav.nav-scrolled::after,
nav.menu-open::after {
    opacity: 0;
}

nav.nav-scrolled {
    padding: 15px 0;
    padding-top: calc(15px + env(safe-area-inset-top));
}

nav.menu-open {
    background: transparent !important;
    padding: 15px 0;
}

/* Full screen blur behind the menu */
nav.menu-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    z-index: 5000;
    pointer-events: none;
    opacity: 0;
    animation: fadeInScrim 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

@keyframes fadeInScrim {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 25px;
    width: 100%;
    border-radius: 0;
    position: relative;
    z-index: 1;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1),
        border-radius 0.5s cubic-bezier(0.165, 0.84, 0.44, 1),
        padding 0.5s cubic-bezier(0.165, 0.84, 0.44, 1),
        width 0.5s cubic-bezier(0.165, 0.84, 0.44, 1),
        margin-top 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: transform, width, padding, border-radius;
}

/* Hardware-accelerated background layer for lag-free rendering */
.nav-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow:
        0 20px 40px rgba(15, 76, 92, 0.1),
        0 10px 20px rgba(0, 0, 0, 0.05),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    z-index: -1;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease-out;
    will-change: opacity;
}

nav.nav-scrolled .nav-container {
    padding: 12px 45px;
    margin-top: 15px;
    width: calc(100% - 40px);
    border-radius: 100px;
}

nav.nav-scrolled .nav-container::before {
    opacity: 1;
    transition: opacity 0.4s ease-in-out;
}

nav.menu-open .nav-container::before {
    opacity: 0 !important;
    display: none !important;
}

/* nav-hidden: manual hide logic */
nav.nav-hidden {
    transform: translateY(-100%);
}

.nav-manual-toggle {
    display: none;
}


.logo {
    position: relative;
    display: flex;
    align-items: center;
    height: 125px;
    width: 240px;
    transition: all 0.4s ease;
    margin-top: 15px;
}

nav.nav-scrolled .logo {
    height: 80px;
    width: 160px;
    margin-top: 0;
}

.logo img {
    position: absolute;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: contain;
    object-position: left center;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.logo .logo-dark {
    opacity: 0;
}

/* Show dark logo when scrolled OR when mobile menu is open */
nav.nav-scrolled .logo .logo-white,
nav.menu-open .logo .logo-white {
    opacity: 0;
}

nav.nav-scrolled .logo .logo-dark,
nav.menu-open .logo .logo-dark {
    opacity: 1;
}

.nav-links {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-links a:not(.btn) {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
    letter-spacing: 0.01em;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--color-gold);
    transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.nav-links a:not(.btn):hover,
.nav-links a:not(.btn).active {
    color: var(--color-emerald-green);
}

.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn).active::after {
    width: 100%;
}

nav.nav-scrolled .nav-links a:not(.btn) {
    color: var(--color-deep-blue);
    text-shadow: none;
}

nav.nav-scrolled .nav-links a:not(.btn):hover,
nav.nav-scrolled .nav-links a:not(.btn).active {
    color: var(--color-emerald-green);
}

.nav-btn-mobile {
    padding: 12px 28px !important;
    font-size: 0.9rem !important;
    letter-spacing: 0.02em;
}

footer {
    background: var(--color-obsidian);
    color: white;
    padding: 80px 0 20px;
    font-family: 'Inter', sans-serif;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-col ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 1002;
}

/* Mobile Specific Styles (Hidden on Desktop) */
.mobile-menu-watermark,
.mobile-menu-header,
.mobile-menu-footer,
.mobile-menu-close {
    display: none;
}

.nav-links-wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* Mobile Navigation Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 22px;
    cursor: pointer;
    z-index: 1100;
    transition: all 0.3s ease;
    padding: 2px;
}

.mobile-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--color-emerald-green);
    /* Always visible emerald green */
    border-radius: 10px;
    transition: all 0.3s ease;
}

/* On scrolled nav, the stripes can stay emerald or change to blue */
nav.nav-scrolled .mobile-toggle span {
    background-color: var(--color-emerald-green);
}

.mobile-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

body.no-scroll {
    overflow: hidden;
}

/* Responsiveness */
@media (max-width: 1100px) {
    .mobile-toggle {
        display: flex;
    }



    /* ────── Dropdown Panel (Full-Screen Refined) ────── */
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100% !important;
        /* Force full width */
        height: 100vh;
        height: 100dvh;
        /* Modern viewport height */
        background: #ffffff;
        display: flex;
        flex-direction: column;
        padding: 0;
        transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
            opacity 0.3s ease,
            visibility 0.4s;
        z-index: 10000;
        visibility: hidden;
        opacity: 0;
        transform: translateY(-10px);
        box-shadow: 0 40px 100px rgba(0, 0, 0, 0.1);
        border: none;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .mobile-menu-header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 12px 15px !important;
        background: #ffffff !important;
        /* Solid background is faster than blur on full menu open */
        border-bottom: 1px solid rgba(15, 76, 92, 0.08) !important;
        position: sticky;
        top: 0;
        z-index: 100;
        width: 100% !important;
    }

    .mobile-header-left {
        display: flex !important;
        align-items: center !important;
        gap: 15px !important;
    }

    .mobile-header-left img {
        height: 48px !important;
        width: auto !important;
        object-fit: contain !important;
        margin-left: 0 !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .mobile-header-socials {
        display: flex !important;
        gap: 5px !important;
        align-items: center !important;
        padding: 4px 10px !important;
        background: rgba(15, 76, 92, 0.04) !important;
        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px) !important;
        border-radius: 50px !important;
        border: 1px solid rgba(15, 76, 92, 0.08) !important;
        box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.8), 0 2px 5px rgba(0, 0, 0, 0.03) !important;
        margin-left: 10px !important;
    }

    .mobile-header-socials a {
        color: var(--color-deep-blue) !important;
        font-size: 0.9rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 30px !important;
        height: 30px !important;
        border-radius: 50% !important;
        transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
        opacity: 0 !important;
        /* Start hidden */
        transform: translateY(-10px) !important;
        visibility: hidden !important;
        background: transparent !important;
        pointer-events: none !important;
        /* Prevent accidental clicks */
    }

    .nav-links.active .mobile-header-socials a {
        opacity: 1 !important;
        transform: translateY(0) !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .mobile-header-socials a:active {
        transform: scale(1.1) !important;
        background: var(--color-emerald-green) !important;
        color: white !important;
        box-shadow: 0 4px 10px rgba(31, 171, 137, 0.2) !important;
    }

    /* Prominent WhatsApp button in header */
    .mobile-header-socials a.whatsapp-header-btn {
        background: rgba(37, 211, 102, 0.1) !important;
        color: #25D366 !important;
    }

    .mobile-header-socials a.whatsapp-header-btn:active {
        background: #25D366 !important;
        color: white !important;
    }

    .mobile-menu-close {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 40px !important;
        height: 40px !important;
        background: transparent !important;
        border-radius: 0 !important;
        color: var(--color-deep-blue) !important;
        font-size: 1.4rem !important;
        cursor: pointer !important;
    }

    .nav-links.active {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links-wrapper {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 15px 0;
    }

    .nav-links a:not(.btn) {
        font-size: 0.85rem;
        font-weight: 700;
        color: var(--color-deep-blue) !important;
        padding: 6px 22px;
        width: 100%;
        text-align: left;
        display: flex;
        justify-content: space-between;
        align-items: center;
        opacity: 0;
        transform: translateX(-8px);
        transition: all 0.35s ease;
        position: relative;
        background: transparent;
        border-bottom: 1px solid rgba(15, 76, 92, 0.03);
    }

    /* Remove desktop underline on mobile */
    .nav-links a:not(.btn)::after {
        display: none !important;
    }

    .nav-links a:not(.btn):last-of-type {
        border-bottom: none;
    }

    .nav-links a:not(.btn):hover,
    .nav-links a:not(.btn).active {
        background: linear-gradient(90deg, rgba(31, 171, 137, 0.08) 0%, transparent 100%);
        color: var(--color-deep-blue) !important;
        padding-left: 42px;
        font-weight: 800;
    }

    /* Vertical accent bar - Refined Minimalist Design */
    .nav-links a:not(.btn)::before {
        content: '';
        position: absolute;
        left: 0;
        top: 20%;
        height: 60%;
        width: 3px;
        background: var(--color-emerald-green);
        border-radius: 0 4px 4px 0;
        transform: scaleY(0);
        transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    }

    .nav-links a:not(.btn):hover::before,
    .nav-links a:not(.btn).active::before {
        transform: scaleY(1);
    }

    /* CTA button - Integrated and Compact */
    .nav-btn-mobile {
        margin: 8px 15px 5px !important;
        width: calc(100% - 30px) !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 10px 20px !important;
        background: var(--color-emerald-green) !important;
        color: white !important;
        border-radius: 8px !important;
        font-weight: 700 !important;
        font-size: 0.85rem !important;
        box-shadow: 0 4px 10px rgba(31, 171, 137, 0.15) !important;
        transition: all 0.3s ease !important;
        opacity: 0;
        transform: translateY(6px);
    }

    /* Staggered entry - Faster and smoother */
    .nav-links.active .nav-links-wrapper a {
        opacity: 1 !important;
        transform: translate(0) !important;
        transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
            opacity 0.4s ease;
    }

    .nav-links.active .nav-links-wrapper a:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-links.active .nav-links-wrapper a:nth-child(2) {
        transition-delay: 0.15s;
    }

    .nav-links.active .nav-links-wrapper a:nth-child(3) {
        transition-delay: 0.2s;
    }

    .nav-links.active .nav-links-wrapper a:nth-child(4) {
        transition-delay: 0.25s;
    }

    .nav-links.active .nav-links-wrapper a:nth-child(5) {
        transition-delay: 0.3s;
    }

    .nav-links.active .nav-links-wrapper a:nth-child(6) {
        transition-delay: 0.35s;
    }

    .nav-links.active .nav-links-wrapper a:nth-child(7) {
        transition-delay: 0.4s;
    }

    /* Hide unused mobile elements */
    .mobile-menu-watermark,
    .mobile-menu-footer {
        display: none !important;
    }

    .section-title h2 {
        font-size: 2.2rem !important;
        letter-spacing: -0.02em;
    }

    .logo {
        height: 75px;
        width: 180px;
    }

    /* Manual Nav Toggle - Refined Minimalist Indicator */
    .nav-manual-toggle {
        display: flex;
        position: absolute;
        bottom: -4px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(31, 171, 137, 0.15);
        width: 24px;
        height: 2px;
        border-radius: 4px;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        z-index: 1000;
        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        border: none;
        overflow: hidden;
    }

    .nav-manual-toggle:hover,
    .nav-manual-toggle:active {
        background: var(--color-emerald-green);
        height: 3px;
        width: 32px;
        bottom: -5px;
        opacity: 1;
    }

    .nav-manual-toggle i {
        font-size: 0.65rem;
        color: white;
        opacity: 0;
        transform: translateY(5px);
        transition: all 0.3s ease;
    }

    .nav-manual-toggle:hover i,
    .nav-manual-toggle:active i {
        opacity: 1;
        transform: translateY(0);
    }

    nav.nav-hidden .nav-manual-toggle {
        bottom: -15px;
        background: rgba(31, 171, 137, 0.4);
        width: 40px;
        height: 6px;
    }

    nav.nav-hidden .nav-manual-toggle:hover {
        height: 20px;
        bottom: -20px;
        background: var(--color-emerald-green);
    }

    /* Hide manual toggle at the very top of the page */
    nav:not(.nav-scrolled) .nav-manual-toggle {
        display: none !important;
    }

    /* Hide toggle when menu is open */
    nav.menu-open .nav-manual-toggle {
        display: none !important;
    }

    /* Hide main logo when dropdown menu is open (prevent duplication) */
    nav.menu-open .logo-group {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    /* Remove the 'box' style from nav bar when menu is open */
    nav.menu-open .nav-container {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    /* Hide the 'green x' mobile toggle when menu is open (since we have the new close button) */
    nav.menu-open .mobile-toggle {
        display: none !important;
    }

    .architectural-grid {
        grid-template-columns: 1fr;
    }

    /* Mobile Menu Brand Footer - Ultra Compact */
    .mobile-menu-brand-footer {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 12px 0 5px;
        width: 100%;
        margin-top: 2px;
        border-top: 1px solid rgba(15, 76, 92, 0.03);
    }

    .mobile-menu-brand-footer img {
        height: 24px;
        width: auto;
        opacity: 0.6;
        mix-blend-mode: difference;
    }
}

/* Micro-interactions & Custom Effects */
.img-zoom {
    transition: transform 0.6s ease;
}

.img-zoom-container {
    overflow: hidden;
}

.img-zoom-container:hover .img-zoom {
    transform: scale(1.05);
}

@keyframes slowPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }

    100% {
        transform: scale(1);
    }
}

.pulse-icon {
    display: inline-block;
    animation: slowPulse 3s infinite ease-in-out;
}

/* 12. Floating Action Stack (WhatsApp & Utilities) */
.whatsapp-quick-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    text-decoration: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.whatsapp-icon {
    width: 50px;
    height: 50px;
    background: var(--color-emerald-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 10px 25px rgba(31, 171, 137, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.whatsapp-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

.whatsapp-quick-contact:hover .whatsapp-icon {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 30px rgba(31, 171, 137, 0.4);
}

.whatsapp-quick-contact:hover .whatsapp-icon::after {
    opacity: 1;
}

/* Hide WhatsApp and Utilities when mobile menu is open */
nav.menu-open~.whatsapp-quick-contact,
nav.menu-open~.site-utilities-wrapper {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    pointer-events: none;
}

/* ==========================================================================
   PREMIUM POLISH SYSTEM
   ========================================================================== */

/* 1. Custom Premium Cursor */
@media (hover: hover) and (pointer: fine) and (min-width: 969px) {
    .cursor-inner {
        position: fixed;
        top: 0;
        left: 0;
        width: 6px;
        height: 6px;
        background: var(--color-emerald-green);
        border-radius: 50%;
        z-index: 100001;
        /* Absolute top layer */
        pointer-events: none;
        margin-left: -3px;
        margin-top: -3px;
        opacity: 1;
        transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
            background 0.3s ease,
            box-shadow 0.3s ease;
        box-shadow: 0 0 0 rgba(31, 171, 137, 0);
    }



    .cursor-inner.cursor-hover {
        transform: scale(2.5);
        /* Expands to ~15px */
        background: var(--color-gold);
        box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
    }

    .cursor-inner.cursor-clicking {
        transform: scale(0.6);
    }

    /* Hide default cursor on interactive elements if needed */
    /* a, button, .clickable { cursor: none; } */
}

/* 2. Advanced Glassmorphism Upgrade */
.glass-premium {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow:
        0 8px 32px 0 rgba(15, 76, 92, 0.05),
        inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.dark .glass-premium {
    background: rgba(15, 76, 92, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
}

/* 3. Text Reveal Utility */
[data-aos="reveal-text"] {
    clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
    transition-property: clip-path;
}

[data-aos="reveal-text"].aos-animate {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

/* 4. Interactive Glow Buttons */
.btn-premium {
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.btn-premium:hover::before {
    width: 300%;
    height: 300%;
}

.btn-glow-emerald:hover {
    box-shadow: 0 0 25px rgba(31, 171, 137, 0.4);
    transform: translateY(-3px);
}

.btn-glow-gold:hover {
    box-shadow: 0 0 25px rgba(200, 169, 106, 0.4);
    transform: translateY(-3px);
}

/* 5. Section Mask Transitions */
.mask-top {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 15%);
}

.mask-bottom {
    -webkit-mask-image: linear-gradient(to top, transparent 0%, black 15%);
    mask-image: linear-gradient(to top, transparent 0%, black 15%);
}

.mask-both {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
}

/* 6. Floating Background Elements */
@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

.floating-element {
    animation: float 6s infinite ease-in-out;
}

/* 7. Enhanced Card Interaction */
.card-premium {
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card-premium:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(15, 76, 92, 0.12);
}

/* 8. Smooth Font Smoothing */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* 9. Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-emerald-green), var(--color-gold));
    z-index: 9999;
    transition: width 0.1s ease;
}

/* 10. Horizontal Layout Breaks (The "Generic" Killer) */
.overlap-section {
    margin-top: -100px;
    position: relative;
    z-index: 10;
}

@media (max-width: 968px) {
    .overlap-section {
        margin-top: -50px;
    }
}

/* 11. Cursor Control & Accessibility */
@media (hover: hover) and (pointer: fine) and (min-width: 969px) {

    body:not(.cursor-disabled),
    body:not(.cursor-disabled) a,
    body:not(.cursor-disabled) button,
    body:not(.cursor-disabled) .clickable,
    body:not(.cursor-disabled) .partner-tag,
    body:not(.cursor-disabled) .philosophy-pillar,
    body:not(.cursor-disabled) .structure-card {
        cursor: none !important;
    }
}

.cursor-disabled .cursor-outer,
.cursor-disabled .cursor-inner {
    display: none !important;
}

/* 12. Floating Utilities (Settings) */
.site-utilities-wrapper {
    position: fixed;
    bottom: 90px;
    /* Perfectly spaced above WhatsApp */
    right: 30px;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.utility-expander {
    width: 32px;
    height: 32px;
    background: rgba(31, 171, 137, 0.1);
    /* Emerald Tint */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(31, 171, 137, 0.2);
    border-radius: 50%;
    color: var(--color-emerald-green);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-right: 9px;
    /* Centered with 50px buttons */
}

.utility-expander:hover {
    background: var(--color-emerald-green);
    color: white;
    border-color: var(--color-emerald-green);
}

.utility-expander.active {
    transform: rotate(180deg);
    background: var(--color-deep-blue);
    color: white;
    border-color: var(--color-deep-blue);
}

.utility-btn {
    width: 50px;
    /* Match WhatsApp width */
    height: 50px;
    background: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    color: var(--color-deep-blue);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(31, 171, 137, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.site-utilities-wrapper.expanded .utility-btn {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ==========================================================================
   CURSOR CONTROL & ACCESSIBILITY
   ========================================================================== */
.cursor-inner {
    width: 8px;
    height: 8px;
    background: var(--color-gold);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    /* Critical: Click-through */
    z-index: 10000;
    transition: opacity 0.3s ease;
    /* Remove transform transition to avoid conflict with JS Lerp */
    /* mix-blend-mode: difference; - Removed for performance optimization during scroll */
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 10px rgba(57, 30, 117, 0.3);
    backface-visibility: hidden;
    will-change: transform;
}

.cursor-hover {
    transform: scale(4);
    background: rgba(200, 169, 106, 0.3);
    mix-blend-mode: normal;
    border: 1px solid var(--color-gold);
}

.cursor-clicking {
    transform: scale(2);
    background: var(--color-gold);
}

@media (hover: hover) and (pointer: fine) and (min-width: 969px) {

    body:not(.cursor-disabled) *,
    body:not(.cursor-disabled) a,
    body:not(.cursor-disabled) button {
        cursor: none !important;
    }
}

.cursor-disabled .cursor-inner {
    display: none !important;
}

/* ==========================================================================
   GOVERNANCE ACTION CLUSTER (WhatsApp & Utilities Unified)
   ========================================================================== */
.governance-cluster-wrapper {
    position: fixed;
    bottom: 35px;
    /* Absolute edge */
    right: 35px;
    /* Absolute edge */
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.governance-cluster {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    /* Breathing Gap */
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.3));
}

/* Unified Satellite Design DNA */
.cluster-expander,
.cluster-primary,
.tray-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: radial-gradient(circle at 30% 30%, rgba(15, 76, 92, 0.95) 0%, #0a323c 100%);
    border: 1px solid rgba(200, 169, 106, 0.15);
    color: #C8A96A;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25),
        inset 0 0 10px rgba(200, 169, 106, 0.05);
}

.cluster-expander i,
.cluster-primary i,
.tray-btn i {
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

/* Delicate Institutional Frame (Non-exaggerated) */
.cluster-expander::before,
.cluster-primary::before,
.tray-btn::before {
    content: '';
    position: absolute;
    inset: 3px;
    border: 1px solid rgba(200, 169, 106, 0.12);
    /* Extremely subtle */
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

/* Small Expander Bubble */
.cluster-expander {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 0.7rem;
    color: rgba(200, 169, 106, 0.6);
}

.cluster-expander:hover {
    transform: translateY(-3px);
    color: #C8A96A;
    border-color: #C8A96A;
}

.cluster-expander.active {
    transform: rotate(180deg);
    /* No color flip - keeping it gold on dark teal */
    border-color: #C8A96A;
}

/* Refined Primary Action (WhatsApp) - Enlarged & Enhanced */
.cluster-primary {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    font-size: 1.8rem;
    z-index: 2;
    background: radial-gradient(circle at 30% 30%, #146274 0%, #0a323c 100%);
    border: 1.5px solid rgba(200, 169, 106, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 0 15px rgba(200, 169, 106, 0.1);
    animation: whatsapp-glow 3s infinite;
}

@keyframes whatsapp-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(200, 169, 106, 0.4), 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(200, 169, 106, 0), 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(200, 169, 106, 0), 0 10px 30px rgba(0, 0, 0, 0.3);
    }
}

.cluster-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.cluster-primary:hover i {
    transform: scale(1.1);
}

.cluster-primary i {
    color: #C8A96A;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.cluster-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.cluster-primary:hover {
    transform: translateY(-5px) scale(1.05);
    background: radial-gradient(circle at 30% 30%, #1a7a8f 0%, #0d414e 100%);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45),
        0 0 20px rgba(200, 169, 106, 0.2);
    border: 1.5px solid rgba(200, 169, 106, 0.6);
}

.cluster-primary:hover i {
    transform: scale(1.1) rotate(5deg);
    color: #fff;
    filter: drop-shadow(0 0 8px rgba(200, 169, 106, 0.5));
}

/* Tray Buttons */
.cluster-secondary-tray {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.governance-cluster-wrapper.expanded .cluster-secondary-tray {
    height: auto;
    opacity: 1;
    margin-bottom: 8px;
    padding: 5px 0;
    /* Add a bit of breathing room inside tray */
}

.tray-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1rem;
    text-decoration: none;
    margin-bottom: 4px;
}

.tray-btn:last-child {
    margin-bottom: 0;
}

.tray-btn:hover {
    transform: scale(1.1);
    background: rgba(200, 169, 106, 0.15);
    border-color: #C8A96A;
}

/* Governance Style Precision Panel */
.governance-panel {
    position: absolute;
    bottom: 0;
    right: 65px;
    width: 280px;
    background: rgba(10, 50, 60, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(200, 169, 106, 0.3);
    border-radius: 20px;
    padding: 25px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px) scale(0.95);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.governance-panel::after {
    content: '';
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(200, 169, 106, 0.1);
    border-radius: 14px;
    pointer-events: none;
}

.governance-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) scale(1);
}

.panel-header {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #C8A96A;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
}

.panel-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.item-title {
    display: block;
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
}

.item-desc {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    margin-top: 2px;
}

/* Premium Institutional Switch */
.gov-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
}

.gov-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.gov-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: .4s;
}

.gov-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: .4s;
}

input:checked+.gov-slider {
    background: #C8A96A;
}

input:checked+.gov-slider:before {
    transform: translateX(18px);
}

/* Responsive Positioning Overrides */
@media (max-width: 968px) {
    .governance-cluster-wrapper {
        bottom: 10px;
        right: 10px;
    }

    .governance-cluster {
        gap: 6px;
    }

    /* Hide redundant tray elements on mobile */
    .cluster-expander,
    .cluster-secondary-tray {
        display: none !important;
    }

    /* Hide floating WhatsApp when menu is open */
    nav.menu-open~.governance-cluster-wrapper {
        display: none !important;
    }

    .cluster-primary {
        width: 58px;
        height: 58px;
        font-size: 1.6rem;
    }

    .governance-panel {
        right: 55px;
        /* Shift panel closer to edge */
        width: 260px;
        /* Slightly narrower */
        padding: 20px;
    }

    .desktop-only {
        display: none !important;
    }

    .cursor-inner {
        display: none !important;
    }
}

.cursor-toggle-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-deep-blue);
    padding: 5px 0;
}

.cursor-toggle {
    width: 38px;
    height: 20px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cursor-toggle::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 14px;
    height: 14px;
    background: white;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.cursor-active .cursor-toggle {
    background: var(--color-emerald-green);
}

.cursor-active .cursor-toggle::after {
    transform: translateX(18px);
}

/* End of Preferences Section */
/* Migrated from home.blade.php */

/* Hero Section */
.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    color: white;
    padding: 210px 0 100px;
    text-align: center;
    overflow: hidden;
    display: flex;
    align-items: center;
}

@media (min-width: 992px) {
    .hero {
        min-height: 100vh;
        justify-content: center;
        padding: 100px 0;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 25, 47, 0.85) 0%, rgba(10, 25, 47, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    max-width: 600px;
    z-index: 2;
    position: relative;
}

.hero-image-wrapper {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-bottom-left-radius: 80px;
}

/* Hero Content Grid Architecture */
.hero-content-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    column-gap: 80px;
    align-items: flex-start;
    text-align: left;
}

.hero-grid-left {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.hero-text-area {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-grid-right {
    display: flex;
    align-items: stretch;
    align-self: stretch;
    /* Stretch to match height of Row 2 (text area) */
}

@media (max-width: 1100px) {
    .hero {
        padding-top: 100px !important;
        /* Move content closer to the top on mobile */
    }

    .hero-content-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 25px !important;
        text-align: center !important;
    }

    .hero-grid-right {
        height: auto !important;
        align-self: center !important;
        width: 100% !important;
        order: -10 !important;
        /* Absolute first priority */
        margin-bottom: 25px !important;
        margin-top: 0 !important;
    }

    .hero-video-floating-wrapper {
        width: 100% !important;
        margin-left: 0 !important;
        height: auto !important;
    }

    .hero-video-featured-card {
        height: auto !important;
        transform: none !important;
        padding: 8px !important;
        border-radius: 20px !important;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
    }

    .video-main-frame,
    .video-main-frame video {
        height: auto !important;
        width: 100% !important;
        border-radius: 14px !important;
    }

    .hero-text-area h1 {
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
        font-size: 2.6rem !important;
        line-height: 1.1 !important;
    }

    .hero-text-area p {
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
        font-size: 1.1rem !important;
        padding: 0 10px;
    }

    .hero-button-area {
        display: flex !important;
        justify-content: center !important;
        margin-top: 25px !important;
        width: 100% !important;
        padding-bottom: 40px;
    }

    .hero-label-area {
        text-align: center !important;
        order: -1;
    }
}

/* Desktop Video Card Architectural Logic */
.hero-video-floating-wrapper {
    position: relative;
    z-index: 5;
    width: 112%;
    margin-left: -6%;
    /* animation: heroFloat 8s infinite ease-in-out; */
    will-change: transform;
}

.hero-video-featured-card {
    position: relative;
    transform: perspective(2000px) rotateY(-8deg) scale(1.05);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.6s ease;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    border-radius: 24px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    /* backdrop-filter: blur(12px); */
    /* -webkit-backdrop-filter: blur(12px); */
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    will-change: transform, box-shadow;
}

@keyframes heroFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero-video-featured-card::after {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, var(--color-emerald-green), transparent, var(--color-gold));
    border-radius: 27px;
    z-index: -1;
    opacity: 0.25;
    filter: blur(12px);
    transition: opacity 0.8s ease;
}

.hero-video-featured-card:hover {
    transform: perspective(2000px) rotateY(0deg) scale(1.08) translateY(-5px);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.6), 0 0 70px rgba(31, 171, 137, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-video-featured-card:hover::after {
    opacity: 0.4;
}

/* About Section Improvements */
.about-image-wrapper {
    position: relative;
    padding: 20px;
}

.about-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 90%;
    background: var(--color-soft-mint);
    border-radius: 30px;
    z-index: 1;
}

.about-image-wrapper img {
    position: relative;
    width: 100%;
    border-radius: 30px;
    z-index: 2;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.1);
}

.about-experience-badge {
    position: absolute;
    bottom: -20px;
    right: 0;
    background: var(--color-emerald-green);
    color: white;
    padding: 25px;
    border-radius: 24px;
    z-index: 3;
    text-align: center;
    box-shadow: 0 15px 30px rgba(31, 171, 137, 0.3);
    min-width: 140px;
}

.about-experience-badge span {
    font-size: 2rem;
    font-weight: 800;
    display: block;
    line-height: 1;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.about-experience-badge p {
    font-size: 0.8rem;
    margin: 5px 0 0;
    font-weight: 600;
    opacity: 0.9;
}

.about-highlights-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.highlight-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(15, 76, 92, 0.05);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: white;
    border-color: var(--color-emerald-green);
}

.highlight-item i {
    font-size: 1.8rem;
    color: var(--color-emerald-green);
    margin-top: 5px;
    opacity: 0.8;
}

.highlight-item h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--color-deep-blue);
    font-size: 1.05rem;
    letter-spacing: -0.01em;
}

.highlight-item p {
    font-size: 0.85rem;
    line-height: 1.6;
    opacity: 0.7;
    margin: 0;
    font-weight: 500;
}

@media (max-width: 968px) {

    .video-main-frame {
        aspect-ratio: auto !important;
        height: auto !important;
        background: transparent !important;
    }

    .hero-video-floating-wrapper {
        width: 100% !important;
        margin-left: 0 !important;
        animation: none !important;
    }

    .hero-video-featured-card {
        padding: 0 !important;
        border-radius: 0 !important;
        /* Edge-to-edge on mobile */
        width: 100% !important;
        max-width: 100% !important;
        margin: 30px auto 40px !important;
        background: transparent;
        border: none;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
        transform: none !important;
        /* Literally no tilt on mobile */
    }

    .hero-video-featured-card::after {
        display: none;
    }

    .video-main-frame {
        border-radius: 0 !important;
    }

    .video-main-frame video {
        border-radius: 0 !important;
        width: 100% !important;
    }

    .video-main-frame video {
        display: block;
        height: auto !important;
    }

    /* Mobile Typography & Layout Standard */
    .section-title,
    .section-header {
        text-align: center !important;
        margin-bottom: 40px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .section-title h2,
    .section-header h2 {
        font-size: 2.2rem !important;
        text-align: center !important;
    }

    .section-title h2::after,
    .section-header h2::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    .section-title p,
    .section-header p {
        margin: 15px auto 0 !important;
        text-align: center !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .section-label {
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
    }

    .about-highlights-grid {
        grid-template-columns: 1fr !important;
    }

    .highlight-item {
        padding: 15px !important;
    }
}

.text-serif {
    font-family: 'Playfair Display', serif !important;
    font-style: italic;
    font-weight: 800;
}

.section-label {
    color: var(--color-emerald-green);
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 15px;
}

/* Organic Dividers */
.section-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.1;
    mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
    pointer-events: none;
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: translateY(99%);
    z-index: 2;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.wave-divider .shape-fill {
    fill: var(--divider-fill, var(--color-soft-mint));
}

.wave-divider-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: translateY(-99%) rotate(180deg);
    z-index: 2;
}

.wave-divider-top svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.wave-divider-top .shape-fill {
    fill: var(--divider-fill, var(--color-soft-mint));
}



/* Programs & Services Cards */
.visual-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    transition: 0.4s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.visual-card:hover {
    border: 1px solid var(--color-emerald-green);
}

.visual-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.visual-card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Testimonial */
.testimonial-card {
    background: white;
    padding: 60px;
    border-radius: 32px;
    box-shadow: 0 20px 50px rgba(15, 76, 92, 0.05);
    border: 1px solid rgba(15, 76, 92, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.testimonial-card:hover {
    border-color: var(--color-emerald-green);
}

.testimonial-quote-mark {
    position: absolute;
    top: 40px;
    left: 40px;
    font-size: 5rem;
    color: var(--color-soft-mint);
    opacity: 0.4;
    line-height: 1;
    font-family: 'Playfair Display', serif;
    z-index: 0;
}

.testimonial-stars {
    color: var(--color-gold);
    margin-bottom: 25px;
    font-size: 0.9rem;
    display: flex;
    gap: 4px;
}

.testimonial-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--color-soft-mint);
    color: var(--color-emerald-green);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 25px;
}



.impact-stat-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 50px 20px;
    border-radius: 24px;
    border: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.impact-stat-card::before {
    content: '';
    position: absolute;
    inset: 10px;
    background: rgba(255, 255, 255, 0.05);
    /* backdrop-filter: blur(10px); */
    /* -webkit-backdrop-filter: blur(10px); */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    z-index: 0;
    pointer-events: none;
    transition: all 0.4s ease;
}

.impact-stat-card:hover::before {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--color-emerald-green);
}

.impact-stat-card>* {
    position: relative;
    z-index: 2;
}

.impact-stat-card:hover {
    transform: translateY(-8px);
}

.choice-card {
    background-color: transparent;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(15, 76, 92, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-origin: border-box;
}

.choice-card::before {
    content: '';
    position: absolute;
    inset: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.4) 100%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    pointer-events: none;
    z-index: 0;
}

.choice-card>* {
    position: relative;
    z-index: 1;
}

.choice-icon-box {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-soft-mint) 0%, #ffffff 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--color-emerald-green);
    font-size: 1.5rem;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.8);
    transition: none;
}

.choice-card h4 {
    margin-bottom: 15px;
    font-size: 1.25rem;
    color: var(--color-deep-blue);
    font-weight: 700;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.choice-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 600;
    opacity: 0.9;
    margin: 0;
    color: var(--color-deep-blue);
}



.excellence-card {
    background-color: transparent;
    padding: 40px;
    border-radius: 20px;
    border: none;
    transition: none;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    z-index: 1;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-origin: border-box;
}

.excellence-card::before {
    content: '';
    position: absolute;
    inset: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.4) 100%);
    /* backdrop-filter: blur(2.5px); */
    /* -webkit-backdrop-filter: blur(2.5px); */
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    pointer-events: none;
    z-index: 0;
}

.excellence-card>* {
    position: relative;
    z-index: 1;
}

.excellence-badge {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--color-emerald-green);
    background: var(--color-soft-mint);
    padding: 4px 12px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 20px;
    width: fit-content;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.excellence-card h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--color-deep-blue);
}

.excellence-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    font-weight: 600;
    opacity: 0.9;
    margin: 0;
    color: var(--color-deep-blue);
}

.excellence-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--color-emerald-green);
    display: none;
}

.service-shape-card {
    background-color: transparent;
    padding: 40px;
    border-radius: 60px 4px 60px 4px;
    border: none;
    transition: none;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-origin: border-box;
}

.service-shape-card::before {
    content: '';
    position: absolute;
    inset: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.45) 100%);
    /* backdrop-filter: blur(1.5px); */
    /* -webkit-backdrop-filter: blur(1.5px); */
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 40px 4px 40px 4px;
    pointer-events: none;
    z-index: 0;
}

.service-shape-card>* {
    position: relative;
    z-index: 1;
}

.service-icon-circle {
    width: 60px;
    height: 60px;
    background: var(--color-soft-mint);
    border-radius: 50% 50% 50% 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--color-emerald-green);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.service-shape-card h5 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--color-deep-blue);
}

.service-shape-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.7;
    margin: 0;
}

/* Research Innovation - Floating Glass Cards Design */
.research-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.research-card {
    background-color: transparent;
    padding: 35px;
    border-radius: 24px;
    border: none;
    transition: none;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-origin: border-box;
}

.research-card::before {
    content: '';
    position: absolute;
    inset: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 100%);
    /* backdrop-filter: blur(1.5px); */
    /* -webkit-backdrop-filter: blur(1.5px); */
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    pointer-events: none;
    z-index: 0;
}

.research-card>* {
    position: relative;
    z-index: 1;
}

.research-card-icon {
    width: 50px;
    height: 50px;
    background: rgba(200, 169, 106, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    font-size: 1.25rem;
    margin-bottom: 25px;
    transition: none;
}

.research-card h5 {
    font-size: 1.2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

.research-card p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    line-height: 1.6;
    margin: 0;
}


.partner-tag {
    background: rgba(15, 76, 92, 0.03);
    padding: 12px 25px;
    border-radius: 50px;
    border: 1px solid rgba(15, 76, 92, 0.05);
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-deep-blue);
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.partner-tag::before {
    content: '';
    position: absolute;
    inset: 3px;
    background: rgba(255, 255, 255, 0.5);
    /* backdrop-filter: blur(10px); */
    /* -webkit-backdrop-filter: blur(10px); */
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 50px;
    z-index: 0;
    pointer-events: none;
}

.partner-tag span,
.partner-tag i {
    position: relative;
    z-index: 1;
}

.partner-tag:hover {
    background: rgba(15, 76, 92, 0.06);
    /* box-shadow: 0 10px 20px rgba(15, 76, 92, 0.08); */
}

.partner-tag:hover::before {
    background: rgba(255, 255, 255, 0.8);
    border-color: var(--color-emerald-green);
}

.partner-tag i {
    color: var(--color-emerald-green);
    font-size: 1.1rem;
    transition: transform 0.4s ease;
}

.partner-tag:hover i {
    transform: scale(1.2);
}

.services-grid-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 968px) {
    .services-grid-2x2 {
        grid-template-columns: 1fr;
    }
}

/* Responsive Mobile Fixes */
@media (max-width: 968px) {
    .hero {
        display: flex !important;
        flex-direction: column !important;
        padding: 140px 0 60px !important;
        text-align: center !important;
        min-height: auto !important;
        background-position: center top !important;
    }

    .hero::before {
        opacity: 0.85 !important;
    }

    .hero h1 {
        font-size: 2.2rem !important;
        line-height: 1.15 !important;
        letter-spacing: -0.02em !important;
        margin: 0 auto 20px !important;
        text-align: center !important;
    }

    .hero h1 br {
        display: none;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
        font-size: 1.1rem !important;
        max-width: 100% !important;
    }

    .hero .container {
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .hero .container>div {
        flex-direction: column !important;
        gap: 40px !important;
    }

    .hero .container>div>div {
        min-width: 0 !important;
        flex: none !important;
        width: 100% !important;
    }

    .hero div[style*="display: flex; gap: 20px"] {
        justify-content: center !important;
        width: 100% !important;
    }

    @media (max-width: 768px) {
        .hero div[style*="display: flex; gap: 20px"] {
            flex-direction: column !important;
            gap: 15px !important;
            align-items: center !important;
        }

        .hero .btn-premium,
        .hero .btn-outline {
            width: 100% !important;
            max-width: 280px;
            text-align: center;
            justify-content: center;
            margin: 0 auto;
        }

        div[style*="margin-top: 50px; display: flex; align-items: center; gap: 25px"] {
            flex-direction: column !important;
            align-items: center !important;
            gap: 20px !important;
            width: 100% !important;
        }
    }

    .hero-text-container {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
        padding: 0 25px !important;
        /* Keep text padded */
    }

    .hero-text-container .section-label {
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
    }

    .hero-image-wrapper {
        position: relative;
        width: 100%;
        height: auto;
        margin-top: 40px;
    }

    .hero-video-featured-card {
        max-width: 100%;
        margin: 0 auto;
    }

    /* General Flex Centering for Mobile */
    div[style*="gap: 60px"],
    div[style*="gap: 80px"],
    div[style*="gap: 40px 80px"] {
        text-align: center !important;
        justify-content: center !important;
        flex-direction: column !important;
    }

    section {
        padding: 80px 0 !important;
    }

    h2 {
        font-size: 2.4rem !important;
    }

    .bento-grid {
        grid-template-columns: 1fr !important;
        grid-auto-rows: auto !important;
    }

    .bento-large,
    .bento-wide {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }

    .excellence-card,
    .service-shape-card,
    .research-card,
    .choice-card,
    .impact-stat-card {
        padding: 30px !important;
    }

    .excellence-card::before,
    .service-shape-card::before,
    .research-card::before,
    .choice-card::before,
    .impact-stat-card::before {
        inset: 8px !important;
    }

    div[style*="grid-template-columns: repeat(4, 1fr)"],
    div[style*="grid-template-columns: repeat(2, 1fr)"],
    div[style*="grid-template-columns: repeat(auto-fit, minmax(400px, 1fr))"],
    .research-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }



    .research-card {
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .research-card-icon {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    section[style*="padding: 140px 0"] div[style*="flex: 1.2"],
    section[style*="padding: 120px 0"] div[style*="flex: 1.2"] {
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        padding: 0 !important;
        width: 100% !important;
    }

    .research-grid {
        width: 100% !important;
        max-width: 100% !important;
    }

    .about-highlights-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        margin-top: 30px !important;
        width: 100% !important;
    }

    .highlight-item {
        text-align: left !important;
        background: rgba(15, 76, 92, 0.03);
        padding: 20px !important;
        border-radius: 16px !important;
    }

    section[style*="padding: 140px 0"] {
        padding: 80px 0 !important;
        overflow: visible !important;
    }

    .visual-card {
        border-radius: 20px !important;
        margin-bottom: 20px !important;
    }

    .visual-card img {
        height: 200px !important;
    }

    .visual-card-content {
        padding: 25px 20px !important;
    }

    .visual-card-content h3 {
        font-size: 1.4rem !important;
        margin-bottom: 15px !important;
    }

    .visual-card-content ul li {
        font-size: 0.95rem !important;
        margin-bottom: 8px !important;
    }

    div[style*="minmax(320px, 1fr)"] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .testimonial-card {
        padding: 40px 25px !important;
        text-align: center !important;
    }

    .testimonial-quote-mark {
        top: 20px !important;
        left: 20px !important;
        font-size: 3rem !important;
        opacity: 0.2 !important;
    }

    .testimonial-card p {
        font-size: 1.15rem !important;
        line-height: 1.6 !important;
        margin-bottom: 30px !important;
    }

    .testimonial-stars {
        justify-content: center !important;
    }

    .testimonial-badge {
        margin-left: auto !important;
        margin-right: auto !important;
        display: inline-flex !important;
    }

    .container {
        width: 100% !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        margin: 0 auto !important;
        overflow: hidden !important;
        /* Safety for internal floating elements */
    }

    div[style*="display: grid"] {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2.2rem !important;
    }

    .section-title h2 {
        font-size: 2rem !important;
    }

    .partner-tag {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

.back-to-home {
    margin-top: 32px;
    text-align: center;
}

.home-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    background: rgba(31, 171, 137, 0.08);
    border: 1px solid rgba(31, 171, 137, 0.18);
    color: #15616D;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* Safari support */
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.home-button:hover {
    transform: translateY(-2px);
    background: rgba(31, 171, 137, 0.14);
    border-color: rgba(31, 171, 137, 0.3);
    box-shadow: 0 10px 30px rgba(31, 171, 137, 0.12);
}

/* ============================================================
   MOBILE OVERRIDES & COMPACT PILLED NAVIGATION STYLE
   ============================================================ */
@media (max-width: 1100px) {
    nav.menu-open .logo-group,
    nav.menu-open .mobile-toggle {
        display: none !important;
    }

    /* Prevent the 'pill' from constraining the menu width on open */
    nav.menu-open .nav-container {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
        background: white !important;
        transition: none !important; /* Instant expansion to prevent resize effect */
        border: none !important;
        box-shadow: none !important;
    }

    /* Remove the dark shade (scrim) as it was distracting */
    nav.menu-open::before {
        display: none !important;
    }
}

/* ============================================================
   PREMIUM BIOMEDICAL LUXURY TOOLTIPS FOR UNAVAILABLE SOCIALS
   ============================================================ */
.mobile-header-socials,
.mobile-socials {
    overflow: visible !important;
}

.governance-cluster-wrapper.expanded .cluster-secondary-tray {
    overflow: visible !important;
}

.social-btn-disabled {
    cursor: not-allowed !important; /* Premium disabled cursor */
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

/* Tooltip bubble styling */
.social-btn-disabled::after {
    content: attr(data-tooltip) !important;
    position: absolute !important;
    bottom: calc(100% + 12px) !important; /* Float above the icon */
    left: 50% !important;
    transform: translate(-50%, 6px) !important; /* Slide up start */
    background: rgba(6, 33, 41, 0.88) !important; /* Biomedical deep dark translucent backdrop */
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(200, 169, 106, 0.25) !important; /* Luxurious gold border highlight */
    color: rgba(255, 255, 255, 0.95) !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    padding: 7px 14px !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    white-space: nowrap !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
                transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), /* Organic spring bounce */
                visibility 0.4s ease !important;
    z-index: 99999 !important;
}

/* Tooltip arrow decoration */
.social-btn-disabled::before {
    content: '' !important;
    position: absolute !important;
    bottom: calc(100% + 7px) !important;
    left: 50% !important;
    transform: translate(-50%, 6px) !important;
    border-width: 5px 5px 0 !important;
    border-style: solid !important;
    border-color: rgba(6, 33, 41, 0.88) transparent transparent !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
                transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                visibility 0.4s ease !important;
    z-index: 99999 !important;
}

/* Hover animations and transitions */
.social-btn-disabled:hover {
    transform: translateY(-4px) !important; /* Soft upward movement */
    opacity: 0.9 !important;
}

.social-btn-disabled:hover::after {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translate(-50%, 0) !important; /* Slide to final position */
}

.social-btn-disabled:hover::before {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translate(-50%, 0) !important;
}

/* Icon micro-rotation/scale for biomedical luxury feel */
.social-btn-disabled:hover i {
    transform: scale(1.1) rotate(-5deg) !important;
    color: var(--color-emerald-green, #1FAB89) !important; /* Transition to branded green */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.3s ease !important;
}