: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;
}

/* 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 */
.services {
    padding: 120px 5%;
    background: var(--surface);
    min-height: 100vh;
    min-height: 100dvh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title h2 {
    font-size: 3.2rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.15rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

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

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

    .service-card {
        border-radius: 0;
        box-shadow: none;
        padding: 24px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        background: transparent;
        display: flex;
        flex-direction: column;
        justify-content: center;
        position: relative;
    }

    .service-card:last-child {
        border-bottom: none;
    }

    .service-card::after {
        content: '\203A';
        /* iOS style chevron */
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        font-size: 2rem;
        color: #cecece;
    }

    .service-card:hover {
        transform: none;
        box-shadow: none;
        background: transparent;
    }

    .service-card h3 {
        font-size: 1.15rem;
        margin-bottom: 6px;
        padding-right: 30px;
    }

    .service-card p {
        font-size: 0.9rem;
        color: #888;
        padding-right: 30px;
    }
}

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

.service-card {
    background: #ffffff;
    border: none;
    border-radius: 20px;
    padding: 24px 24px;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Subtle gradient hover effect */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(162, 200, 123, 0.04), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 10;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.01);
    /* Slight scale for premium feel */
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.06);
    /* Deeper, softer hover shadow */
}

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

.service-card h3 {
    font-size: 1.55rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1a1a1a;
    /* Deeper color for contrast */
    letter-spacing: -0.02em;
    /* Slightly tighter tracking */
}

.service-card p {
    color: #666666;
    /* Softer gray for description */
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
}

/* 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: 140px 5% 80px;
    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-box {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* Softer border */
    border-radius: 24px;
    padding: 25px 40px;
    /* Reduced vertical padding */
    width: 100%;
    max-width: 1150px;
    /* Increased to allow tiers to spread horizontally */
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    /* Provide slightly more room to checkboxes */
    gap: 60px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    /* Lighter shadow */
}

.contact-text h2 {
    font-size: 2.8rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.contact-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Proposal Form */
.proposal-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    /* Reduced gap */
}

.form-title {
    font-size: 1.15rem;
    /* Slightly smaller title */
    color: var(--text-color);
    margin-bottom: 0px;
}

.service-checkboxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    max-height: 600px;
    overflow-y: auto;
    padding-right: 15px;
}

/* Descriptive Mode for Form */
.service-checkboxes.descriptive-mode {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.service-checkboxes.descriptive-mode .checkbox-container {
    padding: 14px 16px 14px 45px;
}

.service-checkboxes.descriptive-mode .checkmark {
    left: 14px;
}

.service-checkboxes.descriptive-mode .cb-title {
    font-size: 0.95rem;
    font-weight: 700;
    display: block;
    margin-bottom: 3px;
}

.service-checkboxes.descriptive-mode .cb-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* Custom Checkbox */
.checkbox-container {
    display: flex;
    align-items: flex-start;
    position: relative;
    cursor: pointer;
    user-select: none;
    background: transparent;
    /* Minimalist background */
    border: 1px solid rgba(0, 0, 0, 0.08);
    /* Very subtle border */
    padding: 12px 15px 12px 42px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.checkbox-container:hover {
    border-color: rgba(162, 200, 123, 0.5);
    background: rgba(162, 200, 123, 0.02);
}

.checkbox-container:has(input:checked) {
    border-color: var(--primary);
    background: rgba(162, 200, 123, 0.05);
    box-shadow: 0 8px 20px rgba(162, 200, 123, 0.15);
    transform: translateY(-2px);
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    height: 18px;
    width: 18px;
    background-color: transparent;
    border: 2px solid rgba(0, 0, 0, 0.15);
    /* Softer outline */
    border-radius: 50%;
    /* Circular checkbox for modern feel */
    transition: all 0.2s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.checkbox-container:hover input~.checkmark {
    border-color: rgba(162, 200, 123, 0.6);
}

.checkbox-container input:checked~.checkmark {
    background-color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(162, 200, 123, 0.15);
    /* Subtle glowing ring */
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-container input:checked~.checkmark:after {
    display: block;
}

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

.cb-title {
    font-size: 0.95rem;
    font-weight: 600;
    /* Slightly thinner for elegance */
    color: #222;
    /* Pure dark gray instead of var */
    line-height: 1.2;
}

.cb-desc {
    font-size: 0.8rem;
    color: #666;
    /* Softer gray */
    font-weight: 400;
    margin-top: 2px;
    line-height: 1.35;
}

/* Budget Results */
.budget-results {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid var(--border);
    padding-top: 15px;
    margin-top: 10px;
    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: 10px 8px;
    /* Highly compressed vertical padding */
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.tier-radio {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 50%;
    margin: 0 auto 15px 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: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--bg-color);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 0 0 10px 10px;
    letter-spacing: 0.5px;
}

.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: 20px;
}

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

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

.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);
}

/* Footer */
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);
}

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

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 150px;
        padding-bottom: 50px;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

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

    .hero-visual {
        margin-top: 60px;
    }

    .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: 30px;
        text-align: center;
    }
}

