/* Variables */
:root {
    --primary-color: #4a148c;
    --secondary-color: #7b1fa2;
    --accent-color: #ff9800;
    --text-color: #333;
    --background-color: #f5f5f5;
    --white: #ffffff;
    --dark: #212121;
    --shadow: 0 2px 5px rgba(0,0,0,0.2);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    padding-bottom: 14rem; /* Ajoute un espace global pour les boutons flottants */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: rgba(74, 20, 140, 0.95);
    backdrop-filter: blur(10px);
    color: var(--white);
    padding: 0.8rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.navbar {
    width: 100%;
}

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

.nav-brand a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.nav-brand a:hover {
    opacity: 0.8;
}

.nav-brand h1 {
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color);
    transform: translateY(-1px);
}

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

.nav-link.active {
    color: var(--accent-color);
    font-weight: 500;
}

.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.nav-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--white);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 1px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Floating Contact Buttons */
.floating-contact {
    position: fixed;
    right: 20px;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.floating-contact a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.floating-contact a:hover {
    transform: scale(1.1);
}

.whatsapp-btn {
    background-color: #25d366;
}

.phone-btn {
    background-color: var(--accent-color);
}

/* Main Content */
main {
    margin-top: 100px;
    min-height: calc(100vh - 80px - 300px);
    padding: 2rem 0 12rem 0;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(74, 20, 140, 0.9), rgba(123, 31, 162, 0.9)), url('assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 4rem 0;
    margin-top: -2rem;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.service-card {
    background: var(--white);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: var(--shadow);
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Testimonials */
.testimonials {
    background-color: var(--white);
    padding: 3rem 0;
}

.testimonial-card {
    background: var(--background-color);
    border-radius: 10px;
    padding: 2rem;
    margin: 1rem;
    box-shadow: var(--shadow);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.testimonial-header img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: var(--secondary-color);
}

/* Footer */
.footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.social-link:hover {
    background-color: var(--accent-color);
}

.contact-info p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
}

/* Responsive Design */
.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--primary-color);
        flex-direction: column;
        padding: 1rem;
        text-align: center;
        box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

/* Enhanced Hero Section */
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    text-align: left;
}

.hero-text {
    max-width: 600px;
}

.hero-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.hero-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #e0e0e0;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-color);
}

.stat-label {
    font-size: 0.9rem;
    color: #ccc;
}

.hero-image {
    text-align: center;
}

