:root {
    --mm-deep: #0f172a;
    --mm-indigo: #4f46e5;
    --mm-purple: #8b5cf6;
    --mm-cyan: #06b6d4;
}

.about-page {
    color: #f8fafc;
    background: #ffffff;
    overflow-x: hidden;
}

.about-hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
}

.about-hero::before,
.about-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 20% 30%, rgba(79, 70, 229, 0.25), transparent 45%);
    mix-blend-mode: screen;
    opacity: 0.8;
}

.about-hero::after {
    background: radial-gradient(circle at 80% 70%, rgba(6, 182, 212, 0.25), transparent 45%);
    filter: blur(40px);
}

.about-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: #ffffff;
}

.about-hero p {
    font-size: clamp(1.1rem, 2.2vw, 1.4rem);
    max-width: 720px;
    margin: 0 auto;
    color: rgba(241, 245, 249, 0.8);
}

.hero-meta {
    margin-top: 3rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.hero-meta .metric {
    min-width: 180px;
    padding: 1.25rem 1.75rem;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(99, 102, 241, 0.15);
    box-shadow: 0 30px 60px -20px rgba(37, 99, 235, 0.35);
    backdrop-filter: blur(20px);
    transform-style: preserve-3d;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-meta .metric strong {
    display: block;
    font-size: 2.25rem;
    color: #c4b5fd;
}

.hero-meta .metric span {
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(226, 232, 240, 0.7);
}

.mission-block {
    position: relative;
    padding: clamp(80px, 12vw, 120px) 0;
    background: linear-gradient(135deg, #eef4ff 0%, #f0f9ff 100%);
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.08), transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(14, 165, 233, 0.06), transparent 50%);
    color: #0f172a;
}

.innovation-grid {
    position: relative;
    padding: clamp(80px, 12vw, 120px) 0;
    background: #ffffff;
    color: #0f172a;
}

.impact-section {
    position: relative;
    padding: clamp(80px, 12vw, 120px) 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    color: #0f172a;
}

.team-spotlight {
    position: relative;
    padding: clamp(80px, 12vw, 120px) 0;
}

.tech-stack-section {
    position: relative;
    padding: clamp(80px, 12vw, 120px) 0;
    background: linear-gradient(135deg, #eef4ff 0%, #f0f9ff 100%);
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(99, 102, 241, 0.03) 35px, rgba(99, 102, 241, 0.03) 70px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(14, 165, 233, 0.03) 35px, rgba(14, 165, 233, 0.03) 70px);
    color: #0f172a;
}

.tech-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 3rem 0;
    margin-top: 3rem;
}

.tech-slider-wrapper::before,
.tech-slider-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

.tech-slider-wrapper::before {
    left: 0;
    background: linear-gradient(to right, rgba(238, 244, 255, 1), rgba(238, 244, 255, 0));
}

.tech-slider-wrapper::after {
    right: 0;
    background: linear-gradient(to left, rgba(238, 244, 255, 1), rgba(238, 244, 255, 0));
}

.tech-slider-track {
    display: flex;
    gap: 2rem;
    animation: slideTech 40s linear infinite;
    width: max-content;
}

@keyframes slideTech {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 1rem));
    }
}

.tech-slider-wrapper:hover .tech-slider-track {
    animation-play-state: paused;
}

.tech-item {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem 1.5rem;
    background: #ffffff;
    border-radius: 20px;
    border: 2px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 160px;
    position: relative;
    overflow: hidden;
}

.tech-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(14, 165, 233, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tech-item:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 25px -5px rgba(99, 102, 241, 0.2), 0 10px 10px -5px rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.4);
}

.tech-item:hover::before {
    opacity: 1;
}

.tech-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: 16px;
    padding: 1rem;
    transition: transform 0.4s ease;
    position: relative;
    z-index: 1;
}

.tech-item:hover .tech-icon {
    transform: scale(1.1) rotate(5deg);
}

.tech-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(20%);
    transition: filter 0.4s ease;
}

.tech-item:hover .tech-icon img {
    filter: grayscale(0%);
}

.tech-name {
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
    text-align: center;
    position: relative;
    z-index: 1;
    transition: color 0.4s ease;
}

.tech-item:hover .tech-name {
    color: #4338ca;
}

