/* --- General Setup & Modern Typography --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --primary-blue: #1E3A8A;
    --accent-gold: #D4AF37;
    --text-light: #FFFFFF;
    --text-dark: #333333;
    --background-light: #f0f4f8;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background-light);
    color: var(--text-dark);
    line-height: 1.7;
}

h1, h2 {
    font-weight: 600;
    color: var(--primary-blue);
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: 0.5px;
}

section {
    padding: 100px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

/* --- Hero Section --- */
#hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100vh; /* Changed to 100vh to ensure it fits the screen */
    color: var(--text-light);
    background: linear-gradient(rgba(10, 20, 40, 0.7), rgba(10, 20, 40, 0.7)), url('images/hero-background.jpg') no-repeat center center/cover;
    position: relative;
    padding: 20px;
    box-sizing: border-box; /* Ensures padding doesn't add to the height */
}

.hero-content {
    animation: fadeIn 1.5s ease-in-out;
}

/* --- Style for the Airline Logo (UPDATED) --- */
.airline-logo {
    max-width: 140px; /* --- SIZE REDUCED SIGNIFICANTLY --- */
    height: auto;
    margin-bottom: 20px;
    /* --- FILTER REMOVED to show original logo colors --- */
}

#hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-light);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    margin: 0 0 15px 0;
}

#hero .subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 0; /* Removed bottom margin to help with fit */
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

/* Scroll Down Indicator */
.scroll-down-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

/* --- Contact Buttons Section (Under Hero) --- */
#contact-hero {
    padding: 60px 20px;
    background-color: var(--background-light);
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 30px;
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background-color: var(--primary-blue);
    color: var(--accent-gold);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.2);
}

.contact-btn i {
    font-size: 1.3rem;
}

/* --- Intro Section --- */
#intro {
    text-align: center;
    background-color: var(--text-light);
}

#intro p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    color: #555;
}

/* --- Resources & AI Tools Section --- */
#resources {
    background-color: var(--background-light);
    text-align: center;
}

.resources-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.cta-button-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 20px 40px;
    background-color: var(--accent-gold);
    color: var(--primary-blue);
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid var(--accent-gold);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.cta-button-secondary:hover {
    background-color: transparent;
    color: var(--accent-gold);
    transform: translateY(-3px);
}

.main-button {
    position: relative;
    padding: 20px 45px;
    background-color: var(--primary-blue);
    color: var(--text-light);
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-blue);
}

.main-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.3);
}

.popup-menu {
    display: none;
    position: absolute;
    top: 110%;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    width: 220px;
    padding: 10px 0;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, top 0.3s ease;
    text-align: left;
}

.main-button:hover .popup-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    top: 100%;
}

.popup-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--primary-blue);
    text-decoration: none;
    transition: background-color 0.2s ease, padding-left 0.2s ease;
}

.popup-menu a:hover {
    background-color: #f0f4f8;
    padding-left: 25px;
}

/* --- Footer --- */
footer {
    background-color: #111e4b;
    color: #aab8c2;
    text-align: center;
    padding: 25px 20px;
    font-size: 0.9rem;
}

/* --- Animations --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -15px); }
    60% { transform: translate(-50%, -5px); }
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .airline-logo {
        max-width: 110px; /* Further reduced size for mobile */
    }
    #hero h1 { font-size: 2rem; }
    #hero .subtitle { font-size: 1.2rem; }
    h2 { font-size: 1.6rem; }
    section { padding: 60px 15px; }
    
    .contact-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .contact-btn {
        width: 90%;
        max-width: 300px;
        justify-content: center;
    }

    .resources-container {
        flex-direction: column;
        gap: 20px;
    }
}