/* About Page Styles */

/* CSS Variables */
:root {
    --pointer-x: 50%;
    --pointer-y: 50%;
    --pointer-from-center: 0;
    --pointer-from-top: 0.5;
    --pointer-from-left: 0.5;
    --card-opacity: 0;
    --rotate-x: 0deg;
    --rotate-y: 0deg;
    --background-x: 50%;
    --background-y: 50%;
}

/* Enhanced Scroll Animations - Cleaned Up */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes typewriter {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink {
    0%, 50% { border-color: transparent; }
    51%, 100% { border-color: var(--accent); }
}

/* Scroll Animation Classes - Refined */
.scroll-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-fade-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-fade-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.scroll-fade-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-fade-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scroll-scale-in {
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

.scroll-slide-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Animation Delays - Reduced */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* Enhanced Hover Effects - Refined */
@keyframes glowPulse {
    0%, 100% { 
        box-shadow: 0 0 10px rgba(192, 192, 192, 0.2);
    }
    50% { 
        box-shadow: 0 0 20px rgba(192, 192, 192, 0.4);
    }
}

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

@keyframes tilt {
    0% { transform: rotateX(0deg) rotateY(0deg); }
    25% { transform: rotateX(1deg) rotateY(1deg); }
    75% { transform: rotateX(-1deg) rotateY(-1deg); }
    100% { transform: rotateX(0deg) rotateY(0deg); }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Enhanced 3D Hover Effects - Refined */
.enhanced-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.enhanced-hover:hover {
    transform: translateY(-4px) rotateX(2deg) rotateY(2deg) scale(1.01);
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.2),
        0 0 15px rgba(192, 192, 192, 0.1);
}

/* Floating Animation - Refined */
.floating {
    animation: float 4s ease-in-out infinite;
}

.floating:nth-child(2) { animation-delay: -1s; }
.floating:nth-child(3) { animation-delay: -2s; }

/* Tilt Animation - Refined */
.tilt-on-hover {
    transition: transform 0.3s ease;
}

.tilt-on-hover:hover {
    animation: tilt 1.5s ease-in-out infinite;
}

/* Shimmer Effect - Refined */
.shimmer {
    background: linear-gradient(
        90deg,
        transparent,
        rgba(192, 192, 192, 0.1),
        transparent
    );
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

/* Enhanced Button Effects - Refined */
.enhanced-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.enhanced-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.4s ease;
}

.enhanced-btn:hover::before {
    left: 100%;
}

.enhanced-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.2),
        0 0 15px rgba(192, 192, 192, 0.3);
}

/* About Section Base Styles - Cleaned Up */
.about-section {
    padding: 4rem 0;
    background: var(--background);
    position: relative;
    overflow: hidden;
}

.about-section:first-child {
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(42, 42, 42, 0.95) 100%);
    z-index: 0;
}

/* Hero Background - Consistent with Homepage */
.hero-bg {
    min-height: 100vh;
    background: linear-gradient(135deg, #2a2a2a 0%, #3d3d3d 100%);
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 4rem);
}

.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-left h1 {
    font-size: 4rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    font-family: 'Space Grotesk', sans-serif;
    position: relative;
    overflow: hidden;
}

.hero-left h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
    animation: typewriter 2s ease-out forwards;
}

.hero-left .subheadline {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.4;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    max-width: 800px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

.hero-left p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 2rem 0;
    max-width: 800px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1s forwards;
}

.hero-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* CTA Buttons - Cleaned Up */
.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.5s forwards;
}

.primary-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(90deg, var(--accent) 0%, #D0D0D0 100%);
    color: var(--primary);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.primary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.primary-btn:hover {
    transform: translateY(-2px) scale(1.02) rotateX(2deg);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3), 0 3px 10px rgba(0, 0, 0, 0.2);
}

.primary-btn:hover::before {
    left: 100%;
}

.secondary-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--text);
    text-decoration: none;
    border: 2px solid var(--accent);
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    transform-style: preserve-3d;
}

.secondary-btn:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-2px) scale(1.02) rotateX(-2deg);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.2), 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* About Container - Cleaned Up */
.about-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Enhanced Section Headers - Cleaned Up */
.about-container h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-family: 'Space Grotesk', sans-serif;
    text-align: center;
    position: relative;
}

.about-container h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), rgba(139, 92, 246, 0.8));
    border-radius: 2px;
    animation: glowPulse 3s ease-in-out infinite;
}

/* Enhanced Section Descriptions - Cleaned Up */
.about-container > p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

/* Enhanced Subsection Headers - Cleaned Up */
.about-item h3,
.timeline-content h3,
.value-item h3 {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 1rem;
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.3;
}

