/* =========================================================
   MORDMINI TECHNOLOGY PVT. LTD.
   ABOUT SECTION
   Complete about.css
   Reduced Vertical Spacing
   ========================================================= */


/* =========================================================
   1. ABOUT SECTION
   ========================================================= */

.about-section {
    position: relative;
    overflow: hidden;

    margin: 0;

    /* Reduced top padding */
    padding: 12px 0 42px;

    background:
        radial-gradient(
            circle at 8% 18%,
            rgba(18, 104, 232, 0.07) 0,
            rgba(18, 104, 232, 0.025) 16%,
            rgba(18, 104, 232, 0) 32%
        ),
        radial-gradient(
            circle at 92% 72%,
            rgba(0, 174, 239, 0.055) 0,
            rgba(0, 174, 239, 0.018) 17%,
            rgba(0, 174, 239, 0) 32%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f8fbff 48%,
            #ffffff 100%
        );

    border-top: 1px solid #e5edf6;
    border-bottom: 1px solid #e5edf6;
}


/* =========================================================
   2. DECORATIVE BACKGROUND ELEMENTS
   ========================================================= */

.about-section::before {
    position: absolute;

    top: 35px;
    left: -105px;

    width: 270px;
    height: 270px;

    content: "";

    border: 1px solid rgba(18, 104, 232, 0.10);
    border-radius: 50%;

    background: rgba(18, 104, 232, 0.018);

    pointer-events: none;
}


.about-section::after {
    position: absolute;

    right: -135px;
    top: 140px;

    width: 340px;
    height: 340px;

    content: "";

    border: 1px solid rgba(18, 104, 232, 0.08);
    border-radius: 50%;

    background: rgba(18, 104, 232, 0.015);

    pointer-events: none;
}


/* Keep actual content above decorative elements */

.about-section > .container {
    position: relative;
    z-index: 2;
}


/* =========================================================
   3. ABOUT INTRODUCTION CARD
   ========================================================= */

.section-header {
    position: relative;

    width: 100%;
    max-width: 900px;

    margin: 0 auto 30px;

    /* Reduced internal padding */
    padding: 22px 38px 24px;

    text-align: center;

    background: rgba(255, 255, 255, 0.82);

    border: 1px solid rgba(18, 104, 232, 0.12);
    border-radius: 18px;

    box-shadow:
        0 10px 32px rgba(16, 44, 80, 0.05);

    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}


/* =========================================================
   4. BLUE ACCENT LINE
   ========================================================= */

.section-header::before {
    position: absolute;

    top: -1px;
    left: 50%;

    width: 76px;
    height: 3px;

    content: "";

    background:
        linear-gradient(
            90deg,
            #1268e8,
            #22a8ed
        );

    border-radius: 0 0 5px 5px;

    transform: translateX(-50%);
}


/* =========================================================
   5. SECTION EYEBROW
   ========================================================= */

.section-eyebrow {
    margin: 0 0 7px;
    padding: 0;

    color: #506985;

    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;

    letter-spacing: 2px;

    text-align: center;
    text-transform: uppercase;
}


/* =========================================================
   6. SECTION TITLE
   ========================================================= */

.section-title {
    margin: 0 0 12px;
    padding: 0;

    color: var(--color-heading);

    font-size: clamp(32px, 3.5vw, 46px);
    font-weight: 800;

    line-height: 1.12;
    letter-spacing: -1.2px;

    text-align: center;
}


/* Prevent BR from adding unwanted spacing */

.section-title br {
    display: block;

    margin: 0;
    padding: 0;

    content: "";
}


/* =========================================================
   7. PRIMARY TEXT
   ========================================================= */

.text-primary {
    color: var(--color-primary);
}


/* =========================================================
   8. SECTION DESCRIPTION
   ========================================================= */

.section-description {
    width: 100%;
    max-width: 760px;

    margin: 0 auto;
    padding: 0;

    color: var(--color-text);

    font-size: 16px;
    font-weight: 400;

    line-height: 1.55;

    text-align: center;
}


/* =========================================================
   9. MAIN ABOUT GRID
   ========================================================= */

.about-main-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    align-items: start;

    gap: 50px;

    width: 100%;
}


/* =========================================================
   10. ABOUT COLUMNS
   ========================================================= */

.about-column {
    min-width: 0;
}


/* =========================================================
   11. COLUMN TITLE
   ========================================================= */

.column-title {
    position: relative;

    margin: 0 0 14px;
    padding: 0 0 9px;

    color: var(--color-heading);

    font-size: 20px;
    font-weight: 700;

    line-height: 1.3;
}


/* Small blue accent under column heading */

.column-title::after {
    position: absolute;

    bottom: 0;
    left: 0;

    width: 42px;
    height: 2px;

    content: "";

    background: var(--color-primary);

    border-radius: 3px;
}


/* =========================================================
   12. COLUMN DESCRIPTION
   ========================================================= */

.column-description {
    margin: 0 0 20px;

    color: var(--color-text);

    font-size: 15px;
    font-weight: 400;

    line-height: 1.6;
}


/* =========================================================
   13. MISSION & VISION CARDS
   ========================================================= */

.mv-cards {
    display: flex;
    flex-direction: column;

    gap: 14px;

    width: 100%;
}


/* =========================================================
   14. MISSION / VISION CARD
   ========================================================= */

.mv-card {
    position: relative;

    display: flex;
    align-items: flex-start;

    gap: 16px;

    width: 100%;

    padding: 18px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #f7faff 0%,
            #f1f7fd 100%
        );

    border: 1px solid rgba(18, 104, 232, 0.08);
    border-left: 3px solid var(--color-primary);

    border-radius: 10px;

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}


