/* Responsive Styles */

/* Mobile First Approach */

/* Extra Small Devices (phones, less than 576px) */
@media (max-width: 575.98px) {
    .hero-title {
        font-size: 2rem;
    padding-top: 225px;
}
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 0.75rem;
        margin-right: 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .feature-card,
    .service-card,
    .pricing-card,
    .team-card,
    .review-card,
    .case-study-card,
    .blog-card,
    .faq-card {
        margin-bottom: 1.5rem;
    }
    
    .feature-box {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-icon-large {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .pricing-card.featured {
        transform: none;
        margin-top: 0;
    }
    
    .team-photo {
        width: 100px;
        height: 100px;
    }
    
    .process-step {
        padding: 1.5rem 0.5rem;
    }
    
    .contact-info {
        margin-top: 2rem;
    }
    
    .hero-section {
        padding-top: 100px;
    }
    
    .shape-1,
    .shape-2 {
        display: none;
    }
    
    /* Disable animations on mobile for prefers-reduced-motion */
    @media (prefers-reduced-motion: no-preference) {
        .sal-animate {
            animation: none !important;
            transition: none !important;
        }
    }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .hero-title {
        font-size: 2.25rem;
    padding-top: 225px;
}
    
    .hero-subtitle {
        font-size: 1.375rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .feature-box {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-icon-large {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .pricing-card.featured {
        transform: none;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    padding-top: 225px;
}
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2.125rem;
    }
    
    .pricing-card.featured {
        transform: scale(1.02);
    }
    
    .hero-buttons .btn {
        margin-bottom: 1rem;
    }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .hero-section {
        min-height: 100vh;
        display: flex;
        align-items: center;
    }
    
    .pricing-card.featured {
        transform: scale(1.05);
    }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    padding-top: 225px;
}
    
    .section-title {
        font-size: 2.5rem;
    }
}

/* Ultra Wide Screens (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Landscape Orientation Adjustments */
@media (orientation: landscape) and (max-height: 500px) {
    .hero-section {
        min-height: auto;
        padding: 120px 0 80px;
    }
    
    .hero-title {
        font-size: 2rem;
    padding-top: 225px;
}
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-shapes .shape {
        transform: scale(0.8);
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hero-buttons,
    .btn,
    #footer,
    .contact-form {
        display: none !important;
    }
    
    .hero-section {
        padding-top: 0;
        min-height: auto;
    }
    
    * {
        color: black !important;
        background: white !important;
    }
    
    .section-title,
    .hero-title {
        color: black !important;
    padding-top: 225px;
}
}

/* Dark Mode Support (if user prefers dark color scheme) */

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    .feature-card:hover,
    .service-card:hover,
    .team-card:hover,
    .review-card:hover,
    .case-study-card:hover,
    .blog-card:hover,
    .feature-box:hover,
    .gallery-image:hover,
    .blog-post-card:hover,
    .technique-card:hover,
    .application-card:hover,
    .insight-card:hover,
    .guide-card:hover,
    .resource-card:hover,
    .download-card:hover,
    .training-card:hover,
    .community-card:hover,
    .support-card:hover {
        transform: none;
    }
    
    .hero-shapes .shape {
        animation: none;
    }
    
    .pricing-card.featured {
        transform: none;
        border: 3px solid var(--primary-color);
    }
}

/* Focus Visible for Better Accessibility */
@supports selector(:focus-visible) {
    .btn:focus:not(:focus-visible),
    .form-control:focus:not(:focus-visible),
    .nav-link:focus:not(:focus-visible) {
        outline: none;
    }
    
    .btn:focus-visible,
    .form-control:focus-visible,
    .nav-link:focus-visible {
        outline: 2px solid var(--primary-color);
        outline-offset: 2px;
    }
}

/* Container Adjustments for Very Small Screens */
@media (max-width: 320px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    padding-top: 225px;
}
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .feature-card,
    .service-card,
    .pricing-card,
    .team-card,
    .review-card,
    .case-study-card,
    .blog-card,
    .faq-card {
        padding: 1rem;
    }
    
    .navbar-brand {
        font-size: 1.125rem;
    }
}

/* Tablet Specific Adjustments */
@media (min-width: 768px) and (max-width: 1024px) {
    .col-md-6.mb-4 {
        margin-bottom: 2rem !important;
    }
    
    .feature-box {
        padding: 1.5rem;
    }
    
    .service-content,
    .case-study-content,
    .blog-content {
        padding: 1.25rem;
    }
}

/* Hover Effects Disabled on Touch Devices */
@media (hover: none) {
    .feature-card:hover,
    .service-card:hover,
    .team-card:hover,
    .review-card:hover,
    .case-study-card:hover,
    .blog-card:hover,
    .feature-box:hover,
    .gallery-image:hover,
    .pricing-card:hover,
    .blog-post-card:hover,
    .technique-card:hover,
    .application-card:hover,
    .insight-card:hover,
    .guide-card:hover,
    .resource-card:hover,
    .download-card:hover,
    .training-card:hover,
    .community-card:hover,
    .support-card:hover {
        transform: none;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    }
    
    .navbar-nav .nav-link:hover {
        color: var(--neutral-dark);
    }
}

/* Safe Area Adjustments for Devices with Notches */
@supports (padding: max(0px)) {
    .navbar {
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }
    
    .container {
        padding-left: max(15px, env(safe-area-inset-left));
        padding-right: max(15px, env(safe-area-inset-right));
    }
}

/* Loading Performance Optimizations */
@media (max-width: 767.98px) {
    .hero-shapes {
        display: none;
    }
    
    .shape-1,
    .shape-2 {
        display: none !important;
    }
}

/* Reduced Motion Animations */
@media (prefers-reduced-motion: no-preference) {
    .sal-animate {
        opacity: 0;
        transition-property: opacity, transform;
    }
    
    .sal-animate.sal-animate {
        opacity: 1;
    }
} 

body {
    overflow-x: hidden;
}