/* Enhanced Card Content - Cleaned Up */
.about-item p,
.timeline-content p,
.value-item p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

/* Enhanced Lists - Cleaned Up */
.about-item ul,
.timeline-content ul,
.value-item ul {
    color: var(--text-secondary);
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    margin: 1rem 0;
}

.about-item li,
.timeline-content li,
.value-item li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

/* Enhanced Timeline Styling - Cleaned Up */
.timeline-date {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-family: 'Space Grotesk', sans-serif;
}

.timeline-content h3 {
    margin-bottom: 1rem;
}

.timeline-content p {
    margin-bottom: 1rem;
}

/* Enhanced Stats Styling - Cleaned Up */
.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    line-height: 1.4;
}

/* Enhanced Value Items - Cleaned Up */
.value-item h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.value-item p {
    font-size: 1rem;
    line-height: 1.6;
}

/* Enhanced Italic Text - Cleaned Up */
.about-item p[style*="font-style: italic"],
.timeline-content p[style*="font-style: italic"] {
    font-style: italic;
    color: var(--text-secondary);
    opacity: 0.9;
    font-size: 0.95rem;
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(99, 102, 241, 0.05);
    border-left: 3px solid var(--accent);
    border-radius: 0 8px 8px 0;
}

/* Enhanced Strong Text - Cleaned Up */
.about-item strong,
.timeline-content strong,
.value-item strong {
    color: var(--text);
    font-weight: 600;
}

/* About Cards - Cleaned Up */
.about-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.7) 0%, rgba(42, 42, 42, 0.7) 100%);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    transform-style: preserve-3d;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(139, 92, 246, 0.3), rgba(99, 102, 241, 0.3));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-card:hover::before {
    opacity: 1;
}

.about-card:hover {
    transform: translateY(-4px) rotateX(2deg) rotateY(2deg) scale(1.01);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.15), 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* About Grid - Cleaned Up */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.about-item {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.7) 0%, rgba(42, 42, 42, 0.7) 100%);
    padding: 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    transform-style: preserve-3d;
}

.about-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.4), rgba(139, 92, 246, 0.4), rgba(99, 102, 241, 0.4));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.about-item:hover {
    transform: translateY(-4px) rotateX(2deg) rotateY(2deg) scale(1.01);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.2), 0 4px 12px rgba(0, 0, 0, 0.15);
}

.about-icon {
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-item:hover .about-icon {
    text-shadow: 0 0 15px rgba(99, 102, 241, 0.6);
    transform: scale(1.1) rotateY(8deg);
}

.about-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 1rem;
}

.about-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA Button - Cleaned Up */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(90deg, var(--accent) 0%, #D0D0D0 100%);
    color: var(--primary);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    margin-top: 2rem;
    transform-style: preserve-3d;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.cta-button:hover {
    transform: translateY(-2px) scale(1.02) rotateX(2deg);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3), 0 3px 10px rgba(0, 0, 0, 0.2);
}

.cta-button:hover::before {
    left: 100%;
}

/* Stats Grid - Cleaned Up */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2.5rem 0;
}

/* Horizontal layout for specific sections - Cleaned Up */
.horizontal-cards .stats-grid {
    grid-template-columns: repeat(4, 1fr);
}

.horizontal-cards .about-grid {
    grid-template-columns: repeat(3, 1fr);
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.7) 0%, rgba(42, 42, 42, 0.7) 100%);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    transform-style: preserve-3d;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(139, 92, 246, 0.3), rgba(99, 102, 241, 0.3));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.stat-item:hover {
    transform: translateY(-4px) rotateX(2deg) rotateY(2deg) scale(1.02);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.15), 0 4px 12px rgba(0, 0, 0, 0.15);
}

.stat-item:hover .stat-number {
    text-shadow: 0 0 15px rgba(99, 102, 241, 0.6);
    transform: scale(1.05);
}

/* Timeline - Cleaned Up */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--accent);
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

.timeline-item {
    position: relative;
    margin: 1.5rem 0;
    width: 45%;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 55%;
}

.timeline-content {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.7) 0%, rgba(42, 42, 42, 0.7) 100%);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    transform-style: preserve-3d;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(139, 92, 246, 0.3), rgba(99, 102, 241, 0.3));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.timeline-content:hover::before {
    opacity: 1;
}

.timeline-content:hover {
    transform: translateY(-3px) rotateX(2deg) rotateY(2deg) scale(1.01);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.15), 0 4px 12px rgba(0, 0, 0, 0.15);
}

