/* --- Variables & Reset --- */
:root {
    --bg-dark: #0f0f12;
    --bg-card: #1a1a1f;
    --text-main: #e0e0e0;
    --text-muted: #a0a0a0;
    --accent: #FF6B35;
    /* Orange Brûlé */
    --accent-hover: #ff8c61;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

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

/* --- Modal Styles --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-card);
    width: 90%;
    max-width: 500px;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    background: none;
    border: none;
}

.close-modal:hover {
    color: var(--accent);
}

.booking-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    margin: 20px 0;
    max-height: 200px;
    overflow-y: auto;
}

.slot-btn {
    background: #222;
    border: 1px solid #333;
    color: #fff;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.slot-btn:hover,
.slot-btn.selected {
    background: var(--accent);
    border-color: var(--accent);
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.booking-form input,
.booking-form textarea {
    padding: 12px;
    background: #222;
    border: 1px solid #333;
    color: #fff;
    border-radius: 4px;
    font-family: var(--font-body);
}

.hidden {
    display: none;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

/* --- Utilities --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-heading);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent);
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.4);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    box-shadow: 0 0 25px rgba(255, 107, 53, 0.6);
    transform: translateY(-2px);
}

.btn-outline {
    border-color: #fff;
    color: #fff;
    background: transparent;
}

.btn-outline:hover {
    background-color: #fff;
    color: var(--bg-dark);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-header .underline {
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    margin: 0 auto 20px;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 15, 18, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #fff;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a:not(.btn) {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px;
    transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(15, 15, 18, 0.7), rgba(15, 15, 18, 0.9)), url('assets/hero.png');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-content .accent-text {
    color: transparent;
    -webkit-text-stroke: 1px #fff;
    /* Alternative style: color: var(--accent); */
    /* text-shadow: 0 0 20px var(--accent); */
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-main);
    max-width: 700px;
    margin: 0 auto 40px;
}

.tagline {
    display: block;
    font-family: var(--font-heading);
    color: var(--accent);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
    font-weight: 500;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    color: var(--text-muted);
}

/* --- USP Section --- */
.usp {
    background-color: var(--bg-dark);
}

.usp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.usp-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.usp-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.usp-card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.usp-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.usp-card p {
    color: var(--text-muted);
}

/* --- Programme Section --- */
.programme {
    background-color: #15151a;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.program-item {
    background: linear-gradient(45deg, var(--bg-card), #222229);
    padding: 30px;
    border-radius: 8px;
    position: relative;
    border-left: 3px solid var(--accent);
}

.module-num {
    position: absolute;
    top: 20px;
    right: 20px;
    font-family: var(--font-heading);
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.03);
    font-weight: 700;
}

.module-content h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #fff;
    text-transform: uppercase;
}

.module-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(rgba(15, 15, 18, 0.8), rgba(15, 15, 18, 0.9)), url('assets/hero.png');
    /* Using hero image again but darker or could be another image */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--text-main);
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border-radius: 4px;
    border: none;
    outline: none;
    font-family: var(--font-body);
    font-size: 1rem;
}

/* --- Footer --- */
footer {
    background-color: #0a0a0c;
    padding: 80px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo p {
    color: var(--text-muted);
    margin-top: 15px;
    max-width: 300px;
}

.footer-links h4,
.footer-social h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

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

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #555;
    font-size: 0.9rem;
}

/* --- Animations --- */
@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Mobile menu implementation usually requires JS */
    }

    .burger {
        display: block;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-btns {
        flex-direction: column;
    }

    .newsletter-form {
        flex-direction: column;
    }
}

/* --- Mentor Section --- */
.mentor {
    background-color: var(--bg-dark);
}

.mentor-content {
    display: flex;
    gap: 50px;
    align-items: center;
    flex-wrap: wrap;
}

.mentor-image {
    flex: 1;
    min-width: 300px;
}

.mentor-placeholder {
    width: 100%;
    height: 400px;
    background: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.mentor-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: var(--transition);
}

.mentor-text {
    flex: 1.5;
    min-width: 300px;
}

.mentor-text h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #fff;
}

.mentor-text p {
    margin-bottom: 20px;
    color: var(--text-main);
    font-size: 1.1rem;
}