/* ABOUT PAGE */

.about-hero {
    min-height: 520px;

    display: flex;
    align-items: center;

    padding: 80px 8%;

    background:
        radial-gradient(
            circle at 80% 30%,
            rgba(73, 137, 118, 0.20),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #eef5ee,
            #dceee4
        );

    position: relative;

    overflow: hidden;
}


.about-hero::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    background: rgba(255,255,255,0.35);

    right: -150px;
    top: -100px;

    filter: blur(2px);
}


.about-hero-content {
    max-width: 700px;

    position: relative;

    z-index: 2;
}


.small-title {
    color: #c6972f;

    font-size: 14px;

    font-weight: 700;

    letter-spacing: 4px;
}


.about-hero h1 {
    font-family: Georgia, serif;

    font-size: clamp(50px, 6vw, 82px);

    line-height: 1.05;

    color: #063b55;

    margin: 25px 0;
}


.about-hero h1 span {
    color: #557d5c;
}


.about-hero p {
    max-width: 650px;

    font-size: 19px;

    line-height: 1.8;

    color: #476875;
}


/* STORY */

.our-story {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    padding: 110px 8%;

    background: #f8faf6;

    align-items: center;
}


.story-image img {
    width: 100%;

    max-height: 500px;

    object-fit: cover;

    border-radius: 30px;

    box-shadow:
        0 25px 60px rgba(0,0,0,0.12);
}


.story-content h2 {
    font-family: Georgia, serif;

    font-size: 50px;

    line-height: 1.1;

    color: #063b55;

    margin: 20px 0;
}


.story-content h2 span {
    display: block;

    color: #557d5c;
}


.story-content p {
    color: #536b73;

    font-size: 17px;

    line-height: 1.8;

    margin-bottom: 18px;
}


/* VISION */

.vision-section {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 30px;

    padding: 90px 8%;

    background:
        linear-gradient(
            135deg,
            #e7f1e8,
            #d8e9e4
        );
}


.vision-card {
    background: rgba(255,255,255,0.75);

    padding: 45px 35px;

    border-radius: 25px;

    text-align: center;

    border: 1px solid rgba(255,255,255,0.8);

    box-shadow:
        0 20px 50px rgba(21,60,50,0.08);

    transition: 0.4s ease;
}


.vision-card:hover {
    transform: translateY(-10px);
}


.vision-icon {
    width: 70px;
    height: 70px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin: auto;

    border-radius: 50%;

    background: #ffffff;

    font-size: 30px;

    box-shadow:
        0 10px 25px rgba(0,0,0,0.10);
}


.vision-card h3 {
    color: #063b55;

    font-family: Georgia, serif;

    font-size: 28px;

    margin: 25px 0 12px;
}


.vision-card p {
    color: #607572;

    line-height: 1.7;
}


/* CTA */

.about-cta {
    text-align: center;

    padding: 100px 20px;

    background: #063b55;

    color: white;
}


.about-cta h2 {
    font-family: Georgia, serif;

    font-size: 50px;

    margin-bottom: 15px;
}


.about-cta p {
    font-size: 18px;

    margin-bottom: 30px;
}


.about-cta a {
    display: inline-block;

    padding: 15px 32px;

    border-radius: 30px;

    background: #d9aa42;

    color: white;

    text-decoration: none;

    font-weight: 700;

    transition: 0.3s;
}


.about-cta a:hover {
    transform: translateY(-3px);
}


/* MOBILE */

@media (max-width: 900px) {

    .our-story {
        grid-template-columns: 1fr;
    }

    .vision-section {
        grid-template-columns: 1fr;
    }

}
/* =========================================
   INSIGHTS & COMMUNITY IMPACT
========================================= */

.insights-section {
    position: relative;
    padding: 120px 8%;
    overflow: hidden;
}

.insights-header {
    max-width: 850px;
    margin: 0 auto 65px;
    text-align: center;
}

.insights-header h2 {
    margin: 20px 0;
    font-size: clamp(42px, 5vw, 72px);
    line-height: 1.05;
    color: #0b4650;
}

.insights-header h2 span {
    display: block;
    color: #5b8f68;
}

.insights-header p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.7;
    color: #52798b;
}


/* =========================================
   FEATURED BLOG
========================================= */

.insight-featured {
    max-width: 1180px;
    margin: 0 auto 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 420px;
    border-radius: 32px;
    overflow: hidden;
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(91,143,104,0.14);
    box-shadow: 0 20px 55px rgba(44,90,70,0.10);
}

.insight-featured-image {
    min-height: 420px;
}

.insight-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 100px;
    background: linear-gradient(
        145deg,
        #dcefe1,
        #eef7e9
    );
}

