/* ============================================
   SBAAI AUTO SERVICES - Stylesheet Principal
   Design System: Orange (#FF8500) + Gris foncé (#2D3142)
   ============================================ */

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

:root {
    /* Couleurs Primaires (Orange) */
    --primary-50: #FFF5E6;
    --primary-100: #FFE6BF;
    --primary-200: #FFD699;
    --primary-300: #FFC773;
    --primary-400: #FFB84D;
    --primary-500: #FF8500;
    --primary-600: #E67700;
    --primary-700: #CC6900;
    --primary-800: #B35B00;
    --primary-900: #994D00;
    
    /* Couleurs Secondaires (Gris foncé) */
    --secondary-50: #F5F6F7;
    --secondary-100: #E8EAED;
    --secondary-200: #D1D5DB;
    --secondary-300: #9CA3AF;
    --secondary-400: #6B7280;
    --secondary-500: #3E4451;
    --secondary-600: #2D3142;
    --secondary-700: #1F2128;
    --secondary-800: #16181E;
    --secondary-900: #0D0E12;
    
    /* Gris neutres */
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    
    /* Espacement */
    --max-width: 1280px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Border radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Transitions */
    --transition-base: all 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--gray-900);
    background-color: #fff;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* --- UTILITY CLASSES --- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition-base);
    text-align: center;
}

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

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

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

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

.btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

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

/* --- HEADER --- */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: white;
    box-shadow: var(--shadow-md);
}

.header-top {
    background-color: var(--secondary-600);
    color: white;
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

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

.header-top-info {
    display: flex;
    gap: 1.5rem;
}

.header-top-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-nav {
    padding: 0.75rem 0;
}

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

.logo img {
    height: 64px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu a {
    color: var(--gray-700);
    font-weight: 500;
    transition: var(--transition-base);
}

.nav-menu a:hover {
    color: var(--primary-500);
}

.nav-menu .dropdown {
    position: relative;
}

.nav-menu .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
    background-color: white;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-lg);
    padding: 0.5rem 0;
    min-width: 200px;
    z-index: 100;
}

.nav-menu .dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--gray-700);
}

.dropdown-menu a:hover {
    background-color: var(--gray-50);
    color: var(--primary-500);
}

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

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: var(--shadow-lg);
    padding: 1rem;
}

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

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-menu a {
    display: block;
    padding: 0.5rem;
    color: var(--gray-700);
}

/* --- HERO SECTION --- */
.hero {
    background: linear-gradient(to right, var(--secondary-600), var(--secondary-700));
    color: white;
    padding: 5rem 0;
}

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

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content .subtitle {
    font-size: 1.5rem;
    color: var(--primary-200);
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.125rem;
    color: var(--gray-200);
    margin-bottom: 2rem;
    max-width: 500px;
}

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

.hero-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-2xl);
}

/* --- PAGE HEADER --- */
.page-header {
    padding: 8rem 0 4rem;
    text-align: center;
    color: white;
}

.page-header.primary {
    background: linear-gradient(to right, var(--primary-500), var(--primary-600));
}

.page-header.secondary {
    background: linear-gradient(to right, var(--secondary-600), var(--secondary-700));
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.25rem;
    color: var(--primary-100);
    max-width: 800px;
    margin: 0 auto;
}

/* --- SECTIONS --- */
.section {
    padding: 4rem 0;
}

.section.bg-gray {
    background-color: var(--gray-50);
}

.section.bg-primary {
    background-color: var(--primary-500);
    color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

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

.section.bg-primary .section-header h2 {
    color: white;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto;
}

/* --- GRID LAYOUTS --- */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* --- SERVICE CARDS --- */
.service-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
    border-color: var(--primary-200);
    background-color: var(--primary-50);
}

.service-card .icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-100), var(--primary-200));
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 12px rgba(255, 133, 0, 0.15);
    transition: var(--transition-base);
}

.service-card .icon svg {
    width: 40px;
    height: 40px;
    color: var(--primary-600);
    transition: var(--transition-base);
}

.service-card h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--secondary-600);
    margin-bottom: 1rem;
    text-align: center;
    line-height: 1.2;
    width: 100%;
}

.service-card p {
    color: var(--gray-600);
    line-height: 1.6;
    text-align: center;
    width: 100%;
    margin: 0;
}

/* Améliorations supplémentaires pour les cartes */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 133, 0, 0.05), rgba(255, 133, 0, 0.1));
    opacity: 0;
    transition: var(--transition-base);
    z-index: 1;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover .icon {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 133, 0, 0.25);
}

