/* Optimized CSS with better performance */

/* Base Styles & Variables */
:root {
    --primary: #228B22;
    --primary-hover: #006400;
    --secondary: #FF8C00;
    --text: #333333;
    --text-light: #555555;
    --background: #FFFFFF;
    --gray-100: #F5F5F5;
    --gray-200: #E5E5E5;
    --gray-300: #CCCCCC;
    --gray-600: #666666;
    --gray-800: #333333;
    --white: #FFFFFF;
    --black: #000000;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 
             0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --header-height: 80px;
    --banner-height: 40px;
    --total-top: 120px;
}

/* Utility Classes */
.visually-hidden {
    position: absolute;
    clip: rect(0 0 0 0);
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* Container & Section Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.section {
    padding: 4rem 0;
    width: 100%;
}

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

/* Typography */
p {
    margin-bottom: 1rem;
    word-wrap: break-word;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 0 1rem;
    width: 100%;
    box-sizing: border-box;
}

.section-header h2 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    color: var(--black);
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--gray-600);
    font-size: clamp(1rem, 2vw, 1.125rem);
}

/* Buttons */
.btn-primary:hover {
    background-color: var(--primary-hover);
}

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

.btn-secondary:hover svg {
    stroke: var(--secondary);
}

/* Navigation */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 1002;
    max-width: 70%;
}

.logo img {
    max-height: 60px;
    width: auto;
    display: block;
}

.logo a {
    text-decoration: none;
    color: inherit;
    display: inline-block;
    max-width: 100%;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    font-size: 1rem;
}

.nav-links a:hover, 
.nav-links a.active {
    color: var(--primary);
}

/* Mobile menu animations */
.mobile-menu-btn.active span:first-child {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:last-child {
    transform: rotate(-45deg) translate(6px, -6px);
}

.nav-links.active {
    right: 0;
}

/* Social Links */
.social-link {
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: opacity 0.2s;
    white-space: nowrap;
    font-size: 0.9rem;
}

.social-link:hover {
    opacity: 0.9;
}

.call-now-btn {
    background-color: var(--primary);
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.2s;
    white-space: nowrap;
    z-index: 1002;
    max-width: 100%;
}

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

.call-now-btn svg {
    stroke: var(--white);
    flex-shrink: 0;
}

/* Hero Specific */
.hero-background.loaded {
    filter: blur(0) !important;
}

/* Grid System */
.grid-2,
.grid-3,
.grid-4 {
    display: grid;
    gap: 1.5rem;
    width: 100%;
}

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

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* Service Cards */
.service-card {
    background: var(--white);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.2s;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--gray-200);
    width: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 
                0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.service-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.service-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.service-content h3 {
    color: var(--secondary);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.service-content p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.service-list {
    list-style-position: inside;
    margin-bottom: 1.5rem;
    padding-left: 0.5rem;
    color: var(--text-light);
}

.service-list li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.service-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    background-color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    align-self: flex-start;
    transition: background-color 0.2s;
}

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

.service-link::after {
    content: "→";
}

/* Emergency Service Card */
.emergency-service {
    background-color: var(--primary);
    color: var(--white);
    width: 100%;
}

.emergency-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.emergency-content h3,
.emergency-content p {
    color: var(--white);
}

.emergency-icon {
    background-color: var(--white);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.emergency-icon svg {
    stroke: var(--primary);
}

.emergency-link {
    background-color: var(--white);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 0.375rem;
    font-weight: 600;
    margin-top: 1.5rem;
    transition: opacity 0.2s;
    text-decoration: none;
}

.emergency-link:hover {
    opacity: 0.9;
}

.emergency-link svg {
    stroke: var(--primary);
}

/* Gallery Slider */
.gallery-slider {
    position: relative;
    margin-bottom: 2rem;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--white);
    touch-action: pan-y;
    border: 1px solid var(--gray-200);
    width: 100%;
}

.gallery-slide {
    display: none;
    width: 100%;
}

.gallery-slide-image {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    max-height: 450px;
}

.gallery-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    width: 100%;
}

.gallery-prev,
.gallery-next {
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
}

.gallery-prev:hover,
.gallery-next:hover {
    background: var(--primary-hover);
}

.gallery-dots {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-300);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.2s;
    margin: 0 2px;
}

.gallery-dot.active {
    background: var(--primary);
}

/* Feature Cards */
.feature-card {
    background: var(--white);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    padding: 2rem;
    text-align: center;
    transition: transform 0.2s;
    height: 100%;
    border: 1px solid var(--gray-200);
    width: 100%;
    box-sizing: border-box;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 
                0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    color: var(--white);
}

.feature-card .feature-icon {
    background-color: var(--primary);
    color: var(--white);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    flex-shrink: 0;
}

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

.feature-card p {
    color: var(--text-light);
}

/* Process Section */
.process-card {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    height: 100%;
    border: 1px solid var(--gray-200);
    width: 100%;
    box-sizing: border-box;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: bold;
    font-size: 1.25rem;
    flex-shrink: 0;
}

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

.process-card p {
    color: var(--text-light);
}

