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

:root {
    /* Color Palette */
    --bg-dark: #0b0f19;
    --bg-card: #151d30;
    --bg-card-glass: rgba(21, 29, 48, 0.7);
    --border-color: rgba(255, 255, 255, 0.08);
    --primary: #f59e0b; /* Amber/Yellow Accent */
    --primary-hover: #d97706;
    --primary-glow: rgba(245, 158, 11, 0.3);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dark: #0f172a;
    --steel-gray: #334155;
    --success: #10b981;
    
    /* Typography */
    --font-header: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header & Navigation */
header {
    background: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.02);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 0.8;
    margin-top: 2px;
}

.logo-script {
    font-family: 'Satisfy', cursive;
    font-size: 1.95rem;
    color: var(--text-main);
    letter-spacing: 0.05em;
}

.logo-sub {
    font-family: var(--font-header);
    font-weight: 700;
    font-size: 0.65rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.28em;
    margin-top: 1px;
}

nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.95rem;
}

nav a:hover {
    color: var(--primary);
}

/* Mode Switch Button */
.btn-toggle-view {
    background: linear-gradient(135deg, var(--primary), #e67e22);
    color: var(--text-dark);
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-family: var(--font-header);
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px var(--primary-glow);
    transition: var(--transition);
}

.btn-toggle-view:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

/* View Sections */
.view-section {
    display: none;
    padding-top: 80px; /* Header spacing */
}

.view-section.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

/* Common Layout Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* HERO SECTION */
.hero {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    transform: scale(1.05);
}

.slide.active {
    opacity: 1;
    animation: kenburns 12s infinite alternate ease-in-out;
}

@keyframes kenburns {
    0% {
        transform: scale(1.05) translate(0, 0);
    }
    100% {
        transform: scale(1.15) translate(-1%, -1%);
    }
}

.hero-content {
    max-width: 800px;
    z-index: 2;
}

.hero-tag {
    display: inline-block;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 0.25rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-family: var(--font-header);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero h1 span {
    color: var(--primary);
    display: block;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    background: var(--bg-card-glass);
    border: 1px solid var(--border-color);
    padding: 1.25rem;
    border-radius: 12px;
    backdrop-filter: blur(8px);
}

.stat-value {
    font-family: var(--font-header);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.btn-primary {
    background: var(--primary);
    color: var(--text-dark);
    font-family: var(--font-header);
    font-weight: 700;
    text-decoration: none;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    display: inline-block;
    box-shadow: 0 4px 15px var(--primary-glow);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

/* SECTION TYPOGRAPHY */
.section-title {
    font-family: var(--font-header);
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.section-title span {
    color: var(--primary);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3.5rem auto;
}

/* JOB OVERVIEW & ROLES */
.roles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.role-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.role-card:hover {
    transform: translateY(-5px);
    border-color: rgba(245, 158, 11, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.role-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
}

.role-tag {
    font-family: var(--font-header);
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: block;
}

.role-card h3 {
    font-family: var(--font-header);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.role-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    font-family: var(--font-header);
}

.role-price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.role-list {
    list-style: none;
    margin-bottom: 2rem;
}

.role-list li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.75rem;
    font-size: 0.95rem;
}

.role-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

/* REQUIREMENTS SECTION */
.requirements-section {
    background: #0e1422;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.req-card {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 12px;
    transition: var(--transition);
}

.req-card:hover {
    border-color: rgba(245, 158, 11, 0.2);
}

.req-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.req-card h4 {
    font-family: var(--font-header);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.req-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* FLEET GALLERY */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 1px solid var(--border-color);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 15, 25, 0.9), transparent);
    opacity: 0;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-text h5 {
    font-family: var(--font-header);
    font-size: 1.1rem;
    color: var(--text-main);
}

.gallery-text p {
    font-size: 0.8rem;
    color: var(--primary);
}

/* APPLICATION FORM */
.apply-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    padding: 0.8rem 1rem;
    border-radius: 6px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    cursor: pointer;
}

.checkbox-group input {
    margin-top: 0.25rem;
    accent-color: var(--primary);
    width: 18px;
    height: 18px;
}

.checkbox-group label {
    font-size: 0.9rem;
    color: var(--text-muted);
    cursor: pointer;
}

.checkbox-group label span {
    color: var(--text-main);
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 8px;
    background: var(--primary);
    color: var(--text-dark);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-submit:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

/* FOOTER */
footer {
    background: #080c14;
    border-top: 1px solid var(--border-color);
    padding: 4rem 2rem 2rem 2rem;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-info h4 {
    font-family: var(--font-header);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-info p {
    color: var(--text-muted);
    max-width: 400px;
    margin-bottom: 1.5rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
}

.contact-item span {
    color: var(--primary);
    font-weight: 600;
}

.footer-links h5 {
    font-family: var(--font-header);
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links ul a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links ul a:hover {
    color: var(--primary);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}




/* Lightbox overlay */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .roles-grid, .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .submissions-card {
        grid-column: span 1;
    }
    .requirements-grid, .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero h1 {
        font-size: 2.75rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    nav {
        gap: 1rem;
    }
    .requirements-grid, .gallery-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        gap: 2rem;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-group.full-width {
        grid-column: span 1;
    }
    .hero h1 {
        font-size: 2.25rem;
    }
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .apply-container {
        padding: 1.5rem;
    }
}

/* Notification Toast */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--success);
    border-left: 5px solid var(--success);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 1000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-icon {
    color: var(--success);
    font-size: 1.5rem;
}
.toast-content h4 {
    margin: 0;
    font-family: var(--font-header);
    font-size: 1rem;
}
.toast-content p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}
