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

.about-page {
    background: #ffffff;
}

.about-hero {
    min-height: clamp(500px, 44vw, 720px);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-image: url('assets/aboutherobanner.jpg');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}

.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.about-hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    padding-top: clamp(130px, 13vw, 220px);
}

.about-hero-copy {
    max-width: 910px;
}

.about-hero-title {
    font-size: clamp(2.25rem, 4.2vw, 5.15rem);
    font-weight: 600;
    line-height: 1.02;
    margin-bottom: clamp(0.9rem, 1.2vw, 1.45rem);
}

.about-hero-text {
    max-width: 560px;
    font-size: clamp(1rem, 1.16vw, 1.45rem);
    line-height: 1.4;
    color: #172033;
}

.about-values {
    background: #011c46;
    /* Deepest black-navy backdrop to let the cards shine */
    padding: clamp(4.5rem, 7.5vw, 9rem) 0;
}

.about-values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.2rem, 1.8vw, 2.2rem);
}

.about-value-card {
    --card-bg-solid: #082045;
    min-height: clamp(240px, 17vw, 300px);
    padding: clamp(1.6rem, 2.2vw, 2.6rem) clamp(1.5rem, 2vw, 2.4rem);
    color: #ffffff;
    background:
        linear-gradient(var(--card-bg-solid), var(--card-bg-solid)) padding-box,
        linear-gradient(135deg, rgba(0, 102, 255, 0.6) 0%, rgba(0, 102, 255, 0.1) 100%) border-box;
    border: 1px solid transparent;
    border-radius: 8px;
    box-shadow: 0 20px 45px rgba(0, 2, 10, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    transition: var(--transition);
}

.about-value-card:hover {
    --card-bg-solid: #011e4b;
    transform: translateY(-6px);
    background:
        linear-gradient(var(--card-bg-solid), var(--card-bg-solid)) padding-box,
        linear-gradient(135deg, rgba(0, 102, 255, 0.85) 0%, rgba(0, 102, 255, 0.2) 100%) border-box;
    box-shadow: 0 25px 50px rgba(0, 102, 255, 0.16);
}

.about-value-icon {
    width: clamp(64px, 5.2vw, 96px);
    height: clamp(64px, 5.2vw, 96px);
    margin-bottom: clamp(1.1rem, 1.6vw, 2rem);
    color: rgba(255, 255, 255, 0.96);
    transition: var(--transition);
}

.about-value-card:hover .about-value-icon {
    transform: scale(1.05);
}

.about-value-icon svg,
.about-value-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.about-value-card h2 {
    font-size: clamp(1.45rem, 1.8vw, 2.2rem);
    font-weight: 700;
    line-height: 1.15;
    margin-top: auto;
    /* Push content to bottom for a balanced grid alignment */
    margin-bottom: 0.6rem;
    background: linear-gradient(135deg, #ffa0b8 0%, #ff768f 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-value-card p {
    max-width: 320px;
    color: rgba(255, 255, 255, 0.85);
    font-size: clamp(0.95rem, 1.05vw, 1.2rem);
    line-height: 1.45;
}

.about-team {
    padding: clamp(4.5rem, 7vw, 8.5rem) 0 clamp(5rem, 8vw, 9rem);
    background: #ffffff;
}

.about-section-heading {
    text-align: center;
    max-width: 900px;
    margin: 0 auto clamp(2.5rem, 4vw, 4.5rem);
}

.about-kicker {
    display: inline-flex;
    align-items: center;
    min-height: clamp(28px, 2vw, 40px);
    padding: 0 clamp(0.8rem, 1vw, 1.25rem);
    margin-bottom: clamp(0.8rem, 1.15vw, 1.35rem);
    color: #111111;
    background: #fff2f4;
    border: 1px solid rgba(209, 42, 46, 0.35);
    border-radius: 999px;
    font-size: clamp(0.75rem, 0.82vw, 1rem);
    font-weight: 700;
    line-height: 1;
}

.about-section-heading h2 {
    font-size: clamp(2.5rem, 5vw, 5.85rem);
    font-weight: 500;
    line-height: 1.04;
    margin-bottom: clamp(0.8rem, 1.25vw, 1.5rem);
}

.about-section-heading p {
    color: #212936;
    font-size: clamp(1rem, 1.1vw, 1.32rem);
    line-height: 1.4;
}

.about-team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 2.5vw, 3rem);
    max-width: 100%;
    margin: 0 auto;
}

