:root {
    --bg-color: #FAFCF8;
    --text-color: #0A0A0A;
    --text-muted: #616161;
    --primary: #A2C87B;
    --secondary: #8AB361;
    --accent: #111111;
    --surface: #FFFFFF;
    --surface-hover: #F4F6F1;
    --border: rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.65;
    font-weight: 300;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -webkit-overflow-scrolling: touch;
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-color);
}

html {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    scroll-padding-top: 100px;
    /* Base desktop padding */
}

/* Custom Cursor */
.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.cursor.active {
    width: 40px;
    height: 40px;
    background-color: rgba(162, 200, 123, 0.2);
}

/* Shared Classes */
.gradient-text {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(162, 200, 123, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 10px 30px rgba(162, 200, 123, 0.5);
    background: var(--secondary);
}

.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--surface-hover);
    border-color: var(--text-color);
}

.w-full {
    width: 100%;
}

/* Custom Logo CSS */
.brand-logo {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto auto;
    column-gap: 8px;
    color: var(--text-color);
    text-decoration: none;
    align-items: center;
    width: fit-content;
    transition: transform 0.3s ease;
}

.brand-logo:hover {
    transform: scale(1.02);
}

.logo-so-top {
    grid-column: 1;
    grid-row: 1;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 5px;
    line-height: 1;
    color: var(--text-color);
}

.logo-bar-top {
    grid-column: 2;
    grid-row: 1;
    height: 7px;
    background-color: var(--primary);
    width: 65px;
    margin-top: 5px;
}

.logo-bar-bottom {
    grid-column: 1;
    grid-row: 2;
    height: 7px;
    background-color: var(--primary);
    width: 65px;
    margin-top: 8px;
    margin-bottom: 8px;
}

.logo-media {
    grid-column: 1;
    grid-row: 3;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3px;
    line-height: 1;
    color: var(--text-color);
}

.logo-so-bottom {
    grid-column: 2;
    grid-row: 2 / 4;
    font-size: 38px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 5px;
    color: var(--text-color);
    margin-left: 10px;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

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

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-nav {
    padding: 10px 24px;
    border: 1px solid var(--border);
    border-radius: 30px;
}

.btn-nav:hover {
    background: var(--text-color);
    color: white !important;
}

/* Mobile Hamburger Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 22px;
    cursor: pointer;
    z-index: 1001;
    /* Above navbar and overlay */
}

.mobile-menu-btn span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--text-color);
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

/* Hamburger Animation classes */
.mobile-menu-btn.open span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.mobile-menu-btn.open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.open span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(250, 252, 248, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-nav-links {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.mobile-link {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
    letter-spacing: -0.02em;
}

.mobile-nav-links li {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.mobile-menu-overlay.active .mobile-nav-links li {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-overlay.active .mobile-nav-links li:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-menu-overlay.active .mobile-nav-links li:nth-child(2) {
    transition-delay: 0.2s;
}

.mobile-menu-overlay.active .mobile-nav-links li:nth-child(3) {
    transition-delay: 0.3s;
}

.btn-mobile-nav {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary);
    color: white !important;
    border-radius: 40px;
    font-size: 1.5rem;
    margin-top: 20px;
}

/* Hero Slider */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    background-color: var(--bg-color);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(162, 200, 123, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(138, 179, 97, 0.08) 0%, transparent 50%);
    animation: rotateMesh 40s linear infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes rotateMesh {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.1);
    }

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

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.165, 0.84, 0.44, 1);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 0 5%;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-content {
    position: relative;
    max-width: 750px;
    z-index: 3;
}

.slider-controls {
    position: absolute;
    bottom: 50px;
    right: 5%;
    display: flex;
    gap: 15px;
    z-index: 3;
}

.slider-btn {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-color);
}

.slider-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 5%;
    display: flex;
    gap: 8px;
    z-index: 3;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: var(--primary);
    width: 20px;
    border-radius: 5px;
}

/* Removed old visual stat cards CSS since we now use a slider */

.premium-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(162, 200, 123, 0.15);
    border: 1px solid rgba(162, 200, 123, 0.3);
    color: var(--primary);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
}