@media (max-width: 768px) {
    .tech-slider-wrapper::before,
    .tech-slider-wrapper::after {
        width: 60px;
    }

    .tech-item {
        min-width: 140px;
        padding: 1.5rem 1rem;
    }

    .tech-icon {
        width: 60px;
        height: 60px;
        padding: 0.75rem;
    }

    .tech-name {
        font-size: 0.9rem;
    }

    .tech-slider-track {
        gap: 1.5rem;
    }
}

.cta-lab {
    position: relative;
    padding: clamp(80px, 12vw, 120px) 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.mission-block .content-wrap {
    display: grid;
    gap: 3rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.mission-card {
    padding: 2.5rem;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.5s ease, border 0.4s ease, box-shadow 0.4s ease;
    transform-style: preserve-3d;
}

.mission-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.mission-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #0f172a;
    font-weight: 700;
}

.mission-card p {
    color: #475569;
    line-height: 1.7;
}

.mission-card .badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.1rem;
    border-radius: 999px;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    color: #4338ca;
    margin-bottom: 1.8rem;
    font-weight: 600;
}

.horizontal-experience {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background: #f8fafc;
}

.horizontal-experience .label {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    letter-spacing: 0.3em;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #94a3b8;
    z-index: 2;
    font-weight: 600;
}

.horizontal-wrapper {
    display: flex;
    height: 100%;
    width: max(400vw, 1600px);
}

.experience-panel {
    flex: 0 0 100vw;
    padding: clamp(80px, 10vw, 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff !important;
    border: 1px solid #e2e8f0;
    color: #0f172a !important;
}

.experience-panel[style*="background: #f8fafc"] {
    background: #f8fafc !important;
    color: #0f172a !important;
}

.panel-content {
    max-width: 700px;
    color: #0f172a !important;
    opacity: 1 !important;
}

.panel-content * {
    opacity: 1 !important;
}

.panel-content h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 1.2rem;
    color: #0f172a !important;
    font-weight: 700;
    opacity: 1 !important;
}

.panel-content p {
    color: #0f172a !important;
    line-height: 1.7;
    font-size: 1.05rem;
    opacity: 1 !important;
    font-weight: 500;
}

.panel-content ul {
    margin-top: 1.5rem;
    display: grid;
    gap: 0.75rem;
    color: #0f172a !important;
    list-style: none;
    padding: 0;
    opacity: 1 !important;
}

.panel-content ul li {
    color: #0f172a !important;
    opacity: 1 !important;
    font-weight: 500;
}

.panel-content ul li::before {
    content: "↳";
    margin-right: 0.6rem;
    color: #818cf8;
}

.panel-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    border-radius: 999px;
    padding: 0.55rem 1.05rem;
    margin-bottom: 1.6rem;
    font-size: 0.78rem;
    color: #4338ca;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
}

.innovation-grid .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.innovation-card {
    position: relative;
    padding: 2.2rem;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transform-style: preserve-3d;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.innovation-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.innovation-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(129, 140, 248, 0.18), transparent 55%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.innovation-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.9rem;
    color: #0f172a;
    font-weight: 700;
}

.innovation-card p {
    color: #475569;
    line-height: 1.65;
}

