* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --yellow: #ffcc00;
    --yellow-light: #ffe36e;
    --red: #d40511;
    --dark-red: #a90009;
    --dark: #191919;
    --gray: #666666;
    --light: #f5f5f5;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    background: #ffffff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(1180px, 92%);
    margin: auto;
}


/* =========================
   TOP COUNTRY BAR
========================= */

.top-country-bar {
    background: #ffffff;
    border-bottom: 1px solid #e7e7e7;
}

.country-wrapper {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
}

.country-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.country-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #2e9b47;
    color: white;
    display: grid;
    place-items: center;
}

.country-left span {
    color: #666;
}

.country-left strong {
    font-weight: 700;
}

.country-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
}

.stay-btn {
    background: var(--red);
    color: white;
    padding: 10px 18px;
    border-radius: 5px;
    font-weight: 600;
}

.country-btn {
    padding: 9px 16px;
    border: 1px solid #bbbbbb;
    border-radius: 5px;
    color: #444;
    background: white;
}


/* =========================
   BRAND HEADER
========================= */

.brand-header {
    background: var(--yellow);
}

.brand-wrapper {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 11px;
}

.brand-logo-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: var(--red);
    color: white;
    font-size: 21px;
}

.brand-name {
    font-size: 31px;
    font-weight: 800;
    color: var(--red);
    letter-spacing: -1px;
}

.brand-name span {
    color: var(--red);
}

.brand-tools {
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand-tools a {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 500;
    color: #403600;
}

.brand-tools a:hover {
    color: var(--red);
}


/* =========================
   MAIN NAVIGATION
========================= */

.main-nav {
    background: white;
    border-bottom: 1px solid #e5e5e5;
    box-shadow: 0 3px 12px rgba(0,0,0,0.04);
    position: relative;
    z-index: 20;
}

.nav-wrapper {
    height: 62px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 34px;
}

.nav-left a,
.nav-right a {
    font-size: 14px;
    color: #444;
    font-weight: 500;
    transition: 0.2s;
}

.nav-left a:hover,
.nav-right a:hover {
    color: var(--red);
}

 .nav-right a {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #d40511;
    color: white;
    padding: 10px 18px;
    border-radius: 4px;
    font-weight: 600;
}


/* =========================
   HERO SECTION
========================= */

.hero-logistics {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;

    background:
        linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35)),
        url("../images/courier-hero.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,0.15),
            rgba(0,0,0,0.02)
        );
}

.hero-logistics-content {
    position: relative;
    z-index: 2;
}

.hero-track-wrap {
    max-width: 760px;
    margin: auto;
}

.hero-track-wrap h1 {
    color: white;
    font-size: 38px;
    text-align: left;
    margin-bottom: 18px;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.hero-track-form {
    display: flex;
    background: white;
    border-radius: 6px;
    overflow: hidden;
    padding: 3px;
    box-shadow: 0 18px 45px rgba(0,0,0,0.22);
}

.hero-track-form input {
    flex: 1;
    border: none;
    outline: none;
    height: 58px;
    padding: 0 20px;
    font-family: inherit;
    font-size: 15px;
}

.hero-track-form button {
    min-width: 120px;
    border: none;
    background: var(--red);
    color: white;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.2s;
}

.hero-track-form button:hover {
    background: var(--dark-red);
}


/* =========================
   QUICK ACTIONS
========================= */

.quick-actions-section {
    position: relative;
    z-index: 5;
    margin-top: -55px;
    padding-bottom: 60px;
}

.quick-actions-grid {
    max-width: 820px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: white;
    box-shadow: 0 18px 45px rgba(0,0,0,0.14);
}

.quick-card {
    min-height: 170px;
    padding: 28px 22px;
    text-align: center;
    border-right: 1px solid #e6e6e6;
    background: white;
    transition: 0.25s;
}

.quick-card:last-child {
    border-right: none;
}

.quick-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    z-index: 2;
}

.quick-icon {
    font-size: 27px;
    color: var(--red);
    margin-bottom: 13px;
}

.quick-card h3 {
    font-size: 16px;
    margin-bottom: 7px;
}

.quick-card p {
    font-size: 12px;
    color: var(--gray);
}


