.service-img-container {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #f5f5f5;
}

.service-img-1 {
    object-position: center 45%;
}

.service-img-2 {
    object-position: center 45%;
}

.service-img-3 {
    object-position: center 35%;
}

.hero-img {
    object-position: center 40%;
    object-fit: cover;
}

.hero-section {
    min-height: 80vh;
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 60px;
}

.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease-in-out;
    z-index: 50;
}

.logo-filter {
    filter: brightness(0);
}

/* Profile image styles */
.profile-image {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
}

/* Desktop Why Choose Us cards */
@media (min-width: 769px) {
    #about .why-choose-card {
        display: block;
    }
    
    #about .why-choose-card .inline-flex {
        margin-bottom: 1rem;
    }
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .hero-section {
        min-height: 45vh;
        padding-top: 3rem;
    }
    
    .service-img-container {
        height: 200px;
    }
    
    /* Prevent horizontal scroll on mobile */
    body {
        overflow-x: hidden;
    }
    
    /* Better spacing for mobile */
    section {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Mobile header adjustments */
    header .container {
        padding: 0.5rem 1rem;
    }
    
    header img.logo-filter {
        height: 3rem;
    }
    
    /* Hero section mobile adjustments */
    .hero-section {
        padding: 1rem;
    }
    
    .hero-section .container {
        padding: 0;
    }
    
    .hero-section .max-w-xl {
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
    }
    
    .hero-section .backdrop-blur-sm {
        padding: 1.5rem;
        margin: 0;
        border-radius: 0;
        border-left: none;
        border-top: 4px solid #000;
        background-color: rgba(255, 255, 255, 0.95);
    }
    
    .hero-section h1 {
        font-size: 1.875rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-section p {
        font-size: 0.875rem;
        line-height: 1.4;
        margin-bottom: 1.5rem;
    }
    
    .hero-section .inline-block {
        font-size: 0.75rem;
        padding: 0.25rem 0.75rem;
    }
    
    .hero-section a {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
        width: 100%;
    }
    
    /* Service cards mobile spacing */
    .service-img-container + div {
        padding: 1.5rem;
    }
    
    /* Contact form mobile */
    #contact {
        padding: 3rem 0;
    }
    
    #contact .bg-white {
        padding: 1.5rem;
        border-radius: 0.5rem;
    }
    
    #contact-form .grid {
        gap: 1rem;
    }
    
    #contact-form label {
        font-size: 0.875rem;
        margin-bottom: 0.5rem;
    }
    
    #contact-form input,
    #contact-form textarea {
        padding: 0.75rem 1rem;
        font-size: 1rem;
        -webkit-appearance: none;
        appearance: none;
    }
    
    /* Better touch targets on mobile */
    #contact-form input,
    #contact-form textarea,
    #contact-form button {
        min-height: 44px;
    }
    
    #contact-form button {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Contact section header mobile */
    #contact .text-xl {
        font-size: 1rem;
    }
    
    #contact h2 {
        font-size: 2rem;
    }
    
    /* Footer mobile adjustments */
    footer {
        padding: 2rem 0;
    }
    
    footer .footer-contact-info {
        flex-direction: column;
        gap: 2rem;
        width: 100%;
    }
    
    footer .footer-contact-item {
        width: 100%;
        justify-content: center;
        padding: 1rem;
        background-color: #f8fafc;
        border-radius: 0.5rem;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }
    
    footer .footer-contact-item i {
        font-size: 1.5rem;
        color: #000;
        background-color: #fff;
        padding: 0.75rem;
        border-radius: 50%;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        margin-right: 1rem;
    }
    
    footer .logo-filter {
        height: 3rem;
        margin-bottom: 1rem;
    }
    
    /* Footer bottom section */
    footer .border-t {
        padding-top: 1.5rem;
        margin-top: 2rem;
        text-align: center;
    }
    
    footer .flex.space-x-6 {
        justify-content: center;
        gap: 2rem;
    }
    
    footer .flex.space-x-6 a {
        padding: 0.5rem;
        background-color: #f8fafc;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 2.5rem;
        height: 2.5rem;
    }
    
    /* Stats section mobile */
    .counter {
        font-size: 3rem !important;
    }
    
    /* About section mobile */
    #about .grid {
        gap: 2rem;
    }
    
    /* Mission section mobile adjustments */
    #about .flex.items-center {
        flex-wrap: wrap;
        text-align: center;
    }
    
    #about .w-16.h-16 {
        width: 5rem;
        height: 5rem;
        margin: 0 auto 1rem;
    }
    
    #about .flex-1 {
        width: 100%;
    }
    
    #about .text-lg {
        font-size: 1rem;
    }
    
    /* Why Choose Us mobile adjustments */
    #about .bg-white.p-8 {
        padding: 1.5rem;
    }
    
    #about .why-choose-card {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 1rem;
        border-left-width: 3px;
        background-color: #fff;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }
    
    #about .why-choose-card .inline-flex {
        flex-shrink: 0;
        width: 3rem;
        height: 3rem;
        margin-bottom: 0;
    }
    
    #about .why-choose-card > div:last-child {
        flex: 1;
    }
    
    #about .why-choose-card h4 {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }
    
    #about .why-choose-card p {
        font-size: 0.813rem;
        line-height: 1.3;
        margin-bottom: 0;
    }
    
    #about .why-choose-card i {
        font-size: 1.25rem;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .hero-section {
        min-height: 40vh;
        display: flex;
        align-items: center;
        padding-top: 3rem;
    }
    
    /* Make hero image darker on mobile for better text contrast */
    .hero-section .absolute.inset-0.bg-gradient-to-br {
        background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.2));
    }
    
    .hero-section h1 {
        font-size: 1.75rem;
    }
    
    .hero-section .flex-col {
        gap: 0.75rem;
    }
    
    .hero-section .backdrop-blur-sm {
        background-color: rgba(255, 255, 255, 0.98);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    
    .service-img-container {
        height: 150px;
    }
    
    /* Stack buttons on very small screens */
    .hero-section .flex-col.sm\\:flex-row {
        flex-direction: column !important;
    }
    
    /* Smaller padding on cards */
    .bg-gray-light.rounded-xl {
        padding: 1rem;
    }
}