@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    --primary-navy: #0B1F3A;
    --primary-sky: #5DA9E9;
    --accent-amber: #FFA630;
    --runway-white: #FFFFFF;
    
    --navy-dark: #071426;
    --navy-card: #102a4e;
    --navy-light: #1c3d69;
    --sky-light: rgba(93, 169, 233, 0.12);
    --amber-light: rgba(255, 166, 48, 0.15);
    
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
    font-family: var(--font-body);
    background-color: #f5f8fc;
    color: var(--primary-navy);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .display-font {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Custom Navigation */
.navbar-custom {
    background-color: rgba(11, 31, 58, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary-sky);
    transition: var(--transition-smooth);
    z-index: 1050;
}

.navbar-custom .navbar-brand {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--runway-white) !important;
}

.navbar-custom .navbar-brand span {
    color: var(--accent-amber);
}

.navbar-custom .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    margin: 0 0.1rem;
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.navbar-custom .nav-link:hover, 
.navbar-custom .nav-link.active {
    color: var(--accent-amber) !important;
    background-color: rgba(93, 169, 233, 0.1);
}

.navbar-custom .btn-cta {
    background-color: var(--accent-amber);
    color: var(--primary-navy) !important;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    padding: 0.5rem 1.2rem;
    transition: var(--transition-smooth);
}

.navbar-custom .btn-cta:hover {
    background-color: #e59124;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 166, 48, 0.4);
}

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(rgba(11, 31, 58, 0.75), rgba(11, 31, 58, 0.9)), url('../images/hero_aircraft.png') no-repeat center center;
    background-size: cover;
    background-attachment: scroll;
    color: var(--runway-white);
    padding: 180px 0 140px 0;
    overflow: hidden;
}

.hero-badge {
    background-color: var(--sky-light);
    border: 1px solid var(--primary-sky);
    color: var(--primary-sky);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    display: inline-block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-title span {
    color: var(--accent-amber);
}

.hero-desc {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

/* Custom Buttons */
.btn-primary-custom {
    background-color: var(--accent-amber);
    color: var(--primary-navy);
    font-weight: 600;
    border: 2px solid var(--accent-amber);
    border-radius: 4px;
    padding: 0.8rem 2rem;
    transition: var(--transition-smooth);
}

.btn-primary-custom:hover {
    background-color: transparent;
    color: var(--accent-amber);
    box-shadow: 0 4px 15px rgba(255, 166, 48, 0.3);
    transform: translateY(-2px);
}

.btn-secondary-custom {
    background-color: transparent;
    color: var(--runway-white);
    font-weight: 600;
    border: 2px solid var(--runway-white);
    border-radius: 4px;
    padding: 0.8rem 2rem;
    transition: var(--transition-smooth);
}

.btn-secondary-custom:hover {
    background-color: var(--runway-white);
    color: var(--primary-navy);
    transform: translateY(-2px);
}

/* Card Styling */
.card-custom {
    background-color: var(--runway-white);
    border: none;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(11, 31, 58, 0.05);
    transition: var(--transition-smooth);
    overflow: hidden;
    height: 100%;
}

.card-custom:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(11, 31, 58, 0.12);
}

.card-custom .card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-navy);
    color: var(--accent-amber);
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    border: 1px solid var(--accent-amber);
}

.card-custom .card-image-wrap {
    height: 220px;
    overflow: hidden;
    position: relative;
    background-color: var(--primary-navy);
}

.card-custom .card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.card-custom:hover .card-image-wrap img {
    transform: scale(1.05);
}

.card-custom .card-body {
    padding: 2rem;
}