.about-member-card {
    border-radius: 14px;
    box-shadow: 0 20px 48px rgba(0, 43, 92, 0.08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-member-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 43, 92, 0.16);
}

/* Row-based gradients to perfectly align with the mockup reference design */
.about-member-card:nth-child(1),
.about-member-card:nth-child(2) {
    background: linear-gradient(135deg, #c4dbff 0%, #ffdbe1 100%);
}

.about-member-card:nth-child(3),
.about-member-card:nth-child(4) {
    background: linear-gradient(135deg, #ffdbe1 0%, #c4dbff 100%);
}

.about-member-media {
    position: relative;
    width: 100%;
    aspect-ratio: 1.88 / 1;
    overflow: hidden;
}

.about-member-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-member-card:hover .about-member-media img {
    transform: scale(1.03);
}

.about-member-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.about-member-card.is-playing-video .about-member-video {
    opacity: 1;
    pointer-events: auto;
}

.about-member-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.15rem;
    position: relative;
    z-index: 2;
}

.member-video-btn {
    height: 30px;
    padding: 0 0.9rem;
    font-size: clamp(0.65rem, 0.7vw, 0.72rem);
    font-weight: 700;
    color: var(--clr-navy-dark);
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 99px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    line-height: 1;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    z-index: 5;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 21, 51, 0.04);
}

