/* =========================================
   DEPARTMENT OVERVIEW
========================================= */

.department-overview {
    padding: 55px 0;
    background: #f7f9fc;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
}


/* =========================================
   COMMON CARD
========================================= */

.about-card,
.info-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #e5eaf0;
    box-shadow: 0 8px 28px rgba(15, 45, 75, 0.08);
}


/* =========================================
   ABOUT
========================================= */

.about-card {
    padding: 32px 38px;
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(
        180deg,
        #0b5d3b,
        #16845a
    );
    border-radius: 18px 0 0 18px;
}


/* =========================================
   SECTION HEADING
========================================= */

.section-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

.section-heading h2 {
    margin: 0;
    color: #0b3d2e;
    font-size: 27px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.heading-line {
    width: 6px;
    height: 32px;
    border-radius: 10px;
    background: linear-gradient(
        180deg,
        #c99a35,
        #e1bb62
    );
}


/* =========================================
   ABOUT TEXT
========================================= */

.about-card p {
    margin-bottom: 17px;
    color: #4b5563;
    font-size: 15.5px;
    line-height: 1.8;
    text-align: justify;
}

.about-card p:last-child {
    margin-bottom: 0;
}


/* =========================================
   RIGHT SIDE
========================================= */

.side-content {
    display: flex;
    flex-direction: column;
    gap: 22px;
    height: 100%;
}


/* =========================================
   VISION / MISSION CARD
========================================= */

.info-card {
    padding: 27px 28px;
    display: flex;
    gap: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-card::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    right: -55px;
    bottom: -65px;
    background: rgba(11, 93, 59, 0.05);
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(15, 45, 75, 0.12);
}


/* =========================================
   ICON
========================================= */

.icon-box {
    min-width: 52px;
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: linear-gradient(
        135deg,
        #0b5d3b,
        #17845a
    );

    color: #ffffff;

    font-size: 23px;

    box-shadow:
        0 7px 18px rgba(11, 93, 59, 0.22);
}

.info-content {
    position: relative;
    z-index: 2;
}

.info-content h2 {
    margin: 0 0 10px;

    font-size: 23px;
    font-weight: 700;

    color: #0b3d2e;
}

.info-content p {
    margin: 0;

    color: #555f6d;

    font-size: 15px;
    line-height: 1.75;
}


/* =========================================
   VISION ACCENT
========================================= */

.vision-card {
    border-top: 4px solid #c99a35;
}


/* =========================================
   MISSION ACCENT
========================================= */

.mission-card {
    border-top: 4px solid #0b5d3b;
}


/* =========================================
   LARGE SCREENS
========================================= */

@media (min-width: 1200px) {

    .department-overview {
        padding: 65px 0;
    }

    .about-card {
        padding: 38px 45px;
    }

    .about-card p {
        font-size: 16px;
    }

    .info-card {
        padding: 30px;
    }

    .info-content p {
        font-size: 15.5px;
    }
}


/* =========================================
   TABLETS
========================================= */

@media (max-width: 991px) {

    .about-card {
        padding: 30px;
    }

    .side-content {
        margin-top: 0;
    }

    .info-card {
        padding: 25px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .department-overview {
        padding: 35px 15px;
    }

    .about-card {
        padding: 25px 22px;
    }

    .section-heading h2 {
        font-size: 23px;
    }

    .about-card p {
        font-size: 14.5px;
        line-height: 1.7;
        text-align: left;
    }

    .info-card {
        padding: 22px;
        gap: 15px;
    }

    .icon-box {
        min-width: 45px;
        width: 45px;
        height: 45px;
        font-size: 19px;
    }

    .info-content h2 {
        font-size: 21px;
    }

    .info-content p {
        font-size: 14px;
        line-height: 1.7;
    }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    .about-card {
        padding: 22px 18px;
    }

    .section-heading {
        margin-bottom: 17px;
    }

    .section-heading h2 {
        font-size: 21px;
    }

    .info-card {
        display: block;
    }

    .icon-box {
        margin-bottom: 14px;
    }
}