/* style.css */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;700&display=swap");


:root {
  --bg-gradient: linear-gradient(90deg, #010b14 0%, #031b2b 50%, #01080e 100%);
  --blue-glow: #0076c9;
  --text-gray: #b0b8c1;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #01080e;
  font-family: "Inter", sans-serif;
}

.button-primary {
  padding: 6px 13px !important;
  border-top: 3px solid #82B8DC !important;
  border-radius: 10px !important;
}

.navbar {
  background-color: transparent;
  height: 85px;
  display: flex;
  align-items: center;
  position: absolute;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: background-color 0.3s ease;
  justify-content: space-between !important;
}

.navbar.scrolled {
  background-color: transparent;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
  width: 90%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Dark Background (Hero section is dark, links become white) */
.navbar.header-light .nav-links li a {
  color: #ffffff!important;
}

/* Fix sub-menu color to black in light header mode */
.navbar.header-light .dropdown-menu-custom li a {
  color: #000000 !important;
}
.navbar.header-light .dropdown-menu-custom li a:hover {
  color: #0076c9 !important;
}

.navbar.header-light .nav-links li a::after {
  background-color: #fff;
}

/* Light Background (Hero section is white, links become black) */
.navbar.header-dark .nav-links li a {
  color: #000000;
}

.navbar.header-dark .nav-links li .contact-btn {
  color: #fff !important;
}

.navbar.header-dark .nav-links li a::after {
  background-color: #0076c9;
  /* Hover line becomes blue */
}

.navbar.header-dark .nav-links li a:hover {
  color: #0076c9;
  /* Text becomes blue on hover */
}

/* Mobile Hamburger color adjustment */
.navbar.header-dark .hamburger span {
  background: #000000;
}

/* Desktop Menu */
.nav-links {
  list-style: none;
}

.nav-links li {
  position: relative;
  /* Anchor point for the border */
}

.nav-links li a {
  text-decoration: none;
  color: #fff;
  /* Aapke background ke hisaab se color */
  font-size: 16px;
  padding: 5px 0;
  position: relative;
  display: flex;
  align-items: center;
}

.nav-links a:hover {
  color: #fff;
}

.nav-links li a.active {
  color: #0069C8 !important;
}

/* Border ka Initial State (Hidden) */
.nav-links li a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  /* Border ki thickness */
  bottom: 0;
  left: 0;
  background-color: #ffffff;
  /* White Border */
  transform: scaleX(0);
  /* Shuruat mein width 0 rahegi */
  transform-origin: bottom left;
  /* Animation left se shuru hogi */
  transition: transform 0.3s ease-out;
  /* Smooth transitions */
}

/* Hover State (Show Border) */
.nav-links li a:hover::after {
  transform: scaleX(1);
  /* Hover karne par full width */
}

/* Contact Us Button Reset (Taki button ke niche line na aaye) */
.nav-links li a.btn-primary::after {
  display: none;
}

.arrow-right {
  width: 20px;
  height: 20px;
}

.contact-btn:hover .arrow {
  transform: translateX(5px);
}

.arrow {
  display: inline-block;
  margin-left: 8px;
  /* Animation ko yahan directly add kar diya */
  animation: arrowMove 1.2s ease-in-out infinite;
}

@keyframes arrowMove {
  0% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(-5px);
    /* Thoda left move karega */
  }

  100% {
    transform: translateX(0);
  }
}



/* Styles for Mobile Drawer (Initially Hidden on Desktop) */

.nav-links {
  list-style: none;
}

@media (min-width: 992px) {
  .nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
  }
}

