html {
    scroll-behavior: smooth;
}

:root {
    --text-white: #ffffff;
    --text-dim: rgba(255, 255, 255, 0.7);
    --bg-dark: #000000;
    --text-main: #333333;
    --accent-white: #f5f5f7;
    --font-main: "Outfit", "Inter", sans-serif;
    --font-heading: "Adelora", serif;
}

@font-face {
    font-family: "Adelora";
    src: url("Adelora.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Adelora";
    src: url("Adelora-Italic.woff2") format("woff2");
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

/* Lenis Smooth Scroll Recommended Styles */
html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-smooth iframe {
    pointer-events: none;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-white);
}

/* --- Premium Entrance Animations --- */
:root {
    --reveal-easing: cubic-bezier(0.2, 1, 0.3, 1);
    --reveal-duration: 1s;
}

.reveal {
    opacity: 0;
    transition:
        opacity var(--reveal-duration) var(--reveal-easing),
        transform var(--reveal-duration) var(--reveal-easing);
    will-change: opacity, transform;
}

.reveal-up {
    transform: translateY(40px);
    filter: blur(10px);
}

.reveal-fade {
    transform: none;
    filter: blur(10px);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* Stagger Logic: Elements within .reveal-stagger will be handled by JS 
   to have incremental transition-delay. */
.reveal-stagger>* {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity var(--reveal-duration) var(--reveal-easing),
        transform var(--reveal-duration) var(--reveal-easing);
}

.reveal-stagger.active>* {
    opacity: 1;
    transform: translateY(0);
}

.hero-container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Video Background Loop Container */
.video-loop-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    background-color: var(--bg-dark);
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-video.active {
    opacity: 1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(135deg,
            rgba(198, 246, 194, 0.4) 0%,
            rgba(8, 170, 190, 0.6) 100%),
        linear-gradient(180deg,
            rgba(0, 0, 0, 0.5) 0%,
            rgba(0, 0, 0, 0.3) 50%,
            rgba(0, 0, 0, 0.7) 100%);
    mix-blend-mode: overlay;
    z-index: -1;
}

/* Navbar Base */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 60px;
    z-index: 1000;
    transition:
        background-color 0.3s ease,
        padding 0.3s ease,
        box-shadow 0.3s ease;
}

.navbar.scrolled {
    background-color: #ffffff;
    padding: 20px 60px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-logo {
    display: block;
    height: 64px;
    position: relative;
    width: 360px;
}

.nav-logo img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: auto;
    transition: opacity 0.3s ease;
    object-fit: contain;
}

.logo-color {
    opacity: 1;
}

.logo-white {
    opacity: 0;
}

.navbar.scrolled .logo-white {
    opacity: 0;
}

.navbar.scrolled .logo-color {
    opacity: 1;
}

.navbar.scrolled .nav-menu a {
    color: #08aabe;
}

.navbar.scrolled .nav-menu a:hover {
    color: #067a8a;
}

.navbar.scrolled .btn-waitlist-nav {
    background-color: #08aabe;
    color: #ffffff;
}

.navbar.scrolled .btn-waitlist-nav .arrow-circle {
    background-color: #ffffff;
    color: #08aabe;
}

.navbar.scrolled .btn-waitlist-nav:hover {
    background-color: transparent;
    color: #08aabe;
    border-color: #08aabe;
}

.navbar.scrolled .btn-waitlist-nav:hover .arrow-circle {
    background-color: #08aabe;
    color: #ffffff;
}

.nav-menu {
    display: flex;
    gap: 25px;
}

.nav-menu a {
    text-decoration: none;
    color: #08aabe;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    color: #067a8a;
}

.nav-cta a,
.nav-cta button {
    background: #08aabe;
    border: 1px solid #08aabe;
    color: #ffffff;
    padding: 8px 12px 8px 20px;
    text-decoration: none;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-family: var(--font-main);
    font-size: 14px;
    transition: all 0.3s ease;
}

.nav-cta a:hover,
.nav-cta button:hover {
    background: #067a8a;
}

/* Mobile Menu Toggle (hidden on desktop) */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #08aabe;
    border-radius: 2px;
    transition:
        transform 0.3s ease,
        opacity 0.3s ease,
        background-color 0.3s ease;
}

