/* ===============================
   BASE RESET
================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

ul, ol {
  margin: 0;
  padding: 0;
}

ul li, ol li {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* ===============================
   NAV CONTAINER
================================ */
.classy-nav-container {
  position: relative;
  z-index: 1000;
  background: transparent;
}

/* Sticky */
.classy-nav-container.classy-sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}

/* ===============================
   NAVBAR
================================ */
.classy-navbar {
  height: 70px;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* Brand */
.classy-navbar .nav-brand {
  font-size: 26px;
  font-weight: 600;
  color: #ffffff;
  z-index: 1001;
}

.classy-navbar .nav-brand img {
  max-height: 50px;
  width: auto;
}

/* ===============================
   MAIN NAV
================================ */
.classynav {
  display: flex;
  align-items: center;

  /* 🔥 Glass Look */
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 6px 10px;
  border-radius: 10px;
}

/* Remove boxed look */
.classynav > ul > li,
.classynav > ul > li > a {
  background: transparent !important;
}

/* Menu items */
.classynav ul li {
  display: inline-block;
  position: relative;
}

.classynav ul li a {
  display: block;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 500;
  color: #ffffff !important;
  border-radius: 6px;
  transition: all 0.3s ease;
}

/* Hover */
.classynav ul li a:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #4CAF50 !important;
}

.classynav ul li a.active {
  background: rgba(76, 175, 80, 0.2);
  color: #4CAF50 !important;
}

/* ===============================
   DROPDOWN
================================ */
.classynav ul li .dropdown {
  position: absolute;
  top: 120%;
  left: 0;
  min-width: 220px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 8px 0;
  z-index: 999;
}

.classynav ul li:hover .dropdown {
  top: 100%;
  opacity: 1;
  visibility: visible;
}

.classynav ul li .dropdown li a {
  padding: 12px 20px;
  font-size: 14px;
  color: #303030 !important;
  border-radius: 0;
}

.classynav ul li .dropdown li a:hover {
  background: rgba(76, 175, 80, 0.1) !important;
  color: #4CAF50 !important;
  padding-left: 25px;
}

/* ===============================
   DROPDOWN ARROW FIX
================================ */
.classynav ul li.has-down > a::after,
.classynav ul li.megamenu-item > a::after {
  content: "▾";
  font-size: 12px;
  margin-left: 6px;
  color: #ffffff;
}

/* ===============================
   SEARCH ICON
================================ */
#searchIcon i {
  color: #ffffff;
  font-size: 16px;
  cursor: pointer;
  transition: color 0.3s ease;
}

#searchIcon i:hover {
  color: #a8ff60;
}

/* ===============================
   MOBILE NAV
================================ */
.classy-navbar-toggler {
  display: none;
  cursor: pointer;
  z-index: 1001;
}

.navbarToggler {
  width: 30px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.navbarToggler span {
  width: 100%;
  height: 3px;
  background: #ffffff;
  border-radius: 2px;
  transition: 0.3s;
}

.classycloseIcon {
  display: none;
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
  z-index: 1002;
}

.cross-wrap {
  width: 30px;
  height: 30px;
  position: relative;
}

.cross-wrap span {
  position: absolute;
  width: 100%;
  height: 3px;
  background: #ffffff;
  top: 50%;
  left: 0;
}

.cross-wrap .top {
  transform: rotate(45deg);
}

.cross-wrap .bottom {
  transform: rotate(-45deg);
}

/* Tablet & Mobile */
@media (max-width: 991px) {
  .classy-navbar {
    padding: 0 1rem;
    height: 70px;
  }

  .classy-navbar .nav-brand img {
    max-height: 45px;
  }

  .classy-navbar-toggler {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
  }

  /* Hide desktop nav */
  .classynav {
    display: none !important;
  }

  /* Mobile menu */
  .classy-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: linear-gradient(135deg, #2E7D32 0%, #4CAF50 100%);
    z-index: 9999;
    transition: left 0.4s ease;
    overflow-y: auto;
    box-shadow: 2px 0 20px rgba(0,0,0,0.3);
  }

  .classy-menu.menu-on {
    left: 0;
  }

  .classycloseIcon {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .classy-menu .classynav {
    display: flex !important;
    background: transparent;
    backdrop-filter: none;
    padding: 70px 0 30px;
    border-radius: 0;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .classy-menu .classynav ul {
    width: 100%;
    display: block;
  }

  .classy-menu .classynav ul li {
    display: block;
    width: 100%;
  }

  .classy-menu .classynav ul li a {
    width: 100%;
    padding: 16px 25px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    background: transparent !important;
    font-size: 16px;
    color: #ffffff !important;
    border-radius: 0;
  }

  .classy-menu .classynav ul li a:hover {
    background: rgba(255,255,255,0.2) !important;
    padding-left: 35px;
  }

  .classy-menu .classynav ul li.has-dropdown > a::after {
    content: "▾";
    float: right;
  }

  .classy-menu .classynav ul li .dropdown {
    position: static;
    width: 100%;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    background: rgba(0,0,0,0.25);
    border-radius: 0;
    padding: 0;
    display: none;
  }

  .classy-menu .classynav ul li.has-dropdown.active .dropdown {
    display: block;
  }

  .classy-menu .classynav ul li .dropdown li a {
    padding-left: 45px !important;
    font-size: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .classy-menu .classynav ul li .dropdown li a:hover {
    padding-left: 50px !important;
  }

  .classy-menu #searchIcon {
    margin-left: 0;
    padding: 16px 25px;
    width: 100%;
    text-align: left;
    border-top: 1px solid rgba(255,255,255,0.15);
  }
}

/* Small Mobile */
@media (max-width: 576px) {
  .classy-navbar {
    height: 60px;
    padding: 0 0.75rem;
  }

  .classy-navbar .nav-brand {
    font-size: 18px;
  }

  .classy-navbar .nav-brand img {
    max-height: 40px;
  }

  .classy-menu {
    width: 90%;
    max-width: 280px;
  }

  .classy-menu .classynav ul li a {
    padding: 14px 20px;
    font-size: 15px;
  }

  .classy-menu .classynav ul li .dropdown li a {
    padding-left: 40px !important;
    font-size: 14px;
  }
}
