/* Cross Border Shipping Solutions - inner page styles (scoped, does not affect home) */

.cb-page {
    background: #ffffff;
    color: #4b5563;
}

.cb-container {
    max-width: 1290px;
    margin: 0 auto;
    padding: 0 15px;
}

.cb-page-hero {
    position: relative;
    padding: 210px 0 110px;
    background-color: #0A192F;
    background-image: linear-gradient(rgba(17, 25, 78, 0.86), rgba(17, 25, 78, 0.86)), url("../assets/images/h3-9.webp");
    background-size: cover;
    background-position: center;
    text-align: center;
    color: #fff;
}

.cb-page-hero h1 {
    color: #fff;
    font-size: 56px;
    line-height: 1.1;
    margin: 0 0 14px;
    text-transform: capitalize;
}

.cb-page-hero .cb-breadcrumb {
    color: rgba(255, 255, 255, 0.75);
    font-size: 15px;
    margin: 0;
}

.cb-page-hero .cb-breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.cb-page-hero .cb-breadcrumb a:hover {
    color: #C29A4A;
}

.cb-section {
    padding: 90px 0;
}

.cb-section.cb-section-alt {
    background: #f5f7fa;
}

.cb-section-head {
    max-width: 760px;
    margin: 0 auto 50px;
    text-align: center;
}

.cb-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #C29A4A;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.cb-subtitle::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #C29A4A;
    display: inline-block;
}

.cb-section h2 {
    color: #0A192F;
    font-size: 42px;
    line-height: 1.15;
    margin: 0 0 18px;
}

.cb-section h3 {
    color: #0A192F;
    font-size: 22px;
    margin: 0 0 12px;
}

.cb-section p {
    color: #5b6474;
    line-height: 1.8;
    margin: 0 0 16px;
}

.cb-grid {
    display: grid;
    gap: 30px;
}

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

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

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

.cb-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 55px;
    align-items: center;
}

.cb-split img {
    width: 100%;
    height: 100%;
    max-height: 460px;
    object-fit: cover;
    border-radius: 6px;
}

.cb-card {
    background: #fff;
    border: 1px solid #e7eaf0;
    border-radius: 6px;
    padding: 34px 30px;
    transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.cb-card:hover {
    transform: translateY(-6px);
    border-color: transparent;
    box-shadow: 0 18px 45px rgba(17, 25, 78, 0.12);
}

.cb-card .cb-icon {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #0A192F;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 22px;
}

.cb-card p:last-child {
    margin-bottom: 0;
}

.cb-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cb-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: #5b6474;
    line-height: 1.7;
}

.cb-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #C29A4A;
}

.cb-btn {
    display: inline-block;
    background: #C29A4A;
    color: #fff !important;
    padding: 16px 34px;
    border: none;
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s ease;
}

.cb-btn:hover {
    background: #0A192F;
    color: #fff !important;
}

/* Contact */
.cb-info-card {
    background: #fff;
    border: 1px solid #e7eaf0;
    border-radius: 6px;
    padding: 34px 28px;
    text-align: center;
}

.cb-info-card .cb-icon {
    margin: 0 auto 20px;
}

.cb-info-card a {
    color: #5b6474;
    text-decoration: none;
}

.cb-info-card a:hover {
    color: #C29A4A;
}

.cb-form {
    background: #fff;
    border: 1px solid #e7eaf0;
    border-radius: 6px;
    padding: 40px;
}

.cb-field {
    margin-bottom: 20px;
}

.cb-field label {
    display: block;
    font-weight: 600;
    color: #0A192F;
    margin-bottom: 8px;
    font-size: 14px;
}

.cb-field input,
.cb-field select,
.cb-field textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #dfe4ec;
    border-radius: 4px;
    background: #fff;
    color: #0A192F;
    font-size: 15px;
    font-family: inherit;
}

.cb-field input:focus,
.cb-field select:focus,
.cb-field textarea:focus {
    outline: none;
    border-color: #0A192F;
}

.cb-field textarea {
    min-height: 150px;
    resize: vertical;
}

.cb-form-note {
    margin-top: 16px;
    font-size: 14px;
}

.cb-map iframe {
    width: 100%;
    height: 420px;
    border: 0;
    display: block;
    border-radius: 6px;
}

/* Tracking */
.cb-track-card {
    max-width: 760px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e7eaf0;
    border-top: 4px solid #C29A4A;
    border-radius: 6px;
    padding: 40px;
    box-shadow: 0 16px 40px rgba(17, 25, 78, 0.07);
}

.track-block {
    max-width: 1290px;
    margin: 0 auto;
    padding: 0 15px 90px;
}

.track-block table {
    width: 100%;
    border-collapse: collapse;
}

.track-block td,
.track-block th {
    border: 1px solid #dfe4ec;
    padding: 9px 11px;
    text-align: left;
    font-size: 13px;
    color: #4b5563;
}

.track-block thead tr {
    background: #0A192F;
}

.track-block th {
    color: #fff;
    font-weight: 600;
}

.track-block h3,
.track-block h5 {
    font-size: 16px;
    margin: 0 0 14px;
    font-weight: 600;
    color: #0A192F;
}

.track-block .tracking-info,
.track-block .delivery-info {
    margin-bottom: 18px;
    overflow-x: auto;
}

.tracking-data .invalid-record {
    padding: 12px 18px;
    background-color: #c0392b;
    margin-top: 2px;
    border-radius: 4px;
}

.tracking-data .invalid-record h5 {
    font-size: 14px;
    color: #fff;
    margin: 0;
}

.accordion {
    margin-top: 10px;
    background: #fff;
}

.accordion .accordion-header {
    padding: 16px 20px;
    background-color: #0A192F;
    margin-top: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border-radius: 4px;
}

.accordion .accordion-header.active {
    background-color: #C29A4A;
}

.accordion .accordion-header h2 {
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    margin: 0;
}

.accordion .accordion-header h2:nth-child(2) {
    margin-left: auto;
    margin-right: 16px;
}

.accordion .accordion-header .fa_icon {
    color: #fff;
}

.accordion .accordion-body {
    display: none;
    padding: 22px;
    border: 1px solid #dfe4ec;
    border-top: 0;
}

.accordion .accordion-body.active {
    display: block;
}

@media (max-width: 1024px) {
    .cb-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 767px) {
    .cb-page-hero {
        padding: 150px 0 70px;
    }

    .cb-page-hero h1 {
        font-size: 34px;
    }

    .cb-section {
        padding: 60px 0;
    }

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

    .cb-grid-2,
    .cb-grid-3,
    .cb-grid-4,
    .cb-split {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .cb-form,
    .cb-track-card {
        padding: 26px 20px;
    }
}
