/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background-color: #1a2a3d; /* Dark blue background */
  color: #fff; /* White text color for contrast */
  line-height: 1.6;
  padding-top: 70px; /* Add space for fixed header */
}

/* Header Section - Fixed */
header {
  background-color: #112a47; /* Darker blue header */
  position: fixed; /* Fix header to top */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000; /* Ensure the header is always on top */
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); /* Optional: Adds shadow for better visibility */
}

header nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

header nav ul li {
  display: inline;
  margin: 0 15px;
}

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

header nav ul li a:hover {
  text-decoration: underline;
}

/* Hero Section (Home Page) */
.hero {
  background-image: url('https://source.unsplash.com/1600x900/?housing,apartment'); /* Random housing image */
  background-size: cover;
  background-position: center;
  height: 60vh;
  color: #fff;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

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

.cta-button {
  background-color: #f07a36; /* A bright orange color */
  color: #fff;
  padding: 10px 20px;
  font-size: 1.2rem;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.cta-button:hover {
  background-color: #d0622b; /* Darker orange on hover */
}

/* About Page */
.about-intro, .curriculum, .instructors {
  padding: 20px;
  margin: 20px auto;
  max-width: 1000px;
  background-color: #273a5c; /* Slightly lighter blue for section background */
  border-radius: 10px;
}

.about-intro h1, .curriculum h2, .instructors h2 {
  color: #f07a36; /* Orange color for headings */
}

ul {
  list-style: none;
}

ul li {
  margin: 10px 0;
}

/* Contact Page */
.contact-intro {
  padding: 20px;
  text-align: center;
  background-color: #273a5c;
  margin-bottom: 20px;
}

.contact-form {
  background-color: #273a5c;
  padding: 20px;
  max-width: 600px;
  margin: 0 auto;
  border-radius: 8px;
}

.contact-form label {
  display: block;
  margin: 10px 0 5px;
}

.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #f7f7f7;
  color: #333;
}

.contact-form button {
  background-color: #f07a36;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.1rem;
}

.contact-form button:hover {
  background-color: #d0622b;
}

/* Footer */
footer {
  background-color: #112a47;
  padding: 10px;
  text-align: center;
  margin-top: 20px;
}

footer p {
  font-size: 14px;
}

footer a {
  color: #fff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.2rem;
  }

  .cta-button {
    font-size: 1rem;
  }

  header nav ul li {
    display: block;
    margin-bottom: 10px;
  }

  .contact-form {
    width: 90%;
  }
}
