/* ========================================
   BASE 7 AVIATION ACADEMY - PREMIUM DESIGN
   Modern, Bold, Professional
   ======================================== */

/* ========== ROOT VARIABLES ========== */
:root {
    --primary-black: #ffffff;
    --secondary-black: #f8f9fa;
    --accent-red: #FFC107;
    --accent-red-light: #FFE082;
    --text-white: #1a1a1a;
    --text-gray: #333333;
    --text-dark-gray: #666666;
    --bg-light: #f0f0f0;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ========== TYPOGRAPHY ========== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--primary-black);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    font-weight: 900;
}

h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent-red);
    border-radius: 2px;
}

h3 {
    font-size: 1.8rem;
    font-weight: 700;
}

p {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.8;
}

a {
    color: var(--accent-red);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-red-light);
}

/* ========== HEADER & NAVIGATION ========== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 2px solid var(--accent-red);
    padding: 1rem 0;
    box-shadow: var(--shadow-md);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: var(--accent-red);
    font-size: 1.8rem;
}

.logo-img {
    height: 75px;
    width: auto;
    object-fit: contain;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 3rem;
}

nav a {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #1a1a1a;
    position: relative;
    padding: 5px 0;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-red);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

nav a.active::after {
    width: 100%;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #1a1a1a;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ========== HERO SECTION ========== */
.hero {
    margin-top: 80px;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--secondary-black) 100%);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 14, 39, 0.5);
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,193,7,0.05)" stroke-width="0.5"/></pattern></defs><rect width="1200" height="600" fill="url(%23grid)" /></svg>');
    pointer-events: none;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(30px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    text-align: center;
    padding: 0 40px;
    animation: slideInUp 1s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    margin-bottom: 1rem;
    font-size: 4.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #e8e8e8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    object-fit: contain;
    opacity: 0.15;
    z-index: 1;
    pointer-events: none;
    animation: float 8s ease-in-out infinite;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--accent-red);
    margin-bottom: 2rem;
    font-weight: 300;
    letter-spacing: 2px;
}

.hero-description {
    font-size: 1.1rem;
    color: #e8e8e8;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: var(--accent-red);
    color: #1a1a1a;
}

