 @font-face {
        font-family: 'Futura Std Medium';
        font-style: normal;
        font-weight: normal;
        src: local('Futura Std Medium'), url('assets/fonts/FuturaStdMedium.woff') format('woff');
    }

    * {
        box-sizing: border-box;
        padding: 0;
        margin: 0;
        font-family: 'Futura Std Medium';
    }

    :root {
        --primary-color: #b22222;
        --secondary-color: #444547;
        --bg-light: #f5f5f5;
        --text-white: #ffffff;
    }

    .nav,
    .footer {
        background-color: var(--primary-color);
        padding: 12px 0;
    }

    .footer p {
        font-size: 17px;
        color: var(--text-white);
        font-weight: 600;
        letter-spacing: 2px;
    }

    .pt-89 {
        padding-top: 89px;
    }

    .text-charcoal {
        color: var(--secondary-color);
    }

    .bg-banner {
        background: url('assets/banner.jpg') center/cover no-repeat;
    }

    .items-body {
        display: flex;
        justify-content: space-around;
        align-items: center;
        flex-wrap: wrap;
        margin: 20px;
        margin-bottom: 40px;
    }

    .item {
        text-align: center;
        margin: 10px;
    }

    .item img {
        width: 155px;
        height: 130px;
        margin-bottom: 30px;
    }

    .item h3 {
        font-size: 20px;
        color: var(--primary-color);
        font-weight: 700;
        letter-spacing: 2px;
        margin-bottom: 18px;
    }

    /* Button Styles */
    .track-btn,
    .check-btn,
    .policyVerificationForm .verify-btn {
        background-color: var(--primary-color);
        color: var(--text-white);
        padding: 10px 45px;
        border: none;
        cursor: pointer;
        border-radius: 4px;
        letter-spacing: 2px;
    }

    /* Note and Link Styling */
    .note,
    .note a {
        font-size: 14px;
        color: var(--primary-color);
        font-weight: 500;
        text-align: center;
        text-decoration: none;
    }

    .check-btn a {
        color: var(--text-white) !important;
        text-decoration: none !important;
    }

   .check-btn a:hover {
        color: var(--primary-color);
    }

    /* Modal Styling */
    .modal {
        display: none;
        position: fixed;
        z-index: 1;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.4);
        padding-top: 60px;
    }

    .modal-content {
        background-color: #fff;
        margin: 5% auto;
        padding: 20px;
        border: 1px solid #888;
        width: 80%;
        max-width: 680px;
        position: relative;
    }

    .close-btn {
        color: #aaa;
        font-size: 28px;
        font-weight: bold;
        position: absolute;
        top: 16px;
        right: 25px;
        cursor: pointer;
    }

    #trackingModal .modal-content {
        width: 90%;
        /* Increase width for tracking modal */
        max-width: 1000px;
        /* Increase max width for tracking modal */
        padding: 30px;
    }

    /* Custom modal adjustments for mobile */
    @media (max-width: 576px) {
        #trackingModal .modal-content {
            max-width: 95%;
            margin: 1rem auto;
        }

        /* Adjust table layout for mobile */
        .tracking-info th,
        .tracking-info td {
            font-size: 14px;
            /* Smaller font for readability */
        }

        /* Make rows stack vertically on small screens */
        .tracking-info th,
        .tracking-info td {
            display: block;
            width: 100%;
            text-align: left;
            padding: 0.5rem 0;
            border: none;
        }

        /* Add some separation between rows */
        .tracking-info tr {
            border-top: 1px solid #ddd;
            padding-top: 0.5rem;
            padding-bottom: 0.5rem;
        }
    }

    .close-btn:hover,
    .close-btn:focus {
        color: black;
    }

    /* Form Styling */
    .policyVerificationForm {
        display: flex;
        flex-direction: column;
    }

    .policyVerificationForm label {
        margin-bottom: 5px;
    }

    .policyVerificationForm input {
        margin-bottom: 15px;
        padding: 8px;
        font-size: 16px;
        border: 1px solid #ccc;
        border-radius: 8px;
        outline: none;
    }

    /* Table Styles */
    .tracking-info {
        width: 100%;
        border-collapse: collapse;
        margin-top: 20px;
    }

    .tracking-info th,
    .tracking-info td {
        padding: 8px 12px;
        border: 1px solid #ddd;
        text-align: left;
    }

    .tracking-info th {
        background-color: var(--bg-light);
        color: var(--primary-color);
        font-weight: 700;
    }

    .tracking-info td {
        color: var(--secondary-color);
    }

    .error-class {
        color: red;
        margin-top: -12px;
        font-size: smaller;
    }

    .overlay-loader {
        position: fixed;
        width: 100%;
        height: 100%;
        left: 0;
        z-index: 999999 !important;
        background: rgba(0, 0, 0, 0.77);
        top: 0
    }

    .lds-ellipsis {
        display: inline-block;
        position: relative;
        width: 64px;
        height: 64px;
        z-index: 99999 !important;
        position: fixed !important;
        left: 50%;
        top: 50%;
        margin-left: -32px;
        margin-top: -32px
    }

    .lds-ellipsis div {
        position: absolute;
        top: 27px;
        width: 11px;
        height: 11px;
        border-radius: 50%;
        background: white;
        animation-timing-function: cubic-bezier(0, 1, 1, 0)
    }

    .lds-ellipsis div:nth-child(1) {
        left: 6px;
        animation: lds-ellipsis1 .6s infinite
    }

    .lds-ellipsis div:nth-child(2) {
        left: 6px;
        animation: lds-ellipsis2 .6s infinite
    }

    .lds-ellipsis div:nth-child(3) {
        left: 26px;
        animation: lds-ellipsis2 .6s infinite
    }

    .lds-ellipsis div:nth-child(4) {
        left: 45px;
        animation: lds-ellipsis3 .6s infinite
    }

    @keyframes lds-ellipsis1 {
        0% {
            transform: scale(0)
        }

        100% {
            transform: scale(1)
        }
    }

    @keyframes lds-ellipsis3 {
        0% {
            transform: scale(1)
        }

        100% {
            transform: scale(0)
        }
    }

    @keyframes lds-ellipsis2 {
        0% {
            transform: translate(0, 0)
        }

        100% {
            transform: translate(19px, 0)
        }
    }

    ::-webkit-scrollbar {
        width: 11px;
    }

    ::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.1);
        border-radius: 10px;
    }

    ::-webkit-scrollbar-track {
        box-shadow: none;
        border-radius: 10px;
        background: #f1f1f1;
    }