/* =========================================================
   FLEETER — PROFESSIONAL COURIER & LOGISTICS WEBSITE
   Clean, responsive, consolidated stylesheet
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --navy: #0b2d4d;
    --navy-dark: #071f35;
    --blue: #123f68;
    --red: #ff5a4f;
    --red-dark: #e7473c;
    --red-soft: #fff0ee;
    --bg: #F7F8FA;
    --white: #ffffff;
    --text: #1f2937;
    --muted: #6b7280;
    --slate: #5C6B7A;
    --border: #e3e8ef;
    --success: #2E7D32;
    --success-soft: #e8f5e9;
    --shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.16);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Visually hides an element while keeping it readable by screen readers —
   used for form labels where the visible placeholder already shows the
   field's purpose, but a real <label> is still needed for accessibility. */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Hides the spam-trap "honeypot" field from real visitors entirely (off
   screen, not just visually hidden) while still being present in the page
   for simple bots to auto-fill — a lightweight, CAPTCHA-free way to catch
   spam submissions. Real users should never see or need to interact with
   this field. */
.hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

/* Visible focus ring for keyboard navigation — appears only when tabbing
   through the page (not on mouse clicks), so buttons and links always
   show clearly where keyboard focus is, matching the color inputs
   already use. */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--red, #ff5a4f);
    outline-offset: 2px;
    border-radius: 4px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}

button,
.btn {
    transition: 0.25s ease;
}

/* =========================================================
   NAVIGATION
   ========================================================= */

.navbar {
    width: 100%;
    min-height: 76px;
    padding: 0 7%;
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.14);
}

/* Fleet Movers Logo */
.logo img {
    width: 120px;
    height: auto;
    display: block;
}

.logo {
    color: var(--white);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 2px;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
}

.nav-links a {
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    position: relative;
    padding: 8px 0;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--red);
    transition: width 0.25s ease;
}

.nav-links a:hover {
    color: #ffd4d0;
}

.nav-links a:hover::after {
    width: 100%;
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
    min-height: 720px;
    padding: 105px 7% 85px;
    background:
        radial-gradient(circle at 80% 20%, rgba(255, 90, 79, 0.12), transparent 28%),
        linear-gradient(135deg, var(--navy) 0%, var(--blue) 55%, var(--navy) 100%);
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-content {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.hero-small {
    margin-bottom: 18px;
    color: #ffb4ad;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}

.hero h1 {
    margin-bottom: 22px;
    font-size: clamp(44px, 6vw, 74px);
    line-height: 1.05;
    font-weight: 800;
}

.hero h1 span {
    color: var(--red);
}

.hero-description {
    max-width: 720px;
    margin: 0 auto 32px;
    color: #e5edf5;
    font-size: 18px;
    line-height: 1.7;
}

/* =========================================================
   HERO BUTTONS
   ========================================================= */

.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 58px;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 155px;
    padding: 14px 25px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
}

.btn-primary {
    background: var(--red);
    color: var(--white);
    border: 2px solid var(--red);
}

.btn-primary:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--white);
    color: var(--navy);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-2px);
}

/* =========================================================
   TRACKING BOX
   ========================================================= */

.tracking-box {
    width: 100%;
    max-width: 850px;
    padding: 34px 40px;
    background: var(--white);
    color: var(--text);
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.tracking-box h2 {
    margin-bottom: 8px;
    color: var(--navy);
    font-size: 28px;
}

.tracking-box p {
    margin-bottom: 24px;
    color: var(--muted);
}

.tracking-box form {
    width: 100%;
    display: flex;
    gap: 12px;
}

.tracking-box input {
    flex: 1;
    min-width: 0;
    padding: 15px 17px;
    border: 1px solid #d7dce2;
    border-radius: 8px;
    outline: none;
    font-size: 15px;
}

.tracking-box input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(18, 63, 104, 0.1);
}

