/*
Theme Name: Vistara Clean
*/
body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: #f5f7fb;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* Header */
.header {
    background: linear-gradient(90deg, #1e73be, #2ea3f2);
    color: #fff;
    padding: 15px 0;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
}

/* HERO SECTION */
.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    padding: 0 8%;
    
    background: 
        linear-gradient(90deg, rgba(15, 52, 96, 0.9) 35%, rgba(15,52,96,0.3) 70%, transparent),
        url('https://images.unsplash.com/photo-1581578731548-c64695cc6952?q=80&w=1600') center/cover no-repeat;
}

/* CONTENT */
.hero-content {
    max-width: 550px;
    color: white;
}

/* TITLE */
.hero h1 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
}

.hero h1 span {
    color: #a8d8ff;
}

/* SUBTEXT */
.hero-sub {
    margin-top: 15px;
    font-size: 18px;
    opacity: 0.95;
}

/* PRICE HIGHLIGHT */
.hero-sub strong {
    color: #ffd34d;
    font-size: 20px;
}

/* BUTTONS */
.hero-buttons {
    margin-top: 25px;
    display: flex;
    gap: 15px;
}

/* BUTTON BASE */
.btn {
    padding: 14px 22px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

/* WHATSAPP */
.btn.whatsapp {
    background: #25D366;
    color: white;
}

/* CALL */
.btn.call {
    background: #f7b500;
    color: black;
}

/* HOVER */
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
@media (max-width: 768px) {
    .hero {
        height: auto;
        padding: 80px 20px;
        text-align: center;
        background: 
            linear-gradient(180deg, rgba(15,52,96,0.9), rgba(15,52,96,0.6)),
            url('https://images.unsplash.com/photo-1581578731548-c64695cc6952?q=80&w=1200') center/cover;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}
/* Services */
.services {
    padding: 50px 0;
    text-align: center;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
}

/* Before After */
.before-after {
    background: #1e73be;
    color: white;
    padding: 40px 0;
}

/* Why Choose */
.why {
    padding: 40px 0;
    text-align: center;
}

/* Reviews */
.reviews {
    background: #eef3fb;
    padding: 40px 0;
}

/* CTA */
.cta {
    background: linear-gradient(90deg, #1e73be, #2ea3f2);
    color: #fff;
    text-align: center;
    padding: 40px 0;
}


/* HEADER */
/* HEADER */
.header {
    background: linear-gradient(90deg, #1e73be, #5aa3d6);
    padding: 12px 0;
}

/* NAV LAYOUT */
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
}

.logo img {
    width: 38px;
    height: auto;
}

/* TEXT */
.logo-text .brand {
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

.logo-text .sub {
    font-size: 12px;
    opacity: 0.9;
}

/* MENU */
.menu-list {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    align-items: center;
}

.menu-list li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    position: relative;
}

/* ACTIVE TAB (like your screenshot underline) */
.menu-list li.current-menu-item a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 3px;
    background: #f7b500;
    border-radius: 2px;
}

/* CTA BUTTON */
.book-btn {
    background: #f7b500;
    color: #000;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    margin-left: 20px;
}

/* ALIGN MENU + BUTTON */
.menu {
    display: flex;
    align-items: center;
}


/* HERO SECTION */
.hero {
    position: relative;
    height: 420px;
    overflow: hidden;
}

/* IMAGE */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('YOUR_IMAGE_URL') no-repeat right center;
    background-size: cover;
    z-index: 1;
}

/* GRADIENT */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10,40,120,0.95) 0%, rgba(10,40,120,0.85) 40%, rgba(10,40,120,0) 70%);
    z-index: 2;
}

/* CONTENT (MOST IMPORTANT) */
.hero-content {
    position: relative;
    z-index: 3; /* 🔥 THIS FIXES YOUR ISSUE */
}
.hero-text {
    color: white;
    max-width: 500px;
}

/* TITLE */
.hero-text h1 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
}

/* PRICE */
.price {
    margin-top: 15px;
    font-size: 18px;
}

.price span {
    font-size: 26px;
    font-weight: bold;
    color: #ffd84d;
}

