/*
* euroaxislogistics - Responsive Stylesheet
* Responsive styles for the logistics company website
*/

/* ===== RESPONSIVE STYLES ===== */

/* Large Devices (Desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .statistics-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .awards-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    .network-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .network-map {
        height: 400px;
    }

    .network-info {
        padding: var(--spacing-md);
    }

    .network-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-number {
        font-size: 2rem;
    }

    .network-locations {
        grid-template-columns: repeat(2, 1fr);
    }

    .sustainability-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .sustainability-images {
        order: -1;
    }

    .sustainability-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }

    /* Technology Section Responsive */
    .technology-wrapper {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .technology-image {
        height: 400px;
        order: -1;
    }

    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Medium Devices (Tablets, less than 992px) */
@media (max-width: 991.98px) {
    html {
        font-size: 15px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .about-brief-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-brief-image {
        order: -1;
    }



    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small Devices (Landscape Phones, less than 768px) */
@media (max-width: 767.98px) {
    html {
        font-size: 14px;
    }

    .header-wrapper {
        height: 70px;
    }

    .hamburger {
        display: block;
        z-index: 101;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
        z-index: 100;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 1.5rem 0;
    }

    .hero {
        margin-top: 70px;
    }

    .hero-content {
        padding-top: 10vh;
    }

    .hero-content h1 {
        font-size: 2.25rem;
    }

    .hero-btns {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-btns .btn {
        width: 100%;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .solutions-wrapper,
    .case-studies-grid {
        grid-template-columns: 1fr;
    }

    .pagination {
        flex-wrap: wrap;
        justify-content: center;
    }

    .testimonial-content {
        padding: 2rem 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        margin-top: 1rem;
    }

    .footer-bottom-links a {
        margin: 0 0.5rem;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }

    .network-map {
        height: 300px;
    }

    .network-locations {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}

/* Extra Small Devices (Portrait Phones, less than 576px) */
@media (max-width: 575.98px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section-heading h2 {
        font-size: 2rem;
    }

    .statistics-wrapper {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .awards-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .page-banner {
        height: 200px;
    }

    .banner-content h1 {
        font-size: 2rem;
    }

    .partners-grid {
        grid-template-columns: 1fr;
    }

    .network-stats {
        grid-template-columns: 1fr;
    }

    .network-map {
        height: 250px;
    }

    .sustainability-stats {
        grid-template-columns: 1fr;
    }

    .image-grid {
        grid-template-columns: 1fr;
        height: auto;
    }

    .small-image {
        height: 150px;
    }
}

/* ===== ABOUT PAGE RESPONSIVE STYLES ===== */
@media (max-width: 991.98px) {
    .mission-vision-wrapper {
        flex-direction: column;
    }

    .mission-box, .vision-box, .values-box {
        margin-bottom: 2rem;
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .story-timeline {
        padding-left: 2rem;
    }
}

/* ===== CONTACT PAGE RESPONSIVE STYLES ===== */
@media (max-width: 991.98px) {
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-form-wrapper {
        flex-direction: column;
    }

    .form-content {
        margin-bottom: 2rem;
    }

    .offices-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        flex-direction: column;
    }

    .offices-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== JOBS PAGE RESPONSIVE STYLES ===== */
@media (max-width: 991.98px) {
    .careers-intro-wrapper {
        flex-direction: column;
    }

    .careers-intro-image {
        order: -1;
        margin-bottom: 2rem;
    }

    .careers-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .job-filters {
        flex-direction: column;
    }

    .filter-group {
        width: 100%;
        margin-bottom: 1rem;
    }

    /* Jobs Grid Tablet Responsive */
    .jobs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }

    .job-card {
        min-height: auto;
    }

    .job-card-image {
        height: 180px;
    }

    .job-header h3 {
        font-size: 1.3rem;
    }

    .job-description p {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    /* Application Process Tablet Styles */
    .process-steps {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--spacing-md);
    }

    .process-steps::before {
        display: none; /* Hide connecting line on tablet */
    }

    .process-step {
        flex: 0 1 calc(50% - var(--spacing-md));
        min-width: 280px;
        margin-bottom: var(--spacing-md);
    }

    .step-number {
        width: 70px;
        height: 70px;
        font-size: 1.3rem;
    }

    .step-content h3 {
        font-size: 1.3rem;
    }

    .step-content p {
        font-size: 0.95rem;
    }
}

@media (max-width: 575.98px) {
    .careers-stats {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    /* Jobs Grid Mobile Responsive */
    .jobs-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .job-card {
        padding: 1.5rem;
        margin-bottom: var(--spacing-md);
        max-width: 100%;
    }

    .job-card-image {
        height: 160px;
    }

    .job-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-xs);
    }

    .job-header h3 {
        font-size: 1.25rem;
        margin-right: 0;
        margin-bottom: var(--spacing-xs);
    }

    .job-type {
        align-self: flex-start;
        font-size: 0.75rem;
        padding: 0.2rem 0.6rem;
    }

    .job-details {
        gap: var(--spacing-xs);
        margin-bottom: var(--spacing-sm);
    }

    .job-location,
    .job-department,
    .job-date {
        font-size: 0.85rem;
    }

    .job-location i,
    .job-department i,
    .job-date i {
        width: 14px;
        font-size: 0.8rem;
    }

    .job-description {
        margin-bottom: var(--spacing-sm);
    }

    .job-description p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .job-footer {
        flex-direction: column;
        margin-top: var(--spacing-sm);
    }

    .job-footer .btn {
        width: 100%;
        margin-bottom: 0;
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
        font-weight: 600;
    }

    /* Application Process Mobile Styles */
    .process-steps {
        flex-direction: column;
        gap: var(--spacing-lg);
        align-items: center;
    }

    .process-steps::before {
        display: none; /* Hide connecting line on mobile */
    }

    .process-step {
        width: 100%;
        max-width: 350px;
        display: flex;
        align-items: center;
        text-align: left;
        gap: var(--spacing-md);
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
        margin: 0;
        flex-shrink: 0;
    }

    .step-content {
        flex: 1;
    }

    .step-content h3 {
        font-size: 1.2rem;
        margin-bottom: var(--spacing-xs);
    }

    .step-content p {
        font-size: 0.9rem;
        margin-bottom: 0;
        line-height: 1.5;
    }
}

/* ===== SERVICES PAGE RESPONSIVE STYLES ===== */
@media (max-width: 991.98px) {
    /* Services Highlight Section */
    .highlight-features {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .highlight-feature {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .highlight-content h2 {
        font-size: 2.2rem;
    }

    .highlight-content > p {
        font-size: 1.1rem;
    }

    /* Industry Solutions */
    .simple-industry-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Service Cards */
    .service-detailed-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .service-detailed-card .service-icon {
        margin-bottom: var(--spacing-sm);
    }

    .service-features li {
        justify-content: center;
    }

    .service-modal-header {
        flex-direction: column;
        text-align: center;
    }

    .service-modal-icon {
        margin-right: 0;
        margin-bottom: var(--spacing-sm);
    }
}

@media (max-width: 767.98px) {
    .services-intro-content {
        font-size: 1rem;
    }

    .service-detailed-card {
        padding: var(--spacing-md);
    }

    .service-benefits {
        padding: var(--spacing-sm);
    }

    .service-cta .btn {
        display: block;
        width: 100%;
        margin: var(--spacing-xs) 0;
    }

    /* Services Tabs Responsive */
    .tabs-navigation {
        flex-wrap: wrap;
    }

    .tab-button {
        flex: 1 0 auto;
        font-size: 0.9rem;
        padding: var(--spacing-xs) var(--spacing-sm);
    }

    .tab-intro h3 {
        font-size: 1.5rem;
    }

    .tab-intro p {
        font-size: 1rem;
    }

    .services-cards {
        grid-template-columns: 1fr;
    }

    .service-card-header {
        flex-direction: column;
        text-align: center;
    }

    .service-card-header .service-icon {
        margin-right: 0;
        margin-bottom: var(--spacing-xs);
    }

    /* Industry Solutions Responsive */
    .simple-industry-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .industry-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .simple-industry-card h3 {
        font-size: 1.3rem;
    }

    .simple-industry-card p {
        font-size: 0.95rem;
    }

    .industry-features li {
        font-size: 0.9rem;
    }
}

/* ===== JOBS PAGE SMALL MOBILE RESPONSIVE ===== */
@media (max-width: 767.98px) {
    /* Jobs Section Heading */
    .section-heading h2 {
        font-size: 2rem;
    }

    .section-heading .subtitle {
        font-size: 1rem;
    }

    /* Job Cards Extra Small Mobile */
    .job-card {
        padding: 1.25rem;
        border-radius: var(--border-radius-sm);
    }

    .job-card-image {
        height: 140px;
        border-radius: var(--border-radius-sm) var(--border-radius-sm) 0 0;
    }

    .job-header h3 {
        font-size: 1.2rem;
        line-height: 1.3;
    }

    .job-type {
        font-size: 0.7rem;
        padding: 0.15rem 0.5rem;
    }

    .job-details {
        gap: 0.4rem;
    }

    .job-location,
    .job-department,
    .job-date {
        font-size: 0.8rem;
    }

    .job-description p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .job-footer .btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        border-radius: var(--border-radius-sm);
    }

    /* Container Padding Adjustment */
    .container {
        padding: 0 var(--spacing-sm);
    }

    .section {
        padding: var(--spacing-lg) 0;
    }

    /* Custom Popup Mobile Responsive */
    .popup-content {
        width: 95%;
        padding: var(--spacing-md);
        margin: var(--spacing-sm);
    }

    .popup-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .popup-title {
        font-size: 1.3rem;
    }

    .popup-message {
        font-size: 0.9rem;
    }

    .popup-buttons {
        flex-direction: column;
        gap: var(--spacing-xs);
    }

    .popup-btn {
        width: 100%;
        padding: 0.8rem 1rem;
    }
}

/* ===== ANIMATIONS RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 767.98px) {
    .animate-on-scroll {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }



    /* Policy Pages Responsive */
    .policy-section h2 {
        font-size: 1.5rem;
    }

    .policy-section h3 {
        font-size: 1.2rem;
    }

    .policy-section p,
    .policy-section ul li {
        font-size: 0.95rem;
    }
}