.mv-card:hover {
    transform: translateY(-3px);

    border-color: rgba(18, 104, 232, 0.16);
    border-left-color: var(--color-primary);

    box-shadow:
        0 12px 28px rgba(16, 44, 80, 0.09);
}


/* =========================================================
   15. MISSION / VISION ICON
   ========================================================= */

.mv-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    color: var(--color-white);

    background:
        linear-gradient(
            135deg,
            var(--color-primary),
            #28a9ed
        );

    border-radius: 9px;

    font-size: 20px;
    line-height: 1;

    box-shadow:
        0 7px 16px rgba(18, 104, 232, 0.16);
}


/* =========================================================
   16. MISSION / VISION CONTENT
   ========================================================= */

.mv-content {
    min-width: 0;
    flex: 1;
}


/* =========================================================
   17. MISSION / VISION TITLE
   ========================================================= */

.mv-title {
    margin: 0 0 5px;

    color: var(--color-heading);

    font-size: 16px;
    font-weight: 700;

    line-height: 1.35;
}


/* =========================================================
   18. MISSION / VISION TEXT
   ========================================================= */

.mv-text {
    margin: 0;

    color: var(--color-text);

    font-size: 14px;

    line-height: 1.5;
}


/* =========================================================
   19. CORE VALUES GRID
   ========================================================= */

.values-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 14px;

    width: 100%;
}


/* =========================================================
   20. CORE VALUE CARD
   ========================================================= */

.value-card {
    position: relative;

    min-width: 0;

    padding: 18px;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #f8fbff 0%,
            #f1f7fd 100%
        );

    border: 1px solid rgba(18, 104, 232, 0.08);

    border-radius: 10px;

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}


/* Top hover accent */

.value-card::before {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 2px;

    content: "";

    background:
        linear-gradient(
            90deg,
            var(--color-primary),
            rgba(18, 104, 232, 0)
        );

    opacity: 0;

    transition:
        opacity var(--transition);
}


.value-card:hover {
    transform: translateY(-3px);

    border-color: rgba(18, 104, 232, 0.16);

    box-shadow:
        0 12px 28px rgba(16, 44, 80, 0.09);
}


.value-card:hover::before {
    opacity: 1;
}


/* =========================================================
   21. VALUE ICON
   ========================================================= */

.value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    margin-bottom: 10px;

    color: var(--color-primary);

    background: rgba(18, 104, 232, 0.09);

    border: 1px solid rgba(18, 104, 232, 0.07);

    border-radius: 9px;

    font-size: 18px;
    line-height: 1;
}


/* =========================================================
   22. VALUE TITLE
   ========================================================= */

.value-title {
    margin: 0 0 5px;

    color: var(--color-heading);

    font-size: 15px;
    font-weight: 700;

    line-height: 1.35;
}


/* =========================================================
   23. VALUE TEXT
   ========================================================= */

.value-text {
    margin: 0;

    color: var(--color-text);

    font-size: 13px;

    line-height: 1.5;
}


/* =========================================================
   24. TABLET
   ========================================================= */

@media (max-width: 900px) {

    .about-section {
        padding: 10px 0 38px;
    }


    .section-header {
        max-width: 760px;

        margin: 0 auto 28px;

        padding: 20px 28px 23px;
    }


    .section-title {
        font-size:
            clamp(30px, 5vw, 40px);
    }


    .section-description {
        max-width: 680px;
    }


    .about-main-grid {
        grid-template-columns: 1fr;

        gap: 34px;
    }


    .values-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .about-section::before {
        left: -140px;
    }


    .about-section::after {
        right: -180px;
    }
}


/* =========================================================
   25. MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .about-section {
        padding: 8px 0 32px;
    }


    .section-header {
        width: 100%;
        max-width: 100%;

        margin: 0 auto 25px;

        padding: 20px 17px 22px;

        border-radius: 14px;
    }


    .section-header::before {
        width: 58px;
    }


    .section-eyebrow {
        margin-bottom: 7px;

        font-size: 11px;

        letter-spacing: 1.6px;
    }


    .section-title {
        margin-bottom: 12px;

        font-size: 28px;

        line-height: 1.18;

        letter-spacing: -0.7px;
    }


    .section-description {
        max-width: 100%;

        font-size: 15px;

        line-height: 1.55;
    }


    .about-main-grid {
        gap: 30px;
    }


    .column-title {
        font-size: 19px;
    }


    .column-description {
        margin-bottom: 18px;

        font-size: 14px;
    }


    .mv-cards {
        gap: 12px;
    }


    .mv-card {
        gap: 14px;

        padding: 16px;
    }


    .mv-icon {
        width: 40px;
        height: 40px;

        flex-basis: 40px;

        font-size: 18px;
    }


    .values-grid {
        grid-template-columns: 1fr;

        gap: 12px;
    }


    .value-card {
        padding: 16px;
    }


    .about-section::before {
        top: 25px;
        left: -110px;

        width: 190px;
        height: 190px;
    }


    .about-section::after {
        top: 210px;
        right: -130px;

        width: 230px;
        height: 230px;
    }
}


/* =========================================================
   26. SMALL MOBILE
   ========================================================= */

@media (max-width: 400px) {

    .about-section {
        padding: 6px 0 28px;
    }


    .section-header {
        padding: 18px 14px 20px;

        margin-bottom: 24px;
    }


    .section-title {
        font-size: 25px;
    }


    .section-description {
        font-size: 14px;
    }


    .mv-card {
        padding: 15px;
    }


    .value-card {
        padding: 15px;
    }
}


/* =========================================================
   27. ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .mv-card,
    .value-card,
    .value-card::before {
        transition-duration: 0.01ms !important;
    }
}