* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

body {
  background: #f5f7fa;
  color: #333;
}

header {
  /* #1f3c88 */
  background: white;
  padding: 20px;
  color: #1f3c88;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 60px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

nav a {
  color: #1f3c88;
  text-decoration: none;
  font-weight: 600;
}

nav a:hover {
  color: #f2c94c;
}


.hero-img {
  background: url("../img/hero.jpg") center/cover no-repeat;
  height: 80vh;
  position: relative;
}

.hero-overlay {
  background: rgba(31,60,136,0.75);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  padding: 20px;
}

.hero {
  padding: 80px 20px;
  text-align: center;
  background: linear-gradient(120deg, #1f3c88, #163172);
  color: white;
}

.section {
  padding: 60px 20px;
  max-width: 1100px;
  margin: auto;
}

.section h2 {
  color: #1f3c88;
  margin-bottom: 20px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 20px;
}

.card {
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0,0,0,0.08);
  border-top: 4px solid #1f3c88;
}

.btn {
  display: inline-block;
  background: #f2c94c;
  color: #1f3c88;
  padding: 12px 20px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
}


.gallery-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 15px;
}

.gallery-preview img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

footer {
  background: #1f3c88;
  color: white;
  text-align: center;
  padding: 20px;
}

/* RESPONSIVE */
@media(max-width:768px){
  header .container {
    flex-direction: column;
    gap: 15px;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
  }
}
.container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu {
  display: flex;
  list-style: none;
  gap: 20px;
}

.dropdown {
  position: relative;
}

.submenu {
  display: none;
  position: absolute;
  background: white;
  padding: 10px;
  top: 30px;
  left: 0;
  list-style: none;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.submenu li a {
  color: #1f3c88;
  display: block;
  padding: 8px 10px;
}

.dropdown:hover .submenu {
  display: block;
}

footer {
  background: #1f3c88;
  color: white;
  padding: 40px 20px 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 20px;
  max-width: 1100px;
  margin: auto;
}

footer a {
  color: #f2c94c;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

@media(max-width:768px){
  .menu {
    flex-direction: column;
    align-items: center;
  }
  .submenu {
    position: static;
    box-shadow: none;
    background: #f5f7fa;
  }
}
