/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* General body styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #141212;
}

a {
    text-decoration: none;
    color: #b8d419;
}

ul {
    list-style: none;
}

/* Header and Navbar */
header {
    background: #4e54c8;
    color: white;
    padding: 1rem 0;
}

.navbar {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a.btn {
    background-color: #fff;
    color: #4e54c8;
    padding: 8px 16px;
    border-radius: 5px;
    font-weight: bold;
}

/* Hero Section */
.hero {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-content {
    flex: 1;
    padding-right: 2rem;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.highlight {
    color: #4e54c8;
    font-weight: bold;
}

.hero-content p {
    margin-bottom: 1.5rem;
}

.hero-content .btn {
    background-color: #4e54c8;
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 1rem;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

/* Section styles */
section {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: auto;
    background: #fff;
    margin-top: 2rem;
    border-radius: 10px;
}

/* About Section */
.about-image img {
    max-width: 100%;
    height: auto;
    margin-top: 1rem;
}

/* Course Cards */
.course-list, .testimonial-list {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
    background: #f1f1f1;
    padding: 1.5rem;
    border-radius: 10px;
    width: 300px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.card img {
    max-width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.card h3, .card h4 {
    margin: 0.5rem 0;
}

.card p {
    font-size: 0.95rem;
    color: #555;
}

/* Mentors Section */
.mentor-list .card {
    margin-top: 2rem;
}

/* Contact Form */
form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: auto;
}

input, textarea {
    padding: 12px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button.btn {
    background-color: #4e54c8;
    color: white;
    padding: 12px;
    font-size: 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

/* FAQ Section */
details {
    background-color: #f1f1f1;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 5px;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background: #4e54c8;
    color: white;
    margin-top: 2rem;
}

footer iframe {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }

    .hero {
        flex-direction: column;
    }

    .hero-content, .hero-image {
        padding: 0;
    }

    .course-list, .testimonial-list {
        flex-direction: column;
        align-items: center;
    }
}
/* About Section Styling */
.about {
  padding: 60px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.about h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #222;
}

.about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.about-content img {
  max-width: 300px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.about-content p {
  max-width: 800px;
  font-size: 1.1rem;
  color: #444;
  line-height: 1.6;
}

/* Responsive layout */
@media (min-width: 768px) {
  .about-content {
    flex-direction: row;
    justify-content: center;
    text-align: left;
  }

  .about-content p {
    margin-left: 30px;
  }
}

