/* ============== 1. Global Styles & Variables ============== */
:root {
    --primary-purple: #6a11cb; /* A deep, vibrant purple */
    --primary-pink: #f857a6; /* A strong, modern pink */
    --complementary-gold: #FFD700;
    --dark-color: #222222;
    --light-color: #ffffff;
    --grey-bg: #f4f4f4;
    --font-family: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark-color);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

h1, h2, h3 {
    line-height: 1.2;
    font-weight: 600;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

section {
    padding: 6rem 0;
}

/* ============== 2. Header & Navigation ============== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(106, 17, 203, 0.15); /* Purple Glass */
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo img {
    height: 40px;
}

.brand-name a {
    color: var(--light-color); /* Brand name stays white for prominence */
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: var(--complementary-gold); /* UPDATED: Links are now gold */
    text-decoration: none;
    font-weight: 600;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease; /* Added a smooth color transition */
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-pink);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--light-color); /* Links turn white on hover for a nice effect */
}

.nav-links a:hover::after {
    width: 100%;
}

/* NEW: Style for the active link */
.nav-links a.active {
    color: var(--primary-pink); /* Active link is vibrant pink */
    font-weight: 700;
}

.nav-links a.active::after {
    width: 100%; /* The underline is always visible for the active link */
}


/* ============== 3. Hero Section ============== */
#hero {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--light-color);
    padding: 0;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -2;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.video-background video.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem 3rem;
    border-radius: 10px;
}


.hero-content h1 {
    font-family: 'Playfair Display', serif; /* Applying the new elegant font */
    font-size: 4.5rem; /* Slightly larger for more impact */
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 1px; /* Adds a touch of class */
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 2rem;
    margin-left: auto;   /* This is the fix for centering */
    margin-right: auto;  /* This is the fix for centering */
}

/* Also, let's adjust the h1 font size for mobile to make sure it looks good */
@media (max-width: 768px) {
    /* ... (keep your existing mobile styles) ... */
    .hero-content h1 {
        font-size: 3rem; /* Adjusted for smaller screens */
    }
}

.cta-button {
    display: inline-block;
    background: linear-gradient(90deg, var(--primary-pink), var(--primary-purple));
    color: var(--light-color);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}


/* ============== 4. Problem You Solve Section ============== */
#problems {
    /* The URL now points to a real image in your 'images' folder */
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/hiit-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Creates a cool parallax effect when scrolling */
    color: var(--light-color);
}

.problem-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

#problems .card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

#problems .card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

#problems .card h3 {
    color: var(--complementary-gold);
    margin-bottom: 1rem;
}


/* ============== 5. Solution We Offer Section (REVISED) ============== */
#solution {
    background-color: #f7bbd2;/* A very light, elegant lavender/off-white */
    color: var(--dark-color); /* Change the main text color to dark */
}

.solution-subtitle {
    text-align: center;
    max-width: 600px;
    margin: -1.5rem auto 3rem auto;
    color: #555; /* A softer dark color for the subtitle */
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.solution-card {
    /* UPDATED: Changed from white to a clean off-white */
    background: #FFFCFC; 
    padding: 2.5rem 2rem;
    text-align: center;
    border-radius: 15px;
    border-top: 4px solid var(--primary-purple);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, border-top-color 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-10px);
    border-top-color: var(--primary-pink);
}

.card-icon {
    margin-bottom: 1.5rem;
}

.card-icon i {
    font-size: 3rem;
    background: linear-gradient(45deg, var(--primary-pink), var(--primary-purple));
    -webkit-background-clip: text;
    background-clip: text; /* Add this line */
    -webkit-text-fill-color: transparent;
}

.solution-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    color: var(--dark-color); /* Ensure heading is dark */
}

.solution-card p {
    color: #555; /* A softer dark color for the paragraph */
}

/* We need to update the media query for this new layout too */
@media (max-width: 992px) {
    /* ... (keep your existing styles for this media query) ... */
    .solution-grid { grid-template-columns: 1fr; } /* Stacks the cards on smaller screens */
}


/* In style.css, REPLACE all testimonial styles with this block */

