@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Roboto:wght@400;500&display=swap');

/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px; /* Default body text size */
    line-height: 1.6; /* Comfortable line height for readability */
    color: #333; /* Body text color */
}

textarea {
    font-family: 'Roboto', sans-serif;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}


header {
    background: #0000cc;
    color: #fff;
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 10;
}

nav {
    display: flex;
    /* justify-content: space-between; */
    align-items: center;
    height: 100px;
    z-index: 10; /* Ensure nav is above hero */
    position: relative; /* Ensures it stays within the flow but above the hero */
    /* padding: 0; */
}


.nav-header {
    font-family: 'Roboto', sans-serif;
    font-size: 24px; /* Adjust size as needed */
    color: #fff; /* Text color */
    text-transform: uppercase; 
    margin-left: 10px; /* Adjust spacing as needed */
}

.logo {
    padding: 10px;
    display: flex
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo h1 {
    margin: 0;
    font-size: 2rem;
}

.logo img {
    height: 75px;
}

img {
    display: block;
}

h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px; /* Main heading size */
    font-weight: 700; /* Bold heading */
    color: #e91e63; /* Accent color for headings */
}

h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    font-weight: 600;
    color: #333;
}

h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px; /* Adjust based on specific heading */
    font-weight: 600;
    color: #333;
}

h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px; /* Adjust based on specific heading */
    font-weight: 600;
    color: #333;
}


.nav-links {
    list-style: none;
    margin-left: auto; /* Pushes nav-links to the right */
    display: flex;
}

.nav-links li {
    margin: 0 1rem;
}

.nav-links a {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px; /* Make nav links slightly larger */
    color: #fff;
    text-transform: uppercase; /* Optional, to make nav text stand out */
    text-decoration: none;
    letter-spacing: 1px;
}

/* Hamburger Icon */
.menu-icon {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-right: 20px;
}

.menu-icon, .nav-links {
    z-index: 11; /* Ensure above everything else */
}

.menu-icon .bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 4px 0;
}

/* Responsive Navigation Menu for Mobile */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background: #333;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-icon {
        display: flex;
    }

    .nav-links li {
        margin: 1rem 0;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    .nav-header {
        margin-left: 0px; /* Adjust spacing as needed */
    }
}


/* Mobile View */
@media (max-width: 768px) {
    .photo-gallery {
        flex-direction: column; /* Stack images vertically on mobile */
        align-items: stretch; /* Stretch images to fill the container width */
    }

    .photo-gallery img {
        width: 100%; /* Make each image take full width of the container */
        max-width: none; /* Remove max-width constraint */
        height: auto; /* Adjust height based on width while maintaining aspect ratio */
        border-radius: 10px; /* Keep border radius for styling */
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .hero-content h2 {
        font-size: 3rem;
        color: #fff;
    }
}

@media (min-width: 768px) {
    .hero-content h2 {
        font-size: 6rem;
        color: #fff;
    }
}


.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1; /* Ensure it's behind the header and nav */
    color: white; /* Default text color */
    transition: background-image 1s ease-in-out; /* Smooth transition effect */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Full-width semi-transparent overlay */
    z-index: 2; /* Ensure the overlay is above the image */
    display: flex;
    justify-content: center; /* Center the text horizontally */
    align-items: center; /* Center the text vertically */
}

.hero-content p {
    background: rgba(0, 0, 0, 0.5); /* Black background with 50% opacity */
    z-index: 2; 
    font-size: 1.5rem;
}

.hero-content .cta {
    padding: 0.75rem 2rem;
    background-color: #e91e63;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2rem;
    margin-top: 1.5rem;
    transition: background 0.3s ease;
}

.hero-content .cta:hover {
    background-color: #c2185b;
}

section {
    padding: 4rem 2rem;
    text-align: center;
}

.class-list, .contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.class-item, .contact-details, .contact-form {
    background: #f4f4f4;
    padding: 2rem;
    margin: 1rem;
    flex: 1;
    min-width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#recaptchaWrapper {
    display: flex;                /* Flexbox layout */
    justify-content: space-between; /* Keep captcha on the left and button on the right */
    align-items: center;          /* Vertically align */
    margin-bottom: 1rem;          /* Spacing below the wrapper */
    width: 80%;
}

.g-recaptcha {
    flex: 0 1 auto;               /* Maintain its natural size */
    
}

#recaptchaWrapper button {
    flex: 0;                      /* Natural size for the button */
    padding: 0.5rem 1rem;         /* Padding for the button */
    font-size: 1rem;              /* Consistent font size */
    cursor: pointer;              /* Pointer cursor */
}

