/* Responsive CSS */

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .hero-title-1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle-1 {
        font-size: 1.25rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .coreinfo-item {
        flex: 0 0 50%;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-title-1 {
        font-size: 2.25rem;
    }
    
    .hero-subtitle-1 {
        font-size: 1.15rem;
    }
    
    .hero-desc-1 {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1.15rem;
    }
    
    .about-feature, 
    .services-item, 
    .priceplan-item {
        margin-bottom: 1rem;
    }
    
    .coreinfo-item {
        flex: 0 0 50%;
    }
    
    .team-member-img {
        width: 150px;
        height: 150px;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 6rem 0 3rem;
    }
    
    .hero-title-1 {
        font-size: 2rem;
    }
    
    .hero-subtitle-1 {
        font-size: 1.1rem;
    }
    
    .hero-desc-1 {
        font-size: 1rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .about-feature, 
    .services-item, 
    .priceplan-item,
    .team-member {
        margin-bottom: 1rem;
    }
    
    .coreinfo-item {
        flex: 0 0 100%;
    }
    
    .team-member-img {
        width: 130px;
        height: 130px;
    }
    
    .blog-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 6rem 0 3rem;
    }
    
    .hero-title-1 {
        font-size: 1.75rem;
    }
    
    .hero-subtitle-1 {
        font-size: 1rem;
    }
    
    .hero-desc-1 {
        font-size: 0.95rem;
    }
    
    .section {
        padding: 2.5rem 0;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .about-feature, 
    .services-item, 
    .priceplan-item,
    .features-item,
    .coreinfo-item,
    .team-member {
        margin-bottom: 1rem;
    }
    
    .coreinfo-item {
        flex: 0 0 100%;
    }
    
    .team-member-img {
        width: 120px;
        height: 120px;
    }
    
    .features-item {
        flex-direction: column;
    }
    
    .features-item-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .priceplan-item-features {
        padding-left: 0.5rem;
    }
    
    /* Adjust navbar for mobile */
    .navbar-collapse {
        background-color: var(--white);
        padding: 1rem;
        border-radius: var(--radius-md);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .navbar-toggler {
        border: none;
        padding: 0.25rem 0.5rem;
    }
    
    .navbar-toggler:focus {
        outline: none;
        box-shadow: none;
    }
    
    .navbar-toggler-icon {
        width: 1.25em;
        height: 1.25em;
    }
    
    .nav-link::after {
        display: none;
    }
}

/* Reduced motion preferences */
@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: 0s;
    }
}

/* Print styles */
@media print {
    header, 
    .hero, 
    footer, 
    .gallery, 
    .blog,
    .priceplan {
        display: none;
    }
    
    body {
        background-color: #fff !important;
        color: #000 !important;
    }
    
    .container {
        max-width: 100%;
        width: 100%;
    }
    
    .section {
        padding: 1rem 0;
        page-break-inside: avoid;
    }
} 