/* About Page Specific Styles */

.decoration-blueball-1 {
    left: 222px;
    top: 1600px;
    width: 1201px;
    height: 792px;
    background-image: radial-gradient(circle closest-side at calc(50% - 80px) calc(50% + 40px), rgba(60, 150, 255, 0.52) 0%, rgba(60, 150, 255, 0.28) 18%, rgba(60, 150, 255, 0.12) 42%, rgba(60, 150, 255, 0.06) 60%, rgba(60, 150, 255, 0.02) 82%, transparent 100%);
}

.decoration-blueball-2 {
    left: 222px;
    top: 2400px;
    width: 1201px;
    height: 792px;
    background-image: radial-gradient(circle closest-side at center, rgba(60, 150, 255, 0.52) 0%, rgba(60, 150, 255, 0.28) 18%, rgba(60, 150, 255, 0.12) 42%, rgba(60, 150, 255, 0.06) 60%, rgba(60, 150, 255, 0.02) 82%, transparent 100%);
}

.decoration-bluecloud {
    left: 50%;
    top: 1400px;
    width: 1593px;
    height: 896px;
    opacity: 0.15; /* Initial; JS animates 0.15 → 0.75 → 0.15 on scroll */
    object-fit: contain;
    display: block;
    transform: translateX(-50%);
    z-index: 1;
    pointer-events: none;
}

/* About Page Specific Styles */

/* Mission Section */
.mission-section.section {
    padding: 140px 0 120px;
    overflow: hidden;
}

.mission-content {
    display: flex;
    gap: 60px;
    align-items: flex-end;
    overflow: hidden;
}

.mission-images {
    display: flex;
    gap: 32px;
    flex-shrink: 0;
    overflow: hidden;
}

.mission-image-large {
    width: 270px;
    height: 570px;
    border-radius: 16px;
    overflow: hidden;
    background: transparent;
    position: relative;
    margin-top: 58px;
}

.mission-image-large.img-placeholder {
    background: #2a364b;
}

.mission-image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.mission-images-small {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 270px;
    height: 570px;
    padding-bottom: 58px;
    overflow: hidden;
}

.mission-image-small {
    flex: 1;
    min-height: 0;
    border-radius: 16px;
    overflow: hidden;
    background: white;
    position: relative;
}

.mission-image-small.img-placeholder {
    background: #2a364b;
}

.mission-image-small:first-child img {
    width: 360px;
    height: 240px;
    object-fit: cover;
    position: absolute;
    left: -60px;
    top: 0;
}

.mission-image-small:last-child img {
    width: 359px;
    height: 240px;
    object-fit: cover;
    position: absolute;
    left: -44px;
    top: 0;
}

.mission-text {
    flex: 1;
    max-width: 564px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mission-badge {
    display: inline-block;
    padding: 6px 8px;
    background-color: var(--alfa-grey-1);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: var(--text-primary);
    width: fit-content;
}

.mission-title {
    font-family: 'Urbanist', sans-serif;
    font-weight: 700;
    font-size: 64px;
    line-height: 72px;
    color: var(--text-primary);
    margin: 0;
}

.mission-description {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.mission-description p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 32px;
    color: var(--text-secondary);
    margin: 0;
}

/* Team Section */
.team-section {
    padding: 80px 0 120px;
}

.team-section .section-title {
    text-align: center;
    margin-bottom: 60px;
}

.team-content {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.team-scroll-wrapper {
    position: relative;
    --fade-left-opacity: 1;
    --fade-right-opacity: 1;
    isolation: isolate;
}

.team-scroll-wrapper::before,
.team-scroll-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: calc(20px / 1.5);
    width: calc(80px / 1.5);
    pointer-events: none;
    z-index: 10;
    transition: opacity 0.2s ease;
}

.team-scroll-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--black-500) 0%, transparent 100%);
    opacity: var(--fade-left-opacity);
}

.team-scroll-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--black-500) 0%, transparent 100%);
    opacity: var(--fade-right-opacity);
}

.team-grid {
    display: flex;
    gap: calc(40px / 1.5);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: calc(20px / 1.5);
}