.card-custom .card-title {
    color: var(--primary-navy);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.card-custom .card-text {
    color: #556982;
    font-size: 0.95rem;
}

/* Dark Accent Section */
.bg-navy-accent {
    background-color: var(--primary-navy);
    color: var(--runway-white);
    position: relative;
}

.bg-navy-accent .section-title {
    color: var(--runway-white);
}

.section-title-underline {
    width: 60px;
    height: 4px;
    background-color: var(--accent-amber);
    margin: 1rem auto 2rem auto;
    border-radius: 2px;
}

.section-title-underline.left {
    margin: 1rem 0 2rem 0;
}

/* Interactive Simulator Widget */
.sim-container {
    background-color: var(--navy-dark);
    border: 3px solid var(--accent-amber);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    color: var(--runway-white);
}

.sim-screen {
    position: relative;
    width: 100%;
    height: 320px;
    background-color: #000;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--primary-navy);
    margin-bottom: 20px;
}

.sim-canvas {
    width: 100%;
    height: 100%;
    display: block;
    cursor: grab;
}

.sim-canvas:active {
    cursor: grabbing;
}

.sim-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    pointer-events: none;
    font-family: monospace;
    font-size: 0.85rem;
    color: #00ff00;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.7);
    background: rgba(0,0,0,0.4);
    padding: 5px 10px;
    border-radius: 4px;
    border: 1px solid rgba(0, 255, 0, 0.3);
}

.sim-overlay-right {
    position: absolute;
    top: 15px;
    right: 15px;
    pointer-events: none;
    font-family: monospace;
    font-size: 0.85rem;
    color: #00ff00;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.7);
    background: rgba(0,0,0,0.4);
    padding: 5px 10px;
    border-radius: 4px;
    border: 1px solid rgba(0, 255, 0, 0.3);
}

.sim-controls {
    background-color: var(--navy-card);
    border-radius: 8px;
    padding: 15px;
    border: 1px solid var(--navy-light);
}

.sim-slider-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-sky);
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
}

.sim-slider-label span {
    color: var(--accent-amber);
    font-family: monospace;
}

.sim-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--navy-light);
    outline: none;
    margin-bottom: 15px;
}

.sim-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent-amber);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.sim-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 10px var(--accent-amber);
}

/* Scheduler Widget */
.scheduler-container {
    background: var(--runway-white);
    border-radius: 12px;
    border: 1px solid rgba(11, 31, 58, 0.08);
    box-shadow: 0 15px 40px rgba(11, 31, 58, 0.08);
    overflow: hidden;
}

.scheduler-steps {
    background-color: var(--primary-navy);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    border-bottom: 3px solid var(--primary-sky);
}

.step-indicator {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
    font-size: 0.9rem;
    position: relative;
}

.step-indicator.active {
    color: var(--accent-amber);
}

.step-indicator.completed {
    color: var(--primary-sky);
}

.step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid currentColor;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    font-size: 0.8rem;
    font-weight: 700;
}

.scheduler-body {
    padding: 2.5rem;
    min-height: 380px;
}

.scheduler-step-content {
    display: none;
}

.scheduler-step-content.active {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

.scheduler-footer {
    padding: 1.5rem 2.5rem;
    background-color: #f8fafc;
    border-top: 1px solid #eef2f6;
    display: flex;
    justify-content: space-between;
}

.booking-option {
    border: 2px solid #eef2f6;
    border-radius: 8px;
    padding: 1.25rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    height: 100%;
}

.booking-option:hover {
    border-color: var(--primary-sky);
    background-color: var(--sky-light);
}

.booking-option.selected {
    border-color: var(--primary-navy);
    background-color: rgba(11, 31, 58, 0.04);
}

.booking-option input[type="radio"] {
    display: none;
}

.booking-option-title {
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 5px;
}

.booking-option-price {
    font-weight: 700;
    color: var(--accent-amber);
    font-size: 1.1rem;
}

/* Calendar Grid */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-top: 15px;
}

