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

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Body Styling */
body {
    padding-top: 80px; /* Adjust based on the height of your header */
    font-family: 'Sora', sans-serif;
    line-height: 1.6;
    color: #141414;
    background-color: #f9f9f9;
    margin: 10px;
    font-size: 14px;
}

/* logo wpp */

#fixed-image-button {
    position: fixed; /* Keep it fixed on the screen */
    bottom: 20px;    /* Distance from the bottom of the screen */
    right: 20px;      /* Distance from the left of the screen */
    width: 50px;     /* Adjust the width of the image */
    height: auto;    /* Keep aspect ratio */
    cursor: pointer; /* Show pointer cursor when hovered */
    z-index: 1000;   /* Ensure it stays above other content */
}

/* Header Styling */
header {
    background-color: rgba(249, 249, 249, 0.8);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 95px; /* Default desktop height */
    transition: all 0.3s ease-in-out;
}

/* Logo Container */
.logo-container {
    display: flex;
    align-items: center; /* Vertically center the logo inside the container */
    height: 100%; /* Make sure it takes up the full height of the header */
    flex: 1;
}

/* Logo Styling */
.logo {
    flex: 1;
    max-height: 75px; /* Ensure the logo fits within the header's height */
    height: auto;
    width: auto;
    object-fit: contain; /* Maintain the aspect ratio of the logo */
    margin-left: 20px;
    background-color: rgb(249, 249, 249);
    padding: 0px;
    border-radius: 10px;
}

/* Navigation Menu Styling */
.navigation-menu {
    display: flex;
    justify-content: space-between; /* Space between logo and nav links */
    align-items: center;
    padding: 10px 20px;
    width: 100%; /* Ensure full width */
    position: relative;
    z-index: 1000;
}

.navigation-menu ul {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 3; /* Let nav links take more space */
    justify-content: flex-end;
}

.navigation-menu ul li {
    list-style: none;
}

.navigation-menu ul li a {
    text-decoration: none;
    font-weight: bold;
    color: #6E278A; /* Theme's primary purple */
    padding: 10px;
    transition: color 0.3s ease-in-out;
}

.navigation-menu ul li a:hover {
    color: #CF6DB5; /* Light purple on hover */
}

/* Burger Menu Icon */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px; /* Increase the width to make room for padding */
    height: 30px; /* Increase the height to make room for padding */
    padding: 5px; /* Add internal space between the border and the lines */
    background-color: white;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2000;
    cursor: pointer;
    box-sizing: border-box; /* Ensure padding doesn't affect the overall size */
    border-radius: 5px;
}

.burger-menu span {
    width: 100%;
    height: 3px;
    background-color: #6E278A; /* Primary purple color */
}

@media (max-width: 768px) {
    .navigation-menu {
        flex-direction: row;
    }

    .burger-menu {
        display: flex;
        position: fixed;
        top: 20px;
        right: 20px;
    }

    .navigation-menu ul {
        display: none; /* Hide nav links initially */
        flex-direction: column;
        position: absolute;
        top: 80px;
        right: 0;
        width: 100%;
        background-color: #fff;
    }

    .navigation-menu.open ul {
        display: flex; /* Show nav links on burger menu click */
    }

    .logo-container {
        flex: 1; /* Keep the logo visible */
    }

    .navigation-menu ul li {
        margin: 10px 0;
    }
}

/* Studio Images Section */
#studio-images-section {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 50vh; /* Initial height */
    max-height: 80vh; /* Maximum height of 80% of the viewport */
    transition: height 0.8s ease-in-out; /* Smooth height transition */
    overflow: hidden;
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove default padding */
}

.studio-image-container {
    display: flex;
    width: 100%;
    height: 100%; /* Takes up full height of the section */
    gap: 0; /* No gap between the images */
    margin: 0; /* Remove any default margin */
    padding: 0; /* Remove any default padding */
}

/* Individual Image Containers */
.image-container {
    flex: 1; /* Each image takes up one-third of the width */
    position: relative;
    overflow: hidden;
    transition: flex 0.8s ease, z-index 0s ease 0.8s; /* Smooth expansion and z-index change */
    margin: 0; /* No margin between image containers */
    padding: 0; /* No padding inside image containers */
}

/* Images inside the container */
.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image fills the container without distorting */
    transition: transform 0.8s ease-in-out; /* Smooth zoom on hover */
    transform: scale(1); /* Default state */
    margin: 0; /* Ensure no margin on the images */
    padding: 0; /* Ensure no padding on the images */
}

