/* About page styles */

/* About hero redesign */
.page-about .about-hero {
    position: relative;
    overflow: hidden;
    padding: 92px 0 80px;
    --mx: 0;
    --my: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(6, 187, 204, 0.22), transparent 34%),
        radial-gradient(circle at 82% 10%, rgba(107, 13, 236, 0.2), transparent 36%),
        linear-gradient(135deg, #111b36 0%, #1a2f5b 48%, #0e5a77 100%);
}

.page-about .about-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.06) 0%, transparent 42%),
        linear-gradient(180deg, rgba(6, 187, 204, 0.06), transparent 42%);
    pointer-events: none;
}

.page-about .about-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 160px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(8, 15, 34, 0.34) 100%);
    pointer-events: none;
}

.page-about .about-hero-icons {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.page-about .about-hero-icon {
    position: absolute;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 16px 34px rgba(7, 13, 28, 0.2);
    backdrop-filter: blur(8px);
    animation: aboutFloat 9s ease-in-out infinite;
    transition: transform .35s ease;
}

.page-about .about-hero-icon i {
    font-size: 1.25rem;
}

.page-about .about-hero-icon-one { top: 16%; left: 10%; animation-delay: 0s; transform: translate(calc(var(--mx) * 8px), calc(var(--my) * 8px)); }
.page-about .about-hero-icon-two { top: 22%; right: 15%; animation-delay: 1.2s; transform: translate(calc(var(--mx) * -9px), calc(var(--my) * 9px)); }
.page-about .about-hero-icon-three { bottom: 26%; left: 18%; animation-delay: 2.2s; transform: translate(calc(var(--mx) * 10px), calc(var(--my) * -8px)); }
.page-about .about-hero-icon-four { bottom: 18%; right: 12%; animation-delay: 3.1s; transform: translate(calc(var(--mx) * -11px), calc(var(--my) * -7px)); }
.page-about .about-hero-icon-five { top: 46%; right: 46%; animation-delay: 1.8s; transform: translate(calc(var(--mx) * 7px), calc(var(--my) * -10px)); }

.page-about .about-hero .container {
    position: relative;
    z-index: 1;
}

.page-about .about-hero-card {
    max-width: 760px;
    margin: 0 auto;
    padding: 30px 28px;
    border-radius: 26px;
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.08) 100%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 30px 80px rgba(8, 14, 30, 0.28);
    backdrop-filter: blur(12px);
}

.page-about .about-hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #e3fbff;
    background: rgba(6, 187, 204, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.page-about .about-hero-subtitle {
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.05rem;
    line-height: 1.8;
}

.page-about .about-hero .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.76);
}

@keyframes aboutFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-16px) rotate(4deg); }
}

/* About page - new top cards */
.page-about .about-top-cards {
    margin-top: -34px;
}

.page-about .about-feature-card {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(6, 187, 204, 0.16);
    background:
        radial-gradient(circle at 20% 15%, rgba(6, 187, 204, 0.14), transparent 40%),
        radial-gradient(circle at 90% 10%, rgba(107, 13, 236, 0.10), transparent 38%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(240, 251, 252, 0.96) 100%);
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
    transform: translateY(0);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease, filter .35s ease;
    isolation: isolate;
}

.page-about .about-feature-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, #06bbcc 0%, #0ca7f1 55%, #6b0dec 100%);
    opacity: 0.9;
}

.page-about .about-feature-card::after {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    right: -120px;
    bottom: -140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(6, 187, 204, 0.20) 0%, rgba(6, 187, 204, 0) 70%);
    z-index: -1;
}

.page-about .about-feature-card .p-4 {
    padding: 30px 26px !important;
}

.page-about .about-feature-card i {
    width: 74px;
    height: 74px;
    border-radius: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(6, 187, 204, 1) 0%, rgba(12, 167, 241, 1) 60%, rgba(107, 13, 236, 1) 100%);
    color: #fff !important;
    box-shadow: 0 18px 42px rgba(12, 167, 241, 0.24);
    transform: translateZ(0);
}

.page-about .about-feature-card h5 {
    font-weight: 900;
    color: #11224d !important;
    letter-spacing: 0.2px;
}