/* FEATURES */
.features {
    margin-top: 10px;
    opacity: 0.9;
}

/* BUTTONS */
.hero-buttons {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

/* WHATSAPP BUTTON */
.btn.whatsapp {
    background: #25D366;
    color: white;
    padding: 12px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

/* CALL BUTTON */
.btn.call {
    background: #f7b500;
    color: #000;
    padding: 12px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
} 
/* SECTION BACKGROUND */
/* SECTION */
.services {
    background: #c7d6e6; /* soft blue background */
    padding: 70px 0;
    text-align: center;
}

/* TITLE */
.section-title {
    font-size: 30px;
    color: #2f6ea5;
    margin-bottom: 50px;
    font-weight: 700;
}

/* GRID */
.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* CARD */
.service-card {
    background: #f4f6f8;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 15px 25px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

/* IMAGE */
.service-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 15px;
}

/* TEXT */
.service-card h3 {
    margin-top: 15px;
    font-size: 18px;
    color: #2c3e50;
    font-weight: 600;
}

/* HOVER */
.service-card:hover {
    transform: translateY(-8px);
}
@media (max-width: 900px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
}
/* SECTION BACKGROUND */
.transformation {
    background: linear-gradient(90deg, #1e73be, #5aa3d6);
    padding: 60px 0;
    text-align: center;
    color: white;
}

/* TITLE */
.section-title.white {
    color: white;
    margin-bottom: 40px;
}

/* WRAPPER */
.ba-wrapper {
    display: flex;
    justify-content: center;
}

/* CONTAINER */
.ba-container {
    position: relative;
    width: 80%;
    max-width: 800px;
    overflow: hidden;
    border-radius: 15px;
}

/* IMAGES */
.ba-img {
    width: 100%;
    display: block;
}

/* OVERLAY (AFTER IMAGE) */
.ba-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    overflow: hidden;
}

/* SLIDER */
.ba-slider {
    position: absolute;
    width: 100%;
    top: 0;
    bottom: 0;
    margin: 0;
    opacity: 0;
    cursor: ew-resize;
}

/* LABELS */
.label {
    position: absolute;
    top: 10px;
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 5px;
    font-weight: bold;
    z-index: 2;
}

.label.before {
    left: 10px;
    background: #2c3e50;
    color: white;
}
/* SECTION */
.transformation {
    background: linear-gradient(90deg, #1e73be, #5aa3d6);
    padding: 60px 0;
    text-align: center;
}

/* TITLE */
.section-title.white {
    color: white;
    margin-bottom: 40px;
}

/* CONTAINER */
.ba-wrapper {
    display: flex;
    justify-content: center;
}
.ba-container {
    position: relative;
    width: 80%;
    max-width: 900px;
    height: 400px;
    overflow: hidden;
    border-radius: 20px;
}

/* BOTH IMAGES FULL SIZE */
.ba-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* BEFORE IMAGE */
.before-img {
    z-index: 1;
}
.ba-container {
    position: relative;
    width: 80%;
    max-width: 900px;
    height: 400px;
    overflow: hidden;
    border-radius: 20px;
}

/* BOTH IMAGES FULL SIZE */
.ba-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* BEFORE IMAGE */
.before-img {
    z-index: 1;
}

/* AFTER IMAGE (CRITICAL FIX) */
.ba-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
}

/* THIS IS THE KEY FIX */
.ba-overlay img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;   /* 🔥 NOT 100% */
    max-width: 900px; /* match container */
    height: 100%;
    object-fit: cover;
}
/* SLIDER */
.ba-slider {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: ew-resize;
    z-index: 3;
}

/* LABELS */
.label {
    position: absolute;
    top: 15px;
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 6px;
    font-weight: bold;
    z-index: 3;
}

.label.before {
    left: 15px;
    background: #2c3e50;
    color: white;
}

.label.after {
    right: 15px;
    background: #f7b500;
    color: black;
}
/* DIVIDER LINE */
.ba-divider {
    position: absolute;
    top: 0;
    left: 50%;
    width: 3px;
    height: 100%;
    background: white;
    z-index: 4;
    transform: translateX(-50%);
}

/* DRAG HANDLE */
.ba-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 35px;
    height: 35px;
    background: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

/* SHOW CURSOR */
.ba-container:hover {
    cursor: ew-resize;
}

/* SECTION */
.why-us {
    background: linear-gradient(90deg, #1e73be, #5aa3d6);
    padding: 90px 0; /* 🔥 more height */
    text-align: center;
    color: white;

    margin-top: 40px; /* 🔥 separation from previous */
    position: relative;
}
/* TITLE */
.section-title.white {
    color: white;
    margin-bottom: 40px;
}

/* GRID */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px; /* 🔥 more breathing space */
}

/* ITEM */
.why-item {
    text-align: center;
}

/* ICON */
.icon {
    width: 100px;   /* 🔥 bigger */
    height: 100px;
    border-radius: 50%;
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px; /* bigger icon */
    margin: 0 auto 20px;
}

.why-item p {
    font-size: 18px;  /* bigger text */
    font-weight: 600;
}

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

@media (max-width: 500px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
}

.section-title.white {
    color: white;
    margin-bottom: 50px;
    position: relative;
}

/* lines beside title */
.section-title.white::before,
.section-title.white::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 80px;
    height: 2px;
    background: rgba(255,255,255,0.6);
}

