/* Fonts & Variables */
:root {
    --primary: #AC8A96;
    /* Dusty Mauve - Main Brand Color for BG */
    --primary-dark: #91727D;
    --accent: #D4AF37;
    /* Gold */
    --dark-text: #3D3235;
    --light-text: #666;
    --bg-light: #FDFBF8;
    --white: #FFFFFF;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--dark-text);
    line-height: 1.6;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: 0.3s;
}

img {
    max-width: 100%;
    display: block;
}

.text-center {
    text-align: center;
}

/* Navbar */
.navbar {
    background: var(--primary);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 120px;
    /* Increased size for better visibility */
    width: auto;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy transition */
    display: block;
    /* Add subtle shadow to make gold pop on mauve */
    filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.1));
    cursor: pointer;
}

.logo-img:hover {
    transform: scale(1.1) rotate(-2deg);
    /* Dynamic hover effect */
    filter: drop-shadow(0 5px 6px rgba(0, 0, 0, 0.2));
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--white);
}

.btn-nav {
    border: 1px solid var(--white);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
}

.btn-nav:hover {
    background: var(--white);
    color: var(--primary) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 4rem 0 6rem 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

/* Subtle pattern overlay */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    /* Image Left, Text Right */
    gap: 3rem;
}

.hero-text {
    flex: 1;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    font-style: italic;
    color: #FFE4B5;
}

/* Light Gold */
.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    font-weight: 300;
}

.hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    /* Center the image in its half */
    z-index: 2;
}

.image-frame {
    width: 380px;
    height: 550px;
    /* Taller to accommodate standing photo */
    border: none;
    /* Remove hard border */
    border-radius: 200px 200px 0 0;
    /* Keep arch shape */
    overflow: hidden;
    position: relative;
    /* Soft shadow instead of hard border */
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15));
    /* Gradient mask to blend the bottom */
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Sections General */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.section {
    padding: 5rem 0;
}

.section-header {
    margin-bottom: 3.5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.divider {
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 0 auto;
}

/* Story Section */
.story-section {
    background-color: var(--white);
    position: relative;
    z-index: 10;
    /* Ensure it sits above anything else */
}

.story-block {
    background: var(--white);
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    border-top: 5px solid var(--primary);
    /* Added accent to make it pop */
}

.story-block p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--light-text);
}

.quote-box {
    background: #FAF5F7;
    padding: 1.5rem;
    border-left: 4px solid var(--primary);
    margin: 2rem 0;
    font-style: italic;
    color: var(--primary-dark);
}

/* Three Column Grid Features */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card-feature {
    background: var(--white);
    padding: 2.5rem;
    text-align: center;
    border-radius: 12px;
    transition: 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.card-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.icon-gold {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

/* Testimonials Marquee */
.testimonials-section {
    background: #FAF5F7;
    overflow: hidden;
    /* Hide scrollbar */
}

.testimonials-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

.marquee-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scrollMarquee 20s linear infinite;
}

.review-img {
    height: 400px;
    /* Fixed height for uniformity */
    width: auto;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

@keyframes scrollMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

    /* Move by half the width (original set) */
}

/* Pause on hover */
.marquee-track:hover {
    animation-play-state: paused;
}


/* Opportunities */
.opportunity-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: stretch;
    /* Make cards same height */
}

.opp-content {
    flex: 1 1 350px;
    /* Wider base width */
    background: var(--white);
    padding: 2.5rem;
    border-top: 5px solid var(--primary);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: left;
    /* Better for long text */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.opp-content h3 {
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.8rem;
}

.opp-text p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    color: var(--light-text);
    line-height: 1.7;
}

.opp-list {
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    color: var(--light-text);
}

.opp-list li {
    margin-bottom: 0.5rem;
    list-style-type: disc;
}

.opp-content .btn {
    align-self: center;
    margin-top: 1.5rem;
    width: 100%;
    text-align: center;
}

/* Support */
.support-section {
    background: var(--white);
}

