/* Responsive Styles - Mobile First Approach */

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    /* Typography adjustments for mobile */
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    .navbar-brand {
        font-size: 1.25rem !important;
    }
    
    /* Hero section mobile */
    .hero-section {
        padding-top: 100px;
        min-height: 90vh;
        text-align: center;
    }
    
    .hero-section .btn {
        width: 100%;
        margin-top: 1rem;
    }
    
    /* Feature cards mobile */
    .feature-card {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
    }
    
    /* Service cards mobile */
    .service-card img {
        height: 180px;
    }
    
    .service-card .price {
        font-size: 1.5rem;
    }
    
    /* Feature items mobile */
    .feature-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .feature-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    /* Pricing cards mobile */
    .pricing-card.featured {
        transform: none;
        margin-bottom: 2rem;
    }
    
    .price-large {
        font-size: 2rem;
    }
    
    /* Team section mobile */
    .team-member img {
        width: 100px;
        height: 100px;
    }
    
    /* Process timeline mobile */
    .process-step {
        margin-bottom: 2rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* Timeline mobile */
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 3rem;
        padding-right: 1rem;
    }
    
    .timeline-content::before {
        left: -15px;
    }
    
    /* Contact form mobile */
    .contact-form {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    /* Communication items mobile */
    .communication-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .comm-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    /* Negotiation items mobile */
    .negotiation-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .nego-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    /* Career pathway mobile */
    .pathway-step {
        margin-bottom: 2rem;
    }
    
    .pathway-icon {
        width: 50px;
        height: 50px;
    }
    
    /* Breadcrumbs mobile */
    .breadcrumbs {
        padding-top: 80px;
        padding-bottom: 1rem;
    }
    
    /* Gallery mobile - 2 columns */
    #gallery .col-6 {
        padding: 0.25rem;
    }
    
    /* Footer mobile */
    #footer .col-lg-4 {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    /* Disable animations on mobile for performance (DISABLED) */
    /* [data-sal] {
        transform: none !important;
        opacity: 1 !important;
    } */
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    /* Typography adjustments */
    h1 {
        font-size: 2.25rem;
    }
    
    .navbar-brand {
        font-size: 1.35rem !important;
    }
    
    /* Hero adjustments */
    .hero-section {
        padding-top: 110px;
    }
    
    /* Service cards */
    .service-card img {
        height: 190px;
    }
    
    /* Team members - 3 per row */
    .team-member img {
        width: 110px;
        height: 110px;
    }
    
    /* Timeline adjustments */
    .timeline-item {
        width: 90%;
        padding-left: 2.5rem;
    }
    
    /* Gallery - 3 columns */
    #gallery .col-6 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    
    /* Disable mobile-specific animation disabling (DISABLED) */
    /* [data-sal] {
        transform: initial !important;
        opacity: initial !important;
    } */
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* Fine-tune spacing */
    .hero-section {
        padding-top: 120px;
    }
    
    /* Service cards maintain aspect ratio */
    .service-card img {
        height: 200px;
    }
    
    /* Feature items back to side-by-side */
    .feature-item {
        flex-direction: row;
        text-align: left;
    }
    
    .feature-icon {
        margin-right: 1.5rem;
        margin-bottom: 0;
    }
    
    /* Communication items */
    .communication-item {
        flex-direction: row;
        text-align: left;
    }
    
    .comm-icon {
        margin-right: 1.5rem;
        margin-bottom: 0;
    }
    
    /* Negotiation items */
    .negotiation-item {
        flex-direction: row;
        text-align: left;
    }
    
    .nego-icon {
        margin-right: 1.5rem;
        margin-bottom: 0;
    }
    
    /* Timeline back to alternating */
    .timeline::before {
        left: 50%;
    }
    
    .timeline-item {
        width: 50%;
    }
    
    .timeline-item:nth-child(odd) {
        left: 0;
        padding-right: 2rem;
        padding-left: 0;
    }
    
    .timeline-item:nth-child(even) {
        left: 50%;
        padding-left: 2rem;
        padding-right: 0;
    }
    
    /* Gallery - 4 columns */
    #gallery .col-6 {
        flex: 0 0 25%;
        max-width: 25%;
    }
    
    /* Team layout optimization */
    .team-member img {
        width: 120px;
        height: 120px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    /* Full desktop experience starts here */
    .pricing-card.featured {
        transform: scale(1.03);
    }
    
    /* Gallery - full responsive grid */
    #gallery .col-lg-3 {
        padding: 0.5rem;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    /* Enhanced spacing for large screens */
    .container {
        max-width: 1200px;
    }
    
    .hero-section {
        padding-top: 140px;
    }
    
    .feature-card {
        padding: 2.5rem 2rem;
    }
    
    .service-card img {
        height: 220px;
    }
    
    /* Enhanced hover effects on desktop */
    .feature-card:hover {
        transform: translateY(-8px);
    }
    
    .service-card:hover {
        transform: translateY(-10px);
    }
}

/* Ultra wide screens (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    /* Even more generous spacing */
    .feature-card {
        padding: 3rem 2.5rem;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.25rem;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Ensure crisp text and icons on high DPI displays */
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 600px) {
    .hero-section {
        min-height: 100vh;
        padding-top: 100px;
    }
    
    /* Compress vertical spacing on short landscape screens */
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .mb-5 {
        margin-bottom: 2rem !important;
    }
}

/* Print styles */
@media print {
    /* Hide navigation and interactive elements */
    .navbar,
    .btn,
    #footer,
    .breadcrumbs {
        display: none !important;
    }
    
    /* Adjust colors for print */
    * {
        color: black !important;
        background: white !important;
    }
    
    /* Ensure content flows properly */
    .container {
        max-width: none !important;
        width: 100% !important;
    }
    
    /* Remove shadows and borders for cleaner print */
    .card,
    .feature-card,
    .service-card {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    /* Disable all animations and transitions */
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    /* Disable hover transforms */
    .feature-card:hover,
    .service-card:hover,
    .case-study-card:hover,
    .blog-card:hover {
        transform: none !important;
    }
}

/* Dark mode support */

/* Focus indicators for keyboard navigation */
@media (min-width: 768px) {
    /* Enhanced focus states for desktop */
    a:focus-visible,
    button:focus-visible,
    input:focus-visible,
    textarea:focus-visible,
    select:focus-visible {
        outline: 3px solid var(--primary-color);
        outline-offset: 2px;
        border-radius: 4px;
    }
}

/* Container queries support (future-proofing) */
@supports (container-type: inline-size) {
    .feature-card {
        container-type: inline-size;
    }
    
    @container (max-width: 300px) {
        .feature-card {
            padding: 1rem;
        }
        
        .feature-card i {
            font-size: 2rem !important;
        }
    }
}


.hero-section h1 {
    padding-top: 150px;
}