/* --- 1. Variables & Reset --- */
:root {
    /* Keep your existing fonts */
    --primary-color: #ba68c8;
    --primary-hover: #a050ad;
    
    /* NEW: Richer Backgrounds */
    --bg-gradient: linear-gradient(135deg, #fff0ec 0%, #f3e5f5 100%); /* Peach to Lavender */
    --card-bg: rgba(255, 255, 255, 0.8); /* See-through white for Glass effect */
    --soft-shadow: 0 20px 40px rgba(186, 104, 200, 0.1); /* Purple-tinted shadow */
    
    --heading-color: #2c2c2c;
    --text-color: #555555;

    --font-heading: 'DM Serif Display', serif; 
    --font-body: 'Poppins', sans-serif;
}

/* Update Body to use the subtle gradient instead of flat white */
body {
    background: var(--bg-gradient); 
    background-attachment: fixed; /* Keeps the gradient smooth as you scroll */
    padding-top: 80px; 
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.7;
    font-size: 15px;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--heading-color);
    
    /* NEW: Makes it look "Smooth" and "Modern" */
    font-weight: 600; 
    letter-spacing: -1px; /* Tights letters slightly for a cohesive look */
}

a { text-decoration: none; }
img { max-width: 100%; height: auto; }

/* --- 2. Utilities --- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 40px 0; }
.bg-cream { background-color: #fff9f9; } /* Subtle background for About/Pricing */
.center { text-align: center; }
.highlight { color: #2b095d; }
.highlight2 {font-size: large; font-weight: bold; color: rgb(22, 43, 3); }
.mb-30 { margin-bottom: 30px; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px; /* Pill shape */
    font-weight: 500;
    transition: 0.3s;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Update the Primary Button Style */
.btn-primary {
    /* 1. HIGH CONTRAST GRADIENT */
    /* We create a 3-color gradient: Dark Purple -> Vibrant Pink -> Dark Purple */
    background-image: linear-gradient(to right, #5e2a84 0%, #d65db1 51%, #5e2a84 100%);
    
    /* 2. READABILITY */
    color: #ffffff !important; /* Force white text */
    font-weight: 600; /* Make text bolder */
    letter-spacing: 0.5px; /* Slight spacing makes caps easier to read */
    border: none;
    
    /* 3. SETUP ANIMATION */
    background-size: 200% auto; /* Make background double width */
    transition: 0.5s; /* Smooth animation speed */
    
    /* 4. GLOWING SHADOW */
    box-shadow: 0 4px 15px rgba(94, 42, 132, 0.4); /* Purple shadow matching the button */
}

/* The "Sliding Gradient" Animation */
.btn-primary:hover {
    /* Moves the background from Left (Purple) to Right (Pinkish) */
    background-position: right center; 
    
    /* Slight lift */
    transform: translateY(-3px);
    
    /* Stronger shadow on hover */
    box-shadow: 0 10px 25px rgba(214, 93, 177, 0.5); 
    color: #fff;
}

/* --- 3. Header --- */
.site-header {
    /* Fixed at the top so it travels with the user */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    
    /* THE STUNNING DARK LOOK */
    /* Deep Purple Gradient + Semi-Transparency */
    background:#2b095d; 
    
    /* The Blur Effect (Frosted Dark Glass) */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    
    /* Soft Shadow to lift it off the page */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    
    /* Spacing */
    padding: 15px 0;
    transition: all 0.3s ease;
}

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

.logo {

    
    /* Add a glowing text shadow */
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.logo::after {
    content: '.';
    color: #ffab91; /* Peach accent */
    font-size: 2.5rem;
    line-height: 0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}
.nav-links a {
    color: rgba(255, 255, 255, 0.85); /* Slightly muted white */
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    transition: 0.3s;
}

.nav-links a:not(.nav-btn)::after {
    content: '';
    position: relative;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #ffab91; /* Peach/Gold */
    transition: width 0.3s ease;
}

.nav-links a:not(.nav-btn):hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: #ffffff;
}

.nav-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(186, 104, 200, 0.5);
    background: linear-gradient(135deg, #ff9e80 0%, #ab47bc 100%);
}

/* Mobile Toggle Color */
.mobile-menu-btn i {
    color: white;
    font-size: 1.5rem;
}
.social-icons a { color: #efee9b; margin: 15px; font-size: 1.1rem; }
.mobile-menu-btn {
    display: none;
    cursor: pointer;
}

/* --- 4. Hero Section --- */
.hero {
    /* Remove the old solid background color */
    background: linear-gradient(to bottom, #ffeae6, #fff0ec); 
    padding-top: 40px;
    padding-bottom: 0px; /* Added extra space for the curve */
    
    /* NEW: The Organic Curve at the bottom */

    
    position: relative;
    z-index: 1;
    margin-bottom: 50px; /* Pushes the next section down */
    box-shadow: 0 10px 30px rgba(0,0,0,0.03); /* Subtle depth */
}

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

.hero-text { flex: 1; padding-right: 50px; }
.hero-image { flex: 1; text-align: center; 
    /* position: relative;  */
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 700; /* Thicker/Plump */
    font-stretch: 110%; /* Slightly wider letters */
}

.hero-text p { margin-bottom: 30px; font-size: 1rem; }

/* --- 5. Benefits --- */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-card i {
    font-size: 3rem;
    /* Gradient Text for the Icon! */
    background: -webkit-linear-gradient(45deg, #ba68c8, #ffab91);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    
    margin-bottom: 20px;
    display: inline-block;
    
    /* Subtle drop shadow for the icon itself */
    filter: drop-shadow(0 5px 10px rgba(186, 104, 200, 0.2));
}

.benefit-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--heading-color);
}

.benefit-card p {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.6;
}

/* --- 6. About Me --- */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1.5fr;
    align-items: center;
    gap: 40px;
}

.about-stats { text-align: right; }
.stat-item { margin-bottom: 40px; }
.stat-item h3 { font-size: 2.5rem; color: var(--heading-color); }
.stat-item p { font-size: 0.9rem; color: var(--primary-color); }

.about-text h2 { font-size: 3rem; margin-bottom: 20px; }

/* --- 7. Services (Provide) --- */
.provide-layout {
    display: flex;
    align-items: center;
    gap: 50px;
}
.provide-text { flex: 1; }
.provide-image { flex: 1; }

.service-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}
.service-item i {
    font-size: 2rem;
    color: #ffccbc;
}
.read-more {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

/* --- 8. Pricing --- */
.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.pricing-card {
    background: white;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    width: 300px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.pricing-card:hover { transform: translateY(-10px); }

.price-list { list-style: none; margin: 20px 0; text-align: left; }
.price-list li { margin-bottom: 10px; font-size: 0.9rem; }
.price-list i { color: var(--primary-color); margin-right: 10px; }

.price-tag {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
}
.price-tag span { font-size: 1rem; color: var(--text-color); font-family: var(--font-body); }

/* --- 9. Footer --- */
.site-footer {
    background-color: #2b095d;
    color: white;
    padding: 20px 0;
}
.site-footer h3 { color: white; margin-bottom: 20px; }
.footer-social a { color: white; margin: 0 10px; font-size: 1.5rem; }

/* --- Responsive Mobile --- */
@media (max-width: 768px) {
    .hero-layout, .about-layout, .provide-layout {
        flex-direction: column;
        grid-template-columns: 1fr;
        text-align: center;
    }
    .about-stats { text-align: center; display: flex; justify-content: center; gap: 20px; }
    .nav-links { display: none; } /* Mobile menu hidden for simplicity */
    .hero-text { padding-right: 0; }
    .hero-text h1 { font-size: 2.5rem; }
        /* THE MOBILE MENU DRAWER */
    .nav-links {
        /* 1. Break out of the container */
        position: fixed; /* Changed from absolute to fixed */
        top: 80px;       /* Pushes it down below the header (Adjust if your header is taller) */
        left: 0;
        width: 100%;     /* Full screen width */
        
        /* 2. Styling */
        background: rgba(44, 30, 60, 0.98); /* Dark background */
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        
        /* 3. Layout */
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
        gap: 30px;
        
        /* 4. Layering (Crucial!) */
        z-index: 999; /* Ensures it sits ON TOP of the Hero image */
        
        /* 5. Animation State: Hidden */
        opacity: 0;
        transform: translateY(-20px);
        pointer-events: none;
        transition: all 0.3s ease-in-out;
        
        /* 6. Remove default bullets */
        margin: 0;
        list-style: none;
    }

    /* STATE: VISIBLE */
    .nav-links.active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: all;
    }
}

/* --- 10. Testimonials --- */
.testimonials {
    background-color: #ffffff; /* White background to contrast with cream pricing */
}

/* Reusing the flex layout from pricing, but specific for testimonials */
.testimonial-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.testimonial-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    width: 320px; /* Slightly wider text area */
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0; /* Subtle border */
    transition: 0.3s;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(186, 104, 200, 0.15); /* Purple glow on hover */
    border-color: var(--primary-color);
}

/* The Quote Icon */
.quote-icon i {
    font-size: 2rem;
    color: #ffab91; /* Peach color */
    margin-bottom: 20px;
    opacity: 0.5;
}

/* Typography */
.testi-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--heading-color);
}

