/* ========================================
   AIGIRI NANDINI - HEADER STYLES
   Fully Responsive & Optimized
   ======================================== */

/* CSS VARIABLES */
:root {
  --bg: #0b0b0b;
  --card: #0f1720;
  --accent: #00d166;
  --accent-light: #00ff88;
  --muted: #9aa7a0;
  --glass: rgba(255,255,255,0.03);
  --max-w: 1400px;
  --header-height: 70px;
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* RESET */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background: linear-gradient(180deg, var(--bg), #060606);
  color: #e6efe9;
}

/* ========================================
   TOPBAR
   ======================================== */
.topbar {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #03110a;
  text-align: center;
  font-weight: 700;
  padding: 8px 15px;
  font-size: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
  z-index: 51;
}

.topbar-text {
  font-size: 14px;
  letter-spacing: 0.5px;
}

.topbar-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

.topbar-phone a {
  color: #03110a;
  text-decoration: none;
  font-weight: 800;
  transition: all 0.3s ease;
}

.topbar-phone a:hover {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255,255,255,0.6);
}

.topbar-phone i {
  font-size: 12px;
}

/* ========================================
   MAIN HEADER
   ======================================== */
.main-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px);
  background: linear-gradient(180deg, rgba(0,0,0,0.95), rgba(0,0,0,0.85));
  border-bottom: 1px solid rgba(0,209,102,0.2);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  position: relative;
}

/* ========================================
   LOGO & BRAND
   ======================================== */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.brand:hover {
  transform: scale(1.02);
}

.brand img.logo {
  height: 48px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  transition: all 0.3s ease;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-weight: 800;
  font-size: 20px;
  background: linear-gradient(135deg, #ffffff, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-tagline {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
  font-weight: 500;
}

/* ========================================
   DESKTOP NAVIGATION
   ======================================== */
.desktop-menu {
  list-style: none;
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
  align-items: center;
  flex-wrap: nowrap;
}

.desktop-menu li {
  flex-shrink: 0;
}

.desktop-menu a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  padding: 10px 14px;
  white-space: nowrap;
  transition: all 0.3s ease;
  border-radius: 10px;
  display: inline-block;
}

.desktop-menu a:hover {
  color: #fff;
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.desktop-menu a.cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #03110a;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0,209,102,0.3);
}

.desktop-menu a.cta:hover {
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  box-shadow: 0 6px 20px rgba(0,209,102,0.5);
}

.desktop-menu a.login-btn {
  background: linear-gradient(135deg, #ffc107, #ffed4e);
  color: #1a1a1a;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(255,193,7,0.3);
}

.desktop-menu a.login-btn:hover {
  background: linear-gradient(135deg, #ffed4e, #ffc107);
  box-shadow: 0 6px 20px rgba(255,193,7,0.5);
  color: #000;
}

/* ========================================
   MOBILE MENU TOGGLE
   ======================================== */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: rgba(255,255,255,0.05);
  border: 2px solid rgba(0,209,102,0.3);
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 52;
}

.menu-toggle:hover {
  background: rgba(0,209,102,0.1);
  border-color: var(--accent);
}

.menu-toggle.active {
  background: var(--accent);
  border-color: var(--accent);
}

.hamburger {
  display: block;
  width: 24px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle.active .hamburger:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
  background: #03110a;
}

.menu-toggle.active .hamburger:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .hamburger:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
  background: #03110a;
}

/* ========================================
   MOBILE MENU
   ======================================== */
.mobile-menu {
  position: fixed;
  top: calc(var(--header-height) + 34px); /* topbar + header */
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.98);
  backdrop-filter: blur(30px);
  border-top: 2px solid rgba(0,209,102,0.3);
  box-shadow: 0 10px 40px rgba(0,0,0,0.8);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 49;
  max-height: calc(100vh - var(--header-height) - 34px);
  overflow-y: auto;
}

.mobile-menu.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-menu li {
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: all 0.3s ease;
}

.mobile-menu li:hover {
  background: rgba(0,209,102,0.1);
}

.mobile-menu li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 24px;
  color: #e6efe9;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
}

.mobile-menu li a i {
  width: 20px;
  text-align: center;
  color: var(--accent);
  font-size: 16px;
}

.mobile-menu li a:hover {
  color: var(--accent);
  padding-left: 30px;
}

/* AUTH ROW - LOGIN & CONTACT */
.mobile-menu li.auth-row {
  display: flex !important;
  gap: 0;
  padding: 0;
  border-bottom: none;
  background: rgba(255,255,255,0.03);
  margin-top: 8px;
  border-top: 2px solid rgba(0,209,102,0.3);
}

.mobile-menu li.auth-row a {
  flex: 1;
  padding: 20px 16px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  justify-content: center;
  gap: 8px;
}

.mobile-menu li.auth-row .login-btn {
  background: linear-gradient(135deg, #ffc107, #ffed4e);
  color: #1a1a1a;
  border-radius: 0;
}

.mobile-menu li.auth-row .cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #03110a;
  border-radius: 0;
}

.mobile-menu li.auth-row a:hover {
  transform: scale(1.02);
  box-shadow: inset 0 0 20px rgba(0,0,0,0.2);
  padding-left: 16px;
}

/* ========================================
   FIXED ENQUIRY TAB
   ======================================== */
.fixed-enquiry-tab {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: right center;
  z-index: 48;
}

.fixed-enquiry-tab a {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #0f172a;
  padding: 14px 30px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  text-decoration: none;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 4px 20px rgba(251,191,36,0.5);
  transition: all 0.4s ease;
  font-size: 13px;
  animation: enquiry-pulse 2.5s infinite;
}

