/* --- Global Styles --- */
:root {
    --primary-color: #007bff; /* Bright Blue */
    --secondary-color: #00bcd4; /* Cyan/Turquoise */
    --accent-color: #ff9800; /* Orange for highlights */
    --light-bg: #e6f7ff; /* Very light water blue background */
    --dark-text: #2c3e50; /* Darker text for readability */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    /* Use the Poppins font added in the HTML head */
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: #ffffff;
}

h1, h2, h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600; /* Semi-bold */
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; text-align: center; }
h3 { font-size: 1.5rem; color: var(--secondary-color); }
p { margin-bottom: 15px; }

/* --- Header & Logo --- */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    --background-color: var(--light-bg);
    --border-bottom: 5px solid var(--secondary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo-container {
    flex-shrink: 0;
}

#logo {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
}

.header-info {
    text-align: right;
}

.header-info h1 {
    margin-bottom: 0;
    font-weight: 700;
}

.header-info h2 {
    font-size: 1.4rem;
    color: var(--dark-text);
    margin-top: 0;
    text-align: right;
}

.phone {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-color);
}

.phone strong {
    color: var(--primary-color);
}

/* --- Hero Section --- */
#hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)),
                      url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1770&q=80');
    background-size: cover;
    background-position: bottom;
    height: 60vh; 
    
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ffffff;
    padding: 20px;
}

.hero-text h2 {
    font-size: 4rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-text p {
    font-size: 1.7rem;
    font-weight: 300;
}

/* --- Reusable Content Section --- */
.content-section {
    max-width: 1100px; 
    margin: 60px auto; 
    padding: 40px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

#about h2, #trainer h2, #videos h2 {
    text-align: center;
}

/* Image in About Section */
.inline-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    margin: 25px auto;
    display: block;
    border: 5px solid var(--secondary-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* --- NEW: Branches Section Styles --- */
#branches {
    background-color: var(--light-bg);
}

.section-description {
    text-align: center;
    font-size: 1.1rem;
    color: var(--dark-text);
    margin-bottom: 30px;
}

.branch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.branch-item {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-top: 5px solid var(--primary-color);
    transition: transform 0.3s ease;
}

.branch-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.branch-item h3 {
    margin-top: 0;
    font-size: 1.3rem;
    border-bottom: 2px dashed var(--secondary-color);
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.branch-item p {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.branch-item strong {
    color: var(--accent-color);
}

.note {
    text-align: center;
    margin-top: 30px;
    font-style: italic;
    color: #6c757d;
}

/* --- Courses Section Styles --- */
#classes h2 {
    margin-bottom: 40px;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.course-item {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    /* Updated border for new theme */
    border: 1px solid #ddd;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.course-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    border-color: var(--secondary-color);
}

.course-item h3 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.course-item p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 0;
}

/* --- Video Section --- */
.video-container {
    position: relative;
    padding-bottom: 56.25%; 
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    margin: 20px auto;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* --- Footer --- */
footer {
    background-color: var(--dark-text);
    color: #ffffff;
    text-align: center;
    padding: 30px;
    margin-top: 60px;
}

.social-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.2rem;
    margin: 0 15px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--secondary-color);
}

.social-links {
    margin-bottom: 15px;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 800px) {
    header {
        flex-direction: column; 
        text-align: center;
        gap: 15px;
        padding: 20px;
    }

    .header-info {
        text-align: center;
    }

    .hero-text h2 {
        font-size: 2.5rem;
    }
    .hero-text p {
        font-size: 1.4rem;
    }

    .content-section {
        padding: 20px;
        margin: 30px 15px;
    }
}