/* =========================================================
   Cargonora - Public Website
   tracking.css
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    background: #ffffff;
    color: #172033;
}

button,
input {
    font: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid #e8edf3;
    backdrop-filter: blur(12px);
}

.nav-container {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #1769d1;
    color: #ffffff;
    font-size: 20px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text strong {
    color: #14213d;
    font-size: 18px;
    font-weight: 800;
}

.logo-text small {
    margin-top: 4px;
    color: #8290a3;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link,
.admin-link {
    color: #5e6b7d;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #1769d1;
}

.admin-link {
    padding: 9px 14px;
    border: 1px solid #d8e2ef;
    border-radius: 8px;
    color: #1769d1;
}

.admin-link:hover {
    background: #f1f7ff;
}

.menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid #dce4ed;
    border-radius: 8px;
    background: #ffffff;
    color: #263449;
    cursor: pointer;
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
    padding: 80px 0 70px;
    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(23, 105, 209, 0.09),
            transparent 30%
        ),
        #f6f9fd;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 70px;
}

.hero-content {
    max-width: 620px;
}

.hero-badge,
.section-label {
    display: inline-flex;
    align-items: center;
    color: #1769d1;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-badge {
    padding: 8px 11px;
    border: 1px solid #d7e6f8;
    border-radius: 999px;
    background: #edf6ff;
}

.hero h1 {
    margin: 20px 0 17px;
    color: #14213d;
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1.05;
    letter-spacing: -2px;
}

.hero h1 span {
    display: block;
    color: #1769d1;
}

.hero-content > p {
    max-width: 570px;
    margin: 0 0 25px;
    color: #687588;
    font-size: 16px;
    line-height: 1.7;
}

.tracking-form {
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 610px;
}

.tracking-input-wrapper {
    position: relative;
    flex: 1;
}

.tracking-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #8794a7;
}

.tracking-form input {
    width: 100%;
    height: 52px;
    padding: 0 16px 0 43px;
    border: 1px solid #d9e1eb;
    border-radius: 9px;
    outline: none;
    background: #ffffff;
    color: #172033;
    font-size: 13px;
}

.tracking-form input:focus {
    border-color: #1769d1;
    box-shadow: 0 0 0 3px rgba(23, 105, 209, 0.08);
}

.primary-btn {
    height: 52px;
    padding: 0 22px;
    border: 0;
    border-radius: 9px;
    background: #1769d1;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.primary-btn:hover {
    background: #125bb9;
}

.tracking-example {
    margin-top: 11px !important;
    color: #8793a4 !important;
    font-size: 11px !important;
}

.tracking-example strong {
    color: #526176;
}

/* =========================================================
   HERO SHIP CARD
   ========================================================= */

.hero-visual {
    display: flex;
    justify-content: center;
}

.ship-card {
    width: 100%;
    max-width: 500px;
    padding: 25px;
    border: 1px solid #dfe7f0;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(25, 48, 80, 0.09);
}

.ship-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    padding-bottom: 22px;
    border-bottom: 1px solid #edf1f5;
}

.small-label {
    display: block;
    margin-bottom: 6px;
    color: #8793a4;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}

.ship-card h3 {
    margin: 0;
    color: #18253b;
    font-size: 18px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 11px;
    border-radius: 999px;
    background: #eaf3ff;
    color: #1769d1;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.status-badge.delivered {
    background: #eaf8f0;
    color: #16834a;
}

.status-badge.delayed {
    background: #fff4df;
    color: #c56a00;
}

.status-badge.pending {
    background: #f0edff;
    color: #6654c8;
}

.status-badge.cancelled {
    background: #ffebeb;
    color: #c62828;
}

.route-line {
    display: grid;
    grid-template-columns: 1fr 90px 1fr;
    align-items: center;
    gap: 10px;
    padding: 28px 0;
}

.route-point {
    display: flex;
    align-items: center;
    gap: 8px;
}

.route-point.destination {
    justify-content: flex-end;
    text-align: right;
}

.point-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 29px;
    height: 29px;
    flex: 0 0 29px;
    border-radius: 50%;
    background: #edf5ff;
    font-size: 11px;
}

.route-point small {
    display: block;
    margin-bottom: 3px;
    color: #8a96a7;
    font-size: 9px;
    font-weight: 700;
}

.route-point strong {
    display: block;
    color: #263449;
    font-size: 11px;
}

.route-progress {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 10px;
    background: #dce8f5;
}

.progress-line span {
    display: block;
    width: 65%;
    height: 100%;
    border-radius: inherit;
    background: #1769d1;
}

