/* ===== Reset and Base Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f4f4f4;
  color: #333;
  line-height: 1.6;
}

a {
  color: #0066cc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ===== Header and Navigation ===== */
header {
  background-color: #003366;
  color: white;
  padding: 1rem 0;
  text-align: center;
}

header h1 {
  margin-bottom: 0.5rem;
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background-color: #002244;
  padding: 0.5rem 0;
}

nav ul li {
  margin: 0 1rem;
}

nav ul li a {
  color: white;
  text-decoration: none;
  padding: 0.5rem;
  transition: background 0.3s ease;
}

nav ul li a:hover {
  background-color: #004080;
  border-radius: 4px;
}

nav ul li a.active {
  font-weight: bold;
  border-bottom: 2px solid #fff;
}

/* ===== Main Content Layout ===== */
main {
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

section {
  margin-bottom: 2.5rem;
}

h2, h3 {
  color: #003366;
  margin-bottom: 1rem;
}

ul, ol {
  margin-left: 1.5rem;
  margin-top: 0.5rem;
}

ul li, ol li {
  margin-bottom: 0.5rem;
}

/* ===== Hero Section (Homepage) ===== */
.hero {
  background-color: #e6f0ff;
  padding: 3rem;
  text-align: center;
  border-radius: 8px;
}

.hero h2 {
  margin-bottom: 1rem;
}

.cta-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #0066cc;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  margin-top: 1rem;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #004c99;
}

/* ===== Highlights Section with Cards ===== */
.highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  background-color: white;
  border-radius: 5px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  flex: 1 1 300px;
  max-width: 350px;
}

.card h3 {
  margin-bottom: 0.75rem;
}

.card p, .card ul {
  font-size: 0.95rem;
}

/* ===== Contact Form ===== */
.contact-form {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 5px;
  max-width: 600px;
  margin-top: 1.5rem;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
}

.contact-form button {
  padding: 0.75rem 1.5rem;
  background-color: #0066cc;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background-color: #004c99;
}
.hero-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}


/* ===== Footer ===== */
footer {
  background-color: #003366;
  color: white;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}
.footer-container {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 40px;
    }

    .footer-col h3 {
      color: #f39c12; /* Orange heading */
      margin-bottom: 15px;
    }

    .footer-col ul {
      list-style: none;
      padding: 0;
    }

    .footer-col ul li {
      margin-bottom: 8px;
    }

    .footer-col ul li a {
      color: #ddd;
      text-decoration: none;
      transition: color 0.3s;
    }

    .footer-col ul li a:hover {
      color: #fff;
    }

    .footer-contact p {
      margin: 8px 0;
      display: flex;
      align-items: center;
      color: #ddd;
    }

    .footer-contact p i {
      margin-right: 8px;
      color: #f39c12;
    }

    /* Social icons */
    .social-links {
      margin-top: 15px;
    }

    .social-links a {
      display: inline-block;
      margin-right: 10px;
      background: #3b5998; /* Facebook default */
      color: #fff;
      padding: 8px 10px;
      border-radius: 4px;
      text-decoration: none;
      font-size: 16px;
    }

    .social-links a.twitter {
      background: #1da1f2;
    }

    /* Bottom bar */
    .footer-bottom {
      margin-top: 30px;
      border-top: 1px solid rgba(255,255,255,0.2);
      padding-top: 15px;
      text-align: center;
      font-size: 14px;
      color: #ddd;
    }

    .footer-bottom span {
      color: #f39c12;
      font-weight: bold;
    }

    /* Back-to-top button */
    .back-to-top {
      position: absolute;
      right: 30px;
      bottom: 70px;
      background: #fff;
      color: #333;
      border: none;
      padding: 10px 12px;
      border-radius: 50%;
      cursor: pointer;
      font-size: 16px;
    }

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }

  .highlights {
    flex-direction: column;
    align-items: center;
  }

  .card {
    max-width: 90%;
  }

  main {
    padding: 1rem;
  }
}
