/* ===================================
   ABOUT PAGE STYLES
   =================================== */

:root {
    --primary-purple: #6C5CE7;
    --primary-cyan: #00BCD4;
    --text-dark: #2D3436;
    --text-gray: #636E72;
    --white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
    position: relative;
}

body {
    font-family: 'Inter', sans-serif;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
    box-sizing: border-box;
}

@media screen and (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}

@media screen and (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 3rem;
}

/* ===================================
   OUR HISTORY SECTION
   =================================== */

.history-section {
    padding: 8rem 0 5rem;
    background: linear-gradient(135deg, #F5F7FA 0%, #E8EBF0 50%, #F5F7FA 100%);
    position: relative;
    overflow: hidden;
}

.history-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.history-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(78, 205, 196, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(30px, 30px);
    }
}

.history-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.history-left {
    display: flex;
    justify-content: center;
    position: relative;
}

.history-left::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.15), rgba(78, 205, 196, 0.15));
    border-radius: 50%;
    filter: blur(60px);
    z-index: -1;
}

.history-image {
    width: 100%;
    max-width: 520px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(108, 92, 231, 0.2));
}

.history-right {
    position: relative;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-purple) 0%, var(--primary-cyan) 100%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    opacity: 0;
    animation: slideInRight 0.6s ease forwards;
}

.timeline-item:nth-child(1) {
    animation-delay: 0.2s;
}

.timeline-item:nth-child(2) {
    animation-delay: 0.4s;
}

.timeline-item:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.timeline-dot {
    position: absolute;
    left: -2.5rem;
    top: 0.5rem;
    width: 20px;
    height: 20px;
    background: var(--primary-purple);
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(108, 92, 231, 0.3), 0 0 0 0 rgba(108, 92, 231, 0.4);
    }
    50% {
        box-shadow: 0 4px 12px rgba(108, 92, 231, 0.3), 0 0 0 10px rgba(108, 92, 231, 0);
    }
}

.timeline-card {
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(108, 92, 231, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.timeline-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-purple), var(--primary-cyan));
    transform: scaleY(0);
    transition: transform 0.4s ease;
}

.timeline-card:hover::before {
    transform: scaleY(1);
}

.timeline-card:hover {
    transform: translateX(15px);
    box-shadow: 0 15px 45px rgba(108, 92, 231, 0.3);
}

.timeline-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-purple);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.timeline-card:hover h3 {
    color: var(--primary-cyan);
}

.timeline-card p {
    font-size: 1rem;
    color: var(--text-gray);
}

/* ===================================
   OUR MISSION SECTION
   =================================== */

.mission-section {
    padding: 6rem 0 10rem;
    background: linear-gradient(135deg, #3D2F5B 0%, #2D1F4B 100%);
    position: relative;
    overflow: hidden;
}

.mission-section::before {
    content: '';
    position: absolute;
    top: 20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite;
    z-index: 0;
}

.mission-section::after {
    content: '';
    position: absolute;
    top: 40%;
    right: -10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(78, 205, 196, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 12s ease-in-out infinite reverse;
    z-index: 0;
}

.clouds-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path fill="%23E8EBF0" d="M0,60 C300,100 600,20 900,60 C1050,80 1150,60 1200,60 L1200,120 L0,120 Z"/><path fill="%23F5F7FA" opacity="0.9" d="M0,80 C250,110 550,40 850,80 C1000,100 1100,80 1200,80 L1200,120 L0,120 Z"/></svg>') no-repeat bottom;
    background-size: cover;
    z-index: 1;
    pointer-events: none;
}

.mission-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    padding-bottom: 3rem;
}

.mission-left {
    color: white;
    position: relative;
    z-index: 2;
}

.mission-left .section-title {
    color: white;
    margin-bottom: 2rem;
}

.mission-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.mission-right {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.mission-rocket {
    width: 280px;
    height: auto;
    animation: rocketFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(108, 92, 231, 0.5));
}

@keyframes rocketFloat {
    0%, 100% {
        transform: translateY(0) rotate(-15deg);
    }
    50% {
        transform: translateY(-25px) rotate(-15deg);
    }
}

/* ===================================
   OUR EXPERIENCE SECTION
   =================================== */

.about-experience-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #F5F7FA 0%, #E8EBF0 50%, #F5F7FA 100%);
    position: relative;
    overflow: hidden;
}