.tracking-box button {
    padding: 15px 25px;
    background: var(--red);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
}

.tracking-box button:hover {
    background: var(--red-dark);
}

/* =========================================================
   GENERAL SECTION HEADINGS
   ========================================================= */

.section-heading {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-heading p {
    margin-bottom: 8px;
    color: var(--red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.section-heading h2 {
    margin-bottom: 12px;
    color: var(--navy);
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.2;
}

.section-heading span {
    display: block;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

/* =========================================================
   TRUST STRIP
   ========================================================= */

.trust-strip {
    width: 100%;
    padding: 34px 7%;
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.trust-strip-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-item-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 10px;
    background: var(--red-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
}

.trust-item h4 {
    font-size: 14px;
    color: var(--text);
    margin-bottom: 2px;
}

.trust-item p {
    font-size: 12.5px;
    color: var(--muted);
}

/* =========================================================
   SERVICES
   ========================================================= */

.services {
    width: 100%;
    padding: 100px 7%;
    background: var(--white);
}

.service-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service {
    min-height: 270px;
    padding: 32px 25px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: 0.3s ease;
}

.service:hover {
    transform: translateY(-7px);
    border-color: var(--red);
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.12);
}

.service-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--red-soft);
    border-radius: 50%;
    font-size: 27px;
}

.service h3 {
    margin-bottom: 12px;
    color: var(--navy);
    font-size: 19px;
}

.service p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.75;
}

/* =========================================================
   QUOTE SECTION
   ========================================================= */

.quote {
    width: 100%;
    padding: 100px 7%;
    background: var(--bg);
}

.quote-form {
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
    padding: 42px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.form-row {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

.quote-form input,
.quote-form textarea,
.quote-form select,
.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d8dde5;
    border-radius: 8px;
    background: var(--white);
    color: var(--text);
    font-size: 15px;
    outline: none;
    transition: 0.2s ease;
}

.quote-form input:focus,
.quote-form textarea:focus,
.quote-form select:focus,
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(18, 63, 104, 0.1);
}

.quote-form textarea {
    min-height: 135px;
    resize: vertical;
    margin-bottom: 18px;
}

.quote-form button,
.contact-form button {
    width: 100%;
    padding: 15px;
    background: var(--red);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.quote-form button:hover,
.contact-form button:hover {
    background: var(--red-dark);
    transform: translateY(-1px);
}

/* =========================================================
   QUOTE CHECK
   ========================================================= */

.quote-check {
    width: 100%;
    padding: 95px 7%;
    background: var(--white);
    text-align: center;
}

.quote-check .section-heading {
    margin-bottom: 28px;
}

.quote-check .btn-primary {
    display: inline-flex;
}

/* =========================================================
   CONTACT
   ========================================================= */

.contact {
    width: 100%;
    padding: 100px 7%;
    background: var(--bg);
}

.contact-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: stretch;
}

.contact-info,
.contact-form {
    min-width: 0;
    padding: 36px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.contact-info {
    text-align: left;
}

.contact-info h3 {
    margin-bottom: 25px;
    color: var(--navy);
    font-size: 24px;
}

.contact-info p {
    margin-bottom: 22px;
    color: var(--muted);
}

.contact-info strong {
    display: inline-block;
    margin-bottom: 4px;
    color: var(--text);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

/* =========================================================
   FOOTER
   ========================================================= */

footer {
    padding: 48px 7%;
    background: var(--navy);
    color: var(--white);
    text-align: center;
}

.footer-content {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.footer-content h3 {
    margin-bottom: 12px;
    font-size: 25px;
    letter-spacing: 2px;
}

.footer-content > p {
    max-width: 650px;
    margin: 0 auto 20px;
    color: #d9e3ec;
    font-size: 14px;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
    margin-bottom: 25px;
}

.footer-links a {
    color: var(--white);
    font-size: 14px;
}

.footer-links a:hover {
    color: #ffb4ad;
}

.footer-content .copyright {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: #aebdcc;
    font-size: 13px;
}

/* =========================================================
   TRACKING RESULT PAGE
   ========================================================= */

.tracking-container {
    max-width: 850px;
    margin: 60px auto;
    padding: 20px;
}

.tracking-card {
    padding: 40px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.tracking-card h1 {
    margin-bottom: 30px;
    color: var(--navy);
    text-align: center;
}

.tracking-number {
    padding: 20px;
    margin-bottom: 25px;
    background: var(--red-soft);
    text-align: center;
    border-radius: 9px;
}

.tracking-number span {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 14px;
}

.tracking-number strong {
    color: var(--red-dark);
    font-size: 22px;
}

.tracking-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.tracking-details p {
    margin: 0;
    padding: 18px;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    color: var(--text);
}

.tracking-details strong {
    display: block;
    margin-bottom: 7px;
}

.status {
    display: inline-block;
    padding: 6px 12px;
    background: #fff3cd;
    color: #856404;
    border-radius: 20px;
    font-weight: 600;
}

.back-button,
.back-home {
    display: block;
    width: fit-content;
    margin: 30px auto 0;
    padding: 12px 25px;
    background: var(--red);
    color: var(--white);
    border-radius: 7px;
}

.back-button:hover,
.back-home:hover {
    background: var(--red-dark);
}
.accept-quote {
    display: block;
    text-align: center;
    text-decoration: none;
    background: #159447;
    color: white;
    padding: 14px 22px;
    border-radius: 7px;
    font-weight: bold;
    margin-bottom: 15px;
}

.accept-quote:hover {
    background: #117a3a;
}

/* =========================================================
   QUOTE RESULT PAGE
   ========================================================= */

.quote-result {
    min-height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 70px 20px;
    background: var(--bg);
}

.quote-result-box {
    width: 100%;
    max-width: 650px;
    padding: 50px 40px;
    background: var(--white);
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
}

.quote-result-box h1 {
    margin-bottom: 20px;
    color: var(--navy);
    font-size: 32px;
}

.quote-result-box p {
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 16px;
}

.success-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #28a745;
    color: var(--white);
    border-radius: 50%;
    font-size: 32px;
    font-weight: bold;
}

/* =========================================================
   ADMIN DASHBOARD
   ========================================================= */

.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 20px 0 30px;
}

.stat-card {
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--red);
    transition: 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 18px rgba(0, 0, 0, 0.12);
}

.stat-icon {
    font-size: 32px;
}

.stat-info h3 {
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 15px;
    font-weight: 600;
}

.stat-info .number {
    color: #222;
    font-size: 30px;
    font-weight: 700;
}

.stat-card.total {
    border-left-color: #3498db;
}

.stat-card.pending {
    border-left-color: #f39c12;
}

.stat-card.transit {
    border-left-color: #9b59b6;
}

.stat-card.arrived {
    border-left-color: #27ae60;
}

/* =========================================================
   GENERIC SECTION / TABLE HELPERS
   ========================================================= */

section {
    width: 100%;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

th {
    background: #f8fafc;
    color: var(--navy);
    font-weight: 700;
}

img {
    max-width: 100%;
}

/* =========================================================
   RESPONSIVE — TABLETS
   ========================================================= */

@media (max-width: 1000px) {
    .navbar {
        padding: 0 5%;
    }

    .nav-links {
        gap: 18px;
    }

    .nav-links a {
        font-size: 13px;
    }

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

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

/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 700px) {
    .navbar {
        min-height: auto;
        padding: 18px 6%;
        flex-direction: column;
        gap: 12px;
    }

    .logo {
        font-size: 25px;
    }

    .nav-links {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 15px;
    }

    .nav-links a {
        font-size: 12px;
    }

    .hero {
        min-height: auto;
        padding: 75px 6% 60px;
    }

    .hero h1 {
        font-size: 45px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        margin-bottom: 40px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }

    .tracking-box {
        padding: 28px 20px;
    }

    .tracking-box h2 {
        font-size: 24px;
    }

    .tracking-box form {
        flex-direction: column;
    }

    .tracking-box button {
        width: 100%;
    }

    .services,
    .quote,
    .contact {
        padding: 75px 6%;
    }

    .service-container {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .service {
        min-height: auto;
    }

    .quote-form {
        padding: 28px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 15px;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .contact-info,
    .contact-form {
        padding: 28px 22px;
    }

    .tracking-container {
        margin: 30px auto;
        padding: 15px;
    }

    .tracking-card {
        padding: 25px 20px;
    }

    .tracking-details {
        grid-template-columns: 1fr;
    }

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

    .footer-links {
        gap: 14px;
    }
}

/* =========================================================
   RESPONSIVE — SMALL PHONES
   ========================================================= */

@media (max-width: 400px) {
    .hero h1 {
        font-size: 38px;
    }

    .tracking-box h2 {
        font-size: 22px;
    }

    .section-heading h2 {
        font-size: 28px;
    }

    .nav-links {
        gap: 7px 12px;
    }

    .nav-links a {
        font-size: 11px;
    }
}
/* =========================================================
   ADMIN SHIPMENT MANAGEMENT
   ========================================================= */

.admin-container {
    width: 100%;
    max-width: 1400px;
    margin: 50px auto;
    padding: 0 30px;
}

.admin-header {
    margin-bottom: 30px;
}

.admin-header h1 {
    color: var(--navy);
    font-size: 36px;
    margin-bottom: 8px;
}

.admin-header p {
    color: var(--muted);
    font-size: 15px;
}

/* Admin action buttons */

.admin-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.admin-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 18px;
    border: none;
    border-radius: 7px;
    background: var(--red);
    color: var(--white);
    font-weight: 700;
    cursor: pointer;
    transition: 0.25s ease;
}

.admin-btn:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
}

/* Shipment table container */

.shipment-table-container {
    width: 100%;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow-x: auto;
    border: 1px solid var(--border);
}

/* Shipment table */

.shipment-table {
    width: 100%;
    min-width: 950px;
    border-collapse: collapse;
}

.shipment-table th {
    padding: 17px 18px;
    background: var(--navy);
    color: var(--white);
    text-align: left;
    font-size: 14px;
    white-space: nowrap;
}

.shipment-table td {
    padding: 16px 18px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    font-size: 14px;
    vertical-align: middle;
}

.shipment-table tbody tr {
    transition: 0.2s ease;
}

.shipment-table tbody tr:hover {
    background: #f8fafc;
}

.shipment-table tbody tr:last-child td {
    border-bottom: none;
}

/* Tracking number */

.tracking-code {
    color: var(--navy);
    font-weight: 700;
    white-space: nowrap;
}

/* Status badges */

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-transit {
    background: #e8ddff;
    color: #6f42c1;
}

.status-arrived {
    background: #dff5e5;
    color: #218838;
}

.status-delivered {
    background: #d7f0ff;
    color: #0069a6;
}

/* Update button */

.update-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border: none;
    border-radius: 6px;
    background: var(--blue);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.25s ease;
}

.update-btn:hover {
    background: var(--navy);
    transform: translateY(-1px);
}

/* Back button */

.admin-back {
    display: inline-flex;
    margin-top: 25px;
    padding: 11px 20px;
    background: var(--red);
    color: var(--white);
    border-radius: 7px;
    font-weight: 700;
    transition: 0.25s ease;
}

.admin-back:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
}


/* =========================================================
   ADMIN FORM CARD
   ========================================================= */

.admin-form-container {
    width: 100%;
    max-width: 900px;
    margin: 50px auto;
    padding: 0 25px;
}

.admin-form-card {
    padding: 40px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.admin-form-card h1 {
    margin-bottom: 8px;
    color: var(--navy);
    font-size: 32px;
}

.admin-form-card > p {
    margin-bottom: 30px;
    color: var(--muted);
}

.admin-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.admin-form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.admin-form-group.full-width {
    grid-column: 1 / -1;
}

.admin-form-group label {
    color: var(--navy);
    font-size: 14px;
    font-weight: 700;
}

.admin-form-group input,
.admin-form-group select,
.admin-form-group textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid #d8dde5;
    border-radius: 8px;
    background: var(--white);
    color: var(--text);
    outline: none;
}

.admin-form-group input:focus,
.admin-form-group select:focus,
.admin-form-group textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(18, 63, 104, 0.1);
}