.hero-content h1 {
    font-size: 4.8rem;
    line-height: 1.05;
    margin-bottom: 25px;
    font-weight: 800;
    color: var(--text-color);
    letter-spacing: -0.04em;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-visual {
    flex: 1;
    position: relative;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glass-card {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 25px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 2;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.05);
    position: absolute;
    animation: float 6s ease-in-out infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 35px 60px rgba(162, 200, 123, 0.15);
}

.stat-card-1 {
    top: 10%;
    right: 5%;
    animation-delay: 0s;
}

.stat-card-2 {
    bottom: 20%;
    left: 0%;
    animation-delay: -2s;
}

.stat-card-3 {
    top: 45%;
    right: -10%;
    animation-delay: -4s;
    background: rgba(25, 25, 25, 0.9);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-card-3 .stat-info p {
    color: #fff;
}

.stat-icon {
    font-size: 2.5rem;
    line-height: 1;
    background: rgba(162, 200, 123, 0.2);
    padding: 15px;
    border-radius: 15px;
}

.stat-card-3 .stat-icon {
    background: rgba(255, 255, 255, 0.1);
}

.stat-info h3 {
    font-size: 2rem;
    color: var(--text-color);
    line-height: 1;
    margin-bottom: 5px;
    font-weight: 800;
}

.stat-card-3 .stat-info h3 {
    color: #fff;
}

.stat-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

.stat-avatars {
    display: flex;
    align-items: center;
}

.stat-avatars img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 3px solid #191919;
    margin-left: -15px;
    object-fit: cover;
}

.stat-avatars img:first-child {
    margin-left: 0;
}

.avatar-more {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.85rem;
    border: 3px solid #191919;
    margin-left: -15px;
    z-index: 1;
}

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

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

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

.glowing-orb {
    position: absolute;
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.25;
    animation: pulse 8s infinite alternate;
}

/* Services - Premium Dark UI Redesign */
.services {
    padding: 120px 5% 60px 5%;
    /* Increased top padding to clear the navbar */
    background: #000000;
    /* Deep pitch black background for extreme contrast */
    background-image: radial-gradient(circle at 15% 50%, rgba(162, 200, 123, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(162, 200, 123, 0.05), transparent 25%);
    min-height: 100vh;
    min-height: 100dvh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

/* Ensure the white header gets a dark backdrop and text inversion */
.services .section-title h2 {
    color: #ffffff;
}

.services .section-title p {
    color: #a0a0a0;
}

.section-title {
    text-align: left;
    /* Left align to match reference */
    margin-bottom: 30px;
    max-width: 1200px;
    /* Align with grid */
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.section-title h2 {
    font-size: 4.2rem;
    /* Massive typography to match reference */
    font-weight: 800;
    /* Bolder weight */
    margin-bottom: 5px;
    /* Tighter margin so it fits on screen */
    color: var(--text-color);
    letter-spacing: -0.03em;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 600px;
    /* Prevent text spanning too wide on left align */
}

/* The Advanced Bento Grid */
.advanced-bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.advanced-bento-grid .col-span-2 {
    grid-column: span 2;
}

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

    .advanced-bento-grid .col-span-2 {
        grid-column: span 2;
        /* Still spans full row in tablet */
    }
}

@media (max-width: 768px) {
    .advanced-bento-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin: 0;
        padding: 0;
    }

    .advanced-bento-grid .col-span-2 {
        grid-column: span 1;
    }
}

/* Card Slider System */
.card-slider {
    position: relative;
    width: 100%;
    height: 400px;
    /* Increased dramatically for beautiful editorial imagery */
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.card-slides {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
}

.card-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease-in-out, transform 0.6s ease;
    transform: scale(1.05);
}

.card-slide.active {
    opacity: 1;
    transform: scale(1);
    /* Subtle zoom out animation on entrance */
}

.card-slider-controls {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: flex;
    gap: 6px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.service-card:hover .card-slider-controls {
    opacity: 1;
    transform: translateY(0);
}

.card-btn {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: auto;
    /* It will be interactive */
    font-size: 16px;
    color: var(--text-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: background 0.2s, transform 0.2s;
    pointer-events: auto;
}

.card-btn:hover {
    background: white;
    transform: scale(1.1);
}

.card-dots {
    position: absolute;
    bottom: 15px;
    left: 15px;
    display: flex;
    gap: 5px;
    z-index: 2;
}

.card-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    cursor: pointer;
}

.card-dot.active {
    background: white;
    width: 16px;
    border-radius: 3px;
}

/* Premium Bento Glassmorphism Cards */
.premium-bento-card {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 24px;
    text-align: left;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* Push content to bottom for modern feel */
}

/* The Mouse-Tracking Glow Effect */
.premium-bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(162, 200, 123, 0.08) 0%,
            /* Theme brand color glow */
            transparent 40%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 1;
}

.premium-bento-card:hover::before {
    opacity: 1;
}

/* Inner border glow */
.premium-bento-card::after {
    content: '';
    position: absolute;
    inset: 0px;
    border-radius: 24px;
    padding: 1px;
    background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(162, 200, 123, 0.5) 0%,
            rgba(255, 255, 255, 0.02) 50%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 2;
    pointer-events: none;
}

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

/* Floating Icon */
.premium-bento-card .service-icon {
    width: 38px;
    height: 38px;
    color: var(--primary);
    /* Keeps brand green */
    margin-bottom: auto;
    /* Pushes to top */
    transition: transform 0.4s ease, filter 0.4s ease;
    filter: drop-shadow(0 0 10px rgba(162, 200, 123, 0.2));
    z-index: 3;
    position: relative;
}

.premium-bento-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    background: rgba(30, 30, 30, 0.7);
}

.premium-bento-card:hover .service-icon {
    transform: scale(1.15) translateY(-4px) rotate(-5deg);
    filter: drop-shadow(0 0 15px rgba(162, 200, 123, 0.6));
}

/* Typography Overrides for Dark Scheme */
.premium-bento-card h3 {
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #ffffff;
    letter-spacing: -0.02em;
    z-index: 3;
    position: relative;
    line-height: 1.2;
}

.premium-bento-card p {
    color: #aaaaaa;
    font-size: 0.95rem;
    line-height: 1.4;
    font-weight: 400;
    z-index: 3;
    position: relative;
}

/* About Section - Stunning Premium Dark Redesign */
.about {
    padding: 150px 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    min-height: 100dvh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    position: relative;
    /* Rich, deep dark gradient background */
    background: linear-gradient(135deg, #090B0A 0%, #151A16 100%);
    color: #ffffff;
    overflow: hidden;
}

/* Add a subtle glow behind the cards */
.about::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(162, 200, 123, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    top: 50%;
    right: -10%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 0;
}

.about-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 25vw;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    white-space: nowrap;
    z-index: 0;
    pointer-events: none;
    user-select: none;
    letter-spacing: -0.05em;
    line-height: 0.8;
}

.about-container {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    z-index: 1;
    position: relative;
    align-items: center;
}

.about-left h2 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #ffffff;
}

