/* Mobile First Responsive Design */

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .hero-shapes {
        display: block;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 991.98px) {
    .navbar-brand {
        font-size: 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero-shapes {
        display: none;
    }
    
    .service-card img,
    .case-study-card img,
    .blog-card img {
        height: 180px;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .team-member img {
        width: 70px;
        height: 70px;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 767.98px) {
    .navbar-brand {
        font-size: 0.9rem;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: none;
    }
    
    .service-card img,
    .case-study-card img,
    .blog-card img {
        height: 160px;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .team-member {
        margin-bottom: 2rem;
    }
    
    .team-member img {
        width: 60px;
        height: 60px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .process-step {
        margin-bottom: 2rem;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .navbar-brand {
        font-size: 0.85rem;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.25rem;
    }
    
    .feature-card,
    .service-card,
    .pricing-card,
    .review-card,
    .case-study-card,
    .blog-card,
    .faq-card,
    .insight-card,
    .report-card,
    .research-card,
    .case-card,
    .interview-card,
    .tool-card,
    .learning-card,
    .api-card,
    .community-card,
    .support-card {
        margin-bottom: 1.5rem;
        padding: 1.5rem;
    }
    
    .service-card .card-body {
        padding: 1.5rem;
    overflow-x: hidden;
}
    
    .service-card img,
    .case-study-card img,
    .blog-card img {
        height: 140px;
    }
    
    .contact-form {
        padding: 1rem;
    }
    
    .contact-info {
        padding: 1rem;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .team-member img {
        width: 50px;
        height: 50px;
    }
    
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .pricing-card {
        padding: 1.5rem;
    }
    
    .pricing-card .price {
        font-size: 1.5rem;
    }
}

/* Mobile-specific: Remove animations and hover effects */
@media (max-width: 767.98px) {
    /* Disable all animations on mobile for better performance */
    .feature-card:hover,
    .service-card:hover,
    .pricing-card:hover,
    .case-study-card:hover,
    .blog-card:hover,
    .insight-card:hover,
    .report-card:hover,
    .research-card:hover,
    .case-card:hover,
    .interview-card:hover,
    .tool-card:hover,
    .learning-card:hover,
    .api-card:hover,
    .community-card:hover,
    .support-card:hover {
        transform: none;
    }
    
    #gallery img:hover {
        transform: none;
    }
    
    /* Remove transitions on mobile */
    .feature-card,
    .service-card,
    .pricing-card,
    .case-study-card,
    .blog-card,
    .insight-card,
    .report-card,
    .research-card,
    .case-card,
    .interview-card,
    .tool-card,
    .learning-card,
    .api-card,
    .community-card,
    .support-card,
    #gallery img {
        transition: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .feature-card,
    .service-card,
    .pricing-card,
    .review-card,
    .case-study-card,
    .blog-card,
    .faq-card,
    .insight-card,
    .report-card,
    .research-card,
    .case-card,
    .interview-card,
    .tool-card,
    .learning-card,
    .api-card,
    .community-card,
    .support-card,
    .contact-form {
        border: 2px solid var(--text-primary);
    }
}

/* Print styles */
@media print {
    .navbar,
    #footer,
    .btn,
    .hero-shapes {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
    
    .feature-card,
    .service-card,
    .pricing-card,
    .review-card,
    .case-study-card,
    .blog-card,
    .faq-card {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
} 