.testi-desc {
    font-size: 0.95rem;
    color: var(--text-color);
    margin-bottom: 30px;
    font-style: italic;
    line-height: 1.6;
}

/* Client Profile Area */
.client-info {
    display: flex;
    align-items: left;
    text-align: left;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.client-img {
    width: 60px;
    height: 60px;
    border-radius: 50%; /* Perfect circle */
    object-fit: cover;
    border: 2px solid var(--hero-bg); /* Peach border around photo */
}

.client-details h4 {
    font-size: 1rem;
    margin-bottom: 2px;
    color: var(--heading-color);
    font-family: var(--font-heading);
}

.client-details span {
    font-size: 0.85rem;
    color: var(--primary-color); /* Purple text for designation */
    font-weight: 500;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .testimonial-card {
        width: 100%; /* Full width on mobile */
    }
}

/* --- 11. Contact Section --- */
.contact-section {
    background-color: #ffffff;
    display: flex;
    justify-content: center;
}

.contact-layout {
    max-width: 700px; /* Limits width to look like the image */
    width: 100%;
}

.contact-title {
    font-family: var(--font-heading);
    color: #114e60; /* The Dark Teal color from your image */
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-weight: 700;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-input {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px; /* Soft rounded corners */
    font-family: var(--font-body);
    font-size: 1rem;
    color: #333;
    background-color: #fff;
    transition: 0.3s;
    outline: none;
}

.form-input::placeholder {
    color: #888;
}

.form-input:focus {
    border-color: #114e60; /* Highlights teal when clicked */
    box-shadow: 0 0 8px rgba(17, 78, 96, 0.1);
}

textarea.form-input {
    resize: vertical; /* Allows user to stretch height, but not width */
}

/* The Specific Dark Teal Button */
.btn-dark-teal {
    background-color: #114e60; /* Dark Teal */
    color: #ffffff;
    padding: 15px 35px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s;
    align-self: flex-start; /* Aligns button to the left like the image */
    font-family: var(--font-body);
}

.btn-dark-teal:hover {
    background-color: #0d3b49; /* Slightly darker on hover */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(17, 78, 96, 0.2);
}

/* Mobile Adjustment */
@media (max-width: 768px) {
    .contact-title { font-size: 2rem; }
    .btn-dark-teal { width: 100%; text-align: center; }
}

.pricing-card, 
.testimonial-card, 
.benefit-card {
    background: #ffffff; /* Solid white for better contrast */
    padding: 40px 30px;
    border-radius: 20px; /* Smooth rounded corners */
    text-align: center;
    
    /* THE SHADOW EFFECT (Base State) */
    /* A very subtle gray shadow for resting state */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); 
    
    /* Border to define edges nicely */
    border: 1px solid rgba(0, 0, 0, 0.02);
    
    /* Animation settings */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy smooth transition */
    position: relative;
    top: 0;
}

.pricing-card:hover, 
.testimonial-card:hover,
.benefit-card:hover {
    /* Lift the card up */
    transform: translateY(-10px); 
    
    /* Deep, Purple-tinted shadow on hover */
    box-shadow: 0 20px 50px rgba(186, 104, 200, 0.25); 
    
    /* Optional: Change border color */
    border-color: rgba(186, 104, 200, 0.3);
}

/* Floating Background Decoration */
body::before {
    content: '';
    position: fixed;
    top: 20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 200, 200, 0.4) 0%, rgba(255,255,255,0) 70%);
    z-index: -1; /* Puts it behind everything */
    pointer-events: none; /* Lets you click through it */
}