.insight-featured-content {
    padding: 55px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.insight-category {
    margin-bottom: 16px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
    color: #d99d00;
}

.insight-featured-content h3 {
    margin: 0 0 20px;
    font-size: clamp(28px, 3vw, 43px);
    line-height: 1.12;
    color: #0b4650;
}

.insight-featured-content p {
    margin: 0 0 28px;
    font-size: 16px;
    line-height: 1.7;
    color: #52798b;
}

.insight-read-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    text-decoration: none;
    font-weight: 700;
    color: #4f8961;
    transition: 0.3s ease;
}

.insight-read-more span {
    font-size: 20px;
    transition: 0.3s ease;
}

.insight-read-more:hover {
    color: #0b4650;
}

.insight-read-more:hover span {
    transform: translateX(5px);
}


/* =========================================
   MORE INSIGHTS
========================================= */

.insights-more {
    max-width: 1180px;
    margin: 0 auto;
}

.insights-more-title {
    margin: 0 0 30px;
    text-align: center;
    font-size: 30px;
    color: #0b4650;
}

.insight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.insight-card {
    overflow: hidden;
    border-radius: 26px;
    background: rgba(255,255,255,0.75);
    border: 1px solid rgba(91,143,104,0.14);
    box-shadow: 0 15px 40px rgba(44,90,70,0.08);
    transition: transform 0.35s ease,
                box-shadow 0.35s ease;
}

.insight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 50px rgba(44,90,70,0.14);
}

.insight-card-image {
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 70px;
    background: linear-gradient(
        145deg,
        #e1f0e3,
        #f4f8ea
    );
}

.insight-card-content {
    padding: 28px;
}

.insight-card-content h3 {
    margin: 0 0 14px;
    font-size: 24px;
    line-height: 1.25;
    color: #0b4650;
}

.insight-card-content p {
    margin: 0 0 22px;
    font-size: 15px;
    line-height: 1.65;
    color: #52798b;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 760px) {

    .insights-section {
        padding: 80px 20px;
    }

    .insights-header {
        margin-bottom: 45px;
    }

    .insights-header h2 {
        font-size: 42px;
    }

    .insights-header p {
        font-size: 16px;
    }

    .insight-featured {
        display: block;
        margin-bottom: 55px;
        border-radius: 24px;
    }

    .insight-featured-image {
        min-height: 230px;
    }

    .insight-image-placeholder {
        min-height: 230px;
        font-size: 75px;
    }

    .insight-featured-content {
        padding: 30px 24px 35px;
    }

    .insight-featured-content h3 {
        font-size: 28px;
    }

    .insight-featured-content p {
        font-size: 15px;
    }

    .insights-more-title {
        font-size: 26px;
        margin-bottom: 25px;
    }

    .insight-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .insight-card {
        border-radius: 22px;
    }

    .insight-card-image {
        height: 170px;
    }

    .insight-card-content {
        padding: 24px;
    }

    .insight-card-content h3 {
        font-size: 22px;
    }

}
/* =========================================
   TESTIMONIALS
========================================= */

.testimonials-section {
    position: relative;
    padding: 120px 8% 125px;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 15% 50%,
            rgba(91, 143, 104, 0.10),
            transparent 32%
        ),
        radial-gradient(
            circle at 85% 30%,
            rgba(73, 137, 118, 0.09),
            transparent 30%
        ),
        #f7faf5;
}


/* HEADER */

.testimonials-header {
    max-width: 800px;
    margin: 0 auto 65px;
    text-align: center;
}

.testimonials-header h2 {
    margin: 20px 0 18px;

    font-family: Georgia, serif;
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.05;

    color: #0b4650;
}

.testimonials-header h2 span {
    display: block;
    color: #5b8f68;
}

.testimonials-header p {
    max-width: 680px;
    margin: 0 auto;

    color: #52798b;
    font-size: 17px;
    line-height: 1.75;
}


/* =========================================
   FLASH TESTIMONIAL STAGE
========================================= */

.testimonial-stage {
    position: relative;

    width: min(780px, 100%);
    height: 390px;

    margin: 0 auto;
}


/* CARD */

.testimonial-card {
    position: absolute;

    top: 0;
    left: 50%;

    width: 100%;
    min-height: 350px;

    padding: 58px 70px;

    border-radius: 34px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.98),
            rgba(239,247,238,0.96)
        );

    border: 1px solid rgba(91,143,104,0.16);

    box-shadow:
        0 28px 75px rgba(36,78,61,0.12);

    opacity: 0;
    visibility: hidden;

    transform:
        translateX(-50%)
        translateY(18px)
        scale(0.96);

    filter: blur(3px);

    transition:
        opacity 0.3s ease,
        transform 0.35s cubic-bezier(.22,.61,.36,1),
        filter 0.3s ease,
        visibility 0.3s ease;

    overflow: hidden;
}