.support-box {
    background: linear-gradient(to right, #2c2c2c, #4a4a4a);
    color: var(--white);
    padding: 4rem;
    border-radius: 20px;
    text-align: center;
}

.support-box h2 {
    color: var(--accent);
    margin-bottom: 2rem;
}

.check-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    list-style: none;
}

.check-list li {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-list i {
    color: var(--accent);
}

/* CTA Final */
.cta-final {
    background: var(--primary);
    color: var(--white);
    padding: 6rem 0;
}

.cta-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
}

.btn-primary {
    background: var(--white);
    color: var(--primary);
    border: none;
    /* Modal fix */
}

.btn-primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    padding: 0.8rem 1.5rem;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    font-size: 1.1rem;
    padding: 1.2rem 3rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Footer */
footer {
    background: #222;
    color: #888;
    padding: 3rem 0;
    text-align: center;
}

.socials a {
    color: var(--white);
    font-size: 1.5rem;
    margin: 0 10px;
}

/* Contact Section */
.contact-section {
    background: var(--white);
}

.contact-intro {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: var(--light-text);
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: 0.3s;
    text-decoration: none;
    min-width: 200px;
    justify-content: center;
}

.contact-card i {
    font-size: 1.5rem;
}

.instagram {
    background: #f09433;
    background: -moz-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    background: -webkit-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    box-shadow: 0 10px 20px rgba(220, 39, 67, 0.3);
}

.whatsapp {
    background: #25D366;
    color: white;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

.contact-card:hover {
    transform: translateY(-5px);
    opacity: 0.9;
}

.socials {
    margin-bottom: 1rem;
}

/* Animations & Responsive */
.fade-in-up {
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.delay-1 {
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 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: 5% auto;
    padding: 3rem;
    border: 1px solid #888;
    width: 80%;
    max-width: 800px;
    border-radius: 15px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-content h2 {
    color: var(--primary-dark);
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 1rem;
    font-size: 1.8rem;
    line-height: 1.3;
}

.program-item {
    margin-bottom: 1.5rem;
}

.program-item h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.program-item p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

/* Offers Modal Styles */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.offer-card {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid transparent;
    text-align: center;
    transition: 0.3s;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.offer-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.offer-card h3 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.offer-card .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    margin: 1rem 0;
}

.offer-card.highlight {
    border: 3px solid var(--accent);
    background: #FFFAF0;
    /* Light gold tint */
    transform: scale(1.05);
    /* Slight pop */
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
    position: relative;
}

.best-value-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {

    /* ... existing mobile styles ... */
    .container {
        width: 90%;
    }

    /* Rest of mobile styles remain... */

    /* Navbar Mobile */
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .logo-img {
        height: 90px;
        /* Adjusted magnitude for mobile visibility */
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    /* Hero */
    .hero-container {
        flex-direction: column;
        /* Stack VERTICALLY on mobile */
        text-align: center;
        padding-top: 2rem;
    }

    .hero-text {
        order: 2;
        /* Text SECOND on mobile if we want image first */
    }

    .hero-image-wrapper {
        order: 1;
        /* Image FIRST on mobile */
        justify-content: center;
        margin-bottom: 2rem;
    }

    .image-frame {
        width: 280px;
        height: 350px;
        border-width: 6px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    /* Sections */
    .section {
        padding: 3rem 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    /* Story */
    .story-block {
        padding: 1.5rem;
    }

    /* Grid Helpers */
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Testimonials */
    .testimonials-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .review-img {
        max-width: 100%;
        width: auto;
        max-height: 500px;
    }

    /* Ensure readable on mobile */

    /* Support */
    .support-box {
        padding: 2rem 1.5rem;
    }

    .check-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    /* Buttons */
    .btn {
        width: 100%;
        text-align: center;
    }

    /* Full width buttons on mobile */
    .btn-nav {
        width: auto;
    }

    /* Keep nav button normal */

    /* CTA */
    .cta-title {
        font-size: 2rem;
    }

    .cta-subtitle {
        font-size: 1.2rem;
    }

    .modal-content {
        width: 95%;
        padding: 1.5rem;
        margin: 10% auto;
    }
}