/* ===== About Us — Hero (single image, centered play) ===== */
.ahero {
    position: relative;
    width: 100%;
    height: 804px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    isolation: isolate;
}

/* Rectangle 51 : gradient overlay */
.ahero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

/* centered play button */
.ahero__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 78px;
    height: 78px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.ahero__play svg { width: 100%; height: 100%; display: block; }
.ahero__play:hover { transform: translate(-50%, -50%) scale(1.08); opacity: 0.9; }

.ahero__content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 30px 120px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.ahero__title {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 40px;
    line-height: 60px;
    color: #CF8E00;
}

.ahero__desc {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 30px;
    color: #FFFFFF;
}

/* ===== Reusable About header (gradient bar + uppercase title + text) ===== */
.ahead {
    width: 100%;
    background: #FFFFFF;
    display: flex;
    justify-content: center;
    padding: 40px 0 20px;
}

.ahead__inner {
    width: 1380px;
    max-width: calc(100% - 60px);
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
}

.ahead__bar {
    flex: none;
    width: 6px;
    height: 90px;
    border-radius: 3px;
    background: linear-gradient(180deg, #CF8E00 0%, #064700 100%);
}

.ahead__text {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.ahead__title {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 48px;
    line-height: 72px;
    text-transform: uppercase;
    color: #363636;
}

.ahead__desc {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 27px;
    color: #363636;
}

/* ===== What We Do (Frame 216 + Rectangle 84) ===== */
.awhat {
    width: 100%;
    background: #FFFFFF;
    display: flex;
    justify-content: center;
    padding: 60px 0 70px;
}

.awhat__inner {
    width: 1380px;
    max-width: calc(100% - 60px);
    display: flex;
    flex-direction: column;
    gap: 34px;
}

.awhat__head {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
}

.awhat__bar {
    flex: none;
    width: 6px;
    height: 106px;
    border-radius: 3px;
    background: linear-gradient(180deg, #CF8E00 0%, #064700 100%);
}

.awhat__text {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.awhat__title {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 48px;
    line-height: 72px;
    text-transform: uppercase;
    color: #363636;
}

.awhat__desc {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 27px;
    text-align: justify;
    color: #363636;
}

/* Rectangle 84 : banner image + bottom gradient */
.awhat__media {
    position: relative;
    width: 100%;
    aspect-ratio: 1395 / 497;
    border-radius: 30px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.awhat__media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(360deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 60%);
}

/* ===== Where We're Making a Difference (Frame 42 + image cards) ===== */
.adiff {
    width: 100%;
    background: #FFFFFF;
    display: flex;
    justify-content: center;
    padding: 30px 0 70px;
}

.adiff__grid {
    width: 1380px;
    max-width: calc(100% - 60px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Cell 1 : heading + intro text (no image) — capped width so the title
   wraps like Figma (Frame 42 = 532px) instead of collapsing to one line
   and leaving a tall void beside the card. */
.adiff__head {
    max-width: 532px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 4px 0;
}

.adiff__title {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 36px;
    line-height: 54px;
    color: #363636;
}

.adiff__desc {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 27px;
    text-align: justify;
    color: #363636;
}

/* Divided variant (Communities) : a divider line above the grid so it
   reads as a separate section from "Making a Difference". */
.adiff--divided {
    flex-direction: column;
    align-items: center;
    gap: 50px;
    padding-top: 0;
}

.adiff__divider {
    width: 1380px;
    max-width: calc(100% - 60px);
    height: 0;
    border-top: 1px solid rgba(18, 38, 27, 0.22);
}

/* Cells 2-4 : image cards (Rectangle 24 + 26 + Frame 43) */
.adiff__card {
    position: relative;
    width: 100%;
    aspect-ratio: 680 / 272;
    border-radius: 30px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
}

.adiff__card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 22, 0, 0) -13.81%, #021600 113.6%);
    z-index: 0;
}

.adiff__card-text {
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding: 24px 30px 22px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.adiff__card-title {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 36px;
    color: #FFFFFF;
}

.adiff__card-desc {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #FFFFFF;
}

/* ===== Our Team — carousel (Frame 379 cards + Frame 37 indicator) ===== */
.team {
    width: 100%;
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0 40px;
}

.team__track {
    width: 1380px;
    max-width: calc(100% - 60px);
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 22px;            /* room for the card shadow */
    scrollbar-width: none;           /* Firefox */
}
.team__track::-webkit-scrollbar { display: none; }

/* Frame 379 : one card (334 wide, 51px reserved on top for the avatar) */
.team__card {
    flex: 0 0 auto;
    width: min(334px, calc(100vw - 54px));
    padding-top: 51px;
    box-sizing: border-box;
    scroll-snap-align: start;
}

/* Rectangle 134 : white card body */
.team__box {
    background: #FFFFFF;
    box-shadow: 0px 6px 8px 3px rgba(0, 0, 0, 0.03);
    border-radius: 12px;
    padding: 0 19px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
}

/* Ellipse 24 : avatar sticking above the card top */
.team__avatar {
    flex: none;
    width: 153px;
    height: 153px;
    margin-top: -51px;
    border-radius: 50%;
    border: 4px solid #064700;
    box-sizing: border-box;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #6b6b6b;
}

/* Frame 377 : text block + socials */
.team__body {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

/* Frame 376 : name / role / bio */
.team__meta {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.team__name {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 30px;
    text-align: center;
    color: #363636;
}

.team__role {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 21px;
    text-align: center;
    color: #363636;
}

.team__bio {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
    text-align: center;
    color: #363636;
}

/* Frame 50 : social icons row */
.team__socials {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.team__social {
    display: inline-flex;
    line-height: 0;
}
.team__social img {
    width: 26px;
    height: 26px;
    display: block;
    object-fit: contain;
}

/* Frame 37 : dashed progress indicator */
.team__dots {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 26px;
}

.team__dot {
    width: 14px;
    height: 6px;
    border-radius: 30px;
    background: #C4622D;
    opacity: 0.55;
    cursor: pointer;
    transition: width 0.35s ease, opacity 0.35s ease;
}
.team__dot.is-active {
    width: 107px;
    opacity: 1;
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
    .ahero { height: 640px; }
    .awhat__title { font-size: 38px; line-height: 56px; }
    .ahero__content { padding: 0 26px 90px; }
    .ahero__title { font-size: 34px; line-height: 48px; }
    .ahero__play { width: 66px; height: 66px; }
}

@media (max-width: 768px) {
    .ahero { height: 520px; }
    .ahero__content { padding: 0 22px 64px; }
    .ahero__title { font-size: 28px; line-height: 38px; }
    .ahero__desc { font-size: 16px; line-height: 24px; }
    .ahero__play { width: 56px; height: 56px; }
    .awhat { padding: 44px 0 50px; }
    .awhat__title { font-size: 30px; line-height: 44px; }
    .awhat__media { aspect-ratio: 16 / 11; border-radius: 20px; }
    .ahead__title { font-size: 30px; line-height: 44px; }
    .ahead__desc { font-size: 17px; line-height: 26px; }
    .adiff__grid { grid-template-columns: 1fr; gap: 20px; }
    .adiff__head { max-width: none; }
    .adiff__title { font-size: 28px; line-height: 42px; }
    .adiff__card { aspect-ratio: 680 / 300; border-radius: 20px; }
    .adiff__card-text { padding: 20px 24px 18px; }
}

@media (max-width: 480px) {
    .ahero { height: 420px; }
    .ahero__content { padding: 0 16px 44px; }
    .ahero__title { font-size: 23px; line-height: 32px; }
    .ahero__desc { font-size: 14px; line-height: 21px; }
    .ahero__play { width: 48px; height: 48px; }
    .awhat__title { font-size: 24px; line-height: 34px; }
    .awhat__desc { font-size: 15px; line-height: 23px; text-align: left; }
    .awhat__media { aspect-ratio: 4 / 5; }
    .ahead__title { font-size: 24px; line-height: 34px; }
    .ahead__desc { font-size: 15px; line-height: 23px; }
    .adiff__title { font-size: 23px; line-height: 34px; }
    .adiff__desc { font-size: 15px; line-height: 23px; text-align: left; }
    .adiff__card { aspect-ratio: 4 / 3; }
    .adiff__card-title { font-size: 20px; line-height: 30px; }
    .adiff__card-desc { font-size: 14px; line-height: 21px; }
    .team__dot.is-active { width: 72px; }
}