.admin-form-buttons {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.admin-submit {
    padding: 13px 22px;
    border: none;
    border-radius: 7px;
    background: var(--red);
    color: var(--white);
    font-weight: 700;
    cursor: pointer;
}

.admin-submit:hover {
    background: var(--red-dark);
}

.admin-cancel {
    padding: 13px 22px;
    border-radius: 7px;
    background: var(--navy);
    color: var(--white);
    font-weight: 700;
}

.admin-cancel:hover {
    background: var(--navy-dark);
}


/* =========================================================
   ADMIN MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .admin-container {
        margin: 30px auto;
        padding: 0 15px;
    }

    .admin-header h1 {
        font-size: 28px;
    }

    .admin-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-btn {
        width: 100%;
    }

    .shipment-table-container {
        border-radius: 10px;
    }

    .admin-form-container {
        margin: 30px auto;
        padding: 0 15px;
    }

    .admin-form-card {
        padding: 25px 20px;
    }

    .admin-form-card h1 {
        font-size: 27px;
    }

    .admin-form-grid {
        grid-template-columns: 1fr;
    }

    .admin-form-group.full-width {
        grid-column: auto;
    }

    .admin-form-buttons {
        flex-direction: column;
    }

    .admin-submit,
    .admin-cancel {
        width: 100%;
        text-align: center;
    }
}
/* =========================================================
   ALL SHIPMENTS ADMIN PAGE
   ========================================================= */

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 50px 6%;
}

