* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #333;
}

/* STICKY HEADER */
.header {
    position: fixed;      /* makes the header stay in place */
    top: 0;               /* stick to top */
    left: 0;              /* align to left edge */
    width: 100%;          /* full width */
    background-color: #fff; /* or your header bg */
    z-index: 9999;        /* stay above other content */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* subtle shadow */
}

/* Add some spacing to the body so content doesn't hide behind header */
body {
    padding-top: 80px; /* match header height */
}

/* Optional: Smooth transition on scroll */
.header {
    transition: all 0.3s ease;
}


/* GLOBAL */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.btn {
    background: #0056d2;
    color: #fff;
    padding: 10px 16px;
    border-radius: 5px;
    text-decoration: none;
}

/* HEADER */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo span {
    color: #0056d2;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
}

.nav-links a.active {
    font-weight: bold;
}

/* HERO */
.hero {
    background: linear-gradient(to right, #003a8f, #0056d2);
    color: black;
    padding: 80px 0;
    
  background-image: url("../images/generate\ shipments\ airplanes\ moving\ with\ _GenuisExpress_\ written\ at\ the\ back\ \(colour_genuisblack;express\,blue\)\ \(1\).jpg");
  background-attachment: center;
}

.hero-content {
    max-width: 600px;
}

.hero h2 {
    font-size: 42px;
    margin-bottom: 15px;
}

.tracking-form {
    display: flex;
    margin-top: 20px;
}

.tracking-form input {
    flex: 1;
    padding: 12px;
    border: none;
}

.tracking-form button {
    padding: 12px 20px;
    background: #ff9800;
    border: none;
    color: #fff;
    cursor: pointer;
}

/* TRUST BAR */
.trust-bar {
    background: #fff;
    padding: 40px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    text-align: center;
}

.trust-grid strong {
    font-size: 28px;
    color: #0056d2;
    display: block;
}

.trust-grid span {
    font-size: 14px;
    color: #666;
}

/* SERVICES */
.services {
    padding: 120px 0;
    background: #f4f7fb;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.services .container {
    position: relative;
    max-width: 1200px;
}

.service-image {
    position: absolute;
    top: 50%;
    right: -60px; /* controls overlap */
    transform: translateY(-50%);
    width: 45%;
    z-index: 1;
}

.service-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.services h2,
.services-grid,
.service-cta {
    position: relative;
    z-index: 2;
    max-width: 60%;
}


.services h2 {
    font-size: 32px;
    margin-bottom: 40px;
    color: #003a8f;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.service-box {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.service-box:hover {
    transform: translateY(-8px);
}

.service-box .icon {
    font-size: 40px;
    margin-bottom: 15px;
    color: #0056d2;
}

/* PROCESS */
.process {
    padding: 80px 0;
    background: #fff;
    text-align: center;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.process-grid span {
    display: inline-block;
    background: #0056d2;
    color: #fff;
    width: 42px;
    height: 42px;
    line-height: 42px;
    border-radius: 50%;
    margin-bottom: 15px;
    font-weight: bold;
}

/* SHIP SECTION */
.ship-section {
    padding: 70px 0;
    background: #f6f9fc;
    text-align: center;
}

.ship-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.ship-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    transition: transform 0.3s ease;
}

.ship-card:hover {
    transform: translateY(-6px);
}

/* FOOTER */
.footer {
    background: #001c3d;
    color: white;
    padding: 40px 0 15px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr 1fr;
    gap: 40px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 6px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 38px;
    height: 38px;
    background: #16293f;
    color: #ff9800;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
}


/* FORM PAGE ENHANCEMENTS */
.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-title {
    margin: 25px 0 10px;
    font-size: 16px;
    color: #003a8f;
    border-bottom: 1px solid #e5e9f2;
    padding-bottom: 6px;
}

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

.form-note {
    background: #f0f4fa;
    padding: 12px;
    border-left: 4px solid #0056d2;
    margin: 20px 0;
    font-size: 14px;
    color: #444;
}

.btn-full {
    width: 100%;
    margin-top: 15px;
}

.ship-form {
    max-width: 700px;
}

/* SUCCESS PAGE */
.success-section {
    padding: 90px 0;
    background: linear-gradient(to bottom, #f4f7fb, #ffffff);
}

.success-card {
    max-width: 700px;
    margin: auto;
    background: #fff;
    padding: 50px 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.success-icon {
    font-size: 64px;
    color: #28a745;
    margin-bottom: 20px;
}

.success-greeting {
    margin: 10px 0 25px;
    font-size: 16px;
    color: #555;
}

.success-info {
    background: #f6f9fc;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.success-info .label {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.tracking-box {
    font-size: 20px;
    font-weight: bold;
    color: #003a8f;
    letter-spacing: 1px;
    background: #fff;
    padding: 12px;
    border-radius: 6px;
    border: 1px dashed #0056d2;
}

.success-info .note {
    margin-top: 10px;
    font-size: 13px;
    color: #777;
}

.success-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent;
    border: 1px solid #0056d2;
    color: #0056d2;
}

/* TRACKING PAGE */
.track-hero {
    background: linear-gradient(to right, #003a8f, #0056d2);
    color: #fff;
    padding: 70px 0;
    text-align: center;
}

.tracking-form-lg {
    max-width: 600px;
    margin: 25px auto 0;
}

.tracking-dashboard {
    padding: 80px 0;
    background: #f4f7fb;
}

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

.tracking-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.tracking-card h3 {
    margin-bottom: 20px;
    color: #003a8f;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
}

.detail-row span {
    color: #666;
}

/* TIMELINE */
.tracking-timeline {
    list-style: none;
    padding-left: 10px;
    position: relative;
}

.tracking-timeline::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e0e6f0;
}

.tracking-timeline li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #555;
}

.tracking-timeline li span {
    position: absolute;
    left: 0;
    top: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ccc;
}

.tracking-timeline li.completed span {
    background: #28a745;
}

.tracking-timeline li.active span {
    background: #ff9800;
}



/* AUTH PAGES */
.auth-page {
    min-height: 100vh;
    background: linear-gradient(to right, #003a8f, #0056d2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-container {
    width: 100%;
    max-width: 900px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

.auth-brand {
    background: #001c3d;
    color: #fff;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-brand p {
    margin-top: 12px;
    font-size: 15px;
    color: #cfd8e3;
}

.auth-card {
    padding: 50px 40px;
}

.auth-card h3 {
    margin-bottom: 25px;
    color: #003a8f;
}

.auth-field {
    margin-bottom: 18px;
}

.auth-field label {
    display: block;
    font-size: 13px;
    margin-bottom: 6px;
    color: #555;
}

.auth-field input {
    width: 100%;
    padding: 12px;
    border: 1px solid #dfe5f0;
    border-radius: 6px;
    font-size: 14px;
}

.auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    margin-bottom: 20px;
}

.auth-options a {
    color: #0056d2;
    text-decoration: none;
}

.auth-footer {
    margin-top: 18px;
    font-size: 14px;
    text-align: center;
}

.auth-footer a {
    color: #0056d2;
    font-weight: 500;
    text-decoration: none;
}

/* MOBILE */

.auth-field select {
    width: 100%;
    padding: 12px;
    border: 1px solid #dfe5f0;
    border-radius: 6px;
    font-size: 14px;
    background: #fff;
}
/* MULTI STEP REGISTER */
.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    font-size: 13px;
    color: #aaa;
}

.step-indicator span.active {
    color: #0056d2;
    font-weight: 600;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

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

.ship-container {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    margin-top: 60px;
}

.ship-image {
    flex: 1;
    position: relative;
}

.ship-image img {
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.ship-cards-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ship-cards {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.ship-card {
    background: #fff;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.ship-card:hover {
    transform: translateY(-6px);
}





/* FEATURED SERVICES */
.featured-container {
    display: flex;
    gap: 50px;
    align-items: center;
    margin: 60px 0;
}
.featured-container.reverse {
    flex-direction: row-reverse;
}
.featured-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}
.featured-text {
    flex: 1;
}
.featured-text h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #003a8f;
}
.featured-text p {
    font-size: 16px;
    margin-bottom: 20px;
}
.featured-text .btn {
    display: inline-block;
}

/* TESTIMONIALS */
.testimonials {
    padding: 80px 0;
    background: #f4f7fb;
    text-align: center;
}
.testimonials h2 {
    font-size: 32px;
    margin-bottom: 40px;
    color: #003a8f;
}
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.testimonial {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    font-style: italic;
}
.testimonial strong {
    display: block;
    margin-top: 15px;
    font-weight: 600;
    color: #0056d2;
}

/* CTA BANNER */
.cta-banner {
    background: #0056d2;
    color: #fff;
    text-align: center;
    padding: 60px 20px;
    border-radius: 12px;
    margin: 60px 0;
}
.cta-banner h2 {
    font-size: 36px;
    margin-bottom: 15px;
}
.cta-banner p {
    font-size: 16px;
}
.cta-banner .btn {
    margin-top: 20px;
}

/* RESPONSIVE */


/* =========================
   CONTACT PAGE STYLES
   ========================= */

/* Smaller hero variant for inner pages */
.hero.hero-small {
    padding: 70px 0;
}

.hero.hero-small h2 {
    font-size: 36px;
    color: #003a8f;
}

.hero.hero-small p {
    font-size: 16px;
    color: #222;
    margin-top: 10px;
    max-width: 520px;
}

/* Contact grid */
.service-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
}

/* Card base (matches ship-card / tracking-card style) */
.service-card {
    background: #fff;
    padding: 40px;
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    transition: transform 0.2s ease;
}


.service-card:hover {
  transform: translateY(-3px);
}

.service-card h4 {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 10px;
}

.service-card h2 {
  font-size: 28px;
  margin: 0;
}
/* Form styling */
.contact-form h4 {
    font-size: 22px;
    color: #003a8f;
    margin-bottom: 10px;
}

.form-intro {
    font-size: 14px;
    color: #555;
    margin-bottom: 25px;
}

.contact-form label {
    display: block;
    font-size: 13px;
    color: #555;
    margin-bottom: 6px;
    margin-top: 18px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 13px;
    border-radius: 8px;
    border: 1px solid #dfe5f0;
    font-size: 14px;
    background: #f9fbff;
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #0056d2;
    box-shadow: 0 0 0 3px rgba(0,86,210,0.1);
}

/* Submit button */
.btn-primary {
    margin-top: 25px;
    padding: 13px;
    width: 100%;
    border: none;
    border-radius: 8px;
    background: #0056d2;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background: #003a8f;
    transform: translateY(-2px);
}

/* Contact details */
.contact-details h4 {
    font-size: 22px;
    color: #003a8f;
    margin-bottom: 20px;
}

.contact-details p {
    font-size: 14px;
    color: #555;
    margin-bottom: 18px;
    line-height: 1.6;
}

.contact-details strong {
    color: #333;
    font-weight: 600;
}

/* Responsive */

/* =========================
   FORM SUCCESS STATE
   ========================= */

.form-success {
    display: none;
    text-align: center;
    background: #f6fbf8;
    border: 1px solid #d4f0e2;
    padding: 35px 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    animation: fadeIn 0.6s ease forwards;
}

.form-success.active {
    display: block;
}

.form-success h5 {
    font-size: 20px;
    margin: 15px 0 10px;
    color: #1b7f4b;
}

.form-success p {
    font-size: 14px;
    color: #555;
}

.success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #28a745;
    color: #fff;
    font-size: 28px;
    border-radius: 50%;
}

