/* assets/css/landing_flyer.css */
:root {
    --flyer-navy: #002060;
    --flyer-gold: #C5A059;
    --flyer-green-header: #C6E0B4;
    --flyer-blue-row: #DEEAF6;
    --flyer-border: #8497B0;
}

.flyer-banner-top {
    background: linear-gradient(to right, var(--flyer-navy) 50%, var(--flyer-gold) 100%);
    color: white;
    padding: 20px 15px;
    text-align: center;
    border-bottom: 5px solid var(--flyer-gold);
}

.flyer-banner-top h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    letter-spacing: 3px;
    margin-bottom: 0;
    text-transform: uppercase;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.1);
}

.flyer-banner-top .sub-title {
    background: var(--flyer-gold);
    display: inline-block;
    padding: 6px 30px;
    font-size: 1.5rem;
    font-weight: 900;
    color: #000;
    margin-top: -10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transform: rotate(-1deg);
}

.flyer-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 20px;
    background: #fff;
    border-bottom: 3px solid var(--flyer-navy);
    font-family: 'Outfit', sans-serif;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    align-items: center;
}

.flyer-requirements-box {
    border: 2px solid var(--flyer-navy);
    padding: 20px;
    background: #f8fafc;
    box-shadow: 8px 8px 0px var(--flyer-gold);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.flyer-requirements-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--flyer-gold);
}

.flyer-matrix-wrapper {
    position: relative;
    margin-top: 30px;
    border: 2px solid #000;
    background: #fff;
}

.flyer-matrix-wrapper::after {
    content: "Scroll to view more \2192";
    position: absolute;
    bottom: -25px;
    right: 0;
    font-size: 0.75rem;
    color: var(--flyer-navy);
    font-weight: 700;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.5;
        transform: translateX(0);
    }

    50% {
        opacity: 1;
        transform: translateX(5px);
    }

    100% {
        opacity: 0.5;
        transform: translateX(0);
    }
}

@media (min-width: 992px) {
    .flyer-matrix-wrapper::after {
        display: none;
    }
}

.flyer-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
}

.flyer-table th {
    background-color: var(--flyer-green-header) !important;
    color: #000 !important;
    border: 1px solid #000;
    padding: 10px;
    text-transform: none;
    font-weight: 800;
}

.flyer-table td {
    border: 1px solid #000;
    padding: 8px 12px;
    color: #000;
}

.flyer-table tr:nth-child(even) {
    background-color: var(--flyer-blue-row);
}

.flyer-table .sticky-col {
    position: sticky;
    left: 0;
    background-color: inherit;
    z-index: 2;
    border-right: 2px solid #000;
    font-weight: 700;
}

.flyer-table thead .sticky-col {
    background-color: var(--flyer-green-header);
    z-index: 3;
}

.flyer-footer {
    margin-top: 40px;
    text-align: center;
}

.flyer-social-bar {
    background: var(--flyer-navy);
    color: white;
    padding: 15px;
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.sy-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    padding: 15px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.sy-tabs-nav::-webkit-scrollbar {
    display: none;
}

.sy-tab-btn {
    background: #fff;
    border: 2px solid var(--flyer-navy);
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: 800;
    color: var(--flyer-navy);
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    text-transform: uppercase;
}

.sy-tab-btn.active {
    background: var(--flyer-navy);
    color: #fff;
}

.sy-tab-content {
    display: none;
    animation: flyerFadeIn 0.5s ease-out;
}

.sy-tab-content.active {
    display: block;
}

@keyframes flyerFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .flyer-contact-grid {
        grid-template-columns: 1fr;
    }

    .flyer-banner-top h1 {
        font-size: 2rem;
    }

    .flyer-banner-top .sub-title {
        font-size: 1.2rem;
    }

    .enrollment-guide-section {
        padding: 0 !important;
        background: #fff !important;
    }

    .sy-tabs-nav {
        justify-content: flex-start;
        padding: 12px;
        gap: 8px;
        background: #f1f5f9;
        margin-bottom: 15px;
        border-bottom: 1px solid #e2e8f0;
    }

    .sy-tab-btn {
        padding: 8px 16px;
        font-size: 0.75rem;
    }
}

.institutional-line {
    width: 80px;
    height: 4px;
    background: var(--flyer-gold);
    margin: 15px auto;
}

.program-guide-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
}

/* Premium Card Wrapper Context */
.enrollment-guide-section {
    padding: 60px 20px;
    background: #F1F5F9;
    /* High-contrast background */
    background-image: radial-gradient(#CBD5E1 1px, transparent 1px);
    background-size: 20px 20px;
}

.premium-flyer-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin: 0 auto;
    max-width: 850px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.sy-tab-content-wrapper {
    padding-bottom: 50px;
}

@media (max-width: 768px) {
    .premium-flyer-card {
        border-radius: 0;
        box-shadow: none;
        border: none;
        max-width: 100%;
    }

    .guide-container {
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}