.service-card:hover .icon svg {
    color: var(--primary-700);
    transform: rotate(5deg);
}

/* Amélioration pour la grille de cartes */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        min-height: 250px;
        padding: 1.5rem;
    }
    
    .service-card .icon {
        width: 70px;
        height: 70px;
    }
    
    .service-card .icon svg {
        width: 35px;
        height: 35px;
    }
}

/* --- STATS --- */
.stats {
    background-color: var(--primary-500);
    color: white;
    padding: 4rem 0;
}

.stats .grid {
    text-align: center;
}

.stat-item .number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-item .label {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.stat-item .description {
    color: var(--primary-100);
}

/* --- CTA SECTION --- */
.cta {
    background: linear-gradient(to right, var(--secondary-600), var(--secondary-700));
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.125rem;
    color: var(--primary-100);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.cta-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
}

.cta-card:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.cta-card svg {
    width: 40px;
    height: 40px;
    margin: 0 auto 1rem;
}

.cta-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cta-card .phone-number {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
    margin-top: 1rem;
}

/* --- FOOTER --- */
.footer {
    background-color: var(--gray-900);
    color: var(--gray-300);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-section h4 {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--gray-400);
    line-height: 1.6;
}

.footer-section ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-section a {
    color: var(--gray-400);
    transition: var(--transition-base);
}

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

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: var(--gray-400);
}

.footer-credit {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 0.5rem;
}

.footer-credit a {
    color: var(--primary-400);
}

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

.social-links a {
    transition: var(--transition-base);
}

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

/* --- MODAL --- */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: white;
    border-radius: var(--radius-xl);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

.modal-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--gray-500);
}

.modal-close:hover {
    color: var(--gray-900);
}

.modal-body {
    padding: 1.5rem;
}

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

.form-label {
    display: block;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: var(--transition-base);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(255, 133, 0, 0.1);
}

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

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

/* --- CONTACT PAGE --- */
.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.info-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-icon {
    background-color: var(--primary-100);
    padding: 0.75rem;
    border-radius: var(--radius-lg);
    flex-shrink: 0;
    height: fit-content;
}

.info-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary-500);
}