/* Smooth fade */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.badge {
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.badge-processing { background: #e0e7ff; color: #3730a3; }
.badge-transit    { background: #fff7ed; color: #9a3412; }
.badge-delivered  { background: #dcfce7; color: #166534; }
.badge-cancelled  { background: #fee2e2; color: #991b1b; }

.timeline {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
}

.event {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.dot {
  width: 10px;
  height: 10px;
  background: #2563eb;
  border-radius: 50%;
  margin-top: 5px;
}

.modal.hidden {
  display: none;
}

.password-rules {
  font-size: 13px;
  margin-top: 8px;
}
.password-rules span {
  display: block;
  color: #d93025;
}
.password-rules span.valid {
  color: #188038;
}

/* =====================================
   MOBILE RESPONSIVE (TABLET + PHONE)
===================================== */

@media (max-width: 992px) {

    /* NAVIGATION */
    .nav {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* HERO */
    .hero {
        padding: 60px 20px;
        text-align: center;
        background-position: center;
        background-size: cover;
    }

    .hero h2 {
        font-size: 32px;
    }

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

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

    /* SERVICES */
    .services {
        padding: 80px 20px;
    }

    .services h2,
    .services-grid,
    .service-cta {
        max-width: 100%;
    }

    .service-image {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        width: 100%;
        margin-top: 30px;
    }

    /* SHIP SECTION */
    .ship-container {
        flex-direction: column;
        gap: 30px;
    }

    .featured-container,
    .featured-container.reverse {
        flex-direction: column;
        gap: 30px;
    }

    /* FOOTER */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }

    /* TRACKING PAGE */
    .tracking-grid {
        grid-template-columns: 1fr;
    }

    /* CONTACT PAGE */
    .service-grid {
        grid-template-columns: 1fr;
    }

    /* AUTH PAGE */
    .auth-container {
        grid-template-columns: 1fr;
    }

    .auth-brand {
        text-align: center;
        padding: 30px;
    }

    .auth-card {
        padding: 30px;
    }

    /* FORM ROWS */
    .form-row {
        grid-template-columns: 1fr;
    }

    /* CTA */
    .cta-banner h2 {
        font-size: 26px;
    }
}


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

@media (max-width: 576px) {

    body {
        padding-top: 70px;
    }

    .hero h2 {
        font-size: 26px;
    }

    .services h2,
    .testimonials h2 {
        font-size: 24px;
    }

    .success-card {
        padding: 30px 20px;
    }

    .tracking-card,
    .service-card,
    .ship-card {
        padding: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

}