.section-title.white::before {
    left: 30%;
}

.section-title.white::after {
    right: 30%;
}
.why-us::before {
    content: "";
    position: absolute;
    top: -40px;
    left: 0;
    width: 100%;
    height: 80px;
    background: white;
    border-bottom-left-radius: 50% 40px;
    border-bottom-right-radius: 50% 40px;
}

/* SECTION */
.reviews {
    background: #eef3fb;
    padding: 70px 0;
    text-align: center;
    position: relative;
}

/* TITLE */
.section-title {
    font-size: 28px;
    color: #1e73be;
    margin-bottom: 50px;
    position: relative;
}

/* GRID */
.review-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* CARD */
.review-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    text-align: left;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* QUOTE */
.quote {
    font-size: 16px;
    color: #2c3e50;
    margin-bottom: 20px;
    position: relative;
}

/* BIG QUOTE ICON */
.quote::before {
    content: "“";
    font-size: 40px;
    color: #1e73be;
    position: absolute;
    left: -10px;
    top: -10px;
}

/* USER */
.review-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* IMAGE */
.review-user img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
}

/* NAME */
.review-user span {
    font-weight: 600;
    color: #2c3e50;
}
.reviews::after {
    content: "";
    position: absolute;
    bottom: -40px;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(90deg, #1e73be, #5aa3d6);
    border-top-left-radius: 50% 40px;
    border-top-right-radius: 50% 40px;
}

@media (max-width: 700px) {
    .review-grid {
        grid-template-columns: 1fr;
    }
}

/* CTA SECTION */
.cta {
    background: linear-gradient(90deg, #1e73be, #5aa3d6);
    padding: 70px 0;
    text-align: center;
    color: white;
    position: relative;
}

/* TITLE */
.cta .section-title {
    color: white;
    margin-bottom: 15px;
}

/* SUBTEXT */
.cta-sub {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* BUTTON WRAPPER */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* WHATSAPP BUTTON */
.btn.whatsapp {
    background: #25D366;
    color: white;
    padding: 14px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* CALL BUTTON */
.btn.call {
    background: #f7b500;
    color: #000;
    padding: 14px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* TOP WAVE */
.cta::before {
    content: "";
    position: absolute;
    top: -40px;
    left: 0;
    width: 100%;
    height: 80px;
    background: white;
    border-bottom-left-radius: 50% 40px;
    border-bottom-right-radius: 50% 40px;
}

/* BOTTOM WAVE */
.cta::after {
    content: "";
    position: absolute;
    bottom: -40px;
    left: 0;
    width: 100%;
    height: 80px;
    background: #eef3fb;
    border-top-left-radius: 50% 40px;
    border-top-right-radius: 50% 40px;
}
@media (max-width: 600px) {
    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}