body::after {
    content: '';
    position: fixed;
    bottom: 10%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(200, 200, 255, 0.3) 0%, rgba(255,255,255,0) 70%);
    z-index: -1;
    pointer-events: none;
}

em {
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 300; /* Thinner */
    color: var(--primary-color);
}

/* Style for the generated Read More link */
.read-more-btn {
    color: var(--primary-color); /* Your purple/pink theme color */
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    margin-left: 5px;
    transition: 0.3s;
}

.read-more-btn:hover {
    text-decoration: underline;
    color: var(--primary-hover);
}

/* --- Testimonial Slider & Cards --- */
.slider-wrapper {
    position: relative;
    max-width: 1100px;
    margin: 50px auto 0;
    padding: 0 20px;
}

.testimonial-viewport {
    overflow: hidden; /* Hides cards outside the box */
    width: 100%;
    padding: 20px 0; /* Space for shadows */
}

.testimonial-track {
    display: flex;
    gap: 30px; /* The space between cards */
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); /* Smooth Slide Effect */
    will-change: transform;
}

/* Card Sizing Logic */
.testimonial-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: var(--soft-shadow);
    border-radius: 20px;
    padding: 30px;
    
    /* DESKTOP DEFAULT: 3 Cards visible */
    /* Calculation: (100% width - (2 gaps * 30px)) / 3 cards */
    flex: 0 0 calc((100% - 60px) / 3); 
    width: calc((100% - 60px) / 3);
    
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Pushes content apart */
}

