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

:root {
    --primary-color: #f59e0b;
    --primary-dark: #d97706;
    --secondary-color: #0f172a;
    --secondary-light: #1e2a45;
    --accent-color: #2563eb;
    --accent-light: #dbeafe;
    --purple-color: #9333ea;
    --purple-light: #f3e8ff;
    --text-color: #333;
    --text-light: #666;
    --text-white: #fff;
    --bg-light: #f9fafb;
    --bg-white: #fff;
    --border-color: #e5e7eb;
    --border-radius: 6px;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-white);
}

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

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

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: 100%;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--secondary-color);
}

h1 {
    font-size: 2.5rem;
}

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

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

section {
    padding: 4rem 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--text-white);
}

.btn-secondary {
    background-color: var(--bg-white);
    color: var(--secondary-color);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--bg-light);
}

.btn-full {
    width: 100%;
}

/* Header */
.header {
    background-color: var(--bg-white);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--secondary-color);
}

.logo i {
/*    color: var(--primary-color);*/
}

.main-nav {
    display: none;
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-list a {
    color: var(--secondary-color);
    font-weight: 500;
}

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

.nav-cta {
    display: none;
}

.mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.mobile-menu {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    padding: 1rem;
    box-shadow: var(--shadow);
    transform: translateY(-150%);
    transition: var(--transition);
    z-index: 99;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav-list a {
    display: block;
    padding: 0.5rem 0;
    color: var(--secondary-color);
    font-weight: 500;
}

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

.mobile-nav-list .btn {
    margin-top: 0.5rem;
}

/* Hero Section */
.hero {
    background-color: var(--secondary-color);
    color: var(--text-white);
    padding: 1rem 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}

.hero-content h1 {
    color: var(--text-white);
    font-size: 2.5rem;
}

.hero-content p {
    color: #e2e8f0;
    font-size: 1.125rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-image {
    position: relative;
    height: 600px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Features Section */
.features {
     background-color: var(--bg-light); /* Fallback color */

     background-image:
        linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), /* White overlay */
        url("/images/bg2.jpg"); /* Your actual background image */

    padding: 4rem 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    /* You might need position: relative if you have absolutely positioned children,
       but for this overlay method, it's not strictly necessary for the overlay itself. */
    /* position: relative; */
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.feature-card {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.feature-card:nth-child(1) {
    background-color: var(--accent-light);
    border-color: #bfdbfe;
}

.feature-card:nth-child(2) {
    background-color: #fffbeb;
    border-color: #fef3c7;
}

.feature-card:nth-child(3) {
    background-color: var(--purple-light);
    border-color: #e9d5ff;
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-card:nth-child(1) .feature-icon i {
    color: var(--accent-color);
}

.feature-card:nth-child(2) .feature-icon i {
    color: var(--primary-color);
}

.feature-card:nth-child(3) .feature-icon i {
    color: var(--purple-color);
}

/* Program Section */
.program {

    background-color: var(--accent-light); /* Fallback color */
}

.program-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.program-list {
    margin-bottom: 2rem;
}

.program-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.program-list li::before {
    content: "\f1e3";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 0.75rem;
    color: var(--primary-color);
    background-color: #fef3c7;
    padding: 0.25rem;
    border-radius: 50%;
    font-size: 0.75rem;
}

.program-list li span {
    font-weight: 600;
    color: var(--secondary-color);
    margin-right: 0.5rem;
}

.schedule-item {
    display: flex;
    margin-bottom: 0.75rem;
}

.schedule-time {
    width: 6rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.schedule-button {
    margin-top: 2rem;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--secondary-color);
    color: var(--text-white);
}

.testimonials h2 {
    color: var(--text-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--secondary-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.testimonial-stars {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.testimonial-author {
    font-weight: 600;
    margin-top: 1rem;
}

/* Registration Form */
.registration {
    background-color: var(--bg-white);
}

.registration-form {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    max-width: 800px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

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

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--secondary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
}

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

.form-submit {
    margin-top: 2rem;
}

.form-message {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: var(--border-radius);
    display: none;
}

.form-message.success {
    background-color: #d1fae5;
    color: #065f46;
    display: block;
}

.form-message.error {
    background-color: #fee2e2;
    color: #b91c1c;
    display: block;
}

/* Contact Section */
.contact {
    background-color: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.contact-methods {
    margin-top: 2rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-icon {
    background-color: #fef3c7;
    color: var(--primary-color);
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.contact-label {
    font-weight: 600;
    color: var(--secondary-color);
}

.contact-form {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: var(--text-white);
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.footer-logo i {
    /* color: var(--primary-color); */
}

.footer h3 {
    color: var(--text-white);
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}

.footer-links ul,
.footer-sessions ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: #e2e8f0;
}

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

.footer-sessions li {
    color: #e2e8f0;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

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

.social-icons a:hover {
    background-color: var(--primary-color);
    color: var(--text-white);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
}

/* Media Queries */
@media (min-width: 768px) {
    .main-nav {
        display: block;
    }
    
    .nav-cta {
        display: inline-block;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
    
    .hero .container {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-buttons {
        flex-direction: row;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .program-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 767px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    section {
        padding: 3rem 0;
    }
}
/* Meet the Coaches Section - Visual Layout */
.meet-coaches {
     background-color: var(--bg-light); /* Fallback color */

    /* MODIFIED LINE BELOW */
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), /* White overlay */
        url("/images/bg1.jpg"); /* Your actual background image */

    padding: 4rem 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    /* You might need position: relative if you have absolutely positioned children,
       but for this overlay method, it's not strictly necessary for the overlay itself. */
    /* position: relative; */
}

.meet-coaches h2 {
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 3rem;
}

.coaches-layout-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two columns for the two coach profiles */
    gap: 2.5rem; /* Gap between the two coach profile items */
}

.coach-profile-item {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 1.5rem; /* Padding within each coach card */
    display: grid;
    grid-template-columns: auto 1fr; /* Left column for image/name, right for bio */
    gap: 1.5rem; /* Gap between the image/name column and the bio column */
    align-items: flex-start; /* Align content to the top of their respective grid areas */
}

.coach-identity {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center image and name below it */
    text-align: center;
    min-width: 150px; /* Ensure the identity column has some base width */
}

.coach-photo {
    width: 140px; /* Adjust as needed */
    height: 140px; /* Adjust as needed */
    border-radius: var(--border-radius); /* Or 50% for round images */
    object-fit: cover;
    margin-bottom: 0.75rem; /* Space between photo and name caption */
    border: 3px solid var(--primary-color); /* Optional border */
}

.coach-name-caption {
    font-size: 1.1rem; /* Adjust size as needed */
    color: var(--secondary-color);
    font-weight: 600;
    margin: 0; /* Reset margin for the caption */
}

.coach-description p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0; /* Reset margin for the paragraph within the description area */
}

/* Responsive adjustments for the visual layout */
@media (max-width: 992px) { /* Tablets */
    .coach-profile-item {
        /* Stack image/name on top of bio for each coach */
        grid-template-columns: 1fr;
        text-align: center; /* Center content when stacked */
    }
    .coach-identity {
        margin-bottom: 1rem; /* Add space between identity block and description when stacked */
        min-width: auto; /* Reset min-width when stacked */
    }
    .coach-photo {
        width: 130px;
        height: 130px;
    }
}

@media (max-width: 767px) { /* Mobile phones */
    .coaches-layout-grid {
        /* Stack the two coach profiles vertically */
        grid-template-columns: 1fr;
        gap: 2rem; /* Adjust gap for stacked profiles */
    }
    /* .coach-profile-item remains stacked from the 992px breakpoint */
     .coach-photo {
        width: 120px;
        height: 120px;
    }
    .coach-name-caption {
        font-size: 1rem;
    }
    .coach-description p {
        font-size: 0.9rem;
    }
}