/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-logo .logo-image {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.nav-logo h1 {
    color: #000;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #000;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #000;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s ease;
    border-radius: 6px;
    margin: 4px 8px;
}

.dropdown-menu a:hover {
    background-color: #f5f5f5;
    color: #000;
}

/* Navigation CTA */
.nav-cta {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.phone-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.phone-btn:hover {
    color: #000;
}

.phone-text {
    display: none;
}

.cta-btn {
    background-color: #000;
    color: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
}

.cta-btn:hover {
    background-color: #fff;
    color: #000;
}

.cta-btn.primary {
    background-color: #000;
    color: #fff;
}

.cta-btn.secondary {
    background-color: #fff;
    color: #000;
    border: 2px solid #000;
}

.cta-btn.secondary:hover {
    background-color: #000;
    color: #fff;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #000;
    transition: 0.3s;
}

/* Mobile Menu Active State */
.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);
}

/* Mobile Navigation Menu */
.nav-menu.active {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding-top: 80px;
}

.nav-menu.active .nav-list {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

.nav-menu.active .nav-link {
    font-size: 1.5rem;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-menu.active .nav-link:hover {
    background-color: #f5f5f5;
}

/* Mobile Dropdown Menu */
.nav-menu.active .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background-color: transparent;
    margin-top: 1rem;
}

.nav-menu.active .dropdown-menu a {
    font-size: 1.2rem;
    margin: 0;
    padding: 0.8rem 1.5rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
}

.hero-cta .cta-btn {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Before/After Slider */
.before-after-slider {
    position: relative;
    overflow: hidden;
    background: transparent;
}

.before-after-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.before-image,
.after-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.before-image {
    clip-path: inset(0 50% 0 0);
}

.after-image {
    clip-path: inset(0 0 0 50%);
}

.slider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4px;
    height: 100%;
    background-color: #fff;
    cursor: ew-resize;
    z-index: 10;
}

.slider-handle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Before/After Labels */
.before-after-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    font-weight: 600;
    color: #333;
}