.about-experience-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-experience-left {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.experience-character {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.experience-character img {
    width: 280px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(108, 92, 231, 0.3));
    animation: floatBot 4s ease-in-out infinite;
}

@keyframes floatBot {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.stat-box {
    position: absolute;
    background: linear-gradient(135deg, rgba(230, 220, 255, 0.9), rgba(240, 235, 255, 0.9));
    backdrop-filter: blur(10px);
    padding: 2rem 2.5rem;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-box:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 50px rgba(108, 92, 231, 0.35);
}

.stat-top-left {
    top: 10%;
    left: 5%;
}

.stat-bottom-left {
    bottom: 15%;
    left: 0%;
}

.stat-top-right {
    top: 5%;
    right: 10%;
    background: linear-gradient(135deg, rgba(220, 230, 255, 0.9), rgba(235, 240, 255, 0.9));
}

.stat-bottom-right {
    bottom: 10%;
    right: 5%;
    background: linear-gradient(135deg, rgba(255, 240, 245, 0.9), rgba(255, 245, 250, 0.9));
}

.stat-box h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-purple);
    margin-bottom: 0.5rem;
}

.stat-box p {
    font-size: 0.95rem;
    color: var(--text-gray);
    font-weight: 500;
}

.about-experience-right {
    padding-left: 2rem;
}

.about-experience-right .section-title {
    text-align: left;
    margin-bottom: 2rem;
    line-height: 1.3;
}

.about-experience-right .section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-purple), var(--primary-cyan));
    margin-top: 1rem;
    border-radius: 10px;
}

.experience-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-gray);
    max-width: 500px;
}

/* ===================================
   OUR TEAM SECTION
   =================================== */

.team-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #3D2F5B 0%, #2D1F4B 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(108, 92, 231, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(78, 205, 196, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.team-section .section-title {
    color: white;
    text-align: center;
    position: relative;
}

.team-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-purple), var(--primary-cyan));
    border-radius: 10px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
}

.team-member {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    gap: 2rem;
    align-items: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.team-member::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;
}

.team-member:hover::before {
    left: 100%;
}

.team-member:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(108, 92, 231, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.member-image {
    flex-shrink: 0;
    position: relative;
}

.member-image::before {
    content: '';
    position: absolute;
    inset: -10px;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-cyan));
    border-radius: 15px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.team-member:hover .member-image::before {
    opacity: 1;
}

.member-image img {
    width: 180px;
    height: 180px;
    border-radius: 15px;
    object-fit: cover;
    border: 4px solid var(--primary-purple);
    transition: all 0.4s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.05);
    border-color: var(--primary-cyan);
}

.member-info h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.member-role {
    font-size: 1rem;
    color: var(--primary-cyan);
    margin-bottom: 1rem;
}

.member-bio {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

.team-subtitle {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: white;
}

.team-grid-small {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.team-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.2), rgba(78, 205, 196, 0.2));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.team-card:hover::before {
    opacity: 1;
}

.team-card:hover {
    transform: translateY(-15px) scale(1.05);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 40px rgba(108, 92, 231, 0.4);
}

.team-card img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 10px;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid var(--primary-purple);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.team-card:hover img {
    transform: scale(1.1);
    border-color: var(--primary-cyan);
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.5);
}

.team-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media screen and (max-width: 968px) {
    .section-title {
        font-size: 2rem;
    }
    
    .history-content,
    .mission-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .history-image,
    .mission-rocket {
        max-width: 350px;
    }
    
    .about-experience-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-experience-left {
        height: 400px;
    }
    
    .experience-character img {
        width: 220px;
    }
    
    .stat-box {
        padding: 1.5rem 2rem;
    }
    
    .stat-box h3 {
        font-size: 2rem;
    }
    
    .about-experience-right {
        padding-left: 0;
        text-align: center;
    }
    
    .about-experience-right .section-title {
        text-align: center;
    }
    
    .about-experience-right .section-title::after {
        margin-left: auto;
        margin-right: auto;
    }
    
    .experience-description {
        margin: 0 auto;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .team-member {
        flex-direction: column;
        text-align: center;
    }
    
    .team-grid-small {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .section-title {
        font-size: 1.75rem;
    }
    
    .history-section,
    .mission-section,
    .about-experience-section,
    .team-section {
        padding: 3rem 0;
    }
    
    .timeline-card {
        padding: 1.25rem 1.5rem;
    }
    
    .stat-box h3 {
        font-size: 2rem;
    }
    
    .member-image img {
        width: 150px;
        height: 150px;
    }
}

@media screen and (max-width: 480px) {
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .team-grid-small {
        grid-template-columns: 1fr;
    }
    
    .mission-rocket {
        width: 180px;
    }
    
    .experience-character img {
        width: 220px;
    }
}