.ship-icon {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 3px solid #ffffff;
    border-radius: 50%;
    background: #1769d1;
    box-shadow: 0 4px 12px rgba(23, 105, 209, 0.3);
    font-size: 15px;
}

.ship-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    border: 1px solid #edf1f5;
    background: #edf1f5;
    border-radius: 9px;
    overflow: hidden;
}

.detail-item {
    padding: 13px;
    background: #fbfcfe;
}

.detail-item span {
    display: block;
    margin-bottom: 5px;
    color: #8b97a8;
    font-size: 9px;
}

.detail-item strong {
    color: #263449;
    font-size: 11px;
}

/* =========================================================
   SECTION HEADING
   ========================================================= */

.section-heading {
    margin-bottom: 28px;
}

.section-heading h2 {
    margin: 8px 0 8px;
    color: #14213d;
    font-size: 30px;
    letter-spacing: -0.7px;
}

.section-heading p {
    margin: 0;
    color: #758194;
    font-size: 13px;
    line-height: 1.6;
}

.section-heading.centered {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-heading.centered .section-label {
    justify-content: center;
}

/* =========================================================
   TRACKING RESULT
   ========================================================= */

.tracking-result-section {
    padding: 75px 0;
    background: #ffffff;
}

.tracking-result-card {
    border: 1px solid #e1e7ef;
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(20, 35, 60, 0.06);
}

.result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 25px;
    border-bottom: 1px solid #edf1f5;
}

.result-header h3 {
    margin: 0;
    color: #17243a;
    font-size: 20px;
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #e9edf2;
}

.result-item {
    min-height: 78px;
    padding: 17px;
    background: #ffffff;
}

.result-item span {
    display: block;
    margin-bottom: 6px;
    color: #8a95a5;
    font-size: 10px;
    font-weight: 600;
}

.result-item strong {
    color: #263449;
    font-size: 12px;
}

.shipment-progress {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 25px;
    border-top: 1px solid #edf1f5;
}

.progress-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #9aa5b4;
    font-size: 10px;
    text-align: center;
}

.progress-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 14px;
    left: calc(50% + 20px);
    width: calc(100% - 40px);
    height: 1px;
    background: #dfe5ec;
}

.progress-step.completed {
    color: #16834a;
}

.progress-step.active {
    color: #1769d1;
    font-weight: 700;
}

.step-circle {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 29px;
    height: 29px;
    border: 1px solid #dce4ed;
    border-radius: 50%;
    background: #ffffff;
    font-size: 11px;
}

.progress-step.completed .step-circle {
    border-color: #aee0c5;
    background: #eaf8f0;
    color: #16834a;
}

.progress-step.active .step-circle {
    border-color: #1769d1;
    background: #1769d1;
    color: #ffffff;
}

/* =========================================================
   SELF-CONTAINED TRACKING MAP
   ========================================================= */

.tracking-map-section {
    padding: 22px 25px 24px;
    border-top: 1px solid #edf1f5;
    background: #fbfcfe;
}

.tracking-map-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 14px;
}

