body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

header {
    background: #ffffff;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    position: relative;
}

/* header .logo {
    font-size: 1.5rem;
    font-weight: bold;
} */

nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

nav a {
    color: #000000;
    text-decoration: none;
    font-size: 1rem;
    padding: 5px 10px;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #f56a21;
}

.search-bar {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 20px;
    overflow: hidden;
}

.search-bar input {
    border: none;
    outline: none;
    font-size: 1rem;
    padding: 5px 10px;
    width: 100px;
}

.search-bar button {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
}

.search-bar img {
    width: 16px;
    height: 16px;
}

.login-btn {
    background: #f56a21;
    color: #fff;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background: #fff;
    color: #f56a21;
    border: 2px solid #f56a21;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: #000000;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1000;
}

.hero {
    background: #F48120;
    color: #fff;
    display: flex;
    /* text-align: center; */
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    height: 60vh;
    /* position: relative; */
    box-sizing: border-box;
    /* overflow: hidden; */
}

.hero button {
    background: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1rem;
}

.hero-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.hero-text, .hero-image {
    flex: 1;  
    box-sizing: border-box; 
}

.hero-text {
    /* flex: 1; */
    text-align: center;
    padding-right: 10%;
    padding-left: 10%;
    /* justify-content: center; */
    z-index: 1;
    
}
#pid {
    text-align: justify;
    padding-right: 10%;
    padding-left: 10%;
}
.hero-image {
    flex: 1;
    /* padding-left: 10px 10px 10px 10px; */
    /* padding: 20px; */
    position: relative;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    overflow: hidden;
    /* z-index: 0; */

}

.hero-image img {
    width: 100%;
    height: 100%;
    /* border-radius: 10px; */
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%); 
    object-fit: cover;

}

.hero-text h1,
.hero-text p {
    margin: 0;
    padding: 0;
    color: #fff;  /* White text for contrast */
}

#about h2 {
    margin-bottom: 40px;
    font-size: 2rem;
    font-weight: bold;
}

#about p {
    margin-bottom: 40px;
    font-size: 1rem;
    padding-left: 10%;
    padding-right: 10%;
    line-height: 1.9;
    text-align: center;
}

#about {
    padding: 50px 20px;
    background-color: #ffffff;
    text-align: center;
}

#about h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 30px;
}

.about-container-wrapper {
    background-color: #F48120; /* Orange background */
    padding: 20px;
    border-radius: 10px;
    margin: 0 auto;
    max-width: 1200px; /* Constrains the width of the background */
}

/* Container for Main Content */
.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap; /* Makes it responsive */
    text-align: left;
}

.about-text {
    flex: 1;
    font-size: 1rem;
    line-height: 1.6;
    color: #ffffff;
    max-width: 600px;
    margin: 0 auto;
    /* padding-right: 10%; */
}

#about p {
    text-align: justify;
}
.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.about-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    border: 10px solid #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Extra Photos Styling */
.extra-photos {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Makes it responsive */
}

.extra-photos img {
    width: 30%;
    max-width: 300px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.extra-photos img:hover {
    transform: scale(1.05);
}
section {
    padding: 20px;
    text-align: center;
}

/* .course {
    background: #ffe5d0;
    margin: 10px;
    padding: 15px;
    border-radius: 10px;
    display: inline-block;
    width: 500px;
    /* text-align: center; 
    margin-bottom: 30px;
}

#courses h2{
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 30px;
}

#cid-list {
    list-style-type: disc; /* Displays bullet points 
    margin-left: 20px; /* Adds some space from the left 
    padding: 0;
}

#cid-list li {
    margin-bottom: 5px; /* Adds spacing between list items 
    line-height: 1.6; /* Improves readability 
} */


#courses {
    padding: 50px 50px;
    background-color: #f9f9f9;
    text-align: center;
}

#courses h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 30px;
}

.course h3{
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
}
.courses-container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap; /* Makes it responsive */
    justify-content: center; /* Centers the courses */
}

.course {
    background: #ffe5d0;
    padding: 20px;
    border-radius: 10px;
    width: 45%; /* Each course takes up about 45% of the width */
    margin-bottom: 30px;
    text-align: left; /* Aligns text inside the course to the left */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#cid-list {
    list-style-type: disc;
    margin-left: 20px;
    padding: 0 50px;
    text-align: left; /* Ensures the list is left-aligned */
}

