/* About Us Page Styles */
:root {
    /* Light Theme Colors */
    --bg-primary: #f8f9fa;
    --bg-secondary: #ffffff;
    --bg-accent: #f2f7fc;
    --bg-dark: #16181d;
    --bg-card: rgba(255, 255, 255, 0.8);
    
    --text-primary: #333333;
    --text-secondary: #16181d;
    --text-muted: rgba(0, 0, 0, 0.6);
    --text-light: rgba(255, 255, 255, 0.8);
    --text-white: #ffffff;
    
    --border-light: rgba(0, 0, 0, 0.08);
    --border-accent: rgba(55, 124, 247, 0.1);
    
    --accent-primary: #377CF7;
    --accent-secondary: #1764FF;
    
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.3);
    
    /* Gradient overlays */
    --gradient-card: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent 22.78%);
    --gradient-card-hover: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 30%);
}

/* Dark Theme - removed auto dark theme to rely on manual toggle only */

/* Manual Dark Theme Class */
[data-theme="dark"] {
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-accent: #1e1e1e;
    --bg-card: rgba(40, 40, 40, 0.8);
    
    --text-primary: #ffffff;
    --text-secondary: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.6);
    --text-light: rgba(255, 255, 255, 0.8);
    
    --border-light: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(55, 124, 247, 0.2);
    
    --shadow-light: rgba(0, 0, 0, 0.3);
    --shadow-medium: rgba(0, 0, 0, 0.6);
    
    --gradient-card: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 22.78%);
    --gradient-card-hover: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 30%);
}

/* Dark Theme Class for Header Toggle */
body.dark {
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-accent: #1e1e1e;
    --bg-card: rgba(40, 40, 40, 0.8);
    
    --text-primary: #ffffff;
    --text-secondary: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.6);
    --text-light: rgba(255, 255, 255, 0.8);
    
    --border-light: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(55, 124, 247, 0.2);
    
    --shadow-light: rgba(0, 0, 0, 0.3);
    --shadow-medium: rgba(0, 0, 0, 0.6);
    
    --gradient-card: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 22.78%);
    --gradient-card-hover: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 30%);
}

html {
    scroll-behavior: smooth; /* Smooth native scroll behavior */
}

/* Theme toggle removed - using global header theme toggle */

