/* Responsive Styles */

/* Extra Small Devices (phones, less than 576px) */
@media (max-width: 575.98px) {
    /* Typography */
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1rem;
    }
    
    h3 {
        font-size: 1rem;
    }
    
    /* Layout */
    .section-padding {
        padding: 60px 0;
    }
    
    .section-title {
        margin-bottom: 40px;
    }
    
    /* Header */
    header .navbar {
        padding: 15px 0;
    }
    
    header .navbar-brand {
        font-size: 1rem;
    }
    
    /* Hero Section */
    .hero-section {
        min-height: 500px;
    }
    
    .hero-slide-inner {
        padding: 60px 0;
    }
    
    /* Services */
    .service-item-img {
        height: 160px;
    }
    
    /* Price Plans */
    .price-plan-item {
        padding: 30px 20px;
    }
    
    .price-plan-item.featured {
        transform: none;
    }
    
    .price-plan-item.featured:hover {
        transform: translateY(-10px);
    }
    
    /* Reviews */
    .review-item {
        margin: 10px 0;
    }
    
    /* Forms */
    .contact-form, .contact-info {
        padding: 25px;
    }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    /* Typography */
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    /* Layout */
    .section-padding {
        padding: 70px 0;
    }
    
    /* Services */
    .service-item-img {
        height: 180px;
    }
    
    /* Price Plans */
    .price-plan-item.featured {
        transform: none;
    }
    
    .price-plan-item.featured:hover {
        transform: translateY(-10px);
    }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* Layout */
    .section-padding {
        padding: 80px 0;
    }
    
    /* Price Plans */
    .price-plan-item.featured {
        transform: scale(1.03);
    }
    
    .price-plan-item.featured:hover {
        transform: scale(1.03) translateY(-10px);
    }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    /* Layout */
    .section-padding {
        padding: 90px 0;
    }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    /* Container width adjustments for very large screens */
    .container {
        max-width: 1140px;
    }
}

/* Reduce Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .swiper-container {
        --swiper-autoplay-delay: 999999s; /* Effectively disable autoplay */
    }
    
    .service-item:hover .service-item-img img,
    .team-member:hover .team-member-img img,
    .blog-item:hover .blog-img img {
        transform: none;
    }
    
    .service-item:hover,
    .about-feature:hover,
    .feature-item:hover,
    .price-plan-item:hover,
    .team-member:hover,
    .review-item:hover,
    .core-info-item:hover,
    .blog-item:hover,
    .add-page-element:hover {
        transform: none;
    }
}

/* Landscape Orientation for Phones */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        height: auto;
        min-height: 450px;
    }
}

/* Print Styles */
@media print {
    header, footer, .contact-form, .hero-section {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .container {
        max-width: 100%;
        width: 100%;
    }
    
    .about-section, .services-section, .features-section,
    .team-section, .core-info-section {
        padding: 20px 0;
        page-break-inside: avoid;
    }
} 