/* --- Global Reset and Fonts --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #f4f7f6; /* Light background */
    color: #333;
}

/* --- Header and Navigation Styling --- */
.header {
    position: fixed; /* Stays at the top */
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
    z-index: 1000; /* Stays above other content */
    transition: background-color 0.3s;
}

.logo {
    font-size: 1.8em;
    font-weight: bold;
    color: #00bcd4; /* Accent color */
}

.navbar a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1em;
    margin-left: 30px;
    transition: color 0.3s, border-bottom 0.3s;
    padding-bottom: 5px;
}

.navbar a:hover {
    color: #00bcd4; /* Hover accent */
    border-bottom: 2px solid #00bcd4;
}

/* --- Hero Section (Video Background) --- */
.hero-section {
    position: relative;
    height: 100vh; /* Full viewport height */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden; /* Important to keep the video constrained */
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Behind the content */
    overflow: hidden;
}

.video-background iframe {
    /* Ensures the iframe covers the entire container and maintains aspect ratio */
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw; 
    height: 100vh;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    pointer-events: none; /* Make the video unclickable */
}

/* Overlay to improve text readability */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay */
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3; /* Above the video and overlay */
    color: #fff;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 15px;
    font-weight: 300;
}

.hero-content p {
    font-size: 1.5em;
    margin-bottom: 40px;
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #00bcd4; /* Accent color */
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2em;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #00a4b8; /* Darker accent on hover */
}

/* --- Main Content Sections --- */
.main-content {
    padding-top: 80px; /* Space for fixed header */
}

.content-section {
    padding: 80px 50px;
    min-height: 70vh;
}

.content-section:nth-child(even) {
    background-color: #e8eded; /* Subtle alternate section background */
}

.content-section h2 {
    font-size: 2.5em;
    color: #00bcd4;
    margin-bottom: 25px;
    border-bottom: 3px solid #00bcd4;
    padding-bottom: 10px;
    display: inline-block;
}

.content-section p {
    font-size: 1.1em;
    max-width: 900px;
}

/* --- Footer --- */
.footer {
    background-color: #1a1a1a;
    color: #aaa;
    text-align: center;
    padding: 20px 0;
}