/* --- CSS Variables for Easy Theming --- */
:root {
    --bg-dark: #0a1128;
    --bg-gradient: linear-gradient(135deg, #0a1128 0%, #162a4a 100%);
    --bg-section: linear-gradient(180deg, rgba(10,17,40,0) 0%, rgba(22,42,74,0.6) 100%);
    
    --text-main: #e1f5fe;
    --text-muted: #b0bec5;
    
    --accent-blue: #64b5f6;
    --accent-light-blue: #81d4fa;
    --accent-orange: #ffb74d;
    --accent-orange-hover: #ffa726;
    
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--accent-blue);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-orange);
}

/* --- Basic Reset & Body Styles --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-dark);
    background-image: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.slim-container {
    max-width: 900px;
}

/* --- Navigation Bar --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 17, 40, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.nav-logo {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--accent-light-blue);
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 1em;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

/* Active link indicator */
.nav-links a.active-link {
    color: var(--accent-orange);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-orange);
    transition: width 0.3s ease;
}

.nav-links a:hover::after, .nav-links a.active-link::after {
    width: 100%;
}

/* --- Hamburger Menu Icon --- */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* --- Header & Typography --- */
header {
    padding: 140px 0 60px;
    text-align: center;
}

.logo {
    max-width: 220px;
    height: auto;
    margin: 0 auto 20px;
    display: block;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
}

h1 {
    font-size: 3.8em;
    font-weight: 700;
    background: linear-gradient(90deg, #ffffff, var(--accent-light-blue));
    -webkit-background-clip: text;
    background-clip: text; /* Warning resolved */
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    line-height: 1.2;
}

.tagline {
    font-size: 1.3em;
    color: var(--accent-blue);
    font-weight: 400;
    letter-spacing: 0.5px;
}

h2 {
    font-size: 2.8em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-light-blue));
    -webkit-background-clip: text;
    background-clip: text; /* Warning resolved */
    -webkit-text-fill-color: transparent;
}

h3 {
    color: #ffffff;
    font-size: 1.5em;
    margin-bottom: 15px;
    font-weight: 600;
}

p {
    font-size: 1.15em;
    color: var(--text-muted);
    margin-bottom: 20px;
}

p strong {
    color: #ffffff;
}

.section-subtitle {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.25em;
}

/* --- Scroll Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Sections & Layout --- */
section {
    padding: 100px 0;
}

.gradient-bg {
    background: var(--bg-section);
}

/* --- Reusable Glassmorphism Cards --- */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: var(--glass-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px 0 rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
}

.card-icon {
    font-size: 2.5em;
    color: var(--accent-blue);
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.glass-card:hover .card-icon {
    color: var(--accent-orange);
}

.glass-card p {
    flex-grow: 1;
    font-size: 1.05em;
    margin-bottom: 0;
}

/* --- CSS Grid System --- */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

@media (min-width: 992px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- Specific Components --- */

/* Lists */
.bullet-list, .checkmark-list {
    list-style: none;
    margin-top: 20px;
    flex-grow: 1;
}

.bullet-list li, .checkmark-list li {
    position: relative;
    padding-left: 1.8em;
    margin-bottom: 12px;
    color: var(--text-muted);
    font-size: 1.05em;
}

.bullet-list li::before {
    content: "\f0da"; /* FontAwesome play/triangle icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--accent-orange);
    position: absolute;
    left: 0;
}

.checkmark-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 20px;
    margin-top: 30px;
}

.checkmark-list li::before {
    content: "\f00c"; /* FontAwesome check icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--accent-light-blue);
    position: absolute;
    left: 0;
}

/* Pillar Badges */
.badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--accent-blue);
    color: var(--bg-dark);
    padding: 8px 20px;
    font-weight: 700;
    font-size: 1.1em;
    border-bottom-left-radius: 12px;
}

/* Video Container */
.video-container {
    margin: 50px auto;
    max-width: 900px;
    text-align: center;
    padding: 20px;
}

.video-container video {
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    outline: none;
    width: 100%;
}

/* Highlight Boxes */
.highlight-box {
    margin-top: 50px;
    text-align: center;
    background: linear-gradient(135deg, rgba(100, 181, 246, 0.05), rgba(100, 181, 246, 0.1));
}

.highlight-text {
    text-align: center;
    margin-top: 40px;
    font-size: 1.3em;
    font-style: italic;
    color: var(--accent-light-blue);
}

.subtle-text {
    text-align: center;
    margin-top: 40px;
    font-size: 1em;
    color: var(--text-muted);
}

/* --- Buttons --- */
.cta-buttons {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.15em;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-orange);
    color: #000;
    box-shadow: 0 4px 15px rgba(255, 183, 77, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-orange-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 183, 77, 0.5);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    border: 2px solid var(--accent-blue);
}

.btn-secondary:hover {
    background-color: rgba(100, 181, 246, 0.1);
    transform: translateY(-3px);
}

/* --- Contact & Footer --- */
.contact-info {
    text-align: center;
    margin-top: 50px;
}

.contact-info p {
    margin-bottom: 15px;
}

.contact-info a {
    color: var(--accent-orange);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #fff;
}

.social-links {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.15);
}

footer {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid var(--glass-border);
    margin-top: 40px;
    color: var(--text-muted);
    font-size: 0.9em;
}

/* --- Responsive Design / Mobile Optimization --- */
@media (max-width: 768px) {
    /* Show the hamburger icon */
    .hamburger {
        display: flex;
    }

    /* Style the mobile dropdown menu */
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 17, 40, 0.95);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        gap: 20px;
        border-bottom: 1px solid var(--glass-border);
        
        transform: translateY(-150%);
        opacity: 0;
        transition: transform 0.4s ease, opacity 0.4s ease;
        z-index: 1000;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    /* Typography adjustments */
    h1 { font-size: 2.5em; }
    h2 { font-size: 2.2em; }
    .tagline { font-size: 1.1em; }
    
    section { padding: 60px 0; }
    
    .grid-container { gap: 20px; }
    
    .checkmark-list { grid-template-columns: 1fr; }
    
    .cta-buttons { flex-direction: column; width: 100%; max-width: 300px; margin: 40px auto; }
    .btn { width: 100%; }
}