/* About Page Specific Styles */

/* About Hero */
.about-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-top: 70px;
    background: var(--dark-bg);
}

.about-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.3;
}

.grid-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 204, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 204, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.gradient-mesh {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 50%, rgba(0, 255, 204, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 70% 50%, rgba(0, 102, 255, 0.2) 0%, transparent 40%);
    filter: blur(40px);
}

.about-hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease;
}

.about-hero-title {
    font-family: var(--font-display);
    margin-bottom: 1.5rem;
}

.title-small {
    display: block;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--muted-text);
    margin-bottom: 0.5rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.title-large {
    display: block;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.about-hero-subtitle {
    font-size: 1.25rem;
    color: var(--muted-text);
    max-width: 600px;
}

/* Company Overview */
.company-overview {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.overview-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: start;
}

.overview-content {
    animation: fadeInLeft 0.8s ease;
}

.overview-text {
    color: var(--muted-text);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.overview-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    animation: fadeInRight 0.8s ease 0.2s both;
}

.stat-card {
    background: var(--dark-surface);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 204, 0.3);
}

.stat-icon {
    margin-bottom: 1rem;
    display: inline-block;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-description {
    color: var(--muted-text);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Mission & Vision */
.mission-vision {
    padding: 100px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(20, 20, 20, 0.5) 50%, transparent 100%);
    position: relative;
    z-index: 2;
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.mv-card {
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.mv-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 255, 204, 0.05) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mv-card:hover::after {
    opacity: 1;
}

.mv-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 204, 0.3);
}

.mv-icon {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 2rem;
}

.icon-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 255, 204, 0.2) 0%, transparent 70%);
    filter: blur(20px);
    animation: pulse 3s ease infinite;
}

.mv-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.mv-text {
    color: var(--muted-text);
    line-height: 1.8;
}

/* Timeline */
.timeline {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.timeline-container {
    position: relative;
    padding: 2rem 0;
    margin-top: 3rem;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, transparent 0%, var(--accent-cyan) 20%, var(--accent-blue) 80%, transparent 100%);
    transform: translateX(-50%);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: center;
    position: relative;
    animation: fadeIn 0.8s ease both;
}

.timeline-item:nth-child(even) .timeline-content {
    grid-column: 3;
    text-align: left;
}

.timeline-item:nth-child(odd) .timeline-content {
    grid-column: 1;
    text-align: right;
}

.timeline-dot {
    grid-column: 2;
    width: 20px;
    height: 20px;
    background: var(--dark-bg);
    border: 3px solid var(--accent-cyan);
    border-radius: 50%;
    position: relative;
    z-index: 3;
    animation: pulse 2s ease infinite;
}

.timeline-content {
    background: var(--dark-surface);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: scale(1.05);
    border-color: var(--accent-cyan);
    box-shadow: 0 10px 30px rgba(0, 255, 204, 0.1);
}

.timeline-year {
    font-size: 0.875rem;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.timeline-text {
    color: var(--muted-text);
    line-height: 1.6;
}

/* Contact Info */
.contact-info {
    padding: 100px 0 50px;
    position: relative;
    z-index: 2;
}

.offices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.office-card {
    background: var(--dark-surface);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.office-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
}

.office-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 255, 204, 0.1);
}

.office-location {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.office-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(0, 255, 204, 0.1);
    border: 1px solid rgba(0, 255, 204, 0.3);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.office-address {
    color: var(--muted-text);
    line-height: 1.8;
    font-style: normal;
    margin-bottom: 1.5rem;
}

.office-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-link {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-link:hover {
    color: var(--light-text);
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .mv-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .timeline-line {
        left: 30px;
    }
    
    .timeline-item {
        grid-template-columns: auto 1fr;
        gap: 2rem;
    }
    
    .timeline-item .timeline-content {
        grid-column: 2 !important;
        text-align: left !important;
    }
    
    .timeline-dot {
        grid-column: 1;
    }
}

@media (max-width: 768px) {
    .about-hero-title {
        text-align: center;
    }
    
    .about-hero-subtitle {
        text-align: center;
        margin: 0 auto;
    }
    
    .overview-stats {
        grid-template-columns: 1fr;
    }
    
    .offices-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-line {
        left: 20px;
    }
}