html {
  scroll-behavior: smooth;
}

:root {
  --blue: #2f63b7;
  --dark: #1b3a6b;
  --light: #f5f8ff;
  --accent: #4f86e8;
}

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

body {
  font-family: Poppins, sans-serif;
  background: var(--light);
  color: #333;
}

.container {
  width: 1200px;
  max-width: 92%;
  margin: auto;
}

header {
  background: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.logo img {
  width: 85px;
  transition: transform 0.2s;
}

.logo:hover img {
  transform: scale(1.05);
}

/* DESKTOP MENU */

.desktop-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
}

.desktop-nav a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.desktop-nav li.active a {
  color: var(--blue);
  font-weight: 600;
}

/* MEGA MENU */

.menu-item {
  position: relative;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 25px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
}

.menu-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-col a {
  font-weight: 600;
  text-decoration: none;
  color: var(--dark);
}

.mega-col span {
  font-size: 13px;
  color: #666;
  display: block;
  margin-top: 4px;
}

/* HERO */

.hero {
  height: 420px;
  background:
    linear-gradient(rgba(27, 58, 107, 0.75), rgba(27, 58, 107, 0.75)),
    url("https://images.unsplash.com/photo-1510130387422-82bed34b37e9");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: white;
}

.hero-content {
  max-width: 650px;
  padding: 0 20px;
}

.hero-btn {
  display: inline-block;
  background: var(--accent);
  padding: 14px 28px;
  border-radius: 30px;
  color: white;
  text-decoration: none;
  margin-top: 10px;
}

/* SECTIONS */

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

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

.card {
  background: white;
  padding: 35px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

footer {
  background: var(--dark);
  color: white;
  text-align: center;
  padding: 30px 0;
  margin-top: 60px;
}

/* MOBILE */

.menu-toggle {
  display: none;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: white;
  padding: 20px;
}

.mobile-menu a {
  padding: 10px 0;
  text-decoration: none;
  color: var(--dark);
}

.mobile-parent {
  padding: 10px 0;
  font-weight: 500;
  cursor: pointer;
}

.mobile-submenu {
  display: none;
  flex-direction: column;
  padding-left: 15px;
}

.mobile-submenu a {
  padding: 6px 0;
}

@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

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

#lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  z-index: 2000;
  cursor: pointer;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

