/* =========================
   ECO-LUXE Cleaning Services
   styles.css (Part 1)
========================= */
:root {
    --color-primary-green: #0B1F3A; /* Deep Navy */
    --color-primary-green-rgb: 11, 31, 58;
    --color-secondary-green: #1FAF5A; /* Emerald Green */
    --color-accent-orange: #F39C12; /* Warm Orange Accent */
    --color-accent-orange-rgb: 243, 156, 18;
    --color-accent-orange-dark: #d6800a;
    --color-bg-light: #EEF3F7; /* Light Grey Background */
    --color-bg-white: #F8FAFC; /* Soft White */
    --color-text-dark: #2B2B2B; /* Charcoal Text */
    --color-text-muted: #555555;
    --color-card-border: #d9e2ec;

    /* Gradients */
    --gradient-progress: linear-gradient(90deg, var(--color-primary-green), var(--color-secondary-green));
    --gradient-hero: radial-gradient(circle at top right, #e2ebf5 0%, var(--color-bg-white) 50%);
    --gradient-stats: linear-gradient(135deg, var(--color-primary-green), var(--color-secondary-green));
    --gradient-cta: linear-gradient(135deg, var(--color-primary-green), var(--color-secondary-green));
    --gradient-footer: linear-gradient(90deg, var(--color-primary-green), var(--color-secondary-green));
}

* {
    max-width: 100%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--color-bg-light);
    color: var(--color-text-dark);
    overflow-x: hidden;
    line-height: 1.7;
}

/* Container */

.container {
    width: min(1180px, 90%);
    margin: auto;
}

/* Progress Bar */

#progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 5px;
    background: var(--gradient-progress);
    z-index: 9999;
}

/* ================= HEADER ================= */

header {
    height: 80px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: #fff;
    z-index: 1000;
    transition: .3s;
    box-shadow: 0 2px 20px rgba(0, 0, 0, .05);
}

header.scrolled {
    box-shadow: 0 8px 30px rgba(0, 0, 0, .08);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    width: 120px;
    height: auto;
    transition: transform .3s ease;
}

.logo-container:hover .logo-img {
    transform: scale(1.08);
}

.brand-text {
    display: flex;
    flex-direction: column;
    font-family: 'Poppins', sans-serif;
    line-height: 1.15;
}

.brand-green {
    color: var(--color-primary-green);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.brand-orange {
    color: var(--color-primary-green);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

nav {
    display: flex;
    gap: 35px;
    align-items: center;
}

nav a {
    color: #234;
    text-decoration: none;
    font-weight: 500;
    transition: .3s;
}

nav a:hover {
    color: var(--color-secondary-green);
}

.btn-nav {
    background: var(--color-accent-orange);
    color: #fff !important;
    padding: 12px 24px;
    border-radius: 30px;
    transition: .3s ease;
}

.btn-nav:hover {
    transform: translateY(-3px);
    background: var(--color-accent-orange-dark);
    box-shadow: 0 10px 20px rgba(243, 156, 18, 0.25);
}

/* Hamburger */

#hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

#hamburger span {
    width: 28px;
    height: 3px;
    background: var(--color-primary-green);
    border-radius: 20px;
}

/* ================= HERO ================= */

.hero {
    min-height: 100vh;
    padding-top: calc(80px + 40px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 70px;
    padding: 140px 8%;
    background: var(--gradient-hero);
}

.hero-left {
    flex: 1;
}

.tagline {
    color: var(--color-secondary-green);
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--color-text-dark);
}

.hero h1 span {
    color: var(--color-accent-orange);
}

.hero-text {
    max-width: 560px;
    font-size: 1.0rem;
    margin-bottom: 40px;
    color: #556;
}

/* Buttons */

.hero-buttons {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    background: var(--color-primary-green);
    color: white;
    padding: 15px 34px;
    border-radius: 40px;
    text-decoration: none;
    transition: .35s;
    font-weight: 600;
}

.btn:hover {
    transform: translateY(-5px);
    background: var(--color-secondary-green);
    box-shadow: 0 18px 35px rgba(31, 175, 90, .35);
}

.btn-outline {
    display: inline-block;
    border: 2px solid var(--color-primary-green);
    color: var(--color-primary-green);
    padding: 15px 34px;
    border-radius: 40px;
    text-decoration: none;
    transition: .35s;
}

.btn-outline:hover {
    background: var(--color-primary-green);
    color: white;
}

/* Hero Card */
.hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
    object-fit: contain;
}

