/* Base styles for the page */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #fffaf0;
    /* Warm off-white */
    color: #333;
}

/* Standalone Header Layout */
.main-header,
header {
    background-color: #2c3e50;
    border-bottom: 5px solid #f97316;
    padding: 0.85rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 100;
    position: relative;
    gap: 15px;
}

.header-left {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.header-brand-link {
    color: #f97316;
    text-decoration: none;
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    display: inline-flex;
    align-items: center;
    transition: opacity 0.2s, transform 0.2s;
    white-space: nowrap;
}

.header-brand-link:hover {
    color: #fb923c;
    transform: translateY(-1px);
}

.header-brand-link .kw-accent {
    font-variant: small-caps;
}

.header-center {
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.header-main-title {
    margin: 0;
    font-size: 2.1rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.5px;
    white-space: nowrap;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.header-main-title .text-orange {
    color: #f97316;
}

.header-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
}

.header-icon-container {
    display: flex;
    align-items: center;
    background-color: #fffaf0;
    border-radius: 6px;
    padding: 4px 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    border: 1px solid rgba(249, 115, 22, 0.3);
    transition: transform 0.2s;
}

.header-icon-container:hover {
    transform: scale(1.05);
}

.header-icon-img {
    height: 42px;
    width: auto;
    mix-blend-mode: multiply;
    display: block;
}

/* Header Navigation */
.header-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #2c3e50;
    flex-direction: column;
    padding: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 5px 5px;
    z-index: 1000;
    gap: 10px;
    min-width: 150px;
    border-top: 2px solid #f97316;
}

.header-nav.active {
    display: flex;
}

.header-nav a {
    color: #f97316;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.header-nav a:hover {
    background-color: #f97316;
    color: white;
}

.menu-toggle {
    display: flex;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

/* Header Responsiveness */
@media (max-width: 860px) {
    .main-header,
    header {
        flex-wrap: wrap;
        padding: 0.75rem 1rem !important;
        gap: 10px 12px;
    }

    .header-left {
        flex: 1 1 auto;
        order: 1;
    }

    .header-brand-link {
        font-size: 1.45rem !important;
    }

    .header-right {
        flex: 0 0 auto;
        order: 2;
        gap: 10px;
    }

    .header-icon-img {
        height: 35px !important;
    }

    .header-center {
        flex: 1 1 100%;
        order: 3;
        padding-top: 8px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .header-main-title {
        font-size: 1.55rem !important;
    }
}

/* Announcement Banner Marquee */
@keyframes marquee {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(-100%, 0);
    }
}

.banner-container:hover .banner-content {
    animation-play-state: paused !important;
}

/* ==========================================================================
   Shipping Services Page Styles
   ========================================================================== */

main.shipping-main {
    display: block !important;
    width: 100% !important;
    flex: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow-x: hidden !important;
    background-color: #fdfbf7;
}

/* Hero Section */
.shipping-hero {
    background: radial-gradient(circle at 85% 20%, rgba(249, 115, 22, 0.22), transparent 45%),
                linear-gradient(135deg, #1c232d 0%, #10141a 100%);
    border-bottom: 5px solid #f97316;
    color: #ffffff;
    padding: 55px 20px 65px 20px;
    position: relative;
    overflow: hidden;
}

.shipping-hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 12px;
    background: linear-gradient(90deg, #FFCC00 0%, #4D148C 50%, #E31837 100%);
    opacity: 0.85;
}

.hero-wrap {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 45px;
}

.hero-content {
    flex: 1.15;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(249, 115, 22, 0.15);
    border: 1px solid #f97316;
    color: #ff9142;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
}

.hero-headline {
    font-size: 2.7rem;
    font-weight: 900;
    line-height: 1.15;
    margin: 0;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.hero-headline .text-gradient-orange {
    background: linear-gradient(90deg, #f97316, #fb923c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subhead {
    font-size: 1.25rem;
    font-weight: 600;
    color: #cbd5e1;
    margin: 0;
    line-height: 1.4;
}

.hero-pdf-text-card {
    background: rgba(15, 23, 42, 0.78);
    border-left: 5px solid #f97316;
    border-radius: 10px;
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.hero-pdf-text-card p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.65;
    color: #e2e8f0;
}

.hero-pdf-text-card strong {
    color: #ffffff;
    font-weight: 700;
}

.hero-courier-badges {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 5px;
}

.courier-pill {
    background: #ffffff;
    border-radius: 8px;
    padding: 7px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s;
}

.courier-pill:hover {
    transform: translateY(-2px);
}

.courier-pill img {
    height: 24px;
    width: auto;
    max-width: 95px;
    object-fit: contain;
    display: block;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.btn-shipping-primary {
    background: #f97316;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 13px 26px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.4);
}

.btn-shipping-primary:hover {
    background: #ea580c;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.55);
}

.btn-shipping-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 13px 24px;
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s;
}

.btn-shipping-secondary:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: #f97316;
    color: #ffffff;
}

.hero-visual {
    flex: 0.95;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-photo-container {
    position: relative;
    width: 100%;
    max-width: 480px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.65), 0 0 0 2px rgba(249, 115, 22, 0.5);
    background: #0f172a;
}

.hero-photo-container img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.hero-photo-container:hover img {
    transform: scale(1.02);
}

.hero-photo-overlay {
    position: absolute;
    bottom: 14px;
    left: 14px;
    right: 14px;
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid rgba(249, 115, 22, 0.5);
    border-radius: 10px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #ffffff;
    backdrop-filter: blur(8px);
}

.overlay-stat {
    font-size: 1.1rem;
    font-weight: 800;
    color: #f97316;
}

.overlay-text {
    font-size: 0.85rem;
    color: #cbd5e1;
    font-weight: 500;
}

/* Stats Counter Bar */
.stats-bar-container {
    background-color: #242f3e;
    border-bottom: 2px solid rgba(249, 115, 22, 0.25);
    padding: 28px 20px;
}

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

.stat-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(249, 115, 22, 0.25);
    border-radius: 12px;
    padding: 18px 14px;
    text-align: center;
    transition: transform 0.2s, background 0.2s;
}

.stat-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.08);
}

.stat-figure {
    font-size: 2.2rem;
    font-weight: 900;
    color: #f97316;
    line-height: 1;
    margin-bottom: 6px;
}

.stat-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #cbd5e1;
}

