/* Responsive CSS for Logistics Optimization Consulting Template */

/* Large Devices (1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .hero-content h1 {
  padding-top: 50px !important; {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.60rem;
    }
}

/* Medium Devices (992px to 1199px) */
@media (max-width: 1199.98px) {
    .hero-section h1 {
    padding-top: 150px !important;
}

.hero-section {
        min-height: 90vh;
    }
    
    .hero-decorative {
        width: 150px;
        height: 150px;
    }
    
    .section {
        padding: 4rem 0;
    }
}

/* Small Devices (768px to 991px) */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(91, 143, 220, 0.95);
        padding: 1rem;
        border-radius: 10px;
        margin-top: 1rem;
    }
    
    .hero-section h1 {
    padding-top: 150px !important;
}

.hero-section {
        min-height: 80vh;
        text-align: center;
    }
    
    .hero-content h1 {
  padding-top: 50px !important; {
        font-size: 2.61rem;
    }
    
    .hero-decorative {
        display: none;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-item,
    .priceplan-item,
    .about-feature {
        margin-bottom: 2rem;
    }
    
    .team-photo {
        width: 150px;
        height: 150px;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .timeline-item {
        margin-left: 1rem;
    }
    
    .timeline-item::before {
        left: -1rem;
    }
}

/* Extra Small Devices (576px to 767px) */
@media (max-width: 767.98px) {
    .navbar-brand {
        font-size: 1.27rem !important;
    }
    
    .hero-section h1 {
    padding-top: 150px !important;
}

.hero-section {
        min-height: 70vh;
        padding: 2rem 0;
    }
    
    .hero-content h1 {
  padding-top: 50px !important; {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section {
        padding: 2.5rem 0;
    }
    
    .section-title {
        font-size: 1.80rem;
        margin-bottom: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .about-feature {
        padding: 1.5rem;
    }
    
    .about-feature i {
        font-size: 2.55rem;
    }
    
    .services-item {
        padding: 1.5rem;
    }
    
    .services-item img {
        height: 150px;
    }
    
    .services-price {
        font-size: 1.31rem;
    }
    
    .features-item i {
        font-size: 2.56rem;
    }
    
    .priceplan-item {
        padding: 2rem 1.5rem;
    }
    
    .priceplan-price {
        font-size: 2rem;
    }
    
    .team-photo {
        width: 120px;
        height: 120px;
    }
    
    .reviews-item {
        padding: 1.5rem;
    }
    
    .reviews-text {
        font-size: 1rem;
    }
    
    .casestudy-item,
    .process-item,
    .timeline-item,
    .career-item,
    .coreinfo-item {
        padding: 1.5rem;
    }
    
    .process-number {
        width: 50px;
        height: 50px;
        font-size: 1.38rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-control {
        padding: 0.5rem 0.75rem;
    }
    
    .btn-primary {
        padding: 0.5rem 1.5rem;
    }
    
    .blog-item img {
        height: 150px;
    }
    
    .blog-content {
        padding: 1rem;
    }
    
    .faq-question,
    .faq-answer {
        padding: 1rem;
    }
    
    .gallery-item img {
        height: 200px;
    }
    
    .footer {
        padding: 2rem 0 1rem;
        text-align: center;
    }
    
    .footer .row > div {
        margin-bottom: 2rem;
    }
    
    .timeline-item {
        margin-left: 0;
        position: relative;
    }
    
    .timeline-item::before {
        left: 50%;
        transform: translate(-50%, -50%);
        top: -1rem;
    }
}

/* Extra Extra Small Devices (up to 575px) */
@media (max-width: 575.98px) {
    .container-fluid {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-brand {
        font-size: 1rem !important;
    }
    
    .hero-section h1 {
    padding-top: 150px !important;
}

.hero-section {
        min-height: 60vh;
        padding: 1.5rem 0;
    }
    
    .hero-content h1 {
  padding-top: 50px !important; {
        font-size: 1.86rem;
        line-height: 1.2;
    }
    
    .hero-content p {
        font-size: 0.98rem;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .section-title {
        font-size: 1.58rem;
        margin-bottom: 1.69rem;
    }
    
    .section-subtitle {
        font-size: 1.05rem;
    }
    
    .section-description {
        font-size: 1.03rem;
        margin-bottom: 2rem;
    }
    
    .about-feature {
        padding: 1rem;
        margin-bottom: 1.72rem;
    }
    
    .about-feature i {
        font-size: 2rem;
    }
    
    .services-item {
        padding: 1rem;
        margin-bottom: 1.66rem;
    }
    
    .services-item img {
        height: 120px;
        margin-bottom: 1rem;
    }
    
    .services-price {
        font-size: 1.14rem;
    }
    
    .features-item {
        padding: 1rem;
    }
    
    .features-item i {
        font-size: 2rem;
    }
    
    .priceplan-item {
        padding: 1.5rem 1rem;
        margin-bottom: 1.55rem;
    }
    
    .priceplan-item:nth-child(2) {
        transform: none;
    }
    
    .priceplan-price {
        font-size: 1.88rem;
    }
    
    .team-photo {
        width: 100px;
        height: 100px;
        margin-bottom: 0.86rem;
    }
    
    .reviews-item {
        padding: 1rem;
        margin-bottom: 1.64rem;
    }
    
    .reviews-text {
        font-size: 0.97rem;
        margin-bottom: 1rem;
    }
    
    .casestudy-item,
    .process-item,
    .timeline-item,
    .career-item,
    .coreinfo-item {
        padding: 1rem;
        margin-bottom: 1.56rem;
    }
    
    .process-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-bottom: 0.99rem;
    }
    
    .coreinfo-item i {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 1rem;
        border-radius: 15px;
    }
    
    .form-control {
        font-size: 0.96rem;
        padding: 0.5rem;
        border-radius: 8px;
    }
    
    .btn-primary {
        padding: 0.5rem 1rem;
        font-size: 0.98rem;
        border-radius: 8px;
    }
    
    .blog-item img {
        height: 120px;
    }
    
    .blog-content {
        padding: 0.75rem;
    }
    
    .blog-content h4 {
        font-size: 1rem;
    }
    
    .faq-question {
        padding: 0.75rem;
        font-size: 1.02rem;
    }
    
    .faq-answer {
        padding: 0.75rem;
        font-size: 0.98rem;
    }
    
    .gallery-item img {
        height: 150px;
    }
    
    .footer {
        padding: 1.5rem 0 0.5rem;
        font-size: 1.03rem;
    }
    
    .footer h5 {
        font-size: 1rem;
        margin-bottom: 0.89rem;
    }
    
    .copyright {
        font-size: 0.88rem;
        padding-top: 1rem;
    }
    
    #space {
        min-height: 60vh;
        font-size: 1.57rem;
        padding: 1rem;
        text-align: center;
    }
}

/* Landscape Mobile Devices */
@media (max-width: 767.98px) and (orientation: landscape) {
    .hero-section h1 {
    padding-top: 150px !important;
}

.hero-section {
        min-height: 100vh;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .navbar-collapse {
        max-height: 200px;
        overflow-y: auto;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-section::before {
        background-image: url('../WUD_images/hero-bg-2x.webp');
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .hero-decorative,
    .btn {
        display: none !important;
    }
    
    .hero-section h1 {
    padding-top: 150px !important;
}

.hero-section {
        min-height: auto;
        background: none !important;
        color: #000 !important;
    }
    
    .section {
        padding: 1rem 0;
        page-break-inside: avoid;
    }
    
    .services-item,
    .priceplan-item,
    .reviews-item,
    .casestudy-item {
        box-shadow: none;
        border: 1px solid #dfdfdf;
        page-break-inside: avoid;
    }
}

/* Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-decorative {
        animation: none !important;
    }
    
    .fade-in,
    .slide-in-left,
    .slide-in-right {
        transition: none !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-blue: #1606e9;
        --primary-green: #0b8e1a;
        --primary-orange: #ff9204;
        --primary-purple: #8c0095;
        --primary-teal: #069584;
        --dark-gray: #000000;
        --medium-gray: #4d4d4d;
        --light-gray: #dfd2d1;
    }
    
    .hero-section::before {
        opacity: 0.1;
    }
    
    .services-item,
    .priceplan-item,
    .about-feature,
    .reviews-item,
    .casestudy-item {
        border: 2px solid var(--dark-gray);
    }
}

/* Focus Indicators */
@media (any-hover: none) {
    .btn:hover,
    .services-item:hover,
    .priceplan-item:hover {
        transform: none;
    }
}

/* Touch Device Optimizations */
@media (pointer: coarse) {
    .btn,
    .form-control {
        min-height: 44px;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
    }
    
    .faq-question {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
} 