/* About Page Styles - Modern and Sleek Design */

/* Hero Section */
.about-hero {
    position: relative;
    padding: 120px 0 80px;
    background-color: #0a192f;
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(100, 255, 218, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(58, 134, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.about-hero .container {
    position: relative;
    z-index: 2;
}

.about-hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 30px;
    background: linear-gradient(90deg, #ffffff, #64ffda);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.about-hero p {
    font-size: 1.3rem;
    color: #8892b0;
    max-width: 700px;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards 0.2s;
}

.about-hero .tech-icons {
    display: flex;
    gap: 25px;
    margin-top: 40px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards 0.4s;
}

.about-hero .tech-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(100, 255, 218, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64ffda;
    font-size: 24px;
    transition: all 0.3s ease;
}

.about-hero .tech-icon:hover {
    transform: translateY(-10px);
    background-color: rgba(100, 255, 218, 0.2);
}

/* About Story Section */
.about-story {
    padding: 120px 0;
    position: relative;
    background-color: #0a192f;
}

.about-story::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(58, 134, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-image {
    flex: 1;
    position: relative;
    perspective: 1000px;
}

.about-image-wrapper {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s ease;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.5s ease;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid #64ffda;
    border-radius: 10px;
    z-index: -1;
    transition: all 0.3s ease;
}

.about-image:hover .about-image-wrapper {
    transform: rotateY(-15deg);
}

.about-image:hover::before {
    top: -10px;
    left: -10px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.8rem;
    margin-bottom: 30px;
    color: #ccd6f6;
    position: relative;
    padding-bottom: 15px;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #64ffda, #3a86ff);
    border-radius: 2px;
}

.about-text p {
    color: #8892b0;
    line-height: 1.9;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

/* Mission Vision Values Section */
.mission-vision {
    padding: 120px 0;
    background-color: #0a192f;
    position: relative;
}

.mission-vision::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 70%, rgba(58, 134, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(100, 255, 218, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.mission-card, .vision-card, .values-card {
    background-color: rgba(17, 34, 64, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 15px;
    padding: 50px 35px;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.mission-card::before, .vision-card::before, .values-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #3a86ff, #64ffda);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.mission-card:hover, .vision-card:hover, .values-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    border-color: rgba(100, 255, 218, 0.3);
}

.mission-card:hover::before, .vision-card:hover::before, .values-card:hover::before {
    transform: scaleX(1);
}

.mission-card .icon, .vision-card .icon, .values-card .icon {
    font-size: 54px;
    color: #64ffda;
    margin-bottom: 30px;
    transition: all 0.5s ease;
}

.mission-card:hover .icon, .vision-card:hover .icon, .values-card:hover .icon {
    transform: translateY(-10px) scale(1.1);
}

.mission-card h2, .vision-card h2, .values-card h2 {
    font-size: 28px;
    margin-bottom: 25px;
    color: #ccd6f6;
    position: relative;
}

.mission-card p, .vision-card p {
    color: #8892b0;
    line-height: 1.8;
    font-size: 1.05rem;
}

.values-card ul {
    color: #8892b0;
    line-height: 1.8;
    padding-left: 20px;
}

.values-card ul li {
    margin-bottom: 18px;
    position: relative;
}

.values-card ul li::before {
    content: '▹';
    position: absolute;
    left: -20px;
    color: #64ffda;
    font-size: 1.2rem;
}

.values-card ul li strong {
    color: #64ffda;
    font-weight: 500;
}

/* Team Section */
.team-section {
    padding: 120px 0;
    background-color: #0a192f;
    position: relative;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(100, 255, 218, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 30px;
    color: #ccd6f6;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #64ffda, #3a86ff);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    color: #8892b0;
    font-size: 1.2rem;
    line-height: 1.8;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.team-card {
    background-color: rgba(17, 34, 64, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.5s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.team-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    border-color: rgba(100, 255, 218, 0.3);
}

.team-image {
    height: 280px;
    overflow: hidden;
    position: relative;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(10, 25, 47, 1), transparent);
    pointer-events: none;
}

.team-info {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.team-info h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #ccd6f6;
}

.team-title {
    color: #64ffda;
    font-size: 1rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.team-bio {
    color: #8892b0;
    line-height: 1.8;
    margin-bottom: 25px;
    flex: 1;
}

.team-social {
    display: flex;
    gap: 15px;
}

.team-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(100, 255, 218, 0.1);
    color: #64ffda;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.team-social a:hover {
    background-color: #64ffda;
    color: #0a192f;
    transform: translateY(-5px);
}

/* Facilities Section */
.facilities {
    padding: 120px 0;
    background-color: #0a192f;
    position: relative;
}

.facilities::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(58, 134, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.facility-card {
    background-color: rgba(17, 34, 64, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 15px;
    padding: 50px 35px;
    transition: all 0.5s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.facility-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(58, 134, 255, 0.1), rgba(100, 255, 218, 0.1));
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.facility-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    border-color: rgba(100, 255, 218, 0.3);
}

.facility-card:hover::before {
    opacity: 1;
}

.facility-icon {
    font-size: 54px;
    color: #64ffda;
    margin-bottom: 30px;
    transition: all 0.5s ease;
}

.facility-card:hover .facility-icon {
    transform: scale(1.2) rotate(10deg);
}

.facility-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #ccd6f6;
}

.facility-card p {
    color: #8892b0;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Achievements Section */
.achievements {
    padding: 120px 0;
    background-color: #0a192f;
    position: relative;
}

.achievements::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(100, 255, 218, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.achievement-counters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.counter {
    background-color: rgba(17, 34, 64, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 15px;
    padding: 50px 30px;
    text-align: center;
    transition: all 0.5s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.counter:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    border-color: rgba(100, 255, 218, 0.3);
}

.counter-icon {
    font-size: 54px;
    color: #64ffda;
    margin-bottom: 25px;
    transition: all 0.5s ease;
}

.counter:hover .counter-icon {
    transform: scale(1.2);
}

.counter-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ccd6f6;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #ffffff, #64ffda);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.counter.animated .counter-number {
    opacity: 1;
    transform: translateY(0);
}

.counter-title {
    color: #8892b0;
    font-size: 1.2rem;
}

/* Text animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.text-reveal {
    position: relative;
    display: inline-block;
    color: transparent;
}

.text-reveal::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    color: #ccd6f6;
    overflow: hidden;
    white-space: nowrap;
    transition: width 1s ease;
}

.text-reveal.visible::before {
    width: 100%;
}

.text-gradient {
    background: linear-gradient(90deg, #64ffda, #3a86ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Responsive styles */
@media (max-width: 1200px) {
    .about-hero h1 {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        margin-bottom: 60px;
        max-width: 600px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .about-hero h1 {
        font-size: 3rem;
    }
    
    .about-text h2 {
        font-size: 2.5rem;
    }
    
    .counter-number {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 100px 0 60px;
    }
    
    .about-hero h1 {
        font-size: 2.5rem;
    }
    
    .about-text h2 {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .counter-number {
        font-size: 2.5rem;
    }
    
    .mission-vision-grid,
    .team-grid,
    .facilities-grid,
    .achievement-counters {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 576px) {
    .about-hero h1 {
        font-size: 2rem;
    }
    
    .about-hero p {
        font-size: 1.1rem;
    }
    
    .about-text h2 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}