/* Three Shipping Companies Section */
.carriers-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 65px 20px;
}

.section-head {
    text-align: center;
    margin-bottom: 45px;
}

.section-overtitle {
    color: #ea580c;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.section-heading {
    font-size: 2.3rem;
    font-weight: 900;
    color: #1e293b;
    margin: 0 0 14px 0;
}

.section-lead {
    font-size: 1.15rem;
    color: #64748b;
    max-width: 760px;
    margin: 0 auto;
    line-height: 1.55;
}

.carriers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.carrier-box {
    background: #ffffff;
    border-radius: 18px;
    border: 2px solid #e2e8f0;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
}

.carrier-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.12);
}

/* Card Themes */
.carrier-box.carrier-dhl {
    border-top: 6px solid #FFCC00;
}

.carrier-box.carrier-fedex {
    border-top: 6px solid #4D148C;
}

.carrier-box.carrier-purolator {
    border-top: 6px solid #E31837;
}

.carrier-header {
    padding: 24px 24px 18px 24px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.carrier-logo-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.carrier-logo-img {
    height: 38px;
    max-width: 140px;
    object-fit: contain;
}

.carrier-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.carrier-dhl .carrier-tag {
    background: #fff9db;
    color: #b78103;
    border: 1px solid #ffe066;
}

.carrier-fedex .carrier-tag {
    background: #f3e8ff;
    color: #6b21a8;
    border: 1px solid #d8b4fe;
}

.carrier-purolator .carrier-tag {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fca5a5;
}

.carrier-motto {
    font-size: 1rem;
    font-weight: 700;
    color: #334155;
    margin: 0;
}

.carrier-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.services-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.services-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.45;
}

.services-list li svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

.carrier-dhl .services-list li svg {
    color: #d97706;
}

