/*====================
1. VARIABLES & IMPORTS
====================*/
:root {
    --lotus-pond: #576049;
    --summer-twilight: #7A4547;
    --bark: #56382E;
    --alabaster: #F7F1DF;
    --soft-lichen: #A9B8A0;
    --lavender-mist: #D1C0BC;
}

@import url('https://cdn.jsdelivr.net/npm/swiper@8/swiper-bundle.min.css');

/*====================
2. RESET & BASE STYLES
====================*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Barlow', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    color: var(--bark);
    background-color: var(--alabaster);
    font-size: 16px;
}

/*====================
3. TYPOGRAPHY
====================*/
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--lotus-pond);
}

h1 { font-size: 2.5rem; line-height: 1.2; margin-bottom: 1.5rem; }
h2 { font-size: 2rem; line-height: 1.3; margin-bottom: 1.2rem; }
h3 { font-size: 1.5rem; line-height: 1.4; margin-bottom: 1rem; }
h4 { font-size: 1.25rem; line-height: 1.4; margin-bottom: 0.8rem; }

/* Styles des titres de section */
section h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 2.5rem;
    font-family: 'Playfair Display', serif;
    color: var(--lotus-pond);
}

section h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -12px;
    width: 60px;
    height: 2px;
    background: var(--summer-twilight);
    transition: width 0.3s ease;
}

section h2::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 35px;
    height: 2px;
    background: var(--soft-lichen);
    transition: width 0.3s ease;
}

.script-text {
    font-family: 'Dancing Script', cursive;
    font-weight: 700;
    color: var(--summer-twilight);
    font-size: 1.8rem;
    line-height: 1.4;
    margin: 0.5rem 0 1.5rem;
}

/*====================
4. LAYOUT & CONTAINERS
====================*/
.section {
    padding: 3rem 2rem 1rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(86, 56, 46, 0.03);
    margin: 0 auto;
}

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

/*====================
5. COMPONENTS
====================*/
/* 5.1 Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--summer-twilight);
    color: var(--alabaster);
}

.btn-primary:hover {
    background-color: var(--lotus-pond);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--lotus-pond);
    color: var(--lotus-pond);
}

.btn-secondary:hover {
    background-color: var(--lotus-pond);
    color: var(--alabaster);
}

/*====================
5. COMPONENTS
====================*/
/* 5.1 Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--summer-twilight);
    color: var(--alabaster);
}

.btn-primary:hover {
    background-color: var(--lotus-pond);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--lotus-pond);
    color: var(--lotus-pond);
}

.btn-secondary:hover {
    background-color: var(--lotus-pond);
    color: var(--alabaster);
}

/* 5.2 Navigation */
.navbar {
    background-color: var(--alabaster);
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    height: 100%;
    display: flex;
    align-items: center;
}

.logo {
    width: 45px;
    height: 45px;
    display: block;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links,
.nav-links ul,
.dropdown-menu {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0;
    padding: 0;
}

.nav-links a:not(.dropdown-toggle)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--summer-twilight);
    transition: width 0.3s ease;
}