.innovation-meta {
    margin-top: 1.8rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.innovation-meta span {
    font-size: 0.78rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    border: 1px solid #c7d2fe;
    background: #eef2ff;
    color: #4338ca;
    font-weight: 500;
}

.impact-section .impact-grid {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.impact-card {
    padding: 2.8rem 2.4rem;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
    transform-origin: center;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.impact-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.impact-card strong {
    display: block;
    font-size: clamp(2rem, 3vw, 3.5rem);
    color: #2563eb;
    margin-bottom: 0.85rem;
    font-weight: 800;
}

.impact-card p {
    color: #475569;
    margin: 0;
    line-height: 1.7;
}

.team-spotlight {
    background: #f8f9fa;
    background-image: 
        linear-gradient(rgba(226, 232, 240, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(226, 232, 240, 0.3) 1px, transparent 1px);
    background-size: 50px 50px;
}

.team-spotlight .section-header h2 {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.team-spotlight .section-header h2 span {
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: #0f172a;
    background-clip: unset;
}

.team-spotlight .team-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    margin-top: 4rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.team-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    min-height: 500px;
    transform: scale(1);
    z-index: 1;
}

.team-card:hover {
    transform: scale(1.05) translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

/* Gradient backgrounds for each card - light gray at top to blue at bottom */
.team-card-gradient-1 {
    background: linear-gradient(180deg, #f1f5f9 0%, #0ea5e9 100%);
}

.team-card-gradient-2 {
    background: linear-gradient(180deg, #f8fafc 0%, #3b82f6 100%);
}

.team-card-gradient-3 {
    background: linear-gradient(180deg, #f8fafc 0%, #3b82f6 100%);
}

.team-card-gradient-4 {
    background: linear-gradient(180deg, #f8fafc 0%, #3b82f6 100%);
}

.team-card-featured {
    background: linear-gradient(180deg, #f8fafc 0%, #2563eb 100%);
}

.team-quote {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    width: 55%;
    max-width: 200px;
    z-index: 3;
    padding: 1.25rem 1rem;
    background: #2563eb;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.team-quote p {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #ffffff;
    font-weight: 500;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}

.quote-mark {
    position: absolute;
    font-size: 5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.3);
    font-family: Georgia, serif;
    line-height: 1;
    z-index: 1;
}

.quote-top {
    top: -0.25rem;
    left: 0.25rem;
    font-size: 4.5rem;
}

.quote-bottom {
    bottom: -1.5rem;
    right: 0.25rem;
    font-size: 4.5rem;
}

.team-image-wrapper {
    width: 100%;
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 2rem 1rem 0;
    position: relative;
    min-height: 350px;
}

.team-image {
    width: 70%;
    max-width: 220px;
    height: auto;
    max-height: 320px;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.25));
    border-radius: 0;
}

.team-card:hover .team-image {
    transform: translateY(-10px) scale(1.05);
}

.team-content {
    padding: 1.75rem 1.5rem 2rem;
    position: relative;
    z-index: 2;
    text-align: center;
    background: #2563eb;
    margin-top: 0;
}

.team-card h3 {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.4rem;
    margin: 0 0 0.75rem 0;
    font-family: var(--font-display);
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.team-card:hover h3 {
    transform: translateY(-2px);
}

.team-role {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: #ffffff;
    color: #2563eb;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 20px;
    margin: 0.5rem 0 0;
    text-shadow: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.team-role-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.team-linkedin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    margin-left: 0.75rem;
    margin-top: 0;
    transition: all 0.3s ease;
    text-decoration: none;
    backdrop-filter: blur(10px);
    vertical-align: middle;
}

.team-linkedin:hover {
    background: #ffffff;
    color: #2563eb;
    transform: scale(1.1) rotate(5deg);
}

.team-linkedin i {
    font-size: 1rem;
}

.testimonial-orbit {
    padding: clamp(90px, 12vw, 130px) 0;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    overflow: hidden;
    position: relative;
}

.testimonial-orbit::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 15% 20%, rgba(99, 102, 241, 0.15), transparent 55%),
        radial-gradient(circle at 85% 80%, rgba(14, 165, 233, 0.12), transparent 60%);
    pointer-events: none;
}

.orbit-shell {
    position: relative;
    border-radius: 32px;
    padding: clamp(60px, 8vw, 96px) clamp(40px, 7vw, 80px);
    background: linear-gradient(160deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.98));
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 45px 80px -55px rgba(58, 99, 233, 0.55);
    overflow: hidden;
}

.orbit-shell::before {
    content: "";
    position: absolute;
    inset: -20% -10% auto 35%;
    height: 65%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.22), transparent 65%);
    opacity: 0.6;
    pointer-events: none;
}

.orbit-track {
    position: relative;
    max-width: 640px;
    margin: 0 auto;
}

.orbit-card {
    display: none;
    text-align: center;
    color: rgba(226, 232, 240, 0.9);
    padding: clamp(32px, 4vw, 48px);
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 35px 60px -45px rgba(79, 70, 229, 0.5);
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.orbit-card.is-active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.orbit-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    border: 4px solid rgba(129, 140, 248, 0.6);
    padding: 4px;
    background: rgba(15, 23, 42, 0.9);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(129, 140, 248, 0.3);
}

.orbit-image::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(129, 140, 248, 0.8), rgba(14, 165, 233, 0.8));
    z-index: -1;
    opacity: 0.5;
}

.orbit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    display: block;
}

