/* Section Spacing */
.page-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* --- Global Animation Classes --- */
.section-reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: var(--transition-smooth);
}

.section-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: var(--transition-smooth);
}

.fade-in-left.active {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(60px);
    transition: var(--transition-smooth);
}

.fade-in-right.active {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: var(--transition-smooth);
}

.scale-in.active {
    opacity: 1;
    transform: scale(1);
}

/* Glow Text Animation */
.glow-text {
    position: relative;
    display: inline-block;
}

.glow-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.2s ease-out;
}

.glow-text.active::after {
    transform: scaleX(1);
}

/* --- Section 1: Hero About Banner --- */
#about-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background:
        linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(69, 69, 69, 0.3) 100%),
        url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&q=80&w=2000');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom right,
            rgba(0, 0, 0, 0.95) 0%,
            rgba(0, 0, 0, 0.7) 50%,
            rgba(182, 197, 30, 0.1) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 900;
    color: var(--text-white);
    line-height: 0.95;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(40px);
    animation: heroTitleReveal 1.2s ease-out forwards 0.3s;
}

.hero-title span {
    color: var(--primary-accent);
    position: relative;
    display: inline-block;
}

.hero-title span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--primary-accent);
    opacity: 0.3;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
    animation: underlineExpand 1s ease-out forwards 1.5s;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    line-height: 1.6;
    opacity: 0;
    transform: translateY(30px);
    animation: heroSubtitleReveal 1s ease-out forwards 0.8s;
    max-width: 600px;
}

.newbtn {
    transform: translateY(40px);
    animation: heroTitleReveal 1.2s ease-out forwards 0.3s;
}

/* Hero Animations */
@keyframes heroTitleReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroSubtitleReveal {
    to {
        opacity: 0.85;
        transform: translateY(0);
    }
}

@keyframes underlineExpand {
    to {
        transform: scaleX(1);
    }
}

/* Hero Button */
.btn-about-primary {
    background: transparent;
    border: 2px solid var(--primary-accent);
    color: var(--primary-accent);
    padding: 16px 40px;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-fast);
    margin-top: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: buttonReveal 1s ease-out forwards 1.2s;
}

.btn-about-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(182, 197, 30, 0.2), transparent);
    transition: left 0.7s ease;
}

.btn-about-primary:hover {
    background: var(--primary-accent);
    color: #000;
    box-shadow: 0 0 30px rgba(182, 197, 30, 0.5);
    transform: translateY(-5px);
}

.btn-about-primary:hover::before {
    left: 100%;
}

@keyframes buttonReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Section 2: About Mission --- */
#about-mission {
    background: linear-gradient(to bottom, #000, #0a0a0a);
    position: relative;
}

.mission-content {
    position: relative;
    z-index: 2;
}

.mission-quote {
    font-size: clamp(2rem, 5vw, 2.5rem) !important;
    line-height: 1.2;
    font-weight: 300;
    font-family: 'Aileron' sans-serif;
    font-style: italic;
    margin-bottom: 3rem;
    position: relative;
    display: inline;
}

.mission-quote::before,
.mission-quote::after {
    content: '"';
    color: var(--primary-accent);
    font-size: 4rem;
    position: absolute;
    opacity: 0.5;
}

.mission-quote::before {
    top: -20px;
    left: -40px;
}

.mission-quote::after {
    bottom: -24px;
    right: -20px;
}

.mission-author {
    color: var(--primary-accent);
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 1.1rem;
}

.mission-divider {
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-accent), transparent);
    margin: 40px auto;
    transition: width 2s ease-out;
}

.section-reveal.active .mission-divider {
    width: 200px;
}

/* --- Section 3: About Video Showcase --- */
#about-showcase {
    background: #050505;
}

/* Modal Overlay */
.video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    display: none;
    /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
}

/* Modal Content Box */
.modal-content {
    position: relative;
    width: 100%;
    max-width: 1000px;
    background: #000;
    border-radius: 16px;
    box-shadow: 0 0 30px rgba(182, 197, 30, 0.3);
}

/* 16:9 Aspect Ratio for Video */
.modal-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.modal-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 16px;
}

/* Close Button */
.close-modal {
    position: absolute;
    top: -45px;
    right: 0;
    color: white;
    font-size: 40px;
    cursor: pointer;
    transition: 0.3s;
}

.close-modal:hover {
    color: var(--primary-accent);
}

.video-glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px;
    transition: var(--transition-smooth);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.video-glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(182, 197, 30, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.video-glass-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--primary-accent);
    box-shadow:
        0 30px 80px rgba(182, 197, 30, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.video-container-about {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    transform: translateZ(0);
}

.video-container-about iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(182, 197, 30, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    opacity: 0;
    transition: var(--transition-fast);
    pointer-events: none;
}

.video-container-about:hover .video-play-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.showcase-features {
    list-style: none;
    padding-left: 0;
}

.showcase-features li {
    margin-bottom: 1.5rem;
    padding-left: 40px;
    position: relative;
    font-size: 1.1rem;
    line-height: 1.6;
}

.showcase-features li::before {
    content: '▸';
    color: var(--primary-accent);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -2px;
    transition: transform 0.3s ease;
}

.showcase-features li:hover::before {
    transform: translateX(5px);
}

/* --- Section 4: About Global Presence --- */
#about-global {
    position: relative;
    background: linear-gradient(to top, #000, #111);
}

.global-map-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.7);
    height: 500px;
}

.map-about-iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(1) contrast(1.2) brightness(0.7);
    transition: filter 1s ease, transform 1s ease;
}

.global-map-container:hover .map-about-iframe {
    filter: grayscale(0.5) contrast(1.1) brightness(0.8);
    transform: scale(1.02);
}

.map-pin {
    position: absolute;
    top: 45%;
    left: 30%;
    width: 40px;
    height: 40px;
    background: var(--primary-accent);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    z-index: 10;
    cursor: pointer;
    animation: pinPulse 2s infinite;
    box-shadow: 0 0 20px rgba(182, 197, 30, 0.8);
}

.map-pin::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: #000;
    border-radius: 50%;
}

.map-info-card {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(182, 197, 30, 0.3);
    border-radius: 12px;
    padding: 25px;
    max-width: 300px;
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 10;
}

.global-map-container:hover .map-info-card {
    transform: translateY(0);
    opacity: 1;
}

@keyframes pinPulse {

    0%,
    100% {
        transform: rotate(-45deg) scale(1);
        box-shadow: 0 0 20px rgba(182, 197, 30, 0.8);
    }

    50% {
        transform: rotate(-45deg) scale(1.1);
        box-shadow: 0 0 30px rgba(182, 197, 30, 1);
    }
}

.global-stats {
    margin-top: 3rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-accent);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.7;
    margin-top: 0.5rem;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .page-section {
        padding: 80px 0;
    }

    .hero-title {
        font-size: clamp(2.5rem, 6vw, 4rem);
    }

    .mission-quote {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
    }

    .global-map-container {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .page-section {
        padding: 60px 0;
    }

    .hero-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    .mission-quote::before,
    .mission-quote::after {
        display: none;
    }

    .map-info-card {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 20px;
        max-width: 100%;
        opacity: 1;
        transform: none;
    }

    .btn-about-primary {
        padding: 14px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .stat-number {
        font-size: 2.5rem;
    }

    .video-glass-card {
        padding: 15px;
    }
}