.calendar-day {
    aspect-ratio: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eef2f6;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.calendar-day:hover:not(.disabled) {
    background-color: var(--primary-sky);
    color: var(--runway-white);
}

.calendar-day.selected {
    background-color: var(--primary-navy) !important;
    color: var(--accent-amber) !important;
    border-color: var(--primary-navy);
}

.calendar-day.disabled {
    color: #cbd5e1;
    cursor: not-allowed;
    background-color: #f8fafc;
}

.time-slot-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.time-slot {
    padding: 10px;
    border: 1px solid #eef2f6;
    border-radius: 4px;
    text-align: center;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.time-slot:hover:not(.disabled) {
    background-color: var(--primary-sky);
    color: var(--runway-white);
}

.time-slot.selected {
    background-color: var(--primary-navy);
    color: var(--runway-white);
    border-color: var(--primary-navy);
}

.time-slot.disabled {
    color: #cbd5e1;
    cursor: not-allowed;
    background-color: #f8fafc;
}

/* Fleet Specs styling */
.spec-label {
    font-weight: 600;
    color: #556982;
    font-size: 0.9rem;
}

.spec-val {
    font-weight: 700;
    color: var(--primary-navy);
    font-size: 0.95rem;
    text-align: right;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eef2f6;
}

.spec-row:last-child {
    border-bottom: none;
}

/* Discovery certificate preview */
.cert-preview-box {
    background: radial-gradient(circle, #fcfdff 0%, #ebf3fc 100%);
    border: 15px double var(--primary-navy);
    border-radius: 4px;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.cert-border-inner {
    border: 2px solid var(--accent-amber);
    padding: 1.5rem;
    height: 100%;
}

.cert-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-navy);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.cert-recipient {
    font-family: 'Space Grotesk', Georgia, serif;
    font-size: 2.2rem;
    font-style: italic;
    color: var(--accent-amber);
    border-bottom: 2px solid var(--primary-navy);
    display: inline-block;
    padding: 0 1.5rem;
    margin: 1.5rem 0;
}

/* FAQ Accordion overrides */
.faq-accordion .accordion-item {
    border: 1px solid #eef2f6;
    margin-bottom: 10px;
    border-radius: 8px !important;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(11, 31, 58, 0.02);
}

.faq-accordion .accordion-button {
    font-weight: 600;
    color: var(--primary-navy);
    padding: 1.25rem 1.5rem;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background-color: var(--sky-light);
    color: var(--primary-navy);
    box-shadow: none;
}

.faq-accordion .accordion-button::after {
    filter: brightness(0.2);
}

.faq-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

/* Footer & Bottom Bar */
.footer-main {
    background-color: var(--primary-navy);
    color: rgba(255, 255, 255, 0.75);
    padding: 70px 0 30px 0;
    border-top: 5px solid var(--accent-amber);
}

.footer-main h5 {
    color: var(--runway-white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-main a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-main a:hover {
    color: var(--accent-amber);
    padding-left: 5px;
}

.footer-bottom {
    background-color: var(--navy-dark);
    color: rgba(255, 255, 255, 0.5);
    padding: 15px 0;
    font-size: 0.85rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

/* Flight program specs block */
.program-pill {
    background-color: var(--sky-light);
    color: var(--primary-navy);
    border: 1px solid rgba(93, 169, 233, 0.3);
    padding: 0.35rem 0.8rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-right: 5px;
    margin-bottom: 5px;
}

.program-feature-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    list-style: none;
}

.program-feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-amber);
    font-weight: bold;
}

/* Instructor social link wrapper */
.instructor-badge {
    background-color: var(--amber-light);
    color: var(--accent-amber);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    display: inline-block;
}

/* Custom Alert Banner */
.safety-banner {
    background: linear-gradient(135deg, var(--primary-navy), var(--navy-light));
    border-left: 5px solid var(--accent-amber);
    border-radius: 8px;
    padding: 2rem;
    color: var(--runway-white);
}

.safety-stat-box {
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.safety-stat-box:last-child {
    border-right: none;
}

.safety-stat-num {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-amber);
    line-height: 1.1;
    margin-bottom: 5px;
}

.safety-stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .safety-stat-box {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        padding-bottom: 15px;
        margin-bottom: 15px;
    }
    .safety-stat-box:last-child {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }
}