.carrier-fedex .services-list li svg {
    color: #7c3aed;
}

.carrier-purolator .services-list li svg {
    color: #dc2626;
}

.carrier-best-for {
    margin-top: auto;
    background: #f8fafc;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 0.88rem;
    color: #334155;
    border: 1px solid #e2e8f0;
}

.carrier-best-for strong {
    color: #0f172a;
}

/* Comparison Matrix Section */
.matrix-section {
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    padding: 60px 20px;
}

.matrix-container {
    max-width: 1200px;
    margin: 0 auto;
}

.table-responsive {
    overflow-x: auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.95rem;
}

.comparison-table th,
.comparison-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
}

.comparison-table thead th {
    background-color: #2c3e50;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.05rem;
}

.comparison-table thead th.th-carrier {
    text-align: center;
}

.comparison-table tbody tr:hover {
    background-color: #fffaf0;
}

.comparison-table td.td-center {
    text-align: center;
    font-weight: 500;
}

/* Drop-off & Store Workflow */
.steps-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 65px 20px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 35px;
}

.step-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    padding: 28px 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
}

.step-badge {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f97316;
    color: #ffffff;
    font-weight: 900;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(249, 115, 22, 0.35);
}

.step-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
}

.step-desc {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.55;
    margin: 0;
}

/* Location and Contact Banner */
.info-banner {
    background: linear-gradient(135deg, #2c3e50 0%, #1e293b 100%);
    border-radius: 20px;
    padding: 40px;
    color: #ffffff;
    max-width: 1200px;
    margin: 0 auto 70px auto;
    border: 2px solid #f97316;
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.info-banner-left {
    flex: 1.3;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-banner-title {
    font-size: 2rem;
    font-weight: 900;
    margin: 0;
    color: #ffffff;
}

.info-banner-desc {
    font-size: 1.05rem;
    color: #cbd5e1;
    margin: 0;
    line-height: 1.5;
}

.info-details {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.info-detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #f97316;
}

.info-banner-right {
    flex: 0.7;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}

/* Footer styles */
footer {
    background-color: #2c3e50;
    /* Dark slate blue from reference image */
    border-top: 5px solid #f97316;
    /* Orange dividing bar */
    color: #f97316;
    padding: 8px 15px;
    text-align: center;
    margin-top: auto;
    z-index: 10;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    font-size: 0.95rem;
    color: #f97316;
    padding: 10px 30px 15px 30px;
}

.contact-address {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.contact-phone-email {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.contact-info p {
    margin: 3px 0;
    display: flex;
    align-items: center;
}

.footer-bottom {
    font-size: 0.75rem;
    opacity: 0.8;
    margin-top: 0;
    width: 100%;
    border-top: 1px solid rgba(249, 115, 22, 0.2);
    padding-top: 5px;
    text-align: center;
}

/* Responsive Media Queries */
@media (max-width: 980px) {
    .hero-wrap {
        flex-direction: column;
        gap: 35px;
        text-align: center;
    }

    .hero-content {
        align-items: center;
    }

    .hero-headline {
        font-size: 2.2rem;
    }

    .hero-badge-pill {
        margin: 0 auto;
    }

    .hero-courier-badges {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

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

    .carriers-grid {
        grid-template-columns: 1fr;
        max-width: 550px;
        margin: 0 auto;
    }

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

    .info-banner {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .info-details {
        justify-content: center;
    }

    .info-banner-right {
        align-items: center;
        width: 100%;
    }
}

@media (max-width: 600px) {
    /* Footer Mobile Layout */
    .contact-info {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 15px 10px;
    }

    .contact-address,
    .contact-phone-email {
        text-align: center !important;
        align-items: center;
    }

    .contact-address p,
    .contact-phone-email p {
        justify-content: center !important;
    }

    .contact-address p:last-child {
        padding-left: 0 !important;
    }
}

@media (max-width: 550px) {
    .hero-headline {
        font-size: 1.85rem;
    }

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

    .stat-figure {
        font-size: 1.9rem;
    }

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

    .btn-shipping-primary,
    .btn-shipping-secondary {
        width: 100%;
        justify-content: center;
    }
}