/* Responsive Styles for Financial Fraud Roadshow Template */

/* Extra Large Devices (Large Desktops) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Large Devices (Desktops) */
@media (max-width: 1199.98px) {
    .hero-title {
        font-size: 3.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
    
    .section-title h2 {
        font-size: 2.6rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Medium Devices (Tablets) */
@media (max-width: 991.98px) {
    .section-padding {
        padding: 80px 0;
    }
    
    .hero-title {
        font-size: 3.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .section-title h2 {
        font-size: 2.3rem;
    }
    
    .section-title h2:after {
        width: 50px;
    }
    
    .about-feature,
    .services-item,
    .features-item,
    .priceplan-item,
    .team-member,
    .coreinfo-item,
    .blog-item {
        margin-bottom: 40px;
    }
    
    .features-item {
        flex: 0 0 50%;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 15px;
    }
    
    .gallery-item {
        height: 200px;
    }
    
    .contact-info {
        margin-top: 40px;
    }
    
    .footer {
        padding: 60px 0 0;
    }
    
    .footer-title {
        margin-top: 30px;
    }
}

/* Small Devices (Landscape Phones) */
@media (max-width: 767.98px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .section-title {
        margin-bottom: 50px;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .blog-item {
        flex: 0 0 100%;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-form {
        padding: 30px;
    }
    
    /* Disable animations on mobile for better performance and accessibility */
    @media (prefers-reduced-motion: reduce) {
        * {
            animation: none !important;
            transition: none !important;
        }
    }
}

/* Extra Small Devices (Portrait Phones) */
@media (max-width: 575.98px) {
    .section-padding {
        padding: 50px 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .section-title h2:after {
        width: 40px;
        height: 3px;
    }
    
    .section-title p {
        font-size: 1rem;
    }
    
    .features-item {
        flex: 0 0 100%;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        height: 220px;
    }
    
    /* Simplify header on mobile */
    .header .navbar-brand {
        font-size: 1.5rem;
    }
    
    /* Adjust testimonial slider for mobile */
    .reviews-item {
        padding: 25px 20px;
    }
    
    /* Make price plans stack on mobile */
    .priceplan-item.featured {
        transform: scale(1);
        margin: 20px 0;
    }
}

/* Handle height for very small devices */
@media (max-height: 500px) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 120px 0 60px;
    }
}

/* Adjust for different device orientations */
@media (orientation: landscape) and (max-height: 500px) {
    .hero {
        height: auto;
        padding: 120px 0 60px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }
}

/* Disable autoplay and fancy animations if user prefers reduced motion */
@media (prefers-reduced-motion) {
    .hero:before {
        animation: none;
    }
    
    .swiper-container {
        --swiper-autoplay: false;
    }
} 