/* =========================================================
   MAHFOOZ ACADEMY
   ABOUT SECTION
   UNIQUE CLASSES - NO CONFLICT
========================================================= */

.maa-about-section {
    width: 100%;
    padding: 90px 20px 100px;
    background: #ffffff;
    overflow: hidden;
}


/* =========================================================
   CONTAINER
========================================================= */

.maa-about-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 70px;
}


/* =========================================================
   IMAGE AREA
========================================================= */

.maa-about-image {
    position: relative;
    width: 100%;
}


/* IMAGE */

.maa-about-image img {
    width: 100%;
    height: 375px;

    display: block;

    object-fit: cover;
    object-position: center;

    border-radius: 20px;

    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.13);

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}


/* IMAGE HOVER */

.maa-about-image:hover img {
    transform: translateY(-4px);

    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.16);
}


/* =========================================================
   IMAGE BADGE
========================================================= */

.maa-about-badge {
    position: absolute;

    left: 30px;
    bottom: 30px;

    z-index: 5;

    min-width: 305px;

    padding: 22px 30px;

    background: #6d1021;

    color: #ffffff;

    border-radius: 17px;

    box-shadow:
        0 15px 35px rgba(109, 16, 33, 0.28);
}


/* BADGE TITLE */

.maa-about-badge h3 {
    margin: 0 0 7px;

    color: #ffffff;

    font-size: 24px;

    line-height: 1.25;

    font-weight: 800;
}


/* BADGE SUBTITLE */

.maa-about-badge span {
    display: block;

    color: #ffffff;

    font-size: 16px;

    line-height: 1.4;

    font-weight: 500;
}


/* =========================================================
   RIGHT CONTENT
========================================================= */

.maa-about-content {
    width: 100%;
}


/* =========================================================
   TOP TAG
========================================================= */

.maa-about-tag {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 17px;

    color: #6d1021;

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 2.4px;
}


/* TAG LINES */

.maa-about-tag span {
    width: 27px;
    height: 2px;

    display: block;

    flex-shrink: 0;

    background: #6d1021;
}


/* =========================================================
   HEADING
========================================================= */

.maa-about-content h2 {
    max-width: 700px;

    margin: 0 0 30px;

    color: #222222;

    font-size: 46px;

    line-height: 1.2;

    font-weight: 800;

    letter-spacing: -1px;
}


/* =========================================================
   PARAGRAPHS
========================================================= */

.maa-about-content p {
    max-width: 700px;

    margin: 0 0 23px;

    color: #667085;

    font-size: 17px;

    line-height: 1.75;

    font-weight: 400;
}


/* =========================================================
   FEATURES
========================================================= */

.maa-about-features {
    width: 100%;

    margin-top: 28px;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 17px;
}


/* =========================================================
   FEATURE
========================================================= */

.maa-about-feature {
    min-height: 64px;

    padding: 0 18px;

    display: flex;

    align-items: center;

    gap: 8px;

    background: #f7f7f7;

    border-radius: 11px;

    color: #111111;

    font-size: 16px;

    font-weight: 700;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        color 0.3s ease,
        box-shadow 0.3s ease;
}


/* CHECK */

.maa-about-feature span {
    color: #000000;

    font-size: 19px;

    font-weight: 900;

    line-height: 1;
}


/* FEATURE HOVER */

.maa-about-feature:hover {
    transform: translateY(-3px);

    background: #6d1021;

    color: #ffffff;

    box-shadow:
        0 8px 22px rgba(109, 16, 33, 0.16);
}


/* CHECK HOVER */

.maa-about-feature:hover span {
    color: #ffffff;
}


/* =========================================================
   LARGE LAPTOP
========================================================= */

