/* 
* Domain - Audit Financier
* Styles généraux du site
*/

/* Variables CSS pour la palette de couleurs */
:root {
    /* Palette de couleurs */
    --color-main: #3C3A6E;      /* Deep Indigo */
    --color-accent: #FF6B6B;    /* Neon Coral */
    --color-bg: #D4FFE7;        /* Soft Mint */
    --color-contrast: #2B2B2B;  /* Charcoal */
    --color-font: #FFFDF6;      /* Cream White */
    
    /* Variantes de couleurs */
    --color-main-dark: #2A2850;
    --color-main-light: #5956A3;
    --color-accent-dark: #E84F4F;
    --color-accent-light: #FF9E9E;
    --color-bg-dark: #B3DFCF;
    --color-bg-light: #E9FFF2;
    
    /* Autres couleurs */
    --color-white: #FFFFFF;
    --color-black: #000000;
    --color-gray: #CCCCCC;
    --color-light-gray: #F5F5F5;
    --color-success: #28A745;
    --color-error: #DC3545;
    
    /* Typographie */
    --font-family-main: 'Poppins', sans-serif;
    --font-family-heading: 'Montserrat', sans-serif;
    
    /* Dimensions */
    --container-max-width: 1200px;
    --header-height: 80px;
    --border-radius: 8px;
    --section-spacing: 100px;
    --section-spacing-mobile: 60px;
}

/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-contrast);
    background-color: var(--color-bg-light);
}

a {
    text-decoration: none;
    color: var(--color-main);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style-position: inside;
}

/* Chargement des polices de caractères */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Styles des sections */
section {
    padding: 80px 0;
}

.section-title {
    font-family: var(--font-family-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--color-main);
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--color-accent);
}