.page-about .about-feature-card p {
    color: #5a6781 !important;
    line-height: 1.75;
    margin-bottom: 0;
}

.page-about .about-feature-card:hover {
    transform: translateY(-10px) rotateX(6deg) rotateY(-6deg);
    border-color: rgba(6, 187, 204, 0.42);
    box-shadow: 0 36px 90px rgba(15, 23, 42, 0.16);
    filter: saturate(1.08);
}

.page-about .about-feature-card:hover i {
    transform: translateY(-2px) scale(1.04);
}

.page-about .about-feature-card .p-4 {
    position: relative;
    z-index: 1;
}

.page-about .about-feature-card .p-4::after {
    content: "";
    position: absolute;
    inset: -40px -80px auto -80px;
    height: 140px;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.32) 0%, rgba(255, 255, 255, 0) 70%);
    transform: translateX(-40%) rotate(12deg);
    opacity: 0;
    transition: opacity .45s ease, transform .55s ease;
    pointer-events: none;
}

.page-about .about-feature-card:hover .p-4::after {
    opacity: 0.9;
    transform: translateX(30%) rotate(12deg);
}

/* About page image redesign */
.page-about .about-image-frame {
    position: relative;
    height: 50rem;
    min-height: 400px;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(6, 187, 204, 0.18);
    box-shadow: 0 32px 80px rgba(15, 23, 42, 0.16);
    background: linear-gradient(135deg, rgba(6, 187, 204, 0.10) 0%, rgba(12, 167, 241, 0.10) 40%, rgba(107, 13, 236, 0.08) 100%);
    transform: translateZ(0);
}

.page-about .about-image-glow {
    position: absolute;
    inset: -40px;
    background:
        radial-gradient(circle at 30% 20%, rgba(6, 187, 204, 0.25), transparent 50%),
        radial-gradient(circle at 80% 60%, rgba(12, 167, 241, 0.20), transparent 52%);
    filter: blur(10px);
    opacity: 0.9;
    pointer-events: none;
}

.page-about .about-image-frame::before {
    content: "";
    position: absolute;
    inset: 14px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        inset 0 0 0 1px rgba(6, 187, 204, 0.10);
    pointer-events: none;
    z-index: 2;
}

.page-about .about-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform .55s ease, filter .55s ease;
}

.page-about .about-image-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(24, 29, 56, 0.10) 0%, rgba(24, 29, 56, 0) 45%);
    pointer-events: none;
    z-index: 1;
}

.page-about .about-image-frame:hover .about-image {
    transform: scale(1.06);
    filter: contrast(1.02) saturate(1.05);
}

.page-about .about-image-frame:hover {
    box-shadow: 0 40px 110px rgba(15, 23, 42, 0.22);
}

.page-about .about-image-corner {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 92px;
    height: 92px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
    z-index: 3;
    overflow: hidden;
}

.page-about .about-image-corner::before {
    content: "";
    position: absolute;
    inset: -40px;
    background: conic-gradient(from 180deg, rgba(6, 187, 204, 0.0), rgba(6, 187, 204, 0.65), rgba(12, 167, 241, 0.0));
    animation: aboutCornerSpin 4.5s linear infinite;
    opacity: 0.7;
}