/* Navigation Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: white;
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 10;
    transition: 0.3s;
    font-size: 1rem;
}

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

.prev-btn { left: -25px; }
.next-btn { right: -25px; }

/* Read More Link Style */
.read-more-btn {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    margin-left: 5px;
}

/* --- MOBILE SPECIFIC (The Requirement) --- */
@media (max-width: 768px) {
    .testimonial-card {
        /* On Mobile: 1 Card visible */
        flex: 0 0 100%; 
        width: 100%;
    }
    
    .testimonial-track {
        gap: 20px; /* Smaller gap on mobile */
    }

    /* Adjust buttons on mobile */
    .slider-btn {
        width: 35px;
        height: 35px;
        background: rgba(255,255,255,0.9);
    }
    .prev-btn { left: -10px; }
    .next-btn { right: -10px; }
}

/* 2. Mobile View: The Transformation */
@media (max-width: 768px) {
    
    /* Show the Hamburger Icon */
    .mobile-menu-btn {
        display: block;
        color: white;
        font-size: 1.8rem;
    }

    /* Hide the Social Icons on mobile to save space */
    /* .social-icons {
        display: none;
    } */

    /* THE MOBILE MENU DRAWER */
    .nav-links {
        position: absolute;
        top: 100%; /* Sits exactly below the header */
        left: 0;
        width: 100%;
        background: rgba(44, 30, 60, 0.98); /* Match the Dark Header */
        backdrop-filter: blur(10px);
        
        /* Layout: Stack items vertically */
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
        gap: 25px;
        
        /* STATE: HIDDEN (Default) */
        opacity: 0;
        transform: translateY(-20px); /* Slide up slightly */
        pointer-events: none; /* User can't click it when hidden */
        transition: all 0.3s ease-in-out;
        
        /* Shadow */
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    }

    /* STATE: VISIBLE (When JS adds 'active' class) */
    .nav-links.active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: all;
    }
    
    /* Make links bigger on mobile */
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    
    .nav-links a {
        font-size: 1.2rem;
        display: block;
        padding: 10px;
    }

    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
        bottom: 20px;
        right: 20px;
    }
}

/* --- Floating WhatsApp Button --- */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000; /* Stays on top of everything */
    
    width: 60px;
    height: 60px;
    
    /* WhatsApp Green + Gradient for depth */
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    
    border-radius: 50%; /* Circle */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem; /* Icon size */
    
    /* Premium Shadows */
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    border: 2px solid rgba(255,255,255,0.5); /* Glass border */
    
    transition: all 0.3s ease;
    animation: pulse-green 2s infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.5);
}

/* The Pulse Animation */
@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}