/* Page Header */

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    margin-bottom: 30px;
}

.page-header h1 {
    margin-bottom: 8px;
    color: var(--navy);
    font-size: 38px;
}

.page-header p {
    color: var(--muted);
    font-size: 15px;
}

/* Add Shipment Button */

.add-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 20px;
    background: var(--red);
    color: var(--white);
    border-radius: 8px;
    font-weight: 700;
    white-space: nowrap;
    transition: 0.25s ease;
}

.add-button:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
}

/* Table Card */

.table-card {
    width: 100%;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

/* Table Header */

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    border-bottom: 1px solid var(--border);
}

.table-header h2 {
    color: var(--navy);
    font-size: 23px;
}

.shipment-count {
    padding: 7px 13px;
    background: var(--red-soft);
    color: var(--red-dark);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
}

/* Table Wrapper */

.table-wrapper {
    width: 100%;
    overflow-x: auto;
}

/* Shipment Table */

.table-wrapper table {
    width: 100%;
    min-width: 1000px;
    border-collapse: collapse;
}

.table-wrapper th {
    padding: 16px 18px;
    background: var(--navy);
    color: var(--white);
    text-align: left;
    font-size: 13px;
    white-space: nowrap;
}

.table-wrapper td {
    padding: 16px 18px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    font-size: 14px;
    vertical-align: middle;
}

