* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --primary-color: #0a192f; 
    --accent-color: #d4af37;  
    --text-light: #f8f9fa;
    --bg-light: #f4f7f6;
}

body {
    background-color: var(--bg-light);
    color: #333;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 8%;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.logo span {
    color: var(--accent-color);
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
}

.btn-login {
    background: var(--primary-color);
    color: white !important;
    padding: 8px 25px;
    border-radius: 5px;
}

/* --- HERO SECTION FIXED --- */
.coaching-hero {
    min-height: 85vh;
    background: linear-gradient(rgba(10, 25, 47, 0.85), rgba(10, 25, 47, 0.85)), 
                url('https://images.unsplash.com/photo-1434030216411-0b793f4b4173?auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 40px 20px;
}

.hero-content {
    max-width: 900px;
}

.top-badge {
    background: var(--accent-color);
    color: #000;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 25px;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content h1 span {
    color: var(--accent-color);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    color: #e0e0e0;
}

/* Search Area */
.search-container {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.search-container input {
    padding: 18px 25px;
    width: 400px;
    border: none;
    border-radius: 5px 0 0 5px;
    font-size: 1rem;
    outline: none;
}

.btn-primary {
    padding: 18px 35px;
    background: var(--accent-color);
    border: none;
    color: #000;
    font-weight: 700;
    cursor: pointer;
    border-radius: 0 5px 5px 0;
    font-size: 1rem;
    transition: 0.3s;
}

.btn-primary:hover {
    background: #bd9b31;
}

/* Stats Area */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.2);
    width: 100%;
}

.stat-item strong {
    display: block;
    font-size: 2.5rem;
    color: var(--accent-color);
}

.stat-item span {
    font-size: 1rem;
    color: #bbb;
}

/* --- COURSES SECTION --- */
.courses {
    padding: 80px 8%;
}

.courses h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: var(--primary-color);
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.course-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.course-card:hover {
    transform: translateY(-10px);
}

.course-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.course-info {
    padding: 25px;
}

.badge {
    background: #fff3e0;
    color: #e65100;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
}

.course-info h3 {
    margin: 15px 0 10px;
    font-size: 1.3rem;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 20px 0;
}

.btn-outline {
    width: 100%;
    padding: 12px;
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* --- TESTIMONIALS --- */
.testimonials {
    padding: 80px 8%;
    background: white;
    text-align: center;
}

.testimonial-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.testimonial-card {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 20px;
    max-width: 450px;
    text-align: left;
}

/* --- FOOTER --- */
.main-footer {
    background: var(--primary-color);
    color: white;
    padding: 70px 8% 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 40px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    font-size: 0.9rem;
    color: #7f8c8d;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.2rem; }
    .search-container { flex-direction: column; width: 100%; }
    .search-container input { width: 100%; border-radius: 5px; margin-bottom: 10px; }
    .btn-primary { border-radius: 5px; width: 100%; }
    .hero-stats { flex-direction: column; gap: 30px; }
    .nav-links { display: none; } /* Mobile menu needed for real site */
}


/* Modal Styling */
.modal {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    left: 0; top: 0; width: 100%; height: 100%; 
    background-color: rgba(0,0,0,0.6);
}
.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 30px;
    width: 350px;
    border-radius: 10px;
    text-align: center;
}
.modal-content input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
}
.close-btn { float: right; cursor: pointer; font-size: 20px; }