.info-content h3 {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.info-content p,
.info-content a {
    color: var(--gray-600);
}

.info-content a:hover {
    color: var(--primary-500);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(3, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
    }
    
    .hero-image {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-cards {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .header-top-info {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}

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

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

/* --- ALERT MESSAGES --- */
.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-success {
    background-color: #D1FAE5;
    color: #065F46;
    border: 1px solid #6EE7B7;
}

.alert-error {
    background-color: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FCA5A5;
}

.alert-info {
    background-color: #DBEAFE;
    color: #1E40AF;
    border: 1px solid #93C5FD;
}


/* ============================================
   NOUVELLES PAGES - STYLES ADDITIONNELS
   ============================================ */

/* --- PAGE HERO (PAGES INTERNES) --- */
.page-hero {
    background: linear-gradient(135deg, var(--secondary-600) 0%, var(--secondary-700) 100%);
    padding: 6rem 0 4rem;
    text-align: center;
    color: white;
}

.page-hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-hero-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.breadcrumb a {
    transition: var(--transition-base);
}

.breadcrumb a:hover {
    opacity: 0.7;
}

/* --- SERVICES PAGE --- */
.services-grid-section {
    padding: 4rem 0;
    background-color: var(--gray-50);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card-detailed {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    text-align: center;
}

.service-card-detailed:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

.service-card-detailed h3 {
    font-size: 1.5rem;
    color: var(--secondary-600);
    margin-bottom: 1rem;
}

.service-card-detailed > p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-image {
    display: block;
    margin: 0 auto 1rem;
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
}

.service-features {
    text-align: left;
    margin-bottom: 1.5rem;
    padding-left: 1rem;
}

.service-features li {
    list-style: none;
    padding: 0.5rem 0;
    color: var(--gray-700);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-500);
    font-weight: bold;
}

.why-choose-section {
    padding: 4rem 0;
    background: white;
}

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

.why-card {
    text-align: center;
    padding: 2rem;
}

.why-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: var(--primary-50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-icon svg {
    width: 30px;
    height: 30px;
    color: var(--primary-500);
}

.why-card h3 {
    font-size: 1.25rem;
    color: var(--secondary-600);
    margin-bottom: 0.75rem;
}

.why-card p {
    color: var(--gray-600);
    line-height: 1.7;
}

/* --- ABOUT PAGE --- */
.about-intro-section {
    padding: 4rem 0;
    background: white;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.about-intro-content h2 {
    font-size: 2.5rem;
    color: var(--secondary-600);
    margin-bottom: 0.5rem;
}

.about-intro-content .lead {
    font-size: 1.25rem;
    color: var(--primary-500);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.about-intro-content p {
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-intro-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-intro-image img {
    max-width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.values-section {
    padding: 4rem 0;
    background: var(--gray-50);
}

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

.value-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

.value-card h3 {
    font-size: 1.5rem;
    color: var(--secondary-600);
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--gray-600);
    line-height: 1.7;
}

.commitments-section {
    padding: 4rem 0;
    background: white;
}

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

.commitment-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.commitment-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-500);
    opacity: 0.3;
    line-height: 1;
}

.commitment-content h3 {
    font-size: 1.25rem;
    color: var(--secondary-600);
    margin-bottom: 0.5rem;
}

.commitment-content p {
    color: var(--gray-600);
    line-height: 1.7;
}

.stats-section-about {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
}

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

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

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon svg {
    width: 30px;
    height: 30px;
    color: white;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.stat-item p {
    opacity: 0.9;
    font-size: 0.9rem;
}

.story-section {
    padding: 4rem 0;
    background: var(--gray-50);
}

.story-content {
    max-width: 900px;
    margin: 0 auto;
}

.story-content h2 {
    font-size: 2.5rem;
    color: var(--secondary-600);
    margin-bottom: 0.5rem;
}

.story-content .lead {
    font-size: 1.25rem;
    color: var(--primary-500);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.story-content p {
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.story-list {
    margin-top: 1.5rem;
    padding-left: 1.5rem;
}

.story-list li {
    list-style: disc;
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 0.75rem;
}

.trust-section {
    padding: 4rem 0;
    background: white;
}

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

.trust-card {
    padding: 2rem;
    border-left: 4px solid var(--primary-500);
    background: var(--gray-50);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.trust-card:hover {
    background: white;
    box-shadow: var(--shadow-md);
}

.trust-card h3 {
    font-size: 1.25rem;
    color: var(--secondary-600);
    margin-bottom: 0.75rem;
}

.trust-card p {
    color: var(--gray-600);
    line-height: 1.7;
}

.location-section {
    padding: 4rem 0;
    background: var(--gray-50);
}

.location-content h2 {
    font-size: 2rem;
    color: var(--secondary-600);
    margin-bottom: 2rem;
    text-align: center;
}

.location-details {
    max-width: 800px;
    margin: 0 auto;
}

.location-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.location-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.location-item svg {
    width: 30px;
    height: 30px;
    color: var(--primary-500);
    flex-shrink: 0;
}

.location-item h4 {
    font-size: 1.125rem;
    color: var(--secondary-600);
    margin-bottom: 0.5rem;
}

.location-item p {
    color: var(--gray-700);
    line-height: 1.6;
}

.location-item a {
    color: var(--primary-500);
    transition: var(--transition-base);
}

.location-item a:hover {
    color: var(--primary-600);
}

/* --- CONTACT PAGE --- */
.contact-section {
    padding: 4rem 0;
    background: var(--gray-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact-info-wrapper h2,
.contact-form-wrapper h2 {
    font-size: 2rem;
    color: var(--secondary-600);
    margin-bottom: 1rem;
}

.contact-info-wrapper > p,
.contact-form-wrapper > p {
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: var(--transition-base);
}

.contact-info-card:hover {
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary-500);
}

.contact-details h3 {
    font-size: 1.125rem;
    color: var(--secondary-600);
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--gray-700);
    line-height: 1.6;
}

.contact-details a {
    color: var(--primary-500);
    transition: var(--transition-base);
}

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

.small-text {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.social-media-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.social-media-section h3 {
    font-size: 1.125rem;
    color: var(--secondary-600);
    margin-bottom: 1rem;
}

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

.social-link {
    width: 40px;
    height: 40px;
    background: var(--primary-50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.social-link svg {
    width: 20px;
    height: 20px;
    color: var(--primary-500);
}

.social-link:hover {
    background: var(--primary-500);
}

.social-link:hover svg {
    color: white;
}

.contact-form-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.btn-full {
    width: 100%;
}

.form-message {
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-top: 1rem;
    text-align: center;
}

.form-message.success {
    background-color: #D1FAE5;
    color: #065F46;
    border: 1px solid #6EE7B7;
}

.form-message.error {
    background-color: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FCA5A5;
}

.centers-section {
    padding: 4rem 0;
    background: white;
}

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

.center-card {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: var(--radius-xl);
    border: 2px solid transparent;
    transition: var(--transition-base);
}

.center-card:hover {
    border-color: var(--primary-500);
    background: white;
    box-shadow: var(--shadow-md);
}

.center-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: var(--primary-500);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.center-card h3 {
    font-size: 1.25rem;
    color: var(--secondary-600);
    margin-bottom: 1rem;
}

.center-info {
    margin-bottom: 1.5rem;
}

.center-info-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.center-info-item svg {
    width: 20px;
    height: 20px;
    color: var(--primary-500);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.center-info-item p {
    color: var(--gray-700);
    line-height: 1.6;
    font-size: 0.9rem;
}

.faq-section {
    padding: 4rem 0;
    background: var(--gray-50);
}

.faq-list {
    max-width: 900px;
    margin: 3rem auto 0;
}

.faq-item {
    background: white;
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-base);
}

.faq-question:hover {
    background: var(--gray-50);
}

.faq-question h3 {
    font-size: 1.125rem;
    color: var(--secondary-600);
    font-weight: 600;
}

.faq-question svg {
    width: 24px;
    height: 24px;
    color: var(--primary-500);
    transition: var(--transition-base);
}

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

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

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

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--gray-700);
    line-height: 1.7;
}

/* --- BLOG PAGE --- */
.blog-categories-section {
    padding: 2rem 0;
    background: white;
    border-bottom: 1px solid var(--gray-200);
}

.blog-categories {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.category-btn {
    padding: 0.75rem 1.5rem;
    background: var(--gray-100);
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    color: var(--gray-700);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
}

.category-btn:hover {
    background: var(--gray-200);
}

.category-btn.active {
    background: var(--primary-500);
    color: white;
    border-color: var(--primary-600);
}

.featured-article-section {
    padding: 3rem 0;
    background: var(--gray-50);
}

.featured-article {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: white;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.featured-article-image {
    position: relative;
    background: var(--gray-200);
    min-height: 400px;
}

.article-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: var(--primary-500);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.875rem;
}

.featured-article-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

.article-category {
    background: var(--primary-50);
    color: var(--primary-600);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
}

.article-date {
    color: var(--gray-500);
    font-size: 0.875rem;
}

.featured-article-content h2 {
    font-size: 2rem;
    color: var(--secondary-600);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.featured-article-content > p {
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.article-highlights {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.article-highlights li {
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.blog-articles-section {
    padding: 4rem 0;
    background: white;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.blog-card-image {
    position: relative;
    background: var(--gray-200);
    height: 200px;
}

.article-category-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-500);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-card-content .article-meta {
    margin-bottom: 0.75rem;
}

.reading-time {
    color: var(--gray-500);
    font-size: 0.875rem;
}

.blog-card-content h3 {
    font-size: 1.25rem;
    color: var(--secondary-600);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-card-content > p {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.read-more {
    color: var(--primary-500);
    font-weight: 600;
    transition: var(--transition-base);
}

.read-more:hover {
    color: var(--primary-600);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
}

.pagination-btn {
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-md);
    color: var(--gray-700);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-base);
}

.pagination-btn:hover:not(:disabled) {
    background: var(--primary-500);
    color: white;
    border-color: var(--primary-500);
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination-btn svg {
    width: 16px;
    height: 16px;
}

.pagination-numbers {
    display: flex;
    gap: 0.5rem;
}

.pagination-number {
    width: 40px;
    height: 40px;
    background: white;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-md);
    color: var(--gray-700);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
}

.pagination-number:hover {
    background: var(--gray-100);
}

.pagination-number.active {
    background: var(--primary-500);
    color: white;
    border-color: var(--primary-500);
}

.newsletter-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--secondary-600), var(--secondary-700));
}

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

.newsletter-text h2 {
    font-size: 2rem;
    color: white;
    margin-bottom: 0.5rem;
}

.newsletter-text p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    font-size: 1rem;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-500);
}

.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
}

.placeholder-image svg {
    width: 80px;
    height: 80px;
    color: var(--gray-400);
}

.blog-card-image .placeholder-image svg,
.featured-article-image .placeholder-image svg {
    width: 60px;
    height: 60px;
}

/* --- RESPONSIVE DESIGN FOR NEW PAGES --- */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .about-intro-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-article {
        grid-template-columns: 1fr;
    }
    
    .newsletter-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-hero-content h1 {
        font-size: 2rem;
    }
    
    .services-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .commitments-grid {
        grid-template-columns: 1fr;
    }
    
    .centers-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .blog-categories {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 4rem 0 3rem;
    }
    
    .featured-article-content {
        padding: 1.5rem;
    }
    
    .featured-article-content h2 {
        font-size: 1.5rem;
    }
}


/* ============================================
   SERVICE DETAIL PAGES STYLES
   ============================================ */

/* Service Detail Grid */
.service-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-detail-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-detail-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--primary-100) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-detail-card h3 {
    color: var(--secondary);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-detail-card p {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-detail-list {
    list-style: none;
    padding: 0;
}

.service-detail-list li {
    color: var(--gray-700);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.service-detail-list li:last-child {
    border-bottom: none;
}

/* Commitments Grid */
.commitments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.commitment-item {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    padding-top: 4rem;
}

.commitment-number {
    position: absolute;
    top: -20px;
    left: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-600) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(255, 133, 0, 0.3);
}

.commitment-item h3 {
    color: var(--secondary);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.commitment-item p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* Brands Grid */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.brand-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--secondary);
    min-height: 100px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.brand-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(255, 133, 0, 0.2);
}

/* Warning Signs Grid */
.warning-signs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.warning-sign-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--primary);
}

.warning-sign-card h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.warning-sign-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-700) 100%);
    color: white;
}

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

.cta-section .section-header p,
.cta-section p {
    color: rgba(255, 255, 255, 0.9);
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.cta-info {
    margin-top: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Background Light */
.bg-light {
    background-color: var(--gray-50);
}

/* Text Center */
.text-center {
    text-align: center;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .service-detail-grid,
    .commitments-grid,
    .brands-grid,
    .warning-signs-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn-lg {
        width: 100%;
    }
}

/* ============================================
   MODERN SERVICE HERO WITH IMAGE
   ============================================ */

.service-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 6rem 0;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed;
}

.service-hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.service-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: -1px;
}

.service-hero p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   FADE-IN ANIMATIONS
   ============================================ */

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

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

.fade-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in-delay {
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.fade-in-delay-2 {
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

/* ============================================
   MODERN CARD HOVER EFFECTS
   ============================================ */

.service-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 133, 0, 0.1), transparent);
    transition: left 0.5s;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-detail-card {
    position: relative;
    overflow: hidden;
    background: white;
    transition: all 0.4s ease;
}

.service-detail-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-detail-card:hover::after {
    transform: scaleX(1);
}

/* ============================================
   GRADIENT OVERLAYS & EFFECTS
   ============================================ */

.gradient-overlay {
    position: relative;
}

.gradient-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 133, 0, 0.1), rgba(45, 49, 66, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gradient-overlay:hover::before {
    opacity: 1;
}

/* Centering for Accompagnement cards */
.feature-card { text-align: center; }
.feature-card img { display: block; margin: 0 auto; width: 100%; height: auto; }
.section-header { text-align: center; }

/* ============================================
   PULSE ANIMATION FOR BUTTONS
   ============================================ */

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 133, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 133, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 133, 0, 0);
    }
}

.btn-primary:hover {
    animation: pulse 1.5s infinite;
}

/* ============================================
   MODERN IMAGE EFFECTS
   ============================================ */

.hero-image img,
.service-image {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image:hover img,
.service-image:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* ============================================
   SMOOTH SCROLL BEHAVIOR
   ============================================ */

html {
    scroll-behavior: smooth;
}

/* ============================================
   RESPONSIVE HERO
   ============================================ */

@media (max-width: 768px) {
    .service-hero {
        min-height: 300px;
        padding: 4rem 0;
        background-attachment: scroll;
    }
    
    .service-hero h1 {
        font-size: 2.5rem;
    }
    
    .service-hero p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .service-hero h1 {
        font-size: 2rem;
    }
    
    .service-hero p {
        font-size: 1rem;
    }
}

/* ============================================
   LOADING ANIMATION
   ============================================ */

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.loading {
    animation: shimmer 2s infinite;
    background: linear-gradient(to right, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%);
    background-size: 1000px 100%;
}

/* ============================================
   MODERN SECTION SPACING
   ============================================ */

.section {
    padding: 5rem 0;
}

@media (max-width: 768px) {
    .section {
        padding: 3rem 0;
    }
}


/* === STYLES POUR LA SECTION BOOKING CTA === */
.booking-cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
}

.booking-cta h2 {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.booking-cta p {
    color: var(--primary-100);
    font-size: 1.25rem;
    text-align: center;
    margin-bottom: 2rem;
}

.booking-cta .btn {
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.booking-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .booking-cta h2 {
        font-size: 2rem;
    }
    
    .booking-cta .btn {
        margin-bottom: 1rem;
    }
}