/* On hover, expand the image */
.image-container:hover {
    flex: 3; /* Expand the hovered image */
    z-index: 10; /* Bring it above other images */
}

/* Zoom the image inside the container on hover */
.image-container:hover img {
    transform: scale(1.2); /* Slight zoom on the image */
}

/* General Hero Section Styling */
#hero {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 60vh; /* Change from 100vh to auto to fit content */
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    padding-bottom: 0; /* Remove any padding that may cause extra space */
    padding-top: 0; /* Ensure there's no top padding pushing content down */
}

/* Hero's Image Div */
.hero-image-div {
    display: flex;
    width: 100%;
    height: 100vh; 
    position: relative;
    z-index: 2; /* Higher z-index than the hero-text-div */
    transition: height 0.8s ease-in-out; /* Smooth transition for height */
    gap: 0; /* No gap between images */
}

.image-container {
    flex: 1; /* Each image takes up one-third of the width */
    position: relative;
    overflow: hidden;
    transition: flex 0.8s ease, z-index 0s ease 0.8s; /* Smooth transition for flex and z-index */
}

/* Hover effect - expanding image */
.image-container:hover {
    flex: 3; /* Expand the hovered image */
    z-index: 10; /* Higher z-index during hover */
}

.image-container:hover img {
    transform: scale(1.2); /* Zoom the image */
}

/* Expand the hero-image-div to full viewport height on hover */
.image-container:hover ~ .hero-image-div {
    height: 100vh; /* Expand the image div to full height */
}

/* Hero's Text Div */
.hero-text-div {
    width: 100%;
    height: 60vh; /* Change height to auto to fit the content */
    background: url('/Images/herobg.webp') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Push the text div down when the image expands */
.image-container:hover ~ .hero-text-div {
    transform: translateY(100%); /* Push the text div down out of view */
}

/* Hero Text Styling */
.hero-text {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-text h1,
.hero-text h2 {
    display: inline-block; /* So that the background wraps around the text */
    background-color: rgba(0, 0, 0, 0.3); /* Black background with 0.7 alpha transparency */
    padding: 10px 20px; /* Padding around the text */
    border-radius: 15px; /* Rounded corners */
    margin: 10px 0; /* Space between h1 and h2 */
}

.hero-text h1 {
    font-size: 48px;
    font-weight: bold;
    color:rgb(245, 214, 237)
}

.hero-text h2 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #f19edb
}

/* Button Styling */
.hero-button {
    overflow: visible;
    padding: 15px 30px;
    background-color: #6E278A;
    color: #ebebeb;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s ease-in-out;
    z-index: 1000;
}

.hero-button:hover {
    background-color: #CF6DB5;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 36px;
    }

    .hero-text h2 {
        font-size: 16px;
    }

    section {
        scroll-margin-top: 80px;
    }
}

/* Section Styling */
section {
    scroll-margin-top: 105px;
    padding: 
    0;
    margin-bottom: 0;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #6E278A;
    text-align: center;
}


/* Reasons and Classes Section */
#reasons-classes {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-top: 0; /* Ensure no space before the reasons section */
    padding-top: 0; /* Remove padding at the top of the reasons section */
}

.reasons, .classes {
    flex: 1;
    padding: 20px;
}

.reasons ul, .classes ul {
    list-style-type: disc; margin-left: 20px;
    padding-left: 0;
}

.reasons ul li, .classes ul li {
    margin-bottom: 10px;
    color: #0D0D0D;
}

/* FAQ Section */
#faq {
    padding: 50px 20px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background-color: #f1c0e4;
}

#faq h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #6E278A;
    
}

.faq-item {
    margin-bottom: 0;
}

.faq-item h3 {
    font-size: 1.2rem;
    margin: 0;
    color: #0D0D0D;
}

.faq-item .faq-answer {
    margin-top: 10px;
    color: #333;
}

/* Courses Section */
#courses {
    padding: 50px 0;
    background-color: #fff;
}

#courses h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #6E278A;
    text-align: center;
}

.courses-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
}

.course-item {
    position: relative;
    width: calc(33.333% - 20px);
    padding-top: 20%;
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
    text-align: center;
}

.course-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.course-item h3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    
    transition: top 0.3s ease-in-out;
}