/* ============== 6. Testimonials Section (SWIPE ANIMATION FINAL FIX) ============== */
#testimonials {
    background-image: linear-gradient(rgba(106, 17, 203, 0.6), rgba(248, 87, 166, 0.6)), url('images/testimonial-bg-1.jpg');
    background-size: cover;
    background-position: center center;
    transition: background-image 1s ease-in-out;
}

.testimonial-wrapper {
    position: relative;
    max-width: 650px;
    margin: 0 auto;
}

.testimonial-slider-container {
    overflow: hidden;
    border-radius: 15px;
}

.testimonial-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-card {
    flex: 0 0 100%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--dark-color);
    padding: 2.5rem;
    text-align: center;
    border-radius: 15px;
}

.testimonial-card i {
    font-size: 2rem;
    color: var(--primary-pink);
    opacity: 0.8;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-size: 1rem;
    margin: 0;
}

.testimonial-card .name {
    margin-top: 1.5rem;
    font-weight: 600;
    font-size: 1rem;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--light-color);
    color: var(--primary-purple);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: background 0.3s ease, color 0.3s ease;
    z-index: 10;
}

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

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

.next-btn {
    right: -25px;
}
/* ============== 7. Final CTA Section ============== */
#final-cta {
    background: linear-gradient(90deg, var(--primary-purple), var(--primary-pink));
    color: var(--light-color);
    text-align: center;
}

#final-cta h2 {
    font-size: 3rem;
}


/* ============== 8. Footer ============== */
footer {
    background: var(--dark-color);
    color: var(--light-color);
    padding: 2rem 0;
}

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

.social-links a {
    color: var(--light-color);
    font-size: 1.5rem;
    margin-left: 1rem;
    transition: color 0.3s ease;
}

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

/* In your style.css file, REPLACE the entire media query section at the bottom */

/* ============== 9. Media Queries for Responsiveness ============== */

@media (max-width: 992px) {
    h2 { font-size: 2rem; }
    .problem-cards-container { grid-template-columns: 1fr; }
    .solution-grid { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 3.5rem; }
    #final-cta h2 { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    /* === GENERAL MOBILE FIXES === */
    body {
        overflow-x: hidden; /* Prevents horizontal scroll and "shifting" */
    }

    /* === PROBLEM SECTION FIX === */
    #problems {
        background-attachment: scroll; /* Disables broken parallax effect on mobile */
    }

    /* === HERO SECTION FIX === */
    .hero-content {
        padding: 1.5rem; /* Reduce padding to make the box smaller */
        width: 90%;      /* Ensure it doesn't touch the screen edges */
    }
    
    /* --- NAVBAR --- */
    nav {
        height: 60px;
        padding: 0 1rem;
    }
    .logo img {
        height: 30px;
    }
    .brand-name a {
        font-size: 1rem;
    }
    .nav-links li {
        margin-left: 0.5rem;
    }
    .nav-links a {
        font-size: 0.8rem;
    }
    
    /* --- FOOTER & TESTIMONIALS --- */
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .social-links {
        margin-top: 1rem;
    }
    .hero-content h1 {
        font-size: 3rem; 
    }
    .testimonial-wrapper {
        padding: 0 20px;
    }
    .prev-btn {
        left: -5px;
    }
    .next-btn {
        right: -5px;
    }
}

/* ============== ABOUT PAGE STYLES ============== */
.page-header {
    /* This is a beautiful light purple that's almost pink */
    background: #EADDF2; 
    /* Text color must be dark on a light background */
    color: var(--dark-color); 
    text-align: center;
    padding: 8rem 0 4rem 0;
}

.page-header p {
    max-width: 600px;
    margin: 1rem auto 0 auto;
    font-size: 1.1rem;
    /* Changed from light grey to a soft dark color */
    color: #555; 
}
.page-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
}

#founder-story {
    /* The symbolic image is now the background */
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('images/fitness-journey.jpg');
    background-size: cover;
    background-position: center;
    padding: 6rem 0;
}

.story-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.story-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.story-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}
.story-text p {
    margin-bottom: 1rem;
    text-align: justify;
}
.story-slider-wrapper {
    max-width: 700px;
    margin: 0 auto;
    /* Glassy container for the slides */
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    border-radius: 15px;
    padding: 2rem;
    overflow: hidden; /* This is crucial */
}