.nav-links a:not(.dropdown-toggle):hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a {
    color: var(--bark);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 400;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.dropdown-toggle {
    position: relative;
    padding-right: 1.8em !important;
    color: var(--bark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.dropdown-toggle::after {
    content: '▾';
    font-size: 0.8em;
    position: absolute;
    right: 0.5em;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
    color: currentColor;
    opacity: 0.8;
    z-index: 2;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--summer-twilight);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    display: block;
    position: relative;
    width: 25px;
    height: 3px;
    background: var(--lotus-pond);
    transition: all 0.3s ease-in-out;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background: var(--lotus-pond);
    transition: all 0.3s ease-in-out;
}

.hamburger::before {
    transform: translateY(-8px);
}

.hamburger::after {
    transform: translateY(8px);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: -1rem;
    background: var(--alabaster);
    min-width: 280px;
    padding: 0.8rem 0;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(86, 56, 46, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    border: 1px solid rgba(122, 69, 71, 0.1);
}

.dropdown-menu li {
    display: block;
    margin: 0;
    padding: 0;
}

.dropdown-menu a {
    padding: 0.8rem 1.5rem;
    color: var(--bark);
    display: block;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    margin: 0 0.5rem;
    border-radius: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-menu a:hover {
    background: rgba(122, 69, 71, 0.08);
    color: var(--summer-twilight);
    padding-left: 2rem;
}

.dropdown-menu a::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 50%;
    width: 0;
    height: 2px;
    background: var(--summer-twilight);
    transform: translateY(-50%);
    transition: width 0.3s ease;
    opacity: 0;
}

.dropdown-menu a:hover::before {
    width: 0.5rem;
    opacity: 1;
}

/* Navigation principale */
.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-links > li {
    position: relative;
}

/* Styles du dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    position: relative;
    padding-right: 1.8em !important;
    color: var(--bark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.dropdown-toggle{
    margin-right: -18px;
}

.dropdown-toggle:hover,
.dropdown:hover .dropdown-toggle {
    color: var(--summer-twilight);
}

.dropdown-toggle::after {
    content: '▾';
    font-size: 0.8em;
    position: absolute;
    right: 0.5em;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
    color: currentColor;
    opacity: 0.8;
}

.dropdown:hover .dropdown-toggle::after {
    transform: translateY(-50%) rotate(180deg);
    opacity: 1;
}

/* Style spécifique pour le lien actif dans le dropdown */
.dropdown-toggle.active {
    color: var(--summer-twilight);
}

.dropdown-toggle.active::after {
    color: var(--summer-twilight);
    opacity: 1;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: -1rem;
    background: var(--alabaster);
    min-width: 280px;
    padding: 0.8rem 0;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(86, 56, 46, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    border: 1px solid rgba(122, 69, 71, 0.1);
}

/* Assurer que le menu reste visible pendant le hover */
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
    margin: 0;
    list-style: none;
}

.dropdown-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.dropdown-menu a {
    padding: 0.8rem 1.5rem;
    color: var(--bark);
    display: block;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    margin: 0 0.5rem;
    border-radius: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-menu a:hover {
    background: rgba(122, 69, 71, 0.08);
    color: var(--summer-twilight);
    padding-left: 2rem;
}

.dropdown-menu a::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 50%;
    width: 0;
    height: 2px;
    background: var(--summer-twilight);
    transform: translateY(-50%);
    transition: width 0.3s ease;
    opacity: 0;
}

.dropdown-menu a:hover::before {
    width: 0.5rem;
    opacity: 1;
}

/* Responsive Dropdown */
@media (max-width: 768px) {
    .dropdown-toggle {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.8rem 1rem !important;
    }

    .dropdown-toggle::after {
        position: relative;
        right: 0;
        transform: none;
    }

    .dropdown.active .dropdown-toggle::after {
        transform: rotate(180deg);
    }

    .dropdown-menu {
        position: static;
        background: transparent;
        box-shadow: none;
        border: none;
        padding: 0.5rem 0 0.5rem 1.5rem;
        margin-left: 1rem;
        border-left: 2px solid rgba(122, 69, 71, 0.2);
        min-width: auto;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding: 0.6rem 1rem;
        margin: 0;
        border-radius: 4px;
    }

    .dropdown-menu a:hover {
        background: rgba(122, 69, 71, 0.05);
        padding-left: 1.5rem;
    }
}

/*====================
6. FOOTER
====================*/
footer {
    background-color: var(--lotus-pond);
    padding: 2.5rem 0 1.5rem;
    position: relative;
    z-index: 1;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(247, 241, 223, 0.1), transparent);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 0 1.5rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    width: 35px;
    height: auto;
    opacity: 0.9;
}

.footer-brand p {
    color: var(--alabaster);
    margin: 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

.footer-nav {
    display: flex;
    gap: 2rem;
}

.footer-nav a {
    color: var(--alabaster);
    text-decoration: none;
    font-size: 0.85rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-nav a:hover {
    opacity: 1;
}

.footer-contact {
    position: relative;
}

.footer-contact::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--alabaster);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    opacity: 0.8;
}

.footer-contact:hover::after {
    transform: scaleX(1);
}

.footer-bottom {
    border-top: 1px solid rgba(247, 241, 223, 0.1);
    padding: 1.5rem 1.5rem 0;
    text-align: center;
}

.copyright {
    color: var(--alabaster);
    font-size: 0.8rem;
    opacity: 0.7;
    margin: 0;
}

/*====================
7. MEDIA QUERIES
====================*/

@media (max-width: 768px) { 
    body { font-size: 15px; } 
    h1 { font-size: 2rem; } 
    h2 { font-size: 1.75rem; } 
    h3 { font-size: 1.3rem; } 
    .script-text { font-size: 1.5rem; } 
    .navbar { padding: 0.8rem 1rem; }
    .nav-links { display: none; } 
    .section { padding: 3rem 1.5rem 1rem; } 
    footer {
        padding: 2rem 1rem 1.5rem;
        margin-top: -1rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .footer-brand {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-nav {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .navbar {
        padding: 0.8rem 1rem;
        background-color: var(--alabaster);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    }

    .nav-container {
        padding: 0;
    }

    .logo {
        height: 40px;
        z-index: 1001;
    }

    .nav-toggle {
        display: block;
        z-index: 1001;
        padding: 0.5rem;
        margin-right: -0.5rem;
        transition: all 0.3s ease;
        border-radius: 4px;
    }
    
    .nav-toggle:hover {
        background-color: rgba(169, 184, 160, 0.1);
    }

    .nav-links {
        display: none;
        position: fixed;
        background-color: var(--alabaster);
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem 2rem 5rem;
        gap: 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
        backdrop-filter: blur(5px);
        z-index: 1000;
        transform: translateY(-10px);
        opacity: 0;
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    
    .nav-links.active {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav-links > li {
        width: 100%;
        margin: 0.5rem 0;
        border-bottom: 1px solid rgba(87, 96, 73, 0.1);
    }
    
    .nav-links > li:last-child {
        border-bottom: none;
    }
    
    .nav-links > li > a {
        display: block;
        padding: 1rem 0;
        font-size: 1.2rem;
        color: var(--lotus-pond);
        font-weight: 500;
    }
    
    .nav-links > li > a.active {
        color: var(--summer-twilight);
    }

    .nav-toggle.active .hamburger {
        background: transparent;
    }

    .nav-toggle.active .hamburger::before {
        transform: translateY(0) rotate(45deg);
    }

    .nav-toggle.active .hamburger::after {
        transform: translateY(0) rotate(-45deg);
    }
    
    /* Dropdown styling enhancement */
    .dropdown.active .dropdown-toggle {
        color: var(--summer-twilight);
        background-color: rgba(209, 192, 188, 0.15);
        border-radius: 8px;
    }
    
    .dropdown-menu {
        margin-left: 0;
        border-left: 3px solid var(--soft-lichen);
        background-color: rgba(247, 241, 223, 0.5);
        border-radius: 0 8px 8px 0;
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .dropdown-menu a {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .dropdown-menu a:hover {
        background-color: rgba(122, 69, 71, 0.08);
        padding-left: 2rem;
    }
}

/* Enhancement for very small screens */
@media (max-width: 480px) {
    .navbar {
        padding: 0.6rem 0.8rem;
    }
    
    .logo {
        height: 35px;
    }
    
    .nav-links {
        padding: 1.5rem 1.5rem 5rem;
    }
    
    .nav-links > li > a {
        font-size: 1.1rem;
    }
}


/*====================
5. HERO SECTION
====================*/
.hero-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--lotus-pond), var(--summer-twilight));
    color: var(--alabaster);
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-.895-3-2-3-3 .895-3 2 .895 3 2 3zm63 31c1.657 0 3-1.343 3-3s-.895-3-2-3-3 .895-3 2 .895 3 2 3zM34 90c1.657 0 3-1.343 3-3s-.895-3-2-3-3 .895-3 2 .895 3 2 3zm56-76c1.657 0 3-1.343 3-3s-.895-3-2-3-3 .895-3 2 .895 3 2 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='rgba(255,255,255,0.05)' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;
}

.hero-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    color: var(--alabaster);
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease-out;
}

.hero-content {
    max-width: 600px;
    animation: fadeIn 1s ease-out;
}

.hero-quote {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-question {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    font-weight: 400;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-offer {
    background: rgba(255, 255, 255, 0.15);
    padding: 2.5rem;
    border-radius: 20px;
    margin-top: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-offer:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.offer-text, .offer-highlight, .offer-cta {
    margin-bottom: 1rem;
}

.offer-highlight {
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.offer-cta {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    margin: 1.5rem 0;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-image {
    position: relative;
    width: 45%;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
    animation: fadeInRight 1s ease-out;
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(87, 96, 73, 0.2), rgba(122, 69, 71, 0.2));
    z-index: 1;
    pointer-events: none;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.hero-image:hover img {
    transform: scale(1.05);
}

/* Button styling enhancement */
.btn-primary {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--summer-twilight);
    color: var(--alabaster);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(122, 69, 71, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
    z-index: -1;
}

.btn-primary:hover {
    background-color: var(--lotus-pond);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(87, 96, 73, 0.4);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:active {
    transform: translateY(-1px);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from { 
        opacity: 0;
        transform: perspective(1000px) rotateY(-5deg) translateX(50px);
    }
    to { 
        opacity: 1;
        transform: perspective(1000px) rotateY(-5deg) translateX(0);
    }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .hero-section .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        margin-bottom: 3rem;
    }
    
    .hero-image {
        width: 70%;
        margin: 0 auto;
        transform: perspective(1000px) rotateY(0deg);
    }
    
    section h2::after,
    section h2::before {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 992px) {
    .hero-section {
        padding: 4rem 0;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-image {
        position: relative;
        width: 80%;
        margin: 3rem auto 0;
        right: auto;
        top: auto;
        transform: none;
    }
    
    h1 { font-size: 2.4rem; }
    h2 { font-size: 2rem; }
    
    .hero-quote {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .features-grid,
    .benefits-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 2rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    
    .hero-quote {
        font-size: 1.4rem;
    }
}

/*====================
6. CONTENT SECTIONS
====================*/
.content-section {
    padding: 4rem 0;
    background: white;
}

.content-section:nth-child(even) {
    background: var(--alabaster);
}

.features-grid,
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.feature-card,
.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    border-bottom: 3px solid transparent;
}

.feature-card:hover,
.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid var(--summer-twilight);
}

.feature-icon,
.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    text-align: center;
    color: var(--summer-twilight);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.step-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    border-bottom: 3px solid transparent;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid var(--lotus-pond);
}

.step-number {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 40px;
    height: 40px;
    background: var(--summer-twilight);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.step-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
    text-align: center;
    color: var(--lotus-pond);
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

.cta-text {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--bark);
    font-family: 'Dancing Script', cursive;
}

.cta-subtext{
    margin-bottom: 1rem;
}

/*====================
7. ICON STYLING
====================*/
h1 i, h2 i {
    margin-right: 10px;
    color: var(--summer-twilight);
}

.offer-text i, .offer-highlight i, .offer-cta i, .cta-text i {
    margin-right: 8px;
    color: var(--alabaster);
}

.btn-primary i {
    margin-right: 8px;
}

.feature-icon i, .benefit-icon i, .step-icon i {
    font-size: 1.8rem;
    color: var(--summer-twilight);
}

/*====================
8. FORM STYLES
====================*/
/* Highlight section styling */
.highlight-section {
    position: relative;
}

.highlight-section::before {
    opacity: 0.7;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--lotus-pond), var(--summer-twilight));
}

.form-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.form-intro {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--bark);
}

.form-note {
    font-size: 0.9rem;
    margin-top: 1.5rem;
    text-align: center;
    color: #777;
    font-style: italic;
}

.signup-form {
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--bark);
}

.form-group input {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--summer-twilight);
    box-shadow: 0 0 0 3px rgba(122, 69, 71, 0.1);
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
    margin-top: 1rem;
    width: 100%;
}

.btn-large i {
    margin-right: 0.5rem;
}

/*====================
8. RESPONSIVE DESIGN
====================*/
@media (max-width: 1200px) {
    .hero-image {
        width: 40%;
    }
}

@media (max-width: 992px) {
    .hero-section {
        padding: 4rem 0;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-image {
        position: relative;
        width: 80%;
        margin: 3rem auto 0;
        right: auto;
        top: auto;
        transform: none;
    }
    
    h1 { font-size: 2.4rem; }
    h2 { font-size: 2rem; }
    
    .hero-quote {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .features-grid,
    .benefits-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 2rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    
    .hero-quote {
        font-size: 1.4rem;
    }
}