﻿
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* Header */
header {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.95);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
}

    header .logo {
        font-size: 1.8rem;
        font-weight: 700;
        color: #2c3e50;
    }

/* Navigation Links */
nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

    nav a {
        font-weight: 500;
        transition: color 0.3s;
        color: #2c3e50; /* or inherit from header */
    }

        nav a:hover {
            color: #27ae60;
        }

/* Hamburger Menu Icon */
.nav-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: #2c3e50;
}

/* ===== Responsive ===== */
/* Mobile nav */
@media (max-width: 768px) {
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(255,255,255,0.95);
        overflow: hidden;
        max-height: 0; /* hidden initially */
        transition: max-height 0.3s ease;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        z-index: 999;
    }

        nav a {
            padding: 1rem 0;
            text-align: center;
            margin: 0;
            border-bottom: 1px solid #ddd;
        }

        nav.active {
            max-height: 500px; /* expanded when toggled */
        }

    .nav-toggle {
        display: block;
        font-size: 2rem;
        cursor: pointer;
        color: #2c3e50;
    }
}


/* Hero Section */
.hero {
    background: url('/images/IMG-20251207-WA0000.jpg') no-repeat center center;
    background-size: 100% 100%; /* stretches image fully horizontally and vertically */
    height: 70vh; /* slightly less height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 0 1rem;
    position: relative;
}

    /* Optional overlay for better text visibility */
    .hero::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.3);
        z-index: 1;
    }

    .hero > div {
        position: relative;
        z-index: 2;
    }



    .hero h1 {
        font-size: 3rem;
        margin-bottom: 1rem;
        text-shadow: 2px 2px 10px rgba(0,0,0,0.4);
    }

    .hero p {
        font-size: 1.2rem;
        max-width: 600px;
        margin: 0 auto 2rem;
        text-shadow: 1px 1px 5px rgba(0,0,0,0.4);
    }

    .hero .btn {
        position: absolute; /* position relative to .hero */
        top: 92%; /* distance from bottom of hero */
        left: 50%; /* center horizontally */
        transform: translateX(-50%); /* center precisely */
        background: blueviolet;
        color: #fff;
        padding: 0.8rem 2rem;
        border-radius: 50px;
        font-weight: 600;
        transition: background 0.3s;
        text-align: center;
        cursor: pointer;
        z-index: 3; /* ★ Add this line */
        font-family: 'Segoe Script', cursive;
    }

        .hero .btn:hover {
            background: #1e8449;
        }

/* Sections */
section {
    padding: 5rem 5%;
}

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

    section p {
        text-align: center;
        margin-bottom: 3rem;
        color: #555;
    }

/* Trainer Cards */
.trainers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.trainer-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

    .trainer-card:hover {
        transform: translateY(-10px);
    }

    .trainer-card img {
        width: 100%;
        height: 230px;
        object-fit: contain; /* full image visible */
        background: #f8f8f8; /* soft background fill */
        padding: 10px; /* keeps spacing clean */
    }

    .trainer-card h3 {
        margin: 1rem 0 0.5rem;
        color: #27ae60;
    }

    .trainer-card p {
        margin-bottom: 1rem;
        color: #777;
    }

/* Fees Table */
.fees-table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-collapse: collapse;
}

    .fees-table th, .fees-table td {
        padding: 1rem 1.5rem;
        border: 1px solid #ddd;
        text-align: center;
    }

    .fees-table th {
        background: #27ae60;
        color: #fff;
    }

    .fees-table tr:nth-child(even) {
        background: #f9f9f9;
    }

