/* Root Variables */
:root {
    --primary-color: #9B3434;
    --dark-color: #111;
    --light-color: #fff;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --text-color: #333;
    --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

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

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

section {
    padding: 5rem 0;
}

/* Header */
header {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 1rem 0;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-color);
}

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

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: var(--light-color);
    position: relative;
}

nav ul li a::after {
    content: '';
    width: 0;
    height: 2px;
    background: var(--light-color);
    position: absolute;
    left: 0;
    bottom: -5px;
    transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--light-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 5rem 0;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.hero-text {
    flex: 1;
}

.hero-image {
    flex: 1;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--light-color);
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    margin-top: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    background: #7a2828;
    transform: translateY(-2px);
}

/* Stats Section */
.stats {
    background: var(--light-color);
    padding: 5rem 0;
}

.stats-grid,
.focus-grid,
.reasons-grid,
.paths-grid,
.workshops-grid,
.stories-grid,
.features-grid,
.stages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card,
.focus-card,
.reason-card,
.path-card,
.workshop-card,
.story-card,
.feature-card,
.stage-card,
.reserve-card {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.stat-card:hover,
.focus-card:hover,
.reason-card:hover,
.workshop-card:hover,
.feature-card:hover,
.stage-card:hover,
.reserve-card:hover {
    transform: translateY(-5px);
}

/* Focus Areas Section */
.focus-areas {
    background: url('./img/2.jpg') center/cover;
    color: var(--light-color);
    padding: 5rem 0;
    position: relative;
}

.focus-areas::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.focus-areas .container {
    position: relative;
    z-index: 2;
}

.focus-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

/* Learning Paths Section */
.path-card {
    padding: 0;
    overflow: hidden;
}

.path-image {
    height: 200px;
    overflow: hidden;
}

.path-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.path-card h3,
.path-card p {
    padding: 0 1.5rem;
}

.path-card h3 {
    margin-top: 1.5rem;
}

.path-card p {
    padding-bottom: 1.5rem;
}

/* Workshops Section */
.workshop-card,
.feature-card {
    overflow: hidden;
}

.workshop-image,
.feature-image {
    height: 200px;
    overflow: hidden;
    margin: -1.5rem -1.5rem 1.5rem;
}

.workshop-image img,
.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    transition: transform 0.5s ease;
}

.workshop-card:hover .workshop-image img,
.feature-card:hover .feature-image img {
    transform: scale(1.05);
}

/* Story Cards */
.story-card {
    overflow: hidden;
}

.story-image {
    height: 200px;
    overflow: hidden;
    margin: -1.5rem -1.5rem 1.5rem;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    transition: transform 0.5s ease;
}

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

.story-author {
    font-weight: bold;
    margin-top: 1rem;
}

/* Coaches Section */
.coaches {
    background: var(--light-gray);
}

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

.coach-card {
    background: var(--light-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.coach-image {
    height: 250px;
    overflow: hidden;
}

.coach-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.coach-card h3,
.coach-card p {
    padding: 0 1.5rem;
}

.coach-card h3 {
    margin-top: 1.5rem;
}

.coach-title {
    font-weight: 600;
    color: var(--primary-color);
    margin-top: -0.5rem;
}

.coach-card p:last-child {
    padding-bottom: 1.5rem;
}

/* Financial Reserves Section */
.financial-reserves {
    background: var(--light-gray);
}

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

/* Contact Form */
.contact {
    background: var(--light-gray);
}

.contact .container {
    max-width: 800px;
}

form {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input,
textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--medium-gray);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-info {
    margin-top: 2rem;
    text-align: center;
}

/* About Page Specific */
.about-hero,
.internship-hero {
    background: url('./img/10.jpg') center/cover;
    position: relative;
}

.about-hero::before,
.internship-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.about-hero .container,
.internship-hero .container {
    position: relative;
    z-index: 2;
}

.about-hero .hero-content,
.internship-hero .hero-content {
    display: block;
}

.skills-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Coaches Alternative Layout */
.coaches-grid-alt {
    display: flex;
    background: url('images/coaches-bg.jpg') center/cover;
    padding: 3rem;
    border-radius: 8px;
    position: relative;
    color: var(--light-color);
}

.coaches-grid-alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
    z-index: 1;
}

.coach-alt {
    flex: 1;
    padding: 1.5rem;
    position: relative;
    z-index: 2;
}

/* Thank You Page */
.thank-you {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--dark-color);
    color: var(--light-color);
    text-align: center;
}

.thank-you h1 {
    margin-bottom: 2rem;
}

/* Privacy Policy & Terms */
.privacy-policy,
.terms-conditions {
    padding: 5rem 0;
}

.policy-content,
.terms-content {
    max-width: 800px;
    margin: 0 auto;
}

.policy-item,
.terms-item {
    margin-bottom: 2rem;
}

.policy-item h2,
.terms-item h2 {
    text-align: left;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Footer */
footer {
    background: var(--dark-color);
    color: var(--light-color);
    padding: 2rem 0;
}

.footer-links a {
    margin-left: 1rem;
    color: var(--light-color);
}

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

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

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

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

.hero-text,
.hero-image,
.stat-card,
.focus-card,
.path-card,
.workshop-card,
.story-card,
.coach-card,
.feature-card,
.stage-card {
    animation: fadeIn 0.8s ease forwards;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-content {
        flex-direction: column;
    }
    
    .coaches-grid-alt {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: var(--dark-color);
        z-index: 100;
        padding: 5rem 2rem 2rem;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin: 1rem 0;
        margin-left: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    footer .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-links {
        display: flex;
        gap: 1rem;
    }
    
    .footer-links a {
        margin-left: 0;
    }
}

@media (max-width: 576px) {
    section {
        padding: 3rem 0;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    .coaches-grid-alt {
        padding: 2rem 1rem;
    }
    
    .coach-alt {
        padding: 1rem 0.5rem;
    }
}