/* =========================
   CONTENT SECTION
========================= */

.content-section {
    padding: 70px 0 90px;
}

.section-heading-left {
    max-width: 730px;
    margin-bottom: 42px;
}

.section-heading-left span {
    color: var(--red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.section-heading-left h2 {
    font-size: 36px;
    line-height: 1.2;
    margin: 10px 0 15px;
}

.section-heading-left p {
    color: var(--gray);
    font-size: 15px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-box {
    background: #ffffff;
    border: 1px solid #e7e7e7;
    padding: 30px;
    transition: 0.25s;
}

.feature-box:hover {
    border-color: var(--yellow);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.07);
}

.feature-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    background: var(--yellow);
    color: var(--red);
    font-size: 20px;
    margin-bottom: 18px;
}

.feature-box h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.feature-box p {
    color: var(--gray);
    font-size: 13px;
}


/* =========================
   BUSINESS BANNER
========================= */

.business-banner {
    background: var(--red);
    padding: 65px 0;
}

.business-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.business-wrapper span {
    color: var(--yellow);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.business-wrapper h2 {
    color: white;
    font-size: 34px;
    margin: 8px 0;
}

.business-wrapper p {
    color: #ffd5d7;
    font-size: 14px;
}

.business-btn {
    flex-shrink: 0;
    background: var(--yellow);
    color: var(--dark);
    padding: 14px 20px;
    font-weight: 700;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 4px;
}

.business-btn:hover {
    background: white;
    color: var(--red);
}


/* =========================
   FOOTER
========================= */

.footer {
    background: #191919;
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 50px;
    padding: 60px 0;
}

.footer-brand {
    display: inline-block;
    font-size: 29px;
    font-weight: 800;
    color: var(--yellow);
    margin-bottom: 15px;
}

.footer-about p {
    color: #b8b8b8;
    font-size: 13px;
    max-width: 300px;
}

.footer h4 {
    font-size: 15px;
    margin-bottom: 17px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-links a {
    color: #b8b8b8;
    font-size: 13px;
    margin-bottom: 9px;
}

.footer-links a:hover {
    color: var(--yellow);
}

.footer-contact p {
    color: #b8b8b8;
    font-size: 13px;
    margin-bottom: 11px;
    display: flex;
    gap: 9px;
    align-items: center;
}

.footer-contact i {
    color: var(--yellow);
}

.footer-bottom {
    border-top: 1px solid #353535;
    padding: 18px 0;
    text-align: center;
}

.footer-bottom p {
    color: #888888;
    font-size: 12px;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {

    .country-wrapper {
        flex-direction: column;
        gap: 12px;
        padding: 15px 0;
    }

    .brand-tools {
        display: none;
    }

    .nav-right {
        display: none;
    }

    .nav-left {
        width: 100%;
        justify-content: center;
        gap: 18px;
        flex-wrap: wrap;
    }

    .main-nav {
        padding: 12px 0;
    }

    .nav-wrapper {
        height: auto;
    }

    .hero-logistics {
        min-height: 450px;
    }

    .quick-actions-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }

    .quick-card {
        border-right: none;
        border-bottom: 1px solid #e6e6e6;
    }

    .quick-card:last-child {
        border-bottom: none;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .business-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {

    .country-actions {
        flex-direction: column;
    }

    .brand-wrapper {
        min-height: 65px;
    }

    .brand-name {
        font-size: 26px;
    }

    .brand-logo-icon {
        width: 42px;
        height: 42px;
    }

    .nav-left {
        gap: 13px;
    }

    .nav-left a {
        font-size: 12px;
    }

    .hero-logistics {
        min-height: 390px;
    }

    .hero-track-wrap h1 {
        font-size: 28px;
    }

    .hero-track-form {
        flex-direction: column;
        padding: 8px;
        gap: 8px;
    }

    .hero-track-form input {
        width: 100%;
    }

    .hero-track-form button {
        height: 52px;
        width: 100%;
    }

    .quick-actions-section {
        margin-top: -30px;
    }

    .content-section {
        padding: 55px 0 70px;
    }

    .section-heading-left h2 {
        font-size: 29px;
    }

    .business-wrapper h2 {
        font-size: 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}