/* Mobile Optimization for Home Page */

/* General Mobile Improvements */
@media (max-width: 767px) {
    /* Header Logo - Smaller on mobile */
    .site-branding .brand-logo img,
    .footer-logo img {
        max-width: 100px !important;
        height: auto !important;
    }
    
    /* Section padding adjustments */
    section.pt-100 {
        padding-top: 50px !important;
    }
    
    section.pb-100 {
        padding-bottom: 50px !important;
    }
    
    section.pt-60 {
        padding-top: 30px !important;
    }
    
    section.pb-60 {
        padding-bottom: 30px !important;
    }
    
    /* Typography */
    h1 {
        font-size: 28px !important;
        line-height: 1.3 !important;
    }
    
    h2 {
        font-size: 24px !important;
        line-height: 1.3 !important;
    }
    
    h3 {
        font-size: 20px !important;
        line-height: 1.3 !important;
    }
    
    /* Section titles */
    .section-title {
        margin-bottom: 30px !important;
    }
    
    .section-title .sub-title {
        font-size: 14px !important;
    }
    
    /* Buttons */
    .main-btn {
        padding: 12px 25px !important;
        font-size: 14px !important;
    }
    
    /* Container adjustments */
    .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

/* Banner Section Mobile */
@media (max-width: 767px) {
    .hero-area,
    .banner-section {
        min-height: 500px !important;
        padding: 60px 0 !important;
    }
    
    .hero-content h1,
    .banner-content h1 {
        font-size: 32px !important;
        margin-bottom: 15px !important;
    }
    
    .hero-content p,
    .banner-content p {
        font-size: 16px !important;
        margin-bottom: 25px !important;
    }
}

/* Features Section Mobile */
@media (max-width: 767px) {
    .features-section .single-features-item {
        margin-bottom: 30px !important;
        padding: 20px !important;
    }
    
    .features-section .icon {
        width: 60px !important;
        height: 60px !important;
        margin-bottom: 15px !important;
    }
    
    .features-section .content h4 {
        font-size: 18px !important;
        margin-bottom: 10px !important;
    }
}

/* Gallery Section Mobile */
@media (max-width: 767px) {
    .gallery-section .single-gallery-item,
    .gallery-section .single-gallery-item-two {
        margin-bottom: 20px !important;
    }
    
    .gallery-section .single-gallery-item img,
    .gallery-section .single-gallery-item-two img {
        height: 250px !important;
        object-fit: cover !important;
    }
    
    .gallery-section .content {
        padding: 15px !important;
    }
    
    .gallery-section .content h3.title {
        font-size: 18px !important;
    }
}

/* Testimonials Section Mobile */
@media (max-width: 767px) {
    .testimonial-section {
        padding: 50px 0 !important;
    }
    
    .testimonial-item,
    .gw-testimonial-item-two {
        padding: 20px !important;
        margin-bottom: 20px !important;
    }
    
    .testimonial-item .quote-rating-box,
    .gw-testimonial-item-two .quote-rating-box {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    
    .testimonial-item .icon,
    .gw-testimonial-item-two .icon {
        margin-bottom: 15px !important;
    }
}

/* Counter Section Mobile */
@media (max-width: 767px) {
    .fun-section .fun-wrapper {
        padding: 40px 20px !important;
    }
    
    .single-counter-item,
    .single-counter-item-two {
        margin-bottom: 30px !important;
    }
    
    .single-counter-item .icon,
    .single-counter-item-two .icon {
        margin-bottom: 15px !important;
    }
    
    .single-counter-item .icon img,
    .single-counter-item-two .icon img {
        max-width: 50px !important;
        max-height: 50px !important;
    }
    
    .single-counter-item .content h2,
    .single-counter-item-two .content h2 {
        font-size: 32px !important;
    }
    
    .single-counter-item .content p,
    .single-counter-item-two .content p {
        font-size: 14px !important;
    }
}

/* Services Section Mobile */
@media (max-width: 767px) {
    .service-section .single-service-item,
    .service-section .single-service-item-three {
        margin-bottom: 30px !important;
    }
    
    .service-section .single-service-item img,
    .service-section .single-service-item-three img {
        height: 200px !important;
        object-fit: cover !important;
    }
    
    .service-section .content {
        padding: 20px !important;
    }
    
    .service-section .content h3.title {
        font-size: 18px !important;
        margin-bottom: 10px !important;
    }
    
    .service-section .content p {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }
}

/* About Section Mobile */
@media (max-width: 767px) {
    .about-section {
        padding: 50px 0 !important;
    }
    
    .about-image-box {
        margin-bottom: 30px !important;
    }
    
    .about-image-box img {
        width: 100% !important;
        height: auto !important;
        max-height: 300px !important;
        object-fit: cover !important;
    }
    
    .about-content-box {
        padding: 0 !important;
    }
}

/* What We Section Mobile */
@media (max-width: 767px) {
    .we-section .we-image-box,
    .we-section .we-two_image-box {
        margin-bottom: 30px !important;
    }
    
    .we-section .we-image {
        width: 100% !important;
        height: 200px !important;
        margin-bottom: 15px !important;
    }
    
    .we-section .we-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
    
    .we-content-box {
        padding: 0 !important;
    }
    
    .single-features-list {
        margin-bottom: 20px !important;
    }
    
    .single-features-list .content h4 {
        font-size: 16px !important;
    }
}

/* CTA Section Mobile */
@media (max-width: 767px) {
    .cta-bg {
        padding: 60px 0 !important;
    }
    
    .cta-content-box h2 {
        font-size: 22px !important;
        margin-bottom: 20px !important;
    }
    
    .play-box {
        margin-top: 20px !important;
    }
}

/* Blog Section Mobile */
@media (max-width: 767px) {
    .blog-section .single-blog-post-three {
        margin-bottom: 30px !important;
    }
}

/* Partners Section Mobile */
@media (max-width: 767px) {
    .partners-section .partner-slider-one {
        padding: 40px 0 !important;
    }
    
    .partners-section .partner-img img {
        max-width: 100px !important;
    }
}

/* Improve touch targets */
@media (max-width: 767px) {
    a, button {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .btn-link {
        min-height: auto;
        min-width: auto;
    }
}

/* Optimize images for mobile */
@media (max-width: 767px) {
    img {
        max-width: 100%;
        height: auto;
    }
}

/* Footer Mobile */
@media (max-width: 767px) {
    .footer-cta {
        padding: 40px 0 20px !important;
    }
    
    .single-cta-item {
        margin-bottom: 30px !important;
        padding: 0 !important;
    }
    
    .footer-widget-area {
        padding: 40px 0 20px !important;
    }
    
    .footer-widget {
        margin-bottom: 30px !important;
    }
    
    .footer-widget .widget-title {
        font-size: 18px !important;
        margin-bottom: 15px !important;
    }
    
    .footer-copyright {
        padding: 20px 0 !important;
        font-size: 14px !important;
    }
}
