/* =========================================================
   HERO SECTION
   ========================================================= */

.hero {
    background:
        linear-gradient(
            rgba(0, 0, 0, 0.75),
            rgba(0, 0, 0, 0.75)
        ),
        url("/image/ACE.jpg");

    background-size: cover;
    background-position: center;

    color: white;
    text-align: center;
    padding: 75px 20px;
}

.hero h1 {
    font-size: 45px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 19px;
    color: #ffd700;
}


/* =========================================================
   ABOUT CONTAINER
   ========================================================= */

.about-container {
    width: 90%;
    max-width: 1100px;
    margin: 50px auto;
}


/* =========================================================
   ABOUT CARDS
   ========================================================= */

.about-card {
    background: white;
    padding: 35px;
    margin-bottom: 30px;
    border-radius: 12px;

    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.08);
}

.about-card h1 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #111;
}

.about-card h2 {
    font-size: 27px;
    margin-bottom: 15px;
    color: #111;
}

.about-card p {
    color: #555;
    margin-bottom: 18px;
    line-height: 1.8;
}

.about-card ul {
    margin: 15px 0 20px 25px;
}

.about-card li {
    margin-bottom: 12px;
    color: #555;
    line-height: 1.6;
}


/* =========================================================
   CARD LINKS
   ========================================================= */

.card-link {
    color: #a88d00;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.card-link:hover {
    color: #111;
}


/* =========================================================
   LEADERSHIP TABLE
   ========================================================= */

.leadership-table-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-top: 20px;
}

.leadership-table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    text-align: left;
}

.leadership-table th,
.leadership-table td {
    padding: 15px;
    border: 1px solid #ddd;

    /*
     * Prevent long names or positions from
     * making the table wider than the screen.
     */
    overflow-wrap: anywhere;
    word-break: normal;
}

.leadership-table th {
    background: #111;
    color: white;
}

.leadership-table tr:nth-child(even) {
    background: #fafafa;
}

.leadership-table a {
    color: #222;
    text-decoration: none;
}

.leadership-table a:hover {
    color: #0066cc;
}


/* =========================================================
   ORGANISATION GOALS
   ========================================================= */

.goals {
    background: #fafafa;
    padding: 25px;
    border-left: 5px solid #111;
    border-radius: 6px;
    margin: 20px 0;
}

.goals p {
    margin-bottom: 12px;
}


/* =========================================================
   FINAL MESSAGE
   ========================================================= */

.final-message {
    background: #111;
    color: white;
    padding: 35px;
    border-radius: 12px;
    text-align: center;
    margin-top: 30px;
}

.final-message p {
    color: white;
    max-width: 900px;
    margin: auto;
    line-height: 1.8;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .hero h1 {
        font-size: 35px;
    }

}


/* =========================================================
   MOBILE DEVICES
   ========================================================= */

@media (max-width: 600px) {

    .about-container {
        width: 94%;
        margin: 30px auto;
    }


    /* -------------------------
       About Cards
       ------------------------- */

    .about-card {
        padding: 25px;
    }

    .about-card h1 {
        font-size: 27px;
    }

    .about-card h2 {
        font-size: 23px;
    }


    /* -------------------------
       Leadership Table
       ------------------------- */

    .leadership-table-wrapper {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .leadership-table {
        width: 100%;
        max-width: 100%;
        table-layout: fixed;
        font-size: 12px;
    }

    .leadership-table th,
    .leadership-table td {
        padding: 10px 7px;
        line-height: 1.4;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    /*
     * Keep the two columns balanced.
     */
    .leadership-table th:first-child,
    .leadership-table td:first-child {
        width: 48%;
    }

    .leadership-table th:last-child,
    .leadership-table td:last-child {
        width: 52%;
    }


    /* -------------------------
       Goals
       ------------------------- */

    .goals {
        padding: 20px;
    }


    /* -------------------------
       Footer
       ------------------------- */

    footer {
        padding: 35px 20px 20px;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
        text-align: left;
    }

    .footer-column {
        width: 100%;
    }

    .footer-contact {
        text-align: left;
    }

    .footer-column h3 {
        font-size: 17px;
    }

    .footer-column ul li {
        margin-bottom: 8px;
    }

    .footer-contact p {
        margin-bottom: 8px;
    }

    .footer-column ul li a:hover {
        padding-left: 0;
    }


    /* -------------------------
       WhatsApp
       ------------------------- */

    .whatsapp-float {
        right: 15px;
        bottom: 15px;
        width: 54px;
        height: 54px;
    }

    .whatsapp-float a {
        width: 54px;
        height: 54px;
    }

    .whatsapp-float img {
        width: 33px;
        height: 33px;
    }

}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 480px) {

    .hero {
        padding: 55px 15px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero p {
        font-size: 16px;
    }

    .about-container {
        width: 95%;
        margin: 25px auto;
    }

    .about-card {
        padding: 20px;
        margin-bottom: 20px;
    }

    .about-card h1 {
        font-size: 24px;
    }

    .about-card h2 {
        font-size: 21px;
    }

    .about-card p {
        font-size: 14px;
        line-height: 1.7;
    }

    .about-card li {
        font-size: 14px;
    }


    /* -------------------------
       Leadership Table
       ------------------------- */

    .leadership-table {
        font-size: 11px;
    }

    .leadership-table th,
    .leadership-table td {
        padding: 9px 6px;
        line-height: 1.35;
    }

    .leadership-table th:first-child,
    .leadership-table td:first-child {
        width: 50%;
    }

    .leadership-table th:last-child,
    .leadership-table td:last-child {
        width: 50%;
    }

}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 380px) {

    .about-container {
        width: 96%;
    }

    .about-card {
        padding: 16px;
    }

    .about-card h1 {
        font-size: 22px;
    }

    .about-card h2 {
        font-size: 19px;
    }


    /* -------------------------
       Leadership Table
       ------------------------- */

    .leadership-table {
        width: 100%;
        font-size: 10px;
    }

    .leadership-table th,
    .leadership-table td {
        padding: 7px 4px;
        line-height: 1.3;
        overflow-wrap: anywhere;
    }

    .leadership-table th:first-child,
    .leadership-table td:first-child {
        width: 50%;
    }

    .leadership-table th:last-child,
    .leadership-table td:last-child {
        width: 50%;
    }


    /* -------------------------
       Footer
       ------------------------- */

    .footer-container {
        gap: 15px;
    }

    .footer-column h3 {
        font-size: 15px;
    }

    .footer-column,
    .footer-contact {
        font-size: 12px;
    }

    .footer-bottom p {
        font-size: 11px;
    }

}