/* ==========================================================================
   Responsive Styles
   ========================================================================== */

/* Large Devices (Desktops) */
@media (max-width: 1199.98px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .about-feature-card {
        padding: 1.5rem;
    }
    
    .service-card {
        margin-bottom: 20px;
    }
}

/* Medium Devices (Tablets) */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .about-title, 
    .services-title, 
    .features-title, 
    .priceplan-title, 
    .team-title, 
    .reviews-title, 
    .coreinfo-title, 
    .contact-title, 
    .blog-title {
        font-size: 2.2rem;
    }
    
    .about-image {
        margin-bottom: 2rem;
    }
    
    .about-feature-card {
        margin-bottom: 1.5rem;
    }
    
    .team-member {
        margin-bottom: 2rem;
    }
    
    .contact-info-card {
        margin-top: 2rem;
    }
    
    .price-card.featured {
        transform: scale(1);
    }
    
    .price-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .footer-widget {
        margin-bottom: 2rem;
    }
}

/* Small Devices (Landscape Phones) */
@media (max-width: 767.98px) {
    .hero-section {
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-desc {
        font-size: 1rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .about-title, 
    .services-title, 
    .features-title, 
    .priceplan-title, 
    .team-title, 
    .reviews-title, 
    .coreinfo-title, 
    .contact-title, 
    .blog-title {
        font-size: 1rem;
    }
    
    .about-subtitle, 
    .services-subtitle, 
    .features-subtitle, 
    .priceplan-subtitle, 
    .team-subtitle, 
    .reviews-subtitle, 
    .coreinfo-subtitle, 
    .contact-subtitle, 
    .blog-subtitle {
        font-size: 1.1rem;
    }
    
    .service-card, 
    .blog-card {
        margin-bottom: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .footer {
        padding: 3rem 0 1rem;
    }
}

/* Extra Small Devices (Portrait Phones) */
@media (max-width: 575.98px) {
    .hero-section {
        min-height: 450px;
    }
    
    .hero-title {
        font-size: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section {
        padding: 2.5rem 0;
    }
    
    .about-title, 
    .services-title, 
    .features-title, 
    .priceplan-title, 
    .team-title, 
    .reviews-title, 
    .coreinfo-title, 
    .contact-title, 
    .blog-title {
        font-size: 1.6rem;
    }
    
    .about-subtitle, 
    .services-subtitle, 
    .features-subtitle, 
    .priceplan-subtitle, 
    .team-subtitle, 
    .reviews-subtitle, 
    .coreinfo-subtitle, 
    .contact-subtitle, 
    .blog-subtitle {
        font-size: 1rem;
    }
    
    .contact-form {
        padding: 1rem;
    }
    
    /* Adjust font sizes */
    body {
        font-size: 14px;
    }
    
    h1 {
        font-size: 1rem;
    }
    
    h2 {
        font-size: 1rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    /* Handle swiper pagination */
    .swiper-pagination {
        bottom: 10px !important;
    }
    
    .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }
    
    /* Adjust service features */
    .service-features li {
        font-size: 13px;
    }
    
    /* Make price cards more compact */
    .price-header {
        padding: 1.5rem 1rem;
    }
    
    .price-content {
        padding: 1.5rem 1rem;
    }
    
    .price-name {
        font-size: 1.3rem;
    }
    
    .price-value {
        font-size: 2rem;
    }
    
    /* Team members */
    .team-member-img img {
        height: 250px;
    }
    
    /* Contact section */
    .form-control, .form-select {
        padding: 0.6rem 0.8rem;
        font-size: 14px;
    }
    
    textarea.form-control {
        min-height: 120px;
    }
    
    .btn-submit {
        padding: 0.6rem 1.2rem;
    }
    
    /* Footer */
    .footer-logo {
        font-size: 1rem;
    }
    
    .footer-title {
        font-size: 1.2rem;
    }
    
    .copyright {
        font-size: 0.8rem;
    }
}

/* Handle 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;
    }
    
    .swiper-slide-active .hero-title,
    .swiper-slide-active .hero-subtitle,
    .swiper-slide-active .hero-desc {
        opacity: 1;
        transform: translateY(0);
        transition: none;
    }
    
    .fadeInUp {
        animation: none !important;
        opacity: 1;
        transform: translateY(0);
    }
    
    .service-card:hover,
    .feature-card:hover,
    .price-card:hover,
    .team-member:hover,
    .blog-card:hover,
    .coreinfo-item:hover {
        transform: none;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    }
    
    .service-card:hover .service-image img,
    .team-member:hover .team-member-img img,
    .blog-card:hover .blog-img img,
    .about-image:hover img {
        transform: none;
    }
    
    .feature-card:hover::before {
        opacity: 0;
    }
    
    .coreinfo-item:hover::after {
        transform: scaleX(0);
    }
    
    .btn-submit:hover {
        transform: none;
    }
} 