.orbit-card h3 {
    margin: 0;
    font-size: 1.45rem;
    color: #f8fafc;
    font-weight: 700;
}

.orbit-role {
    margin: 0.4rem 0 1.4rem;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(226, 232, 240, 0.7);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.orbit-role::before,
.orbit-role::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(129, 140, 248, 0.5), transparent);
}

.orbit-quote {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(226, 232, 240, 0.85);
    position: relative;
    padding: 0 1rem;
}

.orbit-quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -0.5rem;
    font-size: 3rem;
    color: rgba(129, 140, 248, 0.3);
    font-family: Georgia, serif;
    line-height: 1;
}

.orbit-quote::after {
    content: '"';
    position: absolute;
    right: 0;
    bottom: -1rem;
    font-size: 3rem;
    color: rgba(129, 140, 248, 0.3);
    font-family: Georgia, serif;
    line-height: 1;
}

.orbit-nav {
    margin-top: clamp(32px, 4vw, 48px);
    display: flex;
    justify-content: center;
    gap: 1.2rem;
}

.orbit-arrow {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: rgba(15, 23, 42, 0.7);
    color: rgba(226, 232, 240, 0.9);
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, border 0.3s ease, box-shadow 0.3s ease;
}

.orbit-arrow:hover {
    transform: translateY(-3px);
    border-color: rgba(129, 140, 248, 0.7);
    background: rgba(30, 41, 59, 0.9);
    box-shadow: 0 18px 38px -28px rgba(129, 140, 248, 0.75);
}

.orbit-avatars {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.orbit-avatars li {
    position: absolute;
    animation: float 3s ease-in-out infinite;
}

.orbit-avatars li:nth-child(1) {
    animation-delay: 0s;
}

.orbit-avatars li:nth-child(2) {
    animation-delay: 0.5s;
}

.orbit-avatars li:nth-child(3) {
    animation-delay: 1s;
}

.orbit-avatars li:nth-child(4) {
    animation-delay: 1.5s;
}

.orbit-avatars li:nth-child(5) {
    animation-delay: 2s;
}

.orbit-avatars li:nth-child(6) {
    animation-delay: 2.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-8px) scale(1);
    }
}

.orbit-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid rgba(15, 23, 42, 0.9);
    background: rgba(15, 23, 42, 0.75);
    box-shadow: 0 12px 30px -20px rgba(129, 140, 248, 0.65);
    padding: 3px;
    cursor: pointer;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    pointer-events: auto;
    position: relative;
    overflow: hidden;
}

.orbit-avatar::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(129, 140, 248, 0.6), rgba(14, 165, 233, 0.6));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.orbit-avatar:hover::before,
.orbit-avatar.is-active::before {
    opacity: 1;
}

.orbit-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    display: block;
    position: relative;
    z-index: 1;
}

.orbit-avatar.is-active {
    transform: scale(1.15);
    box-shadow: 0 20px 38px -22px rgba(99, 102, 241, 0.85);
    border-color: rgba(129, 140, 248, 0.8);
}

.orbit-avatar:hover {
    transform: scale(1.08);
    box-shadow: 0 16px 35px -20px rgba(99, 102, 241, 0.7);
}

.orbit-avatars li:nth-child(1) {
    top: 6%;
    left: 14%;
}

.orbit-avatars li:nth-child(2) {
    top: 12%;
    right: 16%;
}

.orbit-avatars li:nth-child(3) {
    bottom: 14%;
    left: 10%;
}

.orbit-avatars li:nth-child(4) {
    bottom: 10%;
    right: 12%;
}

.orbit-avatars li:nth-child(5) {
    top: 35%;
    left: -3%;
}

.orbit-avatars li:nth-child(6) {
    top: 40%;
    right: -3%;
}

.orbit-avatar:focus-visible {
    outline: 3px solid rgba(129, 140, 248, 0.8);
}

@media (max-width: 992px) {
    .orbit-shell {
        padding: 56px 32px;
    }

    .orbit-avatars li:nth-child(5),
    .orbit-avatars li:nth-child(6) {
        display: none;
    }
}

@media (max-width: 768px) {
    .orbit-shell {
        padding: 48px 24px 56px;
    }

    .orbit-avatars {
        display: none;
    }

    .orbit-card {
        padding: 28px 20px 36px;
    }
}