.fixed-enquiry-tab a i {
  font-size: 14px;
}

.fixed-enquiry-tab a:hover {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  animation: none;
  transform: translateX(-8px);
  box-shadow: 0 6px 30px rgba(251,191,36,0.7);
}

@keyframes enquiry-pulse {
  0%, 100% {
    transform: translateX(0);
    box-shadow: 0 4px 20px rgba(251,191,36,0.5);
  }
  50% {
    transform: translateX(-5px);
    box-shadow: 0 6px 30px rgba(251,191,36,0.8);
  }
}

/* ========================================
   FIXED SOCIAL SIDEBAR
   ======================================== */
.fixed-social-sidebar {
  position: fixed;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 48;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  padding: 28px 14px;
  border-radius: 22px;
  border: 1px solid rgba(0, 209, 102, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.social-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.social-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.social-icon:hover::before {
  opacity: 1;
}

/* BRAND COLORS */
.facebook {
  background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.instagram {
  background: linear-gradient(135deg, #e4405f, #f77737, #ffdc80);
}

.youtube {
  background: linear-gradient(135deg, #ff0000, #ff5722);
}

.telegram {
  background: linear-gradient(135deg, #0088cc, #40a9ff);
}

.social-icon i {
  font-size: 22px;
  color: #ffffff;
  position: relative;
  z-index: 2;
}

.social-icon:hover {
  transform: translateX(10px) scale(1.08);
  box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

.facebook:hover {
  border-color: #1877f2;
}

.instagram:hover {
  border-color: #e4405f;
}

.youtube:hover {
  border-color: #ff0000;
}

.telegram:hover {
  border-color: #0088cc;
}

/* ========================================
   RESPONSIVE BREAKPOINTS
   ======================================== */

/* Large Tablets & Small Laptops (≤1200px) */
@media (max-width: 1200px) {
  .desktop-menu a {
    font-size: 12px;
    padding: 9px 12px;
  }
  
  .desktop-menu a.cta,
  .desktop-menu a.login-btn {
    padding: 9px 14px;
  }
}

/* Tablets (≤992px) */
@media (max-width: 992px) {
  .desktop-menu a {
    font-size: 11px;
    padding: 8px 10px;
  }
  
  .fixed-social-sidebar {
    left: 20px;
    padding: 24px 12px;
    gap: 12px;
  }
  
  .social-icon {
    width: 50px;
    height: 50px;
  }
  
  .social-icon i {
    font-size: 20px;
  }
}

/* Mobile & Small Tablets (≤768px) */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }
  
  .topbar {
    padding: 6px 12px;
    font-size: 12px;
    gap: 15px;
  }
  
  .topbar-text {
    font-size: 12px;
  }
  
  .topbar-phone {
    font-size: 11px;
  }
  
  .nav {
    height: 64px;
    padding: 0 16px;
  }
  
  .container {
    padding: 0 16px;
  }
  
  .brand img.logo {
    height: 42px;
  }
  
  .brand-name {
    font-size: 18px;
  }
  
  .brand-tagline {
    font-size: 10px;
  }
  
  .menu-toggle {
    display: flex !important;
  }
  
  .desktop-menu {
    display: none !important;
  }
  
  .mobile-menu {
    display: block;
  }
  
  /* Hide social sidebar on mobile */
  .fixed-social-sidebar {
    display: none;
  }
  
  /* Adjust enquiry tab */
  .fixed-enquiry-tab a {
    padding: 12px 24px;
    font-size: 11px;
  }
}

/* Small Mobile (≤600px) */
@media (max-width: 600px) {
  .topbar {
    flex-direction: column;
    gap: 6px;
    padding: 8px 10px;
  }
  
  .topbar-text {
    font-size: 11px;
  }
  
  .topbar-phone {
    font-size: 10px;
  }
  
  .brand img.logo {
    height: 38px;
  }
  
  .brand-name {
    font-size: 16px;
  }
  
  .brand-tagline {
    font-size: 9px;
  }
  
  .menu-toggle {
    padding: 8px 10px;
  }
  
  .hamburger {
    width: 22px;
    height: 2.5px;
  }
  
  .mobile-menu li a {
    padding: 16px 20px;
    font-size: 14px;
  }
  
  .mobile-menu li.auth-row a {
    padding: 18px 12px;
    font-size: 13px;
  }
  
  .fixed-enquiry-tab a {
    padding: 10px 20px;
    font-size: 10px;
    letter-spacing: 0.8px;
  }
}

/* Extra Small Mobile (≤480px) */
@media (max-width: 480px) {
  :root {
    --header-height: 60px;
  }
  
  .nav {
    height: 60px;
  }
  
  .brand img.logo {
    height: 36px;
  }
  
  .brand-name {
    font-size: 15px;
  }
  
  .brand-tagline {
    font-size: 8px;
  }
  
  .mobile-menu li a {
    padding: 15px 18px;
    font-size: 13px;
    gap: 10px;
  }
  
  .mobile-menu li a i {
    font-size: 14px;
  }
  
  .fixed-enquiry-tab {
    right: 2px;
  }
  
  .fixed-enquiry-tab a {
    padding: 10px 18px;
    font-size: 9px;
  }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.hide-mobile {
  display: block;
}

@media (max-width: 768px) {
  .hide-mobile {
    display: none;
  }
}

.show-mobile {
  display: none;
}

@media (max-width: 768px) {
  .show-mobile {
    display: block;
  }
}




