/* --- DESIGN SYSTEM & CSS VARIABLES --- */
:root {
    --clr-bg-pastel-blue: #e8f0fe;
    --clr-bg-pastel-sky: #e1eff8;
    --clr-bg-pastel-cyan: #e0f4f9;
    --clr-accent-blue: #4A90E2;
    --clr-text-dark: #1e2430;
    --clr-text-light: #526075;
    --clr-white: #ffffff;
    --font-main: 'Outfit', sans-serif;
    --transition-fast: 0.3s ease;
    --transition-smooth: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/*Gallery Css*/
.circular-gallery {
    width: 100%;
    height: 100%;
    overflow: hidden;
    cursor: grab;
}

.circular-gallery:active {
    cursor: grabbing;
}

/*Gallery Css End*/


/* --- LENIS SCROLL BASE --- */
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;
}

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

html {
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    color: var(--clr-text-dark);
    background-color: var(--clr-bg-pastel-blue);
    position: relative;
    overflow: hidden;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

.section-padding {
    padding: 70px 5% 50px 5%;
    /* Top padding accounts for fixed navbar */
    position: relative;
    z-index: 2;
}

/* --- TYPOGRAPHY --- */
h1,
h2 {
    color: #132354 !important;
    font-weight: 800;
    line-height: 1.2;
}

h3,
h4 {
    font-weight: 800;
    line-height: 1.2;
    /* Slightly looser to feel more elegant */
    color: var(--clr-text-dark);
}

p {
    color: var(--clr-text-light);
    line-height: 1.6;
}

/* --- BACKGROUND FLOATING SHAPES (Parallax base) --- */
.bg-shape {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.6;
    animation: float 15s ease-in-out infinite alternate;
}

.bg-shape-1 {
    width: 600px;
    height: 600px;
    background-color: var(--clr-bg-pastel-sky);
    top: -100px;
    left: -200px;
}

.bg-shape-2 {
    width: 500px;
    height: 500px;
    background-color: var(--clr-bg-pastel-cyan);
    bottom: -150px;
    right: -100px;
    animation-delay: -5s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(50px, 30px) scale(1.1);
    }

    100% {
        transform: translate(-30px, 50px) scale(0.9);
    }
}