.medium-portrait {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--accent-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* About Section */
.about {
    background-color: var(--background-color);
    padding: 4rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.about-intro {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

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

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.feature i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.about-image {
    text-align: center;
}

.about-img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* Enhanced Service Cards */
.service-icon {
    margin-bottom: 1rem;
}

.service-features {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.feature-tag {
    background: var(--accent-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Why Choose Section */
.why-choose {
    background-color: var(--white);
    padding: 4rem 0;
}

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

.reason-card {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background: var(--background-color);
    transition: transform 0.3s ease;
}

.reason-card:hover {
    transform: translateY(-5px);
}

.reason-icon {
    margin-bottom: 1rem;
}

.reason-icon i {
    font-size: 3rem;
    color: var(--accent-color);
}

.reason-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.reason-card p {
    line-height: 1.6;
    color: #555;
}

/* Enhanced Testimonials */
.testimonial-rating {
    margin-top: 0.5rem;
}

.testimonial-rating i {
    color: #ffd700;
    font-size: 0.9rem;
}

/* Enhanced Blog Cards */
.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.blog-category {
    background: var(--accent-color);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
    font-size: 0.8rem;
}

/* Enhanced Contact Section */
.contact-description {
    margin-bottom: 2rem;
    line-height: 1.6;
    color: #555;
}

.contact-methods {
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-method i {
    font-size: 1.5rem;
    color: var(--accent-color);
    width: 30px;
}

.contact-method strong {
    display: block;
    margin-bottom: 0.2rem;
    color: var(--primary-color);
}

.contact-method a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-method a:hover {
    color: var(--accent-color);
}

.contact-guarantee {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-guarantee h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-guarantee ul {
    list-style: none;
}

.contact-guarantee li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.contact-guarantee i {
    color: #4caf50;
}

/* Enhanced Contact Form */
.contact-form h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.form-description {
    margin-bottom: 1.5rem;
    color: #666;
    line-height: 1.6;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .medium-portrait {
        width: 250px;
        height: 250px;
    }
}

/* Blog Page Styles */
.blog-hero {
    background: linear-gradient(rgba(74, 20, 140, 0.9), rgba(123, 31, 162, 0.9)), url('/assets/images/blog-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 4rem 0;
}

.blog-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.blog-hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.blog-hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.blog-hero-description {
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #e0e0e0;
}

.blog-stats {
    display: flex;
    gap: 2rem;
}

.blog-stat {
    text-align: center;
}

.blog-hero-image {
    text-align: center;
}

.blog-hero-img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Blog Categories */
.blog-categories {
    background: var(--background-color);
    padding: 3rem 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow);
}

.category-card:hover,
.category-card.active {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    color: var(--accent-color);
}

.category-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.category-card h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.category-card p {
    color: #666;
    font-size: 0.9rem;
}

/* Blog Articles */
.blog-articles {
    padding: 4rem 0;
}

.blog-header {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.blog-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.blog-category-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.blog-tags {
    display: flex;
    gap: 0.5rem;
}

.tag {
    background: var(--background-color);
    color: var(--primary-color);
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
    font-size: 0.8rem;
}

.no-posts {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.no-posts i {
    font-size: 3rem;
    color: #ccc;
    margin-bottom: 1rem;
}

/* Blog Newsletter */
.blog-newsletter {
    background: var(--background-color);
    padding: 3rem 0;
    margin-top: 3rem;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.newsletter-input {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
}

.newsletter-input input {
    flex: 1;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

/* Services Page Styles */
.services-hero {
    background: linear-gradient(rgba(74, 20, 140, 0.9), rgba(123, 31, 162, 0.9)), url('/assets/images/services-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 4rem 0;
}

.services-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.services-hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.services-hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.services-hero-description {
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #e0e0e0;
}

.services-stats {
    display: flex;
    gap: 2rem;
}

.service-stat {
    text-align: center;
}

.services-hero-image {
    text-align: center;
}

.services-hero-img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Service Details */
.service-details {
    margin: 1.5rem 0;
}

.service-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.service-feature i {
    color: #4caf50;
    font-size: 0.8rem;
}

.service-cta {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    padding: 1rem 2rem;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

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

/* How It Works */
.how-it-works {
    background: var(--background-color);
    padding: 4rem 0;
}

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

.step-card {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    position: relative;
}

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

.step-icon {
    margin: 1rem 0;
}

.step-icon i {
    font-size: 3rem;
    color: var(--primary-color);
}

.step-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.step-card p {
    line-height: 1.6;
    color: #555;
}

/* Services Testimonials */
.services-testimonials {
    background: var(--white);
    padding: 4rem 0;
}

/* FAQ Section */
.faq-section {
    background: var(--background-color);
    padding: 4rem 0;
}

.faq-grid {
    display: grid;
    gap: 20px;
    margin-top: 50px;
}

.faq-item {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.faq-question {
    padding: 25px 30px;
    background: #f8f9fa;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question h3 {
    font-size: 1.1rem;
    color: #333;
    margin: 0;
    font-weight: 600;
}

.faq-question i {
    font-size: 1.2rem;
    color: #667eea;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

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

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 30px 25px;
    margin: 0;
    color: #666;
    line-height: 1.6;
}

/* Animation fade-in améliorée */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Styles pour les erreurs de formulaire */
.form-group input.error,
.form-group textarea.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

/* Amélioration du responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--primary-color);
        flex-direction: column;
        padding: 1rem;
        text-align: center;
        box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .faq-question {
        padding: 20px;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-answer p {
        padding: 0 20px 20px;
    }
    
    .contact-method-card {
        padding: 30px 20px;
    }
    
    .method-details {
        flex-direction: column;
        gap: 10px;
    }
}

/* Services Contact */
.services-contact {
    background: var(--white);
    padding: 4rem 0;
}

.contact-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.cta-content p {
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #555;
}

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

.cta-image {
    text-align: center;
}

.cta-img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* Testimonials Page Styles */
.testimonials-hero {
    background: linear-gradient(rgba(74, 20, 140, 0.9), rgba(123, 31, 162, 0.9)), url('/assets/images/testimonials-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 4rem 0;
}

.testimonials-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.testimonials-hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.testimonials-hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.testimonials-hero-description {
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #e0e0e0;
}

.testimonials-stats {
    display: flex;
    gap: 2rem;
}

.testimonial-stat {
    text-align: center;
}

.testimonials-hero-image {
    text-align: center;
}

.testimonials-hero-img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Testimonials Filters */
.testimonials-filters {
    background: var(--background-color);
    padding: 2rem 0;
}

.filters-content h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.filters-grid {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-card {
    background: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-card:hover,
.filter-card.active {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
}

.filter-card i {
    font-size: 1.2rem;
}

/* Enhanced Testimonials */
.testimonial-info {
    flex: 1;
}

.testimonial-service {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.testimonial-content {
    margin: 1rem 0;
}

.testimonial-footer {
    border-top: 1px solid #eee;
    padding-top: 1rem;
    margin-top: 1rem;
}

.testimonial-verified {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4caf50;
    font-size: 0.9rem;
}

.no-testimonials {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.no-testimonials i {
    font-size: 3rem;
    color: #ccc;
    margin-bottom: 1rem;
}

/* Testimonials Summary */
.testimonials-summary {
    margin-top: 3rem;
}

.summary-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

.summary-card h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.summary-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.summary-stat {
    text-align: center;
}

/* Add Testimonial */
.add-testimonial {
    background: var(--background-color);
    padding: 4rem 0;
}

.testimonial-form-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.form-intro h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.form-subtitle {
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #555;
}

.form-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.benefit i {
    color: var(--accent-color);
}

.testimonial-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.testimonial-form h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.rating-input {
    display: flex;
    flex-direction: row-reverse;
    gap: 0.5rem;
}

.rating-input input {
    display: none;
}

.rating-input label {
    cursor: pointer;
    font-size: 1.5rem;
    color: #ddd;
    transition: color 0.3s ease;
}

.rating-input input:checked ~ label,
.rating-input label:hover,
.rating-input label:hover ~ label {
    color: #ffd700;
}

/* Why Testify */
.why-testify {
    background: var(--white);
    padding: 4rem 0;
}

/* Consultation Page Styles */
.consultation-hero {
    background: linear-gradient(rgba(74, 20, 140, 0.9), rgba(123, 31, 162, 0.9)), url('/assets/images/consultation-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 4rem 0;
}

.consultation-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.consultation-hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.consultation-hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.consultation-hero-description {
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #e0e0e0;
}

.consultation-stats {
    display: flex;
    gap: 2rem;
}

.consultation-stat {
    text-align: center;
}

.consultation-hero-image {
    text-align: center;
}

.consultation-hero-img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Consultation Types */
.consultation-types {
    background: var(--background-color);
    padding: 4rem 0;
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.type-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.type-card:hover {
    transform: translateY(-5px);
}

.type-icon {
    margin-bottom: 1rem;
}

.type-icon i {
    font-size: 3rem;
    color: var(--accent-color);
}

.type-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.type-description {
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #555;
}

.type-features {
    margin-bottom: 1.5rem;
}

.type-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.type-feature i {
    color: #4caf50;
    font-size: 0.8rem;
}

.type-duration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--accent-color);
    font-weight: 500;
}

/* Appointment Section */
.appointment-section {
    background: var(--white);
    padding: 4rem 0;
}

.appointment-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.appointment-intro h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.appointment-subtitle {
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #555;
}

.appointment-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.appointment-form {
    background: var(--background-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.appointment-form h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

/* Consultation Testimonials */
.consultation-testimonials {
    background: var(--background-color);
    padding: 4rem 0;
}

.consultation-type-badge {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

/* Consultation FAQ */
.consultation-faq {
    background: var(--white);
    padding: 4rem 0;
}

/* Direct Contact */
.direct-contact {
    background: var(--background-color);
    padding: 4rem 0;
}

/* Additional Responsive Styles */
@media (max-width: 768px) {
    .blog-hero-content,
    .services-hero-content,
    .testimonials-hero-content,
    .consultation-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .testimonial-form-section,
    .appointment-content,
    .contact-cta {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .filters-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .newsletter-input {
        flex-direction: column;
    }
    
    .service-cta {
        flex-direction: column;
    }
}

/* Section Contact Rapide */
.quick-contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.quick-contact .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.quick-contact .section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
}

.quick-contact .section-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: white;
}

.contact-description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.contact-benefits {
    margin-bottom: 40px;
}

.benefit-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.benefit-item i {
    font-size: 1.5rem;
    margin-right: 15px;
    color: #ffd700;
}

.benefit-item div strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 5px;
    color: white;
}

.benefit-item div span {
    font-size: 0.9rem;
    opacity: 0.8;
}

.contact-methods {
    margin-bottom: 40px;
}

.contact-method {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.contact-method i {
    font-size: 1.5rem;
    margin-right: 20px;
    color: #ffd700;
}

.contact-method div strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: white;
}

.contact-method div a {
    color: #ffd700;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.contact-method div a:hover {
    color: white;
}

.contact-guarantee {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.contact-guarantee h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #ffd700;
}

.contact-guarantee ul {
    list-style: none;
    padding: 0;
}

.contact-guarantee li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1rem;
}

.contact-guarantee li i {
    color: #4CAF50;
    margin-right: 15px;
    font-size: 1.1rem;
}

/* Section Contact Form avec Image */
.contact-form-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-image {
    text-align: center;
}

.contact-img {
    width: 100%;
    max-width: 400px;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Formulaire de contact */
.contact-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    color: #333;
}

.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #333;
    text-align: center;
}

.form-description {
    text-align: center;
    margin-bottom: 30px;
    color: #666;
    font-size: 1rem;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

/* Hero Section Contact */
.contact-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0 80px;
    margin-top: -2rem;
}

.contact-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-hero-text h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: white;
}

.contact-hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #ffd700;
}

.contact-hero-description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.contact-stats {
    display: flex;
    gap: 30px;
}

.contact-stat {
    text-align: center;
}

.contact-stat .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #ffd700;
}

.contact-stat .stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.contact-hero-image {
    text-align: center;
}

.contact-hero-img {
    width: 100%;
    max-width: 500px;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Section Méthodes de Contact */
.contact-methods-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.contact-method-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.contact-method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.contact-method-card.featured {
    border: 2px solid #ffd700;
}

.method-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffd700;
    color: #333;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.method-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.method-icon i {
    font-size: 2rem;
    color: white;
}

.contact-method-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.contact-method-card p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.method-details {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}

.method-time,
.method-cost {
    background: #f8f9fa;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #666;
}

/* Section FAQ Contact */
.contact-faq {
    padding: 80px 0;
    background: white;
}

/* Responsive pour le formulaire de contact */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .quick-contact {
        padding: 60px 0;
    }
    
    .quick-contact .section-header h2 {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .contact-method {
        padding: 15px;
    }
    
    .contact-guarantee {
        padding: 20px;
    }
    
    .contact-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-hero-text h1 {
        font-size: 2.5rem;
    }
    
    .contact-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .contact-methods-grid {
        grid-template-columns: 1fr;
    }
}

/* Header Scroll Effect */
.header.scrolled {
    background-color: rgba(74, 20, 140, 0.98);
    padding: 0.6rem 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}