@media (max-width: 1200px) {
    .global-exchange .global-exchange-cards .col {
        flex: 0 0 33%;
        margin-top: 1.5rem;
    }

    .digital-partners .digital-partners-logos {
        max-width: 100%;
    }

    .header .nav-links {
        gap: 1.5rem;
    }
}


@media (max-width: 991.98px) {

    .section-padding {
        padding: 3rem 0;

    }

    h1 {
        font-size: 3.5rem;
    }



    .section-bottom-btn {
        flex-wrap: wrap;
    }

 /* .header,
    .header.headerfix {
        padding: 1rem 0.8rem;
    } */
 .header{ backdrop-filter: none;}
    .header .logo img {
        max-height: 3rem;
    }

    .header .nav-links {
        display: none;
    }

    .header .nav-actions {
        display: none;
    }

    .header .nav-links.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--BlackColor);
        /* Changed to Black for dark theme */
        /* z-index: 998; */
        padding: 2rem;
        justify-content: center;
        align-items: center;
        gap: 1rem;
        overflow-y: auto;z-index: 1000; 
        animation: fadeInMenu 0.4s ease forwards;
    }

    @keyframes fadeInMenu {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Style links for full screen */
    .header .nav-links a:not(.btn) {
        font-size: 1.2rem;
        text-align: center;
        border-bottom: none;
        font-weight: 400;
        color: var(--WhiteColor);
        /* Changed to White for visibility */
        padding: 0.5rem 0;
        text-transform: uppercase;
        letter-spacing: 0.1rem;
    }

    .header .nav-links a:hover:not(.btn) {
        color: var(--PrimaryColor);
    }

    .header .nav-links .btn {
        font-size: 1.1rem;
        padding: 0.5rem 2rem;

    }

    /* Ensure toggle is above the menu */
    .header .mobile-toggle {
        display: block;
        position: relative;
        z-index: 1000;
    }

    .hero::before {
        width: 50%;
        height: 50%;
        top: 30%;
    }




    .hero-section {
        padding-top: 9rem;
        padding-bottom: 2rem;
        min-height: auto;
    }

    .hero-actions {
        flex-wrap: wrap;
        margin: 1rem 0;
    }

    .hero-section .hero-title {
        font-size: 3.5rem;
        margin-bottom: 2rem;
    }

    .hero-section .hero-right-content {
        margin-top: 1rem;
    }




    .about-section .about-title {
        font-size: 2.5rem;
    }

    .about-section .about-features-list {
        margin-top: 2rem;
    }
    .about-section .feature-title{font-size: 1rem;}

    /* Engine Responsive */
    .engine-section .row {
        justify-content: center;
    }

    .engine-section .col {
        flex: 0 0 33%;
    }

    .engine-section .engine-title {
        font-size: 2.25rem;
        margin-bottom: 2rem;
    }

    .engine-glow-card {
        min-height: auto;
        padding: 2rem 1rem;
    }

    /* Founders Responsive */
    .founders-section .founders-title {
        font-size: 3rem;
        margin-bottom: 2.5rem;
    }

    .founders-section .founders-desc {
        margin-top: 3rem;
    }

    /* The Cut Responsive */
    .the-cut-section .cut-title {
        font-size: 2.5rem;
        margin-bottom: 3rem;
    }

    .cut-logo-img {
        max-height: 8rem;
        margin-bottom: 2rem;
    }

    .the-cut-section .cut-desc,
    .cta-section .cta-section-text {
        font-size: 1rem;
        max-width: 100%;
    }

    .season .section-title {
        font-size: 9.5vw;
        margin-bottom: 2rem;
    }

    .founders-section .founders-desc {
        font-size: 1rem;
    }

    .gallery-slider .masonry-grid {
        grid-auto-rows: 140px;
    }

    .the-cut-highlight-section .hosts-list {
        flex-wrap: wrap;
    }

    .the-cut-highlight-section .hosted-by {
        margin-top: 1rem;
    }

    .deal-flow .deal-flow-arrow {
        display: none;
    }

    .life-app .life-app-screens .app-screen-item {
        max-height: 100%;
    }

    .life-app .life-app-screens .app-screen-item img {
        max-width: 100%;
    }

    .founders-presenting .founders-presenting-card {
        min-height: inherit;
        height: 100%;
        display: block;
    }

    .tickets-access .tickets-access-cards {
        margin-top: 3rem;
    }

    .video-section .video-section-play {
        width: 2.2rem;
        height: 2.2rem;
    }

    .vote-section .section-peragraph {
        max-width: 100%;
    }

    .vote-section .section-heading {
        margin-bottom: 3rem;
    }

    .vote-section .nav {
        margin-bottom: 2rem;
    }

    .founder-life-section .founder-img-wrapper {
        margin: 3rem 0;
    }

    .sponsors-hero-section .sponsors-hero-details {
        max-width: 100%;
        margin-top: 2rem;
    }

    .sponsors-hero-section {
        min-height: inherit;
    }


    .sponsors-hero-title {
        margin-bottom: 2rem;
    }

    .sponsors-hero-details {
        margin-top: 3rem;
    }

    .sponsors-hero-btn {
        margin-top: 3rem !important;
    }

    .sponsor-desc-main {
        max-width: 100%;
    }

    .key-sponsor-section .key-sponsor-logo {
        width: 100%;
        max-width: 40%;
        margin: 1rem auto 0 0;
    }

    .arts-partners .arts-partners-content {
        max-width: 100%;
    }

    .sponsorship-section .tier-price {
        font-size: 2.1rem;
    }

    .sponsorship-section .btn-outline-primary {
        white-space: pre;
    }

    .digital-partners .digital-partners-label {
        margin: 2rem 0;
    }

    .sponsors-hero-section .hero-globe-bg {
        transform: translate(-50%, -50%) !important;
    }

    .founding-sponsor-section .logo-img img {
        max-height: 6rem;
    }

    .founding-sponsor-section .sponsor-desc-side {
        margin-top: 2rem;
    }

    .key-sponsor-section .sponsor-detail-title {
        margin-bottom: 2rem !important;
    }

    .key-sponsor-section .pill-intro {
        margin-bottom: 1rem !important;
    }


}



