/* ============================================================
   FAST INTERNATIONAL LOGISTICS W.L.L.
   HEADER + FOOTER + SERVICE HEADING UPDATE
   VERSION 5 — OCTOBER 2026
   File: public_html/assets/css/header-font-size.css

   KEEPING YOUR EXISTING DESIGN:
   - Large proportional company logo
   - Existing header and responsive navigation
   - Non-sticky header (as previously requested)
   - Bigger footer typography and stronger contrast
   - Vivid pink Service and Industry card headings

   No changes required to SQL, PHP, CMS data or images.
   IMPORTANT: This stylesheet must load AFTER homepage CSS.
   ============================================================ */

/* ============================================================
   01. TOPBAR — CONTACT AND LANGUAGE
   ============================================================ */
.fast-topbar,
.topbar {
    font-size: 13px !important;
}
.fast-topbar-inner,
.topbar-in,
.topbar-inner {
    min-height: 46px !important;
}
.fast-topbar-left,
.fast-topbar-right,
.top-left,
.top-right,
.top-contact {
    gap: 18px !important;
}
.fast-topbar i,
.topbar i {
    font-size: 13px;
}
.fast-lang a,
.lang a,
.language a,
.lang-switch a {
    font-size: 12px !important;
    min-width: 38px !important;
    height: 28px !important;
}

/* ============================================================
   02. HEADER — MAIN CONTAINER AND LOGO
   ============================================================ */
.fast-header .fast-container.fast-nav,
.header .fast-container.fast-nav {
    width: min(calc(100% - 64px), 1660px) !important;
    max-width: none !important;
}
.fast-nav,
.header .nav,
.navbar {
    min-height: 124px !important;
    gap: 17px !important;
}
.fast-logo,
.header .logo,
.navbar .logo {
    flex: 0 0 auto !important;
    display: flex;
    align-items: center;
    min-width: 0 !important;
}
.fast-logo img,
.header .logo img,
.navbar .logo img {
    display: block;
    width: 650px !important;
    max-width: 650px !important;
    height: auto !important;
    max-height: 120px !important;
    object-fit: contain !important;
    object-position: left center !important;
}

/* Preserve the requested non-sticky header. */
.fast-header,
.fast-header.scrolled {
    position: static !important;
    top: auto !important;
    box-shadow: none !important;
}

/* ============================================================
   03. HEADER — NAVIGATION AND QUOTE BUTTON
   ============================================================ */
.fast-menu,
.header .menu,
.nav-menu {
    gap: 17px !important;
}
.fast-menu a,
.header .menu a,
.nav-menu a {
    font-size: 14px !important;
    font-weight: 800 !important;
    letter-spacing: .1px !important;
    white-space: nowrap;
}
.fast-nav-actions { flex: 0 0 auto; }
.fast-nav-actions > .fast-btn,
.fast-nav-actions > .btn,
.nav-actions > .fast-btn,
.nav-actions > .btn {
    min-height: 56px !important;
    padding-inline: 19px !important;
    font-size: 14px !important;
    white-space: nowrap;
}

/* ============================================================
   04. SERVICE CARDS — VIVID PINK TITLES
   Applies to Air / Sea / Road / Customs / Project / Warehousing
   ============================================================ */
.fast-services-grid .fast-service .fast-card-title,
#services .fast-service .fast-card-title {
    color: #d20b59 !important;
    font-weight: 800 !important;
    line-height: 1.22 !important;
    letter-spacing: -.55px;
    transition: color .22s ease;
}
.fast-services-grid .fast-service:hover .fast-card-title,
#services .fast-service:hover .fast-card-title {
    color: #a90543 !important;
}
/* Short premium accent line beneath each title. */
.fast-services-grid .fast-service .fast-card-title::after,
#services .fast-service .fast-card-title::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    margin-top: 11px;
    border-radius: 999px;
    background: linear-gradient(90deg, #a90543, #ef4b91);
}

/* ============================================================
   05. INDUSTRIES WE SERVE — VIVID PINK CARD TITLES
   Food / Healthcare / Oil & Gas / Chemicals / Fire / General
   ============================================================ */
.fast-industry-section .fast-industry-card h3 {
    color: #d20b59 !important;
    font-weight: 800 !important;
    line-height: 1.28 !important;
    transition: color .22s ease;
}
.fast-industry-section .fast-industry-card:hover h3 {
    color: #a90543 !important;
}
.fast-industry-section .fast-industry-card h3::after {
    content: "";
    display: block;
    width: 38px;
    height: 3px;
    margin-top: 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, #a90543, #ef4b91);
}

/* ============================================================
   06. FOOTER — GENERAL APPEARANCE AND COLUMNS
   ============================================================ */
.fast-footer {
    font-size: 18px !important;
    color: #d4dbe3 !important;
}
.fast-footer-main {
    padding: 76px 0 !important;
}
.fast-footer-grid {
    grid-template-columns: 1.45fr .8fr 1fr 1.2fr !important;
    gap: 38px !important;
    align-items: start;
}
/* Footer logo ONLY; header logo remains unchanged. */
.fast-footer-logo {
    width: auto !important;
    max-width: 325px !important;
    max-height: 80px !important;
    object-fit: contain;
}

/* ============================================================
   07. FOOTER — HEADINGS
   ============================================================ */
.fast-footer h4 {
    font-size: 27px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    margin: 0 0 26px !important;
    color: #fff !important;
    letter-spacing: -.45px;
}
.fast-footer h4::after {
    content: "";
    display: block;
    width: 35px;
    height: 3px;
    margin-top: 12px;
    border-radius: 999px;
    background: #df1b63;
}

