/* =========================
   COLOR ROOTS
========================= */
:root {
  --primary-color: #ffcc00;
  --primary-hover: #ffcc00;
  --dark-bg: #0d0d0d;
  --border-color: #222;
  --text-white: #ffffff;
  --text-dark: #000000;
  --icon-border: #444;
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* =========================
   RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Poppins", sans-serif;
  background: #fff;
}
a {
  text-decoration: none;
}

/* =========================
   TOP BAR
========================= */
.top-bar {
  background: var(--dark-bg);
  color: var(--text-white);
  font-size: 14px;
  padding: 6px 0;
}
.top-bar .container-fluid {
  max-width: 1360px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.top-left span {
  margin-right: 18px;
}
.top-left i {
  color: var(--primary-hover);
  margin-right: 6px;
}

/* =========================
   SOCIAL ICONS
========================= */
.top-right a {
  color: var(--text-white);
  border: 1px solid var(--icon-border);
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-left: 8px;
  transition: 0.3s;
}
.top-right a:hover {
  background: var(--primary-hover);
  color: var(--text-dark);
}

/* =========================
   NAVBAR
========================= */
.main-navbar {
  background: var(--dark-bg);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
}
.nav-wrapper {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 20px;
  padding-right: 20px;
  gap: 16px;
}

/* =========================
   LOGO
========================= */
.logo-area {
  flex: 0 0 auto;
  padding-left: 10px;
}
.logo {
  height: 42px;
}

/* =========================
   DESKTOP MENU
========================= */
.desktop-menu {
  flex: 1;
  display: flex;
  justify-content: center;
}

.navbar-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar-nav .nav-link {
  color: var(--text-white);
  font-weight: 600;
  letter-spacing: 1px;
  position: relative;
  transition: 0.3s;
  white-space: nowrap;
}
.navbar-nav .nav-link:hover {
  color: var(--primary-hover);
}
.navbar-nav .nav-link.active {
  color: var(--primary-hover);
}

/* Underline on hover */
.navbar-nav .nav-item:not(.dropdown) .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--primary-hover);
  transition: 0.3s;
}
.navbar-nav .nav-item:not(.dropdown) .nav-link:hover::after {
  width: 100%;
}

/* =========================
   DROPDOWN
========================= */
.dropdown {
  position: relative;
}
.navbar-nav .dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.navbar-nav .dropdown-toggle::after {
  content: "▾";
  font-size: 12px;
  border: none;
  margin-left: 4px;
  transition: transform 0.3s ease;
  display: inline-block;
}
.navbar-nav .dropdown:hover .dropdown-toggle::after {
  transform: rotate(180deg);
}

/* Dropdown box */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  padding: 10px 0;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.97);
  transition: all 0.3s ease;
  z-index: 9999;
  list-style: none;
}
.dropdown-menu::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-hover);
  border-radius: 14px 14px 0 0;
}
.navbar-nav .dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Dropdown items */
.dropdown-item {
  padding: 13px 22px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s ease;
}
.dropdown-item:hover {
  background: rgba(255, 204, 0, 0.08);
  color: var(--primary-hover);
  padding-left: 28px;
}
.dropdown-item:active {
  background: var(--primary-hover);
  color: #fff;
}
.dropdown-menu li:not(:last-child) {
  border-bottom: 1px solid #f1f1f1;
}

/* =========================
   MEGA MENU
========================= */
.mega-dropdown {
  position: relative;
}
.mega-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 15px;
}
.mega-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  max-width: 95vw;
  padding: 0;
  border: none;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  display: block !important; /* override any Bootstrap display:none */
  transition: all 0.35s ease;
  z-index: 9999;
}
.navbar-nav .mega-dropdown:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(4px);
}
/* Reset dropdown-menu::before yellow line for mega-menu (has its own styling) */
.mega-menu::before {
  display: none;
}
.mega-container {
  display: flex;
  align-items: stretch;
  gap: 20px;
  padding: 22px;
}
.mega-column {
  flex: 1;
}
.mega-title {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #999;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.mega-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}
.mega-item:hover {
  background: rgba(255, 204, 0, 0.08);
  transform: translateX(4px);
}
.mega-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 204, 0, 0.1);
  border-radius: 10px;
  color: #ffcc00;
  font-size: 18px;
  transition: 0.3s;
  flex-shrink: 0;
}
.mega-item:hover .mega-icon {
  background: #ffcc00;
  color: #fff;
}
.mega-name {
  font-weight: 600;
  font-size: 15px;
  color: #222;
  margin-bottom: 2px;
}
.mega-desc {
  font-size: 13px;
  color: #777;
}
.mega-right {
  width: 260px;
  background: #f7f7f7;
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: 0.3s;
  flex-shrink: 0;
}
.mega-right:hover {
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.mega-right img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 12px;
}
.mega-right h5 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #111;
}
.mega-right p {
  font-size: 13px;
  color: #777;
  margin-bottom: 14px;
  line-height: 1.5;
}
.mega-btn {
  display: inline-block;
  padding: 9px 18px;
  background: #ffcc00;
  color: #fff;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}
.mega-btn:hover {
  background: #000;
  color: #fff;
}

/* =========================
   ANIMATED BUTTON
========================= */
.button-animation {
  position: relative;
  display: inline-block;
  padding: 20px 30px;
  color: #ffcc00;
  text-transform: uppercase;
  overflow: hidden;
  letter-spacing: 4px;
  transition: 0.5s;
  flex-shrink: 0;
  font-family: "Poppins", sans-serif;
}
.button-animation span {
  position: absolute;
  display: block;
}
.button-animation span:nth-child(1) {
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ffcc00);
  animation: btn-anim1 1s linear infinite;
}
@keyframes btn-anim1 {
  0% { left: -100%; }
  50%, 100% { left: 100%; }
}
.button-animation span:nth-child(2) {
  top: -100%;
  right: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, transparent, #ffcc00);
  animation: btn-anim2 1s linear infinite;
  animation-delay: 0.25s;
}
@keyframes btn-anim2 {
  0% { top: -100%; }
  50%, 100% { top: 100%; }
}
.button-animation span:nth-child(3) {
  bottom: 0;
  right: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(270deg, transparent, #ffcc00);
  animation: btn-anim3 1s linear infinite;
  animation-delay: 0.5s;
}
@keyframes btn-anim3 {
  0% { right: -100%; }
  50%, 100% { right: 100%; }
}
.button-animation span:nth-child(4) {
  bottom: -100%;
  left: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(360deg, transparent, #ffcc00);
  animation: btn-anim4 1s linear infinite;
  animation-delay: 0.75s;
}
@keyframes btn-anim4 {
  0% { bottom: -100%; }
  50%, 100% { bottom: 100%; }
}
.button-animation:hover {
  background-color: #ffcc00;
  color: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 5px #ffcc00, 0 0 25px #ffcc00, 0 0 50px #ffcc00, 0 0 100px #ffcc00;
}

/* =========================
   HAMBURGER
========================= */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  flex-shrink: 0;
}
.hamburger .bar {
  display: block;
  height: 3px;
  border-radius: 3px;
  background: var(--primary-color);
  transition: all 0.35s ease;
}
.hamburger .bar:nth-child(1) { width: 100%; }
.hamburger .bar:nth-child(2) { width: 70%; }
.hamburger .bar:nth-child(3) { width: 50%; }
.hamburger.open .bar:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); width: 100%; }
.hamburger.open .bar:nth-child(2) { opacity: 0; }
.hamburger.open .bar:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); width: 100%; }

