/* Mobile-First Responsive Design */

/* Extra Small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
    /* Disable animations on mobile */
    .feature-card:hover,
    .service-card:hover,
    .review-card:hover,
    .case-study-card:hover,
    .price-card:hover,
    .feature-item:hover,
    .faq-card:hover {
        transform: none;
        animation: none;
    }
    
    /* Typography adjustments */
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .navbar-brand {
        font-size: 1.125rem !important;
    }
    
    /* Hero section */
    .hero-section {
        padding: 2rem 0;
    }
    
    /* Process steps on mobile */
    .process-step {
        margin-bottom: 2rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    /* Team photos smaller on mobile */
    .team-photo {
        width: 120px;
        height: 120px;
    }
    
    /* Contact form padding */
    .contact-form {
        padding: 1.5rem;
    }
    
    /* Section padding */
    section {
        padding: 2rem 0;
    }
    
    /* Price display smaller on mobile */
    .price-display .amount {
        font-size: 2.5rem;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    /* Disable animations on small devices */
    .feature-card:hover,
    .service-card:hover,
    .review-card:hover,
    .case-study-card:hover,
    .price-card:hover,
    .feature-item:hover,
    .faq-card:hover {
        transform: none;
        animation: none;
    }
    
    .process-step {
        margin-bottom: 1.5rem;
    }
    
    section {
        padding: 3rem 0;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-section {
        padding: 3rem 0;
    }
    
    .team-photo {
        width: 140px;
        height: 140px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    /* Full animations enabled on desktop */
    .hero-section {
        padding: 4rem 0;
    }
    
    /* Hover effects enabled */
    .feature-card,
    .service-card,
    .review-card,
    .case-study-card,
    .price-card,
    .feature-item,
    .faq-card {
        transition: all 0.3s ease;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Custom Grid Responsive Adjustments */
@media (max-width: 767.98px) {
    /* Services grid - stack on mobile */
    .services .col-lg-4 {
        margin-bottom: 2rem;
    }
    
    /* Team grid - 2 columns on mobile */
    .team .col-lg-3 {
        margin-bottom: 2rem;
    }
    
    /* Features grid - stack on mobile */
    .features .col-lg-6 {
        margin-bottom: 1.5rem;
    }
    
    /* FAQ grid - stack on mobile */
    .faq .col-lg-6 {
        margin-bottom: 1rem;
    }
    
    /* Process grid - stack on mobile */
    .process .col-lg-2 {
        margin-bottom: 2rem;
    }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* Services - 2 columns on tablet */
    .services .col-lg-4:nth-child(3n+1) {
        clear: none;
    }
    
    .services .col-lg-4:nth-child(2n+1) {
        clear: left;
    }
    
    /* Team - 2 columns on tablet */
    .team .col-lg-3 {
        margin-bottom: 2rem;
    }
    
    /* Process - 3 columns on tablet */
    .process .col-lg-2 {
        margin-bottom: 2rem;
    }
}

/* Navigation responsive */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: white;
        border-radius: 0.5rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        margin-top: 1rem;
        padding: 1rem;
    }
    
    .navbar-nav .nav-item {
        margin: 0.25rem 0;
    }
}

/* Print styles */
@media print {
    .navbar,
    .btn,
    .hero-decoration {
        display: none !important;
    }
    
    section {
        padding: 1rem 0 !important;
    }
    
    .hero-section {
        background: none !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .feature-card,
    .service-card,
    .review-card,
    .case-study-card,
    .price-card,
    .faq-card {
        border: 2px solid var(--dark-color);
    }
    
    .btn-primary {
        border: 2px solid var(--dark-color);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .hero-decoration {
        animation: none !important;
    }
    
    * {
        transition: none !important;
        animation: none !important;
    }
} 

body {
    overflow-x: hidden;
}

.hero-section h1 {
    padding-top: 200px;
}