/* Character Floating Animation */
@keyframes character-float {
    0% {
        transform: translateY(0px);
    }

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

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

/* --- COMPONENTS --- */
.btn-primary {
    display: inline-block;
    background-color: var(--clr-accent-blue);
    color: var(--clr-white);
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: var(--transition-fast);
    box-shadow: 0 10px 20px rgba(74, 144, 226, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(74, 144, 226, 0.4);
}

.qr-code {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 4px solid #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    display: block;
    margin-left: 0; /* Align to left by default since parent is text-left */
}

.btn-small-text {
    font-size: 0.75rem !important;
    padding: 10px 20px !important;
}

.toast-content .qr-code {
    width: 100px;
    height: 100px;
    margin: 0 auto 15px auto;
}

/* --- NAVIGATION --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: background-color var(--transition-fast), padding var(--transition-fast);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 15px 5%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.logo {
    display: flex;
    align-items: center;
    line-height: 1;
    text-decoration: none;
}

.logo span {
    color: #4A90E2 !important;
    /* Direct match for the bright blue in EH logo */
}

.navbar.scrolled .logo span {
    color: #4A90E2 !important;
    /* Keep it blue even when scrolled */
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links li a {
    color: var(--clr-text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hamburger Menu Icon */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.hamburger .bar {
    width: 30px;
    height: 3px;
    background-color: var(--clr-text-dark);
    border-radius: 5px;
    transition: all 0.3s ease;
}

/* Hamburger Active Animations */
.hamburger.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* --- HERO SECTION (Centered Layout) --- */
.hero.centered-hero {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    /* Horizontally center contents */
    padding-top: 120px;
    /* Space for navbar */
    height: 100vh;
    /* Exactly one window height */
    min-height: 600px;
    overflow: hidden;
    gap: 0;
    transition: background-color 1.5s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.hero.centered-hero .hero-content {
    text-align: center;
    max-width: 900px;
    margin-top: auto;
    /* Push down to vertical center of available space */
    margin-bottom: auto;
    /* Push up from bottom image */
    z-index: 10;
}

.hero-title {
    font-size: 2.8rem;
    /* Scaled down from 3.2 */
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    /* Tighter letter spacing for professional feel */
    white-space: nowrap;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 40px;
    font-weight: 400;
    max-width: 900px;
    /* Increased to keep text on 2 lines */
    margin-left: auto;
    margin-right: auto;
    color: var(--clr-text-light);
}

.hero-image-bottom {
    width: 100%;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: relative;
    z-index: 5;
    height: 70vh;
    /* Increased to fill more screen height */
    min-height: 450px;
}

/* --- INTERACTIVE ARCH GALLERY --- */
.arch-gallery {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    /* Anchor to bottom */
    width: 100%;
    height: 100%;
    /* Make images visible by filling container height */
    padding: 0;
    background: transparent;
    /* Remove glassmorphism container */
    box-shadow: none;
    backdrop-filter: none;
    overflow: hidden;
    padding-top: 20px;
}

.arch-card {
    position: relative;
    /* Create the 'Tombstone' Arch Shape */
    border-radius: 100px 100px 0 0;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin: 0 10px;
}

.arch-card.hidden {
    width: 0 !important;
    height: 180px !important;
    opacity: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

.arch-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.8s ease;
}

/* Staggered Heights & Widths for exact reference match using scalable units */
.arch-card.pos-1,
.arch-card.pos-5 {
    width: 15vw;
    max-width: 160px;
    height: 65%;
    filter: brightness(0.6);
}

.arch-card.pos-2,
.arch-card.pos-4 {
    width: 17vw;
    max-width: 180px;
    height: 85%;
    filter: brightness(0.8);
}

.arch-card.pos-3 {
    width: 22vw;
    max-width: 220px;
    height: 100%;
    filter: brightness(1);
    z-index: 10;
    /* Center is highest */
}

/* Active interactions (slider logic only, no manual hover) */
.arch-card.active-slide {
    width: 22vw !important;
    max-width: 220px !important;
    height: 100% !important;
    filter: brightness(1) !important;
    z-index: 20;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* --- UTILITIES --- */
.text-center {
    text-align: center;
}

.highlight {
    color: var(--clr-accent-blue);
}

.bg-purple {
    background-color: var(--clr-bg-pastel-sky);
    border-radius: 50px;
    margin: 0 2%;
    padding-bottom: 60px;
}

/* --- SECTION HEADERS --- */
.section-header {
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.8rem;
    /* Scaled down from 3.5 */
    margin-bottom: 15px;
    color: #132354 !important;
}

.section-header p {
    font-size: 1.15rem;
    /* Better pairing with the smaller heading */
}

/* --- EXPERTISE SECTION (BENTO BOX GRID) --- */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    grid-auto-flow: dense;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.expertise-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    backdrop-filter: blur(10px);
    border: none;
    padding: 50px 40px;
    /* Increased for breathing room */
    border-radius: 20px;
    text-align: center;
    /* Center horizontally */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Center vertically inside bento box */
    align-items: center;
    /* Center horizontally */
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.expertise-card h3 {
    font-size: 1.25rem;
    color: var(--clr-text-dark);
    font-weight: 700;
    margin-bottom: 12px;
    /* Increased gap between heading and paragraph */
    z-index: 2;
}

.expertise-card p {
    font-size: 0.95rem;
    line-height: 1.3;
    color: var(--clr-text-light);
    z-index: 2;
}

/* Bento Span Classes */
.span-2x2 {
    grid-column: span 2;
    grid-row: span 2;
}

.span-2x2 h3 {
    font-size: 1.8rem;
}

.span-2x1 {
    grid-column: span 2;
    grid-row: span 1;
}

.span-1x2 {
    grid-column: span 1;
    grid-row: span 2;
}

/* Beautiful decorative star element instead of images */
.expertise-card::after {
    content: '✦';
    position: absolute;
    top: -20px;
    right: -10px;
    font-size: 10rem;
    color: rgba(0, 0, 0, 0.03);
    z-index: 0;
    line-height: 1;
    pointer-events: none;
}

/* Outstanding Gold Card Styling */
.inclusive-card-gold {
    position: relative;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
    background: linear-gradient(135deg, rgba(253, 251, 251, 0.9) 0%, rgba(255, 245, 215, 0.95) 100%) !important;
    border: 2px solid #ffd700 !important;
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.4), inset 0 0 15px rgba(255, 215, 0, 0.2) !important;
}

/* Removed Base glowing effect */

/* Overlay Glossy Reflection */
.inclusive-card-gold::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 150%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.8) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: glossyShine 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    z-index: 10;
    pointer-events: none;
}

.inclusive-card-gold:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 45px rgba(255, 215, 0, 0.7), inset 0 0 20px rgba(255, 215, 0, 0.4) !important;
    border-color: #ffea00 !important;
}

/* Removed hover rotation and goldShimmer keyframes */

@keyframes glossyShine {
    0% {
        left: -150%;
    }

    15% {
        left: 150%;
    }

    100% {
        left: 150%;
    }
}


/* --- UTILITIES CONTINUED --- */
.bg-pink {
    background-color: var(--clr-bg-pastel-cyan);
    border-radius: 50px;
    margin: 0 2%;
    padding-bottom: 60px;
}

.mt-50 {
    margin-top: 50px;
}

.rounded-img {
    border-radius: 30px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.floating-slow {
    animation: character-float 8s ease-in-out infinite reverse;
}

/* --- SPLIT CONTENT (Inclusive & Services) --- */
.split-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.split-content.reverse {
    flex-direction: row-reverse;
}

.split-text {
    flex: 1;
}

.split-text h2 {
    font-size: 2.6rem;
    /* Scaled down from 3.0 */
    margin-bottom: 30px;
    color: #132354 !important;
}

.split-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

/* Staggered Lists */
.staggered-list {
    margin-top: 20px;
}

.staggered-list li {
    font-size: 1.1rem;
    /* Slightly smaller font */
    padding: 10px 15px;
    /* Tighter padding */
    margin-bottom: 10px;
    /* Tighter margin */
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    border-left: 4px solid var(--clr-accent-blue);
    transition: var(--transition-fast);
    backdrop-filter: blur(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

.staggered-list li:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

/* Why Choose Us Grid */
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.why-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(230, 240, 255, 0.8), transparent 70%);
    z-index: -1;
    opacity: 0;
    transition: var(--transition-smooth);
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
}

.why-card:hover::before {
    opacity: 1;
}

.why-icon {
    height: 90px;
    width: auto;
    margin-bottom: 25px;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.why-card:hover .why-icon {
    transform: scale(1.15) rotate(5deg);
}

.why-card h3 {
    font-size: 1.3rem;
    /* Scaled down from 1.4 */
    color: var(--clr-text-dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.why-card p {
    color: var(--clr-text-light);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Service Specific List Styling - Dotted Timeline */
#services .staggered-list {
    position: relative;
    padding-left: 30px;
    border-left: 2px dashed rgba(74, 144, 226, 0.3);
    margin-left: 20px;
}

#services .staggered-list li {
    position: relative;
    padding: 6px 0 6px 15px;
    /* Tighter vertical padding */
    border-left: none;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    font-weight: 500;
    font-size: 1.05rem;
    /* Slightly smaller text for fit */
    margin-bottom: 8px;
    /* Tighter spacing */
    display: flex;
    align-items: center;
    color: var(--clr-text-light);
    transition: all 0.4s ease;
    cursor: pointer;
}

/* The hollow dot on the timeline */
#services .staggered-list li::before {
    content: '';
    position: absolute;
    left: -27px;
    /* Align precisely over the dashed border */
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--clr-bg-pastel-blue);
    /* Match background so it looks hollow */
    border: 3px solid rgba(74, 144, 226, 0.5);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

#services .staggered-list li:hover {
    transform: translateX(10px);
    color: var(--clr-text-dark);
}

#services .staggered-list li:hover::before {
    background: var(--clr-accent-blue);
    border-color: var(--clr-accent-blue);
    box-shadow: 0 0 15px rgba(74, 144, 226, 0.6);
    transform: translateY(-50%) scale(1.3);
}

/* Service Showcase Dynamic Graphic */
.service-showcase {
    position: relative;
    width: 320px;
    /* Reduced from 380px to save space */
    height: 320px;
    /* Reduced from 380px to save space */
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    border-radius: 50%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
    z-index: 1;
}

.glow-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: -1;
}

.ring-1 {
    width: 100%;
    height: 100%;
    border: 3px dashed rgba(137, 181, 219, 0.8);
    animation: spin 20s linear infinite;
    z-index: 0;
}

.ring-2 {
    width: 115%;
    height: 115%;
    border: 2px solid rgba(82, 96, 117, 0.5);
    animation: spinReverse 25s linear infinite;
    z-index: 0;
}

.showcase-content {
    text-align: center;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.showcase-content h3 {
    font-size: 1.6rem;
    /* Scaled down from 1.8 */
    color: var(--clr-text-dark);
    font-weight: 700;
    line-height: 1.3;
    padding: 0 20px;
}

@keyframes spin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes spinReverse {
    from {
        transform: translate(-50%, -50%) rotate(360deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(0deg);
    }
}

/* --- MISSION SECTION --- */
.mission-card {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 50px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    backdrop-filter: blur(20px);
    border-radius: 30px;
    text-align: center;
    border: 1px solid rgba(137, 181, 219, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.mission-card .quote-mark {
    position: absolute;
    top: -30px;
    left: 20px;
    font-size: 15rem;
    font-family: serif;
    color: rgba(137, 181, 219, 0.08);
    /* Faint orange */
    line-height: 1;
    z-index: 0;
}

.mission-card h2 {
    position: relative;
    z-index: 1;
    margin-bottom: 30px;
    font-size: 2.5rem;
    /* explicit size declaration to ensure scaling */
    color: #132354 !important;
}

.mission-card p {
    position: relative;
    z-index: 1;
    font-size: 1.8rem;
    line-height: 1.6;
    color: var(--clr-text-dark);
    font-style: italic;
    font-weight: 300;
}

/* --- CIRCULAR 3D GALLERY (SWIPER) --- */
.overflow-hidden {
    overflow: hidden !important;
}

.swiper,
.gallery-slider {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 70px;
    overflow: hidden !important;
    /* Force prevent internal scrollbars */
    -ms-overflow-style: none !important;
    /* IE and Edge */
    scrollbar-width: none !important;
    /* Firefox */
}

.swiper::-webkit-scrollbar,
.gallery-slider::-webkit-scrollbar,
.swiper-wrapper::-webkit-scrollbar {
    display: none !important;
    /* Chrome, Safari and Opera */
    width: 0 !important;
    height: 0 !important;
}

.gallery-slider .swiper-slide {
    background-position: center;
    background-size: cover;
    width: 400px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.gallery-slider .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-pagination-bullet {
    background: var(--clr-white) !important;
    opacity: 0.5 !important;
}

.swiper-pagination-bullet-active {
    background: var(--clr-accent-blue) !important;
    opacity: 1 !important;
}

@media (max-width: 768px) {
    .gallery-slider .swiper-slide {
        width: 280px;
        height: 280px;
    }
}

/* --- FOOTER --- */
.footer {
    background: radial-gradient(circle at top center, #2d1a45, #120b1d);
    color: var(--clr-white);
    padding: 100px 0 0;
    /* Removed horizontal padding so bottom bar can span 100% */
    text-align: center;
    position: relative;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(137, 181, 219, 0.5), transparent);
}

.footer-content {
    padding: 0 5%;
}

.footer-content h2 {
    color: var(--clr-white);
    font-size: 2.8rem;
    margin-bottom: 5px;
}

.footer-layout {
    display: flex;
    justify-content: space-evenly;
    /* Use evenly for better spacing between columns and divider */
    align-items: center;
    max-width: 1000px;
    /* slightly wider to allow for breathing room */
    margin: 0 auto 40px;
}

/* Footer 3-Column Layout */
.footer-3-col {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    align-items: start;
    width: 100%;
}

.footer-col-brand {
    border-right: 2px solid rgba(255, 255, 255, 0.1);
    padding-right: 20px;
    /* Reduced from 40px for tighter spacing */
    align-items: flex-start;
    text-align: left;
}

.footer-col-address {
    border-right: 2px solid rgba(255, 255, 255, 0.1);
    padding-right: 20px;
    padding-left: 20px;
}

.footer-col-socials {
    padding-left: 5px;
    /* Reduced padding/margin for 3rd section */
}

.footer-col-address h3,
.footer-col-socials h3 {
    margin-bottom: 20px;
    color: var(--clr-accent-blue);
    font-size: 1.4rem;
}

.footer-col-address p {
    color: #cbd5e1;
    margin-bottom: 8px;
    font-size: 1.05rem;
    line-height: 1.4;
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 0px;
    transition: var(--transition-smooth);
    text-align: left;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-icon {
    font-size: 2.5rem;
    margin-right: 20px;
    background: linear-gradient(135deg, var(--clr-bg-pastel-violet), var(--clr-accent-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
}

.contact-text {
    display: flex;
    flex-direction: column;
}

.contact-text strong {
    font-size: 1.1rem;
    color: var(--clr-white);
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-text span {
    font-size: 1rem;
    color: #94a3b8;
}

.whatsapp-btn {
    background: #25D366;
    /* Official WhatsApp Green */
    color: white;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    border: none;
    font-weight: 600;
    padding: 12px 30px;
    /* Reduced from 16px 40px */
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    /* Slightly tighter gap */
    font-size: 1.05rem;
    /* Reduced from 1.2rem */
    transition: all 0.3s ease;
    text-decoration: none;
}

/* Fix for mobile auto-color on phone numbers */
a[href^="tel"] {
    color: inherit !important;
    text-decoration: none !important;
}

.whatsapp-btn:hover {
    background: #1ebe57;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
    color: white;
}

@media screen and (max-width: 992px) {
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: auto;
    }

    .span-2x2,
    .span-2x1,
    .span-1x2 {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }

    .span-2x2 h3 {
        font-size: 1.5rem;
    }

    .footer-3-col {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-col-brand,
    .footer-col-address,
    .footer-col-socials {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0 !important;
        border-right: none !important;
        border-bottom: 2px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 30px !important;
        text-align: center !important;
    }

    .footer-col-brand>div {
        justify-content: center !important;
        width: 100%;
    }

    .footer-col-socials {
        border-bottom: none !important;
    }

    .footer-col-brand p,
    .footer-col-address p {
        margin-left: auto;
        margin-right: auto;
        text-align: center !important;
    }

    .footer-content h2 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .footer-content p {
        font-size: 1.1rem !important;
        text-align: center !important;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        justify-content: center;
        width: 100%;
        margin-bottom: 25px !important;
    }

    .contact-icon {
        margin-right: 0 !important;
    }

    .contact-text {
        align-items: center;
        text-align: center;
    }
}

@media screen and (max-width: 576px) {
    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
    }

    .section-padding {
        padding: 40px 5% 30px 5%;
    }

    .bg-purple,
    .bg-pink {
        padding-bottom: 35px;
    }

    .section-header {
        margin-bottom: 25px;
    }

    .mt-50 {
        margin-top: 25px;
    }

    #testimonials {
        padding-bottom: 10px !important;
    }

    #testimonials .swiper {
        padding-top: 10px;
        padding-bottom: 30px;
    }

    #inclusive {
        padding-bottom: 20px !important;
    }

    #services {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }
}

.mt-20 {
    margin-top: 20px;
}

.footer-bottom {
    margin-top: 60px;
    padding: 25px 5%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #0b0712;
    /* Distinct dark background for full width */
    color: #94a3b8;
    /* Slightly lighter than previous color for readability */
    font-size: 0.95rem;
    width: 100%;
    /* Ensure it spans the entire container width */
}

/* --- ANIMATIONS --- */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

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

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

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

/* --- MOBILE RESPONSIVENESS --- */
@media screen and (max-width: 768px) {

    /* Navbar / Hamburger Overlay */
    .hamburger {
        display: flex;
        margin-left: auto;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        z-index: 1000;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li a {
        font-size: 1.8rem;
    }

    .navbar .btn-primary {
        display: none;
    }

    /* Hero Adjustments */
    .hero.centered-hero {
        padding-top: 90px;
        min-height: 500px;
    }

    .hero-title {
        font-size: clamp(1.2rem, 5vw, 2rem);
        padding: 0 15px;
        white-space: normal;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        padding: 0 20px;
        margin-bottom: 20px;
    }

    /* Compress the Arch Gallery for mobile */
    .hero-image-bottom {
        height: 60vh;
        min-height: 350px;
    }

    .arch-card {
        margin: 0 5px;
        /* Tighter spacing */
        border-radius: 60px 60px 0 0;
        /* Softer arch for smaller cards */
    }

    /* Hide outermost cards on mobile — show only 3 */
    .arch-card.pos-1,
    .arch-card.pos-5 {
        width: 0 !important;
        opacity: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        box-shadow: none !important;
        pointer-events: none;
        overflow: hidden;
    }

    .arch-card.pos-2,
    .arch-card.pos-4 {
        width: 28vw;
        max-width: 110px;
        height: 75%;
    }

    .arch-card.pos-3,
    .arch-card.active-slide {
        width: 40vw !important;
        max-width: 160px !important;
        height: 100% !important;
    }

    /* General Spacing & Typography */
    .section-padding {
        padding: 60px 5%;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }

    /* Split Content Stacking */
    .split-content {
        flex-direction: column !important;
        gap: 40px;
        text-align: center;
    }

    .split-content.reverse {
        flex-direction: column !important;
    }

    #services .staggered-list li {
        text-align: left;
        /* Keep list readable */
    }

    /* Hide the Showcase Circle on mobile as requested */
    #services .split-image {
        display: none !important;
    }

    /* Mission Adjustments */
    .mission-card {
        padding: 30px 20px;
    }

    .mission-card h2 {
        font-size: 2rem;
    }

    .mission-card p {
        font-size: 1.1rem;
    }
}

/* --- INCLUSIVE EVENT IMAGES --- */
.inclusive-image-container {
    position: relative;
    min-height: 620px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.inclusive-img-1 {
    width: 72%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    border: 15px solid var(--clr-bg-pastel-cyan);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    transform: rotate(-6deg);
    transform-origin: top left;
}

.inclusive-img-2 {
    width: 65%;
    position: absolute;
    bottom: 10px;
    right: 0;
    z-index: 2;
    border: 15px solid var(--clr-bg-pastel-cyan);
    box-shadow: 0 20px 45px rgba(0,0,0,0.2);
    animation-delay: 2s;
    transform: rotate(6deg);
    transform-origin: bottom right;
}

/* --- TESTIMONIALS SECTION --- */
#testimonials .split-image::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(137, 181, 219, 0.4) 0%, rgba(255, 255, 255, 0) 70%);
    transform: translate(-50%, -50%);
    z-index: 0;
    border-radius: 50%;
}

.testimonial-card {
    background: #ffffff;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(137, 181, 219, 0.2);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* --- SCATTER MODE overrides --- */
.scatter-mode {
    position: relative;
    overflow: hidden !important;
    height: 700px;
    margin-top: 20px;
    /* allow pointer events strictly to child cards */
}

.scatter-mode .swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
}

/* Ensure smooth transitions for all cards */
.scatter-mode .swiper-slide {
    width: 450px !important;
    height: auto !important;
    transform-origin: center;
    transition: filter 0.5s ease, opacity 0.5s ease, transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform, filter, opacity;
    /* Disable default swiper shadow if any */
}

/* DOF Effect: When any card is hovered, push the others back and blur them */
.scatter-mode:has(.swiper-slide:hover) .swiper-slide:not(:hover) {
    filter: blur(8px) !important;
    opacity: 0.4 !important;
}

/* The hovered card jumps to the front and focuses */
.scatter-mode .swiper-slide:hover {
    filter: blur(0px) !important;
    opacity: 1 !important;
    z-index: 100 !important;
    transform: translate(var(--hover-x, -50%), var(--hover-y, -50%)) scale(0.9) !important; /* Bring it closer to camera, moving towards center */
}

/* Any card hovered gets full size and shadow */
.scatter-mode .swiper-slide .testimonial-card:hover {
    transform: translateY(-12px) scale(1.03); /* slightly bigger pop on hover */
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
    border-color: var(--clr-accent-blue);
}

/* Hide pagination during scatter mode */
.scatter-mode ~ .testimonials-pagination {
    display: none !important;
}


.testimonials-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--clr-accent-blue);
    opacity: 0.4;
    transition: all 0.3s ease;
}

.testimonials-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    width: 25px;
    border-radius: 5px;
}

/* --- INCLUSIVE TOAST POPUP --- */
.inclusive-toast {
    position: fixed;
    bottom: 30px;
    right: -400px;
    width: 350px;
    background: #ffffff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-left: 5px solid var(--clr-accent-blue);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.inclusive-toast.show {
    right: 30px;
    opacity: 1;
    visibility: visible;
}

.close-toast-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--clr-text-light);
    transition: color 0.3s ease;
    line-height: 1;
}