/* Media query for smaller screens */
@media (max-width: 768px) {
    #recaptchaWrapper {
        flex-direction: column;    /* Stack items vertically */
        align-items: stretch;      /* Stretch items to match the form width */
    }

    
    .g-recaptcha {
        /* transform: scale(0.9); */
        transform-origin: 0 0; /* Align scaling to the top-left */
    }
    
    
    .g-recaptcha, #recaptchaWrapper button {
        
        margin-bottom: 1rem;       /* Add spacing between stacked items */
    }

    #recaptchaWrapper button {
        margin-bottom: 0;          /* No extra margin for the last item */
    }
}


.contact-container, h3 {
    padding-bottom: 1.5rem; /* Adjust this value as needed */
}

.contact-map, h2 {
    padding-bottom: 1rem; /* Adjust this value as needed */
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

form input, form textarea {
    width: 80%;
    padding: 0.75rem;
    margin: 0.5rem 0;
    border-radius: 5px;
    border: 1px solid #ddd;
}

form button {
    padding: 0.75rem 2rem;
    background-color: #e91e63;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#instructor {
    text-align: center; /* Center the heading */
}

.instructor-container {
    display: flex;
    flex-direction: column; /* Stack text on top of images */
    align-items: center; /* Center items horizontally */
    margin: 1rem; /* Space around the container */
    max-width: 2000px; /* Set a max width for the whole section */
    margin: auto; /* Center the container */
}

.instructor-text {
    background: #f4f4f4; /* Background for visibility */
    padding: 2rem; /* Padding around text */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Shadow for depth */
    width: 100%; /* Make text section take full width of the container */
    max-width: 500px; /* Limit the width of the text section */
    margin-bottom: 1rem; /* Space between text and images */
}

.instructor-images {
    display: flex; /* Use flexbox for images */
    justify-content: center; /* Center images horizontally */
    margin-right: 2rem; /* Space between images and text */
}

.instructor-images img {
    width: 100%;
    max-width: 200px; /* Limit the width for side-by-side images */
    height: auto;
    border-radius: 10px;
    margin: 0 0.5rem; /* Space between the two images */
}

.welcome-text {
    background: #f4f4f4; /* Background for visibility */
    padding: 2rem; /* Padding around text */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Shadow for depth */
    width: 100%; /* Make text section take full width of the container */
    max-width: 500px; /* Limit the width of the text section */
    margin-bottom: 1rem; /* Space between text and images */
}

.welcome-text p { /* Replace 'intro-section' with the ID or class of the container */
    margin-bottom: 1.5rem;
}

/* Media query for desktop responsiveness */
@media (min-width: 768px) {
    .instructor-images img {
        max-width: 300px; /* Adjust this value for larger images on desktop */
    }
    .instructor-text {
        max-width: 100%; /* Increase max width for desktop */
    }
    .welcome-text {
        max-width: 100%; /* Increase max width for desktop */
    }
/* Media query for mobile responsiveness */
@media (max-width: 768px) {
    .instructor-container {
        flex-direction: column; /* Stack everything vertically on mobile */
        align-items: center; /* Center content */
    }

    .instructor-images {
        flex-direction: column; /* Stack images vertically on mobile */
        margin-right: 0; /* Remove margin in mobile view */
        justify-content: center; /* Center images in mobile view */
        align-items: center; /* Align images in the center */
    }

    .instructor-text {
        max-width: none; /* Allow text section to take full width */
    }

    .instructor-images img {
        max-width: 100%; /* Make images take full width on mobile */
        margin: 0 0 1rem 0; /* Add space below each image */
    }

    .welcome-text {
        max-width: none; /* Allow text section to take full width */
    }
}


.centered-list {
    list-style-type: none; /* Remove bullets */
    padding-left: 0; /* Remove default padding */
    margin: 0; /* Remove default margin */
    text-align: center; /* Center the text within the list */
}

.centered-list li {
    margin-bottom: 0.5rem; /* Space between items */
    text-align: center; /* Center align the text of each item */
}

.whatsapp {
    padding: 10px;
    display: flex; /* Use flexbox for alignment */
    justify-content: center; /* Center the icons */
    gap: 1rem; /* Space between icons */
}

.social-links {
    display: flex; /* Use flexbox for alignment */
    justify-content: center; /* Center the icons */
    gap: 1rem; /* Space between icons */
}

.social-icon {
    font-size: 2rem; /* Adjust the size as needed (2rem is just an example) */
    color: #333; /* Set the color for the icons */
    text-decoration: none; /* Remove underline */
    transition: color 0.3s; /* Smooth transition for hover effect */
}

.social-icon:hover {
    color: #007bff; /* Change color on hover (customize as needed) */
}

footer {
    background: #0000cc;
    color: #fff;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}