/* ========================================
   ABOUT PAGE - CUSTOM STYLES (FINAL VERSION)
======================================== */

:root {
    --primary-orange: #f59e0b;
    --secondary-orange: #ea580c;
    --dark-navy: #0f172a;
    --light-navy: #1e293b;
    --text-light: #f1f5f9;
    --text-dark: #334155;
}

/* ========================================
   GLOBAL SECTION UTILITIES
======================================== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(245, 158, 11, 0.1);
    border: 2px solid var(--primary-orange);
    border-radius: 50px;
    color: var(--primary-orange);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.1rem;
    color: rgba(241, 245, 249, 0.7);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ========================================
   ABOUT HERO SECTION - OPTIMIZED SPACING
======================================== */
.about-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--dark-navy) 0%, var(--light-navy) 100%);
    padding-top: 100px;
    padding-bottom: 60px;
}

.about-hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: blob-float 20s ease-in-out infinite;
}

.blob-hero-1 {
    width: 450px;
    height: 450px;
    background: var(--primary-orange);
    top: -8%;
    right: -8%;
    animation-delay: 0s;
}

.blob-hero-2 {
    width: 350px;
    height: 350px;
    background: var(--secondary-orange);
    bottom: -12%;
    left: -3%;
    animation-delay: -7s;
}

@keyframes blob-float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 30px) scale(0.9);
    }
}

.about-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(245, 158, 11, 0.1);
    border: 2px solid var(--primary-orange);
    border-radius: 50px;
    color: var(--primary-orange);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(241, 245, 249, 0.8);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.btn-scroll-down {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: transparent;
    border: 2px solid var(--primary-orange);
    color: var(--primary-orange);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-scroll-down:hover {
    background: var(--primary-orange);
    color: var(--dark-navy);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
}

.btn-scroll-down i {
    animation: bounce-down 2s ease-in-out infinite;
}

@keyframes bounce-down {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-line {
    width: 2px;
    height: 50px;
    background: linear-gradient(to bottom, var(--primary-orange), transparent);
    animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
}

/* ========================================
   MISSION & VISION SECTION
======================================== */
.mission-vision-section {
    padding: 6rem 2rem;
    background: linear-gradient(to bottom, var(--light-navy), var(--dark-navy));
    position: relative;
    overflow: hidden;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    direction: rtl;
}

.mv-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(245, 158, 11, 0.3);
    border-radius: 20px;
    padding: 3rem 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-orange), var(--secondary-orange));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.mv-card:hover::before {
    transform: scaleX(1);
}

.mv-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-orange);
    box-shadow: 0 20px 60px rgba(245, 158, 11, 0.25);
}

.mv-icon-box {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: #fff;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
}

.mv-content {
    position: relative;
    z-index: 2;
}

.mv-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.mv-text {
    font-size: 1rem;
    color: rgba(241, 245, 249, 0.8);
    line-height: 1.8;
}

.mv-decoration {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.15), transparent);
    border-radius: 50%;
    pointer-events: none;
}

/* ========================================
   VALUES SECTION
======================================== */
.values-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--dark-navy) 0%, var(--light-navy) 100%);
    position: relative;
    overflow: hidden;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    direction: rtl;
}

.value-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(245, 158, 11, 0.2);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}

.value-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-orange);
    box-shadow: 0 20px 60px rgba(245, 158, 11, 0.3);
}

.value-card:hover::before {
    opacity: 1;
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-orange);
}

.value-icon i {
    display: block;
}

.value-title,
.value-card h3 {
    color: var(--text-light);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.value-description,
.value-card p {
    color: rgba(241, 245, 249, 0.7);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ========================================
   TEAM SECTION
======================================== */
.team-section {
    padding: 6rem 2rem;
    background: linear-gradient(to bottom, var(--light-navy), var(--dark-navy));
    position: relative;
}

.team-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
    direction: rtl;
}

.team-card {
    width: 350px;
    height: 500px;
    perspective: 1000px;
    cursor: pointer;
}

.team-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.team-card:hover .team-card-inner,
.team-card.flipped .team-card-inner {
    transform: rotateY(180deg);
}

.team-card-front,
.team-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.team-card-front {
    background: linear-gradient(135deg, var(--dark-navy) 0%, var(--light-navy) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(245, 158, 11, 0.3);
    padding: 2rem;
}

.team-photo {
    position: relative;
    margin-bottom: 2rem;
}

.team-photo img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--primary-orange);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
}

.photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.3), transparent);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s;
}

.team-card:hover .photo-overlay {
    opacity: 1;
}

.team-info {
    text-align: center;
}

.member-name,
.team-card-front h3 {
    color: var(--text-light);
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.member-position,
.team-card-front .position {
    color: var(--primary-orange);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.flip-hint {
    margin-top: 1.5rem;
    padding: 0.5rem 1rem;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 20px;
    font-size: 0.85rem;
    color: rgba(241, 245, 249, 0.6);
}

.flip-hint i {
    margin-left: 0.5rem;
}

.team-card-back {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--secondary-orange) 100%);
    transform: rotateY(180deg);
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: right;
    direction: rtl;
}

.team-bio h4 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 0.5rem;
}

.team-bio p {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.member-expertise {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.expertise-tag {
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 0.85rem;
    color: #fff;
    font-weight: 600;
}

.team-social {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1.2rem;
}

.social-link:hover {
    background: #fff;
    color: var(--primary-orange);
    transform: translateY(-3px);
}

/* ========================================
   TIMELINE SECTION
======================================== */
.timeline-section {
    padding: 6rem 2rem;
    background: linear-gradient(to bottom, var(--dark-navy), var(--light-navy));
    position: relative;
}

.timeline-wrapper {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    direction: rtl;
}

.timeline-line {
    position: absolute;
    top: 0;
    right: 50%;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-orange), rgba(245, 158, 11, 0.2));
    transform: translateX(50%);
}

.timeline-item {
    margin-bottom: 4rem;
    position: relative;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s;
}

.timeline-item.show {
    opacity: 1;
    transform: translateX(0);
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
    transform: translateX(-50px);
}

.timeline-item:nth-child(even).show {
    transform: translateX(0);
}

.timeline-dot {
    width: 60px;
    height: 60px;
    background: var(--primary-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    box-shadow: 0 0 0 8px rgba(245, 158, 11, 0.2);
    z-index: 2;
    flex-shrink: 0;
}

.timeline-dot.active {
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    animation: pulse-timeline 2s ease-in-out infinite;
}

@keyframes pulse-timeline {
    0%, 100% {
        box-shadow: 0 0 0 8px rgba(245, 158, 11, 0.2);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(245, 158, 11, 0.1);
    }
}

.timeline-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(245, 158, 11, 0.3);
    border-radius: 15px;
    padding: 2rem;
    margin: 0 2rem;
    transition: all 0.3s;
}

.timeline-content:hover {
    border-color: var(--primary-orange);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.2);
}

.timeline-date {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: rgba(245, 158, 11, 0.2);
    border-radius: 20px;
    color: var(--primary-orange);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-title {
    color: var(--text-light);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.timeline-desc {
    color: rgba(241, 245, 249, 0.7);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ========================================
   STATS COUNTER SECTION
======================================== */
.stats-counter-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--light-navy) 0%, var(--dark-navy) 100%);
    position: relative;
    overflow: hidden;
}

.stats-bg-overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="%23f59e0b" opacity="0.1"/></svg>');
    opacity: 0.3;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    direction: rtl;
    position: relative;
    z-index: 2;
}

.stat-box {
    text-align: center;
    padding: 2rem;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 15px;
    border: 2px solid rgba(245, 158, 11, 0.2);
    transition: all 0.3s;
}

.stat-box:hover {
    transform: scale(1.05);
    border-color: var(--primary-orange);
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.3);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--primary-orange);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 0.5rem;
    display: block;
}

.stat-text {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgba(241, 245, 249, 0.8);
    font-size: 1rem;
    font-weight: 600;
}

/* ========================================
   WHY CHOOSE US SECTION
======================================== */
.why-us-section {
    padding: 6rem 2rem;
    background: linear-gradient(to bottom, var(--dark-navy), var(--light-navy));
}

.comparison-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    direction: rtl;
}