.story-slider {
    display: flex;
    transition: transform 0.8s ease-in-out; /* A slightly slower, more elegant slide */
}

.story-slide {
    flex: 0 0 100%;
    text-align: center;
    color: var(--light-color);
    padding: 0 1rem;
}

.story-icon i {
    font-size: 2.5rem;
    color: var(--complementary-gold);
    margin-bottom: 1rem;
}

.story-slide h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.story-slide p {
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
    color: #e0e0e0;
}

#philosophy {
    background-color: #FEF5F6; /* Matches the light color from the homepage */
}

/* ============== ABOUT PAGE - RESPONSIVENESS ============== */

@media (max-width: 992px) {
    /* --- Tablet Adjustments --- */
    .page-header h1 {
        font-size: 2.8rem;
    }

    /* Stacks the philosophy cards into a single column */
    #philosophy .solution-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* --- Mobile Adjustments --- */

    /* Make the top header more compact */
    .page-header {
        padding: 6rem 1rem 3rem 1rem;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    /* Adjust the story slider */
    .story-slider-wrapper {
        padding: 1.5rem;
    }

    .story-slide h3 {
        font-size: 1.5rem;
    }

    .story-slide p {
        font-size: 1rem;
    }
}

/* ============== PROGRAMS PAGE STYLES (ADD THIS ENTIRE BLOCK) ============== */

/* --- Pricing Plans Section --- */
#plans {
    padding: 6rem 0;
    background: #daa9fb;
}
.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: flex-start;
}
.plan-card {
    background: var(--light-color);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 2px solid transparent;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.plan-card:hover {
    transform: translateY(-10px);
}
.plan-card.recommended {
    border-color: var(--primary-purple);
    transform: scale(1.05);
}
.plan-card .badge {
    background: var(--primary-purple);
    color: var(--light-color);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 1rem;
}
.plan-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}
.plan-card .price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-purple);
    margin-bottom: 1rem;
}
.plan-card .price span {
    font-size: 1rem;
    font-weight: normal;
    color: #777;
}
.plan-card .tagline {
    font-style: italic;
    color: #777;
    min-height: 50px;
    margin-bottom: 1.5rem;
}
.plan-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: 2rem;
}
.plan-card ul li {
    margin-bottom: 0.8rem;
}
.plan-card ul i {
    color: var(--primary-pink);
    margin-right: 0.5rem;
}
.btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--primary-purple);
    border: 2px solid var(--primary-purple);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.btn-outline:hover {
    background-color: var(--primary-purple);
    color: var(--light-color);
}
.plan-card.recommended .cta-button {
    padding: 0.8rem 2rem;
}

