/* ===== VARIABLES ET RESET ===== */
:root {
    /* Palette de couleurs */
    --primary: #4a7b8c;
    --primary-dark: #345b69;
    --primary-light: #7aa6b6;
    --secondary: #d36835;
    --secondary-light: #e8977a;
    --secondary-dark: #a84d1f;
    --accent: #9bb26a;
    --accent-light: #c2d39f;
    --light: #f5f7f9;
    --dark: #253238;
    --gray: #e0e4e8;
    --gray-dark: #7a8a93;
    
    /* Typographie */
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Montserrat', sans-serif;
    
    /* Espacement */
    --section-spacing: 100px;
    --element-spacing: 30px;
    
    /* Effets */
    --border-radius: 8px;
    --border-radius-lg: 15px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --box-shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
}

/* ===== UTILITAIRES ===== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239bb26a' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: -1;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    line-height: 1.3;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--dark);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}

p {
    margin-bottom: 1.5rem;
}

/* ===== BOUTONS ===== */
.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo h1 {
    font-size: 1.75rem;
    margin: 0;
    line-height: 1;
}

.logo h1 span {
    color: var(--primary);
}

.logo-tagline {
    font-size: 0.75rem;
    color: var(--gray-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--dark);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

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

.nav-link:hover {
    color: var(--primary);
}

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

.header-contact {
    display: flex;
    align-items: center;
}

.header-contact a {
    color: var(--dark);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-contact a:hover {
    color: var(--primary);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--dark);
    transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero-section {
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7f9 0%, #e5f0f5 100%);
}

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

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h2 {
    font-size: 3.5rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-dark);
    margin-bottom: 2rem;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 15px;
}

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

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.hero-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    position: relative;
    z-index: 2;
}

.dots-decoration {
    position: absolute;
    width: 200px;
    height: 200px;
    background-image: radial-gradient(var(--accent-light) 2px, transparent 2px);
    background-size: 15px 15px;
    top: -30px;
    right: -30px;
    z-index: 1;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 50px;
}

.hero-wave .shape-fill {
    fill: #FFFFFF;
}

/* ===== STATS SECTION ===== */
.stats-section {
    padding: 60px 0;
    background-color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

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

.stat-number {
    font-family: var(--heading-font);
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.1;
    margin-bottom: 10px;
}

.stat-text {
    font-size: 0.95rem;
    color: var(--dark);
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    margin-bottom: 15px;
}

.section-header p {
    color: var(--gray-dark);
    font-size: 1.1rem;
}

.section-header.light h2,
.section-header.light p {
    color: white;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: var(--section-spacing) 0;
    background-color: var(--light);
}

.about-grid {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
    z-index: 2;
}

.about-image-accent {
    position: absolute;
    width: 80%;
    height: 80%;
    background-color: var(--accent);
    opacity: 0.15;
    top: -30px;
    left: -30px;
    border-radius: var(--border-radius);
    z-index: 1;
}

.about-content h3 {
    margin-bottom: 20px;
    color: var(--primary);
}

.about-features {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.about-feature {
    display: flex;
    gap: 20px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.feature-content p {
    font-size: 0.9rem;
    color: var(--gray-dark);
    margin-bottom: 0;
}

/* ===== PROBLEMS SECTION ===== */
.problems-section {
    padding: var(--section-spacing) 0;
    background-color: white;
}

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

.problem-card {
    background-color: var(--light);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.problem-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.problem-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 1.5rem;
}

.problem-card h3 {
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.problem-list {
    margin-top: 20px;
    padding-left: 20px;
}

.problem-list li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.problem-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent);
}

/* ===== METHODS SECTION ===== */
.methods-section {
    padding: var(--section-spacing) 0;
    background-color: var(--light);
}

.methods-tabs {
    background-color: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.tabs-nav {
    display: flex;
    background-color: var(--primary);
}

.tab-btn {
    flex: 1;
    padding: 20px 15px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--body-font);
}

.tab-btn:hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
}

.tab-btn.active {
    color: white;
    background-color: rgba(255, 255, 255, 0.2);
}

.tabs-content {
    padding: 40px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-grid {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 40px;
    align-items: center;
}

.tab-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.tab-info h3 {
    color: var(--primary);
    margin-bottom: 20px;
}

.tab-feature-list {
    margin-top: 30px;
}

.tab-feature-list li {
    margin-bottom: 25px;
}

.tab-feature-list li strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--dark);
}

.tab-feature-list li p {
    font-size: 0.95rem;
    margin-bottom: 0;
    color: var(--gray-dark);
}

/* ===== SPECIALISTS SECTION ===== */
.specialists-section {
    padding: var(--section-spacing) 0;
    background-color: white;
}

.specialists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
}

