/* About Page Specific Styles with Unique Animations */

.about-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    overflow: hidden;
}

.about-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.about-hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 191, 255, 0.1), transparent);
    animation: circleFloat 15s ease-in-out infinite;
}

.shape-circle:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-circle:nth-child(2) {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 20%;
    animation-delay: 5s;
}

.shape-circle:nth-child(3) {
    width: 250px;
    height: 250px;
    bottom: 10%;
    left: 50%;
    animation-delay: 10s;
}

@keyframes circleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.about-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.about-hero-title {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.2rem;
}

.title-char {
    display: inline-block;
    animation: charFlip 0.6s ease-out forwards;
    opacity: 0;
    transform-style: preserve-3d;
}

.title-char:nth-child(1) { animation-delay: 0.1s; }
.title-char:nth-child(2) { animation-delay: 0.2s; }
.title-char:nth-child(3) { animation-delay: 0.3s; }
.title-char:nth-child(4) { animation-delay: 0.4s; }
.title-char:nth-child(5) { animation-delay: 0.5s; }
.title-char:nth-child(6) { animation-delay: 0.6s; }
.title-char:nth-child(7) { animation-delay: 0.7s; }
.title-char:nth-child(8) { animation-delay: 0.8s; }

.title-char.highlight {
    background: linear-gradient(135deg, #00bfff 0%, #87ceeb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes charFlip {
    from {
        opacity: 0;
        transform: rotateY(180deg);
    }
    to {
        opacity: 1;
        transform: rotateY(0);
    }
}

.about-hero-subtitle {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.8);
    animation: fadeInUp 1s ease-out 1s both;
}

/* Flip In Animation */
@keyframes flipIn {
    from {
        opacity: 0;
        transform: perspective(1000px) rotateX(90deg);
    }
    to {
        opacity: 1;
        transform: perspective(1000px) rotateX(0);
    }
}

.flip-in {
    animation: flipIn 1s ease-out forwards;
}

/* Fade In Left/Right */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-left {
    animation: fadeInLeft 0.8s ease-out forwards;
    opacity: 0;
}

.fade-in-right {
    animation: fadeInRight 0.8s ease-out forwards;
    opacity: 0;
}

/* Slide In Up */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-up {
    animation: slideInUp 0.8s ease-out forwards;
    opacity: 0;
}

/* Rotate In */
@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-180deg) scale(0.5);
    }
    to {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}

.rotate-in {
    animation: rotateIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    opacity: 0;
}

.about-content-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-image {
    position: relative;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: var(--shadow-xl);
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.values-section {
    padding: 5rem 0;
    background: var(--bg-darker);
}

.section-title-center {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 3rem;
    text-align: center;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.value-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
}

.value-card:hover {
    transform: translateY(-10px) rotate(2deg);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.value-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.nav-menu a.active {
    color: var(--primary-color);
    position: relative;
}

.nav-menu a.active::after {
    width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .about-hero-title {
        font-size: 3rem;
    }
    
    .about-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title-center {
        font-size: 2rem;
    }
}