/* Testimonials Section */
.testimonials-slider {
    position: relative;
    padding: 2rem 0;
    width: 100%;
}

.testimonial {
    display: none;
    width: 100%;
}

.testimonial.active {
    display: block;
}

.testimonial-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    position: relative;
    border: 1px solid var(--gray-200);
    width: 100%;
    box-sizing: border-box;
}

.testimonial-content::after {
    content: """;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.3;
    font-family: 'Playfair Display', serif;
    line-height: 1;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    color: var(--text-light);
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.testimonial-author strong {
    color: var(--secondary);
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.875rem;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    width: 100%;
}

.testimonial-dots {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--gray-300);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background-color 0.2s;
    margin: 0 2px;
}

.testimonial-dot.active {
    background-color: var(--primary);
}

/* Service Areas Section */
.service-areas-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
}

.service-area-map {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    max-height: 400px;
    object-fit: contain;
    border: 1px solid var(--gray-200);
}

.service-towns-container {
    width: 100%;
    padding: 1rem;
    background: var(--white);
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    box-sizing: border-box;
}

.service-towns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    width: 100%;
}

.service-towns span {
    background: var(--primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    transition: background-color 0.2s;
    margin: 0.25rem;
}

.service-towns span:hover {
    background: var(--primary-hover);
}

/* Contact Section with Map */
.map-contact {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 2rem;
    width: 100%;
}

.google-map {
    width: 100%;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    height: 450px;
}

.google-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.contact-details {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    width: 100%;
    box-sizing: border-box;
}

.contact-details h3 {
    color: var(--secondary);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

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

.contact-item svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
    flex-shrink: 0;
}

/* Certification Badges */
.certification-badges {
    display: flex;
    justify-content: space-between;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    width: 100%;
    box-sizing: border-box;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem;
}

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

.badge span {
    font-weight: 500;
    color: var(--secondary);
    text-align: center;
}

/* FAQ Section */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.faq-item {
    background: var(--white);
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    width: 100%;
}

.faq-question {
    width: 100%;
    padding: 1.25rem;
    text-align: left;
    background: var(--white);
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: var(--secondary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s;
    font-size: 1.1rem;
}

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

.faq-icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
    color: var(--primary);
    transition: transform 0.3s;
    flex-shrink: 0;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 1.25rem;
    width: 100%;
    box-sizing: border-box;
}

.faq-question.active + .faq-answer {
    max-height: 500px;
    padding: 0 1.25rem 1.25rem;
}

/* Contact Form Box Styles */
.contact-form-box {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    width: 100%;
    box-sizing: border-box;
    margin-top: 1.5rem;
}

.contact-form-box h3 {
    color: var(--secondary);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.form-group label {
    font-weight: 500;
    color: var(--text);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.375rem;
    font-family: 'Inter', sans-serif;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-submit-btn {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 0.375rem;
    padding: 0.75rem 1.25rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background-color 0.2s;
    margin-top: 0.5rem;
    align-self: flex-start;
}

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

/* Loading state for the submit button */
.form-submit-btn.submitting {
    background-color: var(--gray-600);
    cursor: not-allowed;
    opacity: 0.8;
}

/* Form Messages */
.form-success-message {
    background-color: #e8f5e9;
    border-left: 4px solid #4caf50;
    padding: 16px;
    margin-bottom: 20px;
    border-radius: 4px;
    color: #2e7d32;
    font-weight: 500;
}

.form-error-message {
    background-color: #ffebee;
    border-left: 4px solid #f44336;
    padding: 16px;
    margin-bottom: 20px;
    border-radius: 4px;
    color: #c62828;
    font-weight: 500;
}

.form-error-message a {
    color: #c62828;
    text-decoration: underline;
    font-weight: 600;
}

.form-error-message a:hover {
    color: #b71c1c;
}

/* Footer */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 4rem 0 2rem;
    width: 100%;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    width: 100%;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.footer-section h3,
.footer-section h4 {
    color: var(--primary);
}

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

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

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

.footer-section a:hover {
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.license {
    margin-top: 0.5rem;
    font-weight: 500;
}

/* WhatsApp Widget */
.whatsapp-widget {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    z-index: 999999 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    animation: fadeInUp 0.5s ease-out;
}

.whatsapp-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px;
    background: #25D366 !important;
    color: white !important;
    padding: 10px !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3) !important;
    text-decoration: none !important;
    font-weight: 500;
    font-size: 12px;
    transition: all 0.3s ease;
    width: 50px !important;
    height: 50px !important;
    cursor: pointer !important;
    position: relative !important;
    border: none !important;
    outline: none !important;
}

.whatsapp-button:hover {
    background: #128C7E !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4) !important;
}

.whatsapp-button:active {
    transform: translateY(0) !important;
}

.whatsapp-button svg {
    width: 22px !important;
    height: 22px !important;
    fill: white !important;
    flex-shrink: 0;
}

.whatsapp-button span {
    display: none !important;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
    position: absolute;
    right: 60px;
    background: #333 !important;
    color: white !important;
    padding: 8px 12px !important;
    border-radius: 6px !important;
    font-size: 13px;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
    z-index: 999999 !important;
}

.whatsapp-button span::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -5px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid #333;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

/* Animations */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

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

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Tablet & Mobile Breakpoint */
@media (max-width: 992px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .map-contact {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 3rem 0;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .hero {
        height: min(80vh, 600px);
    }
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    :root {
        --header-height: 70px;
        --banner-height: 40px;
        --total-top: 110px;
    }
    
    .navbar-container {
        padding: 0 10px;
    }
    
    .navbar-content {
        padding: 0;
        justify-content: space-between;
    }
    
    .logo {
        max-width: 65%;
    }
    
    .nav-links a {
        padding: 0.75rem 0;
        display: block;
        border-bottom: 1px solid var(--gray-200);
    }

    /* Fix banner and call button for mobile */
    .estimate-banner .container {
        padding: 0 10px;
        justify-content: space-between;
    }
    
    .social-link {
        font-size: 0.75rem;
    }
    
    .social-link span {
        display: none;
    }
    
    .call-now-btn {
        padding: 6px 10px;
        font-size: 0.85rem;
    }
    
    .call-now-btn svg {
        width: 16px;
        height: 16px;
    }

    /* Mobile Hero */
    .hero {
        height: min(80vh, 500px);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        max-width: 260px;
        margin: 0.5rem 0;
    }

    /* Mobile layout fixes */
    .google-map {
        height: 300px;
    }
    
    .certification-badges {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }

    /* Mobile spacing */
    .container {
        padding: 0 15px;
    }

    .section {
        padding: 2.5rem 0;
    }

    /* Mobile grid adjustments */
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    /* Desktop WhatsApp hover */
    .whatsapp-button:hover span {
        display: block !important;
        opacity: 1 !important;
    }
}

/* Small Mobile Optimizations */
@media (max-width: 480px) {
    :root {
        --header-height: 60px;
        --banner-height: 40px;
        --total-top: 100px;
    }
    
    .logo {
        max-width: 60%;
    }
    
    .navbar-container {
        padding: 0 8px;
    }
    
    .navbar-content {
        padding: 0;
        justify-content: space-between;
    }
    
    .mobile-menu-btn {
        width: 24px;
        height: 18px;
        margin-right: 0;
    }
    
    .mobile-menu-btn span {
        height: 2px;
    }
    
    .container {
        padding: 0 12px;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .section-header {
        margin-bottom: 1.5rem;
    }
    
    .grid-2, 
    .grid-3, 
    .grid-4 {
        gap: 1rem;
    }
    
    .gallery-prev,
    .gallery-next {
        width: 36px;
        height: 36px;
    }
    
    .feature-card,
    .process-card {
        padding: 1.5rem;
    }
    
    .feature-card .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .btn-primary, 
    .btn-secondary {
        padding: 0.65rem 1rem;
    }

    /* WhatsApp mobile */
    .whatsapp-widget {
        bottom: 15px !important;
        right: 15px !important;
    }
    
    .whatsapp-button {
        width: 45px !important;
        height: 45px !important;
        padding: 8px !important;
    }
    
    .whatsapp-button svg {
        width: 18px !important;
        height: 18px !important;
    }
}

/* Extra Small Screen Optimizations */
@media (max-width: 360px) {
    .logo {
        max-width: 55%;
    }
    
    .navbar-container {
        padding: 0 5px;
    }
    
    .mobile-menu-btn {
        width: 22px;
        height: 16px;
        margin-right: 0;
    }
    
    .mobile-menu-btn.active span:first-child {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-btn.active span:last-child {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .call-now-btn {
        padding: 4px 6px;
        font-size: 0.7rem;
    }
    
    .call-now-btn svg {
        width: 12px;
        height: 12px;
    }
    
    .estimate-banner .container {
        padding: 0 5px;
        justify-content: space-between;
    }
    
    .social-link svg {
        width: 14px;
        height: 14px;
    }
    
    .hero h1 {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .btn-primary, 
    .btn-secondary {
        min-width: 130px;
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .section-header h2 {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
    
    .feature-card, 
    .process-card {
        padding: 1.25rem;
    }

    /* WhatsApp very small */
    .whatsapp-widget {
        bottom: 12px !important;
        right: 12px !important;
    }
    
    .whatsapp-button {
        width: 42px !important;
        height: 42px !important;
        padding: 6px !important;
    }
    
    .whatsapp-button svg {
        width: 16px !important;
        height: 16px !important;
    }
}

/* Ultra Small Screen Optimizations */
@media (max-width: 320px) {
    :root {
        --header-height: 50px;
        --banner-height: 35px;
        --total-top: 85px;
    }

    .logo {
        max-width: 50%;
    }
    
    .navbar-container,
    .navbar-content {
        padding: 0 3px;
    }
    
    .mobile-menu-btn {
        width: 20px;
        height: 14px;
    }
    
    .call-now-btn {
        padding: 3px 5px;
        font-size: 0.65rem;
        border-radius: 3px;
    }
    
    .call-now-btn svg {
        width: 11px;
        height: 11px;
    }
    
    .social-link svg {
        width: 12px;
        height: 12px;
    }
    
    .estimate-banner .container {
        padding: 0 3px;
    }
}