* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

body {
  background-color: #f4f4f4;
  color: #333;
}

/* Hero Section */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 80vh;
  background: url('imgages/img2.jpg') no-repeat center center/cover;
  color: white;
  text-align: center;
  padding: 20px;
}

.hero h2 {
  font-size: 27px;
  margin-bottom: 20px;
  margin-top: 70px;
  font-weight: 700;
  letter-spacing: 2px;
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
  font-weight: 300;
  max-width: 600px;
}

.hero button {
  background-color: #ff6f61;
  color: white;
  padding: 12px 30px;
  border: none;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border-radius: 5px;
  margin: 10px;
}

.hero button:hover {
  background-color: #ff3f2a;
}

/* Featured Courses */
#courses {
  padding: 60px 30px;
  background-color: white;
  text-align: center;
}

#courses h3 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #0077cc;
}

#courses .courses-list {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.course-card {
  background-color: #f9f9f9;
  width: 250px;
  padding: 20px;
  margin: 10px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.course-card h4 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #0077cc;
}

.course-card p {
  font-size: 16px;
  color: #555;
}

.course-card button {
  background-color: #0077cc;
  color: white;
  padding: 10px 20px;
  font-size: 14px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 10px;
  transition: background-color 0.3s ease;
}

.course-card button:hover {
  background-color: #005fa3;
}

/* Testimonials Carousel */
#testimonials {
  padding: 60px 30px;
  background-color: #f0f8ff;
  text-align: center;
}

#testimonials h3 {
  font-size: 32px;
  color: #0077cc;
  margin-bottom: 30px;
}

.carousel-container {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  margin: 0 auto;
}

.carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-item {
  min-width: 100%;
  box-sizing: border-box;
  text-align: center;
  padding: 20px;
}

.carousel-item blockquote {
  font-size: 18px;
  font-style: italic;
  color: #333;
  margin: 20px;
  max-width: 600px;
  margin: 20px auto;
  position: relative;
}

.carousel-item blockquote:before,
.carousel-item blockquote:after {
  content: "“";
  font-size: 50px;
  color: #ff8a00;
  position: absolute;
}

.carousel-item blockquote:before {
  left: -25px;
  top: -15px;
}

.carousel-item blockquote:after {
  right: -25px;
  bottom: -15px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 30px;
  padding: 10px;
  border: none;
  cursor: pointer;
  z-index: 2;
  transform: translateY(-50%);
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

.carousel-btn:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

/* Enrollment Section */
#enrollment {
  padding: 60px 30px;
  background-color: #0077cc;
  color: white;
  text-align: center;
}

#enrollment h3 {
  font-size: 32px;
  margin-bottom: 20px;
}

#enrollment p {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

#enrollment button {
  background-color: #ff6f61;
  color: white;
  padding: 15px 30px;
  font-size: 18px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border-radius: 5px;
}

#enrollment button:hover {
  background-color: #ff3f2a;
}

/* Contact Form */
#contact {
  padding: 60px 30px;
  background-color: #f9f9f9;
  text-align: center;
}

#contact h3 {
  font-size: 32px;
  color: #0077cc;
  margin-bottom: 20px;
}

#contact form {
  max-width: 600px;
  margin: 0 auto;
}

#contact input,
#contact textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

#contact button {
  background-color: #0077cc;
  color: white;
  padding: 15px 30px;
  font-size: 18px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

#contact button:hover {
  background-color: #005fa3;
}

/* Footer */
footer {
  background-color: #0077cc;
  color: white;
  text-align: center;
  padding: 20px 30px;
}

footer ul {
  list-style-type: none;
  margin: 10px 0;
  padding: 0;
}

footer ul li {
  display: inline-block;
  margin-left: 20px;
}

footer ul li a {
  color: white;
  text-decoration: none;
  font-size: 14px;
}

footer ul li a:hover {
  color: #ff6f61;
}

footer p {
  margin-top: 10px;
  font-size: 14px;
}