.team-grid::-webkit-scrollbar {
    display: none;
}

.team-member {
    flex: 0 0 calc(380px / 1.5);
    display: flex;
    flex-direction: column;
    gap: calc(20px / 1.5);
    scroll-snap-align: start;
}

.team-member-image {
    width: 100%;
    height: calc(380px / 1.5);
    border-radius: calc(16px / 1.5);
    overflow: hidden;
    background: white;
    position: relative;
}

.team-member-image.img-placeholder {
    background: #2a364b;
}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-member-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.team-member-roles {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.team-member-role-chip {
    display: inline-block;
    padding: 3px 12px;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;
    color: var(--text-primary);
    white-space: nowrap;
}

.team-member-name {
    font-family: 'Urbanist', sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 40px;
    color: var(--text-primary);
    margin: 0;
}

.team-member-bio {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: var(--text-primary);
    margin: 0;
}

.team-controls {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.team-arrow {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    border: none;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
}

.team-arrow .icon-btn-icon {
    width: 24px;
    height: 24px;
}

.team-arrow .icon-angle-left,
.team-arrow .icon-angle-right {
    width: 24px;
    height: 24px;
    object-fit: contain;
    transition: transform 0.3s, opacity 0.3s;
}

.team-arrow:disabled {
    opacity: 0.4;
}

.team-arrow:disabled .icon-angle-left,
.team-arrow:disabled .icon-angle-right {
    opacity: 0.6;
}

.team-arrow:not(:disabled):hover .icon-angle-left,
.team-arrow:not(:disabled):hover .icon-angle-right,
.team-arrow:not(:disabled):active .icon-angle-left,
.team-arrow:not(:disabled):active .icon-angle-right {
    transform: scale(1.25);
}

/* Partners Section */
.partners-section {
    padding: 80px 0 80px;
}

.partners-content {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.partners-video {
    flex: 0 0 570px;
}

.video-thumbnail {
    width: 100%;
    height: 547px;
    border-radius: 20.271px;
    overflow: hidden;
    background: white;
    position: relative;
}

.video-thumbnail.img-placeholder {
    background: #2a364b;
}

.video-thumbnail--interactive {
    border: none;
    padding: 0;
    background: transparent;
    cursor: pointer;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 2;
}

.video-thumbnail--interactive:hover .video-play-button {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-button img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    display: block;
}

.partners-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.partners-title {
    font-family: 'Urbanist', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 56px;
    color: var(--text-primary);
    margin: 0;
}

.partners-description {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 32px;
    color: var(--text-secondary);
    margin: 0;
}

.partners-logos {
    display: flex;
    gap: 48px;
    align-items: flex-end;
}

.partner-logo-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

.partner-logo-image {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.partner-logo-name {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;
    color: var(--text-primary);
    text-align: center;
    margin: 0;
    text-decoration: none;
}

.partner-logo-item:first-child .partner-logo-image {
    width: 125px;
    height: 40px;
}

/* CTA Section */
.cta-section {
    padding: 120px 0 100px;
    margin-bottom: 0;
}

.cta-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--alfa-grey-1);
    border-radius: 16px;
    padding: 80px;
    display: flex;
    gap: 60px;
    position: relative;
    overflow: hidden;
}

.cta-card::before,
.cta-card::after {
    content: '';
    position: absolute;
    width: 650px;
    height: 650px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(60, 150, 255, 0.16) 0%, rgba(60, 150, 255, 0.06) 35%, rgba(60, 150, 255, 0.02) 55%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.cta-card::before {
    top: -274px;
    left: -431px;
}

.cta-card::after {
    top: -274px;
    right: -274px;
}

.cta-content,
.cta-contact {
    position: relative;
    z-index: 1;
}

.cta-content {
    flex: 0 0 468px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.cta-title {
    font-family: 'Urbanist', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 56px;
    color: var(--text-primary);
    margin: 0;
}

.cta-description {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 32px;
    color: var(--text-secondary);
    margin: 0;
}

.cta-contact {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cta-contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-end;
}

.cta-contact-item:first-child {
    align-items: flex-start;
}

.cta-contact-item:first-child .cta-contact-icon {
    margin-top: 32px;
}

.cta-contact-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cta-contact-icon i {
    font-size: 20px;
    color: var(--text-primary);
}

.cta-contact-icon .icon-location-pin {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.9));
}

.cta-contact-icon .icon-email {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.9));
}