@media (max-width: 1150px) {

    .maa-about-container {
        gap: 45px;
    }

    .maa-about-content h2 {
        font-size: 41px;
    }

    .maa-about-content p {
        font-size: 16px;
    }

    .maa-about-image img {
        height: 350px;
    }

    .maa-about-badge {
        left: 23px;
        bottom: 23px;

        min-width: 275px;

        padding: 19px 24px;
    }

    .maa-about-badge h3 {
        font-size: 21px;
    }

    .maa-about-badge span {
        font-size: 15px;
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 992px) {

    .maa-about-section {
        padding: 75px 20px 85px;
    }

    .maa-about-container {
        max-width: 760px;

        grid-template-columns: 1fr;

        gap: 50px;
    }

    .maa-about-image img {
        height: 400px;
    }

    .maa-about-content h2 {
        font-size: 42px;
    }

    .maa-about-content p {
        max-width: 760px;
    }
}


/* =========================================================
   SMALL TABLET
========================================================= */

@media (max-width: 768px) {

    .maa-about-section {
        padding: 65px 18px 75px;
    }

    .maa-about-container {
        gap: 42px;
    }

    .maa-about-image img {
        height: 350px;

        border-radius: 17px;
    }

    .maa-about-badge {
        left: 20px;
        bottom: 20px;

        min-width: 270px;

        padding: 18px 22px;

        border-radius: 14px;
    }

    .maa-about-badge h3 {
        font-size: 20px;
    }

    .maa-about-badge span {
        font-size: 14px;
    }

    .maa-about-tag {
        font-size: 11px;

        letter-spacing: 1.8px;
    }

    .maa-about-tag span {
        width: 21px;
    }

    .maa-about-content h2 {
        font-size: 34px;

        line-height: 1.22;

        margin-bottom: 23px;
    }

    .maa-about-content p {
        font-size: 15px;

        line-height: 1.75;
    }

    .maa-about-features {
        gap: 13px;
    }

    .maa-about-feature {
        min-height: 60px;

        font-size: 15px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 560px) {

    .maa-about-section {
        padding: 55px 15px 65px;
    }

    .maa-about-container {
        gap: 38px;
    }

    /* IMAGE */

    .maa-about-image img {
        height: 280px;

        border-radius: 15px;
    }


    /* BADGE */

    .maa-about-badge {
        left: 15px;
        bottom: 15px;

        width: calc(100% - 30px);

        min-width: 0;

        padding: 16px 18px;

        border-radius: 13px;
    }

    .maa-about-badge h3 {
        font-size: 18px;

        margin-bottom: 5px;
    }

    .maa-about-badge span {
        font-size: 14px;
    }


    /* TAG */

    .maa-about-tag {
        font-size: 10px;

        letter-spacing: 1.5px;

        gap: 7px;
    }

    .maa-about-tag span {
        width: 18px;
    }


    /* HEADING */

    .maa-about-content h2 {
        font-size: 29px;

        line-height: 1.22;

        letter-spacing: -.5px;

        margin-bottom: 20px;
    }


    /* PARAGRAPH */

    .maa-about-content p {
        font-size: 14px;

        line-height: 1.7;

        margin-bottom: 18px;
    }


    /* FEATURES */

    .maa-about-features {
        grid-template-columns: 1fr;

        gap: 11px;

        margin-top: 22px;
    }

    .maa-about-feature {
        min-height: 55px;

        padding: 0 15px;

        font-size: 14px;

        border-radius: 9px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .maa-about-section {
        padding-left: 12px;
        padding-right: 12px;
    }

    .maa-about-image img {
        height: 250px;
    }

    .maa-about-badge {
        left: 12px;
        bottom: 12px;

        width: calc(100% - 24px);

        padding: 14px 16px;
    }

    .maa-about-badge h3 {
        font-size: 17px;
    }

    .maa-about-badge span {
        font-size: 13px;
    }

    .maa-about-content h2 {
        font-size: 26px;
    }

    .maa-about-content p {
        font-size: 13.5px;
    }

    .maa-about-feature {
        font-size: 13px;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .maa-about-image img,
    .maa-about-feature {
        transition: none !important;
    }

}