/* =========================
   GLOBAL RESET & BASE
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  line-height: 1.6;
  color: #333;
  background: #f9f9f9;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* =========================
   BUTTONS
========================= */
.button {
  background: #0073e6;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  display: inline-block;
}

.button:hover {
  background: #005bb5;
}

/* =========================
   NAVBAR (DESKTOP)
========================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #2D82DF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* padding: 10px 20px; */
}

.nav img {
  height: 75px;
}

/* Menu */
.nav-items {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-items li {
  position: relative;
}

.nav-items li a {
  color: #fff;
  padding: 8px 12px;
  display: block;
  font-size: 15px;
}

.nav-items li a:hover {
  background: #e2de00;
  color: #000;
  border-radius: 4px;
}

/* Dropdown */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  list-style: none;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.dropdown-menu li a {
  color: #1a1a1a;
  padding: 10px 14px;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* Hamburger (hidden on desktop) */
.hamburger {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
}

/* =========================
   MOBILE NAVBAR
========================= */
@media (max-width: 768px) {

  .hamburger {
    display: block;
  }

  .nav-items {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #ffffff;
    flex-direction: column;
    padding-top: 90px;
    gap: 0;
    transition: right 0.3s ease;
    overflow-y: auto;
  }

  .nav-items.show {
    right: 0;
  }

  .nav-items li a {
    color: #2D82DF;
    padding: 14px 22px;
    border-bottom: 1px solid #eee;
  }

  /* Mobile dropdown */
  .dropdown-menu {
    position: static;
    display: none;
    box-shadow: none;
    background: #f7f7f7;
  }

  .dropdown:hover .dropdown-menu {
    display: block;
  }

  .nav img {
    height: 60px;
  }
}

/* =========================
   FOOTER
========================= */
footer {
  background: #1a1a1a;
  color: #fff;
  text-align: center;
  padding: 20px 10px;
}

footer p {
  font-size: 14px;
}

/* =========================
   QUICK LINKS
========================= */
.quick-links {
  background: #000;
  color: #fff;
  padding: 50px 8%;
}

.foot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.foot-col h3 {
  margin-bottom: 15px;
  font-size: 18px;
}

.foot-col ul {
  list-style: none;
}

.foot-col a {
  color: white;
  padding: 4px;
  display: inline-block;
}

.foot-col a:hover {
  background: #fff;
  color: #000;
  border-radius: 4px;
}

.foot-col img {
  width: 70px;
  height: 50px;
}

.close-btn {
  display: none;
  font-size: 26px;
  font-weight: bold;
  color: #2D82DF;
  padding: 15px 22px;
  cursor: pointer;
  text-align: right;
}

/* Show close button only on mobile */
@media (max-width: 768px) {
  .close-btn {
    display: block;
  }
}

/* =========================
   FOOTER RESPONSIVE
========================= */
@media (max-width: 1024px) {
  .foot-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .foot-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .foot-col img {
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 14px;
  }

  footer p {
    font-size: 13px;
  }
}