.tracking-map-label {
    display: block;
    margin-bottom: 4px;
    color: #1769d1;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}

.tracking-map-heading h3 {
    margin: 0 0 3px;
    color: #17243a;
    font-size: 16px;
}

.tracking-map-heading p {
    margin: 0;
    color: #7b8798;
    font-size: 11px;
}

.tracking-map-location {
    padding: 8px 11px;
    border: 1px solid #dce4ed;
    border-radius: 8px;
    background: #ffffff;
    text-align: right;
}

.tracking-map-location span {
    display: block;
    margin-bottom: 3px;
    color: #8a95a5;
    font-size: 9px;
}

.tracking-map-location strong {
    color: #263449;
    font-size: 11px;
}

.cargo-ship-tracking-map {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
    border: 1px solid #d7e2ee;
    border-radius: 11px;
    background: #e5f0fa;
}

.cargo-route-map {
    display: block;
    width: 100%;
    height: 100%;
}

.map-land {
    fill: #d5e0d6;
    opacity: 0.9;
}

.map-grid line {
    stroke: #ffffff;
    stroke-width: 1;
    opacity: 0.45;
}

.map-route {
    fill: none;
    stroke: #8ca5bf;
    stroke-width: 4;
    stroke-dasharray: 10 8;
    opacity: 0.8;
}

.map-route-completed {
    fill: none;
    stroke: #1769d1;
    stroke-width: 5;
    stroke-linecap: round;
}

.map-marker circle {
    stroke: #ffffff;
    stroke-width: 3;
}

.origin-marker circle:first-child,
.destination-marker circle:first-child {
    fill: #ffffff;
    stroke: #1769d1;
}

.origin-marker .marker-dot,
.destination-marker .marker-dot {
    fill: #1769d1;
    stroke: none;
}

.ship-marker circle {
    fill: #1769d1;
    stroke: #ffffff;
    stroke-width: 3;
}

.ship-marker text {
    font-size: 15px;
}

.map-label {
    fill: #263449;
    font-family: Inter, Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
}

.ship-label {
    fill: #1769d1;
    font-size: 13px;
}

.map-progress-badge {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 7px 10px;
    border: 1px solid #dce5ee;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.94);
    color: #1769d1;
    font-size: 10px;
    font-weight: 800;
    box-shadow: 0 3px 10px rgba(20, 35, 60, 0.08);
}

.tracking-map-legend {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
    color: #718096;
    font-size: 10px;
}

.tracking-map-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.tracking-map-legend i {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.legend-origin {
    background: #1769d1;
}

.legend-destination {
    background: #1769d1;
}

.legend-ship {
    width: auto !important;
    height: auto !important;
    border-radius: 0 !important;
}

/* =========================================================
   ERROR
   ========================================================= */

.tracking-error {
    max-width: 1180px;
    margin: 50px auto;
    padding: 20px;
    border: 1px solid #f0caca;
    border-radius: 10px;
    background: #fff5f5;
    color: #b42318;
}

.tracking-error strong {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}

.tracking-error p {
    margin: 0;
    font-size: 12px;
}

/* =========================================================
   STATISTICS
   ========================================================= */

.stats-section {
    padding: 30px 0;
    background: #f6f9fd;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 18px;
    border: 1px solid #e2e8ef;
    border-radius: 11px;
    background: #ffffff;
}

.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 39px;
    height: 39px;
    flex: 0 0 39px;
    border-radius: 9px;
    background: #edf5ff;
    font-size: 17px;
}

.stat-card strong {
    display: block;
    margin-bottom: 3px;
    color: #17243a;
    font-size: 18px;
}

.stat-card span:last-child {
    color: #7b8798;
    font-size: 10px;
}

/* =========================================================
   SERVICES
   ========================================================= */

.services-section,
.how-it-works,
.about-section,
.contact-section {
    padding: 85px 0;
}

.services-section {
    background: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 17px;
}

.service-card {
    padding: 24px;
    border: 1px solid #e3e8ef;
    border-radius: 12px;
    background: #ffffff;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(20, 35, 60, 0.07);
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 17px;
    border-radius: 10px;
    background: #edf5ff;
    font-size: 18px;
}

.service-card h3 {
    margin: 0 0 8px;
    color: #17243a;
    font-size: 15px;
}

.service-card p {
    min-height: 68px;
    margin: 0 0 15px;
    color: #758194;
    font-size: 11px;
    line-height: 1.7;
}

.service-card a {
    color: #1769d1;
    font-size: 11px;
    font-weight: 700;
}

/* =========================================================
   HOW IT WORKS
   ========================================================= */

.how-it-works {
    background: #f6f9fd;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.step-card {
    position: relative;
    padding: 27px;
    border: 1px solid #e1e7ef;
    border-radius: 12px;
    background: #ffffff;
    text-align: center;
}

.step-number {
    position: absolute;
    top: 15px;
    right: 17px;
    color: #d8e3f0;
    font-size: 11px;
    font-weight: 800;
}

.step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: #edf5ff;
    font-size: 19px;
}

.step-card h3 {
    margin: 0 0 7px;
    color: #17243a;
    font-size: 15px;
}

.step-card p {
    margin: 0;
    color: #758194;
    font-size: 11px;
    line-height: 1.7;
}

/* =========================================================
   ABOUT
   ========================================================= */

.about-section {
    background: #ffffff;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    align-items: center;
    gap: 80px;
}

.about-content h2 {
    max-width: 600px;
    margin: 9px 0 15px;
    color: #14213d;
    font-size: 34px;
    letter-spacing: -0.8px;
}

.about-content > p {
    max-width: 620px;
    margin: 0 0 12px;
    color: #758194;
    font-size: 13px;
    line-height: 1.75;
}

.about-features {
    display: grid;
    gap: 13px;
    margin-top: 24px;
}

.about-feature {
    display: flex;
    gap: 11px;
}

.about-feature > span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 23px;
    height: 23px;
    flex: 0 0 23px;
    border-radius: 50%;
    background: #eaf8f0;
    color: #16834a;
    font-size: 11px;
    font-weight: 800;
}

.about-feature strong {
    display: block;
    margin-bottom: 3px;
    color: #263449;
    font-size: 12px;
}