.about-left .lead-text {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.15rem;
    line-height: 1.7;
}

.about-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-slider-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    /* Keep cards from getting too wide */
    margin: 0 auto;
    overflow: hidden;
}

.about-slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}

.about-slide {
    min-width: 100%;
    opacity: 0.4;
    transform: scale(0.95);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    padding: 20px 0;
}

.about-slide.active {
    opacity: 1;
    transform: scale(1);
}

.premium-feature-card {
    /* Glassmorphic effect */
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 45px 40px;
    /* Increased padding for deeper content */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

/* Subtle inner glow for cards */
.premium-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
    opacity: 0.5;
}

.premium-feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(162, 200, 123, 0.5);
    box-shadow: 0 20px 50px rgba(162, 200, 123, 0.15);
}

.about-slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 20px;
}

.about-btn-prev,
.about-btn-next {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.about-btn-prev:hover,
.about-btn-next:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--bg-color);
    transform: scale(1.1);
}

.about-slider-dots {
    display: flex;
    gap: 10px;
}

.about-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.about-dot.active {
    background: var(--primary-color);
    width: 25px;
    border-radius: 10px;
}

.premium-feature-card h3 {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 0;
    font-weight: 600;
}

.premium-feature-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Contact */
.contact {
    padding: 100px 5% 40px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background: var(--surface);
    min-height: 100vh;
    min-height: 100dvh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.contact-dashboard-wrapper {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 24px;
    padding: 24px 40px;
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}

.contact-text h2 {
    font-size: 2.4rem;
    margin-bottom: 0;
    color: var(--text-color);
}

.contact-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 20px !important;
}

