/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    color: #2c3e50;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #2c3e50;
}

.navbar .logo h1 {
    color: #fff;
    font-size: 1.8rem;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #f39c12;
}

.login-btn {
    background-color: #f39c12;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.login-btn:hover {
    background-color: #e67e22;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/hero.jpg') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 100px 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.cta-button {
    background-color: #f39c12;
    padding: 15px 30px;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2rem;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #e67e22;
}

/* Class Selection Section */
.class-selection {
    padding: 40px 20px;
    text-align: center;
    background-color: #fff;
}

.class-selection h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.class-selection #class-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.class-selection .class-option {
    background-color: #3498db;
    color: #fff;
    padding: 15px 30px;
    margin: 10px;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.class-selection .class-option:hover {
    background-color: #2980b9;
}

/* About Section */
.about {
    background-color: #ecf0f1;
    padding: 60px 20px;
    text-align: center;
}

.about .container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.about-text {
    max-width: 500px;
    margin: 0 auto;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.cta-button {
    background-color: #f39c12;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #e67e22;
}

/* Featured Courses Section */
.courses {
    padding: 60px 20px;
    background-color: #fff;
    text-align: center;
}

.courses h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.course-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.course-item {
    background-color: #3498db;
    color: #fff;
    padding: 30px;
    width: 250px;
    border-radius: 5px;
    text-align: center;
    transition: transform 0.3s;
}

.course-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.course-item p {
    font-size: 1rem;
    margin-bottom: 20px;
}

.course-item .cta-button {
    background-color: #f39c12;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.course-item:hover {
    transform: translateY(-10px);
}

.course-item:hover .cta-button {
    background-color: #e67e22;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

footer p {
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .class-selection #class-list {
        flex-direction: column;
        gap: 10px;
    }

    .about .container {
        flex-direction: column;
        text-align: center;
    }

    .course-list {
        flex-direction: column;
        gap: 10px;
    }

    .course-item {
        width: 100%;
    }
}
#chatbox {
    width: 300px;
    height: 400px;
    border: 1px solid #ccc;
    padding: 10px;
    display: flex;
    flex-direction: column;
  }
  
  #chat-messages {
    flex-grow: 1;
    overflow-y: auto;
  }
  
  #chat-input {
    width: calc(100% - 20px);
    padding: 10px;
  }
  
  #send-btn {
    padding: 10px;
  }
 

/* Chat Window Style */
#chat-container {
    position: fixed;
    bottom: 0;
    right: 20px;
    width: 300px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 10px;
    z-index: 9999;
}

/* Chat Box Messages Area */
#messages {
    max-height: 200px;
    overflow-y: auto;
    border-bottom: 1px solid #ccc;
    margin-bottom: 10px;
    padding-right: 5px;
}

/* Chat Input */
#message-input {
    width: 75%;
    padding: 10px;
    margin-right: 10px;
}

/* Buttons */
button {
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 3px;
}

button:hover {
    background-color: #45a049;
}

/* Group Creation Section */
#group-creation {
    margin-top: 20px;
    padding: 10px;
    border-top: 1px solid #ccc;
}
 
/* About Page Specific Styles */
#about-content {
    background-color: #ffffff;
    padding: 60px 20px;
    max-width: 1000px;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-align: left;
}

#about-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

#about-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #333;
}

#about-content ul {
    list-style: disc;
    margin-left: 20px;
    padding-left: 20px;
}

#about-content ul li {
    margin-bottom: 10px;
    font-size: 1rem;
    color: #555;
}
/* Additional About Page Sections */
#mission-vision, #achievements, #why-choose-us, #team {
    background-color: #ffffff;
    padding: 40px 20px;
    max-width: 1000px;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-align: left;
}

#mission-vision h2,
#achievements h2,
#why-choose-us h2,
#team h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

#mission-vision p,
#team p {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 15px;
}

#achievements ul,
#why-choose-us ul {
    list-style: disc;
    margin-left: 20px;
    padding-left: 20px;
}

#achievements li,
#why-choose-us li {
    font-size: 1rem;
    color: #555;
    margin-bottom: 10px;
}
/* Smooth Fade-in Animation for Sections */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#about-content,
#mission-vision,
#achievements,
#why-choose-us,
#team {
    animation: fadeInUp 0.8s ease-in-out;
}

/* Better Typography & Line Spacing */
#about-content p,
#mission-vision p,
#team p,
#achievements li,
#why-choose-us li {
    line-height: 1.8;
}

/* Optional: Add Checkmark Icon Before Each List Item */
#achievements ul li::before,
#why-choose-us ul li::before {
    content: "✔️";
    margin-right: 10px;
    color: #27ae60;
}

/* Responsive Padding for Small Screens */
@media (max-width: 600px) {
    #about-content,
    #mission-vision,
    #achievements,
    #why-choose-us,
    #team {
        padding: 30px 15px;
    }

    #about-content h2,
    #mission-vision h2,
    #achievements h2,
    #why-choose-us h2,
    #team h2 {
        font-size: 1.6rem;
    }
}
body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
    font-family: 'Poppins', sans-serif;
}
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
        url('images/hero.jpg') no-repeat center center/cover;
    padding: 100px 20px;
    color: #fff;
    text-align: center;
    position: relative;
}

.hero .highlight {
    color: #f39c12;
}
/* Admissions Section */
.admissions {
    background-color: #ecf0f1;
    padding: 60px 20px;
    text-align: center;
}

.admissions h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.admissions p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
}

.admission-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.admission-form label {
    display: block;
    margin-top: 20px;
    font-weight: bold;
    color: #2c3e50;
}

.admission-form input,
.admission-form select,
.admission-form textarea {
    width: 100%;
    padding: 12px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    background-color: #fdfdfd;
    transition: border 0.3s;
}

.admission-form input:focus,
.admission-form select:focus,
.admission-form textarea:focus {
    border-color: #3498db;
    outline: none;
}
.admission-form button {
    margin-top: 25px;
    background-color: #f39c12;
    color: #fff;
    border: none;
    padding: 12px 25px;
}
.contact-section {
    background-color: #fff;
    padding: 60px 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    margin-top: 40px;
}

.contact-section h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.contact-section p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
}

.contact-info p {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #333;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
    background-color: #fdfdfd;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.contact-form label {
    display: block;
    margin-top: 20px;
    font-weight: bold;
    color: #2c3e50;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    background-color: #fdfdfd;
    transition: border 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #3498db;
    outline: none;
}

.contact-form button {
    margin-top: 25px;
    background-color: #f39c12;
    color: #fff;
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background-color: #e67e22;
}
html {
    scroll-behavior: smooth;
}
