/* ============================================
   AIMEX EVENT CENTER — ABOUT PAGE
   New Styles (References Existing Variables)
   ============================================ */

/* ============================================
   ABOUT HERO SECTION
   ============================================ */
.about-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.about-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.about-hero-bg .mesh-bg {
    position: absolute;
    inset: 0;
    background:
            radial-gradient(ellipse at 20% 50%, rgba(204, 9, 155, 0.15) 0%, transparent 50%),
            radial-gradient(ellipse at 80% 50%, rgba(58, 111, 247, 0.12) 0%, transparent 50%),
            radial-gradient(ellipse at 50% 100%, rgba(204, 9, 155, 0.08) 0%, transparent 50%);
}

.about-hero-bg .glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: float 6s ease-in-out infinite;
}

.about-hero-bg .glow-orb-1 {
    width: 400px;
    height: 400px;
    background: var(--gradient-hero-glow);
    top: -10%;
    left: -5%;
    animation-delay: 0s;
}

.about-hero-bg .glow-orb-2 {
    width: 350px;
    height: 350px;
    background: var(--gradient-blue-glow);
    bottom: 10%;
    right: -5%;
    animation-delay: -2s;
}

.about-hero-bg .glow-orb-3 {
    width: 300px;
    height: 300px;
    background: var(--gradient-hero-glow);
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: -4s;
    opacity: 0.5;
}

.about-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 0 24px;
    margin: 0 auto;
}

.about-hero-title {
    font-family: var(--font-heading), serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.about-hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.about-hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
}

.about-hero-stats {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    justify-content: center;
}

@media (min-width: 640px) {
    .about-hero-buttons {
        flex-direction: row;
    }

    .about-hero-stats {
        flex-direction: row;
        gap: 40px;
    }
}

/* ============================================
   OUR STORY SECTION
   ============================================ */
.our-story {
    padding: 120px 0;
    position: relative;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}

@media (min-width: 1024px) {
    .story-grid {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }
}

.story-visual {
    position: relative;
}

.story-image-wrapper {
    position: relative;
    padding-bottom: 60px;
}

.story-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    will-change: transform;
    transform: translateZ(0);
}

.story-image:hover img {
    transform: scale(1.05);
}

.story-image-primary {
    width: 85%;
    aspect-ratio: 3/4;
}

.story-image-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    aspect-ratio: 4/5;
    border: 4px solid var(--black);
}

.story-accent-card {
    position: absolute;
    bottom: 80px;
    left: -20px;
    background: var(--gradient-signature);
    padding: 24px 28px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(204, 9, 155, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    z-index: 2;
}

.story-accent-card .accent-number {
    font-family: var(--font-heading), serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
}

.story-accent-card .accent-text {
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    line-height: 1.4;
}

.story-text {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.story-text strong {
    color: var(--white);
    font-weight: 600;
}

.story-text em {
    color: var(--accent-light);
    font-style: normal;
}

.story-values {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border-subtle);
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.value-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.value-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.value-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   THE SPACE / FACILITIES SECTION
   ============================================ */
.the-space {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.the-space-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.glow-orb-space {
    width: 500px;
    height: 500px;
    background: var(--gradient-blue-glow);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(100px);
    opacity: 0.6;
}

.the-space .container {
    position: relative;
    z-index: 1;
}

.facilities-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .facilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .facilities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.facility-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: 20px;
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.facility-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(204, 9, 155, 0.35);
    border-color: rgba(204, 9, 155, 0.3);
}

.facility-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(204, 9, 155, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.facility-card:hover .facility-card-glow {
    opacity: 1;
}

.facility-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-signature);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-bottom: 24px;
    box-shadow: 0 0 25px rgba(204, 9, 155, 0.3);
    transition: var(--transition-smooth);
}

.facility-card:hover .facility-icon {
    transform: scale(1.1);
    box-shadow: 0 0 35px rgba(204, 9, 155, 0.5);
}

.facility-title {
    font-family: var(--font-heading), serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.facility-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.facility-stat {
    display: flex;
    align-items: baseline;
    gap: 6px;
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
}

.facility-number {
    font-family: var(--font-heading), serif;
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-signature);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.facility-suffix {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ============================================
   HERITAGE / TIMELINE SECTION
   ============================================ */
.heritage {
    padding: 120px 0;
    position: relative;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-signature);
    transform: translateX(-50%);
    opacity: 0.3;
}

@media (max-width: 767px) {
    .timeline-line {
        left: 24px;
    }
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
    text-align: right;
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
}

@media (max-width: 767px) {
    .timeline-item,
    .timeline-item:nth-child(odd) {
        flex-direction: row;
        text-align: left;
        padding-left: 48px;
    }

    .timeline-item:nth-child(odd) .timeline-content {
        text-align: left;
    }
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 8px;
    width: 16px;
    height: 16px;
    background: var(--gradient-signature);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 20px rgba(204, 9, 155, 0.5);
    z-index: 2;
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .timeline-dot {
        left: 24px;
        transform: translateX(-50%);
    }
}

.timeline-content {
    width: calc(50% - 40px);
}

@media (max-width: 767px) {
    .timeline-content {
        width: 100%;
    }
}

.timeline-year {
    display: inline-block;
    font-family: var(--font-heading), serif;
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-signature);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.timeline-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--white);
}

.timeline-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   COMMUNITY / TEAM SECTION
   ============================================ */
.community {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.team-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(204, 9, 155, 0.35);
    border-color: rgba(204, 9, 155, 0.3);
}

.team-image {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.08);
}

.team-info {
    padding: 28px;
}

.team-name {
    font-family: var(--font-heading), serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.team-role {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.team-bio {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 639px) {
    .story-image-secondary {
        display: none;
    }

    .story-image-primary {
        width: 100%;
    }

    .story-accent-card {
        left: 16px;
        bottom: 16px;
    }

    .about-hero {
        padding: 100px 0 60px;
    }

    .about-hero-stats {
        gap: 16px;
    }

    .stat-item {
        padding: 0 8px;
    }
}

/* Counter Performance Optimization for About Page */
.facility-number {
    will-change: contents;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Reveal Animation Stagger for About-specific grids */
.facilities-grid .reveal:nth-child(1) { transition-delay: 0.05s; }
.facilities-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.facilities-grid .reveal:nth-child(3) { transition-delay: 0.15s; }
.facilities-grid .reveal:nth-child(4) { transition-delay: 0.2s; }
.facilities-grid .reveal:nth-child(5) { transition-delay: 0.25s; }
.facilities-grid .reveal:nth-child(6) { transition-delay: 0.3s; }

.team-grid .reveal:nth-child(1) { transition-delay: 0.05s; }
.team-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.team-grid .reveal:nth-child(3) { transition-delay: 0.15s; }
.team-grid .reveal:nth-child(4) { transition-delay: 0.2s; }

.timeline-item.reveal:nth-child(1) { transition-delay: 0.05s; }
.timeline-item.reveal:nth-child(2) { transition-delay: 0.15s; }
.timeline-item.reveal:nth-child(3) { transition-delay: 0.25s; }
.timeline-item.reveal:nth-child(4) { transition-delay: 0.35s; }
.timeline-item.reveal:nth-child(5) { transition-delay: 0.45s; }