.specialist-card {
    background-color: var(--light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.specialist-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.specialist-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.specialist-info {
    padding: 30px;
}

.specialist-info h3 {
    margin-bottom: 5px;
    color: var(--primary-dark);
}

.specialist-position {
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 600;
}

.specialist-bio {
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.specialist-education h4 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.specialist-education ul {
    padding-left: 20px;
}

.specialist-education li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: var(--gray-dark);
}

.specialist-education li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary);
}

/* ===== PROGRAM SECTION ===== */
.program-section {
    padding: var(--section-spacing) 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
}

.program-timeline {
    position: relative;
    padding-left: 50px;
}

.program-timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 50px;
    bottom: 50px;
    width: 2px;
    background-color: rgba(255, 255, 255, 0.2);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-number {
    position: absolute;
    left: -50px;
    top: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--heading-font);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    z-index: 2;
}

.timeline-content h3 {
    color: white;
    margin-bottom: 15px;
}

.timeline-content p {
    color: rgba(255, 255, 255, 0.8);
}

.timeline-content p:last-child {
    margin-bottom: 0;
}

.timeline-content p strong {
    color: white;
    font-weight: 600;
}

/* ===== REVIEWS SECTION ===== */
.reviews-section {
    padding: var(--section-spacing) 0;
    background-color: var(--light);
}

.reviews-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto 30px;
}

.review-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    margin: 20px;
    display: none;
}

.review-card.active {
    display: block;
}

.review-text {
    position: relative;
    margin-bottom: 30px;
}

.review-text::before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 3rem;
    color: var(--accent-light);
    opacity: 0.3;
    z-index: 0;
}

.review-text p {
    position: relative;
    z-index: 1;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.author-info h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.author-info p {
    font-size: 0.85rem;
    color: var(--gray-dark);
    margin-bottom: 0;
}

.reviews-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.review-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: white;
    border: 2px solid var(--primary-light);
    color: var(--primary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: var(--section-spacing) 0;
    background-color: white;
}

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

.accordion-item {
    background-color: var(--light);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    overflow: hidden;
}

.accordion-header {
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.accordion-header:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.accordion-header h3 {
    font-size: 1.25rem;
    margin-bottom: 0;
}

.accordion-icon {
    color: var(--primary);
    font-size: 1.1rem;
}

.accordion-content {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    padding-bottom: 30px;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: var(--section-spacing) 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-block {
    display: flex;
    gap: 20px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-text h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.info-text p, .info-text a {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

.info-text a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-link:hover {
    background-color: white;
    color: var(--primary);
    transform: translateY(-3px);
}

.contact-form {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--box-shadow);
}

.contact-form h3 {
    color: var(--dark);
    text-align: center;
    margin-bottom: 30px;
}

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

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border-radius: var(--border-radius);
    border: 1px solid var(--gray);
    font-family: var(--body-font);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(74, 123, 140, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
    margin-top: 5px;
}

.checkbox-group label {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.checkbox-group a {
    color: var(--primary);
    text-decoration: underline;
}

.submit-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-family: var(--body-font);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* ===== MAP SECTION ===== */
.map-section {
    line-height: 0;
}

.map-section iframe {
    width: 100%;
    height: 450px;
}

/* ===== FOOTER ===== */
.site-footer {
    padding: 70px 0 30px;
    background-color: var(--dark);
    color: white;
}

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

.footer-logo h2 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 10px;
}

.footer-logo h2 span {
    color: var(--primary-light);
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.footer-nav h3,
.footer-contact h3,
.footer-hours h3 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-nav a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact p,
.footer-hours p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact i {
    color: var(--primary-light);
    margin-top: 5px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact a:hover {
    color: white;
}

.footer-hours p span {
    color: white;
    width: 65px;
    display: inline-block;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1200px) {
    .hero-content h2 {
        font-size: 3rem;
    }
    
    .stats-grid {
        gap: 20px;
    }
    
    .specialist-card {
        max-width: 350px;
        margin: 0 auto;
    }
}

@media (max-width: 992px) {
    .hero-section {
        padding: 150px 0 100px;
    }
    
    .hero-section .container {
        flex-direction: column;
        gap: 60px;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-features {
        align-items: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }
    
    .about-grid,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-image {
        text-align: center;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .tab-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .tab-image {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    :root {
        --section-spacing: 70px;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .header-contact {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: white;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 999;
    }
    
    .main-nav.active {
        transform: translateY(0);
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .specialists-grid {
        grid-template-columns: 1fr;
    }
    
    .tabs-nav {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        padding: 15px;
        font-size: 0.9rem;
        text-align: center;
    }
    
    .tabs-content {
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .problem-card {
        padding: 25px 20px;
    }
    
    .timeline-content h3 {
        font-size: 1.3rem;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
}