.glass-card {
    width: 360px;
    height: 360px;
    border-radius: 35px;
    background: rgba(255, 255, 255, .55);
    backdrop-filter: blur(18px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, .08);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.glass-card h2 {
    font-size: 5rem;
    color: var(--color-accent-orange);
    z-index: 2;
}

.glass-card p {
    font-size: 1.2rem;
    z-index: 2;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(31, 175, 90, .15);
}

.one {
    width: 220px;
    height: 220px;
    top: -60px;
    right: -40px;
}

.two {
    width: 150px;
    height: 150px;
    bottom: -30px;
    left: -20px;
}

.three {
    width: 90px;
    height: 90px;
    top: 45%;
    left: 55%;
}

/* ================= COMMON ================= */

.section {
    padding: 110px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title span {
    color: var(--color-primary-green);
    font-weight: 700;
    letter-spacing: 2px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-top: 12px;
    color: var(--color-text-dark);
}

/* ================= STORY ================= */

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.story-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.story-text p {
    margin-bottom: 18px;
    color: #555;
}

.image-card {
    background: white;
    border-radius: 30px;
    padding: 0;
    text-align: center;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .08);
    overflow: hidden;
}

.image-card__photo {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
}

.image-card h3 {
    font-size: 2rem;
    padding: 0 40px;
    margin-top: 0;
    line-height: 1.2;
}

.image-card p {
    padding: 0 40px 50px;
    line-height: 1.4;
}

/* ================= SERVICES ================= */

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card {
    background: white;
    padding: 45px 35px;
    border-radius: 25px;
    transition: .4s;
    box-shadow: 0 10px 35px rgba(0, 0, 0, .06);
}

.card:hover {
    transform: translateY(-12px);
    box-shadow: 0 22px 45px rgba(16, 185, 129, .18);
}

.card i {
    font-size: 55px;
    color: var(--color-accent-orange);
    margin-bottom: 25px;
}

.card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.card p {
    color: #666;
}

/* =========================
   styles.css (Part 2)
========================= */

/* WHY CHOOSE US */

.why {
    background: #ffffff;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.why-card {
    background: #fff;
    border-radius: 25px;
    padding: 40px 30px;
    text-align: center;
    transition: .35s;
    border: 1px solid var(--color-card-border);
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(16, 185, 129, .15);
}

.why-card i {
    font-size: 55px;
    color: var(--color-primary-green);
    margin-bottom: 20px;
}

.why-card h3 {
    margin-bottom: 12px;
    color: var(--color-text-dark);
}

.why-card p {
    color: #666;
}

/* ================= STATS ================= */

.stats {
    background: var(--gradient-stats);
    padding: 90px 0;
    color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat h2 {
    font-size: 3.5rem;
    margin-bottom: 10px;
}

.stat p {
    font-size: 1.05rem;
}

/* ================= TIMELINE ================= */

.timeline {
    background: var(--color-bg-light);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 35px;
}

.step {
    background: #fff;
    border-radius: 25px;
    padding: 40px 30px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, .06);
    transition: .35s;
}

.step:hover {
    transform: translateY(-8px);
}

.step span {
    display: inline-flex;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: var(--color-accent-orange);
    color: #fff;
    font-weight: 700;
    margin-bottom: 25px;
}

.step h3 {
    margin-bottom: 15px;
}

/* ================= TESTIMONIALS ================= */

.testimonials {
    background: #fff;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.testimonial {
    background: #fff;
    border-radius: 25px;
    padding: 35px;
    border: 1px solid var(--color-card-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .04);
}

.testimonial p {
    color: var(--color-text-muted);
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial h4 {
    color: var(--color-primary-green);
}

/* ================= CTA ================= */

.cta {
    padding: 100px 20px;
    text-align: center;
    background: var(--gradient-cta);
    color: #fff;
}

.cta h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.cta p {
    margin-bottom: 35px;
    font-size: 1.1rem;
}

.cta .btn {
    background: #fff;
    color: var(--color-primary-green);
}

.cta .btn:hover {
    color: #fff;
    background: var(--color-secondary-green);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* ================= CONTACT ================= */

.contact-form {
    max-width: 700px;
    margin: auto;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 18px 20px;
    margin-bottom: 20px;
    border: 1px solid #d8e8f5;
    border-radius: 15px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: .3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--color-primary-green);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
}

.contact-form button {
    border: none;
    cursor: pointer;
}

/* ================= FOOTER ================= */

footer {
    background: var(--gradient-footer);
    color: #fff;
    text-align: center;
    padding: 50px 20px;
}

footer img {
    width: 170px;
    margin-bottom: 20px;
}

footer p {
    opacity: .8;
}

@media(min-width:993px) {

    .service-grid {
        grid-template-columns: repeat(3, 1fr);
    }

}

/* ================= REVEAL ANIMATION ================= */

.reveal {
    opacity: 0;
    transform: translateY(70px);
    transition: all .8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

#topBtn {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    background: var(--color-primary-green);
    color: #fff;
    cursor: pointer;
    display: none;
    box-shadow: 0 10px 30px rgba(16, 185, 129, .35);
    transition: .3s;
    z-index: 999;
    align-items: center;
    justify-content: center;
}

/* ================= RESPONSIVE ================= */

@media(max-width:992px) {

    .story-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .story-image {
        order: -1;
    }

    .hero {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 100px 20px 50px;
        gap: 20px;
        overflow: hidden;
    }

    .hero-left,
    .hero-right {
        width: 100%;
        flex: none;
    }

    .hero-right {
        display: flex;
        justify-content: center;
    }

    .hero-image {
        width: 100%;
        max-width: 260px;
        height: auto;
    }


    .hero-text {
        margin: auto auto 35px;
    }

}


@media(max-width:768px) {

    #hamburger {
        display: flex;
    }

    .hero {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 100px 20px 50px;
        gap: 20px;
        overflow: hidden;
    }

    .hero-left,
    .hero-right {
        width: 100%;
        flex: none;
    }

    .hero-right {
        display: flex;
        justify-content: center;
    }

    .hero-image {
        width: 100%;
        max-width: 260px;
        height: auto;
    }

    nav {
        position: absolute;
        top: 82px;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        gap: 22px;
        padding: 30px;
        display: none;
        box-shadow: 0 15px 30px rgba(0, 0, 0, .08);
    }

    nav.active {
        display: flex;
    }

    .hero {
        padding: 140px 6% 60px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .glass-card {
        width: 300px;
        height: 300px;
    }

    .glass-card h2 {
        font-size: 4rem;
    }

    .section {
        padding: 80px 0;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .cta h2 {
        font-size: 2rem;
    }

    .stats-grid {
        gap: 45px;
    }
}

@media(max-width:480px) {

    .btn,
    .btn-outline,
    .btn-nav {
        width: 100%;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .glass-card {
        width: 260px;
        height: 260px;
    }

    .glass-card h2 {
        font-size: 3.2rem;
    }

    .logo img {
        width: 80px;
    }


    .stat h2 {
        font-size: 2.8rem;
    }
}

body {
    opacity: 0;
    transition: opacity .6s ease;
}

nav a.active {
    color: var(--color-primary-green);
    font-weight: 600;
}

/* ================= BEFORE & AFTER ================= */

.before-after {
    background: var(--color-bg-light);
}

.ba-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-radius: 25px;
}

.ba-track::-webkit-scrollbar {
    display: none;
}

.ba-slide {
    flex: 0 0 100%;
    scroll-snap-align: center;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 0 3px;
}

.ba-item {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .08);
    aspect-ratio: 3/4;
}

.ba-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.ba-item:hover img {
    transform: scale(1.06);
}

.ba-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: .78rem;
    font-weight: 600;
    color: #fff;
    z-index: 2;
    backdrop-filter: blur(6px);
    letter-spacing: .3px;
}

.ba-tag--before {
    background: rgba(28, 43, 57, .75);
}

.ba-tag--after {
    background: rgba(249, 115, 22, .88);
}

.ba-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.ba-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #d8e8f5;
    cursor: pointer;
    transition: .3s;
}

.ba-dots span.is-active {
    background: var(--color-primary-green);
    width: 26px;
    border-radius: 6px;
}

@media(max-width:600px) {

    .ba-slide {
        gap: 8px;
    }

    .ba-item {
        aspect-ratio: 3/4.3;
        border-radius: 16px;
    }

    .ba-tag {
        font-size: .68rem;
        padding: 5px 12px;
        top: 10px;
        left: 10px;
    }
}