/* --- Form Section (REVISED & FIXED) --- */
#signup-form {
    padding: 6rem 0;
}
.form-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem auto;
}
.form-container {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}
.progress-bar { display: flex; justify-content: space-between; margin-bottom: 2rem; position: relative; }
.progress-step { width: 2.5rem; height: 2.5rem; background-color: #eee; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-weight: bold; color: #999; position: relative; z-index: 2; transition: background-color 0.4s ease, color 0.4s ease; }
.progress-step.active { background-color: var(--primary-purple); color: var(--light-color); }
.progress-step::before { content: ''; position: absolute; top: 50%; left: -50%; transform: translateY(-50%); height: 3px; width: 100%; background-color: #eee; z-index: -1; }
.progress-step:first-child::before { display: none; }
.progress-bar .progress-step.active::before { background-color: var(--primary-purple); }
.progress-step::after { content: attr(data-title); position: absolute; top: 130%; font-size: 0.8rem; color: #999; text-align: center; }

/* NEW SIMPLIFIED FORM STEP STYLING */
.form-step {
    display: none; /* All steps are hidden by default */
}
.form-step.active {
    display: block; /* Only the active step is visible */
    animation: fadeIn 0.5s ease-in-out; /* Add a nice fade effect */
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.step-title {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1.5rem;
    margin-top: 4.5rem; /* INCREASED from 1rem to create more space */
    color: var(--primary-purple);
    text-align: center;
}
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; }
.form-group input[type="text"], .form-group input[type="email"], .form-group input[type="tel"], .form-group input[type="number"], .form-group textarea, .form-group select { width: 100%; padding: 0.8rem; border: 1px solid #ccc; border-radius: 8px; font-size: 1rem; font-family: var(--font-family); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--primary-purple); box-shadow: 0 0 0 2px rgba(106, 23, 203, 0.2); }
.form-group input.invalid, .form-group textarea.invalid { border-color: #e74c3c; }
.form-group[data-required="true"].invalid { border: 1px solid #e74c3c; border-radius: 8px; padding: 0.5rem; }
.phone-input-group { display: flex; align-items: center; border: 1px solid #ccc; border-radius: 8px; overflow: hidden; transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.phone-input-group:focus-within { border-color: var(--primary-purple); box-shadow: 0 0 0 2px rgba(106, 23, 203, 0.2); }
.phone-input-group select { padding: 0.8rem; border: none; outline: none; background-color: #f4f4f4; font-weight: 600; border-right: 1px solid #ccc; }
.phone-input-group input { width: 100%; border: none; outline: none; padding: 0.8rem; }
.radio-group, .checkbox-group { display: flex; flex-wrap: wrap; gap: 1rem; padding-left: 0.5rem; }
.radio-group-vertical, .checkbox-group-vertical { display: flex; flex-direction: column; gap: 0.8rem; padding-left: 0.5rem; }
.plan-selection { display: grid; gap: 1rem; }
.plan-selection > .plan-card { border: 2px solid #ddd; padding: 1rem; cursor: pointer; transition: border-color 0.3s ease, box-shadow 0.3s ease; display: flex; align-items: center; }
.plan-selection > .plan-card:hover { border-color: var(--primary-pink); }
.plan-selection > .plan-card.selected { border-color: var(--primary-purple); box-shadow: 0 0 0 3px rgba(106, 23, 203, 0.2); }
.plan-details h4 { margin-bottom: 0.2rem; color: var(--dark-color); }
.plan-details p { font-size: 0.9rem; color: #555; }
.form-buttons { text-align: center; margin-top: 2rem; display: flex; justify-content: space-between; }
.btn { padding: 0.8rem 1.5rem; border: none; border-radius: 8px; font-weight: bold; cursor: pointer; }
.btn-next { background-color: var(--primary-purple); color: var(--light-color); }
.btn-back { background-color: #eee; color: var(--dark-color); }

/* --- Reassurance Section (Card Layout) --- */
#reassurance { padding: 6rem 0; background: #fdfaff; }
.reassurance-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; text-align: center; }
.reassurance-card i { font-size: 2.5rem; color: var(--primary-purple); margin-bottom: 1rem; }
.reassurance-card h4 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.reassurance-card p { color: #555; }

/* --- Reviews Section (with Dots) --- */
#reviews { padding: 6rem 0; background: #daa9fb; color: var(--light-color); }
.review-slider-container { max-width: 700px; margin: 0 auto; overflow: hidden; }
.review-slider { display: flex; transition: transform 0.5s ease-in-out; }
.review-card { flex: 0 0 100%; background: var(--primary-purple); padding: 2.5rem; text-align: center; border-radius: 15px; }
.review-card p { font-size: 1.2rem; font-style: italic; max-width: 600px; margin: 0 auto 1rem auto; }
.review-card .name { font-weight: bold; }
.review-dots { text-align: center; margin-top: 1.5rem; }
.dot { display: inline-block; width: 10px; height: 10px; background: #666; border-radius: 50%; margin: 0 5px; cursor: pointer; transition: background-color 0.3s ease; }
.dot.active { background: var(--primary-pink); }

/* --- Programs Page Responsiveness --- */
@media (max-width: 992px) {
    .plans-grid, .reassurance-cards, .snippet-cards { grid-template-columns: 1fr; }
    .plan-card.recommended { transform: scale(1); }
}
@media (max-width: 768px) {
    .progress-step::after { display: none; }
}

/* ... [Keep all your previous CSS from the style.css block I gave you before] ... */

/* ============== ADDITIONAL STYLES FOR DETAILED FORM ============== */

/* Make the radio labels look cleaner */
.radio-group-vertical label, 
.checkbox-group-vertical label {
    display: block;
    cursor: pointer;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.radio-group-vertical input, 
.checkbox-group-vertical input {
    margin-right: 10px;
    transform: scale(1.2); /* Make checkboxes/radios slightly bigger */
}

/* Style the bold text in labels */
.radio-group-vertical label strong {
    color: var(--primary-purple);
}

/* Ensure textareas are readable */
textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-family);
    resize: vertical;
}

/* Date Input Styling */
input[type="date"] {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: var(--font-family);
}

/* ============== PAYMENT MODAL STYLES ============== */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.6); 
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto; 
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--primary-purple);
    text-decoration: none;
    cursor: pointer;
}

#modal-title {
    color: var(--primary-purple);
    margin-bottom: 0.5rem;
}

#modal-desc {
    color: #555;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

#modal-form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* --- Form Section (Gradient Background) --- */
#signup-form {
    padding: 6rem 0;
    /* The interwoven gradient magic happens here */
    background: linear-gradient(
        135deg, 
        rgba(106, 17, 203, 0.9),  /* Purple */
        rgba(248, 87, 166, 0.8),  /* Pink */
        rgba(50, 150, 250, 0.8)   /* Blue */
    );
    /* Optional: Add a subtle pattern or texture if you want more depth */
    background-size: 200% 200%;
    animation: gradientMove 10s ease infinite;
    color: var(--light-color); /* Ensure text on top (if any outside the box) is readable */
}

/* Animation to make the colors shift slowly (Optional but beautiful) */
@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Ensure the form container itself stands out against the colorful background */
.form-container {
    background: rgba(255, 255, 255, 0.95); /* White with slight transparency */
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); /* Stronger shadow for pop */
    backdrop-filter: blur(10px); /* Glassmorphism effect */
    color: var(--dark-color)
}

/* Update the intro text color so it's readable on the gradient */
.form-intro h2, .form-intro p {
    color: var(--dark-color);
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* ============== COOKIE BANNER STYLES ============== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(34, 34, 34, 0.95); /* Dark background */
    color: var(--light-color);
    padding: 1rem 2rem;
    z-index: 9999; /* Ensure it's on top of everything */
    display: none; /* Hidden by default, shown by JS */
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    border-top: 1px solid var(--primary-purple);
}

.cookie-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-content p {
    margin: 0;
    font-size: 0.9rem;
    flex: 1;
}

.cookie-content a {
    color: var(--primary-pink);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.btn-cookie-accept {
    background-color: var(--primary-purple);
    color: var(--light-color);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-cookie-accept:hover {
    background-color: var(--primary-pink);
}

.btn-cookie-decline {
    background-color: transparent;
    color: #ccc;
    border: 1px solid #ccc;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-cookie-decline:hover {
    border-color: var(--light-color);
    color: var(--light-color);
}

/* Responsive Fix */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}


/* ============== PRIVACY POLICY PAGE STYLES ============== */
.policy-header {
    background: var(--dark-color);
    color: var(--light-color);
    text-align: center;
    padding: 8rem 0 4rem 0;
}

.policy-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.policy-content {
    background: var(--light-color);
    padding: 4rem 0;
}

.policy-text {
    max-width: 800px;
    margin: 0 auto;
}

.policy-text h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-purple);
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}

.policy-text p {
    margin-bottom: 1rem;
    color: #555;
    line-height: 1.8;
}

.policy-text ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.policy-text ul li {
    margin-bottom: 0.5rem;
    color: #555;
}

/* Responsive Fix */
@media (max-width: 768px) {
    .policy-header h1 {
        font-size: 2.5rem;
    }
    .policy-text {
        padding: 0 1rem;
    }
}


/* ============== CONTACT PAGE STYLES ============== */

/* --- Header --- */
.contact-header {
    background: var(--dark-color);
    color: var(--light-color);
    text-align: center;
    padding: 8rem 0 4rem 0;
}

.contact-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

/* --- Contact Content Section (NEW GRADIENT BACKGROUND) --- */
#contact-content {
    padding: 6rem 0;
    /* The interwoven gradient magic */
    background: linear-gradient(
        135deg, 
        rgba(106, 17, 203, 0.9),  /* Purple */
        rgba(248, 87, 166, 0.8),  /* Pink */
        rgba(50, 150, 250, 0.8)   /* Blue */
    );
    background-size: 200% 200%;
    animation: gradientMove 10s ease infinite;
}

/* Ensure the Intro Text stands out on the colorful background */
.contact-info h2 {
    text-align: left;
    font-family: 'Playfair Display', serif;
    color: var(--light-color); /* Changed to White */
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.contact-info > p {
    color: var(--light-color); /* Changed to White */
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    font-size: 1.1rem;
}

/* --- Contact Grid --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

/* Info Items (Small Cards on the Left) */
.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.95); /* Glassy White */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    backdrop-filter: blur(5px);
}

.info-item:hover {
    transform: translateY(-5px);
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-pink);
    margin-right: 1.5rem;
    margin-top: 0.3rem;
}

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--dark-color);
}