.comparison-side {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.before-side {
    border-color: rgba(239, 68, 68, 0.3);
}

.after-side {
    border-color: rgba(34, 197, 94, 0.3);
}

.comparison-side:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.side-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.side-header i {
    font-size: 2rem;
}

.before-side .side-header i {
    color: #ef4444;
}

.after-side .side-header i {
    color: #22c55e;
}

.side-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
}

.comparison-list {
    list-style: none;
    padding: 0;
}

.comparison-list li {
    padding: 1rem 0;
    color: rgba(241, 245, 249, 0.8);
    font-size: 1rem;
    line-height: 1.6;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    padding-right: 2rem;
}

.comparison-list li:last-child {
    border-bottom: none;
}

.comparison-list li::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.before-side .comparison-list li::before {
    background: #ef4444;
}

.after-side .comparison-list li::before {
    background: #22c55e;
}

.comparison-divider {
    display: flex;
    align-items: center;
    justify-content: center;
}

.divider-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    box-shadow: 0 5px 20px rgba(245, 158, 11, 0.4);
}

/* ========================================
   FINAL CTA SECTION
======================================== */
.final-cta-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--secondary-orange) 100%);
    text-align: center;
    direction: rtl;
    position: relative;
    overflow: hidden;
}

.cta-bg-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1), transparent);
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: #fff;
    color: var(--primary-orange);
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.btn-cta-primary i {
    transition: transform 0.3s;
}

.btn-cta-primary:hover i {
    transform: translateX(-5px);
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */
@media (max-width: 992px) {
    .comparison-wrapper {
        grid-template-columns: 1fr;
    }
    
    .comparison-divider {
        order: 2;
        margin: 1rem 0;
    }
    
    .divider-icon {
        transform: rotate(90deg);
    }
}

@media (max-width: 768px) {
    /* Hero Section */
    .about-hero {
        padding-top: 80px;
        min-height: 90vh;
    }
    
    .about-hero-content {
        padding: 1rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1.2rem;
        margin-bottom: 1rem;
    }
    
    .hero-title {
        font-size: 2rem !important;
        margin-bottom: 1.2rem;
    }
    
    .hero-description {
        font-size: 0.95rem !important;
        margin-bottom: 1.5rem;
    }
    
    .btn-scroll-down {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .blob-hero-1,
    .blob-hero-2 {
        width: 300px !important;
        height: 300px !important;
        filter: blur(60px);
    }
    
    /* Sections */
    .section-title {
        font-size: 2rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .mission-vision-grid,
    .values-grid,
    .stats-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .team-card {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .timeline-line {
        right: 30px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: row;
        transform: translateX(0);
    }
    
    .timeline-content {
        margin-right: 1rem;
        margin-left: 0;
    }
    
    .timeline-dot {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .about-hero {
        padding-top: 70px;
        min-height: 85vh;
    }
    
    .hero-title {
        font-size: 1.75rem !important;
    }
    
    .hero-description {
        font-size: 0.9rem !important;
    }
    
    .blob-hero-1,
    .blob-hero-2 {
        width: 200px !important;
        height: 200px !important;
        opacity: 0.25;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .stat-number,
    .stat-text {
        font-size: 2rem;
    }
    
    .mv-card,
    .value-card,
    .comparison-side {
        padding: 1.5rem;
    }
    
    .team-card {
        width: 100%;
        height: 450px;
    }
    
    .team-photo img {
        width: 140px;
        height: 140px;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
    
    .btn-cta-primary {
        padding: 0.8rem 1.8rem;
        font-size: 1rem;
    }
}

/* ========================================
   SCROLL ANIMATIONS
======================================== */
.fade-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}

.fade-right {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-right.show {
    opacity: 1;
    transform: translateX(0);
}

.fade-left {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-left.show {
    opacity: 1;
    transform: translateX(0);
}

.scale-up {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scale-up.show {
    opacity: 1;
    transform: scale(1);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

/* ========================================
   ACCESSIBILITY & PERFORMANCE
======================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .blob {
        animation: none;
    }
}

a:focus,
button:focus {
    outline: 2px solid var(--primary-orange);
    outline-offset: 4px;
}

@media (prefers-contrast: high) {
    .mv-card,
    .value-card,
    .comparison-side {
        border-width: 3px;
    }
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-navy);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-orange);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-orange);
}

* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-orange) var(--dark-navy);
}