.page-about .about-image-corner::after {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 16px;
    background: rgba(24, 29, 56, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

@keyframes aboutCornerSpin {
    to { transform: rotate(360deg); }
}

.page-about .about-image-badge {
    position: absolute;
    left: 18px;
    bottom: 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(6, 187, 204, 0.16);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
    color: #11224d;
    font-weight: 800;
    z-index: 3;
}

/* About team slider */
.page-about .about-team-section {
    position: relative;
    overflow: hidden;
}

.page-about .about-team-section::before {
    content: "";
    position: absolute;
    inset: 60px auto auto -140px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(6, 187, 204, 0.18) 0%, rgba(6, 187, 204, 0) 72%);
    pointer-events: none;
}

.page-about .about-team-intro {
    max-width: 620px;
    margin: 0 auto;
    color: #5a6781;
    line-height: 1.8;
}

.page-about .about-team-slider {
    margin-top: 50px;
}

.page-about .about-team-slider-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.page-about .about-team-slider-head h2 {
    color: #11224d;
    font-size: clamp(2rem, 4vw, 2.7rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.page-about .about-team-slider-head p {
    color: #5a6781;
    max-width: 520px;
    line-height: 1.7;
    font-size: 1.02rem;
}

.page-about .about-team-slider-actions {
    display: inline-flex;
    gap: 12px;
}

.page-about .about-team-slider-nav {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    border: 1px solid rgba(6, 187, 204, 0.18);
    background: #ffffff;
    color: #11224d;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    transition: transform .3s ease, box-shadow .3s ease, background .3s ease, color .3s ease;
}

.page-about .about-team-slider-nav:hover,
.page-about .about-team-slider-nav:focus {
    background: linear-gradient(135deg, #06bbcc 0%, #0ca7f1 65%, #6b0dec 100%);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 22px 46px rgba(12, 167, 241, 0.22);
}

.page-about .about-team-slider-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, 1fr);
    gap: 24px;
    overflow-x: auto;
    padding: 10px 4px 18px;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 4px;
    scrollbar-width: none;
}

.page-about .about-team-slider-track::-webkit-scrollbar {
    display: none;
}

.page-about .about-team-card {
    scroll-snap-align: center;
    border-radius: 28px;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(6, 187, 204, 0.14), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f6fcff 100%);
    border: 1px solid rgba(6, 187, 204, 0.16);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.page-about .about-team-card.is-active {
    transform: translateY(-8px);
    border-color: rgba(12, 167, 241, 0.34);
    box-shadow: 0 32px 76px rgba(12, 167, 241, 0.16);
}

.page-about .about-team-card-photo-wrap {
    position: relative;
    /* height: 280px; */
    height: 20rem;
    width: auto;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background:
        radial-gradient(circle at 20% 15%, rgba(6, 187, 204, 0.08), transparent 34%),
        linear-gradient(180deg, #f9fdff 0%, #eef8ff 100%);
}

.page-about .about-team-card-photo {
    width: auto;
    height: 100%;
    max-width: 100%;
    /* display: block; */
    /* object-fit: contain; */
    /* object-position: center top; */
    /* transform: scale(0.92); */
    object-fit: cover;
    transition: transform .45s ease;
}

.page-about .about-team-card:hover .about-team-card-photo {
    transform: scale(0.96);
}

.page-about .about-team-card-badge {
    position: absolute;
    left: 18px;
    bottom: 18px;
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #11224d;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(6, 187, 204, 0.18);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.14);
}

.page-about .about-team-card-body {
    padding: 24px;
}

.page-about .about-team-card-top {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.page-about .about-team-card-top h3 {
    margin-bottom: 4px;
    font-size: 1.3rem;
    font-weight: 900;
    color: #11224d;
}

.page-about .about-team-card-top span {
    display: inline-block;
    color: #0a8fb0;
    font-weight: 700;
}

.page-about .about-team-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    background: linear-gradient(135deg, #06bbcc 0%, #0ca7f1 65%, #6b0dec 100%);
    box-shadow: 0 18px 32px rgba(12, 167, 241, 0.2);
}

.page-about .about-team-card-body p {
    margin-bottom: 0;
    color: #5a6781;
    line-height: 1.8;
}

.page-about .about-team-slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

.page-about .about-team-dot {
    width: 11px;
    height: 11px;
    border: 0;
    border-radius: 999px;
    background: rgba(17, 34, 77, 0.16);
    transition: width .3s ease, background .3s ease, transform .3s ease;
}

.page-about .about-team-dot.active {
    width: 34px;
    background: linear-gradient(90deg, #06bbcc 0%, #0ca7f1 60%, #6b0dec 100%);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .page-about .about-top-cards {
        margin-top: 0;
    }
    .page-about .about-image-frame {
        min-height: 340px;
        border-radius: 24px;
        height: 100%;
    }
    .page-about .about-team-slider-head {
        flex-direction: column;
        align-items: stretch;
    }
    .page-about .about-team-slider-actions {
        justify-content: flex-start;
    }
    .page-about .about-team-slider-track {
        grid-auto-columns: minmax(260px, 86%);
        gap: 18px;
    }
    .page-about .about-team-card-photo-wrap {
        height: 240px;
    }
}

