/* About Page Specific Styles */

/* Page Hero */
.page-hero {
    padding: 8rem 0 4rem;
    background: var(--gradient-secondary);
    color: white;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="%23f7b731" opacity="0.3"><animate attributeName="opacity" values="0.3;0.8;0.3" dur="4s" repeatCount="indefinite"/></circle><circle cx="80" cy="60" r="1.5" fill="%23f5576c" opacity="0.2"><animate attributeName="opacity" values="0.2;0.6;0.2" dur="6s" repeatCount="indefinite"/></circle></svg>') repeat;
    animation: float 20s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 1.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: var(--light-bg);
    clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 60%);
}

/* Mission Section */
.mission-section {
    padding: 6rem 0;
    background: var(--white);
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mission-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.mission-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-elements {
    position: relative;
    width: 300px;
    height: 300px;
}

.element {
    position: absolute;
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: var(--shadow-medium);
    animation: float-element 6s ease-in-out infinite;
}

.element-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.element-2 {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    animation-delay: 1.5s;
}

.element-3 {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 3s;
}

.element-4 {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    animation-delay: 4.5s;
}

/* Timeline Section */
.timeline-section {
    padding: 6rem 0;
    background: var(--light-bg);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    width: 20px;
    height: 20px;
    background: var(--white);
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.timeline-marker.active {
    background: var(--primary-color);
    box-shadow: 0 0 20px rgba(247, 183, 49, 0.5);
}

.timeline-content {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    width: 45%;
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 0;
    height: 0;
    border: 15px solid transparent;
    transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -30px;
    border-left-color: var(--white);
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -30px;
    border-right-color: var(--white);
}

.timeline-content h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Technology Section */
.technology-section {
    padding: 6rem 0;
    background: var(--white);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.tech-card {
    background: var(--light-bg);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.tech-card:hover::before {
    left: 0;
    opacity: 0.1;
}

.tech-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.tech-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.tech-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    position: relative;
    z-index: 2;
}

.tech-card p {
    color: var(--text-light);
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* Values Section */
.values-section {
    padding: 6rem 0;
    background: var(--gradient-secondary);
    color: white;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.value-item {
    text-align: center;
    position: relative;
}

.value-number {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    display: block;
}

.value-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.value-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Animations */
@keyframes float-element {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.1);
    }
}

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

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: row !important;
        padding-left: 60px;
    }

    .timeline-marker {
        left: 20px;
        transform: translateX(-50%);
    }

    .timeline-content {
        width: 100%;
        margin: 0 !important;
    }

    .timeline-content::before {
        left: -30px !important;
        right: auto !important;
        border-right-color: var(--white) !important;
        border-left-color: transparent !important;
    }

    .tech-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .floating-elements {
        width: 250px;
        height: 250px;
    }

    .element {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

