* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: #333;
}

body {
  font-family: "IBM Plex Sans", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* header */
header {
  background: linear-gradient(135deg, #3a4784 0%, #181e46 100%);
  backdrop-filter: blur(10px);
  color: white;
  padding: 1rem 0;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Nova Oval", system-ui, sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  text-decoration: none;
  color: white;
}

.logo img {
  height: 3rem;
  width: auto;
  max-width: 160px;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.nav-links a:hover {
  color: #fecd48;
}

.nav-links a.active {
  color: #fecd48;
}

/* Mobile menu styles */
.menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  margin-left: 1rem;
  z-index: 1101;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  right: 20px;
  background: white;
  box-shadow: 0 8px 32px rgba(102, 126, 234, 0.12);
  border-radius: 12px;
  min-width: 180px;
  padding: 1rem 0.5rem;
  z-index: 1100;
}

.mobile-menu a {
  color: #3a4784;
  text-decoration: none;
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}

.mobile-menu a:hover {
  background: #fecd48;
  color: #333;
}

.mobile-menu.show {
  display: flex;
}

@media (max-width: 768px) {
  .menu-btn {
    display: block;
  }
  .nav-links {
    display: none;
  }
}

/* footer */
footer {
  background: #333;
  color: white;
  padding: 40px 0;
  text-align: center;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  margin-bottom: 1rem;
  color: #fecd48;
}

.footer-section p,
.footer-section a {
  color: #ccc;
  text-decoration: none;
  margin-bottom: 0.5rem;
  display: block;
}

.footer-section a:hover {
  color: #fecd48;
}

.footer-bottom {
  border-top: 1px solid #555;
  padding-top: 1rem;
  margin-top: 2rem;
}

.cta-button {
  background: #fecd48;
  color: #333;
  padding: 15px 30px;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
}

/* Hero section */
.hero {
  color: white;
  padding: 120px 0 80px;
  text-align: center;
  margin-top: 70px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 3;
  margin-bottom: 3rem;
}

.hero-logo {
  max-width: 160px;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease-out;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease-out;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease-out 0.3s both;
}

/* Image grid as background */
.hero-image-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: repeat(3, 1fr);
  width: 100%;
  height: 100%;
  position: relative;
}

.image-grid::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(58, 71, 132, 0.7) 0%,
    rgba(24, 30, 70, 0.7) 100%
  );
  z-index: 2;
  pointer-events: none;
}

.grid-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.grid-image.loaded {
  opacity: 1;
}

.grid-item {
  position: relative;
  overflow: hidden;
  background: rgba(58, 71, 132, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile: flip to 3×7 grid */
@media (max-width: 768px) {
  .image-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(7, 1fr);
    aspect-ratio: 3/7;
  }
}

/* animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