.close-toast-btn:hover {
    color: #ff4757;
}

.toast-title {
    font-size: 1.3rem;
    color: #132354 !important;
    margin-bottom: 15px;
    line-height: 1.2;
    padding-right: 20px;
}

.toast-intro {
    font-size: 0.95rem;
    color: var(--clr-text-light);
    margin-bottom: 15px;
    line-height: 1.5;
}

.toast-features {
    text-align: left;
    margin: 0 0 15px 0;
}

.toast-features li {
    font-size: 0.9rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    color: var(--clr-text-dark);
    font-weight: 500;
}

.toast-footer-text {
    font-size: 0.95rem;
    color: #132354;
    background: var(--clr-bg-pastel-cyan);
    padding: 10px;
    border-radius: 8px;
    margin-top: 10px;
    text-align: center;
}

@media screen and (max-width: 576px) {
    /* --- Popup: smaller on mobile --- */
    .inclusive-toast {
        width: 88%;
        bottom: 15px;
        right: -100%;
        left: 6%;
        padding: 14px; /* reduced from 25px */
    }

    .inclusive-toast.show {
        right: auto;
        left: 6%;
    }

    .close-toast-btn {
        top: 10px;
        right: 10px;
        font-size: 1.2rem;
    }

    .toast-title {
        font-size: 1.05rem;
        margin-bottom: 8px;
    }

    .toast-intro {
        font-size: 0.8rem;
        margin-bottom: 8px;
        line-height: 1.4;
    }

    .toast-features {
        margin: 0 0 8px 0;
    }

    .toast-features li {
        font-size: 0.78rem;
        margin-bottom: 4px;
    }

    .toast-footer-text {
        font-size: 0.8rem;
        padding: 7px;
        margin-top: 5px;
    }

    .whatsapp-btn {
        padding: 8px 14px !important;
        font-size: 0.9rem !important;
        height: 38px !important;
    }

    /* --- Inclusive images: both visible, better spacing --- */
    .inclusive-image-container {
        min-height: 620px; /* Increased from 480px to allow more vertical space */
    }

    .inclusive-img-1 {
        width: 78%;
        border-width: 7px;
        transform: rotate(-4deg);
        top: 0;
        left: 0;
    }

    .inclusive-img-2 {
        width: 72%;
        border-width: 7px;
        top: 220px; /* Pushed down significantly to reduce overlap */
        right: 0;
        transform: rotate(4deg);
    }
}

/* --- PAGE LOADER --- */
#page-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: linear-gradient(135deg, #e8f0fe 0%, #e0f4f9 50%, #f3e5f5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#page-loader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
}

.loader-logo {
    width: 90px;
    height: auto;
    animation: loader-pulse 1.6s ease-in-out infinite;
    filter: drop-shadow(0 8px 20px rgba(137, 181, 219, 0.5));
}

@keyframes loader-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.loader-dots {
    display: flex;
    gap: 8px;
}

.loader-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--clr-accent-blue);
    animation: loader-bounce 1.2s ease-in-out infinite;
}

.loader-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.loader-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes loader-bounce {

    0%,
    80%,
    100% {
        transform: scale(0.6);
        opacity: 0.4;
    }

    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}