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

:root {
    --bg: #0a0f1f;
    --surface: #111a32;
    --surface-alt: #182447;
    --panel: #ffffff;
    --panel-soft: #f3f6fc;
    --text-dark: #15213f;
    --text-light: #f5f8ff;
    --muted: #6b7b9b;
    --brand: #00c2a8;
    --brand-2: #3f87ff;
    --accent: #ff7a45;
    --danger: #e95454;
    --border: #dce4f2;
    --shadow: 0 20px 50px rgba(16, 32, 67, 0.15);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 10px;
}

* {
    box-sizing: border-box;
}

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

body {
    font-family: "Manrope", "Segoe UI", sans-serif;
    background: linear-gradient(180deg, #f0f5ff 0%, #f7fbff 45%, #eef4ff 100%);
    color: var(--text-dark);
    min-height: 100vh;
    line-height: 1.65;
    padding-top: var(--site-header-height, 132px);
}

html.nav-open,
body.nav-open {
    overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Sora", "Manrope", sans-serif;
}

img {
    max-width: 100%;
}

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

a:hover {
    text-decoration: none;
}

.container-xl {
    max-width: 1220px;
}

.page-shell {
    padding: 60px 0;
}

.card-panel {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
}

.page-hero {
    margin: 22px auto 24px;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(120deg, rgba(8, 14, 33, 0.92), rgba(25, 55, 108, 0.76)),
        var(--hero-image, linear-gradient(120deg, rgba(8, 14, 33, 0.9), rgba(25, 55, 108, 0.82)));
    background-position: center;
    background-size: cover;
    min-height: 390px;
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 30px 55px rgba(12, 31, 64, 0.25);
    animation: heroImageDrift 18s ease-in-out infinite alternate;
}

.hero-home {
    --hero-image: url("../img/generated/logistics-hero.png");
}

.hero-about {
    --hero-image: url("../img/generated/multimodal-terminal.png");
}

.hero-cargo {
    --hero-image: url("../img/generated/road-cargo.png");
}

.hero-air {
    --hero-image: url("../img/generated/air-freight.png");
}

.hero-ocean {
    --hero-image: url("../img/generated/ocean-freight.png");
}

.hero-storage {
    --hero-image: url("../img/generated/warehouse-storage.png");
}

.hero-contact {
    --hero-image: url("../img/generated/support-desk.png");
}

.hero-faq,
.hero-track {
    --hero-image: url("../img/generated/tracking-control.png");
}

.hero-policy {
    --hero-image: url("../img/generated/compliance-check.png");
}

.page-hero::before,
.page-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    z-index: 0;
    filter: blur(0.3px);
}

.page-hero::before {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(0, 194, 168, 0.35), rgba(0, 194, 168, 0.03));
    top: -30px;
    right: -30px;
}

.page-hero::after {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(255, 122, 69, 0.32), rgba(255, 122, 69, 0.02));
    left: -70px;
    bottom: -80px;
}

.page-hero .hero-content {
    position: relative;
    z-index: 1;
    color: var(--text-light);
    padding: 56px 22px;
    max-width: 100%;
    min-width: 0;
}

.page-hero h1,
.page-hero h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 12px;
    color: #fff;
    overflow-wrap: anywhere;
}

.page-hero p {
    font-size: 1.03rem;
    color: rgba(255, 255, 255, 0.86);
    max-width: 760px;
    margin-bottom: 0;
    overflow-wrap: anywhere;
}

.media-slider-shell {
    padding: 0 0 34px;
}

.media-slider {
    overflow: hidden;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow);
    padding: 12px;
}

.media-slider-track {
    display: flex;
    gap: 12px;
    width: max-content;
    animation: mediaMarquee 38s linear infinite;
}

.media-slider:hover .media-slider-track {
    animation-play-state: paused;
}

.media-slide {
    width: 270px;
    height: 162px;
    flex: 0 0 270px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(220, 228, 242, 0.9);
    background: #0f2144;
}

.media-slide img,
.card-media,
.section-media,
.policy-visual {
    display: block;
    width: 100%;
    object-fit: cover;
}

.media-slide img {
    height: 100%;
}