.drawer-header {
  display: none;
  /* Hidden by default, shown in mobile */

  justify-content: space-between;

  align-items: center;

  padding: 20px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.drawer-header span {
  font-size: 18px;

  font-weight: 700;

  color: #fff;
}

.close-btn {
  color: #fff;

  font-size: 30px;

  cursor: pointer;
}

.overlay {
  position: fixed;

  top: 0;

  left: 0;

  width: 100%;

  height: 100%;

  background: rgba(0, 0, 0, 0.5);

  z-index: 998;

  opacity: 0;

  visibility: hidden;

  transition: opacity 0.3s, visibility 0.3s;
}

.overlay.active {
  opacity: 1;

  visibility: visible;
}

/* Hamburger Icon */

.hamburger {
  display: none;

  flex-direction: column;

  gap: 6px;

  cursor: pointer;
}

.hamburger span {
  width: 30px;

  height: 3px;

  background: white;

  border-radius: 2px;
}

.drawer-header {
  display: none;
  /* Only visible in mobile */
}


/* --- Dropdown Styles --- */
.nav-item-dropdown {
  position: relative;
}

.dropdown-menu-custom {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 200px;
  list-style: none;
  padding: 10px 0;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1001;
  color: #000!important;
  background-color: #fff;
}

.dropdown-menu-custom li a {
  padding: 10px 20px !important;
  font-size: 14px !important;
  display: block !important;
}

.dropdown-menu-custom li a::after {
  display: none !important;
  /* Remove underline from dropdown items */
}

/* Hover effect for Desktop */
@media (min-width: 992px) {
  .nav-item-dropdown:hover .dropdown-menu-custom {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

/* --- Default (White Background) Styles --- */
.dropdown-menu-custom {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 10px 0;
}

.dropdown-menu-custom li a {
  color: #000; /* Default text color black */
  display: block;
  padding: 8px 15px;
  text-decoration: none;
  transition: background 0.3s ease;
}

/* Hover effect for White Background */
.dropdown-menu-custom li a:hover {
  background-color: #c1c1c1 !important; /* Aapki requirement */
  color: #000; 
}

/* --- Dark Theme Adaptation --- */
.navbar.header-dark .dropdown-menu-custom {
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.navbar.header-dark .dropdown-menu-custom li a {
  color: #fff;
}

/* Hover effect for Dark Background (Optional: Change if needed) */
.navbar.header-dark .dropdown-menu-custom li a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff!important;
}

/* --- Mobile Specific (Responsive) --- */
@media (max-width: 991px) {

  .hamburger {
    display: flex;
  }

  .dropdown-menu-custom {
    position: static;
    opacity: 1;
    visibility: visible;
    display: none;
    /* Toggle via JS */
    background: rgba(255, 255, 255, 0.04) !important;
    border: none !important;
    border-left: 3px solid #0069C8 !important;
    border-radius: 0 8px 8px 0 !important;
    box-shadow: none !important;
    padding: 10px 10px !important;
    transform: none;
    margin-top: 15px;
    margin-bottom: 15px;
    margin-left: 10px;
  }
  .dropdown-menu-custom li {
    margin-bottom: 12px;
  }
  .dropdown-menu-custom li:last-child {
    margin-bottom: 0;
  }
  .dropdown-menu-custom li a {
    color: #fff !important;
    padding: 14px 18px !important;
    border-radius: 8px;
  }

  .dropdown-menu-custom.active {
    display: block;
  }

  .dropdown-toggle-link::after {
    content: ' ▼';
    font-size: 10px;
    margin-left: 5px;
  }
  .navbar.header-dark .dropdown-menu-custom li a {
    color: #fff !important;
  }
}
/* 1. Mobile aur Tablet Devices ke liye (Small Screens) */
@media (max-width: 991px) {
  .navbar.header-light .dropdown-menu-custom li a {
    color: #ffffff !important; /* Yahan light color (white) rakha hai */
  }
  .navbar.header-light .dropdown-menu-custom li a:hover {
    color: #f0f0f0 !important; /* Hover par thoda different light color */
  }
}

/* 2. Desktop aur Large Screens ke liye (Laptops/Monitors) */
@media (min-min-width: 992px) {
  .navbar.header-light .dropdown-menu-custom li a {
    color: #000000 !important; /* Dark color */
  }
  .navbar.header-light .dropdown-menu-custom li a:hover {
    color: #0076c9 !important; /* Blue hover color */
  }
}
