:root {
    --bg-color: #0d1117;
    /* Dark Navy/Black hybrid */
    --card-bg: #161b22;
    --text-main: #F5F5F5;
    --text-muted: #8b949e;
    --accent: #F57C00;
    /* Vibrant Orange from Logo */
    --accent-glow: rgba(245, 124, 0, 0.4);
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --nav-height: 100px;
    --transition: all 0.3s ease;
}

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

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

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

.text-center {
    text-align: center;
}

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

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

/* Typography Utilities */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.underline {
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 0 auto;
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    border: 2px solid var(--accent);
}

.btn-primary:hover {
    background: transparent;
    color: var(--accent);
    box-shadow: 0 0 15px var(--accent-glow);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    margin-left: 15px;
}

.btn-outline:hover {
    background: #fff;
    color: #000;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
    position: relative;
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1002;
}

.nav-logo {
    height: 80px;
    /* Adjust as needed */
    width: auto;
    border-radius: 50%;
    /* Optional: if the logo is circular */
    border: 2px solid var(--accent);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    letter-spacing: -1px;
}

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

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

.nav-links .btn {
    margin-left: 2rem;
    padding: 10px 24px;
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('assets/hero_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(18, 18, 18, 1));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

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

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

/* Why MCI */
.section {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

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

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--accent);
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

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

/* Banner */
.banner {
    padding: 80px 0;
    background: linear-gradient(90deg, #121212 0%, #1E1E1E 50%, #121212 100%);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.banner h2 {
    font-size: 2rem;
    font-weight: 300;
}

/* Programs Section */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.program-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
}

.program-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.6);
}

.program-header {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 193, 7, 0));
    padding: 30px;
    position: relative;
}

.program-header h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--accent);
}

.tagline {
    font-size: 0.9rem;
    font-style: italic;
    color: #fff;
    opacity: 0.8;
}

.program-body {
    padding: 30px;
    flex-grow: 1;
}

.program-body ul {
    list-style: none;
    margin-bottom: 25px;
}

.program-body li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.program-body li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 0.8rem;
    top: 4px;
}

.price-tag {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 10px;
    margin-top: auto;
    border-left: 3px solid var(--accent);
}

.price-option {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.price-option:last-child {
    margin-bottom: 0;
}

.pricing-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: #fff;
    font-weight: 600;
}

/* Philosophy Section */
.philosophy-section {
    background-color: #1a1a1a;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.phil-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.phil-item h4 {
    color: var(--accent);
    margin-bottom: 10px;
}

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

/* Coaches Section */
.coaches-section {
    padding-bottom: 50px;
}

/* Footer & CTA */
.cta-section {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('assets/hero_bg.png');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-section h2 {
    margin-bottom: 15px;
}

.cta-section p {
    margin-bottom: 30px;
    color: var(--text-muted);
}

.footer-content {
    background: #000;
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: #fff;
}

.footer-col p {
    color: var(--text-muted);
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.copyright {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.8rem;
    color: #666;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Menu Styles */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 3px 0;
    transition: 0.4s;
}

/* Scroll Animation Classes */
.scroll-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.scroll-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: #1a1a1a;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 60px;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        margin: 20px 0;
        font-size: 1.2rem;
    }

    .nav-links .btn {
        margin: 20px 0 0 0;
    }

    /* Hamburger Animation */
    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    /* Mobile Text & Spacing Adjustments */
    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    /* Short and Crisp Section Padding */
    .section {
        padding: 40px 0;
    }

    .nav-logo {
        height: 60px;
    }

    .hero {
        /* Adjust hero height if needed, but 100vh is usually good. 
           Maybe reduce if address bar issues, but sticking to 100vh for now */
    }

    .container {
        padding: 0 20px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .section-header {
        margin-bottom: 1.5rem;
    }

    .features-grid,
    .programs-grid,
    .philosophy-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        /* Force vertical stack */
        gap: 20px;
        margin-top: 30px;
    }

    .feature-card,
    .program-card {
        margin-bottom: 0px;
        /* Use grid gap instead */
        padding: 25px 20px;
    }

    .banner {
        padding: 40px 0;
    }

    .banner h2 {
        font-size: 1.5rem;
    }

    /* Stack buttons vertical on mobile */
    .hero-btns {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .hero-btns .btn {
        width: 100%;
        max-width: 280px;
        margin: 0 0 15px 0;
        /* Stack margin */
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 48px;
        /* Touch friendly */
    }

    .btn {
        min-height: 48px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* Adjust Footer for Mobile */
    .cta-section {
        padding: 50px 0;
    }
}

/* Touch Feedback */
.btn:active,
.program-card:active {
    transform: scale(0.98);
}

/* Form Styles */
.form-section {
    padding-top: 120px;
    /* Account for fixed navbar */
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.6);
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
}

.radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    transition: var(--transition);
}

.radio-option:hover {
    background: rgba(255, 255, 255, 0.06);
}

.radio-option input {
    display: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--text-muted);
    border-radius: 50%;
    margin-right: 15px;
    position: relative;
    transition: var(--transition);
}

.radio-option input:checked+.radio-custom {
    border-color: var(--accent);
}

.radio-option input:checked+.radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
}

.btn-block {
    width: 100%;
    margin-top: 10px;
}