.about-feature p {
    margin: 0;
    color: #8793a4;
    font-size: 10px;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.about-card {
    width: 100%;
    max-width: 390px;
    padding: 35px;
    border: 1px solid #dfe7f0;
    border-radius: 15px;
    background: #f7faff;
    text-align: center;
}

.about-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin: 0 auto 17px;
    border-radius: 14px;
    background: #1769d1;
    color: #ffffff;
    font-size: 25px;
}

.about-card h3 {
    margin: 0 0 8px;
    color: #17243a;
    font-size: 18px;
}

.about-card p {
    margin: 0;
    color: #758194;
    font-size: 11px;
    line-height: 1.7;
}

.mini-route {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 25px;
    color: #526176;
    font-size: 10px;
    font-weight: 700;
}

.mini-line {
    position: relative;
    flex: 1;
    height: 2px;
    background: #cbd9e8;
}

.mini-line span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    background: #1769d1;
    font-size: 12px;
}

/* =========================================================
   CTA
   ========================================================= */

.cta-section {
    padding: 55px 0;
    background: #14213d;
    color: #ffffff;
}

.cta-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cta-section .section-label {
    color: #77b1ff;
}

.cta-section h2 {
    margin: 8px 0 7px;
    font-size: 30px;
}

.cta-section p {
    margin: 0;
    color: #b8c4d5;
    font-size: 12px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    padding: 0 19px;
    border-radius: 8px;
    background: #ffffff;
    color: #1769d1;
    font-size: 12px;
    font-weight: 700;
}

/* =========================================================
   CONTACT
   ========================================================= */

.contact-section {
    background: #f6f9fd;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px;
}

.contact-card {
    padding: 25px;
    border: 1px solid #e1e7ef;
    border-radius: 12px;
    background: #ffffff;
    text-align: center;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    margin: 0 auto 13px;
    border-radius: 10px;
    background: #edf5ff;
    font-size: 17px;
}

.contact-card h3 {
    margin: 0 0 7px;
    color: #17243a;
    font-size: 14px;
}

.contact-card p {
    margin: 0;
    color: #758194;
    font-size: 11px;
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    background: #101a2c;
    color: #ffffff;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 50px;
    padding-top: 55px;
    padding-bottom: 45px;
}

.footer-logo .logo-text strong {
    color: #ffffff;
}

.footer-logo .logo-text small {
    color: #8e9bae;
}

.footer-brand p {
    max-width: 280px;
    margin: 14px 0 0;
    color: #8995a7;
    font-size: 11px;
    line-height: 1.7;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column h4 {
    margin: 0 0 6px;
    color: #ffffff;
    font-size: 12px;
}

.footer-column a {
    color: #8995a7;
    font-size: 10px;
}

.footer-column a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 17px;
    padding-bottom: 17px;
}

.footer-bottom p {
    margin: 0;
    color: #748095;
    font-size: 9px;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 1000px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .hero-content {
        max-width: none;
    }

    .hero-visual {
        justify-content: flex-start;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 760px) {
    .container {
        width: min(100% - 30px, 1180px);
    }

    .nav-container {
        min-height: 68px;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px 15px 18px;
        border-bottom: 1px solid #e6ebf1;
        background: #ffffff;
        box-shadow: 0 10px 25px rgba(20, 35, 60, 0.08);
    }

    .main-nav.mobile-open {
        display: flex;
    }

    .nav-link,
    .admin-link {
        padding: 12px;
    }

    .hero {
        padding: 55px 0;
    }

    .hero h1 {
        font-size: 40px;
    }

    .tracking-form {
        flex-direction: column;
    }

    .tracking-form .primary-btn {
        width: 100%;
    }

    .result-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .shipment-progress {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .progress-step:not(:last-child)::after {
        display: none;
    }

    .tracking-map-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .tracking-map-location {
        width: 100%;
        text-align: left;
    }

    .cargo-ship-tracking-map {
        height: 300px;
    }

    .map-label {
        font-size: 11px;
    }

    .services-section,
    .how-it-works,
    .about-section,
    .contact-section {
        padding: 65px 0;
    }

    .steps-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .cta-container {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .ship-card {
        padding: 18px;
    }

    .ship-card-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .route-line {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .route-point.destination {
        justify-content: flex-start;
        text-align: left;
    }

    .route-progress {
        height: 30px;
    }

    .progress-line {
        top: 50%;
    }

    .ship-details {
        grid-template-columns: 1fr;
    }

    .result-grid {
        grid-template-columns: 1fr;
    }

    .shipment-progress {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .tracking-map-section {
        padding: 18px;
    }

    .cargo-ship-tracking-map {
        height: 260px;
    }

    .tracking-map-legend {
        flex-wrap: wrap;
        gap: 10px;
    }

    .stats-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom-container {
        align-items: flex-start;
        flex-direction: column;
    }
}