.top-contact-bar {
    background: linear-gradient(90deg, #081125, #102850);
    padding: 9px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1400;
}

.top-phone {
    color: #fff;
    font-weight: 700;
    font-size: 0.93rem;
}

.top-phone i {
    margin-right: 6px;
    color: #38d8bf;
}

.top-contact-items {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.top-contact-item {
    color: rgba(255, 255, 255, 0.96);
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.4;
    word-break: break-word;
}

.top-contact-item i {
    color: #52f0d6;
    margin-right: 6px;
}

a.top-contact-item:hover {
    color: #fff;
}

.main-nav-shell {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: relative;
    top: 0;
    z-index: 5;
    transition: box-shadow 0.25s ease;
}

.main-nav-shell.scrolled {
    box-shadow: 0 12px 25px rgba(13, 32, 64, 0.15);
}

.main-nav-row {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand-logo-link {
    display: inline-flex;
    align-items: center;
}

.brand-logo-img {
    max-height: 52px;
    width: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    justify-content: center;
}

.main-nav a {
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #1b2c50;
    padding: 6px 0;
    position: relative;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--brand), var(--brand-2));
    transition: width 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
    width: 100%;
}

.main-nav a.is-active {
    color: #0f2145;
}

.menu-toggle-btn {
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(130deg, #0f2348, #173c76);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle-btn span {
    width: 22px;
    height: 2px;
    background: #fff;
    display: block;
}

.quote-nav-btn {
    background: linear-gradient(120deg, var(--brand), #0cc7c0);
    border: 0;
    color: #fff;
    border-radius: 999px;
    padding: 11px 20px;
    font-weight: 700;
    letter-spacing: 0.03em;
    box-shadow: 0 10px 20px rgba(0, 194, 168, 0.35);
}

.quote-nav-btn:hover {
    color: #fff;
    transform: translateY(-1px);
}

.quote-modal-content {
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: 0 25px 60px rgba(16, 32, 67, 0.28);
}

.modal-backdrop {
    z-index: 1990 !important;
}

.modal {
    z-index: 2000 !important;
}

@media (min-width: 992px) {
    #quoteModal .modal-dialog {
        max-width: 1040px;
        margin: 1rem auto;
        height: calc(100vh - 2rem);
    }

    #quoteModal .quote-modal-content {
        max-height: calc(100vh - 2rem);
        overflow: hidden;
    }

    #quoteModal .quote-modal-content .modal-body {
        padding-left: 24px;
        padding-right: 24px;
        padding-bottom: 24px;
        overflow-y: auto;
    }
}

.quote-modal-content .modal-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #11244b;
}

.quote-form-grid {
    display: grid;
    gap: 14px;
}

.quote-block {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
    background: var(--panel-soft);
}

.quote-block h6 {
    margin-bottom: 12px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #0f2a54;
}

.quote-form-grid label {
    font-size: 0.77rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 700;
    color: #3e5171;
}

.quote-form-grid .form-control {
    border-radius: 10px;
    border: 1px solid var(--border);
    min-height: 44px;
    background: #fff;
}

.quote-form-grid textarea.form-control {
    min-height: 95px;
}

.quote-upload-wrap {
    border: 1px dashed #bed0ec;
    background: #f7fbff;
    border-radius: 12px;
    padding: 12px;
}

.quote-file-control {
    background: #fff;
}

.quote-upload-hint {
    display: block;
    margin-top: 6px;
    font-size: 0.8rem;
    color: #5f7395;
}

