.mla-hero {
    position: relative;
    width: 100%;
    height: 90vh;
    background: url("../images/mla-placeholder.png") center center no-repeat;
    background-size: cover;
}

.mla-hero-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.mla-hero-content {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    max-width: 50%;
    color: #fff;
}

.mla-hero-title {
    text-align: center;
    font-size: 4rem;
    margin: 0 0 0.5rem;
    color: #ccc;
}

.mla-hero-subtitle {
    text-align: center;
    font-size: 1.5rem;
    margin: 0 0 2rem;
    opacity: 0.8;
    color: #ccc;
}

.mla-hero-buttons {
    display: flex;
    gap: 2rem;
}

.mla-btn {
    padding: 1rem 2rem;
    font-weight: bold;
    border-radius: 4px;
    text-decoration: none;
    text-align: center;
    color: #fff;
}

.mla-btn--mission {
    background-color: #3c9eff;
}

.mla-btn--mission:hover {
    background-color: #0056b3;
}

.mla-btn--donate {
    background-color: #ed272a;
}

.mla-btn--donate:hover {
    background-color: #b8001c;
}

.mla-hero-email {
    position: absolute;
    bottom: 10%;
    right: 0;
    transform: none;
    width: 40%;
    max-width: 475px;
    background: #eaeaea;
    border: 2px solid #ccc;
    padding: 1rem 1.5rem;
    border-radius: 4px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

/* —————— Responsive —————— */
@media (max-width: 768px) {
    .mla-hero {
        height: auto;
    }

    .mla-hero-content {
        position: static;
        transform: none;
        margin: 2rem 1rem;
        max-width: 100%;
        text-align: center;
    }

    .mla-hero-title {
        font-size: 2.5rem;
    }

    .mla-hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }

    .mla-hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .mla-hero-email {
        position: static;
        transform: none;
        width: 80%;
        margin: 2rem auto 0;
    }

    .mla-hero-email {
        position: static;
        transform: none;
        width: 80%;
        margin: 2rem auto 0;
    }
}

/* ========== Meet Your Rep Section ========== */
.mla-rep {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0;
    border: none;
    background: none;
}

.mla-rep-text h2 {
    font-size: 2.75rem;
}

.mla-rep-container {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    box-sizing: border-box;
}

.mla-rep-text {
    flex: 1;
}

.mla-rep-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mla-rep-image-frame {
    border: none;
    padding: 0;
    max-width: 100%;
}

.mla-rep-image-frame img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .mla-rep-container {
        flex-direction: column;
        text-align: center;
    }

    .mla-rep-image-frame {
        margin-top: 1.5rem;
        max-width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ========== Mission Section ========== */
.mla-mission {
    max-width: 1100px;
    margin: 4rem auto;
    padding: 0 1rem;
    text-align: center;
}

.mla-mission-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 3rem;
    color: #0077FF;
    margin-bottom: 2rem;
}

.mla-mission-video {
    position: relative;
    max-width: 100%;
    width: calc(100% - 2rem);
    margin: 0 auto;
    padding-top: 56.25%;
    background-color: #f2f2f2;
    border: 1px solid #ccc;
    border-radius: 1%;
    overflow: hidden;
}

.mla-mission-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .mla-mission-title {
        font-size: 2.4rem;
    }

    .mla-mission-video {
        max-width: 100%;
    }
}

/* -----------------------------------
   Stay Connected
   ----------------------------------- */
#stay-connected {
    padding: 4rem 1rem;
}

#stay-connected .tile {
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    padding: 2.5rem 1.5rem;
    text-align: center;
}

#stay-connected .tile h2 {
    font-size: 2.75rem;
    color: #4285F4;
    margin-bottom: 3rem;
}

#stay-connected .icons {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin: 0 auto;
    max-width: 900px;
}

#stay-connected .icon {
    display: inline-block;
    font-size: 180px;
    line-height: 1;
    transition: transform .2s;
    text-decoration: none;
}

#stay-connected .icon:hover {
    transform: translateY(-5px);
}

#stay-connected .instagram {
    color: #E1306C;
}

#stay-connected .twitter {
    color: #000;
}

#stay-connected .tiktok {
    color: #000;
}

#stay-connected .linkedin {
    color: #0077B5;
}

/* ==========================================================================
   REWORKED Contact & Events Section
   ========================================================================== */
#contact-events.reworked {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 3rem 1.5rem;
    max-width: 1100px;
    margin: 0 auto 4rem;
    background: #fafafa;
}

#contact-events.reworked .panel {
    margin-bottom: 3rem;
}

#contact-events.reworked .panel h2 {
    font-family: 'Poppins', serif;
    font-weight: 700;
    font-size: 2.5rem;
    color: #0077FF;
    text-align: center;
    margin-bottom: 2rem;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.event-tile {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: transform .2s ease, box-shadow .2s ease;
}

.event-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.event-image {
    position: relative;
    width: 100%;
    padding-top: 70%;
    background: #e2e2e2;
}

.event-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-info {
    flex: 1;
    padding: 1rem 1.25rem;
    text-align: center;
}

.event-info .event-name {
    font-size: 1.25rem;
    margin: 0 .5rem .5rem;
    color: #222;
}

.event-info .event-short-desc {
    font-size: 1rem;
    color: #555;
    margin: 0 .75rem 1rem;
}

.event-details-button {
    margin: 0 auto 1.25rem;
    padding: 0.5rem 1.5rem;
    background: #3c9eff;
    color: #fff;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity .2s ease;
}

.event-details-button:hover {
    opacity: 0.9;
}

.contact-grid {
    display: flex;
    gap: 4rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-block {
    flex: 1;
    min-width: 200px;
}

.contact-block h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
    color: #333;
}

.contact-block p {
    font-size: 1rem;
    color: #444;
    margin: 0.4rem 0;
    text-align: center;
}

@media (max-width: 600px) {
    .contact-grid {
        flex-direction: column;
        gap: 2rem;
    }
}

/* --------------------------------------------------------------------------
   Modal Overlay & Pop-Out Content
   -------------------------------------------------------------------------- */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
    z-index: 1000;
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    position: relative;
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    max-width: 500px;
    width: 90%;
    transform: scale(0.8);
    transition: transform .3s ease;
}

.modal.show .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
}

.modal-content h3 {
    margin: 0;
    font-size: 1.5rem;
}

.modal-content p {
    margin-top: 0.75rem;
    font-weight: normal;
    line-height: 1.5;
}

/* ──────────── MOBILE ──────────── */
@media (max-width: 768px) {

    .mla-hero {
        height: 70vh !important;
        background-size: cover !important;
        background-position: center center !important;
    }

    .mla-hero-overlay {
        background: none !important;
        position: absolute !important;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 2rem 1rem !important;
    }

    .mla-hero-content {
        position: static !important;
        transform: none !important;
        max-width: 90% !important;
        text-align: center !important;
        margin: 0 auto !important;
    }

    .mla-hero-buttons {
        flex-direction: column !important;
        gap: 1rem !important;
    }

    .mla-hero-email {
        position: static !important;
        width: 80% !important;
        margin: 1rem auto 2rem !important;
    }

    #stay-connected .icons {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        justify-items: center !important;
    }

    #stay-connected .icon {
        font-size: 120px !important;
        line-height: 1 !important;
    }
}