/* SOFT LIGHT FLASH */

.testimonial-card::before {
    content: "";

    position: absolute;

    top: -120%;
    left: -35%;

    width: 55%;
    height: 300%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,0.55),
            transparent
        );

    transform: rotate(18deg);

    opacity: 0;

    pointer-events: none;
}


/* ACTIVE CARD */

.testimonial-card.active {
    opacity: 1;
    visibility: visible;

    transform:
        translateX(-50%)
        translateY(0)
        scale(1);

    filter: blur(0);

    z-index: 5;
}

.testimonial-card.active::before {
    animation: testimonialFlash 0.85s ease-out;
}


/* FLASH ANIMATION */

@keyframes testimonialFlash {

    0% {
        left: -55%;
        opacity: 0;
    }

    30% {
        opacity: 1;
    }

    100% {
        left: 120%;
        opacity: 0;
    }
}


/* LAYERED CARDS */

.testimonial-card:not(.active)::after {
    content: "";

    position: absolute;

    inset: 0;

    border-radius: 34px;

    background: rgba(91,143,104,0.06);

    transform:
        translate(14px, 14px);

    z-index: -2;

    pointer-events: none;
}


/* DECORATIVE CORNER */

.testimonial-card .testimonial-quote {
    position: absolute;

    top: 28px;
    left: 42px;

    font-family: Georgia, serif;

    font-size: 78px;
    line-height: 1;

    color: #d9aa42;

    opacity: 0.68;

    transition:
        transform 0.5s ease,
        opacity 0.5s ease;
}

.testimonial-card.active .testimonial-quote {
    transform: translateY(-3px);
}


/* TESTIMONIAL TEXT */

.testimonial-text {
    position: relative;
    z-index: 2;

    max-width: 660px;

    margin: 24px 0 38px;

    font-family: Georgia, serif;

    color: #164f58;

    font-size: clamp(20px, 2.3vw, 27px);

    line-height: 1.55;
}


/* PERSON */

.testimonial-person {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;

    gap: 14px;
}

.testimonial-avatar {
    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            #5b8f68,
            #0b4650
        );

    color: white;

    font-size: 18px;
    font-weight: 800;

    box-shadow:
        0 9px 25px rgba(44,90,70,0.20);
}

.testimonial-person strong {
    display: block;

    color: #0b4650;

    font-size: 15px;
}

.testimonial-person span {
    display: block;

    margin-top: 4px;

    color: #6b8589;

    font-size: 13px;
}


/* =========================================
   CONTROLS
========================================= */

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 24px;

    margin-top: 28px;
}

.testimonial-arrow {
    width: 47px;
    height: 47px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(91,143,104,0.20);

    border-radius: 50%;

    background: rgba(255,255,255,0.88);

    color: #0b4650;

    font-size: 20px;

    cursor: pointer;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}

.testimonial-arrow:hover {
    transform: translateY(-4px);

    background: #ffffff;

    box-shadow:
        0 12px 28px rgba(44,90,70,0.14);
}


/* DOTS */

.testimonial-dots {
    display: flex;
    align-items: center;

    gap: 8px;
}

.testimonial-dot {
    width: 9px;
    height: 9px;

    padding: 0;

    border: 0;

    border-radius: 50%;

    background: #b8cfc0;

    cursor: pointer;

    transition:
        width 0.3s ease,
        transform 0.3s ease,
        background 0.3s ease;
}

.testimonial-dot:hover {
    transform: scale(1.2);
}

.testimonial-dot.active {
    width: 26px;

    border-radius: 20px;

    background: #5b8f68;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 760px) {

    .testimonials-section {
        padding: 80px 20px 90px;
    }

    .testimonials-header {
        margin-bottom: 45px;
    }

    .testimonials-header h2 {
        font-size: 40px;
    }

    .testimonials-header p {
        font-size: 15px;
        line-height: 1.65;
    }

    .testimonial-stage {
        height: 430px;
    }

    .testimonial-card {
        min-height: 400px;

        padding: 50px 28px 35px;

        border-radius: 26px;
    }

    .testimonial-card::before {
        width: 70%;
    }

    .testimonial-card:not(.active)::after {
        transform: translate(9px, 9px);
    }

    .testimonial-card .testimonial-quote {
        top: 20px;
        left: 25px;

        font-size: 62px;
    }

    .testimonial-text {
        margin-top: 24px;

        font-size: 20px;
        line-height: 1.55;
    }

    .testimonial-person {
        margin-top: 20px;
    }

    .testimonial-controls {
        gap: 17px;
    }

    .testimonial-arrow {
        width: 43px;
        height: 43px;
    }
}