.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-center {
    text-align: center;
}

.text-dark {
    color: #111;
}

.text-primary {
    color: #9e0c12 !important;
}

.text-gray {
    color: #666;
}


.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-btn-primary {
    background-color: #9e0c12;
    color: white;
    padding: 0 24px;
    height: 46px;
    border-radius: 4px;
    text-decoration: none;
    font: 600 15px/1.5 'Roboto', sans-serif;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    transition: background-color 0.3s ease;
}

.header-btn-primary:hover {
    background-color: #7a0a0e;
    color: white;
}

.header-btn-secondary {
    color: #9e0c12;
    border: 1px solid #9e0c12;
    padding: 0 24px;
    height: 46px;
    border-radius: 4px;
    text-decoration: none;
    font: 600 15px/1.5 'Roboto', sans-serif;
    background-color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.header-btn-secondary:hover {
    background-color: #9e0c12;
    color: white;
}


.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 140px;
    background-color: #fff;
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font: 700 35px/1.2 'Roboto', sans-serif;
    margin-bottom: 10px;
    color: #111;
}

.hero-title strong {
    color: #9e0c12;
    font-weight: 700;
}

.hero-subtitle {
    font: 400 20px/1.5 'Roboto', sans-serif;
    margin-top: 20px;
    color: #555;
}

.hero-cta-container {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 12px;
    align-items: center;
}

.hero-cta-primary {
    background-color: #9e0c12;
    color: white !important;
    border-radius: 4px;
    text-decoration: none;
    min-width: 170px;
    padding: 0 28px;
    height: 54px;
    font: 600 16px/1.5 'Roboto', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    transition: background-color 0.3s ease;
}

.hero-cta-primary:hover {
    background-color: #7a0a0e;
    color: white;
}

.hero-cta-secondary {
    color: #9e0c12;
    border: 1px solid #9e0c12;
    border-radius: 4px;
    text-decoration: none;
    min-width: 170px;
    height: 54px;
    padding: 0 28px;
    font: 600 16px/1.5 'Roboto', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    transition: all 0.3s ease;
}

.hero-cta-secondary:hover {
    background-color: #9e0c12;
    color: white;
}

.hero-img {
    padding-top: 50px;
}


.cta-card-section {
    padding: 60px 0;
    background-color: white;
}

.marquee-section {
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    gap: 40px;
}

.marquee-text {
    text-align: center;
    color: #777;
    margin: 0px;
    font: 400 16px/1.5 'Roboto', sans-serif;
}

.marquee-wrapper {
    display: flex;
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 0;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-content {
    display: flex;
    width: fit-content;
    animation: marquee-scroll 100s linear infinite;
    gap: 30px;
}

.marquee-content img {
    height: 200px;
    width: 135px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        /*
        transform: translateX(-33.333%);
        */
        transform: translateX(-100%);
    }
}

.marquee-wrapper:hover .marquee-content {
    animation-play-state: paused;
}


