/* About page specific styles */
.aboutpage {
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.aboutpage .main-content {
    padding-top: 120px;
    position: relative;
    z-index: 2;
}

/* Dynamic light orb effect */
.glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
    animation: float 8s ease-in-out infinite;
    z-index: -1;
}

.glow-orb-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.4) 0%, transparent 70%);
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.glow-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 119, 198, 0.3) 0%, transparent 70%);
    top: 50%;
    right: -15%;
    animation-delay: -3s;
}

.glow-orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(120, 219, 255, 0.4) 0%, transparent 70%);
    bottom: 20%;
    left: 20%;
    animation-delay: -6s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-30px) rotate(120deg);
    }
    66% {
        transform: translateY(20px) rotate(240deg);
    }
}

/* Page title enhancement */
.about-header {
    position: relative;
    margin-bottom: 4rem;
}

.about-title {
    background: linear-gradient(135deg, #00d4ff 0%, #ff77c6 50%, #78dbff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    text-shadow: 0 0 50px rgba(0, 212, 255, 0.5);
    animation: titleGlow 3s ease-in-out infinite alternate;
    position: relative;
}

.about-title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: radial-gradient(ellipse, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes titleGlow {
    from {
        text-shadow: 0 0 30px rgba(0, 212, 255, 0.5), 0 0 60px rgba(255, 119, 198, 0.3);
    }
    to {
        text-shadow: 0 0 50px rgba(0, 212, 255, 0.8), 0 0 80px rgba(255, 119, 198, 0.5), 0 0 100px rgba(120, 219, 255, 0.3);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.1;
    }
}

.about-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.5s both;
}

/* Card enhancement effects */
.about-card {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 20px;
    backdrop-filter: blur(15px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out both;
}

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

.about-card:hover::before {
    left: 100%;
}

.about-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(0, 212, 255, 0.3),
        0 0 0 1px rgba(0, 212, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.4) !important;
}

.about-card:nth-child(1) {
    animation-delay: 0.1s;
}

.about-card:nth-child(2) {
    animation-delay: 0.2s;
}

.about-card:nth-child(3) {
    animation-delay: 0.3s;
}

/* Card icon enhancement */
.card-icon {
    position: relative;
    display: inline-block;
    padding: 20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.card-icon svg {
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 10px currentColor);
}

.about-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.4);
}

.about-card:hover .card-icon svg {
    transform: scale(1.1);
    filter: drop-shadow(0 0 20px currentColor);
}

/* Card title and text enhancement */
.about-card .card-title {
    color: #ffffff !important;
    font-weight: 700;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.about-card:hover .card-title {
    color: #00d4ff !important;
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

.about-card .card-text {
    color: rgba(255, 255, 255, 0.85) !important;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Mission section enhancement */
.mission-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 3rem;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.mission-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, #ff77c6, #78dbff);
    opacity: 0.8;
}

.mission-title {
    background: linear-gradient(135deg, #00d4ff 0%, #ff77c6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    margin-bottom: 2rem;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

.mission-content p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.mission-content .lead {
    font-size: 1.15rem;
    font-weight: 400;
}

/* Technology section enhancement */
.team-section {
    animation: fadeInUp 1s ease-out 1s both;
}

.team-title {
    background: linear-gradient(135deg, #78dbff 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    margin-bottom: 3rem;
    text-shadow: 0 0 30px rgba(120, 219, 255, 0.3);
}

.tech-item {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tech-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #78dbff, #00d4ff);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.tech-item:hover::after {
    transform: scaleX(1);
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(120, 219, 255, 0.2);
    border-color: rgba(120, 219, 255, 0.3) !important;
}

.tech-item .card-title {
    color: #78dbff !important;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.tech-item .card-text {
    color: rgba(255, 255, 255, 0.8) !important;
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Animation definitions */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .aboutpage .main-content {
        padding-top: 100px;
    }
    
    .about-title {
        font-size: 2.5rem !important;
    }
    
    .about-subtitle {
        font-size: 1.1rem !important;
    }
    
    .mission-section {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .about-card {
        margin-bottom: 1.5rem;
    }
    
    .glow-orb {
        display: none; /* Hide glow effects on mobile devices to improve performance */
    }
}

@media (max-width: 576px) {
    .about-title {
        font-size: 2rem !important;
    }
    
    .mission-section {
        padding: 1.5rem 1rem;
    }
    
    .card-icon {
        padding: 15px;
    }
    
    .card-icon svg {
        width: 40px;
        height: 40px;
    }
}

/* Scroll animation trigger */
@media (prefers-reduced-motion: no-preference) {
    .about-card,
    .mission-section,
    .team-section {
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.8s ease;
    }
    
    .about-card.animate,
    .mission-section.animate,
    .team-section.animate {
        opacity: 1;
        transform: translateY(0);
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .about-card,
    .mission-section,
    .tech-item {
        border-width: 2px;
        border-color: rgba(255, 255, 255, 0.5) !important;
    }
    
    .about-title,
    .mission-title,
    .team-title {
        text-shadow: none;
        color: #ffffff !important;
        background: none !important;
        -webkit-text-fill-color: #ffffff !important;
    }
}