/* Responsive CSS for Heirship Dispute Mediation Workshops template */

/* Extra large devices (large desktops) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    #hero-title-1 {
        font-size: 3rem;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .hero-shape {
        display: none;
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    section {
        padding: 60px 0;
    }
    
    #hero {
        min-height: auto;
        padding: 120px 0 60px;
    }
    
    #hero-title-1 {
        font-size: 2.5rem;
    }
    
    #hero-subtitle-1 {
        font-size: 1.3rem;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 40px;
    }
    
    .service-item,
    .feature-item,
    .price-item,
    .core-item {
        margin-bottom: 30px;
    }
    
    .about-image::before {
        display: none;
    }
    
    .about-image {
        margin-bottom: 30px;
    }
    
    footer {
        padding-top: 60px;
    }
    
    .footer-widget {
        margin-bottom: 40px;
    }
    
    .team-member {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .gallery-item {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .price-item.featured::after {
        display: none;
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    #hero-title-1 {
        font-size: 2rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .navbar-collapse {
        background-color: #fff;
        padding: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .service-item,
    .feature-item,
    .price-item,
    .core-item {
        padding: 2rem 1.5rem;
    }
    
    .footer-widget {
        text-align: center;
    }
    
    .contact-info-footer {
        justify-content: center;
    }
    
    #hero::before {
        width: 100%;
        clip-path: none;
        opacity: 0.3;
    }
    
    @media (prefers-reduced-motion) {
        .float {
            animation: none;
        }
        
        .service-item:hover,
        .feature-item:hover,
        .price-item:hover,
        .core-item:hover,
        .about-feature:hover,
        .review-item:hover,
        .blog-item:hover,
        .gallery-item:hover img,
        .team-member:hover .team-img img {
            transform: none;
        }
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    #hero-title-1 {
        font-size: 1.8rem;
    }
    
    #hero-subtitle-1 {
        font-size: 1.1rem;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .section-title p {
        font-size: 1rem;
    }
    
    .service-name,
    .price-name {
        font-size: 1.3rem;
    }
    
    .btn-custom {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

/* Fix for Swiper autoplay on mobile */
@media (max-width: 768px) {
    .swiper-container {
        --swiper-autoplay: false;
    }
} 