@media (max-width: 768px) {

    /* Minimalist Hero Overrides */
    .hero {
        background-color: #ffffff;
        background-image: none !important;
        justify-content: center;
        padding: 120px 5% 40px;
        min-height: auto;
    }

    .hero::before {
        display: none;
    }

    .hero-slider,
    .slider-controls,
    .slider-dots,
    .glass-card {
        display: none !important;
    }

    .slide,
    .slide.active {
        position: relative;
        opacity: 1;
        background-image: none !important;
        background: transparent !important;
        padding: 0;
    }

    /* Only show the first slide content on mobile for minimal impact */
    .hero-slider {
        display: block !important;
        position: relative;
    }

    .slide:not(:first-child) {
        display: none !important;
    }

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

    .hero-content h1 {
        font-size: 3.2rem;
        line-height: 1.05;
        color: #000;
        letter-spacing: -0.05em;
        margin-bottom: 20px;
    }

    .hero-content p {
        font-size: 1.1rem;
        color: #666;
        margin-bottom: 40px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .hero-buttons a {
        width: 100%;
        text-align: center;
        border-radius: 12px;
        padding: 16px;
        font-size: 1.05rem;
    }

    .btn-primary {
        background: #000;
        box-shadow: none;
    }

    .btn-primary:hover {
        background: #333;
        transform: none;
        box-shadow: none;
    }

    .btn-secondary {
        border-color: #e5e5e5;
        color: #000;
    }

    /* Form & Sections Minimalist Overrides */
    .contact {
        padding: 60px 5%;
        background: #ffffff;
    }

    .contact-box {
        padding: 0;
        border: none;
        box-shadow: none;
        border-radius: 0;
        gap: 30px;
    }

    .section-title h2,
    .contact-text h2,
    .about-left h2 {
        font-size: 2.2rem;
        color: #000;
        text-align: left;
    }

    .section-title p,
    .contact-text p {
        text-align: left;
        font-size: 1rem;
        color: #666;
    }

    .service-checkboxes,
    .budget-tiers {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .checkbox-container {
        border: none;
        border-bottom: 1px solid #f0f0f0;
        border-radius: 0;
        padding: 20px 0 20px 40px;
        background: transparent !important;
        box-shadow: none !important;
        transform: none !important;
    }

    .checkmark {
        left: 0;
        width: 22px;
        height: 22px;
        border-color: #ddd;
    }

    .cb-title {
        font-size: 1.05rem;
        color: #000;
    }

    .cb-desc {
        font-size: 0.85rem;
        color: #888;
    }

    .tier {
        border: none;
        border-bottom: 1px solid #f0f0f0;
        border-radius: 0;
        padding: 20px 0;
        background: transparent !important;
        box-shadow: none !important;
        transform: none !important;
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }

    .tier-radio {
        display: none;
    }

    .tier h4 {
        margin: 0;
        font-size: 1rem;
        color: #000;
    }

    .tier-price {
        margin: 0;
        font-size: 1.1rem;
    }

    .tier-desc {
        display: none;
    }

    .recommended-badge {
        display: none;
    }

    .tier.selected h4,
    .tier.selected .tier-price {
        color: var(--primary);
    }

    /* About Section */
    .about {
        background: #ffffff;
        min-height: auto;
        padding: 60px 5%;
    }

    .about::before,
    .about-watermark {
        display: none;
    }

    .about-left .lead-text,
    .about-left h2 {
        color: #000;
        text-align: left;
    }

    .premium-feature-card {
        background: #fafafa;
        border: none;
        box-shadow: none;
        border-radius: 12px;
        padding: 24px;
    }

    .premium-feature-card h3 {
        color: #000;
    }

    .premium-feature-card p {
        color: #666;
    }

    /* Sticky Bottom Checkout Bar */
    .calendly-cta {
        position: fixed !important;
        transform: none !important;
        display: block !important;
        bottom: 0;
        left: 0;
        width: 100vw;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 15px 5%;
        padding-bottom: calc(15px + env(safe-area-inset-bottom));
        border-top: 1px solid #eaeaea;
        z-index: 1000;
        margin: 0;
    }

    .calendly-cta button {
        border-radius: 12px;
        padding: 18px;
        background: #000;
        color: white;
        font-weight: 800;
        font-size: 1.1rem;
    }

    .calendly-cta .small-note {
        display: none !important;
    }
}

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