/* =========================================
   ABOUT DEPARTMENT SECTION
========================================= */

.about-department {
    width: 100%;
    padding: 45px 4.5%;
    background: #ffffff;
    color: #111111;
    box-sizing: border-box;
}

.about-department * {
    box-sizing: border-box;
}

.about-content {
    width: 100%;
    max-width: 1750px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: minmax(0, 2.1fr) minmax(440px, 1.1fr);
    gap: 45px;

    align-items: start;
}

/* =========================================
   ABOUT DESCRIPTION
========================================= */

.about-description {
    min-width: 0;
}

.about-description h2 {
    display: flex;
    align-items: center;
    gap: 16px;

    margin: 0 0 12px;

    color: #162f6a;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
}

.about-description h2 i {
    color: #162f6a;
    font-size: 27px;
}

.about-description > p {
    margin: 0;

    color: #111111;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.7;

    text-align: left;
}

/* =========================================
   READ MORE BUTTON
========================================= */

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-top: 12px;
    padding: 8px 15px;

    background: #162f6a;
    color: #ffffff;

    border: 1px solid #162f6a;
    border-radius: 4px;

    font-size: 10px;
    font-weight: 600;
    text-decoration: none;

    transition: background 0.2s ease, color 0.2s ease;
}

.read-more-btn:hover {
    background: #ffffff;
    color: #162f6a;
}

/* =========================================
   ABOUT NAVIGATION CARDS
========================================= */

/* ABOUT US CARDS */
.about-cards {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    width: 100%;
    margin: 25px auto 0;
}

/* INDIVIDUAL CARD SIZE */
.about-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

    width: 220px;
    min-height: 130px;
    padding: 15px;

    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #162f6a;
    border-radius: 8px;
    text-decoration: none;
    color: #162f6a;
}


/* CARD LOGO */
.about-card-logo {
    filter: brightness(0) saturate(100%)
            invert(15%) sepia(28%) saturate(2794%)
            hue-rotate(197deg) brightness(92%) contrast(96%);
            width: 50px;   /* Logo width */
            height: 50px;  /* Logo height */
            object-fit: contain;
            margin-bottom: 12px;
}

/* CARD TEXT */
.about-card span {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: #162f6a;
}

/* HOVER EFFECT */
.about-card:hover {
    background-color: #d2dfff;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* REMOVE EMPTY ICON SPACE */
.about-card i {
    display: none;
}


/* =========================================
   LEADERSHIP SECTION
   Align with the description paragraph
========================================= */

.leadership-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;

    width: 100%;
    min-width: 0;

    padding-top: 0;

    /* Align the leader photos with the paragraph */
    margin-top: 48px;
}

.leader-card {
    min-width: 0;

    display: flex;
    flex-direction: column;
    align-items: center;

    padding: 0;

    background: #ffffff;
    border: none;

    text-align: center;
}

/* LEADER IMAGE */

.leader-card img {
    display: block;

    width: 100%;
    height: 260px;

    margin: 0 0 10px;

    object-fit: cover;
    object-position: center top;

    border: 1px solid #e5e5e5;
    border-bottom: 7px solid #162f6a;
}

/* LEADER NAME */

.leader-card h3 {
    width: 100%;

    margin: 0 0 12px;

    color: #111111;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}

/* LEADER DESIGNATION */

.leader-card p {
    margin: 0;

    color: #111111;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;

    text-transform: uppercase;
}

/* =========================================
   LARGE LAPTOPS
========================================= */

@media (max-width: 1400px) {

    .about-department {
        padding: 40px 3%;
    }

    .about-content {
        grid-template-columns: minmax(0, 1.7fr) minmax(380px, 1fr);
        gap: 30px;
    }

    .about-description h2 {
        font-size: 23px;
    }

    .about-description h2 i {
        font-size: 25px;
    }

    .about-description > p {
        font-size: 16px;
        line-height: 1.75;
    }

    .about-cards {
        margin-top: 22px;
    }

    .about-card {
        min-height: 80px;
    }

    .about-card span {
        font-size: 15px;
    }

    .leadership-cards {
        margin-top: 46px;
        gap: 18px;
    }

    .leader-card img {
        height: 220px;
    }

    .leader-card h3 {
        font-size: 17px;
    }

    .leader-card p {
        font-size: 13px;
    }
}

/* =========================================
   TABLETS
========================================= */

@media (max-width: 992px) {

    .about-department {
        padding: 35px 4%;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-description h2 {
        font-size: 24px;
    }

    .about-description > p {
        font-size: 16px;
    }

    .about-cards {
        margin-top: 22px;
    }

    .about-card {
        min-height: 85px;
    }

    .leadership-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 25px;

        max-width: 650px;
        margin: 0 auto;
    }

    .leader-card img {
        height: 260px;
    }

    .leader-card h3 {
        font-size: 18px;
    }

    .leader-card p {
        font-size: 14px;
    }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 576px) {

    .about-department {
        padding: 25px 16px;
    }

    .about-content {
        gap: 30px;
    }

    .about-description h2 {
        gap: 12px;
        font-size: 22px;
    }

    .about-description h2 i {
        font-size: 24px;
    }

    .about-description > p {
        font-size: 15px;
        line-height: 1.75;
    }

    .about-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .about-card {
        min-height: 80px;

        flex-direction: row;
        justify-content: flex-start;
        gap: 16px;

        padding: 15px 20px;
    }

    .about-card-logo {
        width: 28px;
        height: 28px;
        flex-shrink: 0;
    }

    .about-card span {
        font-size: 15px;
        text-align: left;
    }

    .leadership-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .leader-card img {
        height: 170px;
        margin-bottom: 10px;
    }

    .leader-card h3 {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .leader-card p {
        font-size: 11px;
        line-height: 1.6;
    }

    .read-more-btn {
        font-size: 13px;
    }
}