.timeline-content:hover .timeline-date {
    text-shadow: 0 0 10px rgba(99, 102, 241, 0.6);
    transform: scale(1.05);
}

/* Values Grid - Cleaned Up */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.value-item {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.7) 0%, rgba(42, 42, 42, 0.7) 100%);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    transform-style: preserve-3d;
}

.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.4), rgba(139, 92, 246, 0.4), rgba(99, 102, 241, 0.4));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.value-item:hover {
    transform: translateY(-6px) rotateX(3deg) rotateY(3deg) scale(1.02);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.2), 0 6px 15px rgba(0, 0, 0, 0.15);
}

.value-item:hover h3 {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.value-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.value-item:hover .value-icon {
    text-shadow: 0 0 20px rgba(99, 102, 241, 0.7);
    transform: scale(1.1) rotateY(10deg);
}

/* Flip Card Styles - Cleaned Up */
.flip-card {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 3/4;
    perspective: 1000px;
    transform-style: preserve-3d;
    cursor: pointer;
    height: 95svh;
    max-height: 700px;
    min-height: 600px;
    display: grid;
    border-radius: 30px;
    background-blend-mode: color-dodge, normal, normal, normal;
    animation: glow-bg 12s linear infinite;
    box-shadow: rgba(0, 0, 0, 0.8) calc((var(--pointer-from-left) * 10px) - 3px) calc((var(--pointer-from-top) * 20px) - 6px) 20px -5px;
    transition: transform 1s ease;
    transform: translate3d(0, 0, 0.1px) rotateX(0deg) rotateY(0deg);
    background-size: 100% 100%;
    background-position: 0 0, 0 0, 50% 50%, 0 0;
    background-image: radial-gradient(farthest-side circle at var(--pointer-x) var(--pointer-y), hsla(266, 100%, 90%, var(--card-opacity)) 4%, hsla(266, 50%, 80%, calc(var(--card-opacity) * 0.75)) 10%, hsla(266, 25%, 70%, calc(var(--card-opacity) * 0.5)) 50%, hsla(266, 0%, 60%, 0) 100%), radial-gradient(35% 52% at 55% 20%, #00ffaac4 0%, #073aff00 100%), radial-gradient(100% 100% at 50% 50%, #00c1ffff 1%, #073aff00 76%), conic-gradient(from 124deg at 50% 50%, #c137ffff 0%, #07c6ffff 40%, #07c6ffff 60%, #c137ffff 100%);
    overflow: hidden;
    margin: 0 auto;
}

.flip-card:hover {
    transition: none;
    transform: translate3d(0, 0, 0.1px) rotateX(var(--rotate-y)) rotateY(var(--rotate-x));
    animation: float 4s ease-in-out infinite;
}

.flip-card * {
    display: grid;
    grid-area: 1/-1;
    border-radius: 30px;
    transform: translate3d(0, 0, 0.1px);
    pointer-events: none;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    cursor: pointer;
}

.flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 30px;
    overflow: hidden;
}

.flip-card-front {
    background: linear-gradient(
        135deg,
        rgba(26, 26, 26, 0.9) 0%,
        rgba(42, 42, 42, 0.9) 50%,
        rgba(26, 26, 26, 0.9) 100%
    );
    border-radius: 16px;
    overflow: hidden;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.flip-card-front::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(192, 192, 192, 0.05) 0%,
        rgba(255, 255, 255, 0.08) 50%,
        rgba(192, 192, 192, 0.05) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.flip-card:hover .flip-card-front::before {
    opacity: 1;
}

.flip-card-back {
    background: linear-gradient(
        135deg,
        rgba(26, 26, 26, 0.9) 0%,
        rgba(42, 42, 42, 0.9) 50%,
        rgba(26, 26, 26, 0.9) 100%
    );
    border-radius: 16px;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 1.5rem;
    overflow: hidden;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    min-height: 500px;
    box-sizing: border-box;
}

.flip-card-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    transition: transform 0.3s ease;
    position: absolute;
    left: 50%;
    transform: translateX(-50%) scale(1);
    bottom: 2px;
    opacity: calc(1.75 - var(--pointer-from-center));
}

.flip-card-front::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    backdrop-filter: blur(30px);
    mask: linear-gradient(to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0) 60%,
        rgba(0, 0, 0, 1) 90%,
        rgba(0, 0, 0, 1) 100%);
    pointer-events: none;
}

.flip-card-user-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        transparent 100%
    );
    transform-style: preserve-3d;
    backface-visibility: hidden;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    pointer-events: auto;
    transition: all 0.3s ease;
}

