/* =====================================================
   GS LOGISTICS - ABOUT PAGE RESPONSIVE STYLESHEET
   Matches: About Page Desktop CSS
===================================================== */

/* =====================================================
   LARGE TABLETS & SMALL DESKTOPS (Max-Width: 1200px)
===================================================== */
@media (max-width: 1200px) {
    .container,
    .header-container,
    .about-hero-container,
    .about-stats-container,
    .footer-container,
    .footer-bottom {
        width: min(100%, calc(100% - 60px));
    }

    .who-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .who-content p {
        max-width: 100%;
    }

    .values-grid {
        border-left: none;
        grid-template-columns: repeat(3, 1fr);
    }

    .reasons-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .quote-side-text {
        display: none; /* Hide floating side quote on smaller viewports for space */
    }

    .about-quote-content {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
}


/* =====================================================
   TABLETS (Max-Width: 992px)
===================================================== */
@media (max-width: 992px) {
    .main-nav {
        gap: 20px;
    }

    .main-nav a {
        font-size: 16px;
        margin-right: 10px;
        padding: 20px 0;
    }

    .about-hero-container {
        flex-direction: column;
        padding: 80px 0;
        text-align: left;
    }

    .about-hero-content {
        width: 100%;
    }

    .about-hero-side {
        align-self: flex-start;
        margin-top: 25px;
    }

    .about-stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-stat {
        border-bottom: 1px solid rgba(255,255,255,0.18);
        padding: 15px 0;
    }

    .about-stat:nth-child(2) {
        border-right: none;
    }

    .story-grid {
        grid-template-columns: 1fr;
    }

    .story-image {
        min-height: 350px;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .value-card {
        border: 1px solid #e1e6eb;
        padding: 20px;
        min-height: auto;
    }

    .reasons-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =====================================================
   MOBILE NAVIGATION & BREAKPOINT (Max-Width: 768px)
===================================================== */
@media (max-width: 768px) {
    .container,
    .header-container,
    .about-hero-container,
    .about-stats-container,
    .footer-container,
    .footer-bottom {
        width: min(100%, calc(100% - 30px));
    }

    /* Enable Mobile Menu Toggle & Hide Desktop Nav */
    .main-nav,
    .header-cta {
        display: none !important;
    }

    .mobile-menu-btn {
        display: flex !important;
    }

    .site-header {
        height: 70px;
    }

    /* Transform mobile menu into a dropdown */
    .mobile-menu.active {
        display: block !important;
    }

    .mobile-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #ffffff;
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        z-index: 999;
    }

    .mobile-menu nav {
        width: 90%;
        margin: 0 auto;
        padding: 20px 0;
        display: flex;
        flex-direction: column;
    }

    .mobile-menu nav a {
        padding: 12px 0;
        border-bottom: 1px solid #eeeeee;
        color: #062744;
        text-decoration: none;
        font-size: 16px;
        font-weight: 600;
    }

    /* About Hero mobile adjustments */
    .about-hero-content h1 {
        font-size: clamp(34px, 8vw, 48px);
    }

    /* Who We Are & Values grid stacking */
    .who-content h2 {
        font-size: 32px;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .value-card {
        border-right: none;
    }

    /* Stats 2x2 layout on mobile */
    .about-stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-stat {
        border-right: 1px solid rgba(255,255,255,0.18);
    }

    .about-stat:nth-child(3),
    .about-stat:nth-child(4) {
        border-bottom: none;
    }

    /* Story content padding */
    .story-content {
        padding: 40px 20px;
    }

    .story-content h2 {
        font-size: 30px;
    }

    /* Reasons grid */
    .reasons-grid {
        grid-template-columns: 1fr;
    }

    /* Footer single column stack */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
}


/* =====================================================
   SMALL PHONES (Max-Width: 480px)
===================================================== */
@media (max-width: 480px) {
    .about-stats-container {
        grid-template-columns: 1fr;
    }

    .about-stat {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.18);
    }

    .about-stat:last-child {
        border-bottom: none;
    }

    .logo img {
        width: 125px;
    }
    /* =====================================================
   MOBILE HEADER FIX
===================================================== */

@media (max-width: 768px) {

    .site-header {
        height: 70px !important;
        background: #ffffff !important;
        position: relative;
        z-index: 9999;
    }

    .site-header .header-container,
    .site-header .container,
    .site-header .header-inner {
        width: 100% !important;
        max-width: none !important;

        height: 70px !important;

        padding: 0 18px !important;
        margin: 0 !important;

        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    /* LOGO */

    .site-header .logo,
    .site-header .brand,
    .site-header .logo a {
        display: flex !important;
        align-items: center !important;
        flex-shrink: 0 !important;
    }

    .site-header .logo img,
    .site-header .brand img {
        width: 135px !important;
        max-width: 135px !important;
        height: auto !important;
        display: block !important;
    }


    /* HAMBURGER */

    .site-header .menu-toggle,
    .site-header .mobile-menu-btn,
    .site-header .hamburger {
        display: flex !important;

        width: 42px !important;
        height: 42px !important;

        padding: 0 !important;
        margin: 0 !important;

        background: #062744 !important;

        border: none !important;
        border-radius: 2px !important;

        align-items: center !important;
        justify-content: center !important;

        flex-direction: column !important;

        gap: 5px !important;

        cursor: pointer !important;

        flex-shrink: 0 !important;
    }

    .site-header .menu-toggle span,
    .site-header .mobile-menu-btn span,
    .site-header .hamburger span {
        width: 21px !important;
        height: 2px !important;

        display: block !important;

        background: #ffffff !important;
    }


    /* DESKTOP NAV HIDDEN */

    .site-header nav,
    .site-header .main-nav {
        display: none !important;
    }


    /* MOBILE NAV */

    .site-header nav.active,
    .site-header .main-nav.active {
        display: flex !important;

        position: absolute !important;

        top: 70px !important;
        left: 0 !important;
        right: 0 !important;

        width: 100% !important;

        padding: 10px 20px 20px !important;

        background: #ffffff !important;

        flex-direction: column !important;
        align-items: flex-start !important;

        gap: 0 !important;

        box-shadow:
            0 10px 25px rgba(0, 0, 0, 0.12) !important;
    }


    .site-header nav.active a,
    .site-header .main-nav.active a {
        width: 100% !important;

        padding: 14px 0 !important;

        font-size: 18px !important;

        color: #062744 !important;

        border-bottom: 1px solid #edf0f2 !important;
    }


    .site-header nav.active .quote-btn,
    .site-header .main-nav.active .quote-btn {
        margin-top: 10px !important;

        padding: 14px 18px !important;

        width: 100% !important;

        text-align: center !important;

        background: #062744 !important;

        color: #ffffff !important;

        border-bottom: none !important;
    }

}
}