/* ========================================
   Responsive Header & Logo Global Styles
   ======================================== */

:root {
  --primary: #7b61ff;
  --secondary: #ff6fb1;
  --accent: #0ea5e9;
  --dark: #0f172a;
  --light: #f0f9ff;
}

/* Header Styles */
header {
  background: rgba(15, 23, 42, 0.98) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(123, 97, 255, 0.1);
  padding: 15px 0;
  width: 100% !important;
  overflow: visible !important;
}

header .container-fluid {
  max-width: 100% !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
  width: 100% !important;
}

/* Flex Between */
.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

/* Logo Styles */
.logo {
  display: flex;
  align-items: center;
}

header .logo a {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
}

header .logo a:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

header .logo-img {
  height: 45px;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
  transition: all 0.3s ease;
}

header .logo a:hover .logo-img {
  filter: drop-shadow(0 4px 12px rgba(123, 97, 255, 0.3));
}

header .logo-text {
  display: inline-block;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

/* Navigation Menu */
.nav-menu ul {
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu a {
  color: #f0f0f5;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
}

.nav-menu a.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
}

/* Dropdown Styles */
.nav-item.dropdown {
  position: relative;
}

.nav-item.dropdown .dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(123, 97, 255, 0.2);
  border-radius: 8px;
  padding: 15px 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  margin-top: 10px;
  z-index: 1000;
}

.nav-item.dropdown .dropdown-item {
  display: block;
  padding: 12px 20px;
  color: #f0f0f5;
  text-decoration: none;
  transition: all 0.3s ease;
}

.nav-item.dropdown .dropdown-item:hover {
  color: var(--primary);
  background: rgba(123, 97, 255, 0.1);
  padding-left: 30px;
}

/* Get Started Button */
.get-started-btn {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white !important;
  padding: 10px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.get-started-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(123, 97, 255, 0.3);
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 1200px) {
  .nav-menu ul {
    gap: 20px;
  }

  .nav-menu a {
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  header {
    padding: 12px 0;
  }

  header .logo a {
    gap: 8px;
  }

  header .logo-img {
    height: 36px;
  }

  header .logo-text {
    font-size: 14px;
    display: none;
  }

  .nav-menu {
    display: none !important;
  }

  .mobile-menu-btn {
    display: block !important;
  }

  .flex-between {
    position: relative;
  }

  .get-started-btn {
    padding: 8px 16px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  header .logo a {
    gap: 6px;
  }

  header .logo-img {
    height: 32px;
  }

  header .logo-text {
    display: none;
  }

  .get-started-btn {
    padding: 6px 12px;
    font-size: 11px;
  }
}
