.expert-team {
    padding: 80px 0;
    background-color: #ffffff;
}

.box {
    max-width: 1200px;
    margin: 0 auto;
}

.box .group {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.box .text-wrapper {
    font-family: "Humanst777 Blk BT", Helvetica, sans-serif;
    font-weight: 900;
    color: #a12b27;
    font-size: 49px;
    letter-spacing: 0;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 40px;
}

.team-member {
    display: flex;
    align-items: stretch;
    gap: 50px;
    position: relative;
    min-height: 120px;
    max-height: 340px;
}

.team-member-primary {
    flex-direction: row;
}

.team-member-secondary {
    flex-direction: row-reverse;
}

.rectangle,
.rectangle-2 {
    display: none;
}

.image,
.img {
    flex: 2;
    width: 0;
    object-fit: cover;
    height: 100%;
    border: 4px solid var(--primary-color);
}

.tm-text-content {
    flex: 7;
    display: flex;
    flex-direction: column;
    justify-content: start; /* Centered vertically within the 480px height */
    padding: 0;
}

.box .div,
.box .text-wrapper-2 {
    font-family: "Humanst777 Blk BT", Helvetica, sans-serif;
    font-weight: 900;
    font-size: 49px;
    line-height: 57px;
    color: #a12b27;
    margin-bottom: 20px;
}

.mr-dharma-teja-bobba,
.mrs-sindhu {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    text-align: justify;
    margin-top: 40px;
}

@media (max-width: 1024px) {
    .box .text-wrapper {
        font-size: 32px;
        position: static;
        margin-bottom: 40px;
    }

    .team-member,
    .team-member-secondary {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        height: auto;
        max-height: none;
        text-align: center;
        margin-bottom: 80px;
    }

    .image,
    .img {
        width: 100%;
        max-width: 450px;
        height: 400px;
        flex: none;
    }

    .tm-text-content {
        width: 100%;
        max-width: 600px;
        flex: none;
    }

    .box .div,
    .box .text-wrapper-2 {
        font-size: 28px;
        line-height: 1.3;
        margin-bottom: 15px;
    }

    .mr-dharma-teja-bobba,
    .mrs-sindhu {
        text-align: center;
        margin-top: 20px;
        width: 100%;
    }
}

/* ─── Standard Page Styles ─── */
.about-hero-section {
    position: relative;
    width: 100%;
    min-height: 85vh;
    background-color: var(--primary-light);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 80px;
}

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

.about-hero-content h1 {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.about-hero-content p {
    font-size: 1.25rem;
    color: var(--white);
    line-height: 1.5;
    font-weight: 500;
}

.our-story-section {
    padding: 80px 0;
    background-color: var(--white);
}

.story-container {
    max-width: 1400px;
    margin: 0 auto;
    background-color: var(--primary-color);
}

.story-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.story-image-col {
    flex: 0 0 40%;
    display: flex;
    justify-content: flex-end;
    padding-right: 40px;
}

.story-image {
    max-width: 100%;
    border: 8px solid var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.story-text-col {
    flex: 0 0 60%;
    padding: 60px 40px 20px 30px;
}

.story-content {
    color: var(--white);
}

.story-content p {
    color: var(--white);
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 40px;
    text-align: justify;
}

.story-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
}

.feature-item span {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.1rem;
}

.mission-section {
    padding: 80px 0;
    background-color: var(--white);
}

.mission-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1050px;
    margin: 0 auto 50px;
}

.md-line {
    flex-grow: 1;
    height: 3px;
    background-color: var(--primary-color);
}

.md-dot {
    width: 12px;
    height: 12px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.mission-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
}

.mission-title {
    font-size: 3.2rem;
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-weight: 800;
    margin-bottom: 25px;
}

.mission-subtitle {
    font-size: 1.15rem;
    color: var(--primary-color);
    line-height: 1.6;
    margin: 0;
}

.mission-list {
    max-width: 1050px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.mission-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.mission-icon {
    width: 28px;
    height: 28px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mission-icon svg {
    width: 14px;
    height: 14px;
    fill: #fff;
}

.mission-content {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--primary-color);
}

.mvv-section {
    background: #fff;
    padding: 60px 5% 80px;
}

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.mvv-card {
    background: #fff6f5;
    border: 1px solid #e6b3b0;
    padding: 45px 35px 70px;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 380px;
    text-align: center;
}

.mvv-card-label {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translate(-50%);
    background: var(--primary-color);
    color: #fff;
    padding: 18px 45px;
    border-radius: 12px;
    font-weight: 900;
    font-size: 1.5rem;
    white-space: nowrap;
    box-shadow: 0 8px 25px rgba(161, 43, 39, 0.25);
}

.mvv-summary-text {
    max-width: 1100px;
    margin: 80px auto 0;
    text-align: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    line-height: 1.8;
    font-weight: 600;
}

@media (max-width: 1200px) {
    .about-hero-content h1 {
        font-size: 4.25rem;
    }

    .story-container {
        width: 92%;
    }

    .story-image-col {
        padding-right: 24px;
    }

    .story-text-col {
        padding: 50px 30px 26px;
    }

    .story-content p {
        font-size: 1.05rem;
    }

    .mission-title {
        font-size: 2.8rem;
    }

    .mvv-grid {
        gap: 28px;
    }
}

@media (max-width: 992px) {
    .about-hero-section {
        min-height: 72vh;
        padding-top: 105px;
        padding-bottom: 60px;
    }

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

    .about-hero-content h1 {
        font-size: 3.5rem;
    }

    .about-hero-content p {
        font-size: 1.08rem;
    }

    .our-story-section,
    .expert-team,
    .mission-section {
        padding: 64px 0;
    }

    .story-wrapper {
        flex-direction: column;
    }

    .story-image-col,
    .story-text-col {
        flex: 0 0 100%;
    }

    .story-image-col {
        justify-content: center;
        padding: 34px 24px 0;
    }

    .story-image {
        width: 100%;
        max-width: 430px;
    }

    .story-text-col {
        padding: 30px 24px 34px;
    }

    .story-text-col .text-\[3\.5rem\] {
        font-size: 2.6rem;
    }

    .story-content p {
        margin-bottom: 30px;
        text-align: left;
    }

    .story-features {
        gap: 16px 20px;
    }

    .mission-divider {
        margin-bottom: 36px;
    }

    .mission-title {
        font-size: 2.45rem;
        margin-bottom: 18px;
    }

    .mission-subtitle {
        font-size: 1.02rem;
    }

    .mission-list {
        gap: 22px;
    }

    .mission-content {
        font-size: 1rem;
    }

    .mvv-section {
        padding: 56px 4% 72px;
    }

    .mvv-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px;
    }

    .mvv-card {
        min-height: 320px;
        padding: 34px 24px 64px;
    }

    .mvv-card-label {
        font-size: 1.25rem;
        padding: 14px 30px;
        bottom: -24px;
    }

    .mvv-summary-text {
        margin-top: 58px;
        font-size: 1.06rem;
        line-height: 1.7;
    }
}

@media (max-width: 768px) {
    .about-hero-section {
        min-height: auto;
        background-position: 58% center;
        padding-top: 96px;
        padding-bottom: 46px;
        align-items: flex-end;
    }

    .about-hero-content {
        max-width: 100%;
    }

    .about-hero-content h1 {
        font-size: clamp(2.5rem, 10.5vw, 3.35rem);
        margin-bottom: 10px;
    }

    .about-hero-content p {
        font-size: 1rem;
        line-height: 1.55;
        max-width: 42ch;
    }

    .our-story-section,
    .expert-team,
    .mission-section {
        padding: 48px 0;
    }

    .story-container {
        width: 100%;
    }

    .story-image-col {
        padding: 22px 16px 0;
    }

    .story-text-col {
        padding: 22px 16px 28px;
    }

    .story-text-col .text-\[3\.5rem\] {
        font-size: 2.15rem;
    }

    .story-content p {
        font-size: 0.98rem;
        line-height: 1.65;
        margin-bottom: 24px;
    }

    .story-features {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .feature-item span {
        font-size: 1rem;
    }

    .box {
        padding: 0 16px;
    }

    .box .text-wrapper {
        font-size: 2.15rem;
        margin-bottom: 20px;
    }

    .team-member,
    .team-member-secondary {
        gap: 20px;
        margin-bottom: 52px;
    }

    .image,
    .img {
        max-width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .tm-text-content {
        max-width: 100%;
    }

    .box .div,
    .box .text-wrapper-2 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 10px;
    }

    .mr-dharma-teja-bobba,
    .mrs-sindhu {
        margin-top: 14px;
        font-size: 1rem;
        line-height: 1.7;
        text-align: left;
    }

    .mission-divider {
        margin-bottom: 28px;
    }

    .mission-title {
        font-size: 2rem;
        margin-bottom: 14px;
    }

    .mission-subtitle {
        font-size: 1rem;
        line-height: 1.55;
    }

    .mission-list {
        gap: 18px;
    }

    .mission-item {
        gap: 12px;
    }

    .mission-icon {
        width: 24px;
        height: 24px;
        margin-top: 2px;
    }

    .mission-content {
        font-size: 0.98rem;
        line-height: 1.65;
    }

    .mvv-section {
        padding: 48px 16px 62px;
    }

    .mvv-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .mvv-card {
        min-height: auto;
        padding: 30px 20px 56px;
    }

    .mvv-card-label {
        font-size: 1.12rem;
        padding: 12px 24px;
        bottom: -20px;
    }

    .mvv-summary-text {
        margin-top: 44px;
        font-size: 1rem;
        line-height: 1.65;
    }
}

@media (max-width: 480px) {
    .about-hero-content h1 {
        font-size: 2.2rem;
    }

    .story-text-col .text-\[3\.5rem\] {
        font-size: 1.95rem;
    }

    .box .div,
    .box .text-wrapper-2 {
        font-size: 1.75rem;
    }

    .mission-title {
        font-size: 1.75rem;
    }

    .mvv-card-label {
        font-size: 1rem;
        padding: 10px 20px;
    }
}
