/* Tablet Styles */
@media (max-width: 991.98px) {
    #hero h1 {
        font-size: 2.5rem;
    }
    
    #hero h2 {
        font-size: 1.25rem;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    .service-card .price {
        font-size: 1.75rem;
    }
    
    .price-amount {
        font-size: 2rem;
    }
    
    .team-member img {
        width: 100px;
        height: 100px;
    }
    
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

/* Mobile Styles */
@media (max-width: 767.98px) {
    /* Disable animations on mobile as per requirements */
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
    
    /* Header adjustments */
    #header .navbar-brand {
        font-size: 1.25rem;
    }
    
    /* Hero section mobile */
    #hero {
        min-height: 80vh;
        padding: 2rem 0;
    }
    
    #hero h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    #hero h2 {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    #hero .lead {
        font-size: 1rem;
    }
    
    /* Hide decorative shapes on mobile */
    .hero-shapes {
        display: none;
    }
    
    /* Section spacing */
    section {
        padding: 2.5rem 0;
    }
    
    section h2 {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    
    section h3 {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    /* Cards spacing */
    .feature-card, .service-card, .price-card, .review-card, 
    .case-study-card, .career-card, .blog-card, .faq-card {
        margin-bottom: 1.5rem;
    }
    
    .feature-card, .info-card {
        padding: 1.5rem;
    }
    
    /* Service cards mobile */
    .service-card .price {
        font-size: 1.5rem;
        padding: 0.75rem 0;
    }
    
    /* Price cards mobile */
    .price-card.featured {
        transform: none;
        margin-bottom: 1.5rem;
    }
    
    .price-amount {
        font-size: 1.75rem;
        margin-top: 0.75rem;
    }
    
    /* Team section mobile */
    .team-member {
        margin-bottom: 2rem;
    }
    
    .team-member img {
        width: 80px;
        height: 80px;
        border-width: 3px;
    }
    
    .team-member h5 {
        font-size: 1rem;
        margin-top: 0.75rem;
    }
    
    .team-member p {
        font-size: 0.85rem;
    }
    
    /* Process steps mobile */
    .process-step {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .process-step h5 {
        font-size: 1rem;
    }
    
    /* Timeline mobile */
    .timeline-item {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .year {
        padding: 0.4rem 0.75rem;
        font-size: 0.9rem;
    }
    
    /* Contact section mobile */
    .contact-form {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .contact-info {
        padding: 1.5rem;
    }
    
    .contact-item {
        margin-bottom: 2rem;
    }
    
    .contact-item i {
        font-size: 1.5rem;
    }
    
    /* Blog cards mobile */
    .blog-card .card-img-top,
    .case-study-card .card-img-top,
    .service-card .card-img-top {
        height: 180px;
    }
    
    /* Button adjustments */
    .btn-primary, .btn-outline-primary {
        padding: 0.6rem 1.5rem;
        font-size: 0.95rem;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    /* Form adjustments */
    .form-control {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 0.75rem;
    }
    
    /* Stats mobile */
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-card, .metric-item, .roadmap-item {
        margin-bottom: 1.5rem;
    }
    
    /* Additional page elements */
    .method-item, .specialty-card, .qa-step, .cert-level, .tech-feature,
    .community-feature, .resource-card {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .cert-badge {
        width: 60px;
        height: 60px;
        margin-bottom: 0.75rem;
    }
    
    .cert-badge i {
        font-size: 1.5rem;
    }
    
    .roadmap-date {
        padding: 0.4rem 0.75rem;
        font-size: 0.9rem;
    }
    
    /* Footer mobile */
    #footer {
        text-align: center;
    }
    
    #footer .col-lg-4,
    #footer .col-lg-2,
    #footer .col-lg-3 {
        margin-bottom: 2rem;
    }
    
    #footer h5, #footer h6 {
        margin-bottom: 1rem;
    }
    
    #footer ul {
        padding-left: 0;
    }
    
    #footer ul li {
        margin-bottom: 0.5rem;
    }
}

/* Small mobile devices */
@media (max-width: 575.98px) {
    /* Even smaller text and spacing for very small screens */
    #hero h1 {
        font-size: 1.75rem;
    }
    
    #hero h2 {
        font-size: 1rem;
    }
    
    section h2 {
        font-size: 1.5rem;
    }
    
    section h3 {
        font-size: 1rem;
    }
    
    /* Tighter spacing */
    section {
        padding: 2rem 0;
    }
    
    .feature-card, .info-card, .contact-form, .contact-info {
        padding: 1rem;
    }
    
    /* Smaller cards */
    .service-card .price,
    .price-amount {
        font-size: 1.5rem;
    }
    
    .team-member img {
        width: 70px;
        height: 70px;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .cert-badge {
        width: 50px;
        height: 50px;
    }
    
    .cert-badge i {
        font-size: 1.25rem;
    }
    
    /* Form adjustments for very small screens */
    .btn-primary, .btn-outline-primary {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .form-control {
        padding: 0.6rem;
    }
    
    /* Gallery adjustments */
    #gallery .col-lg-3 {
        margin-bottom: 1rem;
    }
    
    /* Blog and case study cards */
    .blog-card .card-img-top,
    .case-study-card .card-img-top,
    .service-card .card-img-top {
        height: 150px;
    }
}

/* Landscape phone orientation */
@media (max-width: 767.98px) and (orientation: landscape) {
    #hero {
        min-height: 60vh;
        padding: 1.5rem 0;
    }
    
    section {
        padding: 2rem 0;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
    /* Ensure crisp rendering on retina displays */
    #header {
        backdrop-filter: blur(10px);
    }
    
    .service-card .card-img-top,
    .blog-card .card-img-top,
    .case-study-card .card-img-top {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print styles */
@media print {
    /* Hide non-essential elements when printing */
    #header,
    #footer,
    .hero-shapes,
    .btn,
    .contact-form {
        display: none !important;
    }
    
    /* Ensure good contrast for printing */
    body {
        color: #000 !important;
        background: #fff !important;
    overflow-x: hidden;
}
    
    /* Remove shadows and animations */
    * {
        box-shadow: none !important;
        animation: none !important;
        transition: none !important;
    }
    
    /* Optimize text for print */
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
    
    .card {
        border: 1px solid #000 !important;
        page-break-inside: avoid;
    }
} 