.quote-form-grid .btn-primary {
    background: linear-gradient(130deg, var(--brand-2), #355ddc);
    border: 0;
    border-radius: 999px;
    padding: 11px 24px;
    font-weight: 700;
}

.quote-form-grid .btn-outline-secondary {
    border-radius: 999px;
    padding: 11px 20px;
}

.section-head {
    margin-bottom: 18px;
}

.section-head span {
    display: inline-flex;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: #dffcf6;
    border: 1px solid #b9f4e8;
    color: #0e786b;
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 700;
}

.section-head h2 {
    font-size: clamp(1.6rem, 3.2vw, 2.4rem);
    margin: 8px 0 8px;
    color: #112248;
    font-weight: 800;
}

.section-head p {
    color: var(--muted);
    max-width: 760px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.feature-card,
.info-card,
.stat-card,
.process-card,
.faq-card,
.contact-card,
.policy-card,
.timeline-card,
.shipment-card,
.map-card,
.tracker-search-card,
.service-detail-card,
.cta-card {
    background: var(--panel);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.feature-card,
.info-card,
.process-card,
.faq-card,
.contact-card,
.policy-card,
.service-detail-card {
    padding: 22px;
}

.feature-card,
.info-card,
.process-card,
.faq-card,
.contact-card,
.policy-card,
.service-detail-card,
.page-form-card,
.package-calculator-card,
.calc-result-card,
.shipment-card {
    overflow: hidden;
}

.card-media {
    height: 152px;
    margin: -22px -22px 16px;
    width: calc(100% + 44px);
    border-bottom: 1px solid var(--border);
}

.feature-card .card-media,
.process-card .card-media {
    height: 140px;
}

.service-detail-card .card-media,
.info-card .card-media {
    height: 190px;
}

.section-media {
    height: min(340px, 42vw);
    min-height: 220px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.policy-visual {
    height: 260px;
    margin: -22px -22px 20px;
    width: calc(100% + 44px);
    border-bottom: 1px solid var(--border);
}

.feature-card h4,
.info-card h4,
.process-card h4,
.faq-card h4,
.contact-card h4,
.policy-card h3,
.service-detail-card h3 {
    margin: 10px 0 8px;
    font-size: 1.1rem;
    color: #10234a;
    font-weight: 800;
}

.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(130deg, #e4efff, #d8f9f4);
    color: #2d57a0;
    font-size: 1.2rem;
}

.stat-card {
    padding: 18px;
    text-align: center;
    background: linear-gradient(150deg, #11213f, #1b3f76);
    color: #fff;
}

.stat-card h3 {
    color: #fff;
    margin: 0;
    font-size: 1.7rem;
    font-weight: 800;
}

.stat-card p {
    color: rgba(255, 255, 255, 0.8);
    margin: 4px 0 0;
}

.cta-card {
    padding: 26px;
    background:
        linear-gradient(130deg, rgba(15, 33, 68, 0.95), rgba(31, 79, 143, 0.86)),
        url("../img/generated/logistics-hero.png");
    background-size: cover;
    background-position: center;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.cta-card h3 {
    margin: 0;
    color: #fff;
}

.cta-card .btn {
    border-radius: 999px;
    padding: 10px 20px;
    font-weight: 700;
}

.btn-ghost-light {
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #fff;
}

.btn-ghost-light:hover {
    color: #fff;
    border-color: #fff;
}

.page-form-card {
    padding: 22px;
}

.page-form-card .form-control {
    border-radius: 10px;
    min-height: 46px;
    border: 1px solid var(--border);
}

.page-form-card textarea.form-control {
    min-height: 160px;
}

.page-form-card .btn {
    border-radius: 999px;
    padding: 10px 24px;
    font-weight: 700;
}

.site-footer {
    margin-top: 55px;
    background: linear-gradient(150deg, #091327, #142d57);
    color: rgba(255, 255, 255, 0.9);
    padding: 42px 0 22px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 24px;
}

.footer-column h5 {
    margin-bottom: 12px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff;
}

.footer-column p,
.footer-column li,
.footer-column a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.93rem;
}

.footer-column ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-logo {
    max-height: 54px;
    margin-bottom: 12px;
}

.footer-contact-list i {
    color: #52f0d6;
    margin-right: 7px;
}

.footer-bottom {
    margin-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-social-links {
    display: flex;
    gap: 10px;
}

.footer-social-links a {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-social-links a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.back-to-top-btn {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(130deg, #153667, #1f4f95);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 12px 24px rgba(8, 23, 46, 0.28);
    z-index: 1450;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.back-to-top-btn:hover {
    color: #fff;
    transform: translateY(7px);
}

.back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tracker-search-card {
    padding: 20px;
}

.tracker-search-card form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

.tracker-search-card .form-control {
    min-height: 48px;
    border-radius: 999px;
    padding: 0 16px;
}

.tracker-search-card .btn {
    border-radius: 999px;
    padding: 10px 22px;
    font-weight: 700;
    background: linear-gradient(130deg, var(--brand-2), #2f58d1);
    border: 0;
}

.package-calculator-card,
.calc-result-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    padding: 22px;
}

.package-calculator-card h4,
.calc-result-card h4 {
    margin: 0 0 8px;
    color: #132c57;
    font-weight: 800;
}

.calc-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.calc-form-grid label {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #526b91;
    font-weight: 700;
    margin-bottom: 6px;
}

.calc-form-grid .form-control {
    min-height: 44px;
    border-radius: 10px;
    border: 1px solid var(--border);
}

.calc-form-grid .field-full {
    grid-column: 1 / -1;
}

.calc-checkbox-wrap {
    margin-top: 2px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #f7fbff;
    padding: 10px 12px;
}

.calc-checkbox-wrap input[type="checkbox"] {
    margin-right: 8px;
}

.calc-result-card p {
    color: #5d7396;
}

.calc-metric-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 14px 0;
}

.calc-metric {
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #f9fbff;
    padding: 10px 12px;
}

.calc-metric small {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6a80a4;
    font-size: 0.72rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.calc-metric strong {
    color: #163462;
    font-size: 0.97rem;
}

.calc-total-box {
    border: 1px solid #cadcf9;
    background: linear-gradient(130deg, #ecf3ff, #f4faff);
    border-radius: 12px;
    padding: 14px 14px 10px;
}

.calc-total-box small {
    display: block;
    color: #5d7397;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-weight: 700;
    font-size: 0.74rem;
}

.calc-total-box h3 {
    margin: 6px 0 4px;
    color: #0f2b56;
    font-size: 2rem;
    font-weight: 800;
}

.calc-total-box p {
    margin: 0;
    font-size: 0.84rem;
}

.timeline-wrapper {
    position: relative;
    padding: 8px 0 8px 0;
}

.timeline-item {
    --status-color: #3f87ff;
    --status-soft: #e6efff;
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 14px;
    margin-bottom: 16px;
    opacity: 0;
    transform: translateY(18px);
    transition: transform 0.45s ease, opacity 0.45s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-dot-wrap {
    position: relative;
    display: flex;
    justify-content: center;
}

.timeline-dot-wrap::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: -20px;
    width: 4px;
    background: var(--status-soft);
    border-radius: 999px;
}

.timeline-item:last-child .timeline-dot-wrap::before {
    display: none;
}

.timeline-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--status-soft);
    color: var(--status-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    z-index: 1;
}

.timeline-item.timeline-current .timeline-dot {
    background: var(--status-color);
    color: #fff;
    box-shadow: 0 0 0 8px rgba(15, 33, 68, 0.14);
    animation: currentBlink 1.1s steps(2, end) infinite;
}

.timeline-item .timeline-card {
    border-left: 4px solid var(--status-color);
}

.timeline-item.timeline-current .timeline-card h5 {
    color: var(--status-color);
}

.timeline-card {
    padding: 16px;
}

.timeline-card h5 {
    margin: 0 0 6px;
    font-size: 1rem;
    color: #152a52;
}

.timeline-card p {
    margin: 0;
    font-size: 0.92rem;
    color: #576a8c;
}

.timeline-meta {
    margin-top: 8px;
    font-size: 0.82rem;
    color: #7184a7;
    font-weight: 700;
}

.shipment-card {
    padding: 20px;
}

.shipment-card .shipment-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #e6f4ff;
    color: #0f3f81;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 14px;
}

.shipment-card .shipment-title.status-badge {
    background: var(--status-bg, #e6f4ff);
    color: var(--status-color, #0f3f81);
}

.shipment-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.shipment-grid .item {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px;
    background: #f9fbff;
}

.shipment-grid .item small {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
    color: #6e83a8;
    margin-bottom: 4px;
}

.shipment-grid .item strong {
    color: #10264f;
    font-size: 0.95rem;
}

.map-card {
    overflow: hidden;
    position: relative;
}

.map-card iframe {
    width: 100%;
    height: 440px;
    border: 0;
}

.map-live-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(10, 15, 30, 0.82);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 999px;
}

.receipt-print-btn {
    border-radius: 999px;
    padding: 11px 22px;
    font-weight: 700;
    background: linear-gradient(130deg, var(--accent), #f48e4e);
    border: 0;
    color: #fff;
}

.policy-content p,
.policy-content li {
    color: #4d607f;
}

.policy-content h3,
.policy-content h4 {
    color: #13274f;
    margin-top: 18px;
}

.policy-content ul {
    padding-left: 18px;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: transform 0.45s ease, opacity 0.45s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger > * {
    opacity: 0;
    transform: translateY(18px);
    transition: transform 0.45s ease, opacity 0.45s ease;
}

.stagger > *.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 194, 168, 0.35);
    }
    70% {
        box-shadow: 0 0 0 14px rgba(0, 194, 168, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 194, 168, 0);
    }
}

@keyframes currentBlink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.32;
    }
}

@keyframes heroImageDrift {
    from {
        background-position: center center;
    }
    to {
        background-position: 54% 48%;
    }
}

@keyframes mediaMarquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - 6px));
    }
}

@media (max-width: 1200px) {
    .main-nav {
        gap: 12px;
    }

    .main-nav a {
        font-size: 0.79rem;
    }

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

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

@media (max-width: 992px) {
    .menu-toggle-btn {
        display: inline-flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -310px;
        width: 290px;
        height: 100vh;
        background: linear-gradient(160deg, #0a1228, #142f5a);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 90px 20px 20px;
        gap: 12px;
        z-index: 1300;
        transition: right 0.25s ease;
        box-shadow: -18px 0 40px rgba(6, 14, 30, 0.5);
    }

    .main-nav.open {
        right: 0;
    }

    .main-nav a {
        color: rgba(255, 255, 255, 0.9);
        font-size: 0.86rem;
        width: 100%;
    }

    .main-nav a.is-active {
        color: #fff;
    }

    .quote-nav-btn {
        display: none;
    }

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

    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .top-contact-bar {
        padding: 7px 0;
    }

    .top-contact-items {
        gap: 8px;
        width: 100%;
    }

    .top-contact-item {
        font-size: 0.78rem;
    }

    .page-shell {
        padding: 35px 0;
    }

    .page-hero {
        min-height: 330px;
        border-radius: 16px;
        margin-top: 12px;
    }

    .page-hero .hero-content {
        padding: 34px 16px;
    }

    .page-hero h1,
    .page-hero h2 {
        font-size: clamp(1.75rem, 7.5vw, 2rem);
        line-height: 1.18;
    }

    .page-hero p {
        font-size: 0.96rem;
    }

    .tracker-search-card form {
        grid-template-columns: 1fr;
    }

    .shipment-grid {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .top-phone {
        font-size: 0.8rem;
    }

    .back-to-top-btn {
        right: 14px;
        bottom: 14px;
        width: 42px;
        height: 42px;
    }

    .calc-form-grid,
    .calc-metric-grid {
        grid-template-columns: 1fr;
    }

    .media-slider-shell {
        padding-bottom: 24px;
    }

    .media-slide {
        width: 220px;
        height: 138px;
        flex-basis: 220px;
    }

    .card-media {
        height: 132px;
    }

    .service-detail-card .card-media,
    .info-card .card-media {
        height: 160px;
    }

    .policy-visual,
    .section-media {
        height: 190px;
        min-height: 190px;
    }
}

@media (max-width: 480px) {
    .page-hero .hero-content {
        padding: 28px 14px;
    }

    .page-hero h1,
    .page-hero h2 {
        font-size: 1.55rem;
    }

    .tracker-search-card {
        padding: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-hero,
    .media-slider-track {
        animation: none;
    }
}

#google_translate_element,
.google-translate-hidden {
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.goog-te-banner-frame.skiptranslate,
.goog-logo-link,
.goog-te-gadget > span {
    display: none !important;
}

body {
    top: 0 !important;
}