.info-item a, .info-item p {
    color: #555;
    text-decoration: none;
    font-weight: 600;
}

.text-link {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--primary-purple);
}

/* Social Icons */
.social-connect h4 {
    margin-bottom: 1rem;
    color: var(--light-color); /* White text for "Follow Us" */
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.social-icons a {
    font-size: 1.8rem;
    margin-right: 1rem;
    color: var(--light-color); /* White icons */
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--complementary-gold);
}

/* --- Right Side: Contact Form Wrapper --- */
.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.95); /* Glassy White */
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); /* Stronger shadow */
    border-top: none; /* Removed the top border for a cleaner look */
    backdrop-filter: blur(10px);
}

/* Adjust input backgrounds inside the form to be subtle */
.contact-form-wrapper input, 
.contact-form-wrapper textarea, 
.contact-form-wrapper select {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
}

.contact-form-wrapper input:focus, 
.contact-form-wrapper textarea:focus, 
.contact-form-wrapper select:focus {
    background-color: #fff;
    border-color: var(--primary-purple);
}

/* --- FAQ Section --- */
#faq {
    background-color: #f9f9f9;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--light-color);
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-family);
    color: var(--dark-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background-color: #f4f4f4;
}

.faq-question i {
    color: var(--primary-purple);
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(45deg); /* Turn plus to x */
    color: var(--primary-pink);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #fff;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: #555;
    line-height: 1.6;
}