.before-label,
.after-label {
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 4px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Before/After Slider Enhancements */
.slider-handle.dragging {
    transform: translate(-50%, -50%) scale(1.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.before-after-container {
    position: relative;
    cursor: crosshair;
}

.before-after-container:active {
    cursor: grabbing;
}

/* Mobile-specific slider improvements */
@media (max-width: 768px) {
    .slider-handle {
        width: 50px;
        height: 50px;
        border: 4px solid #fff;
    }

    .slider-handle::before {
        font-size: 16px;
    }

    .before-after-container {
        touch-action: pan-x;
        -webkit-user-select: none;
        user-select: none;
    }
}

/* Services Overview */
.services-overview {
    padding: 80px 0;
    background-color: #fff;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 1rem;
}

.service-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-link {
    color: #000;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.service-link:hover {
    border-bottom-color: #000;
}

/* Why Choose Us */
.why-choose-us {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 1rem;
}

.feature p {
    color: #666;
    line-height: 1.6;
}

/* Process Section */
.process {
    padding: 80px 0;
    background-color: #fff;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.process-step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: #000;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.process-step h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 1rem;
}

.process-step p {
    color: #666;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background-color: #000;
    color: #fff;
}

.cta-content {
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #ccc;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .cta-btn.primary {
    background-color: #fff;
    color: #000;
    border: 2px solid #fff;
}

.cta-section .cta-btn.primary:hover {
    background-color: transparent;
    color: #fff;
}

.cta-section .cta-btn.secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.cta-section .cta-btn.secondary:hover {
    background-color: #fff;
    color: #000;
}

/* Footer */
.footer {
    background-color: #111;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-section h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #fff;
}

.contact-info a {
    color: #fff;
}

.footer-cta {
    display: inline-block;
    background-color: #fff;
    color: #000;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.footer-cta:hover {
    background-color: #f5f5f5;
}

.trust-badges {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.badge {
    font-size: 0.9rem;
    color: #ccc;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #999;
}

/* Companies Slider Section */
.companies-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.companies-slider-container {
    overflow: hidden;
    position: relative;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 40px 0;
}

.companies-slider {
    display: flex;
    width: calc(250px * 15); /* 15 slides * 250px width */
    animation: slide 30s linear infinite;
}

.company-slide {
    min-width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.company-logo {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.company-logo:hover {
    transform: translateY(-2px);
}

.logo-placeholder {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-align: center;
    letter-spacing: 0.5px;
    padding: 0 10px;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 10)); /* Move by 10 slides */
    }
}

/* Pause animation on hover */
.companies-slider-container:hover .companies-slider {
    animation-play-state: paused;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .phone-text {
        display: inline;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: left;
        gap: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-cta {
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .hero-cta .cta-btn {
        min-width: 160px;
        padding: 14px 20px;
        font-size: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .process-steps {
        flex-direction: column;
        gap: 2rem;
    }

    .process-step {
        text-align: left;
    }

    .cta-buttons {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .cta-btn {
        min-width: 180px;
        padding: 12px 20px;
        font-size: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .section-title {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }

    .container {
        padding: 0 1rem;
    }

    .companies-slider {
        width: calc(200px * 15); /* Smaller width for mobile */
        animation: slide 25s linear infinite;
    }

    .company-slide {
        min-width: 200px;
        padding: 0 10px;
    }

    .company-logo {
        height: 60px;
    }

    .logo-placeholder {
        font-size: 12px;
    }

    @keyframes slide {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-200px * 10)); /* Adjust for smaller width */
        }
    }

    /* Touch-friendly interactions */
    .cta-btn,
    .phone-btn,
    .service-link,
    .nav-link {
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        -webkit-tap-highlight-color: transparent;
    }

    /* Improved form styling for mobile */
    .form-group input,
    .form-group select,
    .form-group textarea {
        min-height: 48px;
        font-size: 16px; /* Prevents zoom on iOS */
        border-radius: 8px;
        padding: 12px 16px;
    }

    /* Better mobile typography */
    p {
        font-size: 1rem;
        line-height: 1.6;
    }

    /* Mobile-friendly card spacing */
    .service-card,
    .feature,
    .process-step {
        margin-bottom: 1rem;
    }

    /* Better mobile navigation */
    .nav-cta {
        gap: 0.5rem;
    }
    
    /* Make navigation Get Quote button smaller on mobile */
    .nav-cta .cta-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
        min-height: auto;
    }

    /* Improved mobile footer */
    .footer-section {
        margin-bottom: 2rem;
    }

    .footer-section:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    /* Center align only on very small screens for better mobile UX */
    .hero-container {
        text-align: center;
    }
    
    .hero-cta {
        justify-content: center;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .nav-container {
        padding: 0.75rem 1rem;
    }

    .nav-logo h1 {
        font-size: 1.5rem;
    }
    
    .nav-logo .logo-image {
        height: 28px;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-cta {
        flex-direction: row;
        gap: 1rem;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    /* Hide navigation Get Quote button on very small screens to avoid blocking menu */
    .nav-cta .cta-btn {
        display: none;
    }
    
    /* Keep only the phone button visible on small screens */
    .nav-cta {
        gap: 0.5rem;
    }

    .hero-cta .cta-btn {
        width: auto;
        max-width: 200px;
        padding: 14px 20px;
        font-size: 1rem;
        font-weight: 600;
    }

    .cta-btn {
        width: auto;
        max-width: 200px;
        padding: 14px 20px;
        font-size: 1rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-icon {
        font-size: 2.5rem;
    }

    .feature {
        padding: 1.5rem;
    }

    .feature-icon {
        font-size: 2.5rem;
    }

    .process-step {
        padding: 1.5rem;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .before-after-container {
        height: 250px;
    }

    .slider-handle {
        width: 50px;
        height: 50px;
    }

    .phone-btn {
        padding: 12px 16px;
        font-size: 1rem;
    }

    .container {
        padding: 0 0.75rem;
    }

    .companies-slider {
        width: calc(180px * 15); /* Even smaller width for very small screens */
        animation: slide 20s linear infinite;
    }

    .company-slide {
        min-width: 180px;
        padding: 0 8px;
    }

    .company-logo {
        height: 50px;
    }

    .logo-placeholder {
        font-size: 10px;
        letter-spacing: 0.2px;
    }

    @keyframes slide {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-180px * 10)); /* Adjust for smaller width */
        }
    }
}

/* iOS Safari specific fixes */
@supports (-webkit-appearance: none) {
    .cta-btn,
    .phone-btn {
        -webkit-appearance: none;
        border-radius: 6px;
    }
}

/* Mobile-specific performance optimizations */
@media (max-width: 768px) {
    /* Reduce animations on mobile for better performance */
    .companies-slider {
        animation-duration: 30s; /* Slower animation on mobile */
    }
    
    /* Better touch targets */
    .mobile-menu-toggle {
        padding: 10px;
        min-width: 48px;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Improved mobile header */
    .nav-container {
        padding: 0.8rem 1rem;
    }
    
    /* Better mobile navigation */
    .nav-menu.active {
        padding-top: 100px; /* Account for header height */
    }
    
    /* Smooth scrolling on mobile */
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
    }
    
    /* Better mobile cards */
    .service-card,
    .feature,
    .testimonial {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    /* Improved mobile hero */
    .hero {
        padding: 100px 0 60px;
    }
    
    /* Better mobile form styling */
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Ensure all hero sections have centered buttons */
    .hero-cta,
    .cta-buttons,
    .bottom-cta .cta-form-container {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    /* Ensure buttons have consistent sizing and alignment */
    .cta-btn,
    .hero-cta .cta-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        box-sizing: border-box;
        min-height: 48px;
    }
    
    /* Mobile-friendly gallery */
    .gallery-grid {
        gap: 1rem;
    }
    
    /* Better mobile footer */
    .footer {
        padding: 3rem 0 2rem;
    }
    
    /* Improved mobile sections */
    section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
}

/* Prevent mobile zoom on form inputs */
@media (max-width: 768px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    select,
    textarea {
        font-size: 16px !important;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 1rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading State */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Image Loading Optimization */
img {
    transition: opacity 0.3s ease;
    background-color: #f5f5f5;
}

/* Skeleton loading effect for images */
img[loading="lazy"] {
    background: linear-gradient(90deg, #f0f0f0 25%, transparent 37%, #f0f0f0 63%);
    background-size: 400% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
}

img[loading="lazy"]:not([src]) {
    opacity: 0;
}

@keyframes skeleton-loading {
    0% { background-position: 100% 50%; }
    100% { background-position: -100% 50%; }
}

/* Smooth image loading */
.before-image, .after-image, .showcase-image {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.before-image.loaded, .after-image.loaded, .showcase-image.loaded {
    opacity: 1;
}

/* Fade in effect when images load */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.image-loaded {
    animation: fadeIn 0.5s ease-in-out;
}

/* Breadcrumbs */
.breadcrumbs {
    background-color: #f8f8f8;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.breadcrumb-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumb-item:not(:last-child)::after {
    content: "›";
    margin: 0 0.5rem;
    color: #999;
}

.breadcrumb-item a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #000;
}

.breadcrumb-item.active {
    color: #000;
    font-weight: 500;
}

@media (max-width: 768px) {
    .breadcrumb-list {
        padding: 0 1rem;
    }
    
    .breadcrumb-item {
        font-size: 0.8rem;
    }
}

/* Service Page Styles */
.service-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 120px 0 80px;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.service-overview {
    padding: 80px 0;
    background-color: #fff;
}

.overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.overview-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #222;
}

.overview-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 2rem;
}

.service-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.highlight {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.highlight .icon {
    font-size: 2rem;
    margin-top: 0.25rem;
}

.highlight h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.highlight p {
    font-size: 1rem;
    color: #666;
    margin: 0;
}

.overview-image {
    position: relative;
}

.service-applications {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.application-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.application-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.application-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.application-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.application-card p {
    color: #666;
    line-height: 1.6;
}

.service-process {
    padding: 80px 0;
    background-color: #fff;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #333;
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: #333;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #333;
}

.step-content p {
    color: #666;
    line-height: 1.6;
}

.service-benefits {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
}

.service-faq {
    padding: 80px 0;
    background-color: #fff;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #333;
}

.faq-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

/* Mobile Service Page Styles */
@media (max-width: 768px) {
    .service-hero {
        padding: 100px 0 60px;
        min-height: 50vh;
    }
    
    .overview-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .overview-text h2 {
        font-size: 2rem;
    }
    
    .applications-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .step {
        padding: 1.5rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .faq-item {
        padding: 1.5rem;
    }
    
    .service-overview,
    .service-applications,
    .service-process,
    .service-benefits,
    .service-faq {
        padding: 60px 0;
    }
}

/* MOBILE BUTTON ALIGNMENT OVERRIDE - MUST BE LAST */
@media screen and (max-width: 768px) {
    .hero .hero-content .hero-cta {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    /* Make navigation button smaller on mobile */
    .header .nav .nav-container .nav-cta .cta-btn {
        padding: 8px 12px;
        font-size: 0.85rem;
        min-height: auto;
    }
}

@media screen and (max-width: 480px) {
    .hero .hero-content .hero-cta {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    /* Hide navigation button on very small screens */
    .header .nav .nav-container .nav-cta .cta-btn {
        display: none;
    }
} 