
/* =====================================================
   ABOUT PAGE
===================================================== */

/* About Hero */
.about-hero {
    min-height: 430px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 70px 30px;
    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f5f9ff 100%
        );
    border-bottom: 1px solid #edf1f7;
}

.about-hero-content {
    max-width: 900px;
}

.about-label,
.section-label {
    color: #0866d5;
    font-size: 13px;
    letter-spacing: 4px;
    font-weight: 700;
    margin-bottom: 22px;
}

.about-hero h1 {
    margin: 0 0 25px;
    color: #071a3a;
    font-size: clamp(34px, 6vw, 20px);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -1px;
}

.about-hero h1 span,
.about-philosophy h2 span {
    color: #0866d5;
    padding: 0 7px;
}

.about-hero-content > p:last-child {
    max-width: 700px;
    margin: 0 auto;
    color: #5b6982;
    font-size: 18px;
    line-height: 1.7;
}


/* General About Sections */
.about-section {
    padding: 90px 30px;
    background: #ffffff;
}

.about-section-soft {
    background: #f7faff;
}

.about-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.about-two-column {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.about-section-heading h2,
.section-intro h2 {
    margin: 0;
    color: #071a3a;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.about-section-text {
    color: #5b6982;
    font-size: 16px;
    line-height: 1.8;
}

.about-section-text p {
    margin: 0 0 20px;
}

.about-section-text p:last-child {
    margin-bottom: 0;
}

.about-section-text strong {
    color: #10213f;
}


/* Section Intro */
.section-intro {
    max-width: 760px;
    margin-bottom: 45px;
}

.section-intro > p:not(.section-label) {
    margin: 25px 0 0;
    color: #5b6982;
    font-size: 16px;
    line-height: 1.8;
}


/* Teaching Feature Cards */
.about-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.about-feature-card {
    padding: 30px 26px;
    background: #ffffff;
    border: 1px solid #e5edf8;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(7, 26, 58, 0.05);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.about-feature-card:hover {
    transform: translateY(-5px);
    border-color: #b9d5f8;
    box-shadow: 0 15px 35px rgba(7, 26, 58, 0.09);
}

.about-feature-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 15px;
    background: #eaf3ff;
    font-size: 30px;
}

.about-feature-card h3 {
    margin: 0 0 10px;
    color: #071a3a;
    font-size: 19px;
}

.about-feature-card p {
    margin: 0;
    color: #65738b;
    font-size: 14px;
    line-height: 1.65;
}


/* Technology Tags */
.technology-block {
    align-items: center;
}

.about-tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.about-tech-list span {
    padding: 9px 13px;
    color: #17538f;
    background: #eef6ff;
    border: 1px solid #dcecff;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
}


/* Philosophy */
.about-philosophy {
    padding: 100px 30px;
    text-align: center;
    background: #0b1b32;
    color: #ffffff;
}

.about-philosophy .section-label {
    color: #79b5ff;
}

.about-philosophy h2 {
    max-width: 1000px;
    margin: 0 auto 25px;
    font-size: clamp(35px, 5vw, 62px);
    line-height: 1.1;
    letter-spacing: -2px;
}

.about-philosophy h2 span {
    color: #4d9cff;
}

.about-philosophy p:last-child {
    max-width: 650px;
    margin: 0 auto;
    color: #cbd6e5;
    font-size: 17px;
    line-height: 1.7;
}


/* Explore Cards */
.about-explore-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.about-explore-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 24px 20px;
    background: #ffffff;
    border: 1px solid #e5edf8;
    border-radius: 16px;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(7, 26, 58, 0.05);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.about-explore-card:hover {
    transform: translateY(-5px);
    border-color: #b9d5f8;
    box-shadow: 0 15px 35px rgba(7, 26, 58, 0.09);
}

.about-explore-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eaf3ff;
    border-radius: 14px;
    font-size: 26px;
}

.about-explore-card h3 {
    margin: 0 0 6px;
    color: #071a3a;
    font-size: 17px;
}

.about-explore-card p {
    margin: 0;
    color: #65738b;
    font-size: 13px;
    line-height: 1.5;
}

.about-explore-card > span {
    color: #0866d5;
    font-size: 21px;
    transition: transform 0.3s ease;
}

.about-explore-card:hover > span {
    transform: translateX(4px);
}


/* =====================================================
   ABOUT PAGE — MOBILE
===================================================== */

@media (max-width: 900px) {

    .about-two-column {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .about-feature-grid,
    .about-explore-grid {
        grid-template-columns: 1fr;
    }

    .about-hero {
        min-height: 380px;
    }

    .about-section {
        padding: 70px 25px;
    }

    .about-philosophy {
        padding: 80px 25px;
    }
}

@media (max-width: 700px) {

    .about-hero {
        min-height: 360px;
        padding: 60px 20px;
    }

    .about-label,
    .section-label {
        font-size: 11px;
        letter-spacing: 3px;
    }

    .about-hero h1 {
        font-size: 43px;
        letter-spacing: -2px;
    }

    .about-hero-content > p:last-child {
        font-size: 15px;
    }

    .about-section {
        padding: 60px 20px;
    }

    .about-section-heading h2,
    .section-intro h2 {
        font-size: 34px;
    }

    .about-section-text,
    .section-intro > p:not(.section-label) {
        font-size: 15px;
    }

    .about-feature-card {
        padding: 25px 22px;
    }

    .about-philosophy {
        padding: 75px 20px;
    }

    .about-philosophy h2 {
        font-size: 36px;
        letter-spacing: -1px;
    }

    .about-philosophy p:last-child {
        font-size: 15px;
    }

    .about-explore-card {
        grid-template-columns: auto 1fr auto;
        padding: 20px 17px;
    }
}