.gradient-cta-section {
    min-height: 500px;
    width: 100%;
    background: linear-gradient(135deg, #c73333 0%, #77090f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
}

.gradient-cta-title {
    background: linear-gradient(187.03deg, #FFFFFF 45.2%, #999999 97.09%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font: 700 clamp(60px, 6vw, 140px)/1.1 'Roboto', sans-serif;
    letter-spacing: 2px;
    margin: 0;
    max-width: 900px;
}




.details-section {
    background-color: white;
    padding: 0;
}

.details-row {
    position: sticky;
    /* top: 65px; */
    height: calc(100vh - 150px);
    background-color: white;
    display: flex;
    align-items: center;
    margin-bottom: 0;
    z-index: 1;
}

.details-row:nth-child(2) {
    z-index: 2;
}

.details-row:nth-child(3) {
    z-index: 3;
}

.details-title {
    font: 600 42px/1.2 'Roboto', sans-serif;
    margin-bottom: 24px;
}

.details-description {
    font: 400 17px/1.8 'Roboto', sans-serif;
    color: #666;
    max-width: 500px;
}

@media (max-width: 991px) {
    .details-row {
        position: relative;
        height: auto;
        padding: 50px 0;
    }
}




.cta-card {
    min-height: 400px;
    width: 100%;
    background: linear-gradient(135deg, #c73333 0%, #77090f 100%);
    /*
    background: linear-gradient(90deg, #F03737 0%, #d9252a 100%);
    */
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 12px;
    padding: 60px 80px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.cta-card-title {
    color: white;
    font: 700 32px/1.2 'Roboto', sans-serif;
    margin-bottom: 20px;
}

.cta-card-description {
    color: white;
    font: 400 18px/1.6 'Roboto', sans-serif;
    margin-bottom: 24px;
}

.cta-card-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cta-card-btn-primary {
    color: #d9252a;
    background-color: white;
    padding: 0 20px;
    height: 50px;
    border-radius: 4px;
    text-decoration: none;
    font: 600 15px/1.5 'Roboto', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-card-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    background-color: white;
    color: #c01c21;
}

.cta-card-btn-secondary {
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 0 20px;
    height: 50px;
    border-radius: 4px;
    text-decoration: none;
    font: 600 15px/1.5 'Roboto', sans-serif;
    background-color: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.cta-card-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
}




.track-section {
    background-color: #fff;
    padding: 0 0 40px;
}

.track-title {
    font: 600 42px/1.2 'Roboto', sans-serif;
    margin-bottom: 24px;
}

.track-description {
    font: 400 17px/1.7 'Roboto', sans-serif;
    color: #666;
    margin-bottom: 16px;
    max-width: 500px;
}

.track-description-italic {
    font: italic 400 17px/1.7 'Roboto', sans-serif;
    color: #666;
    max-width: 500px;
}


.contact-section {
    margin-top: 80px;
    padding: 0px 0;
}

.contact-title {
    font: 700 36px/1.2 'Roboto', sans-serif;
    color: #111;
    margin-bottom: 16px;
}

.contact-description {
    color: #666;
    font: 400 16px/1.6 'Roboto', sans-serif;
    margin-bottom: 32px;
    max-width: 400px;
}

.contact-section-label {
    font: 700 13px/1.5 'Roboto', sans-serif;
    color: #111;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.contact-info {
    margin-bottom: 8px;
    color: #333;
    font: 400 15px/1.5 'Roboto', sans-serif;
}

.contact-info i {
    color: #9e0c12;
    margin-right: 10px;
}

.contact-form-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.08);
}

.contact-form-title {
    font: 700 28px/1.2 'Roboto', sans-serif;
    color: #111;
    margin-bottom: 8px;
}

.contact-form-subtitle {
    color: #888;
    font: 400 15px/1.5 'Roboto', sans-serif;
    margin-bottom: 28px;
}

.contact-form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font: 400 15px/1.5 'Roboto', sans-serif;
    outline: none;
}

.contact-form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.contact-form-submit {
    width: 100%;
    background-color: #9e0c12;
    color: #fff;
    border: none;
    height: 54px;
    border-radius: 6px;
    font: 600 16px/1.5 'Roboto', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.3s ease;
}

.contact-form-submit:hover {
    background-color: #7a0a0e;
}


@media (max-width: 991px) {

    .header-actions {
        display: none !important;
    }

    .hero-section {
        padding-top: 100px !important;
        padding-bottom: 40px !important;
        min-height: auto !important;
        height: auto !important;
    }

    .hero-title {
        font-size: 48px !important;
        line-height: 1.1 !important;
        margin-bottom: 20px;
        font-weight: 700 !important;
    }

    .hero-title strong {
        display: block;
        width: 100%;
    }

    .hero-subtitle {
        font-size: 16px !important;
        padding: 0 20px;
        line-height: 1.5 !important;
        margin-top: 15px;
    }

    .hero-cta-container {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 25px !important;
    }

    .hero-img {
        padding-top: 30px;
    }

    .gradient-cta-section {
        min-height: 200px !important;
        padding: 50px 20px !important;
    }

    .gradient-cta-title {
        font-size: 48px !important;
        line-height: 1.1 !important;
    }

    marquee img {
        height: 100px !important;
        width: auto !important;
        margin-right: 15px !important;
    }

    .marquee-section {
        padding: 40px 0;
    }

    .details-section {
        padding: 50px 0 !important;
    }

    .details-row {
        margin-bottom: 0px !important;
    }

    .details-title {
        font-size: 32px !important;
        margin-bottom: 16px !important;
    }

    .details-description {
        font-size: 15px !important;
        line-height: 1.6 !important;
    }

    .cta-card {
        flex-direction: column;
        padding: 40px 30px;
        text-align: center;
    }

    .cta-card-buttons {
        justify-content: center;
        flex-wrap: nowrap;
    }

    .cta-card-section {
        padding: 40px 0;
    }

    .flow-wrapper {
        flex-direction: column;
    }
    .arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }
}