.course-description {
    position: absolute;
    bottom: -100%; /* Position it below the course item initially */
    left: 50%; /* Align horizontally to the center */
    transform: translateX(-50%); /* Adjust horizontal centering */
    padding: 20px;
    background: rgba(255, 255, 255, 0.9); /* Background for visibility */
    text-align: center; /* Center the text inside the description */
    width: 100%; /* Set width to 100% of the course item */
    transition: transform 0.3s ease-in-out; /* Animation for sliding */
    z-index: 1;
}

.course-item:hover {
    transform: scale(1.10);
}

.course-item:hover h3 {
    top: 20px;
}

.course-item:hover .course-description {
    bottom: 50%; /* Move it to the center vertically */
    transform: translate(-50%, 50%); /* Horizontally and vertically center */
}

/* Contact Form Section */
#contact-form {
    padding: 50px 20px; /* Add horizontal padding */
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    height: auto; /* Remove the max-height to prevent clipping */
    overflow: visible; /* Ensure the content isn't clipped */
}

.iframe-container {
    width: 100%;
    max-width: 640px;
    height: 600px;
    overflow: hidden;
    border-radius: 10px;
    margin: 0 auto;
    padding: 20px 0;
}

#contact-form form {
    margin-bottom: 50px; /* Add a bottom margin to ensure spacing between sections */
}

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

p {
    margin: 15px;
}

#location {
    text-align: center; /* Center the heading text */
    background-color: #f1c0e4;
}

#location-container {
    display: flex; /* Flex container for the two divs */
    justify-content: space-between; /* Space between the divs */
    align-items: flex-start; /* Align divs at the top */
}

#location div {
    flex: 1; /* Make both divs take equal space */
    padding: 10px;
    box-sizing: border-box; /* Ensure padding is included in the div width */
}

#location iframe {
    width: 100%; /* Make the iframe take full width of its container */
    height: 300px; /* Preserving the height of the iframe */
    border: 0;
}


/* Media Queries for Mobile Adaptability */
@media only screen and (max-width: 768px) {
    /* Ensure that side-by-side sections stack vertically on smaller screens */
    header {
        background-color: none; !important
        padding: 10px 20px; /* Adjust padding to fit the logo better */
        display:flex;
        justify-content:center; /* Center the content horizontally */
        align-items:center;
    }
    
    .hero-content {
        flex-direction: column;
    }

    .courses-grid {
        flex-direction: column;
    }

    .course-item {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        width: 100%; /* Full width on mobile */
        height: auto; /* Let it adjust based on content */
        position: relative; /* Ensure the content stays within the item */
    }

    .course-item:hover .course-description {
        transform: none; /* Keep vertical slide-up only */
    }

    .course-item .course-description {
        position: static; /* Keep it within the normal flow of the document */
        transform: none;  /* No transformations */
        top: auto;        /* No top positioning needed */
        padding: 20px;    /* Ensure padding for content */
        background: rgba(255, 255, 255, 0.9); /* Background for readability */
        z-index: 1;       /* Ensure it stays above the image */
        text-align: center; /* Center the text inside the description */
        flex-grow: 1;     /* Allow it to grow and take up available space */
        display: flex;
        justify-content: center; /* Vertically center the content */
        align-items: center; /* Center text inside the description */
    }

    .course-item h3 {
        position: absolute; /* Position the h3 inside the course item */
        top: 10px;          /* Align the h3 at the top of the item */
        left: 50%;          /* Center it horizontally */
        transform: translateX(-50%); /* Adjust horizontal centering */
        margin: 0;          /* Remove margin to prevent offset */
        padding: 10px;      /* Padding for spacing around the text */
        z-index: 2;         /* Ensure it is above the image */
        color: #fff;        /* White text color for visibility */
        text-align: center; /* Center the text within the element */
    }

    #reasons-classes {
        flex-direction: column;
    }

    #location-container {
        flex-direction: column; /* Stack the divs vertically */
        align-items: center;    /* Center the divs horizontally */
    }

    #location div {
        width: 100%;   /* Make each div take the full width of the container */
        padding: 10px; /* Adjust padding as needed */
    }

    #location iframe {
        width: 100%;   /* Ensure the iframe is responsive */
        height: auto;  /* Adjust the height for mobile */
    }
}

    /* Adjust padding and margins */
    section, .hero-content {
        padding: 20px;
        margin-bottom: 0;
    }

    .hero-text h1 {
        font-size: 36px; /* Adjust heading size for smaller screens */
    }

    .hero-text h2 {
        font-size: 14px; /* Adjust subheading size for smaller screens */
    }

      header .logo {
        position: fixed;
        top: 5px;
        left: 20px;
        z-index: 1100;
    }