.table-wrapper tbody tr {
    transition: 0.2s ease;
}

.table-wrapper tbody tr:hover {
    background: #f8fafc;
}

.table-wrapper tbody tr:last-child td {
    border-bottom: none;
}

/* Tracking Number */

.table-wrapper td strong {
    color: var(--navy);
    font-weight: 700;
    white-space: nowrap;
}

/* Status Badges */

.status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 13px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.status.pending {
    background: #fff3cd;
    color: #856404;
}

.status.transit {
    background: #e8ddff;
    color: #6f42c1;
}

.status.arrived {
    background: #dff5e5;
    color: #218838;
}

.status.delivered {
    background: #d7f0ff;
    color: #0069a6;
}

/* Update Button */

.update-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 15px;
    background: var(--blue);
    color: var(--white);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    transition: 0.25s ease;
}

.update-button:hover {
    background: var(--navy);
    transform: translateY(-1px);
}

/* No Shipments */

.no-shipments {
    padding: 40px !important;
    text-align: center !important;
    color: var(--muted) !important;
}

/* Bottom Actions */

.bottom-actions {
    margin-top: 25px;
}

.bottom-actions .back-button {
    display: inline-flex;
    width: auto;
    margin: 0;
    padding: 11px 20px;
    background: var(--red);
    color: var(--white);
    border-radius: 7px;
    font-weight: 700;
    transition: 0.25s ease;
}