.proposal-form-central {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Premium Bento Grid */
.premium-bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 10px;
    width: 100%;
    max-width: 1200px;
}

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

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

/* Bento Card Style */
.bento-card {
    position: relative;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    user-select: none;
    min-height: 140px;
}

.bento-card input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Hover Effect */
.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
    border-color: rgba(162, 200, 123, 0.3);
}

/* Checked State */
.bento-card:has(input:checked) {
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--primary);
    box-shadow: 0 8px 30px rgba(162, 200, 123, 0.15);
    transform: translateY(-2px);
}

/* Bento Icon */
.bento-icon {
    width: 22px;
    height: 22px;
    color: var(--text-color);
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.bento-card:has(input:checked) .bento-icon {
    color: var(--primary);
}

/* Title & Description */
.bento-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 4px;
    transition: all 0.3s ease;
}

.bento-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.35;
    transition: all 0.3s ease;
}

/* Selection Ring (Top Right) */
.bento-ring {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.bento-card:hover .bento-ring {
    border-color: rgba(162, 200, 123, 0.5);
}

.bento-card:has(input:checked) .bento-ring {
    border-color: var(--primary);
    background: var(--primary);
}

.bento-card:has(input:checked) .bento-ring::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    width: 8px;
    height: 8px;
    background: var(--surface);
    border-radius: 50%;
    animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
    0% {
        transform: translate(-50%, -50%) scale(0);
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
    }
}



/* Budget Results */
.budget-results {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid var(--border);
    padding-top: 10px;
    margin-top: 5px;
    animation: springReveal 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.budget-results.hidden {
    display: none;
    opacity: 0;
    transform: translateY(20px);
}

.budget-tiers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.tier {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 8px 8px;
    /* Highly compressed vertical padding */
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: visible;
}

.tier.featured {
    padding-top: 20px;
    /* Makes room for the absolute recommended badge to not overlap */
}

.tier-radio {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 50%;
    margin: 0 auto 10px auto;
    position: relative;
    transition: all 0.3s ease;
}

.tier.selected {
    border-color: var(--primary);
    background: rgba(162, 200, 123, 0.05);
    /* Slight green tint */
    box-shadow: 0 5px 20px rgba(162, 200, 123, 0.15);
    transform: translateY(-3px);
}

.tier.selected .tier-radio {
    border-color: var(--primary);
}

.tier.selected .tier-radio::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.tier:hover:not(.selected) {
    border-color: rgba(162, 200, 123, 0.5);
    transform: translateY(-2px);
}

.recommended-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--bg-color);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 10px;
    letter-spacing: 0.5px;
    z-index: 2;
}

.tier h4 {
    font-size: 0.95rem;
    /* Reduced to fit in tight widths */
    color: var(--text-color);
    margin-bottom: 5px;
    font-weight: 600;
}

.tier.selected h4 {
    color: var(--primary);
    font-weight: 800;
}

.tier-price {
    font-size: 1.25rem;
    /* Reduced slightly */
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 5px;
}

.tier-desc {
    font-size: 0.75rem;
    /* Sub-text tightly compacted */
    color: var(--text-muted);
}

.calendly-cta {
    margin-top: 5px;
}

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

.small-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 5px;
}

.select-prompt {
    text-align: center;
    padding: 25px;
    background: var(--surface);
    border-radius: 15px;
    color: var(--text-muted);
    font-size: 1.05rem;
    border: 1px dashed var(--primary);
    background-color: rgba(162, 200, 123, 0.05);
}

/* Testimonials (Marquee) */
.testimonials {
    padding: 100px 0;
    overflow: hidden;
    background: var(--bg-color);
    scroll-snap-align: start;
    scroll-snap-stop: always;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.marquee-wrapper {
    position: relative;
    width: 100vw;
    margin-top: 40px;
}

/* Fade Edges for the Marquee */
.left-mask,
.right-mask {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 15%;
    z-index: 2;
    pointer-events: none;
}

.left-mask {
    left: 0;
    background: linear-gradient(to right, var(--bg-color) 0%, transparent 100%);
}

.right-mask {
    right: 0;
    background: linear-gradient(to left, var(--bg-color) 0%, transparent 100%);
}

.marquee-track {
    display: flex;
    gap: 30px;
    padding: 20px 0;
    width: max-content;
    animation: scroll-marquee 40s linear infinite;
}

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

    100% {
        /* Move exactly half the track width to seamlessly loop back to start */
        transform: translateX(calc(-50% - 15px));
    }
}