/* Micro play triangle icon */
.member-video-btn::before {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 4px 0 4px 7px;
    border-color: transparent transparent transparent var(--clr-navy-dark);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.member-video-btn .btn-text {
    line-height: 1;
    display: inline-block;
    position: relative;
    top: 1px;
}

.member-video-btn:hover {
    background: var(--clr-navy-dark);
    color: var(--clr-white);
    border-color: var(--clr-navy-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 21, 51, 0.12);
}

.member-video-btn:hover::before {
    border-color: transparent transparent transparent var(--clr-white);
}

.member-video-btn:active {
    transform: translateY(0);
}

/* Active playing state - Red theme */
.about-member-card.is-playing-video .member-video-btn {
    background: var(--clr-red);
    border-color: var(--clr-red);
    color: var(--clr-white);
    box-shadow: 0 2px 8px rgba(209, 42, 46, 0.15);
}

/* Pause/Stop square icon when playing */
.about-member-card.is-playing-video .member-video-btn::before {
    width: 6px;
    height: 6px;
    border: none;
    background-color: var(--clr-white);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-member-card.is-playing-video .member-video-btn:hover {
    background: #a82025;
    border-color: #a82025;
    box-shadow: 0 6px 15px rgba(209, 42, 46, 0.25);
}

.about-member-body {
    position: relative;
    min-height: clamp(160px, 12vw, 220px);
    padding: clamp(1.5rem, 2vw, 2.5rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Exquisite quote watermarks positioned absolute on the left and right */
.about-member-card:nth-child(1) .about-member-body::before,
.about-member-card:nth-child(2) .about-member-body::before {
    content: '“';
    position: absolute;
    left: clamp(0.5rem, 1.2vw, 1.8rem);
    top: clamp(3.2rem, 4.5vw, 5.5rem);
    font-size: clamp(6.5rem, 9vw, 11rem);
    font-weight: 800;
    line-height: 1;
    color: rgba(0, 102, 255, 0.15);
    /* Faint custom-blue quote */
    pointer-events: none;
}

.about-member-card:nth-child(1) .about-member-body::after,
.about-member-card:nth-child(2) .about-member-body::after {
    content: '”';
    position: absolute;
    right: clamp(0.5rem, 1.2vw, 1.8rem);
    bottom: clamp(-2.8rem, -2.2vw, -1.8rem);
    font-size: clamp(6.5rem, 9vw, 11rem);
    font-weight: 800;
    line-height: 1;
    color: rgba(209, 42, 46, 0.15);
    /* Faint custom-red quote */
    pointer-events: none;
}

.about-member-card:nth-child(3) .about-member-body::before,
.about-member-card:nth-child(4) .about-member-body::before {
    content: '“';
    position: absolute;
    left: clamp(0.5rem, 1.2vw, 1.8rem);
    top: clamp(3.2rem, 4.5vw, 5.5rem);
    font-size: clamp(6.5rem, 9vw, 11rem);
    font-weight: 800;
    line-height: 1;
    color: rgba(209, 42, 46, 0.15);
    /* Faint custom-red quote */
    pointer-events: none;
}

.about-member-card:nth-child(3) .about-member-body::after,
.about-member-card:nth-child(4) .about-member-body::after {
    content: '”';
    position: absolute;
    right: clamp(0.5rem, 1.2vw, 1.8rem);
    bottom: clamp(-2.8rem, -2.2vw, -1.8rem);
    font-size: clamp(6.5rem, 9vw, 11rem);
    font-weight: 800;
    line-height: 1;
    color: rgba(0, 102, 255, 0.15);
    /* Faint custom-blue quote */
    pointer-events: none;
}

.about-member-body h3 {
    font-size: clamp(1.5rem, 2vw, 2.4rem);
    font-weight: 700;
    color: var(--clr-red);
    line-height: 1.1;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}

.about-member-body>span {
    display: block;
    color: #5a6e85;
    font-size: clamp(0.85rem, 0.95vw, 1.1rem);
    font-weight: 500;
    margin-bottom: clamp(0.8rem, 1.2vw, 1.5rem);
    position: relative;
    z-index: 2;
}

.about-member-body p {
    color: #111827;
    font-size: clamp(0.95rem, 1.05vw, 1.25rem);
    line-height: 1.45;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

.about-member-body p strong {
    font-weight: 700;
    color: #000000;
}

.about-founder {
    position: relative;
    overflow: hidden;
    padding: clamp(6rem, 10vw, 12rem) 0;
    color: #ffffff;
    background-image: url('assets/aboutsectionbanner2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.about-founder-inner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
}

.about-founder-copy {
    max-width: 650px;
    width: 100%;
}

.about-founder-copy .about-kicker {
    background: #ffe4eb;
    border-color: #ffb7c7;
}

.about-founder-copy h2 {
    font-size: clamp(2.7rem, 5vw, 5.65rem);
    line-height: 1.02;
    font-weight: 800;
    margin-bottom: clamp(1.2rem, 1.8vw, 2rem);
    background: linear-gradient(90deg, #ff98ad 0%, #ffd8e0 52%, #e84866 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-founder-copy p {
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(1rem, 1.1vw, 1.35rem);
    line-height: 1.5;
    margin-bottom: clamp(0.9rem, 1vw, 1.2rem);
}

.about-founder-copy .btn {
    margin-top: clamp(1.8rem, 3.5vw, 2.8rem);
}



.about-final-cta {
    padding: clamp(5rem, 7vw, 8rem) 0;
    background:
        linear-gradient(180deg, #001533 0%, #002d68 100%);
    color: #ffffff;
    text-align: center;
}

.about-final-cta-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-final-cta h2 {
    font-size: clamp(2.45rem, 4.6vw, 5.6rem);
    font-weight: 800;
    margin-bottom: clamp(0.9rem, 1.2vw, 1.45rem);
    background: linear-gradient(90deg, #ff98ad 0%, #ffd8e0 52%, #e84866 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-final-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(0.98rem, 1.04vw, 1.22rem);
    margin-bottom: clamp(1.4rem, 2vw, 2.2rem);
}

.about-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(0.8rem, 1vw, 1.1rem);
}

.about-cta-actions .btn {
    min-height: 48px;
}

@media (min-width: 700px) {
    .about-team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 900px) {
    .about-values-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .about-team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ============================================
   FOUNDER VIDEO SECTION
   ============================================ */
.founder-video-section {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
}

.founder-video-overlay {
    position: absolute;
    inset: 0;
    background: url('assets/founders-vision-16x9.png') no-repeat center / cover;
    display: flex;
    align-items: flex-end;
    padding: clamp(1.5rem, 5vw, 6rem);
    z-index: 3;
}

.video-play-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* Exquisite gradient play button matching the mockup reference design */
.video-play-btn {
    position: absolute;
    left: 10.125%;
    top: 73.0%;
    transform: translate(-50%, -50%);
    width: 7.8125cqw;
    height: 7.8125cqw;
    border-radius: 50%;
    background: linear-gradient(135deg, #0e1320 0%, #b31017 100%);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0;
    z-index: 5;
}

/* Breathing ripple effect pseudo-element */
.video-play-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    z-index: -1;
    box-shadow:
        0 0 0 1.8cqw rgba(154, 169, 255, 0.707),
        0 0 0 3.5cqw rgba(174, 185, 248, 0.437);
    animation: play-button-ripple 3s infinite cubic-bezier(0.25, 0, 0, 1);
    transition: box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.video-play-btn svg {
    width: 45%;
    height: 45%;
    color: #ffffff;
    margin-left: 6%;
    /* Visual centering adjustment for play triangle */
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.08);
}

.video-play-btn:hover::before {
    box-shadow:
        0 0 0 1.8cqw rgba(139, 156, 253, 0.707),
        0 0 0 3.5cqw rgba(189, 199, 255, 0.707);
}

.video-play-btn:hover svg {
    transform: scale(1.1);
}

.video-play-btn:active {
    transform: translate(-50%, -50%) scale(0.96);
}

@keyframes play-button-ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.35);
        opacity: 0;
    }
}

.video-text-overlay {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    color: var(--clr-white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

.video-kicker {
    font-size: clamp(0.75rem, 0.8vw, 0.95rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #e0f0ff;
}

.video-title {
    font-size: clamp(1.2rem, 2.5vw, 2.8rem);
    font-weight: 700;
    line-height: 1.15;
    margin: 0;
    color: var(--clr-white);
}

/* ===== VIDEO POPUP MODAL ===== */
.video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 12, 30, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-container {
    width: 90%;
    max-width: 1000px;
    background: #000000;
    border-radius: 16px;
    overflow: visible;
    /* To allow close button to float nicely */
    position: relative;
    transform: scale(0.9) translateY(30px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.video-modal-overlay.active .video-modal-container {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.video-modal-close {
    position: absolute;
    top: clamp(-56px, -5vw, -48px);
    right: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10;
}

.video-modal-close svg {
    width: 20px;
    height: 20px;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.3s ease;
}

.video-modal-close:hover {
    background: #d12a2e;
    border-color: #d12a2e;
    transform: scale(1.08);
}

.video-modal-close:hover svg {
    transform: rotate(90deg);
}

.video-modal-close:active {
    transform: scale(0.95);
}

.video-modal-content {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
    border-radius: 14px;
    overflow: hidden;
}

.modal-video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Adjust close button placement on very small screens to fit in viewport */
@media (max-width: 768px) {
    .video-modal-close {
        top: 12px;
        right: 12px;
        background: rgba(0, 0, 0, 0.7);
        border-color: rgba(255, 255, 255, 0.4);
    }
}



@media (max-width: 760px) {
    .about-hero {
        min-height: 810px;
        background-image: url('assets/aboutusmobilebanner.png');
        background-position: center;
        background-size: cover;
    }

    .about-hero::before {
        display: none !important;
    }

    .about-hero-inner {
        align-self: flex-start;
    }

    .about-section-heading h2 br,
    .about-final-cta h2 br {
        display: none;
    }

    .about-founder {
        background-image: url('assets/foundersectionmobile.png') !important;
        background-position: center !important;
        background-size: cover !important;
        min-height: 880px;
    }
}