/* Timing */
.timing {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

    .timing div {
        background: #27ae60;
        color: #fff;
        padding: 2rem;
        border-radius: 15px;
        flex: 1 1 200px;
        text-align: center;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

    .contact-form input, .contact-form textarea {
        padding: 1rem;
        border: 1px solid #ccc;
        border-radius: 10px;
        width: 100%;
        font-size: 1rem;
    }

    .contact-form button {
        padding: 1rem;
        background: blueviolet;
        color: #fff;
        font-weight: 600;
        border: none;
        border-radius: 50px;
        cursor: pointer;
        transition: background 0.3s;
        font-family: 'Segoe Script', cursive;
        font-size: 1rem;
        width: 30%;
        display: block; /* required for centering */
        margin: 0 auto; /* centers the button */
        text-align: center; /* ensures text stays centered */
    }


        .contact-form button:hover {
            background: #1e8449;
        }






/* Footer */
footer {
    background: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 2rem 5%;
}




/* Footer */
footer {
    background: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 2rem 5%;
}
/* Responsive */
@media(max - width:768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

   
}












/* LIVE CLASS GRID (3 columns max) */
.live-class-list {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* CARD */
.live-class-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

    .live-class-card:hover {
        transform: translateY(-10px);
    }

    .live-class-card img {
        width: 100%;
        height: 230px;
        object-fit: contain; /* full image visible */
        background: #f8f8f8; /* soft background fill */
        padding: 10px; /* keeps spacing clean */
    }

/* CONTENT */
.live-info {
    padding: 1.5rem;
}

    .live-info h3 {
        font-size: 1.4rem;
        color: #27ae60;
        margin-bottom: 0.5rem;
    }

    .live-info .desc {
        color: #555;
        line-height: 1.6;
        margin-bottom: 0.7rem;
    }

    .live-info p {
        color: #333;
        margin-bottom: 0.4rem;
        font-size: 1rem;
    }


/* ========== RESPONSIVE ========== */

/* Tablet */
@media (max-width: 768px) {

    .live-class-card img {
        height: 200px;
    }

    .live-info h3 {
        font-size: 1.3rem;
    }
}

/* Mobile */
@media (max-width: 480px) {

    .live-class-list {
        grid-template-columns: 1fr; /* one per row */
    }

    .live-class-card img {
        height: 180px;
    }

    .live-info h3 {
        font-size: 1.2rem;
    }

    .live-info p {
        font-size: 0.95rem;
    }
}




/* BLOG SECTION GRID */
.blogs-grid {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* BLOG CARD */
.blog-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

    .blog-card:hover {
        transform: translateY(-10px);
    }

    /* BLOG IMAGE */
    .blog-card img {
        width: 100%;
        height: 230px;
        object-fit: contain; /* full image visible */
        background: #f8f8f8; /* soft background fill */
        padding: 10px; /* keeps spacing clean */
    }

/* BLOG CONTENT */
.blog-content {
    padding: 1.5rem;
}

    .blog-content h3 {
        color: #27ae60;
        margin-bottom: 0.5rem;
        font-size: 1.4rem;
    }

    .blog-content p {
        color: #555;
        line-height: 1.6;
    }

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .blog-card img {
        height: 200px;
    }

    .blog-content h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .blogs-grid {
        grid-template-columns: 1fr;
    }

    .blog-card img {
        height: 180px;
    }

    .blog-content h3 {
        font-size: 1.2rem;
    }

    .blog-content p {
        font-size: 0.95rem;
    }
}





/* Section styling */
.services {
    padding: 5rem 2rem;
    background-color: #fff;
    text-align: center;
    font-family: 'Segoe UI', sans-serif;
}

.section-title {
    font-family: 'Segoe Script', cursive;
    font-size: 3rem;
    color: #ff3b5c; /* pinkish/red color like screenshot */
    margin-bottom: 3rem;
}

/* Container for cards */
.services-container {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Individual card */
.service-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 2rem;
    width: 300px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

.service-icon {
    width: 80px; /* increase size */
    margin: 0 auto 1rem; /* center the image */
    display: block; /* ensure centering works */
}


.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #111;
}

.service-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

/* ===== Responsive Styling ===== */

/* Tablets */
@media (max-width: 992px) {
    .services-container {
        gap: 1.5rem;
    }

    .service-card {
        width: 45%;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }

    .service-card {
        width: 100%;
        padding: 1.5rem;
    }

        .service-card h3 {
            font-size: 1.1rem;
        }

        .service-card p {
            font-size: 0.9rem;
        }

    .service-icon {
        width: 50px;
    }
}









.namaste-text {
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
    font-style: italic;
    margin: 10px 0; /* reduced space */
    font-family: 'Segoe Script', cursive;
    font-size: 3rem;
    color: black; /* solid blueviolet color */
}





.Intro {
    text-align: center;
    padding: 1px 25px;
    background: linear-gradient(to bottom, #fff5f5, #ffeaea);
    border-radius: 25px;
    max-width: 900px;
    margin: 0 auto 0px; /* margin-bottom from Namaste already handled */
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    font-family: 'Georgia', serif;
    color: #4b2e2e;
}

    .Intro h1 {
        font-size: 2.8rem;
        font-weight: 700;
        margin-top: 0; /* remove default top margin */
        margin-bottom: 20px;
        padding:0px;
    }

    .Intro p {
        font-size: 1.2rem;
        line-height: 1.8;
        max-width: 800px;
        margin: 5px;
        text-align: center;
    }

.logo-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #2ecc71;
    display: block;
}

.logo-container {
    display: flex;
    align-items: center; /* aligns logo & text vertically */
    gap: 10px;
}

.trainer-name {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 10px 0 5px;
    color: blueviolet;
    font-family: 'Segoe Script', cursive;
    text-align: center;
    letter-spacing: 1px;
}