.section-subtitle {
    font-size: 18px;
    color: var(--color-contrast);
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: var(--font-family-main);
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-accent-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.btn-secondary {
    background-color: var(--color-main);
    color: var(--color-white);
}

.btn-secondary:hover {
    background-color: var(--color-main-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(60, 58, 110, 0.3);
}

.btn-outline {
    background-color: var(--color-white);
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
}

.btn-outline:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-large {
    padding: 15px 30px;
    font-size: 18px;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    padding: 20px;
    max-width: 400px;
    display: none; /* Initially hidden, JS will show it */
}

.cookie-content h3 {
    font-family: var(--font-family-heading);
    color: var(--color-main);
    font-size: 20px;
    margin-bottom: 10px;
}

.cookie-content p {
    font-size: 14px;
    margin-bottom: 20px;
}

.cookie-buttons {
    display: flex;
    justify-content: space-between;
}

/* Header */
.site-header {
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.logo img {
    height: 50px;
    width: auto;
}

.main-nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

.main-nav ul li {
    margin-left: 30px;
    display: flex;
    align-items: center;
}

.main-nav ul li a {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-contrast);
    position: relative;
    transition: all 0.3s ease;
    line-height: var(--header-height);
    display: flex;
    align-items: center;
    height: var(--header-height);
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.main-nav ul li a:hover::after,
.main-nav ul li.active a::after {
    width: 100%;
}

.main-nav ul li a:hover {
    color: var(--color-accent);
}

.main-nav ul li.active a {
    color: var(--color-accent);
    font-weight: 600;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
}

.menu-icon {
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
}

.menu-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--color-main);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.menu-icon span:nth-child(1) {
    top: 0px;
}

.menu-icon span:nth-child(2) {
    top: 8px;
}

.menu-icon span:nth-child(3) {
    top: 16px;
}

.menu-icon.menu-open span:nth-child(1) {
    top: 8px;
    transform: rotate(135deg);
}

.menu-icon.menu-open span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.menu-icon.menu-open span:nth-child(3) {
    top: 8px;
    transform: rotate(-135deg);
}

/* Main Content */
main {
    margin-top: var(--header-height);
    min-height: calc(100vh - var(--header-height) - 300px); /* Accounting for header and footer */
}

/* Hero Section */
.hero-section {
    background: linear-gradient(to right, var(--color-main), var(--color-main-dark));
    padding: 120px 0;
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    flex-direction: column;
    max-width: 800px;
    z-index: 1;
    position: relative;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.text-center .hero-cta {
    justify-content: center;
}

.hero-section h1 {
    font-family: var(--font-family-heading);
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-section .subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

.hero-cta .btn {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

.hero-image {
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    max-height: 100%;
    object-fit: contain;
}

/* About Section */
.about-section {
    background-color: var(--color-white);
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
}

.about-text {
    flex: 1;
    padding-right: 50px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 17px;
}

.about-stats {
    display: flex;
    margin-top: 40px;
}

.stat {
    margin-right: 40px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--color-accent);
}

.stat-text {
    font-size: 16px;
    color: var(--color-main);
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 100%;
}

/* Services Section */
.services-section {
    background-color: var(--color-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    margin-bottom: 20px;
}

.service-icon img {
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.service-card h3 {
    font-family: var(--font-family-heading);
    color: var(--color-main);
    font-size: 22px;
    margin-bottom: 15px;
}

.service-card p {
    margin-bottom: 20px;
    font-size: 16px;
}

.service-features {
    text-align: left;
    margin-bottom: 25px;
    list-style-type: none;
}

.service-features li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 25px;
}

.service-features li::before {
    content: '✓';
    color: var(--color-accent);
    position: absolute;
    left: 0;
}

/* Benefits Section */
.benefits-section {
    background-color: var(--color-white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 30px;
    margin-top: 50px;
}

.benefit-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.benefit-icon {
    margin-bottom: 20px;
}

.benefit-icon img {
    width: 60px;
    height: 60px;
    margin: 0 auto;
}

.benefit-item h3 {
    font-family: var(--font-family-heading);
    color: var(--color-main);
    font-size: 20px;
    margin-bottom: 15px;
}

.benefit-item p {
    font-size: 16px;
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--color-bg);
    position: relative;
}

.testimonial-carousel {
    max-width: 800px;
    margin: 50px auto 0;
    overflow: hidden;
    position: relative;
}

.carousel-container {
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    animation: carousel 20s infinite linear;
    width: 300%;
}

@keyframes carousel {
    0%, 33% {
        transform: translateX(0);
    }
    34%, 66% {
        transform: translateX(-33.33%);
    }
    67%, 100% {
        transform: translateX(-66.66%);
    }
}

.carousel-track:hover {
    animation-play-state: paused;
}

.testimonial-card {
    width: 33.33%;
    padding: 0 15px;
}

.testimonial-content {
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 50px;
    font-family: Georgia, serif;
    color: var(--color-main-light);
    opacity: 0.2;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    padding-left: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.author-info h4 {
    font-family: var(--font-family-heading);
    color: var(--color-main);
    font-size: 18px;
    margin-bottom: 5px;
}

.author-info p {
    font-size: 14px;
    color: var(--color-contrast);
    opacity: 0.8;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--color-gray);
    margin: 0 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: var(--color-accent);
}

/* Team Section */
.team-section {
    background-color: var(--color-white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 30px;
    margin-top: 50px;
}

.team-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.member-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .member-image img {
    transform: scale(1.05);
}

.member-info {
    padding: 20px;
    text-align: center;
    background-color: var(--color-white);
}

.member-info h3 {
    font-family: var(--font-family-heading);
    color: var(--color-main);
    font-size: 20px;
    margin-bottom: 5px;
}

.member-position {
    font-size: 16px;
    color: var(--color-accent);
    font-weight: 500;
    margin-bottom: 15px;
}

.member-description {
    font-size: 14px;
}

/* Contact Section */
.contact-section {
    background-color: var(--color-bg);
    position: relative;
}

.form-container {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
}

.contact-form {
    flex: 1;
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-right: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--color-main);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--color-gray);
    border-radius: var(--border-radius);
    font-family: var(--font-family-main);
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-main);
    box-shadow: 0 0 0 2px rgba(60, 58, 110, 0.1);
}

.required {
    color: var(--color-accent);
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
}

.form-submit {
    margin-top: 30px;
}

.form-errors {
    background-color: rgba(220, 53, 69, 0.1);
    border-left: 3px solid var(--color-error);
    padding: 15px;
    margin-bottom: 20px;
    border-radius: var(--border-radius);
}

.form-errors ul {
    margin-top: 10px;
    margin-left: 20px;
}

.contact-info {
    flex: 1;
    padding: 0 20px;
}

.contact-info h3 {
    font-family: var(--font-family-heading);
    color: var(--color-main);
    font-size: 24px;
    margin-bottom: 30px;
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-icon {
    margin-right: 20px;
}

.contact-icon img {
    width: 30px;
    height: 30px;
}

.contact-text h4 {
    font-family: var(--font-family-heading);
    color: var(--color-main);
    font-size: 18px;
    margin-bottom: 5px;
}

/* FAQ Section */
.faq-section {
    background-color: var(--color-white);
}

.faq-container {
    max-width: 800px;
    margin: 50px auto 0;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: var(--border-radius);
    background-color: var(--color-bg-light);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question h3 {
    font-family: var(--font-family-heading);
    color: var(--color-main);
    font-size: 18px;
    font-weight: 600;
}

.faq-toggle {
    width: 24px;
    height: 24px;
    position: relative;
}

.toggle-icon {
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: var(--color-main);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.toggle-icon::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 20px;
    background-color: var(--color-main);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.faq-item.open .toggle-icon::after {
    opacity: 0;
}

.faq-answer {
    padding: 0 20px 20px;
    display: none;
}

.faq-answer p {
    line-height: 1.8;
}

/* Footer */
.site-footer {
    background-color: var(--color-main-dark);
    color: var(--color-white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 30px;
    margin-bottom: 40px;
}

.footer-info {
    grid-column: span 1;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
}

.footer-description {
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.6;
}

.footer-contact,
.footer-links,
.footer-legal {
    grid-column: span 1;
}

.footer-contact h3,
.footer-links h3,
.footer-legal h3 {
    font-family: var(--font-family-heading);
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-contact h3::after,
.footer-links h3::after,
.footer-legal h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-accent);
}

.footer-contact address {
    font-style: normal;
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.8;
}

.footer-contact address p {
    margin-bottom: 10px;
}

.footer-contact a,
.footer-links a,
.footer-legal a {
    color: var(--color-font);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-contact a:hover,
.footer-links a:hover,
.footer-legal a:hover {
    opacity: 1;
    color: var(--color-accent);
}

.footer-links ul,
.footer-legal ul {
    list-style: none;
}

.footer-links ul li,
.footer-legal ul li {
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    opacity: 0.7;
}

/* Thank You Page */
.thankyou-section {
    padding: 100px 0;
    text-align: center;
}

.thankyou-content {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.thankyou-icon {
    margin-bottom: 30px;
}

.thankyou-icon img {
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.thankyou-section h1 {
    font-family: var(--font-family-heading);
    color: var(--color-main);
    font-size: 36px;
    margin-bottom: 20px;
}

.thankyou-message {
    font-size: 18px;
    margin-bottom: 40px;
}

.thankyou-next {
    text-align: left;
    margin: 40px 0;
    padding: 20px;
    background-color: var(--color-bg-light);
    border-radius: var(--border-radius);
}

.thankyou-next h2 {
    font-family: var(--font-family-heading);
    color: var(--color-main);
    font-size: 24px;
    margin-bottom: 15px;
}

.thankyou-next ol {
    margin-left: 20px;
    line-height: 1.8;
}

.thankyou-next li {
    margin-bottom: 10px;
}

.thankyou-cta {
    margin-top: 40px;
}

/* Policy Pages */
.policy-section {
    padding: 100px 0;
}

.policy-content {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.policy-content h1 {
    font-family: var(--font-family-heading);
    color: var(--color-main);
    font-size: 36px;
    margin-bottom: 20px;
    text-align: center;
}

.policy-last-updated {
    text-align: center;
    font-style: italic;
    color: var(--color-contrast);
    opacity: 0.7;
    margin-bottom: 40px;
}

.policy-text h2 {
    font-family: var(--font-family-heading);
    color: var(--color-main);
    font-size: 24px;
    margin: 40px 0 20px;
    border-bottom: 1px solid var(--color-gray);
    padding-bottom: 10px;
}

.policy-text h3 {
    font-family: var(--font-family-heading);
    color: var(--color-main);
    font-size: 20px;
    margin: 30px 0 15px;
}

.policy-text p,
.policy-text ul,
.policy-text ol {
    margin-bottom: 20px;
    line-height: 1.8;
}

.policy-text ul,
.policy-text ol {
    margin-left: 20px;
}

.policy-text li {
    margin-bottom: 10px;
}

/* CSS Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeInRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
    animation-play-state: paused;
}

.slide-up {
    opacity: 0;
    animation: slideUp 1s forwards;
    animation-play-state: paused;
}

.fade-in-right {
    opacity: 0;
    animation: fadeInRight 1s forwards;
    animation-play-state: paused;
}

.bounce-in {
    opacity: 0;
    animation: bounceIn 1s forwards;
    animation-play-state: paused;
}

/* Animation triggers on scroll */
.fade-in.animate,
.slide-up.animate,
.fade-in-right.animate,
.bounce-in.animate {
    animation-play-state: running;
}

/* Media Queries for Responsive Design */
/* Tablet Landscape */
@media (max-width: 1024px) {
    .section-title {
        font-size: 32px;
    }
    
    .services-grid,
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-text {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .about-stats {
        justify-content: center;
    }
    
    .hero-section h1 {
        font-size: 36px;
    }
    
    .hero-section .subtitle {
        font-size: 18px;
    }
    
    .form-container {
        flex-direction: column;
    }
    
    .contact-form {
        margin-right: 0;
        margin-bottom: 40px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet Portrait */
@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: 0;
        background-color: var(--color-white);
        overflow: hidden;
        transition: height 0.3s ease;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .main-nav.mobile-open {
        height: calc(100vh - var(--header-height));
        overflow-y: auto;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 20px;
    }
    
    .main-nav ul li {
        margin: 0 0 20px 0;
    }
    
    .main-nav ul li a {
        font-size: 18px;
        display: block;
        padding: 10px 0;
    }
    
    .hero-image {
        position: relative;
        right: 0;
        top: 0;
        transform: none;
        width: 100%;
        height: auto;
        margin-top: 40px;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .section-title {
        font-size: 28px;
    }
    
    .hero-section h1 {
        font-size: 32px;
    }
    
    .hero-section .subtitle {
        font-size: 16px;
    }
    
    .hero-cta {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .hero-cta .btn {
        width: auto;
        min-width: 140px;
        text-align: center;
    }
    
    .services-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        flex-direction: column;
    }
    
    .stat {
        margin-right: 0;
        margin-bottom: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .policy-content {
        padding: 30px 20px;
    }
    
    .policy-content h1 {
        font-size: 28px;
    }
    
    .thankyou-content {
        padding: 30px 20px;
    }
    
    .thankyou-section h1 {
        font-size: 28px;
    }
}