/* =========================
   SIDE DRAWER
========================= */
.side-drawer {
  position: fixed;
  top: 0;
  left: -320px;
  width: 300px;
  height: 100vh;
  background: var(--dark-bg);
  z-index: 1055;
  transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.side-drawer.open { left: 0; }

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid #222;
}
.drawer-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: 0.3s;
}
.drawer-close:hover {
  background: rgba(255, 204, 0, 0.15);
  color: var(--primary-color);
}
.drawer-nav {
  list-style: none;
  padding: 10px 0;
  flex: 1;
}
.drawer-nav .nav-item {
  border-bottom: 1px solid #1a1a1a;
}
.drawer-nav .nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: 0.3s;
}
.drawer-nav .nav-link:hover,
.drawer-nav .nav-link.active {
  color: var(--primary-color);
  background: rgba(255, 204, 0, 0.05);
  padding-left: 30px;
}
.drawer-nav .nav-link .arrow {
  font-size: 11px;
  transition: 0.3s;
}
.drawer-nav .nav-item.open .nav-link .arrow {
  transform: rotate(90deg);
  color: var(--primary-color);
}
.drawer-submenu {
  list-style: none;
  background: #111;
  display: none;
}
.drawer-nav .nav-item.open .drawer-submenu {
  display: block;
}
.drawer-submenu li {
  border-bottom: 1px solid #1a1a1a;
}
.drawer-submenu li:last-child {
  border: none;
}
.drawer-submenu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px 12px 36px;
  color: #bbb;
  font-size: 13px;
  font-weight: 500;
  transition: 0.3s;
  text-decoration: none;
}
.drawer-submenu li a:hover {
  color: var(--primary-color);
  padding-left: 44px;
}
.drawer-submenu li a i {
  color: var(--primary-color);
  width: 16px;
}
.drawer-footer {
  margin-top: auto;
  padding: 20px;
  border-top: 1px solid #1a1a1a;
}
.drawer-socials {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.drawer-socials a {
  color: #fff;
  border: 1px solid #333;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: 0.3s;
  font-size: 13px;
  text-decoration: none;
}
.drawer-socials a:hover {
  background: var(--primary-color);
  color: #000;
  border-color: var(--primary-color);
}

/* =========================
   OVERLAY
========================= */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1050;
  display: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.overlay.visible {
  display: block;
  opacity: 1;
}

/* =========================
   RESPONSIVE — MOBILE
========================= */
@media (max-width: 991px) {
  .top-bar { display: none; }
  .desktop-menu { display: none; }
  .hamburger { display: flex; }
  .button-animation {
    padding: 10px 16px;
    font-size: 11px;
    letter-spacing: 2px;
  }
}

@media screen and (max-width: 426px) {
  .button-animation {
    padding: 8px 10px;
    letter-spacing: 2px;
    font-size: 12px;
  }
}

/* =========================
   MEGA MENU CONFLICT FIX
   (agar HTML mein "dropdown-menu mega-menu" dono classes hain)
========================= */
.dropdown-menu.mega-menu {
  display: block !important;
  min-width: unset;
  padding: 0;
  border-radius: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  max-width: 95vw;
  opacity: 0;
  visibility: hidden;
}
.navbar-nav .mega-dropdown:hover .dropdown-menu.mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(4px);
}
.dropdown-menu.mega-menu::before {
  display: none;
}