/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
}

:root {
    --primary-color: #0066cc;
    --primary-dark: #0052a3;
    --secondary-color: #00a8e8;
    --accent-color: #ff6b35;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

html {
    width: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
}

/* Ensure all sections are full width on mobile */
section {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: block;
}

/* Force display on mobile */
@media (max-width: 768px) {
    body > * {
        display: block !important;
        visibility: visible !important;
    }

    .header, .navbar, section, .footer {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* Menu overlay */
    body.menu-open {
        overflow: hidden;
    }

    body.menu-open::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9999;
        pointer-events: auto;
    }
    
    /* Ensure buttons are clickable on mobile */
    .btn, a.btn, button {
        z-index: 100;
        pointer-events: auto !important;
        -webkit-tap-highlight-color: rgba(0, 102, 204, 0.3);
        touch-action: manipulation;
        min-height: 44px;
        min-width: 44px;
    }
    
    .hero-content {
        z-index: 10;
        position: relative;
    }
    
    .hero-buttons {
        z-index: 11;
        position: relative;
    }
}

/* Touch-friendly elements */
a, button, .btn {
    -webkit-tap-highlight-color: rgba(0, 102, 204, 0.2);
    touch-action: manipulation;
    -webkit-touch-callout: none;
    user-select: none;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    width: 100%;
    max-width: 100%;
}

.top-bar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 10px 0;
    font-size: 14px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.contact-info {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.contact-info a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.contact-info a:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.top-bar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.devis-badge {
    background: var(--accent-color);
    padding: 6px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.whatsapp-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #25D366;
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.whatsapp-badge:hover {
    background: #20BA5A;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.whatsapp-badge svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Navbar */
.navbar {
    background: var(--bg-white);
    padding: 15px 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -1px;
    margin-bottom: 2px;
}

.logo .tagline {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

/* Ensure menu is visible on desktop */
@media (min-width: 769px) {
    .nav-menu {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
        position: static !important;
    }
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
    pointer-events: auto;
    z-index: 1;
    -webkit-tap-highlight-color: rgba(0, 102, 204, 0.2);
    touch-action: manipulation;
    cursor: pointer;
    display: block;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
}

.dropdown {
    position: relative;
}

.dropdown > a span {
    font-size: 10px;
    margin-left: 5px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    list-style: none;
    padding: 10px 0;
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    font-size: 14px;
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 600px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('ChatGPT Image 23 nov. 2025, 14_36_05.png') center/cover no-repeat;
    background-attachment: scroll;
    opacity: 0.7;
    z-index: 1;
    filter: brightness(1.2);
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .hero::before {
        background-attachment: scroll;
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        width: 100%;
        height: 100%;
    }
}

@media (max-width: 480px) {
    .hero::before {
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        opacity: 0.8;
        filter: brightness(1.3);
    }
    
    .hero-overlay {
        background: linear-gradient(135deg, rgba(0, 102, 204, 0.5) 0%, rgba(0, 168, 232, 0.4) 100%);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.4) 0%, rgba(0, 168, 232, 0.3) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 80px 0;
    pointer-events: auto;
}

.hero-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 72px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.95);
}

.hero-description {
    font-size: 18px;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    display: inline-block;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    z-index: 10;
    -webkit-tap-highlight-color: rgba(0, 102, 204, 0.3);
    touch-action: manipulation;
    pointer-events: auto;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.btn-primary:hover {
    background: #ff5722;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
    text-align: center;
}

.hero-features {
    position: relative;
    z-index: 3;
    background: transparent;
    backdrop-filter: none;
    padding: 40px 0;
    margin-top: -60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    color: white;
    padding: 20px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 15px;
    font-weight: bold;
}

.feature-item h3 {
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 600;
}

.feature-item p {
    font-size: 14px;
    opacity: 0.9;
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background: var(--bg-light);
    width: 100%;
    max-width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr !important;
        min-width: 0;
    }
}

.service-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: var(--bg-light);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

/* Optimize images for mobile */
@media (max-width: 768px) {
    .service-image {
        height: 200px;
    }

    .service-image img {
        object-position: center;
    }
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.service-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--primary-dark);
    gap: 5px;
}

/* Why Choose Section */
.why-choose-section {
    padding: 100px 0;
    background: white;
    width: 100%;
    max-width: 100%;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.why-item {
    text-align: center;
    padding: 30px 20px;
}

.why-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.why-item h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.why-item p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background: var(--bg-light);
    width: 100%;
    max-width: 100%;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 35px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.testimonial-rating {
    color: #ffc107;
    font-size: 18px;
    margin-bottom: 15px;
}

.testimonial-text {
    color: var(--text-light);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 15px;
}

.testimonial-author strong {
    color: var(--text-dark);
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 14px;
}

/* Devis Section */
.devis-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    width: 100%;
    max-width: 100%;
}

.devis-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.devis-text h2 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 20px;
}

.devis-text > p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
    line-height: 1.8;
}

