/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #f7f7f7;
  color: #333;
}

/* Header */
header {
  background-color: #003366;
  color: #fff;
  padding: 20px;
}

header .header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

header h1 {
  font-size: 2rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #ffcc00;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropbtn {
  background-color: #003366;
  color: white;
  font-weight: bold;
  border: none;
  cursor: pointer;
  padding: 8px 12px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #ffffff;
  min-width: 180px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  color: #003366;
  padding: 10px 15px;
  display: block;
  text-decoration: none;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* About Section */
.about-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
  text-align: center;
  background-color: #e0e0e0;
  border-radius: 12px;
}

.about-container h2 {
  color: #003366;
  margin-bottom: 15px;
}

.about-container p {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Section Titles */
main h2 {
  text-align: center;
  margin: 40px 0 20px;
  font-size: 2rem;
  color: #003366;
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 0 20px 40px;
}

/* Tiles */
.tile {
  background-color: #e0e0e0;
  padding: 30px 20px;
  border-radius: 12px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.tile:hover {
  transform: translateY(-5px);
  background-color: #d4d4d4;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.tile.platform {
  background-color: #cce0ff;
}

.tile.platform:hover {
  background-color: #99c2ff;
}

/* Footer */
footer {
  background-color: #003366;
  color: #fff;
  text-align: center;
  padding: 30px 20px;
  font-size: 0.9rem;
}

footer p {
  margin: 5px 0;
}

/* Responsive */
@media (max-width: 900px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  header h1 {
    font-size: 1.7rem;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .tile {
    padding: 20px 15px;
  }
}