@media (max-width: 768px) {

    .details-section .row {
        flex-direction: column;
        text-align: center;
    }

    .details-section .col-lg-6 {
        margin-bottom: 30px;
    }

    .details-title,
    .details-description,
    .track-title,
    .track-description,
    .track-description-italic {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-img img {
        width: 100%;
        max-width: 400px !important;
        margin-top: 20px;
    }

    .hero-cta-container {
        flex-direction: row;
        gap: 10px;
        padding: 0 10px;
    }

    .hero-cta-primary,
    .hero-cta-secondary {
        min-width: 140px !important;
        height: 48px !important;
        font-size: 15px !important;
        padding: 0 15px !important;
    }

    .gradient-cta-section {
        min-height: 120px !important;
        padding: 30px 15px !important;
    }

    .gradient-cta-title {
        font-size: 32px !important;
        line-height: 1.2 !important;
    }

    .track-title,
    .details-title {
        font-size: 28px !important;
        margin-bottom: 15px !important;
    }

    .track-description,
    .details-description,
    .track-description-italic {
        font-size: 16px !important;
        padding: 0 10px;
    }

    .details-row .col-lg-5,
    .details-row .col-lg-6 {
        margin-bottom: 40px !important;
    }

    .footer {
        padding: 40px 20px !important;
        text-align: center;
    }

    .footer-top {
        flex-direction: column;
        align-items: center !important;
        gap: 40px !important;
    }

    .footer-col,
    .footer-cta {
        width: 100%;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .contact-form-row {
        flex-direction: column;
        gap: 15px;
    }

    .contact-form-card {
        padding: 30px 20px !important;
    }

    #features-timeline {
        overflow: hidden;
    }

    .comm-img-mobile {
        width: 200% !important;
        max-width: none !important;
        margin-left: -50%;
    }
}

@media (max-width: 480px) {

    .hero-title {
        font-size: 36px !important;
    }

    .hero-cta-primary,
    .hero-cta-secondary {
        font-size: 15px !important;
        padding: 0 10px !important;
    }

    .cta-card-title {
        font-size: 24px;
    }

    .cta-card-description {
        font-size: 16px;
    }


}


@media (max-width: 991px) {

    #header .logo img {
        height: 55px !important;
        width: auto !important;
        max-height: 55px !important;
        padding: 0 !important;
    }

    /* Sleeker, thinner hamburger menu */
    .mobile-nav-toggle {
        position: relative !important;
        right: auto !important;
        top: auto !important;
        font-size: 26px !important;
        color: #9e0c12 !important;
        border: none !important;
        background: none !important;
        padding: 0 !important;
        line-height: 1 !important;
    }

    .mobile-nav-toggle i {
        font-weight: 300 !important;
        font-size: 26px !important;
    }

    /* Ensure header container alignment */
    #header .container {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        height: 50px !important;
    }
}