:root {
    /* Core palette */
    --off-white: #f7f8fa;
    --aviation-blue: #0b3c5d;
    --accent: #c9a24d;

    /* Neutrals */
    --text-dark: #1e1e1e;
    --text-muted: #5f6b73;
    --border-light: #dce1e6;
}

/* Base styles */
body {
    margin: 0;
    background-color: var(--off-white);
    color: var(--text-dark);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
                 Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
}

/* Layout */
header {
    background: #ffffff;
    border-bottom: 1px solid var(--border-light);
}

nav {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

/* Logo styling */
.logo {
    height: 50px;      /* adjust as needed */
    width: auto;       /* preserve aspect ratio */
    display: inline-block;
    vertical-align: middle;
}

/* Adjust nav layout for logo + links */
nav {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links a {
    color: var(--aviation-blue);
    text-decoration: none;
    font-weight: 500;
    margin-left: 1.5rem;
}

.nav-links a:hover {
    color: var(--accent);
}

/* Typography */
h1, h2, h3 {
    color: var(--aviation-blue);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-top: 0;
    margin-bottom: 1rem;
}

/* Container */
.homepage-image {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 2rem;
}

/* Image */
.homepage-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transform: translateZ(0);
    will-change: transform;
}

/* Overlay */
.homepage-image .overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.7); /* darker overlay for readability */
    padding: 2rem 3rem;
    border-radius: 8px;
    max-width: 800px;
}


.homepage-image .overlay h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
    color: var(--border-light)
}

.homepage-image .overlay p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
    color: var(--border-light)
}

.homepage-image .overlay .btn-primary {
    font-size: 1.1rem;
    padding: 0.75rem 2rem;
}

/* Parallax effect */
.parallax {
    perspective: 1px;
    height: 600px; /* adjust for desired hero height */
}

.parallax img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translateZ(-1px) scale(2);
    z-index: -1;
}


p {
    color: var(--text-muted);
    max-width: 65ch;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 0.75rem 1.25rem;
    background-color: var(--aviation-blue);
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: #082f49;
}

/* Accent utility */
.accent {
    color: var(--accent);
}

/* Footer */
footer {
    border-top: 1px solid var(--border-light);
    padding: 2rem 1.5rem;
    width: 100%;               /* span full width */
    text-align: center;         /* center text horizontally */
    color: var(--text-muted);
    font-size: 0.9rem;
    box-sizing: border-box;     /* include padding in width */
}

footer p {
    margin: 0;                  /* remove default spacing */
}

/* About page */
.about-hero, .about-team, .about-values {
    max-width: 800px;
    margin: 2rem auto;
    padding: 1.5rem 1.5rem;
    background-color: #ffffff; /* off-white card feel */
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

.about-hero h1,
.about-team h2,
.about-values h2 {
    color: var(--aviation-blue);
    margin-bottom: 1rem;
}

.about-hero p,
.about-team p,
.about-values ul {
    color: var(--text-dark);
    line-height: 1.6;
}

.about-values ul {
    list-style-type: disc;
    padding-left: 1.5rem;
}

.about-values li {
    margin-bottom: 0.75rem;
}


.course-landing {
    padding: 4rem 1.5rem;
    background-color: var(--off-white);
    text-align: center;
}

.course-landing h1 {
    color: var(--aviation-blue);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.course-landing .subtitle {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.benefit {
    flex: 1 1 250px;
    max-width: 300px;
    background: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: left;
}

.benefit h3 {
    color: var(--aviation-blue);
    margin-bottom: 0.5rem;
}

.benefit p {
    color: var(--text-dark);
    font-size: 0.95rem;
}

.cta {
    margin-top: 2rem;
}

.cta .btn-primary {
    font-size: 1.2rem;
    padding: 1rem 2rem;
    background-color: var(--aviation-blue);
    color: #ffffff;
    border-radius: 4px;
    text-decoration: none;
}

.cta .btn-primary:hover {
    background-color: #082f49;
}

.waitlist-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.waitlist-form input.form-control {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid var(--aviation-blue);
    border-radius: 4px;
    width: 250px;
}

.waitlist-form button {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    background-color: var(--aviation-blue);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.waitlist-form button:hover {
    background-color: #082f49;
}

.messages {
    margin-top: 1rem;
    list-style: none;
    color: green;
    font-weight: 500;
}

.social-links {
    text-align: center;
    margin: 2rem 0;
}

.social-links p {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.social-links a {
    display: inline-block;
    margin: 0 0.5rem;
    transition: transform 0.3s, color 0.3s;
}

.social-links a i {
    font-size: 50px;          /* icon size */
    cursor: pointer;
    color: var(--aviation-blue); /* base color for all icons */
}

/* Individual icon accents */
.social-links a i {
    color: var(--aviation-blue);
}

/* Hover effect */
.social-links a i:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}






