/*
  Table of Contents:
  1.  :root & Body Base
  2.  Global Styles (Container, Headings, Buttons, Cards)
  3.  Header & Navigation
  4.  Hero Section
  5.  Feature Section
  6.  About & Contact Sections
  7.  Timeline Section (About Page)
  8.  CTA Section
  9.  Footer
  10. Responsive Adjustments
*/

/* 1. :root & Body Base
-------------------------------------------------- */
:root {
    --bg-light: #F8F9FA;
    --bg-accent: #E9ECEF;
    --text-dark: #2c3e50;
    --text-light: #495057;
    --primary-blue: #3498DB;
    --primary-blue-dark: #2980B9;
    --border-color: #DEE2E6;

    /* RGB versions for rgba() usage */
    --text-dark-rgb: 44, 62, 80;
    --primary-blue-rgb: 52, 152, 219;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    background-color: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* 2. Global Styles
-------------------------------------------------- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

section {
    padding: 6rem 0;
}

.text-content-section { /* Added for simple text pages like privacy policy */
    padding: 4rem 0;
}

.section-heading {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3rem);
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    text-align: center;
    max-width: 700px;
    margin: -1rem auto 3rem auto;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: #ffffff;
}
.btn-primary:hover {
    background-color: var(--primary-blue-dark);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(var(--primary-blue-rgb), 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-dark);
    border-color: var(--text-dark);
}
.btn-secondary:hover {
    background-color: var(--text-dark);
    color: #ffffff;
}

.card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 25px rgba(var(--text-dark-rgb), 0.05);
    transition: all 0.3s ease;
    height: 100%;
}
.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(var(--text-dark-rgb), 0.1);
}

/* 3. Header & Navigation
-------------------------------------------------- */
.header {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.logo-img {
    height: 45px;
    width: auto;
}
.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-dark);
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 1.8rem;
    align-items: center;
}

.nav-link {
    font-size: 1rem;
    text-decoration: none;
    color: var(--text-light);
    padding-bottom: 0.25rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-blue);
    border-bottom-color: var(--primary-blue);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-dark);
    cursor: pointer;
}

/* 4. Hero Section
-------------------------------------------------- */
.hero-section {
    min-height: 90vh;
    padding: 10rem 0;
    text-align: center;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-background-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(var(--text-dark-rgb), 0.6); /* Dark blue overlay for text contrast */
    z-index: 2;
}

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

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(3rem, 8vw, 5rem);
    margin-bottom: 1.5rem;
    font-weight: 900;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

/* 5. Feature Section
-------------------------------------------------- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.feature-icon-wrapper {
    margin-bottom: 1.5rem;
}

.feature-graphic {
    width: 72px;
    height: 72px;
    margin: 0 auto;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-item.card:hover .feature-graphic {
    transform: scale(1.15) rotate(-5deg);
}

.feature-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-text {
    font-size: 1rem;
    color: var(--text-light);
}

/* 6. About & Contact Sections
-------------------------------------------------- */
.about-section {
    background-color: var(--bg-accent);
}

.about-content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    align-items: center;
}

.about-text-side {
    flex: 1 1 45%;
    min-width: 300px;
}

.about-image-side {
    flex: 1 1 45%;
    min-width: 300px;
    text-align: center;
}

.about-main-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(var(--text-dark-rgb), 0.1);
}

.about-text-side .section-heading {
    text-align: left;
}

.contact-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.contact-info-box {
    margin-top: 2rem;
    padding: 2.5rem;
}
.contact-info-box p {
    margin-bottom: 1rem;
    color: var(--text-light);
}
.contact-email {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.2rem, 4vw, 1.75rem);
    font-weight: 600;
    color: var(--primary-blue);
    text-decoration: none;
    word-break: break-all;
    transition: color 0.3s;
}
.contact-email:hover {
    color: var(--primary-blue-dark);
}

/* 7. Timeline Section (About Page)
-------------------------------------------------- */
.timeline-section {
    background-color: var(--bg-accent);
}

.timeline-container {
    position: relative;
    max-width: 56rem;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background-color: var(--border-color);
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
}

.timeline-content {
    width: calc(50% - 2.5rem);
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: calc(50% + 2.5rem);
}
.timeline-item:nth-child(even) .timeline-content {
    margin-right: calc(50% + 2.5rem);
}

.timeline-dot {
    position: absolute;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background-color: var(--primary-blue);
    border: 3px solid var(--bg-light);
}

.timeline-item.future .timeline-dot {
    background-color: #adb5bd;
}
.timeline-item.future .card {
    opacity: 0.7;
}

.timeline-date {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-blue);
}

.timeline-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

/* 8. CTA Section
-------------------------------------------------- */
.cta-updates-section {
    padding: 6rem 0;
    background-color: var(--text-dark);
    color: #ffffff;
    text-align: center;
}
.cta-updates-section .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}
.small-text {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 1.5rem;
}

/* 9. Footer
-------------------------------------------------- */
.footer {
    background-color: #ffffff;
    color: var(--text-light);
    padding: 2.5rem 0;
    font-size: 0.95rem;
    border-top: 1px solid var(--border-color);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer a:hover {
    color: var(--primary-blue);
}

/* 10. Responsive Adjustments
-------------------------------------------------- */
@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }

    .header-inner {
        flex-wrap: wrap;
    }
    
    .main-nav {
        order: 3;
        width: 100%;
        display: none;
        background-color: #ffffff;
        margin-top: 1rem;
        border-radius: 8px;
        border: 1px solid var(--border-color);
        box-shadow: 0 10px 20px rgba(var(--text-dark-rgb), 0.1);
    }
    .main-nav.active {
        display: block;
    }
    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }
    .nav-link {
        display: block;
        padding: 1rem;
        text-align: center;
        border-bottom: 1px solid var(--border-color);
    }
    .nav-list li:last-child .nav-link {
        border-bottom: none;
    }
    .menu-toggle {
        display: block;
    }

    .about-content-wrapper {
        flex-direction: column;
        gap: 3rem;
    }
    .about-text-side .section-heading {
        text-align: center;
    }
    
    .timeline-line {
        left: 0.5rem;
        transform: translateX(0);
    }
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        width: calc(100% - 3rem);
        margin-left: 3rem;
        margin-right: 0;
    }
    .timeline-dot {
        left: 0.5rem;
        transform: translateX(0);
    }
}