/* 
 * Auditoré Financier - Main Stylesheet
 * Colors:
 * - Primary: #0a7666; (electric blue)
 * - Accent: #C084FC (bright lavender)
 * - Text: #2E2E2E (charcoal gray)
 * - Background: #FCFAF9 (milky white)
 * - Additional: #A4F9C8 (pistachio)
 */

/* Reset and Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #2E2E2E;
    background-color: #FCFAF9;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

h2:after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: #0a7666;;
    margin: 15px auto;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #0a7666;;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #C084FC;
}

section {
    padding: 80px 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: #0a7666;
    color: #FCFAF9;
}

.btn-primary:hover {
    background-color: #C084FC;
    color: #FCFAF9;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: transparent;
    color: #0a7666;;
    border: 2px solid #0a7666;;
}

.btn-secondary:hover {
    background-color: #0a7666;;
    color: #FCFAF9;
}

/* Header */
header {
    background-color: #FCFAF9;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 50px;
}

.logo h1 {
    font-size: 1.5rem;
    margin: 0 0 0 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    color: #2E2E2E;
    font-weight: 600;
    position: relative;
}

.nav-menu a:hover {
    color: #0a7666;;
}

.nav-menu a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0a7666;;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #2E2E2E;
}

/* Hero Section */
.hero-section {
    background-color: #FCFAF9;
    padding: 150px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.hero-section h1 {
    color: #FCFAF9;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 1.5rem;
}

.tagline {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    color: #FCFAF9;
    text-shadow: 0 2px 3px rgba(0, 0, 0, 0.4);
}

.hero-image {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* About Section */
.about-section {
    background-color: #FCFAF9;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Benefits Section */
.benefits-section {
    background-color: #FCFAF9;
    position: relative;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-item {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    margin-bottom: 20px;
}

.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #A4F9C8;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.icon {
    font-size: 2.5rem;
}

/* Services Section */
.services-section {
    background-color: #FCFAF9;
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.service-card {
    flex: 1;
    min-width: 200px;
    max-width: 380px;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    color: #0a7666;;
    margin-bottom: 15px;
}

.service-content p {
    margin-bottom: 20px;
}

/* Testimonials Section */
.testimonials-section {
    background-color: rgba(192, 132, 252, 0.05);
    position: relative;
}

.testimonials-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.testimonial-card {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial-card::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    line-height: 1;
    color: rgba(15, 241, 206, 0.2);
    font-family: Georgia, serif;
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

.testimonial-author {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.testimonial-author h4 {
    color: #0a7666;;
    margin-bottom: 5px;
}

.testimonial-author p {
    font-size: 0.9rem;
    margin: 0;
}

/* Contact Section */
.contact-section {
    background-color: #FCFAF9;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info {
    flex: 1;
    min-width: 200px;
}

.contact-info h3 {
    margin-bottom: 20px;
    color: #0a7666;;
}

.contact-info p {
    margin-bottom: 10px;
}

.business-hours {
    margin-top: 30px;
    padding: 20px;
    background-color: rgba(15, 241, 206, 0.05);
    border-radius: 10px;
}

.contact-form {
    flex: 1;
    min-width: 200px;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

/* Form Error Messages */
.form-errors {
    background-color: rgba(255, 87, 87, 0.1);
    border-left: 4px solid #FF5757;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 0 4px 4px 0;
}

.error-message {
    color: #D63031;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.error-message:last-child {
    margin-bottom: 0;
}

.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background-color: #f7f7f7;
    font-size: 1rem;
    transition: all 0.3s ease;
}
.policy-section h1{
    text-align: center;
    display: flex !important;
    justify-content: center;
}
.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #0a7666;
    background-color: white;
}

.form-label {
    position: absolute;
    left: 15px;
    top: 13px;
    color: #888;
    transition: all 0.3s ease;
    pointer-events: none;
}
.form-group select .form-label{
    display: none;
}
.form-group input:focus ~ .form-label,
.form-group input:not(:placeholder-shown) ~ .form-label,
.form-group select:focus ~ .form-label,
.form-group select:not([value=""]):valid ~ .form-label {
    top: -10px;
    left: 10px;
    font-size: 0.8rem;
    color: #0a7666;;
    background-color: white;
    padding: 0 5px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
    margin-top: 3px;
}

.checkbox-group label {
    font-size: 0.9rem;
}

/* FAQ Section */
.faq-section {
    background-color: rgba(164, 249, 200, 0.1);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 20px 30px;
    cursor: pointer;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
}

.faq-question::after {
    content: "+";
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #0a7666;;
}

.faq-item.active .faq-question::after {
    content: "-";
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 20px 30px;
    max-height: 1000px;
}

/* Footer */
footer {
    background-color: #2E2E2E;
    color: #FCFAF9;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-column h3 {
    color: #0a7666;;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #FCFAF9;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #0a7666;;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.9rem;
    margin: 0;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: rgba(46, 46, 46, 0.95);
    color: #FCFAF9;
    padding: 20px;
    z-index: 9999;
    transition: bottom 0.5s ease-in-out;
}

.cookie-popup.show {
    bottom: 0;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cookie-content h3 {
    color: #0a7666;;
}

.cookie-content p {
    margin: 10px 0 20px;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-text {
        order: 2;
    }
    
    .about-image {
        order: 1;
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: #FCFAF9;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 40px;
        transition: left 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .hero-section {
        padding: 80px 0 60px;
    }
}

@media screen and (max-width: 576px) {
    section {
        padding: 40px 0;
    }
    .policy-section h1{
        font-size: 2rem !important;
    }
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 10px 25px;
    }
    
    .testimonial-card, 
    .service-card {
        min-width: 100%;
    }
} 