@media (max-width: 767px) {


    .miami-arrow-img {
        display: none;
    }

    .btn {
        padding: 0.4rem 1rem;
    }

    .btn svg {
        width: 1rem;
    }

    .engine-section .col {
        flex: 0 0 50%;
    }

    .audience-section .audience-card {
        padding: 1rem;
    }

    .section-title br {
        display: none;
    }

    .miami-world-section .section-peragraph {
        margin: 1rem 0;
    }

    .audience-section .section-title {
        margin-bottom: 2rem !important;
    }

    .season {
        padding-bottom: 0;
    }


    .gallery-slider .masonry-grid {
        grid-template-columns: repeat(6, 1fr);
        grid-auto-rows: 80px;
    }

    .gallery-slider .grid-item.tall {
        grid-row: auto;
    }

    .gallery-slider .grid-item.wide {
        grid-column: auto;
    }



    .schedule .schedule-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
    }

    .schedule .schedule-time {
        width: auto;
        font-weight: 500;
    }


    .sponsors-hero-title {
        font-size: 2.2rem;
    }

    .hero-globe-bg {
        width: 100%;
    }

    .sponsors-feature-card {
        padding: 4rem 2rem;
        min-height: auto;
        justify-content: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }




    .keystone-title {
        font-size: clamp(2.2rem, 8vw, 3.5rem);
    }

    .sponsor-detail-title {
        font-size: 2.5rem;
    }

    .pill-intro {
        font-size: 1.1rem;
        margin-bottom: 2rem !important;
    }

    .founding-sponsor-section .sponsor-logo-detail,
    .key-sponsor-section .key-sponsor-logo {
        text-align: center !important;
        margin-top: 3rem;
    }

    .sponsor-main-logo,
    .utah-logo-img {
        max-height: 10rem;
    }

    .sponsor-desc-side {
        text-align: center;
        margin-top: 2rem !important;
    }

    .ticker-info {
        justify-content: center;
        margin-top: 2rem;
    }

    .sundance-ventures .sundance-ventures-title {
        font-size: 2.2rem;
    }

    .sundance-ventures .sundance-ventures-logos {
        grid-template-columns: repeat(2, 1fr);
    }

    .sponsorship-title {
        font-size: 2.8rem;
    }

    .sponsorship-table-wrapper {
        margin-top: 2rem;
    }

    .tier-price {
        font-size: 1.5rem;
    }

    .sponsorship-cell {
        padding: 1rem 0.5rem;
    }

    .sponsorship-cell.feature-cell {
        font-size: 0.75rem;
        min-width: 150px;
    }

    .gold-sponsors .gold-sponsors-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .founders-stewards .founder-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        padding: 2rem 1rem;
        margin: 2rem 0;
    }


    .founders-stewards .founder-content {
        padding: 0;
    }

    .founders-stewards .founder-row.reverse {
        flex-direction: column;
    }

    .founders-stewards .founder-image {
        order: 1;
    }

    .founders-stewards .founder-row:before {
        display: none;
    }

    .founders-stewards .founder-row {
        background: linear-gradient(to top, transparent, #e1ac4c38, transparent);
    }

    .founders-stewards .founder-row.reverse .founder-content {
        text-align: left;
    }

    .founding-sponsor-section .sundance-strategies-logo {
        flex-wrap: wrap;
    }

    .founding-sponsor-section .sundance-strategies-logo .section-title {
        font-size: 2rem;
    }
.pitch-card .card-content p{min-height: inherit;}
}

@media (max-width: 567px) {
    .engine-section .col {
        flex: 0 0 100%;
    }

    .video-modal-dialog .modal-dialog {
        width: 88%;
        margin: auto;
    }

    .global-exchange .global-exchange-cards .col {
        flex: 0 0 50%
    }

    .video-modal-dialog .modal-dialog {
        width: 88%;
        margin: auto;
    }
}