/* GLOBAL STYLES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}

body {
  background-color: #eaf3f5;
  color: #003366;
}

/* HEADER */
header {
  width: 100%;
  background-color: #00254F;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 40px;
  color: white;
}

.header-left img {
  height: 60px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-right h2 {
  font-weight: 500;
  font-size: 1.1rem;
}

.header-right img {
  height: 60px;
  cursor: pointer;
}

/* BANNER */
.banner {
  width: 100%;
  background-image: url('images/institutes.png'); /* Replace with your image */
  background-size: cover;
  background-position: center;
  position: relative;
}

.banner-overlay {
  background-color: rgba(0, 43, 92, 0.4);
  width: 100%;
  padding: 100px 20px;
  text-align: center;
  color: white;
}

.banner-overlay h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.banner-overlay button {
  background-color: #0073e6;
  color: white;
  border: none;
  padding: 14px 32px;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.banner-overlay button:hover {
  background-color: #3399ff;
}

/* MAIN CONTENT */
.content-section {
  width: 100%;
  margin: 0; /* remove white gap */
  padding: 40px; /* maintain inner spacing */
  background-color: #56A4AF;
}


.info-boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
}

.info-box {
  background-color: #dceff1;
  border-radius: 12px;
  flex: 1;
  min-width: 280px;
  padding: 24px;
  text-align: center;
  color: #00254F;
  font-size: 1.05rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.instructions {
  background-color: #c9e8ec;
  padding: 25px 30px;
  border-radius: 12px;
  margin-bottom: 25px;
}

.instructions h3 {
  text-align: center;
  margin-bottom: 15px;
}

.instructions ol {
  margin-left: 20px;
  line-height: 1.6;
}

.footer-note {
  font-size: 0.9rem;
  text-align: center;
  color: #003366;
  margin-top: 10px;
}

/* FOOTER */
footer {
  background-color: #002b5c;
  color: white;
  width: 100%;
  text-align: center;
  padding: 12px 0;
  font-size: 0.9rem;
}

footer span {
  color: #aee6ff;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  /* Banner adjustments */
  .banner-overlay h1 {
    font-size: 1.8rem;
  }

  /* Info boxes stacked */
  .info-boxes {
    flex-direction: column;
    align-items: center;
  }

  /* Header adjustments */
  header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
  }

  .header-left {
    order: 0; /* UGAC logo stays left */
  }

  .header-right {
    display: flex;
    flex: 1; /* take remaining space between logos */
    justify-content: flex-end; /* push text toward DAV logo */
    align-items: center; /* vertically center text with logos */
    gap: 8px;
    order: 1;
  }

  .header-right h2 {
    font-size: 0.80rem;
    margin: 0;
    white-space: nowrap; /* keep in single line */
  }

  .header-left img,
  .header-right img {
    height: 40px;
  }

  /* Content section padding adjustments */
  .content-section {
    padding: 0 20px;
    padding-top: 20px;
    padding-bottom: 20px;
  }
}