.marquee-track:hover {
    animation-play-state: paused;
}

.testimonial-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px 30px;
    width: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.quote-icon {
    font-size: 4rem;
    line-height: 1;
    color: var(--primary);
    opacity: 0.3;
    font-family: serif;
    margin-bottom: -10px;
}

.testimonial-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 30px;
    flex-grow: 1;
}

.client-info h4 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 5px;
}

.client-info span {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

footer {
    padding: 50px 5%;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: center;
    background: var(--bg-color);
    scroll-snap-align: end;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}

.footer-content p {
    color: var(--text-muted);
    font-size: 1rem;
}

.social-links {
    display: flex;
    gap: 25px;
}

.social-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 600;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--primary);
}

/* Reveal on Scroll */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

/* Utility Classes */
.desktop-hidden {
    display: none !important;
}

/* Animations */
.slide:not(.active) .fade-in-up {
    opacity: 0;
    transform: translateY(30px);
}

.slide.active .fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(30px);
    animation: fadeInLeft 0.8s forwards ease-out;
}

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

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

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#open-calendly {
    position: relative;
    overflow: hidden;
}

#open-calendly::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 100%;
    height: 200%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: buttonShine 3s infinite;
}

@keyframes buttonShine {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

@keyframes fadeInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.15;
    }

    100% {
        transform: scale(1.1);
        opacity: 0.35;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

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

/* Responsive */
@media (max-width: 900px) {
    .contact-box {
        grid-template-columns: 1fr;
        padding: 50px 30px;
        gap: 50px;
    }

    .glass-card {
        transform: none;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
        /* Show hamburger right away on max-width 900px */
    }

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

    .footer-content .brand-logo {
        transform: scale(0.65);
        transform-origin: center;
        /* Center scale for footer */
        margin-bottom: -15px;
        /* Offset the scale gap */
    }
}

.mobile-app-view {
    display: none;
}

@media (max-width: 768px) {

    /* --- GLOBAL MOBILE FIXES --- */
    html {
        scroll-padding-top: 80px;
        /* Offset for scaled mobile navbar */
    }

    /* Scale down the massive grid logo */
    .brand-logo {
        transform: scale(0.65);
        transform-origin: left center;
    }

    .brand-logo:hover {
        transform: scale(0.65);
        /* Remove hover grow on mobile */
    }

    /* Shrink Navbar padding */
    .navbar {
        padding: 10px 5%;
    }

    /* --- MODERN COMPACT HERO (MOBILE) --- */
    .hero {
        min-height: 100dvh;
        /* Guarantee fullscreen */
        height: 100dvh;
        padding: 0;
        display: flex;
        align-items: center;
        overflow: hidden;
    }

    /* Adjust the slide internal padding so text centers perfectly and ignores the fixed header */
    .slide {
        padding: 80px 5% 40px 5%;
        text-align: center;
    }

    .hero-watermark {
        opacity: 0.1;
        z-index: 0;
    }

    .hero-content {
        position: relative;
        z-index: 5;
        /* Ensure text is above watermark */
        width: 100%;
        margin: 0 auto;
        padding-top: 20px;
    }

    /* Compact dynamic typography for Mobile */
    .hero-content h1 {
        font-size: clamp(2.4rem, 10vw, 3.2rem);
        line-height: 1.1;
        letter-spacing: -0.04em;
        margin-bottom: 15px;
    }

    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 25px;
        line-height: 1.5;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        flex-direction: column;
        /* Stack buttons on very small screens */
        gap: 15px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-buttons a {
        width: 100%;
        text-align: center;
    }

    /* Hide Custom Cursor on Touch Devices */
    .cursor {
        display: none !important;
    }

    /* Mobile Wizard Form Utility */
    .desktop-hidden {
        display: flex !important;
    }

    .wizard-back-btn {
        background: transparent;
        color: rgba(255, 255, 255, 0.8);
        border: none;
        display: none;
        /* Controlled by JS / Utility classes */
        align-items: center;
        gap: 8px;
        font-family: inherit;
        font-size: 1rem;
        cursor: pointer;
        padding: 0 0 20px 0;
        margin-bottom: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* Standard Layout Resets */
    .section-title h2 {
        font-size: 2rem;
    }

    .section-title p {
        font-size: 1rem;
    }

    /* --- SERVICES BENTO COMPRESSION --- */
    .services {
        padding: 80px 5% 40px 5%;
        /* Less extreme padding on mobile */
    }

    .advanced-bento-grid {
        grid-auto-rows: minmax(140px, auto);
        /* Much tighter cards */
        gap: 12px;
    }

    .premium-bento-card {
        padding: 20px;
        /* Compress the enormous inner space */
        border-radius: 16px;
    }

    .premium-bento-card h3 {
        font-size: 1.25rem;
        /* Slightly smaller headers */
        margin-bottom: 6px;
    }

    .premium-bento-card p {
        font-size: 0.9rem;
    }

    /* --- WHY SOSO SLIDER FIX --- */
    .card-slider {
        height: auto;
        min-height: 280px;
        /* Don't force massive height */
    }

    .why-card {
        padding: 24px;
        align-items: center;
        /* Center content on mobile */
        text-align: center;
    }

    /* Move slider arrows so they don't overlap text on small screens */
    .slider-btn.prev {
        left: 5px;
    }

    .slider-btn.next {
        right: 5px;
    }

    /* Add bottom padding to card wrapper so dots don't overlap content */
    .slider-wrapper {
        padding-bottom: 30px;
    }

    /* Testimonials Responsive */
    .testimonials {
        padding: 60px 0;
    }

    .testimonial-card {
        width: 300px;
        /* Smaller card for mobile */
        padding: 30px 20px;
    }

    .testimonial-card p {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    /* Hero Responsive */
    .hero {
        padding: 100px 5% 40px;
        min-height: auto;
    }

    /* Two-column hero to one-column */
    .hero-slide-content {
        flex-direction: column-reverse;
        gap: 30px;
        text-align: center;
    }

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

    .hero-text h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-text p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    /* Resize 3D graphics for mobile */
    .hero-visual {
        min-height: 250px;
    }

    .floating-element {
        transform: scale(0.6);
    }

    /* Services Carousel Responsive */
    .services-grid {
        /* Ensuring single cards nicely fit while keeping scroll */
        grid-auto-columns: 85%;
        padding-bottom: 20px;
        gap: 20px;
    }

    /* Contact Form & Pricing Responsive */
    .contact {
        padding: 60px 5%;
    }

    .contact-dashboard-wrapper {
        flex-direction: column;
        padding: 40px 15px;
    }

    .wizard-back-btn {
        margin-top: 30px;
        /* Provides breathing room away from sticky header */
        margin-bottom: 20px;
    }

    .contact-text,
    .contact-form {
        max-width: 100%;
    }

    .contact-text h2 {
        font-size: 2rem;
    }

    /* Flatten Checkboxes layout */
    .service-checkboxes {
        grid-template-columns: 1fr;
    }

    /* Flatten Pricing Cards layout */
    .budget-tiers {
        grid-template-columns: 1fr;
    }

    .tier {
        padding: 15px;
    }

    .tier h4 {
        font-size: 1.2rem;
    }

    /* About Responsive */
    .about {
        padding: 60px 5%;
    }

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

    .premium-features {
        grid-template-columns: 1fr;
    }
}

/* Calendly Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.modal-overlay:not(.hidden) {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-color);
    border-radius: 20px;
    width: 95%;
    max-width: 1000px;
    height: 90vh;
    max-height: 800px;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
}

.modal-overlay:not(.hidden) .modal-content {
    transform: translateY(0);
}

.close-btn {
    position: absolute;
    right: -15px;
    top: -15px;
    background: var(--text-color);
    color: var(--bg-color);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, background 0.2s ease;
}

.close-btn:hover {
    transform: scale(1.1);
    background: var(--primary);
}

.modal-body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 20px;
}