/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #3d5ed4;
}

/* Header Styles */
header {
    background-color: #3d5ed4;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 30px;
}

.logo-image {
    height: 60px;
}

.school-name h1 {
    font-size: 24px;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: 0.3s;
}

nav ul li a:hover {
    text-decoration: underline;
}

/* Admissions Section */
#admissions, #registration\ requirements {
    background: white;
    padding: 40px;
    width: 80%;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#admissions ul {
    list-style: none;
    text-align: center;
}

#admissions ul li {
    margin: 10px 0;
}

#admissions ul li a {
    text-decoration: none;
    color: #3d5ed4;
    font-weight: bold;
}

#admissions ul li a:hover {
    text-decoration: underline;
}

/* Courses Section */
#courses {
    text-align: center;
    padding: 50px 20px;
    background-color: #f8f9fa; /* Light background for contrast */
}

/* Course Card Container */
.course-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 20px auto;
    max-width: 400px; /* Controls width */
    text-align: left;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* Hover Effect */
.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.15);
}

/* Course Card Title */
.course-card h3 {
    font-size: 1.5rem;
    color: #3d5ed4;
    border-bottom: 3px solid #3d5ed4;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

/* Course List */
.course-card p {
    font-size: 1rem;
    color: #333;
    margin: 5px 0;
}

/* Responsive Layout */
@media (min-width: 768px) {
    .course-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .course-card {
        max-width: 300px;
    }
}
/* Contact Section */
#contact {
    text-align: center;
    padding: 50px 20px;
    background: #f8f9fa;
}

/* Contact Form Container */
#contactForm {
    max-width: 500px;
    margin: 20px auto;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* Input Fields */
#contactForm input,
#contactForm textarea {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    transition: border 0.3s ease-in-out;
}

/* Input Focus Effect */
#contactForm input:focus,
#contactForm textarea:focus {
    border: 1px solid #3d5ed4;
    outline: none;
}

/* Placeholder Styling */
#contactForm input::placeholder,
#contactForm textarea::placeholder {
    color: #3d5ed4;
    font-size: 0.9rem;
}

/* Error Message */
.error-message {
    color: red;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 5px;
}

/* Submit Button */
#contactForm button {
    width: 100%;
    padding: 12px;
    border: none;
    background: #3d5ed4;
    color: white;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

/* Hover Effect */
#contactForm button:hover {
    background: #2c47a0;
}

/* Form Message */
#formMessage {
    text-align: center;
    font-size: 1rem;
    padding: 10px;
    border-radius: 8px;
}

/* Success Message */
#formMessage.success {
    background: #d4edda;
    color: #155724;
}

/* Error Message */
#formMessage.error {
    background: #f8d7da;
    color: #721c24;
}

/* Responsive Design */
@media (max-width: 600px) {
    #contactForm {
        padding: 15px;
    }
    
    #contactForm input,
    #contactForm textarea {
        font-size: 0.9rem;
    }

    #contactForm button {
        font-size: 0.9rem;
    }
}

/* Footer */
footer {
    background-color: #3d5ed4;
    color: white;
    padding: 20px;
    text-align: center;
    margin-top: 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
}

.contact-info, .social-handles, .creator {
    margin: 10px;
}

.creator strong {
    color: #1aed3d
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    .course-card {
        width: 90%;
    }
    
    #contact {
        width: 90%;
    }
}
/* Banner Section */
.banner {
    position: relative;
    width: 100%;
    height: 50vh; /* Adjust this for better visibility */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image scales properly */
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.banner h2, 
.banner p,
.banner button {
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background for readability */
    padding: 10px;
    border-radius: 5px;
}

/* Button Styling */
.banner button {
    background-color: #3d5ed4;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    margin-top: 10px;
    transition: 0.3s;
}

.banner button:hover {
    background-color: #2b4db3;
}

/* Responsive Design */
@media (max-width: 768px) {
    .banner {
        height: 40vh; /* Adjust height for smaller screens */
    }

    .banner h2 {
        font-size: 1.5rem;
    }

    .banner p {
        font-size: 1rem;
    }
}

/* Global Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
    color: #333;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #3d5ed4;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
}

.btn:hover {
    background-color: #2c47a3;
}

/* Section Styling */
section {
    width: 90%;
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    background: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    text-align: center;
}

/* Hero Section */
#hero {
    background: url('hero-banner.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 100px 20px;
    border-radius: 10px;
}

.hero-content h1 {
    font-size: 2.5em;
}

.hero-content p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

/* About Section */
#about {
    background-color: #fff8e1;
}

/* Featured Courses */
#featured-courses {
    background-color: #e3f2fd;
}

.courses-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.course {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 45%;
    min-width: 280px;
}

.course h3 {
    color: #3d5ed4;
}

/* Why Choose Us */
#why-choose-us {
    background-color: #fce4ec;
}

ul {
    list-style: none;
    padding: 0;
}

ul li {
    margin: 10px 0;
    font-size: 1.1em;
}

/* Testimonials */
#testimonials {
    background-color: #e8f5e9;
}

.testimonial {
    font-style: italic;
    font-size: 1.2em;
    margin: 20px 0;
}

/* Contact Section */
#contact {
    background-color: #ede7f6;
}

form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 600px;
    margin: auto;
}

input, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

textarea {
    height: 100px;
}

button {
    cursor: pointer;
}



.slideshow-container {
    position: relative;
    max-width: 100%;
    margin: auto;
}

.mySlides {
    display: none;
}

img {
    width: 100%;
    border-radius: 8px;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.dot {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot:hover {
    background-color: #717171;
}


