/* =======================
   MAIN NAVBAR (Desktop)
======================= */
body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background: #f4f4f4;
}

.main-navbar {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 80px;
  background: #00293f;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 30px 0;
  z-index: 1000;
  transition: all 0.3s ease-in-out;
}

/* Hamburger */
.hamburger-link {
  margin-top: 10px;
}

.hamburger-link button {
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
}

.hamburger-link button span {
  width: 28px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: all 0.4s ease-in-out;
}

/* Menu text */
.menu-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: #fff;
  letter-spacing: 2px;
  font-size: 12px;
  font-weight: 500;
  margin-top: 8px;
}

/* Logo */
/* .middle-logo {
 background: url("<?php echo esc_url( get_template_directory_uri() ); ?>/images/nicco-logo.png") no-repeat center;
  background-size: contain;
  width: 55px;
  height: 55px;
  cursor: pointer;
}
 */
/* .middle-logo {
  background: url("images/nicco-logo.png") no-repeat center;
  background-size: contain;
  width: 55px;
  height: 55px;
  cursor: pointer;
} */
/* =======================
   LOGO STYLING
======================= */
/* .middle-logo {
  display: block;
  background: url("https://nicco.co.in/wp-content/uploads/2026/02/cropped-cropped-Nicco-Logo-White-01-copy-84x94-1.png") no-repeat center;
  background-size: contain;
  width: 55px;
  height: 55px;
  cursor: pointer;
}
 */
/* CENTER LOGO (KEY PART) */
.middle-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

    width: 55px;
    height: 55px;
    background: url("https://nicco.co.in/wp-content/uploads/2025/10/nicco-logo.png")
        no-repeat center;
    background-size: contain;
    cursor: pointer;
}
/* =======================
   MOBILE LOGO SIZE
======================= */
@media (max-width: 768px) {
  .middle-logo {
    width: 100px;
    height: 40px;
    background-size: contain;
  }
}


/* Desktop social icons */
/* .desktop-social {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.desktop-social a {
  color: #fff;
  display: block;
  margin: 10px 0;
  font-size: 18px;
  transition: 0.3s;
}

.desktop-social a:hover {
  color: #00a8e8;
}
 */
/* Navbar content (side panel) */

.navbar-content {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px; /* width fits the menu list */
  height: 100vh;
  background: rgba(0, 41, 63, 0.98);
  transform: translateX(-100%);
  transition: transform 0.4s ease-in-out;
  z-index: 900;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 100px 0 0 100px; 
  box-sizing: border-box;
box-shadow: 4px 0 12px rgba(0,0,0,0.25);
}


/* Hide mobile social icons on desktop */
/* .mobile-social {
  display: none;
} */

/* Sidebar links */
.navbar-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.navbar-content ul li {
  margin: 20px 0;
}

.navbar-content ul li a {
  color: #fff;
  font-size: 26px;
  text-decoration: none;
  font-weight: 400;
  transition: 0.3s;
  display: inline-block;
}

.navbar-content ul li a:hover {
  color: #00a8e8;
  transform: translateX(8px);
}

/* Toggle animation */
body.menuIsOpen .hamburger-link button span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
body.menuIsOpen .hamburger-link button span:nth-child(2) {
  opacity: 0;
}
body.menuIsOpen .hamburger-link button span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
body.menuIsOpen .navbar-content {
  transform: translateX(0);
}

/* =======================
   MOBILE VIEW (≤ 768px)
======================= */
@media (max-width: 768px) {
  .main-navbar {
    flex-direction: row;
    width: 100%;
    height: 70px;
    padding: 0 20px;
    justify-content: space-between;
  }

  .menu-text {
    display: none;
  }

  .hamburger-link {
    margin-top: 0;
  }

  .hamburger-link button span {
    width: 24px;
  }

/*   .middle-logo {
    height: 40px;
    width: 100px;
    background-size: contain;
  } */

  /* Hide desktop social icons on mobile */
/*   .desktop-social {
    display: none;
  } */

  /* Show mobile social icons INSIDE sidebar */
/*   .mobile-social {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: auto;
    width: 100%;
  }

  .mobile-social a {
    color: #fff;
    font-size: 22px;
    transition: 0.3s;
  }

  .mobile-social a:hover {
    color: #00a8e8;
  }
 */
  .navbar-content {
    padding: 80px 30px 100px;
  }

  .navbar-content ul li a {
    font-size: 20px;
  }
}