.devis-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.devis-feature {
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.devis-form {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.devis-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 14px;
}

.devis-form input,
.devis-form select,
.devis-form textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
    margin-bottom: 20px;
}

.devis-form input:focus,
.devis-form select:focus,
.devis-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.devis-form textarea {
    resize: vertical;
    min-height: 100px;
}

.form-note {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 10px;
    text-align: center;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: white;
    width: 100%;
    max-width: 100%;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.contact-info-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--bg-light);
    border-radius: 12px;
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.contact-info-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.contact-info-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: var(--transition);
}

.contact-info-card a:hover {
    color: var(--primary-dark);
}

.contact-hours {
    color: var(--text-light);
    font-size: 14px;
    margin-top: 10px;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
}

.social-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 968px) {
    .devis-content {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .mobile-menu-toggle {
        display: flex !important;
        z-index: 10001;
        position: relative;
        cursor: pointer;
        background: transparent;
        border: none;
        padding: 8px;
        width: 40px;
        height: 40px;
        justify-content: center;
        align-items: center;
    }
    
    .mobile-menu-toggle:focus {
        outline: 2px solid var(--primary-color);
        outline-offset: 2px;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        background: white;
        flex-direction: column;
        padding: 60px 15px 15px;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        gap: 0;
        max-height: 100vh;
        overflow-y: auto;
        z-index: 10000;
        width: 240px;
        max-width: 75%;
        visibility: visible;
        opacity: 1;
        display: flex !important;
        pointer-events: auto;
    }

    .nav-menu.active {
        transform: translateX(0) !important;
        visibility: visible !important;
        opacity: 1 !important;
        display: flex !important;
    }

    .nav-menu li {
        width: 100%;
        padding: 8px 0;
        border-bottom: 1px solid var(--border-color);
        pointer-events: auto;
    }
    
    .nav-menu a {
        font-size: 14px;
        padding: 8px 5px;
        display: block;
        pointer-events: auto !important;
        z-index: 10001;
        -webkit-tap-highlight-color: rgba(0, 102, 204, 0.3);
        touch-action: manipulation;
        cursor: pointer;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        margin-top: 0;
        padding-left: 15px;
        pointer-events: auto;
    }
    
    .dropdown-menu a {
        padding: 8px 5px;
        font-size: 13px;
        pointer-events: auto !important;
        z-index: 10002;
        -webkit-tap-highlight-color: rgba(0, 102, 204, 0.3);
        touch-action: manipulation;
        cursor: pointer;
        min-height: 40px;
        display: flex;
        align-items: center;
    }

    .hero {
        min-height: 550px;
        height: 100vh;
        max-height: 600px;
    }

    .hero-content {
        padding: 70px 0;
    }
    
    .hero::before {
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-description {
        font-size: 16px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .top-bar-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .contact-info {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .top-bar-actions {
        justify-content: center;
        width: 100%;
        gap: 10px;
    }

    .whatsapp-badge span {
        display: none;
    }

    .whatsapp-badge {
        padding: 6px 12px;
    }

    .devis-badge {
        padding: 6px 12px;
        font-size: 12px;
    }

    .services-section {
        padding: 80px 0;
    }

    .service-card {
        margin-bottom: 0;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    html, body {
        width: 100% !important;
        overflow-x: hidden !important;
        position: relative;
        margin: 0;
        padding: 0;
    }

    * {
        max-width: 100%;
    }

    img, svg, video {
        max-width: 100% !important;
        height: auto;
    }

    .container {
        padding: 0 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        margin: 0 auto;
    }

    section {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        display: block !important;
    }

    .hero, .services-section, .why-choose-section, 
    .testimonials-section, .devis-section, .contact-section,
    .hero-features, .page-header, .services-detail-section,
    .cta-section, .about-section {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        display: block !important;
        position: relative;
    }

    .header, .navbar, .top-bar {
        width: 100% !important;
        max-width: 100% !important;
    }

    .nav-content {
        width: 100%;
        max-width: 100%;
    }
    
    .nav-menu {
        width: 220px;
        max-width: 70%;
        padding: 55px 12px 12px;
        pointer-events: auto;
    }
    
    .nav-menu a {
        font-size: 13px;
        padding: 7px 3px;
        pointer-events: auto !important;
        z-index: 10001;
        -webkit-tap-highlight-color: rgba(0, 102, 204, 0.3);
        touch-action: manipulation;
        cursor: pointer;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .dropdown-menu {
        padding-left: 12px;
        pointer-events: auto;
    }
    
    .dropdown-menu a {
        font-size: 12px;
        padding: 6px 3px;
        pointer-events: auto !important;
        z-index: 10002;
        -webkit-tap-highlight-color: rgba(0, 102, 204, 0.3);
        touch-action: manipulation;
        cursor: pointer;
        min-height: 40px;
        display: flex;
        align-items: center;
    }

    .hero {
        min-height: 500px;
        height: 100vh;
        max-height: 550px;
    }

    .hero-content {
        padding: 60px 0 40px;
    }
    
    .hero::before {
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        opacity: 0.85;
        filter: brightness(1.4);
    }
    
    .hero-overlay {
        background: linear-gradient(135deg, rgba(0, 102, 204, 0.5) 0%, rgba(0, 168, 232, 0.4) 100%);
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
        padding: 14px 24px;
        font-size: 15px;
        z-index: 100;
        pointer-events: auto !important;
        -webkit-tap-highlight-color: rgba(0, 102, 204, 0.3);
        touch-action: manipulation;
        min-height: 44px;
        position: relative;
    }
    
    .hero-content {
        z-index: 10;
        position: relative;
    }
    
    .hero-buttons {
        z-index: 11;
        position: relative;
    }
    
    .hero-overlay {
        pointer-events: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero-features {
        padding: 30px 0;
        margin-top: -40px;
    }

    .feature-item {
        padding: 15px;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .section-header p {
        font-size: 16px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .services-section {
        padding: 60px 0;
    }

    .why-choose-section,
    .testimonials-section {
        padding: 60px 0;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .devis-section,
    .contact-section {
        padding: 60px 0;
    }

    .devis-form {
        padding: 30px 20px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .contact-info-card {
        padding: 30px 20px;
    }

    .top-bar {
        padding: 8px 0;
        font-size: 12px;
    }

    .logo h1 {
        font-size: 24px;
    }

    .logo .tagline {
        font-size: 10px;
    }

    .navbar {
        padding: 12px 0;
    }

    .page-header {
        padding: 80px 0 40px;
    }

    .page-header h1 {
        font-size: 32px;
    }

    .page-header p {
        font-size: 16px;
    }

    .cta-section {
        padding: 60px 0;
    }

    .cta-section h2 {
        font-size: 28px;
    }

    .cta-section p {
        font-size: 16px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .footer {
        padding: 40px 0 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .whatsapp-container {
        padding: 30px 20px;
    }

    .whatsapp-container h2 {
        font-size: 24px;
    }

    .whatsapp-container p {
        font-size: 14px;
    }

    .whatsapp-btn {
        padding: 14px 24px;
        font-size: 15px;
    }
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 100px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 20px;
    opacity: 0.95;
}

/* Services Detail Section */
.services-detail-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.service-detail-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.service-detail-card:nth-child(even) {
    direction: rtl;
}

.service-detail-card:nth-child(even) > * {
    direction: ltr;
}

.service-detail-image {
    width: 100%;
    height: 350px;
    border-radius: 8px;
    overflow: hidden;
}

.service-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-detail-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.service-detail-content > p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 25px;
}

.service-features {
    list-style: none;
    margin-bottom: 30px;
}

.service-features li {
    padding: 10px 0;
    font-size: 16px;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-color);
}

.service-features li:last-child {
    border-bottom: none;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.about-text h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.about-text p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-image {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.value-item {
    text-align: center;
    padding: 40px 30px;
    background: var(--bg-light);
    border-radius: 12px;
    transition: var(--transition);
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.value-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.value-item h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.value-item p {
    color: var(--text-light);
    line-height: 1.7;
}

.stats-section {
    text-align: center;
    padding: 60px 0;
    background: var(--bg-light);
    border-radius: 12px;
}

.stats-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--text-dark);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: var(--text-light);
    font-weight: 500;
}

/* Contact Form Section */
.contact-form-section {
    margin-top: 60px;
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.contact-form-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    color: var(--text-dark);
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 12px;
    margin-top: 30px;
}

.contact-box h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: white;
}

.contact-box p {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.9);
}

.contact-box a {
    color: white;
    text-decoration: underline;
}

/* WhatsApp Section */
.whatsapp-section {
    margin-top: 60px;
    padding: 0;
}

.whatsapp-container {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    padding: 50px 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.whatsapp-container h2 {
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
}

.whatsapp-container p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 30px;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: white;
    color: #25D366;
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    background: #f8f9fa;
}

.whatsapp-btn svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .whatsapp-container {
        padding: 40px 30px;
    }

    .whatsapp-container h2 {
        font-size: 26px;
    }

    .whatsapp-container p {
        font-size: 16px;
    }

    .whatsapp-btn {
        padding: 16px 28px;
        font-size: 16px;
        width: 100%;
        justify-content: center;
    }
}

/* Responsive for new sections */
@media (max-width: 968px) {
    .service-detail-card {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service-detail-card:nth-child(even) {
        direction: ltr;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 80px 0 50px;
    }

    .page-header h1 {
        font-size: 36px;
    }

    .page-header p {
        font-size: 18px;
    }

    .service-detail-card {
        padding: 25px;
        gap: 30px;
    }

    .service-detail-content h2 {
        font-size: 26px;
    }

    .contact-form-section {
        padding: 30px 20px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .about-content {
        gap: 40px;
    }

    .about-image {
        height: 300px;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.testimonial-card,
.why-item {
    animation: fadeInUp 0.6s ease-out;
}

