@media (max-width: 768px) {
            .header-content {
                padding: 0 20px;
            }

            .logo-icon {
                width: 35px;
                height: 35px;
            }

            .menu-icon {
                width: 24px;
                height: 18px;
            }

            .hero-section {
                height: 100vh;
                padding-top: 80px; /* Account for sticky header */
            }

            .hero-content {
                padding: 20px 25px;
                text-align: center;
                max-width: 100%;
                justify-content: center;
                align-items: center;
            }

            .company-name {
                font-size: 2rem;
                text-align: center;
                margin-bottom: 10px;
            }

            .company-subtitle {
                font-size: 1rem;
                text-align: center;
                margin-bottom: 20px;
            }

            .tagline {
                font-size: 0.9rem;
                text-align: center;
                margin-bottom: 25px;
            }

            .cta-button {
                margin: 0 auto;
                padding: 14px 28px;
                font-size: 0.85rem;
            }
            
            .services-section {
                position: relative;
                bottom: auto;
                left: auto;
                transform: none;
                margin-top: 40px;
                padding: 0 20px 40px 20px;
                gap: 15px;
                width: 100%;
                flex-direction: column;
            }

            .service-card {
                position: relative;
                overflow: hidden;
            }

            .service-card::after {
                content: '';
                position: absolute;
                top: -75%;
                left: -50%;
                width: 60%;
                height: 200%;
                background: linear-gradient(
                    120deg,
                    rgba(255,255,255,0) 0%,
                    rgba(255,255,255,0.4) 50%,
                    rgba(255,255,255,0) 100%
                );
                transform: skewX(-25deg);
                opacity: 0;
                pointer-events: none;
                transition: opacity 0.3s;
            }

            .service-card:hover::after {
                opacity: 1;
                animation: shine 0.8s forwards;
            }

            @keyframes shine {
                0% {
                    left: -60%;
                }
                100% {
                    left: 120%;
                }
            }

            .service-title {
                font-size: 1rem;
                margin-bottom: 10px;
                text-align: center;
            }

            .service-description {
                font-size: 0.8rem;
                text-align: center;
                line-height: 1.4;
            }

            /* Hide white section on mobile and adjust cards */
            .next-section {
                display: none !important;
            }

            .hero-section {
                height: auto;
                min-height: 100vh;
                padding-bottom: 40px;
            }

            .about-section {
                padding: 60px 20px;
            }

            .about-title {
                font-size: 2rem;
            }

            .offer-section {
                padding: 60px 20px;
            }

            .offer-container {
                flex-direction: column;
                gap: 30px;
            }

            .offer-image img {
                height: 300px;
            }

            .offer-title {
                font-size: 1.8rem;
                text-align: center;
            }

            .offer-text {
                text-align: center;
            }

          /* Mobile Styles */

    .departments-section {
        padding: 40px 20px;
        height: auto;
        min-height: auto;
    }

    .departments-buttons {
                position: sticky;
                margin-top: 25px;
                justify-content: center;
            }
    .departments-content {
                padding: 0 20px;
                position: sticky;
                top: 0;
                z-index: 15;
                background: #F5F5F5;
                padding: 40px 20px;
                margin-bottom: 0;
            }

    .departments-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .departments-container {
        display: block;
        position: static;
    }

    

    /* Listing fades out */
    .listing-section {
        position: relative;
        z-index: 1;
        transition: opacity 0.5s ease;
    }

    .listing-section.fade-out {
        opacity: 0;
    }

    /* Team card sticks on top */
    .team-section {
        position: sticky;
        top: 20px; /* distance from top */
        z-index: 2;
        width: 100%;
        margin-top: 20px;
        transition: opacity 0.5s ease;
    }

    .team-image {
        width: 40%; /* smaller for mobile */
        height: auto;
        border-radius: 16px 0 0 16px;
    }

    .team-content {
        padding: 15px;
    }

    .team-title {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .team-description {
        font-size: 0.85rem;
    }

    .team-list li {
        font-size: 0.75rem;
    }


            .listing-section {
                background: white;
                border: 1px solid rgba(0, 0, 0, 0.1);
                border-radius: 16px;
                padding: 25px;
                margin-bottom: 40px;
                box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
            }

            .listing-title {
                font-size: 1.5rem;
                text-align: center;
                margin-bottom: 20px;
            }

            .listing-items li {
                text-align: left;
                font-size: 0.85rem;
                margin-bottom: 8px;
            }

            .team-section {
                position: static;
                width: 100%;
                height: auto;
                margin-top: 0;
                margin-left: auto;
                justify-self: auto;
                flex-direction: column;
                text-align: center;
                padding: 25px;
                align-items: center;
            }

            .team-image {
                margin: 0 auto 20px auto;
                width: 100px;
                height: 100px;
                border-radius: 50%;
            }

            .team-content {
                padding: 0;
                text-align: center;
            }

            .team-title {
                font-size: 1.5rem;
                margin-bottom: 15px;
            }

            .team-description {
                font-size: 0.85rem;
                margin-bottom: 15px;
            }

            .team-list {
                text-align: left;
                max-width: 200px;
                margin: 0 auto;
            }

            .team-list li {
                font-size: 0.8rem;
                margin-bottom: 6px;
            }

            .departments-buttons {
                position: static;
                right: auto;
                bottom: auto;
                text-align: center;
                margin-top: 40px;
                flex-direction: column;
                align-items: center;
                gap: 15px;
            }

            .dept-btn {
                width: 200px;
            }

           .contact-content {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }

    .contact-title {
        font-size: 2.5rem;
    }

    .contact-section {
        padding: 60px 20px 40px 20px;
    }

    .contact-form-card {
        max-width: 100%;
        padding: 30px 25px;
    }

    .contact-item:hover {
        transform: scale(1.02);
    }

            .footer {
                padding: 30px 20px;
            }

            .footer-company {
                font-size: 1.2rem;
                margin-bottom: 10px;
            }
        }