.media-section {
    padding: 60px 0 40px;
    background-color: #001F33;
}

.media-hero {
    min-height: 30vh;
    position: relative;
}

.media-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to bottom, rgba(0, 31, 51, 0) 0%, #001F33 100%);
    z-index: 2;
    pointer-events: none;
}

/* Always show hero title inside hero */
.hero-text .hero-main-title {
    display: block;
    opacity: 1;
}

@media (max-width: 1023px) {
    .hero-text {
        left: 12px;
        bottom: 0px;
        z-index: 3;
    }

    .hero-text .hero-main-title {
        font-size: clamp(32px, 8vw, 40px);
        letter-spacing: -1px;
        text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
    }
}

@media (min-width: 1024px) {

    .media-hero {
        min-height: 750px;
    }

    .media-section {
        padding: 80px 0 80px;
    }

    .media-hero::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 486px;
        background: linear-gradient(to bottom, rgba(0, 31, 51, 0) 0%, #001F33 100%);
        z-index: 2;
        pointer-events: none;
    }

}

.sponsor-para {
    line-height: 120%;
    margin-top: 12px;
    margin-bottom: 40px;
}

.header-baseline {
    background-color: #fff;
    color: #000;
    padding: 16px;
}

.header-gold {
    background: var(--Gold, #D3AD6D);
    color: var(--Navy, #001F33);
    text-align: center;

    /* Sub heading/H6 Heavy */
    font-family: Avenir;
    font-size: var(--H6, 20px);
    font-style: normal;
    font-weight: 800;
    line-height: 120%;
    /* 24px */
}

.header-platinum {
    background: var(--Grey, #A6B1B8);
    color: var(--Navy, #001F33);
    text-align: center;

    /* Sub heading/H6 Heavy */
    font-family: Avenir;
    font-size: var(--H6, 20px);
    font-style: normal;
    font-weight: 800;
    line-height: 120%;
    /* 24px */
}

.header-mega {
    background: var(--Blue, #0045E3);
    color: var(--Navy, #001F33);
    text-align: center;

    /* Sub heading/H6 Heavy */
    font-family: Avenir;
    font-size: var(--H6, 20px);
    font-style: normal;
    font-weight: 800;
    line-height: 120%;
    /* 24px */
}

.sponsor-table {
    color: #fff;
    margin: 0;
}

.sponsor-table thead th {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
    border-color: rgba(255, 255, 255, 0.1);
}

.sponsor-table tbody td,
.sponsor-table tbody th {
    border-color: #0045E3;
}

.sponsor-table .section-break td {
    background: rgba(255, 255, 255, 0.05);
    font-weight: 700;
}

.info-banner {
    background: rgba(0, 69, 227, 0.2);
    border: 1px solid rgba(0, 69, 227, 0.4);
    color: #fff;
    padding: 12px 16px;
    border-radius: 10px;
}

.info-banner i {
    color: #6EA2FF;
}

.services-card,
.contact-card {
    /* background: #001529;
    border: 1px solid #1f3a52;
    border-radius: 12px; */
    color: #fff;
}

.services-card .table {
    background: transparent;
    margin-bottom: 0;
    color: #fff;
}

.services-card .table thead th {
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid #D3AD6D;
}

.services-card .table tbody tr+tr td {
    border-top: 1px solid #0045E3;
}

.services-card .table td,
.services-card .table th {
    background: transparent;
}

.services-card h4,
.contact-card h4 {
    font-weight: 800;
}

.services-list tr td {
    padding-top: 14px;
    padding-bottom: 14px;
    padding-left: 0px;
    padding-right: 0px;
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.08); */
}

.services-list tr td:first-child {
    max-width: 200px;
    word-wrap: break-word;
    white-space: normal;
}

.services-list tr td:last-child {
    white-space: nowrap;
}

.total-row td {
    padding-top: 16px;
    padding-left: 0px;
    padding-right: 0px;
    border-top: 1px solid #D3AD6D;
}

.note-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 12px 14px;
    color: rgba(255, 255, 255, 0.85);
}

.note-card i {
    color: #D3AD6D;
}

.form-control-dark {
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.form-control-dark::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-control-dark:focus {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #0045E3;
    box-shadow: none;
    color: #fff;
}

/* New sponsorship table styles */
.sponsor-table-wrapper {
    background: transparent;
    /* border: 1px solid #1f3a52; */
    border-radius: 6px;
    overflow: hidden;
}

.sponsor-table {
    border-collapse: collapse;
}

.sponsor-table-wrapper .table-responsive {
    overflow-x: visible;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 1400px) {
    .sponsor-table-wrapper .table-responsive {
        overflow-x: auto;
    }

    .sponsor-table {
        min-width: 1300px;
    }
}

.sponsor-table thead th {
    border-right: none;
}

.sponsor-table thead th:last-child {
    border-right: none;
}

.sponsor-table tbody td {
    border-top: 1px solid #0045E3;
    border-right: 1px solid #0045E3;
}

.sponsor-table tbody td:last-child {
    border-right: none;
}

.sponsor-new .baseline-col {
    background: #ffffff;
    color: #001529;
    font-weight: 800;
    width: 35%;
    padding: 16px;
    vertical-align: middle;
}

.sponsor-new .gold-col {
    background: #D3AD6D;
    color: #001529;
    padding: 12px;
    vertical-align: middle;
    width: 17.67%;
}

.sponsor-new .platinum-col {
    background: #A6B1B8;
    color: #fff;
    padding: 12px;
    vertical-align: middle;
    width: 23.67%;
}

.sponsor-new .mega-col {
    background: #0045E3;
    color: #fff;
    padding: 12px;
    vertical-align: middle;
    width: 23.67%;
}

@media (min-width: 1024px) and (max-width: 1499px) {

    .sponsor-new th,
    .sponsor-new td {
        padding: 8px !important;
        font-size: 13px !important;
    }

    .sponsor-new .baseline-col {
        font-size: 14px !important;
    }
}

.section-row td {
    background: rgba(255, 255, 255, 0.10);
    padding: 16px;
    border: none !important;
}

.before-section td {
    border-bottom: none !important;
}

.after-section td {
    border-top: none !important;
}

.body-row td {
    padding: 16px;
    background: transparent;

}

.last-row td {
    border-bottom: none !important;
}

.body-cell {
    background: transparent;
    font-size: 14px;
}

.mega-cell {
    background: rgba(0, 85, 255, 0.05);
    position: relative;
}

.mega-cell::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(0, 85, 255, 0.2);
}

.mega-cell::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: #0045E3;
    transform: translateX(-0.5px);
    pointer-events: none;
}

.xsmall {
    font-size: 14px;
}

.info-banner-solid {
    background: #0045E3;
    color: #fff;
    padding: 16px;
    border-radius: 4px;
    margin-top: 80px;
    align-items: center;
}

@media (max-width: 1023px) {
    .info-banner-solid {
        margin-top: 40px;
        align-items: start;
    }
}

.info-banner-solid a {
    text-decoration: none;
}

.info-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ffffff;
    opacity: 0.6;
}

.mega-split-grid {
    display: flex;
    align-items: stretch;
}

.mega-item {
    flex: 1;
    padding: 16px;
}

.with-divider {
    border-left: none;
}

.checkbox-input {
    width: 14px;
    height: 14px;
    border: 1.5px solid rgba(255, 255, 255, 0.85);
    border-radius: 2px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    display: inline-block;
    position: relative;
    background-color: transparent;
    transition: all 0.2s ease;
}

.checkbox-input:checked {
    background-color: #0045E3;
    border-color: #0045E3;
}

.checkbox-input:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.checkbox-input:hover {
    border-color: #0045E3;
    background-color: rgba(0, 69, 227, 0.1);
}

/* Section spacing */
.contact-section {
    padding: 20px 0 80px;
    background-color: #001F33;
}

/* Form Styles */
.contact-form .form-control,
.contact-form .form-select {
    background-color: var(--white-10, rgba(255, 255, 255, 0.10));
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 16px 20px;
    border-radius: 4px;
    font-size: 16px;
    font-family: 'Avenir', sans-serif;
}

/* Force white chevron for Bootstrap selects on dark background */
.contact-form .form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-size: 16px 12px;
}

.contact-form .form-floating {
    margin-bottom: 8px;
}

.contact-form .form-control::placeholder {
    color: transparent;
}

.contact-form .form-floating label {
    color: #fff;
    padding: 16px 20px;
    transition: all 0.3s ease-in-out;
}

.contact-form .form-floating .select-label {
    color: #fff;
    padding: 30px 20px;
    transition: all 0.3s ease-in-out;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--Gold, #D3AD6D);
    box-shadow: none;
    color: #fff;
}

.contact-form .form-control:hover,
.contact-form .form-select:hover {
    border-color: #0045E3;
    background-color: rgba(0, 69, 227, 0.1);
}

/* .contact-form .form-floating>.form-select {
    padding-top: 20px !important;
    padding-bottom: 4px !important;
} */

.contact-form .form-floating>.form-control:focus~label,
.contact-form .form-floating>.form-control:not(:placeholder-shown)~label,
.contact-form .form-floating>.form-select:focus~label,
.contact-form .form-floating>.form-select:not([value=""]):not([value="0"])~label {
    color: #fff;
    opacity: 1;
    background: transparent !important;
    padding: 0 20px !important;
    transform: scale(0.8) translateY(+0.5rem) translateX(0.15rem);
    transition: all 0.3s ease-in-out;
}

.contact-form .form-floating>.form-control:focus~label::after,
.contact-form .form-floating>.form-control:not(:placeholder-shown)~label::after,
.contact-form .form-floating>.form-select~label::after {
    background-color: transparent !important;
    content: none !important;
}

.contact-form option {
    background-color: #001F33;
    color: #fff;
}

.contact-form textarea {
    resize: none;
    min-height: 200px;
}

/* Image Placeholder Styling */
.contact-placeholder-img {
    background: lightgray 50%;
    width: 100%;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-top: 16px;
}

.contact-placeholder-img i {
    font-size: 4rem;
    color: #001F33;
    z-index: 2;
}

/* Typography & Layout adjustments for mobile */
.contact-heading {
    font-size: 32px;
    font-weight: 400;
    /* line-height: 1.2; */
    /* margin-bottom: 24px; */
}

.contact-info-text {
    font-size: 20px;
    /* line-height: 1.5; */
    color: rgba(255, 255, 255, 0.8);
    /* margin-bottom: 40px; */
}

@media (max-width: 1023px) {
    .contact-heading-mobile {
        font-size: 32px;
        display: block;
        font-weight: 400;
    }

    .contact-heading-desktop {
        display: none;
    }
}

@media (min-width: 1024px) {
    .contact-heading {
        font-size: 46px;
    }

    .contact-heading-desktop {
        font-size: 46px;
        display: block;
    }

    .contact-heading-mobile {
        display: none;
    }

    .contact-section {
        padding: 0px 0 80px;
    }

    .contact-placeholder-img {
        height: 98%;
        margin-top: 0;
    }

    .contact-image-wrapper {
        height: 89%;
    }
}

.contact-form {
    padding: 16px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

/* Mobile improvements for sponsor table */
@media (max-width: 768px) {
    .sponsor-table {
        min-width: 1100px;
    }

    .sponsor-table thead th,
    .sponsor-table tbody td {
        padding: 14px 16px;
        white-space: normal;
        word-break: normal;
    }

    /* Ensure each column has breathing room */
    .sponsor-table thead th:nth-child(1),
    .sponsor-table tbody td:nth-child(1) {
        min-width: 320px;
    }

    .sponsor-table thead th:nth-child(2),
    .sponsor-table tbody td:nth-child(2),
    .sponsor-table thead th:nth-child(3),
    .sponsor-table tbody td:nth-child(3),
    .sponsor-table thead th:nth-child(4),
    .sponsor-table tbody td:nth-child(4) {
        min-width: 220px;
    }

    .small {
        font-size: 12px;
        line-height: 1.3;
    }

    .xsmall {
        font-size: 11px;
        line-height: 1.25;
    }
}