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

body {
  font-family: "Poppins", Arial, sans-serif;
}

   /* NAVIGATION BAR */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(8px);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

/* Logo */
nav .logo img {
  width: 200px;
  filter: brightness(1.8) contrast(1.2);
}

/* Navigation Links (Desktop) */
.nav-link {
  flex: 1;
  text-align: right;
}

.nav-link ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link ul li {
  position: relative;
  display: inline-block;
  margin: 0 10px;
}

.nav-link ul li a {
  text-decoration: none;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  padding: 8px 12px;
  display: block;
  transition: 0.3s;
}

.nav-link ul li a::after {
  content: "";
  width: 0%;
  height: 2px;
  background: #00d2ff;
  display: block;
  margin: auto;
  transition: 0.3s;
}

.nav-link ul li a:hover::after {
  width: 100%;
}

.nav-link ul li a:hover {
  color: #00d2ff;
}

   /* DROPDOWN MENU */
.nav-link ul li ul {
  position: absolute;
  top: 100%;
  left: 0;
  background: #181723;
  min-width: 180px;
  border-radius: 6px;
  display: none;
  z-index: 999;
}

.nav-link ul li ul li {
  display: block;
}

.nav-link ul li ul li a {
  padding: 10px 15px;
  font-size: 15px;
  color: #fff;
  text-align: left;
  cursor: pointer;
}

.nav-link ul li ul li a:hover {
  background: rgba(0, 210, 255, 0.15);
  color: #00d2ff;
}

.nav-link ul li:hover ul {
  display: block;
}

   /* TOGGLE BUTTON */
.toggle-btn {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  z-index: 1100;
  position: relative;
  transition: transform 0.3s ease;
}

/* Rotate icon when open */
.toggle-btn.open {
  transform: rotate(90deg);
}

   /* SIDEBAR MENU (MOBILE) */
@media (max-width: 768px) {
  .toggle-btn {
    display: block;
  }

  .nav-link {
    position: fixed;
    top: 0;
    right: -300px;
    width: 260px;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    flex-direction: column;
    padding-top: 80px;
    transition: right 0.4s ease-in-out, opacity 0.3s ease-in-out;
    opacity: 0;
    box-shadow: -4px 0 15px rgba(0, 0, 0, 0.3);
  }
  

  .nav-link.active {
    right: 0;
    opacity: 1;
  }

  .nav-link ul {
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 0;
  }

  .nav-link ul li {
    margin: 15px 0;
  }

  .nav-link ul li a {
    color: #fff;
    padding: 15px 20px;
    display: block;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
  }

  .nav-link ul li a:hover {
    background: #00d2ff;
    color: #111;
    padding-left: 25px;
  }

  /* Hide submenus on mobile */
  .nav-link ul li ul {
    display: none !important;
  }
}

/*    FOOTER */
.footer {
  background: #222;
  color: #fff;
  padding: 50px 20px 20px;
  text-align: left;
}

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

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

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

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-col {
  flex: 1 1 220px;
}

.footer-logo {
  width: 200px;
  margin-bottom: 15px;
  border-radius: 3px;
}

.footer h4 {
  text-transform: uppercase;
  margin-bottom: 15px;
  font-weight: bold;
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer-bottom {
  text-align: center;
  font-size: 14px;
  border-top: 1px solid #444;
  padding-top: 15px;
}

/* SOCIAL ICONS */
.icons {
  text-align: center;
  cursor: pointer;
  margin-bottom: 20px;
}

.icons .fa-brands {
  font-size: 24px;
  margin: 0 12px;
  color: #bbb;
  transition: transform 0.3s ease, color 0.3s ease;
}

.icons .fa-facebook-f:hover {
  color: #1877F2;
  transform: scale(1.2);
}

.icons .fa-twitter:hover {
  color: #1DA1F2;
  transform: scale(1.2);
}

.icons .fa-instagram:hover {
  background: linear-gradient(#f58529, #dd2a7b, #8134af, #515bd4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: scale(1.2);
}

/*  RESPONSIVE FOOTER*/
@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
  }
}
/*   SIDEBAR OVERLAY */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 900; /* below sidebar (z-index: 1000) */
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}