.flip-card:hover .flip-card-user-info {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(35px);
    transform: translateY(-3px);
}

.flip-card-user-details {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.flip-card-mini-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--accent);
    transform-style: preserve-3d;
    backface-visibility: hidden;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.flip-card:hover .flip-card-mini-avatar {
    transform: scale(1.05);
    border-color: var(--text);
    box-shadow: 0 0 10px rgba(192, 192, 192, 0.3);
}

.flip-card-mini-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.flip-card-user-text {
    transform-style: preserve-3d;
    backface-visibility: hidden;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
}

.flip-card-handle {
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.25rem;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    transition: all 0.3s ease;
}

.flip-card:hover .flip-card-handle {
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.flip-card-status {
    font-size: 0.875rem;
    color: var(--accent);
    transform-style: preserve-3d;
    backface-visibility: hidden;
    transition: all 0.3s ease;
}

.flip-card:hover .flip-card-status {
    text-shadow: 0 0 8px rgba(192, 192, 192, 0.5);
}

.flip-card-contact-btn {
    background: linear-gradient(90deg, var(--accent) 0%, #D0D0D0 100%);
    color: var(--primary);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    position: relative;
    overflow: hidden;
}

.flip-card-contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.4s ease;
}

.flip-card-contact-btn:hover {
    background: linear-gradient(90deg, #D0D0D0 0%, var(--accent) 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.flip-card-contact-btn:hover::before {
    left: 100%;
}

.flip-card-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.flip-card-title {
    font-size: 1rem;
    color: var(--accent);
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.flip-card-description {
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
    margin-bottom: 1rem;
    opacity: 0.9;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.flip-card-back-content {
    text-align: left;
    width: 100%;
    height: 100%;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    padding: 1.1rem;
    overflow-y: auto;
    gap: 1.1rem;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.flip-card-back-content h4 {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    margin-top: 0;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.flip-card-back-content h4:first-child {
    margin-top: 0;
}

.flip-card-back-content h4:hover {
    text-shadow: 0 0 8px rgba(192, 192, 192, 0.4);
}

.flip-card-back-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
    width: 100%;
    min-height: 120px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.flip-card-back-content li {
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    padding-left: 1.2rem;
    position: relative;
    font-size: 0.9rem;
    line-height: 1.5;
    font-weight: 400;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.flip-card-back-content li:hover {
    color: var(--text);
    transform: translateX(3px);
}

.flip-card-back-content li::before {
    content: '•';
    color: var(--accent);
    position: absolute;
    left: 0.1rem;
    font-weight: bold;
    font-size: 1.1rem;
    top: -1px;
    transition: all 0.3s ease;
}

.flip-card-back-content li:hover::before {
    text-shadow: 0 0 6px rgba(192, 192, 192, 0.6);
    transform: scale(1.1);
}

.flip-card-back-content li:last-child {
    margin-bottom: 0;
}

.flip-hint {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: auto;
    opacity: 0.7;
    font-style: italic;
    text-align: center;
    width: 100%;
}

/* Animations - Cleaned Up */
@keyframes glow-bg {
    0% {
        --bgrotate: 0deg;
    }

    100% {
        --bgrotate: 360deg;
    }
}

/* Enhanced Background Effects - Simplified */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.animated-bg {
    background: linear-gradient(-45deg, 
        rgba(26, 26, 26, 0.8), 
        rgba(42, 42, 42, 0.8), 
        rgba(26, 26, 26, 0.8), 
        rgba(99, 102, 241, 0.05)
    );
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite;
}

/* Enhanced Text Effects - Refined */
@keyframes textGlow {
    0%, 100% { text-shadow: 0 0 3px rgba(192, 192, 192, 0.2); }
    50% { text-shadow: 0 0 8px rgba(192, 192, 192, 0.4); }
}

.text-glow {
    animation: textGlow 4s ease-in-out infinite;
}

/* Enhanced Section Transitions - Refined */
.section-transition {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-transition.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Loading States - Refined */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.loading-shimmer {
    background: linear-gradient(90deg, 
        rgba(192, 192, 192, 0.05) 25%, 
        rgba(192, 192, 192, 0.1) 50%, 
        rgba(192, 192, 192, 0.05) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

/* Responsive Design - Cleaned Up */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-left h1 {
        font-size: 2.5rem;
    }

    .hero-left .subheadline {
        font-size: 1.2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-right {
        display: none;
    }

    .about-container h2 {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }

    .about-container > p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .about-item h3,
    .timeline-content h3,
    .value-item h3 {
        font-size: 1.5rem;
    }

    .about-item p,
    .timeline-content p,
    .value-item p {
        font-size: 1rem;
    }

    .stat-number {
        font-size: 2.8rem;
    }

    .stat-label {
        font-size: 1.1rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 50px;
    }

    .flip-card {
        height: 90svh;
        max-height: 650px;
        min-height: 550px;
    }

    .flip-card-back-content {
        padding: 1.2rem;
        gap: 1.2rem;
    }

    .flip-card-back-content h4 {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }

    .flip-card-back-content li {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 0.6rem;
    }

    .flip-card-description {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 0.6rem;
    }

    .flip-card-back-content ul {
        min-height: 100px;
    }
}

@media (max-width: 1024px) {
    .split-screen {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
}

@media (max-width: 480px) {
    .about-hero {
        padding: 100px 0 60px;
    }

    .about-hero h1 {
        font-size: 2rem;
    }

    .info-card {
        padding: 1.5rem;
    }

    .team-member {
        padding: 1.5rem;
    }
}

/* Call to Action Section - Cleaned Up */
.cta-section {
    padding: 8rem 0 4rem 0;
    background: var(--background);
    position: relative;
    text-align: center;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(42, 42, 42, 0.95) 100%);
    z-index: 0;
}

.cta-section .container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.cta-section h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-family: 'Space Grotesk', sans-serif;
    position: relative;
}

.cta-section h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), rgba(139, 92, 246, 0.8));
    border-radius: 2px;
}

.cta-section p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Inter', sans-serif;
}

.cta-section .cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .primary-btn,
.cta-section .secondary-btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-section .primary-btn {
    background: linear-gradient(90deg, var(--accent) 0%, #D0D0D0 100%);
    color: var(--primary);
}

.cta-section .primary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.cta-section .primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3), 0 3px 10px rgba(0, 0, 0, 0.2);
}

.cta-section .primary-btn:hover::before {
    left: 100%;
}

.cta-section .secondary-btn {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--accent);
}

.cta-section .secondary-btn:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.2), 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* Responsive Design for CTA Section - Cleaned Up */
@media (max-width: 768px) {
    .cta-section {
        padding: 4rem 0 2rem 0;
    }
    
    .cta-section h2 {
        font-size: 2.5rem;
    }
    
    .cta-section p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .cta-section .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .cta-section .primary-btn,
    .cta-section .secondary-btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .cta-section {
        padding: 2.5rem 0 1.5rem 0;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .cta-section p {
        font-size: 1rem;
    }
}

/* Responsive adjustments for horizontal layouts - Cleaned Up */
@media (max-width: 1200px) {
    .horizontal-cards .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .horizontal-cards .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .horizontal-cards .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .horizontal-cards .about-grid {
        grid-template-columns: 1fr;
    }
} 

/* Professional Scroll Arrow Indicator - About Page Specific */
.scroll-arrow-indicator {
    position: absolute;
    bottom: 3.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    opacity: 0;
    animation: arrowFadeIn 1s ease-out 2s forwards;
    pointer-events: none;
}

.scroll-arrow-icon {
    width: 32px;
    height: 32px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: arrowPulse 3s ease-in-out infinite;
    animation-delay: 3s;
    box-shadow: 0 0 15px rgba(192, 192, 192, 0.3);
    backdrop-filter: blur(5px);
}

.scroll-arrow-icon::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 8px solid var(--accent);
    margin-top: 3px;
    animation: arrowBounce 2s ease-in-out infinite;
    animation-delay: 3s;
    filter: drop-shadow(0 0 3px rgba(192, 192, 192, 0.5));
}

@keyframes arrowFadeIn {
    to {
        opacity: 0.8;
    }
}

@keyframes arrowPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
        box-shadow: 0 0 15px rgba(192, 192, 192, 0.3);
    }
    50% {
        transform: scale(1.15);
        opacity: 1;
        box-shadow: 0 0 25px rgba(192, 192, 192, 0.5);
    }
}

@keyframes arrowBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-4px);
    }
    60% {
        transform: translateY(-2px);
    }
}

/* Section Content Preview - About Page Specific */
.section-content-preview {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, rgba(10, 10, 10, 0.6));
    pointer-events: none;
    z-index: 1;
}

/* Mobile responsiveness for scroll arrow */
@media (max-width: 768px) {
    .scroll-arrow-indicator {
        bottom: 2.5rem;
    }
    
    .scroll-arrow-icon {
        width: 28px;
        height: 28px;
    }
    
    .scroll-arrow-icon::before {
        border-left-width: 4px;
        border-right-width: 4px;
        border-top-width: 6px;
    }
    
    .section-content-preview {
        height: 60px;
    }
} 