#cid-list li {
    margin-bottom: 5px;
    line-height: 1.6;
}

.course p {
    margin: 10px 0;
    padding: 0 10px;
}





/* Why Choose Us */
#why {
    padding: 50px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

#why h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 30px;
}

/* Container Layout */
.why-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.why-images {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap; /* For responsiveness */
}

.why-images img {
    width: 100%;
    max-width: 35%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    transition: transform 0.3s ease;
}

.why-images img:hover {
    transform: scale(1.05); /* Slight zoom effect on hover */
}

/* Text Styling */
.why-text {
    max-width: 50%;
    /* text-align: center; */
    line-height: 1.8;
    font-size: 1.2rem;
    color: #555;
    font-weight: bold;
    text-align: justify;
}

.why-text p {
    margin: 0;
}

/*Testimonials*/
#testimonials {
    padding: 50px 20px;
    text-align: center;
}

#testimonials h2 {
    margin-bottom: 40px;
    font-size: 2rem;
    font-weight: bold;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two columns for the first row */
    grid-template-rows: repeat(3, auto); /* Two rows */
    gap: 40px; /* Space between items */
    /* justify-items: center; Center content in each grid cell */
}

.testimonial-item {
    display: flex;
    align-items: center;  /* Align items vertically in the first row */
    justify-content: space-between; /* Space between image and text */
    text-align: left;
    width: 100%;
    grid-column: span 2;
}

.testimonial-img {
    flex: 1;
    display: flex;
    justify-content: center;
}

.testimonial-img img {
    width: 200px; /* Set the size of the student image */
    height: 200px; /* Set the size of the student image */
    border-radius: 50%; /* Make the image circular */
    margin-right: 20px; /* Space between image and text */
}

.testimonial-text {
    flex: 2;
    text-align: left;
    padding-right: 10%;
}

.testimonial-img, .testimonial-text {
    flex: 1;  
    box-sizing: border-box; 
}
.testimonial-text blockquote {
    font-style: italic;
    font-size: 1.1rem;
    color: #555;
    margin: 0;
}


#contact h2 {
    margin-bottom: 40px;
    font-size: 2rem;
    font-weight: bold;
}


footer {
    background: #F48120;
    color: #fff;
    text-align: center;
    padding: 10px 20px;
}

footer .social-icons a {
    color: #fff;
    margin: 0 5px;
    text-decoration: none;
}

/* Media Queries for Responsiveness */

/* For tablets (768px and below) */
@media (max-width: 768px) {
    /* header {
        flex-direction: column;
        align-items: flex-start;
    } */

    nav {
        display: none;
        flex-direction: column;
        background: #333;
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        padding: 20px;
    }

    nav a {
        font-size: 1rem;
        padding: 10px 0;
        text-align: center;
    }

    .search-bar {
        width: 100%;
        margin: 10px 0;
    }

    .login-btn {
        text-align: center;
        margin-top: 10px;
    }

    /* Show Hamburger Icon */
    .hamburger {
        display: block;
    }

    /* Show Nav Menu When Active */
    nav.active {
        display: flex;
    }

    /* .hero-image img {
        clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%);
    } */

    .hero-content {
        flex-direction: column;  /* Stack text and image vertically */
    }

    .hero-image {
        padding: 10px;  /* Adjust padding for smaller screens */
    }

    .hero-text {
        padding: 10px;  /* Adjust padding for smaller screens */
    }

    .hero {
        padding: 10px;  /* Adjust padding for smaller screens */
    }

    .course {
        width: 100%; /* On smaller screens, courses will take full width */
    }
}

/* For mobile phones (480px and below) */
@media (max-width: 480px) {
    header {
        padding: 10px;
    }

    .logo {
        font-size: 1.2rem;
    }

    nav a {
        font-size: 0.9rem;
    }

    .search-bar input {
        font-size: 0.8rem;
    }

    .login-btn {
        padding: 4px 10px;
        font-size: 0.8rem;
    }

    /* .hero-image img {
        clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%);
    }*/

    .hero {
        padding: 5px;  /* Reduce padding on very small screens */
    }
}