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

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f9f9f9;
    color: #333;
}

/* Top Bar */
.top-bar {
    background-color: #ffcc00;
    color: #333;
    text-align: center;
    padding: 12px;
    font-weight: bold;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    font-size: 1.1rem;
}

/* Header Section */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: #333;
    color: white;
    position: fixed;
    top: 50px; /* Adjusting for the top bar */
    width: 100%;
    z-index: 1000;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

header .logo img {
    max-width: 200px;
    height: auto;
}

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

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #ffcc00; /* Hover effect for links */
}

/* Hamburger Menu for Mobile */
.hamburger-menu {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger-menu .bar {
    width: 30px;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
    display: none; /* Initially hidden */
    position: fixed;
    top: 0;
    left: -100%; /* Initially hide the menu off-screen */
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 50px 30px;
    z-index: 9999;
    transition: left 0.3s ease; /* Smooth transition for sliding in and out */
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
}

.mobile-menu ul li {
    margin: 20px 0;
    font-size: 1.5rem;
}

.mobile-menu ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.mobile-menu .close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
}

/* Mobile View */
@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }

    nav ul {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }
}

/* Mobile Menu Visibility */
.mobile-menu.show {
    left: 0; /* When 'show' class is added, menu slides in */
}


/* Hero Section with Image and Overlay */
.hero {
    position: relative;
    height: 700px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/hero-bg.jpg') no-repeat center center/cover; /* Add background image */
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: white;
    text-align: center;
    z-index: 1;
}

.hero-content {
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.cta-btn {
    background-color: #ffcc00;
    color: #333;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    transition: background-color 0.3s;
}

.cta-btn:hover {
    background-color: #e6b800;
}

/* About Anand Section */
.about-anand {
    padding: 60px 20px;
    background-color: #f4f4f4;
    text-align: center;
    color: #333;
}

.about-anand-content {
    max-width: 1200px;
    margin: 0 auto;
}

.about-anand h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: bold;
    color: #333;
}

.about-subtitle {
    font-size: 1.4rem;
    color: #555;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
}

.about-anand-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    text-align: left;
    flex-wrap: wrap;
    margin-top: 30px;
}

.anand-image {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%; /* Circular image */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.anand-image:hover {
    transform: scale(1.05); /* Image zoom effect */
}

.about-text {
    max-width: 700px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    text-align: left;
}

.about-text p {
    margin-bottom: 20px;
}

/* Mobile View */
@media (max-width: 768px) {
    .about-anand-info {
        flex-direction: column;
        align-items: center;
    }

    .about-anand h2 {
        font-size: 2.4rem;
    }

    .about-subtitle {
        font-size: 1.2rem;
    }

    .about-text {
        font-size: 1rem;
        text-align: center;
    }

    .about-text p {
        font-size: 1rem;
    }

    .anand-image {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .about-anand h2 {
        font-size: 2rem;
    }

    .about-subtitle {
        font-size: 1rem;
    }

    .anand-image {
        width: 180px;
        height: 180px;
    }

    .about-text p {
        font-size: 0.95rem;
    }
}

/* What is Yoga Section */
.about {
    padding: 60px 20px;
    background-color: #f9f9f9; /* Soft background for clarity */
    text-align: center;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

.about h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: #333;
    font-weight: bold;
}

.about p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #555;
    line-height: 1.6;
}

/* Card Section */
.about-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.card {
    background-color: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    max-width: 300px;
    margin: 0 auto;
}

.card:hover {
    transform: translateY(-10px); /* Card lift effect */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Subtle shadow effect */
}

.card-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.card p {
    font-size: 1rem;
    color: #777;
    line-height: 1.6;
}

/* Mobile View - Responsive Adjustments */
@media (max-width: 768px) {
    .about-cards {
        grid-template-columns: 1fr 1fr;
    }

    .card {
        padding: 20px;
        width: 90%; /* Slightly smaller width for mobile */
    }

    .about h2 {
        font-size: 2.4rem;
    }

    .about p {
        font-size: 1.1rem;
    }

    .card h3 {
        font-size: 1.5rem;
    }

    .card p {
        font-size: 0.95rem;
    }
}

/* Mobile View - Extra Small Screens */
@media (max-width: 480px) {
    .about-cards {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 20px;
        width: 100%; /* Full-width cards for mobile */
    }

    .about h2 {
        font-size: 2.2rem;
    }

    .about p {
        font-size: 1rem;
    }

    .card h3 {
        font-size: 1.4rem;
    }

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

/* Services Section */
.services {
    background-color: #fff;
    padding: 60px 20px;
    text-align: center;
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.services p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #555;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.service-item {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.service-icon {
    width: 70px;
    margin-bottom: 20px;
}

.service-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-item p {
    font-size: 1rem;
    color: #777;
    margin-bottom: 20px;
}

.service-item .cta-btn {
    background-color: #ffcc00;
    color: #333;
    padding: 10px 25px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    text-transform: uppercase;
    transition: background-color 0.3s;
}

.service-item .cta-btn:hover {
    background-color: #e6b800;
}

/* Gallery Section */
.gallery {
    padding: 60px 20px;
    text-align: center;
    background-color: #f4f4f4;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

/* Initially hide extra images */
.gallery-item.hidden {
    display: none;
}

.see-more-btn {
    background-color: #ffcc00;
    color: #333;
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 20px;
}

.see-more-btn:hover {
    background-color: #e6b800;
}


/* Testimonials Section (Slider) */
.testimonials {
    padding: 60px 20px;
    background-color: #f8f8f8;
    text-align: center;
}

.testimonial-slider {
    display: flex;
    overflow-x: auto;
    gap: 20px;
}

.testimonial-item {
    background-color: #fff;
    padding: 30px;
    width: 300px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-style: italic;
    transition: transform 0.3s;
}

.testimonial-item:hover {
    transform: scale(1.05);
}

.testimonial-item p {
    font-size: 1.2rem;
}

.testimonial-item span {
    font-weight: bold;
}

/* Contact Section */
.contact {
    padding: 60px 20px;
    text-align: center;
    background-color: #fff;
}

.contact form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.contact form input,
.contact form textarea {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    border-radius: 8px;
    border: 1px solid #ddd;
    box-sizing: border-box;
}

.submit-btn {
    background-color: #ffcc00;
    color: #333;
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #e6b800;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 20px;
    text-align: center;
}

footer .social-links {
    margin-top: 10px;
}

footer .social-links a {
    color: #ffcc00;
    text-decoration: none;
    margin: 0 10px;
}

footer .social-links a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .about-cards, .services-grid, .gallery-grid {
        grid-template-columns: 1fr;
    }

    .about-anand-info {
        flex-direction: column;
        align-items: center;
    }

    .anand-image {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
}

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

/* WhatsApp Floating Button */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366; /* WhatsApp Green Color */
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.whatsapp-icon {
    width: 40px; /* Adjust size as needed */
    height: 40px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.whatsapp-button:hover {
    background-color: #128C7E; /* Darker shade of WhatsApp green */
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.2);
}

.whatsapp-button:hover .whatsapp-icon {
    transform: scale(1.1); /* Slight zoom effect on hover */
}
