/* Express Courier - Responsive Stylesheet */

/* === Mobile First Approach === */

/* Extra Small Devices (phones, 576px and down) */
@media (max-width: 575.98px) {
    .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
        min-height: 80vh;
        padding: 1rem 0;
    }
    
    .hero-section h1 {
        font-size: 1.82rem;
    }
    
    .hero-section h2 {
        font-size: 1.38rem;
    }
    
    section {
        padding: 2rem 0;
    }
    
    section h2 {
        font-size: 1.65rem;
    }
    
    section h3 {
        font-size: 1.27rem;
    }
    
    .navbar-brand {
        font-size: 1.23rem !important;
    }
    
    .feature-card,
    .service-card,
    .price-card,
    .review-card,
    .info-card,
    .career-card {
        margin-bottom: 1rem;
        padding: 1.5rem;
    }
    
    .team-member img {
        width: 80px;
        height: 80px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.21rem;
    }
    
    .contact-info {
        margin-top: 2rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 15px;
    }
    
    .timeline-item::after {
        left: 10px;
    }
    
    .timeline-content {
        padding: 15px 20px;
    }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section h2 {
        font-size: 1.46rem;
    }
    
    section h2 {
        font-size: 1.88rem;
    }
    
    .timeline::before {
        left: 25px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 20px;
    }
    
    .timeline-item::after {
        left: 15px;
    }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-section h1 {
        font-size: 2.35rem;
    }
    
    .hero-section h2 {
        font-size: 1.57rem;
    }
    
    section h2 {
        font-size: 1.92rem;
    }
    
    .navbar-nav .nav-link {
        margin: 0 0.25rem;
    }
    
    .price-card.featured {
        transform: none;
        margin-top: 1rem;
    }
    
    .timeline::before {
        left: 50%;
        margin-left: -2px;
    }
    
    .timeline-item {
        width: 50%;
    }
    
    .timeline-item:nth-child(odd) {
        left: 0;
    }
    
    .timeline-item:nth-child(even) {
        left: 50%;
    }
    
    .timeline-item::after {
        right: -10px;
    }
    
    .timeline-item:nth-child(even)::after {
        left: -10px;
    }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .navbar-nav .nav-link {
        margin: 0 0.5rem;
    }
    
    section {
        padding: 3.5rem 0;
    }
    
    .feature-card,
    .service-card,
    .price-card {
        margin-bottom: 2rem;
    }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
        padding: 3rem 0;
    }
    
    .navbar-nav .nav-link {
        margin: 0 0.75rem;
    }
}

/* === Print Styles === */
@media print {
    .navbar,
    footer,
    .breadcrumb-nav {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
        background: white !important;
        min-height: auto !important;
        padding: 1rem 0 !important;
    }
    
    .hero-section h1,
    .hero-section h2,
    section h2,
    section h3 {
        color: black !important;
    }
    
    .feature-card,
    .service-card,
    .price-card,
    .review-card {
        box-shadow: none !important;
        border: 1px solid #dfcbcd !important;
        break-inside: avoid;
    }
    
    a {
        color: black !important;
        text-decoration: underline !important;
    }
}

/* === High Contrast Mode === */
@media (prefers-contrast: high) {
    :root {
        --primary-blue: #0047d3;
        --secondary-orange: #ff4602;
        --accent-green: #009616;
        --neutral-gray: #3a3a3a;
        --warning-red: #df0500;
    }
    
    .feature-card,
    .service-card,
    .price-card,
    .review-card {
        border: 2px solid var(--neutral-gray);
    }
    
    .btn-primary {
        border: 2px solid var(--primary-blue);
    }
}


/* === Landscape Orientation === */
@media screen and (orientation: landscape) and (max-height: 500px) {
    .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
        min-height: 100vh;
        padding: 1rem 0;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    section {
        padding: 2rem 0;
    }
}

/* === Focus and Accessibility === */
@media (prefers-reduced-motion: reduce) {
    .feature-card,
    .service-card,
    .price-card,
    .review-card,
    .btn-primary {
        transition: none !important;
    }
    
    .feature-card:hover,
    .service-card:hover,
    .price-card:hover {
        transform: none !important;
    }
}

/* === Utility Classes === */
.d-none-mobile {
    display: none !important;
}

@media (min-width: 768px) {
    .d-none-mobile {
        display: block !important;
    }
    
    .d-mobile-only {
        display: none !important;
    }
}

.text-center-mobile {
    text-align: center;
}

@media (min-width: 768px) {
    .text-center-mobile {
        text-align: left;
    }
}

/* === Image Responsiveness === */
@media (max-width: 767.98px) {
    .service-card img,
    .blog-card img,
    .case-study-card img {
        height: 150px;
    }
    
    .team-member {
        margin-bottom: 1rem;
    }
}

/* === Gallery Responsiveness === */
@media (max-width: 575.98px) {
    .gallery .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .gallery .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* === Navigation Improvements === */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(43, 81, 180, 0.95);
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 8px;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
}

/* === Form Responsiveness === */
@media (max-width: 767.98px) {
    .contact-form .row .col-md-6 {
        margin-bottom: 1rem;
    }
    
    .form-control {
        padding: 0.625rem 0.875rem;
    }
    
    .btn-primary {
        width: 100%;
        padding: 0.875rem 1rem;
    }
}

/* === Cards Grid Adjustments === */
@media (max-width: 575.98px) {
    .row > [class*="col-"] {
        margin-bottom: 1rem;
    }
    
    .row > [class*="col-"]:last-child {
        margin-bottom: 0;
    }
}

/* === Footer Responsiveness === */
@media (max-width: 767.98px) {
    footer .col-lg-4 {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    footer .col-lg-4:last-child {
        margin-bottom: 1rem;
    }
    
    footer ul {
        padding-left: 0;
    }
}

/* === Header Brand Responsive === */
@media (max-width: 480px) {
    .navbar-brand {
        font-size: 1rem !important;
    }
}

/* === Section Spacing Adjustments === */
@media (max-width: 767.98px) {
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .mb-5 {
        margin-bottom: 2rem !important;
    }
}

/* === Container Padding === */
@media (max-width: 575.98px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Responsive Styles for Express Courier */

/* Mobile Styles */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section h2 {
        font-size: 1.61rem;
    }
    
    section {
        padding: 2rem 0;
    }
    
    .navbar-brand {
        font-size: 1.27rem !important;
    }
    
    .feature-card,
    .service-card,
    .price-card {
        margin-bottom: 1rem;
    }
    
    .team-member img {
        width: 80px;
        height: 80px;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 50px;
    }
    
    .timeline-item::after {
        left: 10px;
    }
    
    .price-card.featured {
        transform: none;
    }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-section h1 {
        font-size: 2.59rem;
    }
    
    section h2 {
        font-size: 2rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    footer {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
} 