.team-role {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.05rem;
    border-radius: 999px;
    border: 1px solid #c7d2fe;
    background: #eef2ff;
    color: #4338ca;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.tagline {
    margin-bottom: 3rem;
    text-align: center;
}

.tagline span {
    display: inline-block;
    padding: 0.55rem 1.5rem;
    border-radius: 999px;
    border: 1px solid #c7d2fe;
    background: #eef2ff;
    letter-spacing: 0.18em;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #4338ca;
    font-weight: 600;
}

.cta-lab {
    padding-bottom: 160px;
}

.cta-wrapper {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    padding: clamp(64px, 10vw, 96px);
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.88), rgba(14, 165, 233, 0.7));
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

.cta-wrapper::before {
    content: "";
    position: absolute;
    inset: -20% -10%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.25), transparent 50%);
    opacity: 0.4;
    mix-blend-mode: screen;
}

.cta-wrapper h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
}

.cta-actions a,
.cta-actions button {
    padding: 0.75rem 1.6rem;
    border-radius: 999px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-primary {
    background: #0f172a;
    color: #f8fafc;
    box-shadow: 0 20px 40px -20px rgba(15, 23, 42, 0.6);
}

.cta-secondary {
    background: rgba(15, 23, 42, 0.2);
    color: #0f172a;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(15, 23, 42, 0.3);
}

.section-header {
    text-align: center;
    margin-bottom: clamp(48px, 6vw, 72px);
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 0.75rem;
    color: #0f172a;
    font-weight: 700;
}

.section-header p {
    color: #64748b;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Testimonial section header - white text on dark background */
.testimonial-orbit .section-header h2 {
    color: #ffffff !important;
}

.testimonial-orbit .section-header p {
    color: rgba(226, 232, 240, 0.8) !important;
}

@media (max-width: 992px) {
    .horizontal-experience {
        height: auto;
    }

    .horizontal-wrapper {
        flex-direction: column;
        width: 100%;
    }

    .experience-panel {
        min-height: 60vh;
        flex: 1 0 auto;
    }
}

@media (max-width: 1024px) {
    .team-spotlight .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .team-spotlight .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 400px;
    }

    .team-card {
        min-height: 420px;
    }

    .team-card:hover {
        transform: scale(1.02);
    }

    .team-content {
        padding: 1.5rem 1.25rem 2rem;
    }

    .team-card h3 {
        font-size: 1.35rem;
    }

    .team-quote {
        top: 1rem;
        left: 1rem;
        right: 1rem;
        padding: 1.25rem;
    }

    .team-quote p {
        font-size: 0.85rem;
        padding: 0 1.5rem;
    }

    .quote-mark {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-meta {
        gap: 1rem;
    }

    .hero-meta .metric {
        min-width: calc(50% - 1rem);
    }

    .cta-wrapper {
        padding: 48px 32px;
    }
}

@media (max-width: 576px) {
    .hero-meta {
        flex-direction: column;
    }

    .hero-meta .metric {
        width: 100%;
    }

    .mission-card,
    .innovation-card,
    .impact-card,
    .team-card {
        padding: 2rem 1.5rem;
    }
}

.about-fallback-mode [data-reveal] {
    opacity: 1 !important;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.about-fallback-mode [data-reveal].is-visible {
    opacity: 1 !important;
    transform: translateY(0);
}

.horizontal-fallback .horizontal-wrapper {
    flex-direction: column;
    width: 100%;
}

.horizontal-fallback .experience-panel {
    position: relative;
    flex: 1 0 auto;
}

/* Ensure panel content is always visible - override any animations */
.experience-panel .panel-content,
.experience-panel .panel-content * {
    opacity: 1 !important;
}

.experience-panel .panel-content h2 {
    color: #0f172a !important;
    opacity: 1 !important;
}

.experience-panel .panel-content p,
.experience-panel .panel-content li {
    color: #1e293b !important;
    opacity: 1 !important;
}

.tilt-active {
    transform: translateY(-6px);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 25px 45px -35px rgba(79, 70, 229, 0.6);
}

.gsap-status-indicator {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(248, 113, 113, 0.5);
    color: #fecaca;
    padding: 0.65rem 1.4rem;
    border-radius: 999px;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    z-index: 999;
    box-shadow: 0 20px 35px -25px rgba(248, 113, 113, 0.65);
}