.cta-contact-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cta-contact-label {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: var(--text-secondary);
}

.cta-contact-value-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.cta-contact-value-wrap .cta-contact-value {
    flex: 0 1 auto;
    min-width: 0;
}

.cta-copy-location {
    flex-shrink: 0;
    margin-left: -8px;
}

.cta-contact-value {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 32px;
    color: var(--white-100);
}

/* Responsive */
@media (max-width: 1440px) {
    .mission-content {
        gap: 40px;
    }
    
    .partners-content {
        gap: 40px;
    }
    
    .cta-card {
        gap: 40px;
        padding: 60px;
    }
}

@media (max-width: 1024px) {
    .team-scroll-wrapper::before,
    .team-scroll-wrapper::after {
        width: calc(48px / 1.5);
    }

    .mission-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .mission-images {
        width: 100%;
        justify-content: center;
    }
    
    .mission-text {
        max-width: 100%;
    }
    
    .mission-title {
        font-size: 48px;
        line-height: 56px;
    }
    
    .team-grid {
        gap: calc(24px / 1.5);
    }
    
    .team-member {
        flex: 0 0 calc(320px / 1.5);
    }
    
    .partners-content {
        flex-direction: column;
    }
    
    .partners-video {
        flex: 1;
        width: 100%;
    }
    
    .video-thumbnail {
        height: 400px;
    }
    
    .partners-logos {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .cta-card {
        flex-direction: column;
        padding: 40px;
    }
    
    .cta-content {
        flex: 1;
    }
}

@media (max-width: 768px) {
    /* Less top gap than desktop 140px; still clears fixed header + safe area */
    .mission-section.section {
        padding-top: max(76px, calc(env(safe-area-inset-top) + 48px));
        padding-bottom: 72px;
    }

    .team-scroll-wrapper::before,
    .team-scroll-wrapper::after {
        display: none;
    }

    .team-content {
        gap: 0;
    }

    .team-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 12px;
        overflow-x: visible;
        scroll-snap-type: none;
        padding-bottom: 0;
    }

    .team-member {
        flex: none;
        min-width: 0;
        gap: 12px;
    }

    .team-member-image {
        height: auto;
        aspect-ratio: 1;
    }

    .team-member-name {
        font-size: 18px;
        line-height: 24px;
    }

    .team-member-bio {
        font-size: 13px;
        line-height: 18px;
    }

    .team-member-role-chip {
        font-size: 10px;
        line-height: 14px;
        padding: 2px 8px;
        white-space: normal;
    }

    .team-controls {
        display: none;
    }

    .mission-images {
        flex-direction: column;
        width: 100%;
    }
    
    .mission-image-large {
        width: 100%;
        height: 400px;
        padding-top: 0;
    }
    
    .mission-image-large img {
        width: 100%;
        height: 100%;
    }
    
    .mission-images-small {
        width: 100%;
        height: auto;
        flex-direction: row;
        padding-bottom: 0;
    }
    
    .mission-image-small {
        flex: 1;
        height: 200px;
    }
    
    .mission-image-small:first-child img,
    .mission-image-small:last-child img {
        width: 100%;
        height: 100%;
        left: 0;
    }
    
    .mission-title {
        font-size: 36px;
        line-height: 44px;
    }
    
    .mission-description p {
        font-size: 18px;
        line-height: 26px;
    }
    
    .partners-title {
        font-size: 36px;
        line-height: 44px;
    }
    
    .partners-description {
        font-size: 18px;
        line-height: 26px;
    }
    
    .cta-title {
        font-size: 36px;
        line-height: 44px;
    }
    
    .cta-description {
        font-size: 18px;
        line-height: 26px;
    }
}

@media (max-width: 480px) {
    .mission-section.section {
        padding-top: max(72px, calc(env(safe-area-inset-top) + 44px));
        padding-bottom: 56px;
    }
}