/* ============================================================
   08. FOOTER — LINKS, CONTACT INFORMATION AND DESCRIPTION
   Override the original homepage's tiny 11px and 12px sizes.
   ============================================================ */
.fast-footer .fast-footer-links {
    font-size: 18px !important;
    line-height: 1.65 !important;
    gap: 13px !important;
}
.fast-footer .fast-footer-links a,
.fast-footer .fast-footer-links span {
    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 1.65 !important;
    color: #d4dbe3 !important;
    overflow-wrap: anywhere;
}
.fast-footer .fast-footer-links a:hover,
.fast-footer .fast-footer-links a:focus-visible {
    color: #fff !important;
    text-decoration: underline;
    text-decoration-color: #e62c74;
    text-underline-offset: 5px;
}
.fast-footer .fast-footer-desc {
    max-width: 430px !important;
    margin: 25px 0 0 !important;
    font-size: 18px !important;
    line-height: 1.85 !important;
    color: #d4dbe3 !important;
}

/* ============================================================
   09. FOOTER — COPYRIGHT BAR
   ============================================================ */
.fast-footer-bottom-inner {
    min-height: 80px !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
    color: #c2cbd5 !important;
}
.fast-footer-bottom-inner > span {
    font-size: 15px !important;
    color: #c2cbd5 !important;
}

/* ============================================================
   10. COMPACT DESKTOP (1481px–1660px)
   Keep current logo/menu collision prevention.
   ============================================================ */
@media (min-width: 1481px) and (max-width: 1660px) {
    .fast-logo img,
    .header .logo img,
    .navbar .logo img {
        width: 430px !important;
        max-width: 430px !important;
    }
    .fast-menu,
    .header .menu,
    .nav-menu { gap: 13px !important; }
    .fast-nav,
    .header .nav,
    .navbar { gap: 12px !important; }
}

/* ============================================================
   11. NARROW DESKTOP AND TABLET (up to 1480px)
   ============================================================ */
@media (max-width: 1480px) {
    .fast-menu,
    .header .menu,
    .nav-menu { display: none !important; }
    .fast-menu-toggle,
    .menu-toggle {
        display: grid !important;
        place-items: center !important;
    }
    .fast-nav,
    .header .nav,
    .navbar { min-height: 112px !important; }
    .fast-logo img,
    .header .logo img,
    .navbar .logo img {
        width: min(510px, 48vw) !important;
        max-width: min(510px, 48vw) !important;
    }
}
@media (max-width: 1100px) {
    .fast-footer-grid {
        grid-template-columns: 1.3fr 1fr !important;
        gap: 42px 34px !important;
    }
    .fast-footer-grid > div:last-child { grid-column: auto !important; }
}
@media (max-width: 900px) {
    .fast-nav-actions > .fast-btn,
    .fast-nav-actions > .btn,
    .nav-actions > .fast-btn,
    .nav-actions > .btn { display: none !important; }
    .fast-nav,
    .header .nav,
    .navbar { min-height: 98px !important; }
    .fast-logo img,
    .header .logo img,
    .navbar .logo img {
        width: min(420px, 65vw) !important;
        max-width: min(420px, 65vw) !important;
    }
}

/* ============================================================
   12. MOBILE FOOTER AND HEADER (up to 700px)
   ============================================================ */
@media (max-width: 700px) {
    .fast-topbar,
    .topbar { display: none !important; }
    .fast-header .fast-container.fast-nav,
    .header .fast-container.fast-nav {
        width: calc(100% - 32px) !important;
    }
    .fast-nav,
    .header .nav,
    .navbar { min-height: 86px !important; }
    .fast-logo img,
    .header .logo img,
    .navbar .logo img {
        width: min(335px, 76vw) !important;
        max-width: min(335px, 76vw) !important;
        max-height: 76px !important;
    }
    .fast-footer-main { padding: 54px 0 !important; }
    .fast-footer-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 36px 22px !important;
    }
    .fast-footer-grid > div:first-child { grid-column: 1 / -1 !important; }
    .fast-footer-grid > div:last-child { grid-column: auto !important; }
    .fast-footer h4 { font-size: 23px !important; }
    .fast-footer .fast-footer-links,
    .fast-footer .fast-footer-links a,
    .fast-footer .fast-footer-links span,
    .fast-footer .fast-footer-desc { font-size: 16px !important; }
    .fast-footer-bottom-inner,
    .fast-footer-bottom-inner > span { font-size: 13px !important; }
    .fast-footer-logo { max-width: 290px !important; }
}
@media (max-width: 450px) {
    .fast-nav,
    .header .nav,
    .navbar { min-height: 75px !important; gap: 8px !important; }
    .fast-logo img,
    .header .logo img,
    .navbar .logo img {
        width: min(245px, 68vw) !important;
        max-width: min(245px, 68vw) !important;
        max-height: 60px !important;
    }
    .fast-footer-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
    .fast-footer-grid > div,
    .fast-footer-grid > div:first-child,
    .fast-footer-grid > div:last-child { grid-column: auto !important; }
}

/* Respect reduced-motion preferences. */
@media (prefers-reduced-motion: reduce) {
    .fast-services-grid .fast-card-title,
    .fast-industry-card h3 { transition: none !important; }
}

/* END — FAST HEADER / FOOTER / PINK CARD HEADINGS V5 */
