body {
  background-image: url(department.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;

  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  text-align: center;
}

header {
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fcfbfb;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  margin-top: -8px;
  margin-left: -8px;
  margin-right: -8px;
}

nav ul li a {
  text-decoration: none;
  color: #003366;
  font-weight: 500;
  transition: all 0.5s ease;
  padding: 5px 15px;
  display: flex;
  font-size: 18px;
  padding-right: 40px;
  padding-left: 20px;
}

.header-box {
  padding: 40px;
  background: #3b5bdb;
  color: white;
}
.header-box:hover {
  background-color: #e74c3c;
  transition: all 0s ease;
}

#header {
  font-size: 45px;
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  margin: 1.5rem;
  letter-spacing: -0.5px;
}

#subheader {
  font-size: 25px;
  color: #e0e7ff;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 400;
  margin: 1rem 0;
}

main {
  padding: 3rem;
  max-width: 1200px;
  margin: auto;
}

section {
  padding: 2rem;
  margin: 2rem 0;
  border-radius: 10px;
  background-color: rgb(231, 199, 68);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
section h2 {
  font-size: 2rem;
  color: #1e3a8a;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
}

section p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.8;
}

.box {
  background: #e74c3c;
  color: white;
  padding: 30px;
}

.box h2 {
  color: white;
}

.box p {
  color: #ffe0e0;
  font-size: 18px;
}

footer {
  background-color: #1e3a8a;
  color: white;
  padding: 2rem;
  text-align: center;
  font-size: 20px;
  margin-top: 20px;
  margin-left: -8px;
  margin-right: -8px;
  margin-bottom: -8px;
}

footer p {
  color: #e0e7ff;
}

/* Minimal dropdown styles for Programs menu */
.dropdown {
  position: relative;
}
.dropdown > a {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  padding: 0.25rem 0;
  min-width: 140px;
}
.dropdown-menu li {
  list-style: none;
}
.dropdown-menu li a {
  display: block;
  padding: 0.45rem 1rem;
  color: #333;
  text-decoration: none;
}
.dropdown-menu li a:hover {
  background: #f4f7ff;
  color: #3274d7;
}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  display: block;
}

/* Contact style */
.contact-info {
  background: #f4b7ac;
  color: white;
  padding: 30px;
}
.contact-info h2 {
  color: rgb(134, 10, 10);
}
.contact-info p {
  color: #5e0707be;
}

/* Degree Programs */
.programs-box {
  background: #16983b;
  color: white;
  padding: 30px;
}
.programs-box h2 {
  color: white;
}
.programs-box p {
  color: white;
  font-size: larger;
}
