/* RESPONSIVE STYLES */

/* Large Devices (less than 1200px) */
@media (max-width: 1199.98px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
    
    h3 {
        font-size: 2rem;
    }
    
    .section-padding {
        padding: 80px 0;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .shape-1 {
        width: 150px;
        height: 150px;
    }
    
    .shape-2 {
        width: 250px;
        height: 250px;
    }
}

/* Medium Devices (less than 992px) */
@media (max-width: 991.98px) {
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    h3 {
        font-size: 1.8rem;
    }
    
    .section-padding {
        padding: 70px 0;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .contact-info {
        margin-top: 30px;
    }
    
    .navbar-collapse {
        background-color: rgba(255, 255, 255, 0.98);
        padding: 15px;
        border-radius: var(--border-radius);
        box-shadow: var(--box-shadow);
    }
    
    .nav-link {
        color: var(--text-color) !important;
    }
    
    .shape {
        display: none;
    }
}

/* Small Devices (less than 768px) */
@media (max-width: 767.98px) {
    html {
        font-size: 15px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.6rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .section-title {
        margin-bottom: 40px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content {
        text-align: center;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .about-feature,
    .service-item,
    .feature-item,
    .pricing-item,
    .team-item,
    .review-item,
    .coreinfo-item,
    .blog-item {
        margin-bottom: 30px;
    }
    
    .contact-form {
        padding: 30px;
    }
    
    .contact-info {
        padding: 30px;
    }
    
    .footer {
        padding: 60px 0 20px;
    }
    
    .footer-logo {
        margin-bottom: 15px;
    }
    
    .footer-title {
        margin-top: 30px;
        margin-bottom: 20px;
    }
    
    /* Disable animations on mobile for better performance */
    .fadeInUp,
    .fadeInLeft,
    .fadeInRight {
        animation: none;
        opacity: 1;
        transform: none;
    }
    
    /* Respect prefers-reduced-motion */
    @media (prefers-reduced-motion: reduce) {
        .swiper-container {
            --swiper-pagination-bullet-inactive-opacity: 0.5;
            --swiper-pagination-bullet-opacity: 1;
        }
    }
}

/* Extra Small Devices (less than 576px) */
@media (max-width: 575.98px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.4rem;
    }
    
    .section-padding {
        padding: 50px 0;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .pricing-header {
        padding: 20px;
    }
    
    .pricing-content {
        padding: 20px;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .contact-info {
        padding: 20px;
    }
    
    .footer {
        padding: 50px 0 20px;
    }
    
    .footer-links li {
        margin-bottom: 10px;
    }
}

/* Height-based Media Queries */
@media (max-height: 700px) {
    .hero-section {
        height: auto;
        min-height: 100vh;
    }
    
    .hero-slide {
        height: auto;
        min-height: 100vh;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .btn {
        display: none;
    }
    
    body {
        color: #000;
        background-color: #fff;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
    }
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .hero-slide,
    .service-img img,
    .team-img img,
    .blog-img img {
        transition: none !important;
    }
    
    .swiper-container-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet {
        transition: none !important;
    }
} 