/* =====================================================
   SECTIONS CSS
===================================================== */

/* =========================
   AOS (Animate on Scroll)
   Loaded via CDN in header
========================= */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}
[data-aos].aos-animate {
    opacity: 1;
}

/* =========================
   SECTION SHARED UTILITIES
========================= */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 189, 43, 0.12);
    color: var(--accent);
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 8px 18px;
    border-radius: 30px;
    border: 1px solid rgba(255, 189, 43, 0.3);
    margin-bottom: 16px;
}
.section-badge.light {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
}

.section-header {
    margin-bottom: 56px;
}
.section-header.text-center {
    text-align: center;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.section-heading {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 14px;
    position: relative;
}
.section-heading.light { color: var(--white); }

.section-subheading {
    font-size: 18px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 12px;
    font-family: 'Montserrat', sans-serif;
}
.section-subheading.light { color: rgba(255, 255, 255, 0.8); }

.section-intro-text {
    color: var(--text);
    font-size: 17px;
    max-width: 640px;
    margin: 0 auto;
}

/* =========================
   HERO SECTION
========================= */
.section-hero {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--hero-bg) center / cover no-repeat;
    overflow: hidden;
    min-height: 700px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(2, 42, 104, 0.92) 0%,
        rgba(1, 21, 64, 0.88) 60%,
        rgba(0, 0, 0, 0.75) 100%
    );
    z-index: 1;
}

/* Particles */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 8s infinite;
}
.particle:nth-child(1)  { left: 10%; top: 20%; animation-delay: 0s;    animation-duration: 7s; }
.particle:nth-child(2)  { left: 20%; top: 80%; animation-delay: 1s;    animation-duration: 9s; width: 6px; height: 6px; }
.particle:nth-child(3)  { left: 35%; top: 40%; animation-delay: 2s;    animation-duration: 6s; }
.particle:nth-child(4)  { left: 50%; top: 15%; animation-delay: 0.5s;  animation-duration: 8s; width: 3px; height: 3px; }
.particle:nth-child(5)  { left: 65%; top: 65%; animation-delay: 1.5s;  animation-duration: 7s; }
.particle:nth-child(6)  { left: 75%; top: 30%; animation-delay: 3s;    animation-duration: 9s; width: 5px; height: 5px; }
.particle:nth-child(7)  { left: 85%; top: 75%; animation-delay: 0.8s;  animation-duration: 6s; }
.particle:nth-child(8)  { left: 92%; top: 50%; animation-delay: 2.5s;  animation-duration: 8s; width: 3px; height: 3px; }
.particle:nth-child(9)  { left: 5%;  top: 55%; animation-delay: 1.2s;  animation-duration: 7s; }
.particle:nth-child(10) { left: 45%; top: 85%; animation-delay: 0.3s;  animation-duration: 9s; width: 6px; height: 6px; }
.particle:nth-child(n+11) { opacity: 0; width: 2px; height: 2px; }
.particle:nth-child(11) { left: 30%; top: 60%; animation-delay: 4s; animation-duration: 8s; }
.particle:nth-child(12) { left: 55%; top: 45%; animation-delay: 3.5s; animation-duration: 6s; }
.particle:nth-child(13) { left: 70%; top: 20%; animation-delay: 2.2s; animation-duration: 9s; }
.particle:nth-child(14) { left: 15%; top: 35%; animation-delay: 1.8s; animation-duration: 7s; }
.particle:nth-child(15) { left: 80%; top: 90%; animation-delay: 0.6s; animation-duration: 8s; }

@keyframes particleFloat {
    0%   { transform: translateY(0) scale(1);   opacity: 0; }
    20%  { opacity: 0.8; }
    80%  { opacity: 0.4; }
    100% { transform: translateY(-120px) scale(0); opacity: 0; }
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: fadeInDown 0.8s ease both;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--white);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.6; }
}

.hero-heading{
    font-size: 64px;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 20px;
    animation: fadeInUp 0.9s ease both 0.2s;
}
span.heading-highlight { color: var(--accent); }



.hero-paragraph {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin-bottom: 40px;
    line-height: 1.8;
    animation: fadeInUp 0.9s ease both 0.4s;
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    animation: fadeInUp 0.9s ease both 0.5s;
}

.hero-play-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}
.hero-play-btn:hover { color: var(--accent); }

.play-icon {
    width: 52px;
    height: 52px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--white);
    position: relative;
    transition: transform 0.3s ease;
}
.play-icon::before {
    content: '';
    position: absolute;
    inset: -6px;
    border: 2px solid rgba(255, 189, 43, 0.4);
    border-radius: 50%;
    animation: ripple 2s infinite;
}
@keyframes ripple {
    0%   { transform: scale(1);   opacity: 0.6; }
    100% { transform: scale(1.5); opacity: 0; }
}
.hero-play-btn:hover .play-icon { transform: scale(1.1); }

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 100px;
    right: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
}
.scroll-line {
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollLine 2s infinite;
}
@keyframes scrollLine {
    0%   { transform: scaleY(0); transform-origin: top; }
    50%  { transform: scaleY(1); transform-origin: top; }
    51%  { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}
.scroll-text {
    writing-mode: vertical-rl;
    font-size: 11px;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
}

/* Wave */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    line-height: 0;
}
.hero-wave svg { width: 100%; height: 80px; }

/* Video Modal */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.video-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.9);
}
.video-modal-inner {
    position: relative;
    width: 90%;
    max-width: 900px;
    z-index: 1;
}
.video-modal-close {
    position: absolute;
    top: -44px;
    right: 0;
    background: var(--accent);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
}
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}
.video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}



/* =========================
   FADE-IN KEYFRAMES
========================= */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* =========================
   TABLET (max 1024px)
========================= */
@media (max-width: 1024px) {
    .hero-heading { font-size: 48px; }
    .section-heading { font-size: 34px; }
}

/* =========================
   MOBILE (max 767px)
========================= */
@media (max-width: 767px) {
    .hero-heading { font-size: 34px; }
    .hero-paragraph { font-size: 15px; }
    .hero-btns { flex-direction: column; align-items: flex-start; }
    .hero-scroll-indicator { display: none; }
    .section-heading { font-size: 28px; }
    .section-header { margin-bottom: 36px; }
    .cta-btns { flex-direction: column; align-items: center; }
}