.bottom-actions .back-button:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
}


/* =========================================================
   ALL SHIPMENTS — MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .container {
        padding: 30px 15px;
    }

    .page-header {
        flex-direction: column;
        align-items: stretch;
    }

    .page-header h1 {
        font-size: 30px;
    }

    .add-button {
        width: 100%;
    }

    .table-card {
        border-radius: 10px;
    }

    .table-header {
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .table-header h2 {
        font-size: 20px;
    }

    .table-wrapper th,
    .table-wrapper td {
        padding: 13px 14px;
    }
}
/* =========================================================
   FINAL MOBILE RESPONSIVENESS & OVERFLOW FIX
   ========================================================= */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

*,
*::before,
*::after {
    max-width: 100%;
}

img,
video,
iframe {
    max-width: 100%;
    height: auto;
}

input,
textarea,
select,
button {
    max-width: 100%;
}

.navbar,
.hero,
.hero-content,
.hero-buttons,
.tracking-box,
.services,
.service-container,
.service,
.quote,
.contact {
    min-width: 0;
}

.tracking-box {
    width: 100%;
    max-width: 850px;
}

.tracking-box form {
    width: 100%;
}

.tracking-box input {
    width: 100%;
    min-width: 0;
}

@media (max-width: 700px) {

    .navbar {
        width: 100%;
        padding: 16px 5%;
        overflow: hidden;
    }

    .logo {
        max-width: 100%;
        font-size: 24px;
        text-align: center;
    }

    .nav-links {
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 14px;
    }

    .nav-links a {
        font-size: 12px;
        white-space: nowrap;
    }

    .hero {
        width: 100%;
        max-width: 100%;
        padding: 65px 5% 55px;
        overflow: hidden;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
    }

    .hero h1 {
        font-size: clamp(38px, 11vw, 50px);
        overflow-wrap: break-word;
    }

    .hero-description {
        width: 100%;
        max-width: 100%;
        font-size: 15px;
    }

    .hero-buttons {
        width: 100%;
        max-width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 100%;
    }

    .tracking-box {
        width: 100%;
        max-width: 100%;
        padding: 25px 18px;
        margin-left: auto;
        margin-right: auto;
    }

    .tracking-box h2 {
        font-size: 22px;
        line-height: 1.3;
    }

    .tracking-box p {
        font-size: 14px;
    }

    .tracking-box form {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .tracking-box input {
        width: 100%;
        min-width: 0;
        padding: 14px;
        font-size: 15px;
    }

    .tracking-box button {
        width: 100%;
        max-width: 100%;
    }

    .service-container {
        width: 100%;
        max-width: 100%;
        grid-template-columns: 1fr;
    }

    .service {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 400px) {

    .navbar {
        padding-left: 4%;
        padding-right: 4%;
    }

    .nav-links {
        gap: 7px 11px;
    }

    .nav-links a {
        font-size: 11px;
    }

    .hero {
        padding-left: 4%;
        padding-right: 4%;
    }

    .tracking-box {
        padding: 22px 15px;
    }

    .tracking-box h2 {
        font-size: 20px;
    }

    .tracking-box input,
    .tracking-box button {
        font-size: 14px;
    }
}
/* =========================================================
   MOBILE RESPONSIVE FIX
   ========================================================= */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

/* Feature / service cards */
.service-container {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 25px;
}

.service {
    width: 100%;
    min-width: 0;
}

/* Tracking box */
.tracking-box {
    width: 100%;
    max-width: 850px;
    min-width: 0;
}

.tracking-box form {
    width: 100%;
}

.tracking-box input {
    width: 100%;
    min-width: 0;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .service-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .navbar {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .nav-links {
        width: 100%;
        max-width: 100%;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .hero h1 {
        font-size: clamp(38px, 11vw, 50px);
        overflow-wrap: break-word;
    }

    .hero-description {
        max-width: 100%;
    }

    .hero-buttons {
        width: 100%;
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }

    /* Two cards per row on normal phones */
    .service-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .service {
        padding: 20px 15px;
    }

    /* Tracking */
    .tracking-box {
        width: 100%;
        max-width: 100%;
        padding: 25px 18px;
    }

    .tracking-box form {
        flex-direction: column;
        gap: 12px;
    }

    .tracking-box input,
    .tracking-box button {
        width: 100%;
        max-width: 100%;
    }
}

/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 400px) {

    .service-container {
        grid-template-columns: 1fr;
    }

    .nav-links {
        gap: 7px 11px;
    }

    .nav-links a {
        font-size: 11px;
    }

    .tracking-box {
        padding: 22px 15px;
    }
}
/* MOBILE SERVICES - ONE CARD PER ROW */
@media (max-width: 700px) {
    .services .service-container {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .services .service {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 0 20px 0 !important;
        box-sizing: border-box !important;
    }
}/* MOBILE TRUST STRIP FIX */
@media (max-width: 700px) {
    .trust-strip {
        width: 100% !important;
        overflow: hidden !important;
    }

    .trust-strip > * {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 0 20px 0 !important;
        box-sizing: border-box !important;
    }
}/* =========================================================
   MOBILE TRUST FEATURES - 2 COLUMNS
   ========================================================= */

@media (max-width: 700px) {

    .trust-strip {
        width: 100% !important;
        padding: 30px 15px !important;
        box-sizing: border-box !important;
    }

    .trust-strip > div {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 18px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }

    .trust-strip > div > div {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 18px 12px !important;
        margin: 0 !important;
    }

    .trust-strip h3 {
        font-size: 15px !important;
        line-height: 1.3 !important;
        margin-bottom: 7px !important;
    }

    .trust-strip p {
        font-size: 12px !important;
        line-height: 1.5 !important;
    }
}/* VERY SMALL PHONES - ONE CARD PER ROW */
@media (max-width: 450px) {

    .trust-strip > div {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    .trust-strip > div > div {
        width: 100% !important;
    }
}/* =========================================================
   TRUST FEATURES — PROFESSIONAL RESPONSIVE LAYOUT
   ========================================================= */

/* Normal phones: 2 cards per row */
@media (max-width: 700px) {
    .trust-strip {
        width: 100%;
        padding: 30px 15px;
        box-sizing: border-box;
        overflow: hidden;
    }

    .trust-strip > div {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 18px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }

    .trust-strip > div > div {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 18px 12px !important;
        box-sizing: border-box !important;
    }

    .trust-strip h3 {
        font-size: 15px !important;
        line-height: 1.3 !important;
        margin-bottom: 7px !important;
    }

    .trust-strip p {
        font-size: 12px !important;
        line-height: 1.5 !important;
    }
}


/* Very small phones: 1 card per row */
@media (max-width: 380px) {
    .trust-strip > div {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    .trust-strip > div > div {
        width: 100% !important;
    }
}