.navbar.scrolled .hamburger-line {
    background-color: var(--bg-dark);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Body scroll lock for mobile menu */
body.no-scroll {
    overflow: hidden;
}

.arrow-circle {
    width: 28px;
    height: 28px;
    background: var(--text-white);
    color: var(--text-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Content */
.hero-content {
    flex: 1;
    display: flex;
    padding: 0 60px 80px 60px;
    align-items: flex-end;
    justify-content: space-between;
}

.hero-left {
    max-width: 1300px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 130px;
    font-weight: 400;
    line-height: 0.9;
    letter-spacing: -3px;
    margin-bottom: 40px;
    text-shadow:
        0 4px 40px rgba(0, 0, 0, 0.6),
        0 2px 10px rgba(0, 0, 0, 0.4);
    animation: float-hero 6s ease-in-out infinite alternate;
}

@keyframes float-hero {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(-8px);
    }
}

.hero-description {
    max-width: 1300px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-subtext {
    line-height: 1.5;
    font-family: var(--font-main);
}

.hero-subtext.main {
    font-size: 20px;
    color: var(--text-white);
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.5px;
    text-shadow:
        0 2px 20px rgba(0, 0, 0, 0.8),
        0 1px 4px rgba(0, 0, 0, 0.6);
}

.btn-waitlist-main {
    background: #f0f0f2;
    border: none;
    color: var(--text-main);
    padding: 12px 12px 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 20px;
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition:
        transform 0.3s cubic-bezier(0.2, 1, 0.3, 1),
        background 0.3s ease,
        box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-waitlist-main:hover {
    background: #ffffff;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.15);
}

.arrow-circle.dark {
    width: 38px;
    height: 38px;
    background: #1c1c1e;
    color: #ffffff;
}

/* Introduction Section */
.intro-section {
    padding: 120px 60px;
    background: linear-gradient(180deg, #ffffff 0%, #e0f4f6 100%);
    color: #067a8a;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    position: relative;
    overflow: hidden;
}

.intro-spinning-icon {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 320px;
    height: 320px;
    opacity: 0.30;
    animation: spin-slow 30s linear infinite;
    pointer-events: none;
    filter: brightness(0) saturate(100%) invert(48%) sepia(21%) saturate(1633%) hue-rotate(143deg) brightness(96%) contrast(92%);
}

@keyframes spin-slow {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.intro-content {
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.intro-heading {
    font-family: Adelora;
    font-size: 84px;
    line-height: 1.1;
    letter-spacing: -1.5px;
    font-weight: 500;
}

.intro-paragraph {
    font-family: var(--font-main);
    font-size: 20px;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.7);
    max-width: 1000px;
}

/* Integrated Care Section */
.integrated-section {
    padding: 80px 0 200px;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, #08aabe 0%, #08aabe 35%, #5cc4d2 55%, #b0e3ea 75%, #ffffff 100%);
    color: #ffffff;
    overflow: hidden;
    position: relative;
}

/* Scrolling Marquee */
.marquee-track {
    width: 100%;
    overflow: hidden;
    margin-bottom: 60px;
}

.marquee-slide {
    display: flex;
    align-items: center;
    width: max-content;
    animation: marquee-scroll 20s linear infinite;
}

.marquee-word {
    font-family: var(--font-heading);
    font-size: 130px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -2px;
    color: rgba(255, 255, 255, 0.15);
    white-space: nowrap;
}

.marquee-dot {
    font-size: 40px;
    color: rgba(255, 255, 255, 0.1);
    margin: 0 40px;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.integrated-container {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 60px;
    padding: 0 60px;
}


.integrated-image-col {
    width: 100%;
    max-width: 800px;
    height: 450px;
    overflow: hidden;
    border-radius: 24px;
}

.integrated-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.integrated-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.integrated-intro {
    font-family: var(--font-main);
    font-size: 28px;
    font-weight: 500;
    color: #ffffff;
}

/* Experience Cards Grid */
.experience-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    width: 100%;
    max-width: 1600px;
    padding: 0 60px;
}

.experience-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 24px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.experience-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.15);
}

.experience-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    background: #f8f9fa;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #08aabe;
    transition: all 0.3s ease;
    z-index: 1;
}

.experience-icon svg {
    width: 26px;
    height: 26px;
}

.experience-card:hover .experience-icon {
    background: #08aabe;
    color: #ffffff;
    transform: scale(1.1);
}

.experience-card h4 {
    font-family: var(--font-main);
    font-size: 19px;
    font-weight: 600;
    color: var(--text-main);
    letter-spacing: -0.4px;
    line-height: 1.3;
}

.experience-card p {
    font-family: var(--font-main);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-main);
    opacity: 0.8;
}

/* Services Section */
.services-section {
    padding: 120px 60px;
    background: linear-gradient(180deg, #e0f4f6 0%, #08aabe 100%);
    position: relative;
    overflow-x: clip;
    color: var(--text-main);
}

.services-tile-pattern-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 180px;
    pointer-events: none;
    z-index: 1;
    opacity: 0.3;
    /* Increased opacity */
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
}

.services-tile-pattern {
    width: 100%;
    height: 100%;
    background-image: url('icon.svg');
    background-repeat: repeat;
    /* Changed to full repeat */
    background-size: 80px;
    /* Smaller, more refined pattern */
    background-position: center;
    /* This filter turns white SVG into #08aabe */
    filter: brightness(0) saturate(100%) invert(48%) sepia(21%) saturate(1633%) hue-rotate(143deg) brightness(96%) contrast(92%);
}

.services-container.split-layout {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    align-items: flex-start;
}

.services-left {
    display: flex;
    flex-direction: column;
}

.services-right {
    position: sticky;
    top: 120px;
    height: max-content;
    align-self: flex-start;
    display: flex;
    flex-direction: column;
}

.services-cta.sticky-cta {
    background-color: #ffffff;
    border-radius: 24px;
    padding: 60px 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cta-heading {
    font-family: var(--font-heading);
    font-size: 42px;
    color: #08aabe;
    line-height: 1.1;
    font-weight: 500;
}

.services-cta .btn-waitlist-main {
    background: #08aabe;
    color: #ffffff;
}

.services-cta .btn-waitlist-main .arrow-circle {
    background: #ffffff;
    color: #08aabe;
}

.services-cta .btn-waitlist-main:hover {
    background: #067a8a;
    transform: translateY(-4px) scale(1.02);
}

.cta-text {
    font-family: var(--font-main);
    font-size: 18px;
    color: rgba(0, 0, 0, 0.7);
    line-height: 1.6;
}

.services-header {
    margin-bottom: 60px;
    max-width: 100%;
}

.services-title {
    font-family: var(--font-heading);
    font-size: 84px;
    line-height: 0.9;
    letter-spacing: -2px;
    margin-bottom: 30px;
    font-weight: 500;
    color: #08aabe;
}

.services-subtitle {
    font-family: var(--font-main);
    font-size: 20px;
    color: rgba(0, 0, 0, 0.7);
    font-weight: 400;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-left: 1px solid rgba(0, 0, 0, 0.05);
    background-color: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.service-item {
    padding: 50px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    background-color: transparent;
    /* Transparent to let gradient show */
    color: var(--text-main);
    /* Dark text for readability against blue gradient */
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition:
        background-color 0.3s ease,
        transform 0.3s ease;
}

.service-item:hover {
    background-color: #f8fbfa;
    color: var(--text-main);
    transform: translateY(-2px);
}

.service-icon {
    width: 42px;
    height: 42px;
    color: currentColor;
    opacity: 0.9;
}

.service-name {
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
    max-width: 180px;
}

/* Global Footer */
.global-footer {
    background-color: #ffffff;
    padding: 80px 40px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.footer-container {
    max-width: 1400px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
}

.footer-logo {
    width: 60%;
    max-width: 600px;
    display: flex;
    justify-content: center;
}

.footer-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.footer-bottom {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: rgba(0, 0, 0, 0.6);
    font-size: 14px;
}

.footer-legal {
    display: flex;
    gap: 30px;
}

.footer-legal a {
    color: rgba(0, 0, 0, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #111111;
}

/* =============================================
   Visit Us Section — Premium Redesign
   ============================================= */
.visit-section {
    padding: 120px 60px;
    background-color: #ffffff;
}

.visit-header {
    max-width: 1400px;
    margin: 0 auto 80px;
}

.visit-title {
    font-family: var(--font-heading);
    font-size: 84px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -2px;
    color: #08aabe;
    margin-bottom: 20px;
}

.visit-subtitle {
    font-family: var(--font-main);
    font-size: 20px;
    color: rgba(0, 0, 0, 0.5);
    font-weight: 400;
}

.visit-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: stretch;
}

.visit-info {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.visit-detail-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 28px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: padding-left 0.3s ease;
}

.visit-detail-card:first-child {
    padding-top: 0;
}

.visit-detail-card:hover {
    padding-left: 8px;
}

.visit-detail-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(8, 170, 190, 0.08);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #08aabe;
    transition: background 0.3s ease, color 0.3s ease;
}

.visit-detail-card:hover .visit-detail-icon {
    background: #08aabe;
    color: #ffffff;
}

.visit-detail-text h4 {
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #08aabe;
    margin-bottom: 6px;
}

.visit-detail-text p {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.6);
}

.visit-detail-text a,
.visit-detail-text a:visited,
.visit-detail-text a:active {
    color: rgba(0, 0, 0, 0.6);
    text-decoration: none;
}

.visit-detail-text a:hover {
    color: #08aabe;
}

.visit-directions-btn {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
    padding: 14px 14px 14px 32px;
    background: #08aabe;
    color: #ffffff;
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 500;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 24px rgba(8, 170, 190, 0.25);
}

.visit-directions-btn:hover {
    background: #067a8a;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(8, 170, 190, 0.35);
}

.visit-directions-btn .arrow-circle {
    background: #ffffff;
    color: #08aabe;
}

.visit-map-col {
    width: 100%;
    min-height: 500px;
}

.visit-map {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.visit-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 500px;
}


/* ==========================================================================
   RESPONSIVE: Tablet (≤1024px)
   ========================================================================== */
@media (max-width: 1024px) {
    .navbar {
        padding: 20px 30px;
    }

    .navbar.scrolled {
        padding: 15px 30px;
    }

    .hero-container {
        min-height: 100vh;
    }

    .hero-content {
        flex: 1;
        flex-direction: column;
        justify-content: flex-end;
        padding: 40px 40px calc(40px + 20vh);
        gap: 40px;
    }

    .hero-left {
        max-width: 100%;
    }

    .hero-title {
        font-size: 80px;
    }

    .btn-waitlist-main {
        width: auto;
    }

    .intro-paragraph {
        font-size: 17px;
    }

    /* Services */
    .services-section {
        padding: 100px 40px;
    }

    .services-container.split-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-right {
        position: static;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2x4 on tablet still looks good */
    }

    .services-title {
        font-size: 56px;
    }

    .services-tile-pattern-container {
        display: none;
    }

    /* Intro */
    .intro-section {
        padding: 100px 40px;
    }

    .intro-heading {
        font-size: 56px;
    }

    /* Integrated */
    .marquee-word {
        font-size: 80px;
        /* Scale down marquee on tablet */
    }

    .integrated-container {
        padding: 0 20px;
        gap: 40px;
    }

    .integrated-image-col {
        height: 350px;
    }

    /* Visit Us */
    .visit-section {
        padding: 100px 40px;
    }

    .visit-title {
        font-size: 56px;
    }

    .visit-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .visit-map-col {
        min-height: 400px;
    }

    .visit-map {
        min-height: 400px;
    }

    .visit-map iframe {
        min-height: 400px;
    }
}

/* ==========================================================================
   RESPONSIVE: Mobile (≤768px)
   ========================================================================== */
@media (max-width: 768px) {

    /* --- Mobile Navigation Dropdown --- */
    .nav-menu,
    .nav-cta {
        display: none;
        position: absolute;
        right: 20px;
        width: 260px;
        flex-direction: column;
        align-items: stretch;
        background-color: #ffffff;
        border-radius: 16px;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
        border: 1px solid rgba(0, 0, 0, 0.06);
        padding: 12px;
        z-index: 999;
        opacity: 0;
        transform: translateY(-10px);
        transition:
            opacity 0.25s ease,
            transform 0.25s ease;
    }

    .nav-menu {
        top: 70px;
        gap: 4px;
    }

    .nav-cta {
        top: auto;
        bottom: auto;
        position: relative;
        width: 100%;
        padding: 8px 0 0;
        margin-top: 4px;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
    }

    .nav-menu.open,
    .nav-cta.open {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }

    .nav-menu.open {
        height: auto;
        justify-content: flex-start;
        padding: 12px;
    }

    .nav-menu.open a {
        font-size: 15px;
        padding: 12px 16px;
        color: var(--bg-dark, #1c1c1e);
        width: 100%;
        text-align: left;
        border-radius: 10px;
        border-bottom: none;
        transition: background-color 0.2s ease;
    }

    .nav-menu.open a:hover {
        background-color: #f0f0f2;
    }

    .nav-cta.open {
        background: transparent;
        box-shadow: none;
        border: none;
        border-radius: 0;
    }

    .nav-cta.open a,
    .nav-cta.open button {
        width: 100%;
        justify-content: center;
        background: #08aabe;
        color: #ffffff;
        font-size: 14px;
        padding: 12px 20px;
        border-radius: 10px;
    }

    /* Override scrolled link colors inside open mobile menu */
    .navbar.scrolled .nav-menu.open a {
        color: var(--bg-dark, #1c1c1e);
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-logo {
        width: 200px;
        height: 36px;
    }

    /* Services Split Layout Mobile */
    .services-section {
        padding: 80px 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        /* Single column on phones */
    }

    .service-item {
        padding: 40px 20px;
    }

    .services-cta.sticky-cta {
        padding: 40px 30px;
    }

    .cta-heading {
        font-size: 32px;
    }

    /* Location Section Spin Icon */
    .cta-spin-icon {
        width: 200px;
        height: 36px;
    }

    /* --- Hero --- */
    .hero-container {
        height: 100vh;
    }

    .hero-content {
        padding: 0 24px 120px;
        align-items: flex-end;
        justify-content: center;
        text-align: center;
    }

    .hero-left {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-title {
        font-size: 56px;
        letter-spacing: -1.5px;
        line-height: 1;
        margin-bottom: 24px;
    }

    .hero-subtext {
        font-size: 15px;
        line-height: 1.6;
    }

    .hero-description {
        max-width: 100%;
    }

    /* --- Intro --- */
    .intro-section {
        padding: 60px 20px;
        min-height: auto;
    }

    .intro-heading {
        font-size: 42px;
        font-weight: 500;
    }

    .intro-spinning-icon {
        display: none;
    }

    .intro-paragraph {
        font-size: 15px;
    }

    /* --- Services --- */
    .services-section {
        padding: 60px 20px;
    }

    .services-title {
        font-size: 42px;
    }

    .services-tile-pattern-container {
        display: none;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-item {
        padding: 40px 20px;
    }

    /* --- Integrated --- */
    .integrated-section {
        padding: 60px 20px;
    }

    /* --- Integrated --- */
    .integrated-section {
        padding: 60px 0;
        width: 100%;
        overflow-x: hidden;
    }

    .integrated-container {
        padding: 0;
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .marquee-word {
        font-size: 56px;
        width: 100%;
    }

    .integrated-intro {
        font-size: 20px;
        padding: 0 20px;
        margin-bottom: 15px;
        word-wrap: break-word;
    }

    .experience-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 15px;
        gap: 10px;
        width: 100%;
        margin: 0;
    }

    .experience-card {
        padding: 24px 20px;
        gap: 12px;
        word-break: break-word;
    }

    .experience-card h4 {
        font-size: 15px;
        margin-bottom: 2px;
    }

    .experience-card p {
        font-size: 13px;
        line-height: 1.4;
    }

    /* --- Visit Us --- */
    .visit-section {
        padding: 60px 20px;
    }

    .visit-header {
        margin-bottom: 40px;
    }

    .visit-title {
        font-size: 42px;
    }

    .visit-subtitle {
        font-size: 16px;
    }

    .visit-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .visit-detail-card {
        padding: 20px 0;
    }

    .visit-detail-text p {
        font-size: 14px;
    }

    .visit-directions-btn {
        width: 100%;
        justify-content: center;
    }

    .visit-map-col {
        min-height: 300px;
    }

    .visit-map {
        min-height: 300px;
        border-radius: 16px;
    }

    .visit-map iframe {
        min-height: 300px;
    }

    /* --- Footer --- */
    .global-footer {
        padding: 60px 20px 30px;
    }

    .footer-logo {
        width: 80%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* ==========================================================================
   RESPONSIVE: Small Mobile (≤480px)
   ========================================================================== */


.final-cta-container.split-layout {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    text-align: left;
    align-items: center;
    position: relative;
    z-index: 10;
}

.cta-spin-icon {
    position: absolute;
    top: 40px;
    right: 40px;
    width: 120px;
    height: 120px;
    opacity: 0.05;
    filter: brightness(0);
    z-index: 1;
    pointer-events: none;
    animation: spin-slow 20s linear infinite;
}

@keyframes spin-slow {
    100% {
        transform: rotate(360deg);
    }
}

.cta-left-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}



/* ==========================================================================
   RESPONSIVE: Small Mobile (≤480px)
   ========================================================================== */
@media (max-width: 480px) {
    .hero-title {
        font-size: 42px;
        margin-bottom: 20px;
    }

    .hero-content {
        justify-content: flex-end;
        padding: 0 20px calc(80px + 20vh);
        align-items: flex-start;
    }

    .hero-left {
        max-width: 100%;
        margin-bottom: 0;
    }

    .hero-subtext.main {
        font-size: 14px;
    }

    .btn-waitlist-main {
        width: 100%;
        justify-content: space-between;
    }

    .services-title,
    .visit-title,
    .intro-heading {
        font-size: 32px;
    }

    .services-cta.sticky-cta {
        padding: 30px 20px;
        gap: 16px;
    }

    .cta-heading {
        font-size: 28px;
    }

    .marquee-word {
        font-size: 42px;
        /* Balanced for small mobile */
    }

    .marquee-dot {
        font-size: 30px;
        margin: 0 20px;
    }

    .integrated-content {
        padding: 30px 20px;
    }

    .final-cta-heading {
        font-size: 32px;
    }
}