/* =========================================================
   HANUMAT KRIPA FOUNDATION
   ABOUT PAGE CSS
   ---------------------------------------------------------
   Common header, buttons, footer and global behavior are
   inherited from common.css. This file contains About-page
   layout and visual treatments only.
========================================================= */

/* =========================================================
   ABOUT HERO — SAME VISUAL LANGUAGE AS HOME HERO
========================================================= */

.about-hero {
    min-height: 650px;
    padding-top: 84px;
    background: #f7f9fc;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.about-hero-container {
    display: grid;
    grid-template-columns: 46% 54%;
    align-items: center;
    min-height: 566px;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    padding: 55px 30px 55px 0;
}

.about-hero-content .hero-label {
    color: #c62828;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.8px;
    margin-bottom: 14px;
}

.about-hero-content h1 {
    color: #173d70;
    font-size: 52px;
    line-height: 1.18;
    margin-bottom: 22px;
}

.about-hero-content h1 span {
    display: block;
    color: #173d70;
}

.about-hero-content .hero-description {
    max-width: 580px;
    color: #526276;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.about-hero-image {
    position: relative;
    height: 520px;
    width: 100%;
    overflow: hidden;
    border-radius: 18px 0 0 18px;
    box-shadow: -15px 15px 35px rgba(0,0,0,.10);
}

.about-hero-image::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 25%;
    z-index: 1;
    background: linear-gradient(
        to right,
        #f7f9fc,
        rgba(247,249,252,0)
    );
}

.about-hero-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* =========================================================
   ABOUT CONTENT
========================================================= */

.about-hero + .section {
    background: #ffffff;
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.two-column p {
    margin-bottom: 16px;
    color: #555;
}

.content-text {
    max-width: 620px;
}

.title {
    color: #173d70;
    text-align: center;
    font-size: 36px;
    line-height: 1.3;
    margin-bottom: 45px;
}

.title.left {
    text-align: left;
    margin-bottom: 20px;
}

.section-intro {
    max-width: 760px;
    margin: -25px auto 40px;
    text-align: center;
    color: #666;
}

/* =========================================================
   VISION & MISSION
========================================================= */

.light-section {
    background: #f5f8fc;
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.feature-card {
    position: relative;
    background: #ffffff;
    padding: 35px 32px;
    border-radius: 12px;
    border: 1px solid #e7edf3;
    box-shadow: 0 5px 20px rgba(0,0,0,.07);
    transition: .3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0,0,0,.10);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: #fdf0f0;
    color: #c62828;
    font-size: 13px;
    font-weight: 700;
}

.feature-card h3,
.approach-card h3,
.value-card h3 {
    color: #173d70;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.feature-card p,
.feature-card li {
    color: #666;
    font-size: 14px;
    line-height: 1.75;
}

.feature-card > p {
    margin-bottom: 12px;
}

.check-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 22px;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #137a46;
    font-weight: 700;
}

/* =========================================================
   OUR APPROACH
========================================================= */

.approach-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.approach-card {
    background: #ffffff;
    padding: 30px 25px;
    border: 1px solid #edf1f6;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,.07);
    transition: .3s;
}

.approach-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,.11);
}

.approach-number {
    color: #c62828;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
}

.approach-card h3 {
    font-size: 19px;
    line-height: 1.35;
    margin-bottom: 12px;
}

.approach-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
}

/* =========================================================
   CORE VALUES
========================================================= */

.values-section {
    background: #f5f8fc;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.value-card {
    background: #ffffff;
    padding: 27px 22px;
    min-height: 175px;
    border-radius: 12px;
    border: 1px solid #e7edf3;
    box-shadow: 0 5px 18px rgba(0,0,0,.06);
    transition: .3s;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,.09);
}

.value-card h3 {
    font-size: 17px;
    line-height: 1.4;
    margin-bottom: 10px;
}

.value-card p {
    color: #666;
    font-size: 13px;
    line-height: 1.7;
}

/* =========================================================
   PARTNERSHIP
========================================================= */

.partnership-block {
    align-items: center;
}

.partnership-block > div:first-child > p:not(.section-label) {
    color: #555;
    max-width: 560px;
}

.partner-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.partner-list > div {
    background: #f5f8fc;
    border: 1px solid #e8eef5;
    border-radius: 9px;
    padding: 15px 17px;
    color: #526276;
    font-size: 13px;
    line-height: 1.5;
}

.partner-list span {
    color: #137a46;
    font-weight: 700;
    margin-right: 7px;
}

/* =========================================================
   ABOUT CTA
========================================================= */

.about-cta {
    padding: 85px 0;
}

.about-cta h2 {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.about-cta .btn-secondary {
    border: 1.5px solid #ffffff;
    color: #ffffff;
    background: transparent;
}

.about-cta .btn-secondary:hover {
    background: #ffffff;
    color: #173d70;
}

.about-cta .btn-light-outline {
    border: 1.5px solid #f5c542;
    color: #f5c542;
    background: transparent;
}

.about-cta .btn-light-outline:hover {
    background: #f5c542;
    color: #173d70;
}

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .6s ease, transform .6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {
    .two-column {
        gap: 45px;
    }

    .approach-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1050px) {
    .about-hero-content h1 {
        font-size: 44px;
    }

    .about-hero-content .hero-description {
        font-size: 15px;
    }
}

@media (max-width: 900px) {
    .vision-mission-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .partner-list {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 800px) {
    .about-hero {
        padding-top: 74px;
        min-height: auto;
    }

    .about-hero-container {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .about-hero-content {
        padding: 65px 0 40px;
        text-align: center;
    }

    .about-hero-content .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .about-hero-image {
        height: 430px;
        border-radius: 16px;
        margin-bottom: 45px;
    }

    .about-hero-image::before {
        display: none;
    }

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

    .approach-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .title {
        font-size: 29px;
        margin-bottom: 32px;
    }

    .title.left {
        text-align: left;
    }

    .approach-grid,
    .values-grid,
    .partner-list {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: 30px 24px;
    }

    .about-cta .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .about-cta .cta-buttons .btn {
        text-align: center;
    }
}

@media (max-width: 550px) {
    .about-hero-content h1 {
        font-size: 35px;
    }

    .about-hero-content .hero-description {
        font-size: 14px;
    }

    .about-hero-image {
        height: 330px;
    }
}