/* Responsive Fix */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .contact-info h2 {
        text-align: center;
    }
}

/* =========================================
   MOBILE CONTACT PAGE FIXES (SCOPED)
   These rules ONLY affect the Contact Page
   ========================================= */

@media (max-width: 768px) {

    /* 1. Target ONLY the Contact Header Container */
    .contact-header .container {
        padding: 0 1.5rem; /* Adjusts padding only for this header */
        width: 100%;
    }
    
    .contact-header h1 {
        font-size: 2.2rem; /* Prevents text from being too wide */
        word-wrap: break-word;
    }

    /* 2. Target ONLY the Main Contact Content Container */
    /* This overrides the global .container style JUST for this section */
    #contact-content .container {
        padding: 0 1rem !important; 
        width: 100%;
        max-width: 100%;
    }

    /* 3. Stack the Grid (Left Info & Right Form) */
    #contact-content .contact-grid {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    /* 4. Fix Info Items (Left Side) */
    #contact-content .info-item {
        width: 100%; 
        padding: 1.5rem;
        box-sizing: border-box; /* Ensures padding doesn't increase width */
        flex-direction: column;
        text-align: center;
    }
    
    #contact-content .info-item i {
        margin: 0 0 0.5rem 0;
    }

    /* 5. Fix Form Wrapper (Right Side) */
    .contact-form-wrapper {
        width: 100%;
        padding: 1.5rem 1rem !important; /* Smaller padding for mobile */
        box-sizing: border-box;
    }

    /* 6. Fix Inputs & ReCAPTCHA */
    .contact-form-wrapper input,
    .contact-form-wrapper select,
    .contact-form-wrapper textarea {
        width: 100% !important;
        box-sizing: border-box; /* Prevents inputs from bursting out */
    }

    /* Specific fix for ReCAPTCHA inside the contact form */
    .contact-form-wrapper .form-group[data-netlify-recaptcha="true"] {
        transform: scale(0.75);
        transform-origin: center center;
        width: 100%;
        display: flex;
        justify-content: center;
        overflow: hidden;
        margin-top: 10px;
    }
}