/* General Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header Styles */
header {
  background: #333;
  color: #fff;
  padding: 10px 0;
  text-align: center; /* Center-align header content */
}

.logo-title {
  display: flex;
  align-items: center;
  justify-content: center; /* Center-align logo and title */
  gap: 10px; /* Space between logo and title */
}

.logo {
  width: 30px; /* Adjust logo size */
  height: 30px;
}

header h1 {
  margin: 0;
  font-size: 24px;
}

header nav ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0; /* Space between title and menu */
  display: flex;
  justify-content: center; /* Center-align menu */
  gap: 20px;
}

header nav ul li a {
  color: #fff;
  text-decoration: none;
}

/* Hero Section */
.hero {
  background: url('https://images.pexels.com/photos/4144222/pexels-photo-4144222.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1') no-repeat center center/cover;
  color: #fff;
  padding: 100px 0;
  text-align: center;
}

.hero h2 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 24px;
  margin-bottom: 20px;
}

.cta-button {
  background: #ff6f61;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
}

/* About Section */
.about {
  padding: 50px 0;
  text-align: center;
}

.about-image {
  max-width: 100%;
  height: auto;
  margin-top: 20px;
}

/* Courses Section */
.courses {
  padding: 50px 0;
  text-align: center;
}

.course-list {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.course-item {
  width: 30%;
  margin-bottom: 20px;
}

.course-item img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Contact Section */
.contact {
  padding: 50px 0;
  text-align: center;
}

.contact form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact form input, .contact form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.contact form button {
  background: #333;
  color: #fff;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* Footer Styles */
footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 20px 0;
}