.btn-primary:hover {
    background: var(--accent-red-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 193, 7, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid var(--accent-red);
}

.btn-secondary:hover {
    background: var(--accent-red);
    color: #1a1a1a;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 193, 7, 0.3);
}

/* ========== SECTION STYLING ========== */
section {
    padding: 100px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

section.full-width-background {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
}

section.full-width-background > div:not(.section-overlay),
section.full-width-background > .section-content {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 40px;
    padding-right: 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    margin-bottom: 1.5rem;
}

.section-header p {
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ========== SERVICES SECTION ========== */
.services {
    background: var(--primary-black);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.service-card {
    background: #f8f9fa;
    border: 1px solid var(--border-color);
    padding: 0;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    z-index: 10;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    border-color: var(--accent-red);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 193, 7, 0.2);
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #e0e0e0;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-card h3,
.service-card p {
    padding: 0 30px;
}

.service-card h3 {
    margin-top: 25px;
    margin-bottom: 15px;
}

.service-card p {
    padding-bottom: 30px;
}

.service-icon {
    font-size: 3.5rem;
    color: var(--accent-red);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(10deg);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-dark-gray);
}

/* ========== PROGRAMS SECTION ========== */
.programs {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.programs h2::after {
    background: var(--accent-red);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.program-card {
    background: #ffffff;
    border: 2px solid var(--border-color);
    padding: 35px;
    border-radius: 8px;
    position: relative;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.program-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-red);
    border-radius: 8px 0 0 8px;
}

.program-card:hover {
    border-color: var(--accent-red);
    transform: translateX(10px);
    box-shadow: 0 15px 35px rgba(255, 193, 7, 0.15);
}

.program-icon {
    font-size: 2.5rem;
    color: var(--accent-red);
    margin-bottom: 1rem;
}

.program-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.program-card p {
    font-size: 0.9rem;
    color: var(--text-dark-gray);
    margin-bottom: 1rem;
}

.program-badge {
    display: inline-block;
    background: rgba(255, 193, 7, 0.2);
    color: var(--accent-red);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* ========== FEATURES SECTION ========== */
.features {
    background: var(--primary-black);
}

.features-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    font-size: 1.8rem;
    color: var(--accent-red);
    flex-shrink: 0;
    margin-top: 5px;
}

.feature-text h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.feature-text p {
    font-size: 0.95rem;
    color: var(--text-dark-gray);
}

.features-image {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(26, 31, 58, 0.5));
    border: 2px solid var(--border-color);
    padding: 60px;
    border-radius: 10px;
    text-align: center;
    font-size: 5rem;
    color: var(--accent-red);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.features-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

/* ========== ABOUT SECTION ========== */
.about {
    background: linear-gradient(180deg, var(--primary-black) 0%, var(--secondary-black) 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 60px;
}

.about-text h3 {
    margin-bottom: 1.5rem;
    color: var(--accent-red);
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.9;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.value-item {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.value-item i {
    font-size: 2rem;
    color: var(--accent-red);
    margin-bottom: 0.8rem;
}

.value-item h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.value-item p {
    font-size: 0.85rem;
    color: var(--text-dark-gray);
}

/* ========== CONTACT SECTION ========== */
.contact {
    background: var(--primary-black);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-item i {
    font-size: 1.8rem;
    color: var(--accent-red);
    margin-top: 5px;
}

.contact-item h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.contact-item p {
    color: var(--text-dark-gray);
}

/* ========== FORM STYLING ========== */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    color: var(--text-white);
}

.form-group input,
.form-group textarea {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 12px 15px;
    border-radius: 5px;
    color: #1a1a1a;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999999;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-red);
    background: #ffffff;
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ========== FOOTER ========== */
footer {
    background: #1a1a1a;
    border-top: 3px solid var(--accent-red);
    padding: 60px 40px 30px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    color: var(--accent-red);
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
}

.footer-logo {
    height: 30px;
    width: auto;
    object-fit: contain;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: #b0b0b0;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--accent-red);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 50%;
    color: var(--accent-red);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-red);
    color: #1a1a1a;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: #888888;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: #888888;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.4rem;
    }

    .header-container {
        padding: 0 20px;
    }

    nav ul {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .logo-img {
        height: 35px;
    }

    nav.active ul {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        padding: 20px;
        gap: 15px;
    }

    .hero {
        margin-top: 60px;
        min-height: 70vh;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        justify-content: center;
    }

    section {
        padding: 60px 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .programs-grid {
        grid-template-columns: 1fr;
    }

    .features-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .features-image {
        padding: 40px;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    section.full-width-background > div:not(.section-overlay),
    section.full-width-background > .section-content {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    section {
        padding: 40px 15px;
    }

    .hero-content {
        padding: 0 20px;
    }

    .btn {
        padding: 12px 30px;
        font-size: 0.85rem;
    }

    .floating-cta-button {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 1.2rem;
    }

    .back-to-top-button {
        padding: 8px 15px;
        font-size: 0.8rem;
    }

    section.full-width-background > div:not(.section-overlay),
    section.full-width-background > .section-content {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* ========== FLOATING BUTTONS ========== */
.floating-cta-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FFC107 0%, #FFE082 100%);
    border: none;
    border-radius: 50%;
    color: #1a1a1a;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(255, 193, 7, 0.4);
    transition: var(--transition);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-cta-button:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 193, 7, 0.6);
}

.floating-cta-button:active {
    transform: scale(0.95);
}

.back-to-top-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--accent-red);
    color: var(--accent-red);
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
    margin-top: 1rem;
}

.back-to-top-button:hover {
    background: var(--accent-red);
    color: #1a1a1a;
    transform: translateY(-3px);
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}