/* Styling for header and tiles */
a {color: #0e5fa2}

/* Header layout */
.header-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.header-container img {
  height: 130px;
}
.header-container h1 {
  font-size: 280%;
  margin: 0;
  color: #0e5fa2;
}

/* Tile layout */
.tile-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 15px;
}

/* Individual tile styling */
.tile {
  background-color: rgba(14, 95, 162, 0.80);
  border: none;
  border-radius: 15px;
  padding: 30px;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  width: 210px;
  height: 170px;
  font-size: 18px;
  font-weight: bold;
  color: white;
  text-decoration: none;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, background-color 0.2s;
}

.tile:hover {
  background-color: rgba(11, 76, 133, 0.95);
  transform: scale(1.05);
  text-decoration: none;
  color: white;
}

.tile h3 {
  margin-top: 0;
  color: white;
}

.tile p {
  color: white;
  font-size: 14px;
}

h2, h3 {
  color: #0e5fa2;
}

p {
  font-size: 20px;
}

/* Justify text in main content */
.main-text-section p {
  text-align: justify;
}

/* Responsive behavior */
@media (max-width: 1024px) {
  .tile {
    width: 45%;
    height: auto;
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .tile {
    width: 100%;
    height: auto;
    font-size: 20px;
    padding: 15px;
  }

  .header-container {
    flex-direction: column;
  }

  .header-container img {
    height: 100px;
  }

  .header-container h1 {
    font-size: 200%;
    text-align: center;
  }
}