.about-us-main {
    min-height: 100vh;
    background-color: var(--bg-primary);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'proxima-nova', Roboto, sans-serif;
    transform: translateZ(0); /* Hardware acceleration for page */
    will-change: scroll-position;
    color: var(--text-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden; /* Prevent horizontal scroll */
    max-width: 100vw; /* Ensure content doesn't exceed viewport width */
}

/* First Screen Section */
.about-first-screen {
    position: relative;
    overflow: hidden;
    background-color: var(--bg-accent);
    transition: background-color 0.3s ease;
}

.about-first-screen__icon {
    position: absolute;
    top: -30.4px;
    left: 60px;
    opacity: 0.7;
}

.about-first-screen__icon-underline {
    top: unset !important;
    bottom: -12.42px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.about-first-screen__container {
    position: relative;
    display: flex;
    flex-direction: column;
    max-width: clamp(343px, 100vw - 5.0379%, 1488px);
    margin: 0 auto;
}

.about-first-screen__title {
    position: relative;
    max-width: 977px;
    padding-top: 128px;
    padding-bottom: 112px;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 80px;
    font-family: "Gilroy-Semibold";
    transition: color 0.3s ease;
    font-style: normal;
    line-height: 110%;
    letter-spacing: -3px;
    text-align: left;
}

.about-first-screen__box {
    position: relative;
    display: grid;
    grid-column-gap: 56px;
    grid-template-columns: 1fr 1fr;
    padding: 0 0 105px;
}

.about-first-screen__subtitle {
    position: relative;
    height: fit-content;
    color: #333333;
    font-weight: 500;
    font-size: 70px;
    font-style: normal;
    line-height: 110%;
    letter-spacing: -2px;
    text-align: right;
}

.about-first-screen__width {
    position: relative;
}

.about-first-screen__text {
    color: var(--text-primary);
    font-weight: 400;
    font-size: 20px;
    transition: color 0.3s ease;
    font-style: normal;
    line-height: 32px;
    opacity: 0.8;
    text-align: justify;
    font-family: "Gilroy-Medium";
}

/* Video Section */
.about-first-screen-video__video {
    position: relative;
    width: 100%;
    max-height: 819px;
    object-fit: cover;
    background: linear-gradient(180deg, transparent 71.22%, rgba(0, 0, 0, 0.4)), 
                linear-gradient(0deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
    border-radius: 64px;
}

.about-first-screen-video__overlay {
    position: relative;
    display: flex;
    max-width: clamp(343px, 100vw - 5.0379%, 1728px);
    margin: 0 auto;
    overflow: hidden;
    border-radius: 64px;
}

.about-first-screen-video__overlay:after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    /* z-index: 99999; */
    display: block;
    width: 100%;
    height: 100%;
    margin: auto;
    background: linear-gradient(180deg, transparent 71.22%, rgba(0, 0, 0, 0.4)), 
                linear-gradient(0deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
    border-radius: 64px;
    content: "";
}

/* Video Placeholder Styles */
.about-first-screen-video__placeholder {
    position: relative;
    width: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #377CF7 0%, #2563EB 100%);
    border-radius: 64px;
    z-index: 1;
}

.about-first-screen-video__placeholder-content {
    text-align: center;
    color: white;
    z-index: 2;
}

.about-first-screen-video__play-icon {
    margin: 0 auto 20px;
    opacity: 0.8;
    color: white;
}

.about-first-screen-video__placeholder h3 {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: white;
}

.about-first-screen-video__placeholder p {
    font-size: 14px;
    opacity: 0.8;
    margin: 0;
    color: white;
}

/* Animations */
@keyframes about-first-screen-show {
    to {
        fill-opacity: 1;
    }
}

/* Responsive Design */

/* Tablet: 768px - 1144px */
@media screen and (max-width: 1144px) {
    .about-first-screen__container {
        width: 100%;
        max-width: calc(100% - 32px);
        margin-right: 16px;
        margin-left: 16px;
    }

    .about-first-screen__title {
        padding-top: 80px;
        padding-bottom: 72px;
        font-weight: 500;
        font-size: 80px;
        font-style: normal;
        line-height: 110%;
        letter-spacing: -2px;
        text-align: center;
        max-width: -webkit-fill-available;
    }

    .about-first-screen__box {
        display: flex;
        flex-direction: column;
        padding-bottom: 24px;
    }

    .about-first-screen__subtitle {
        width: fit-content;
        margin: 0 auto;
        padding-bottom: 24px;
        font-weight: 500;
        font-size: 55px;
        font-style: normal;
        line-height: 120%;
        letter-spacing: -0.5px;
        text-align: center;
    }

    .about-first-screen__text {
        font-weight: 400;
        font-size: 16px;
        font-style: normal;
        line-height: 28px;
        text-align: center;
    }

    .about-first-screen-video__video,
    .about-first-screen-video__overlay {
        border-radius: 24px;
    }

    .about-first-screen-video__overlay:after {
        border-radius: 24px;
    }

    .about-first-screen-video__overlay {
        max-width: clamp(343px, 100vw - 32px, 1728px);
    }

    .about-first-screen-video__placeholder {
        border-radius: 24px;
        min-height: 300px;
    }

    .about-first-screen-video__placeholder h3 {
        font-size: 20px;
    }

    .about-first-screen-video__placeholder p {
        font-size: 12px;
    }
}

/* Mobile Large: 431px - 767px */
@media (max-width: 767px) and (min-width: 431px) {
    .about-carousel__title {
        font-size: 45px;
        letter-spacing: -2px;
    }

    /* Carousel slider settings for mobile large */
    .about-carousel__swiper {
        padding: 0 18px;
    }

    .about-carousel__slide {
        flex-direction: column;
        padding: 28px;
        gap: 20px;
        min-height: auto;
        max-width: none;
    }

    .about-carousel__info {
        min-width: auto;
        max-width: none;
        text-align: center;
    }

    .about-carousel__name {
        font-size: 28px;
        letter-spacing: -0.8px;
        margin-bottom: 12px;
    }

    .about-carousel__text {
        font-size: 16px;
        line-height: 26px;
    }

    .about-carousel__img {
        min-width: auto;
        max-width: none;
        min-height: 240px;
        width: 100%;
        border-radius: 20px;
    }

    /* Ensure proper slide visibility */
    .about-carousel__swiper .swiper-slide {
        min-width: 100%;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .about-first-screen__icon-underline {
        position: absolute;
        top: 10px;
        left: 50px;
    }
    .path {
        top: 10px;
    }
    .about-first-screen__container {
        padding: 0 20px;
    }

    .about-first-screen__title {
        padding-top: 60px;
        padding-bottom: 50px;
        font-size: 36px;
        letter-spacing: -1.5px;
    }

    .about-first-screen__subtitle {
        font-size: 33px;
        letter-spacing: -1px;
        padding-bottom: 20px;
    }

    .about-first-screen__text {
        font-size: 15px;
        line-height: 26px;
    }

    .about-first-screen__box {
        padding-bottom: 40px;
    }

    .about-first-screen-video__placeholder {
        min-height: 250px;
    }

    .about-first-screen-video__placeholder h3 {
        font-size: 18px;
    }

    .about-first-screen-video__placeholder p {
        font-size: 11px;
    }
}

/* Mobile Medium: 393px - 430px */
@media (max-width: 430px) and (min-width: 393px) {
    .about-carousel__title {
        font-size: 40px;
        letter-spacing: -2px;
    }

    /* Carousel slider settings for mobile medium */
    .about-carousel__swiper {
        padding: 0 16px;
    }

    .about-carousel__slide {
        flex-direction: column;
        padding: 24px;
        gap: 18px;
        min-height: auto;
        max-width: none;
    }

    .about-carousel__info {
        min-width: auto;
        max-width: none;
        text-align: center;
    }

    .about-carousel__name {
        font-size: 26px;
        letter-spacing: -0.7px;
        margin-bottom: 10px;
    }

    .about-carousel__text {
        font-size: 15px;
        line-height: 24px;
    }

    .about-carousel__img {
        min-width: auto;
        max-width: none;
        min-height: 220px;
        width: 100%;
        border-radius: 18px;
    }

    /* Ensure proper slide visibility */
    .about-carousel__swiper .swiper-slide {
        min-width: 100%;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .about-first-screen__container {
        padding: 0 16px;
    }

    .about-first-screen__title {
        padding-top: 50px;
        padding-bottom: 40px;
        font-size: 35px;
        letter-spacing: -1px;
    }

    .about-first-screen__subtitle {
        font-size: 26px;
        letter-spacing: -0.5px;
        padding-bottom: 18px;
    }

    .about-first-screen__text {
        font-size: 14px;
        line-height: 24px;
    }

    .about-first-screen__box {
        padding-bottom: 35px;
    }

    .about-first-screen-video__placeholder {
        min-height: 220px;
    }
}

/* Mobile Small: 320px - 392px */
@media (max-width: 392px) {
    .about-carousel__title {
        font-size: 40px;
        letter-spacing: -2px;
    }

    /* Carousel slider settings for mobile small */
    .about-carousel__swiper {
        padding: 0 12px;
    }

    .about-carousel__slide {
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        min-height: auto;
        max-width: none;
    }

    .about-carousel__info {
        min-width: auto;
        max-width: none;
        text-align: center;
    }

    .about-carousel__name {
        font-size: 24px;
        letter-spacing: -0.6px;
        margin-bottom: 8px;
    }

    .about-carousel__text {
        font-size: 14px;
        line-height: 22px;
    }

    .about-carousel__img {
        min-width: auto;
        max-width: none;
        min-height: 200px;
        width: 100%;
        border-radius: 16px;
    }

    /* Ensure proper slide visibility */
    .about-carousel__swiper .swiper-slide {
        min-width: 100%;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .about-first-screen__container {
        padding: 0 12px;
    }

    .about-first-screen__title {
        padding-top: 40px;
        padding-bottom: 35px;
        font-size: 30px;
        letter-spacing: -0.5px;
    }

    .about-first-screen__subtitle {
        font-size: 24px;
        letter-spacing: -0.5px;
        padding-bottom: 16px;
    }

    .about-first-screen__text {
        font-size: 13px;
        line-height: 22px;
    }

    .about-first-screen__box {
        padding-bottom: 30px;
    }

    .about-first-screen-video__placeholder {
        min-height: 200px;
    }
}

/* Print styles */
@media print {
    .about-us-main {
        background: white;
        padding: 0;
    }
    
    .about-first-screen {
        background: white;
    }
    
    .about-first-screen__icon {
        display: none;
    }
    
    .about-first-screen-video__overlay,
    .about-first-screen-video__video {
        display: none;
    }
}

/* Focus styles for accessibility */
.about-first-screen-video__video:focus {
    outline: 2px solid #377CF7;
    outline-offset: 2px;
}

/* Smooth scrolling */
.about-us-main {
    scroll-behavior: smooth;
}

/* Animation for content */
.about-first-screen__title,
.about-first-screen__subtitle,
.about-first-screen__text {
    animation: fadeInUp 0.8s ease-in-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Spacer Component - Donor Styles */
.Spacer_component__JBkN_ {
    position: relative;
    z-index: -1;
    display: block;
    width: 100%;
    padding: 16px 0;
    background-color: transparent;
    will-change: transform, opacity;
    transform: translateZ(0); /* Hardware acceleration for smooth transitions */
    transition: background-color 0.3s ease-out, opacity 0.3s ease-out;
}

.Spacer_component_0__3mtKn {
    padding: 0;
}

.Spacer_component_1__fIEGp {
    padding: 16px 0;
}

.Spacer_component_2__7CCXd {
    padding: 32px 0;
}

.Spacer_component_3__ZjmYt {
    padding: 48px 0;
}

.Spacer_component_4__QPAfj {
    padding: 32px 0;
}

.Spacer_component_5__GqiMZ {
    padding: 40px 0;
}

.Spacer_component_disableBeforeIndents__eUjJo,
.Spacer_component_disableBeforeMargin__bS40z,
.Spacer_component_disableBeforePadding__SbMVk {
    position: relative;
}

.Spacer_component_disableAfterPadding__62SRc + section {
    padding-top: 0 !important;
}

.Spacer_component_disableAfterPaddingBottom__gPx5J + section {
    padding-bottom: 0 !important;
}

.Spacer_component_disableAfterPadding__62SRc + div {
    padding-top: 0 !important;
}

.Spacer_component_disableAfterPaddingBottom__gPx5J + div {
    padding-bottom: 0 !important;
}

.Spacer_component_disableAfterMargin__ZiRkZ + section {
    margin-top: 0 !important;
}

.Spacer_component_disableAfterMarginBottom__ZBUDi + section {
    margin-bottom: 0 !important;
}

.Spacer_component_disableAfterIndents__zKcan + section {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.Spacer_component_onlyMobile__S_Wlt {
    display: none;
}

/* Legacy Spacer Support */
.spacer {
    z-index: -1;
    display: block;
    width: 100%;
    padding: 16px 0;
    background-color: transparent;
}

.spacer-0 {
    padding: 0;
}

.spacer-1 {
    padding: 16px 0;
}

.spacer-2 {
    padding: 32px 0;
}

.spacer-3 {
    padding: 48px 0;
}

.spacer-4 {
    padding: 64px 0;
}

.spacer-5 {
    padding: 40px 0;
}


/* Responsive Spacer */
@media screen and (max-width: 1144px) {
    .Spacer_component__JBkN_ {
        padding: 12px 0;
    }

    .Spacer_component_0__3mtKn {
        padding: 0;
    }

    .Spacer_component_1__fIEGp {
        padding: 12px 0;
    }

    .Spacer_component_2__7CCXd {
        padding: 20px 0;
    }

    .Spacer_component_3__ZjmYt {
        padding: 24px 0;
    }

    .Spacer_component_4__QPAfj {
        padding: 2px 0;
    }

    .Spacer_component_5__GqiMZ {
        padding: 20px 0;
    }

    .Spacer_component_onlyMobile__S_Wlt {
        display: block;
    }

    /* Legacy responsive support */
    .spacer {
        padding: 12px 0;
    }

    .spacer-0 {
        padding: 0;
    }

    .spacer-1 {
        padding: 12px 0;
    }

    .spacer-2 {
        padding: 20px 0;
    }

    .spacer-3 {
        padding: 24px 0;
    }

    .spacer-4 {
        padding: 32px 0;
    }

    .spacer-5 {
        padding: 20px 0;
    }
}

/* About Carousel Main Component */
.about-carousel {
    position: relative;
    background-color: #f2f7fc;
    padding: 16px 0;
    overflow-x: hidden; /* Prevent horizontal scroll from carousel */
    width: 100%;
    max-width: 100vw;
}

.about-carousel__box {
    display: flex;
    gap: 56px;
    align-items: center;
    max-width: clamp(343px, 100vw - 4.3499%, 1488px);
    margin: 0 auto 48px;
    padding: 0 24px;
}

.about-carousel__title {
    flex: 1;
    color: #16181d;
    font-weight: 500;
    font-size: 55px;
    font-family: "Gilroy-Semibold";
    line-height: 110%;
    letter-spacing: -3px;
    white-space: nowrap;
}

.about-carousel__title br {
    display: none;
}

.about-carousel__width {
    position: relative;
}

.about-carousel__subtitle {
    flex: 1;
    color: #16181d;
    font-size: 20px;
    line-height: 32px;
    opacity: .8;
    text-align: justify;
    font-family: "Gilroy-Medium";
}

.about-carousel__icon {
    position: absolute;
    bottom: -13px;
    left: 50%;
    transform: translateX(-50%);
}

/* Swiper Container */
.about-carousel__swiper {
    width: 100%;
    padding: 0 24px;
    overflow: visible;
    z-index: 1;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

/* Ensure swiper wrapper allows for partial slides visibility */
.about-carousel__swiper .swiper-wrapper {
    align-items: stretch;
    box-sizing: content-box;
}

/* Fix for partial slide visibility on all screen sizes */
.about-carousel__swiper .swiper-slide {
    flex-shrink: 0;
    height: auto;
    opacity: 1;
    transition: opacity 0.3s ease;
    display: flex; /* Ensure slide content is displayed */
    align-items: stretch;
}

/* Desktop specific rules for partial slide visibility */
@media (min-width: 1024px) {
    .about-carousel__swiper {
        overflow: hidden; /* Keep contained to prevent horizontal scroll */
    }
    
    .about-carousel__swiper .swiper-wrapper {
        overflow: visible; /* Allow partial slides to show */
    }
    
    /* Ensure partial slides are visible on the right */
    .about-carousel__swiper .swiper-slide {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto;
    }
    
    /* Reduce opacity for non-active partial slides - ensure all slides remain visible */
    .about-carousel__swiper .swiper-slide:not(.swiper-slide-active) {
        opacity: 0.8;
        transition: opacity 0.3s ease;
    }
    
    .about-carousel__swiper .swiper-slide.swiper-slide-active {
        opacity: 1;
    }
}

/* Fix for blur issues */
.swiper,
.swiper-wrapper,
.swiper-slide {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-perspective: 1000px;
    perspective: 1000px;
    filter: none !important;
    -webkit-filter: none !important;
}

/* Ensure no blur on slide content */
.about-carousel__slide,
.about-carousel__info,
.about-carousel__img {
    filter: none !important;
    -webkit-filter: none !important;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* Swiper Slides and Cards - Narrower Design */
.about-carousel__slide {
    display: flex;
    align-items: center;
    gap: 40px;
    width: 100%;
    max-width: 1000px; /* Limit max width to make slides narrower */
    margin: 0 auto; /* Center slides */
    padding: 50px;
    background-color: #fff;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    height: auto;
    min-height: 400px;
    box-sizing: border-box; /* Ensure proper box sizing */
    position: relative;
    overflow: hidden; /* Prevent content overflow */
}

.about-carousel__info {
    flex: 1;
    min-width: 300px; /* Reduced from 400px */
    max-width: 450px; /* Add max width */
}

.about-carousel__name {
    margin-bottom: 22px;
    color: #16181d;
    font-weight: 500;
    font-size: 48px;
    font-family: "Gilroy-Semibold";
    line-height: 110%;
    letter-spacing: -2px;
}

.about-carousel__text {
    color: #16181d;
    font-size: 20px;
    font-family: "Gilroy-light";
    line-height: 32px;
    opacity: .8;
    text-align: justify;
}

.about-carousel__img {
    flex: 1;
    min-width: 250px; /* Reduced for narrower cards */
    max-width: 400px; /* Reduced for narrower cards */
    /* min-height: 280px; */
    border-radius: 16px;
    overflow: hidden;
}

.about-carousel__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Swiper Navigation Buttons */
.about-carousel__swiper .swiper-button-next,
.about-carousel__swiper .swiper-button-prev {
    color: #377CF7;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 10; /* Ensure buttons are above slides */
    top: 50%;
    margin-top: -24px; /* Center vertically */
}

.about-carousel__swiper .swiper-button-next::after,
.about-carousel__swiper .swiper-button-prev::after {
    font-size: 18px;
    font-weight: bold;
}

.about-carousel__swiper .swiper-button-next:hover,
.about-carousel__swiper .swiper-button-prev:hover {
    background: #377CF7;
    color: white;
    transform: scale(1.1);
}

/* Swiper Pagination */
.about-carousel__swiper .swiper-pagination {
    position: relative;
    margin-top: 32px;
}

.about-carousel__swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(55, 124, 247, 0.3);
    opacity: 1;
    transition: all 0.3s ease;
}

.about-carousel__swiper .swiper-pagination-bullet-active {
    background: #377CF7;
    width: 32px;
    border-radius: 6px;
}

/* Beautiful gradient backgrounds for slides */
.swiper-slide:nth-child(1) .about-carousel__slide {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
}

.swiper-slide:nth-child(2) .about-carousel__slide {
    background: linear-gradient(135deg, #f3e5f5, #e1bee7);
}

.swiper-slide:nth-child(3) .about-carousel__slide {
    background: linear-gradient(135deg, #e8f5e8, #c8e6c8);
}

/* Dark theme gradient backgrounds for slides */
body.dark .swiper-slide:nth-child(1) .about-carousel__slide {
    background: linear-gradient(135deg, #1a2332, #2a3442);
}

body.dark .swiper-slide:nth-child(2) .about-carousel__slide {
    background: linear-gradient(135deg, #2d1a2f, #3d2a3f);
}

body.dark .swiper-slide:nth-child(3) .about-carousel__slide {
    background: linear-gradient(135deg, #1a2d1a, #2a3d2a);
}

/* Dark theme styles for carousel */
body.dark .about-carousel {
    background-color: var(--bg-accent);
}

body.dark .about-carousel__title {
    color: var(--text-secondary);
}

body.dark .about-carousel__subtitle {
    color: var(--text-secondary);
}

body.dark .about-carousel__name {
    color: var(--text-secondary);
}

body.dark .about-carousel__text {
    color: var(--text-secondary);
}

/* Dark theme styles for first screen */
body.dark .about-first-screen__subtitle {
    color: var(--text-secondary);
}

/* About Titled Tabs Section */
.about-titled-tabs {
    position: relative;
    overflow: hidden;
    background-color: var(--bg-accent);
    transition: background-color 0.3s ease;
}

.about-titled-tabs__container {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 0 56px;
    gap: 0 56px;
    align-items: center;
    width: 100%;
    max-width: clamp(343px, 100vw - 5.0379%, 1728px);
    min-height: 800px;
    margin: 0 auto;
    padding: 0 120px;
    overflow: hidden;
    background-color: var(--bg-secondary);
    border-radius: calc(24px + 40*(100vw - 375px)/1545);
    transition: background-color 0.3s ease;
}

.about-titled-tabs__title {
    position: relative;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 80px;
    font-family: "Gilroy-Semibold";
    font-style: normal;
    line-height: 110%;
    letter-spacing: -3px;
    transition: color 0.3s ease;
}

.about-titled-tabs__tab,
.about-titled-tabs__tab--active,
.about-titled-tabs__tabs {
    position: relative;
}

.about-titled-tabs__name {
    position: relative;
    display: block;
    width: -moz-fit-content;
    width: fit-content;
    margin-bottom: 56px;
    font-weight: 500;
    font-size: 48px;
    font-style: normal;
    line-height: 110%;
    letter-spacing: -2px;
    cursor: pointer;
    opacity: .4;
    transition: all 0.3s ease;
}

.about-titled-tabs__name:hover {
    opacity: .7;
}

.about-titled-tabs__name--active {
    margin-bottom: 40px;
    font-family: "Gilroy-Medium";
    color: var(--text-secondary);
    opacity: 1;
    transition: color 0.3s ease;
}

.about-titled-tabs__name--active:hover {
    opacity: 1;
}

.about-titled-tabs__icon {
    position: absolute;
    bottom: -25px;
    left: 50%;
    margin: 0 auto;
    transform: translateX(-50%);
    opacity: 0; /* Hide by default */
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.about-titled-tabs__name--active .about-titled-tabs__icon {
    opacity: 1; /* Show for active tab */
    visibility: visible;
}

.about-titled-tabs__text {
    position: relative;
    height: 0;
    overflow: hidden;
    color: var(--text-secondary);
    font-weight: 400;
    font-size: calc(20px + 4*(100vw - 375px)/1545);
    line-height: calc(32px + 2.56*(100vw - 375px)/1545);
    opacity: 0;
    transition: height 0.4s ease, opacity 0.4s ease, padding 0.4s ease, color 0.3s ease;
}

.about-titled-tabs__text--active {
    height: -moz-fit-content;
    height: fit-content;
    padding-bottom: 56px;
    font-family: "Gilroy-light";
    opacity: .8;
    text-align: justify;
}

.about-titled-tabs__bg {
    position: absolute;
    right: 275px;
}

.about-titled-tabs__toggler {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    display: none;
    margin: auto 0;
    transition: transform 0.3s ease;
}

.about-titled-tabs__name--active .about-titled-tabs__toggler {
    transform: rotate(45deg); /* Rotate + to x when active */
}

/* Responsive Styles */
@media(max-width: 1144px) {
    .about-carousel {
        padding: 20px 0;
    }

    .about-carousel__box {
        flex-direction: column;
        gap: 24px;
        text-align: center;
        padding: 0 16px;
    }

    .about-carousel__title {
        font-size: 60px;
        letter-spacing: -2px;
    }

    .about-carousel__title br {
        display: block;
    }

    .about-carousel__subtitle {
        font-size: 16px;
        line-height: 28px;
    }

    .about-carousel__swiper {
        padding: 0 16px;
    }

    /* Ensure proper slide visibility on tablets and mobile */
    .about-carousel__swiper .swiper-slide {
        min-width: 0;
        opacity: 1 !important;
        visibility: visible !important;
        flex-shrink: 0;
    }
    
    /* Reset desktop-specific opacity rules on mobile */
    .about-carousel__swiper .swiper-slide:not(.swiper-slide-active):not(.swiper-slide-next) {
        opacity: 1 !important;
    }

    .about-carousel__slide {
        flex-direction: column;
        padding: 24px;
        gap: 24px;
        min-height: auto;
        max-width: none; /* Remove max-width on mobile */
    }

    .about-carousel__info {
        min-width: auto;
        max-width: none; /* Remove max-width on mobile */
        text-align: center;
    }

    .about-carousel__name {
        font-size: 32px;
        letter-spacing: -.5px;
        margin-bottom: 8px;
    }

    .about-carousel__text {
        font-size: 16px;
        line-height: 28px;
    }

    .about-carousel__img {
        min-width: auto;
        max-width: none;
        min-height: 250px;
        width: 100%;
    }

    .about-carousel__icon {
        bottom: -8px;
    }

    /* Show navigation arrows on tablets (768px and up) */
    .about-carousel__swiper .swiper-button-next,
    .about-carousel__swiper .swiper-button-prev {
        display: flex !important; /* Ensure arrows are visible on tablets */
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
    }
    
    .about-carousel__swiper .swiper-button-next {
        right: 10px;
    }
    
    .about-carousel__swiper .swiper-button-prev {
        left: 10px;
    }


    /* About Titled Tabs Responsive */
    .about-titled-tabs__container {
        grid-template-columns: 1fr;
        gap: 0;
        min-height: 500px;
        padding: 25px 24px 24px;
    }

    .about-titled-tabs__title {
        margin-bottom: 56px;
        font-weight: 500;
        font-size: 48px;
        font-style: normal;
        line-height: 110%;
        letter-spacing: -2px;
        text-align: center;
    }

    .about-titled-tabs__name {
        width: 100%;
        margin-bottom: 16px;
        font-weight: 500;
        font-size: 32px;
        font-style: normal;
        line-height: 120%;
        letter-spacing: -.5px;
    }

    .about-titled-tabs__name--active {
        margin-bottom: 8px;
    }

    .about-titled-tabs__text {
        padding-bottom: 16px;
        font-weight: 400;
        font-size: 16px;
        font-style: normal;
        line-height: 28px;
    }

    .about-titled-tabs__icon {
        display: none;
    }

    .about-titled-tabs__toggler {
        display: block;
    }

    .about-titled-tabs__bg {
        top: 20.56px;
        right: 0;
        left: -23.19px;
        margin: 0 auto;
        transform: rotate(6.19deg);
    }
}

/* Brands Marquee Section */
.about-brands-marquee {
    position: relative;
    background-color: var(--bg-secondary);
    padding: 80px 0 80px;
    overflow: hidden;
    border-top: 1px solid var(--border-light);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.about-brands-marquee__container {
    max-width: 1488px;
    margin: 0 auto;
    padding: 0 24px;
}

.about-brands-marquee__title {
    text-align: center;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: clamp(32px, 4vw, 48px);
    font-family: "Gilroy-Semibold";
    line-height: 110%;
    letter-spacing: -1px;
    margin-bottom: 64px;
    opacity: 0.9;
    transition: color 0.3s ease;
}

.about-brands-marquee__wrapper {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(
        to right,
        transparent,
        rgba(0, 0, 0, 0.1) 10%,
        black 20%,
        black 80%,
        rgba(0, 0, 0, 0.1) 90%,
        transparent
    );
    -webkit-mask-image: linear-gradient(
        to right,
        transparent,
        rgba(0, 0, 0, 0.1) 10%,
        black 20%,
        black 80%,
        rgba(0, 0, 0, 0.1) 90%,
        transparent
    );
    padding: 30px;
}

.about-brands-marquee__track {
    display: flex;
    align-items: center;
    gap: 80px;
    animation: marquee-scroll 18s linear infinite;
    will-change: transform;
    transform: translateZ(0); /* Hardware acceleration */
}

.about-brands-marquee__track:hover {
    animation-play-state: paused; /* Pause on hover */
}

.about-brands-marquee__item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    height: 60px;
    padding: 16px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-accent);
    border-radius: 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.about-brands-marquee__item:hover {
    transform: translateY(-4px) scale(1.05);
    background: rgba(55, 124, 247, 0.05);
    border-color: var(--accent-primary);
    box-shadow: 0 8px 32px rgba(55, 124, 247, 0.15);
}

.about-brands-marquee__item img {
    width: auto;
    height: 100%;
    max-height: 40px;
    max-width: 140px;
    object-fit: contain;
    opacity: 1;
    transition: opacity 0.3s ease, filter 0.3s ease;
    filter: grayscale(100%);
}

.about-brands-marquee__item:hover img {
    opacity: 1;
    filter: grayscale(0%);
}

/* Keyframe Animation */
@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive Design for Brands Marquee */
@media (max-width: 1144px) {
    .about-brands-marquee {
        padding: 60px 0 80px;
    }

    .about-brands-marquee__container {
        padding: 0 16px;
    }

    .about-brands-marquee__title {
        margin-bottom: 48px;
        font-size: clamp(28px, 5vw, 40px);
    }

    .about-brands-marquee__track {
        gap: 60px;
        animation-duration: 15s; /* Slightly faster on tablets */
    }

    .about-brands-marquee__item {
        min-width: 100px;
        height: 50px;
        padding: 12px 20px;
    }

    .about-brands-marquee__item img {
        max-height: 32px;
        max-width: 120px;
    }
}

/* Tablet specific styles: 768px - 1144px */
@media (min-width: 768px) and (max-width: 1144px) {
    .about-carousel__swiper {
        padding: 0 20px;
        overflow: hidden; /* Prevent horizontal scroll */
    }

    .about-carousel__swiper .swiper-wrapper {
        overflow: visible; /* Allow partial slides to show */
        align-items: center; /* Center align slides */
    }

    /* Ensure navigation arrows are visible on tablets */
    .about-carousel__swiper .swiper-button-next,
    .about-carousel__swiper .swiper-button-prev {
        display: flex !important;
        width: 44px;
        height: 44px;
        background: rgba(255, 255, 255, 0.95);
        z-index: 10;
    }

    /* Optimize slide sizing for tablets with proper centering */
    .about-carousel__slide {
        padding: 32px;
        min-height: 350px;
        max-width: 800px; /* Smaller than desktop */
        margin: 0 auto; /* Center slides within container */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .about-carousel__info {
        min-width: 280px;
        max-width: 580px;
    }

    .about-carousel__name {
        font-size: 36px;
        margin-bottom: 18px;
        letter-spacing: -1.5px;
    }

    .about-carousel__text {
        font-size: 18px;
        line-height: 30px;
    }

    .about-carousel__img {
        min-width: 220px;
        max-width: 320px;
        min-height: 220px;
    }

    /* Ensure proper slide visibility on tablets with centered positioning */
    .about-carousel__swiper .swiper-slide {
        opacity: 1 !important;
        visibility: visible !important;
        flex-shrink: 0;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .about-carousel__swiper .swiper-slide:not(.swiper-slide-active) {
        opacity: 0.7;
    }

    .about-carousel__swiper .swiper-slide.swiper-slide-active {
        opacity: 1;
        transform: scale(1);
    }

    /* Ensure centered slides container width */
    .about-carousel__swiper .swiper-container {
        overflow: visible;
    }
}

@media (max-width: 767px) {
    /* Hide navigation arrows on mobile devices only */
    .about-carousel__swiper .swiper-button-next,
    .about-carousel__swiper .swiper-button-prev {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .about-brands-marquee {
        padding: 48px 0 64px;
    }

    .about-brands-marquee__title {
        margin-bottom: 40px;
        font-size: clamp(37px, 6vw, 32px);
    }

    .about-brands-marquee__track {
        gap: 10px;
        animation-duration: 20s; /* Faster on mobile */
    }

    .about-brands-marquee__item {
        min-width: 80px;
        height: 44px;
        padding: 10px 16px;
        border-radius: 12px;
    }

    .about-brands-marquee__item img {
        max-height: 28px;
        max-width: 100px;
    }

    /* Reduce mask gradient on mobile for better visibility */
    .about-brands-marquee__wrapper {
        mask-image: linear-gradient(
            to right,
            transparent,
            rgba(0, 0, 0, 0.2) 5%,
            black 15%,
            black 85%,
            rgba(0, 0, 0, 0.2) 95%,
            transparent
        );
        -webkit-mask-image: linear-gradient(
            to right,
            transparent,
            rgba(0, 0, 0, 0.2) 5%,
            black 15%,
            black 85%,
            rgba(0, 0, 0, 0.2) 95%,
            transparent
        );
    }
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
    .about-brands-marquee__track {
        animation: none;
    }
    
    .about-brands-marquee__track:hover {
        animation-play-state: running;
    }
}

/* About Founders Section */
.about-founders {
    position: relative;
    overflow: hidden;
    background-color: var(--bg-accent);
    padding: 0 0 80px 0;
    transition: background-color 0.3s ease;
}

.about-founders__container {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    max-width: clamp(343px, 100vw - 5.0379%, 1728px);
    min-height: 804px;
    margin: 0 auto;
    padding: 0 clamp(24px, 4vw, 84px);
    background-color: var(--bg-dark);
    border-radius: clamp(24px, 3vw, 64px);
    transition: background-color 0.3s ease;
}

.about-founders__nav {
    position: relative;
    display: flex;
    gap: 0 64px;
    margin: 0 auto;
    padding-top: 104px;
    padding-bottom: 40px;
}

.about-founders__btn {
    position: relative;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    font-size: clamp(32px, 5vw, 64px);
    font-family: "Gilroy-Semibold";
    line-height: 110%;
    cursor: pointer;
    transition: color 0.3s ease;
}

.about-founders__btn:hover {
    color: rgba(255, 255, 255, 0.8);
}

.about-founders__btn--active {
    color: #fff;
}

.about-founders__icon {
    position: absolute;
    bottom: -16px;
    left: 50%;
    margin: 0 auto;
    transform: translateX(-50%);
    width: clamp(200px, 20vw, 295px);
    height: auto;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.about-founders__btn:not(.about-founders__btn--active) .about-founders__icon {
    opacity: 0;
    visibility: hidden;
}

.about-founders__text {
    position: relative;
    max-width: 672px;
    margin: 0 auto;
    padding-bottom: 64px;
    color: var(--text-light);
    font-weight: 400;
    font-family: "Gilroy-light";
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.6;
    text-align: center;
    transition: color 0.3s ease;
}

.about-founders__box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 24px;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 80px;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    max-width: 1200px;
    margin: 0 auto;
}

.about-founders__box--hidden {
    display: none;
}

.about-founders__card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    height: clamp(450px, 35vw, 520px);
    overflow: hidden;
    border-radius: 32px;
    cursor: pointer;
    user-select: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-founders__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.about-founders__card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    background-image: var(--gradient-card);
    transition: background-image 0.3s ease;
}

.about-founders__card:hover::before {
    background-image: var(--gradient-card-hover);
}

.about-founders__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    transition: transform 0.3s ease;
}

.about-founders__card:hover .about-founders__image {
    transform: scale(1.05);
}

.about-founders__info {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: auto;
    min-height: 120px;
    padding: clamp(16px, 2vw, 32px);
    transition: background-color 0.6s ease;
}

.about-founders__info--opened {
    background-color: rgba(0, 0, 0, 0.9);
}

.about-founders__desc {
    position: relative;
    margin-bottom: auto;
    color: #fff;
    font-weight: 400;
    font-size: clamp(14px, 1.2vw, 16px);
    line-height: 1.75;
    opacity: 0;
    transition: opacity 0.4s ease;
    padding-bottom: 20px;
}

.about-founders__desc--opened {
    opacity: 1;
}

.about-founders__name {
    position: relative;
    display: block;
    padding-bottom: 16px;
    color: #fff;
    font-weight: 500;
    font-family: "Gilroy-Semibold";
    font-size: clamp(20px, 2.5vw, 32px);
    line-height: 1.2;
}

.about-founders__position {
    position: relative;
    display: block;
    padding-right: 36px;
    font-family: "Gilroy-light";
    color: #fff;
    font-weight: 400;
    font-size: clamp(14px, 1.5vw, 18px);
    line-height: 1.67;
}

.about-founders__toggler {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 20px;
    height: 21px;
    transition: transform 0.3s ease;
}

.about-founders__card--opened .about-founders__toggler {
    transform: rotate(45deg);
}

/* Large screens: optimize text positioning */
@media (min-width: 1145px) {
    .about-founders__box {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 32px;
        max-width: 1000px;
    }
    
    .about-founders__card {
        height: 480px;
    }
    
    .about-founders__info {
        min-height: 140px;
        padding: 28px 32px;
    }
    
    .about-founders__desc {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 16px;
    }
    
    .about-founders__name {
        font-size: 28px;
        padding-bottom: 12px;
    }
    
    .about-founders__position {
        font-size: 16px;
        line-height: 1.5;
    }
}

/* Tablet screens: maintain 2 columns where possible */
@media (min-width: 769px) and (max-width: 1144px) {
    .about-founders__box {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px 20px;
        max-width: 800px;
    }
    
    .about-founders__card {
        height: 380px;
    }
    
    .about-founders__info {
        min-height: 100px;
        padding: 20px;
    }
    
    .about-founders__desc {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 12px;
    }
    
    .about-founders__name {
        font-size: clamp(18px, 3vw, 22px);
        padding-bottom: 8px;
    }
    
    .about-founders__position {
        font-size: clamp(12px, 2.5vw, 14px);
        line-height: 1.4;
    }
}

/* Responsive Design for Founders Section */
@media (max-width: 1144px) {
    .about-founders {
        padding: 0 0 60px 0;
    }
    
    .about-founders__container {
        min-height: auto;
        padding: 40px 24px 24px;
        border-radius: 0;
    }

    .about-founders__nav {
        flex-direction: column;
        gap: 24px;
        padding-top: 60px;
        padding-bottom: 32px;
        text-align: center;
    }

    .about-founders__btn {
        font-size: clamp(28px, 6vw, 40px);
    }

    .about-founders__icon {
        width: clamp(150px, 25vw, 200px);
        bottom: -12px;
    }

    .about-founders__text {
        font-size: 16px;
        line-height: 1.75;
        padding-bottom: 40px;
    }

    .about-founders__box {
        grid-template-columns: 1fr;
        gap: 16px;
        padding-bottom: 40px;
        max-width: 480px;
    }

    .about-founders__card {
        width: 100%;
        height: 320px;
    }

    .about-founders__info {
        padding: 20px;
    }

    .about-founders__desc {
        font-size: 14px;
        line-height: 1.6;
        padding-bottom: 16px;
    }

    .about-founders__name {
        font-size: clamp(18px, 4vw, 24px);
        padding-bottom: 12px;
    }

    .about-founders__position {
        font-size: clamp(12px, 3vw, 16px);
        line-height: 1.5;
    }
}

@media (max-width: 768px) {
    .about-founders {
        padding: 0 0 40px 0;
    }
    
    .about-founders__container {
        padding: 32px 16px 16px;
    }

    .about-founders__nav {
        gap: 20px;
        padding-top: 40px;
        padding-bottom: 24px;
    }

    .about-founders__btn {
        font-size: clamp(24px, 7vw, 32px);
    }

    .about-founders__icon {
        width: clamp(120px, 30vw, 160px);
        bottom: -10px;
    }

    .about-founders__text {
        padding-bottom: 32px;
        font-size: 15px;
    }

    .about-founders__box {
        grid-template-columns: 1fr;
        gap: 12px;
        padding-bottom: 32px;
        max-width: 100%;
    }

    .about-founders__card {
        height: 280px;
        border-radius: 24px;
    }

    .about-founders__info {
        padding: 16px;
    }

    .about-founders__desc {
        font-size: 13px;
        line-height: 1.5;
        padding-bottom: 12px;
    }

    .about-founders__name {
        font-size: 18px;
        padding-bottom: 8px;
    }

    .about-founders__position {
        font-size: 14px;
        padding-right: 28px;
    }

    .about-founders__toggler {
        width: 16px;
        height: 17px;
    }
}

/* Dark theme spacer backgrounds */
body.dark .Spacer_component__JBkN_ {
    background-color: var(--bg-accent) !important;
}

body.dark [style*="background-color:#F2F7FC"] {
    background-color: var(--bg-accent) !important;
}
