
/* 🌐 Basic Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Inter', sans-serif;
  background: #000;
  color: #fff;
  scroll-behavior: smooth;
}
a {
  text-decoration: none;
  color: inherit;
}




/* 🧱 Header Structure */
.main-header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 90px;
  padding: 0 40px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 30px rgba(1, 221, 195, 0.05);
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.4s ease, backdrop-filter 0.6s ease;
}

.main-header.sticky {
  left: 190px;
  right: 190px;
  width: auto;
  max-width: calc(100% - 100px);

  height: 70px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 2px #c0d73188;;
  border-radius: 18px;

  padding: 0 30px;
  margin-top: 20px;
  margin-bottom: 20px;
  transition: all 0.4s ease-in-out;
}

/* Logo Scaling */
.main-header .logo img {
  height: 180px;
  max-height: 100%;
  margin-left :30px;
  margin-right:30px;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.logo img:hover {
  filter: drop-shadow(0 0 5px #01ddc3);
  transition: filter 0.3s ease;
}

.main-header.sticky .logo {
  transform: scale(0.9) translateY(-4px);

}


.main-header.sticky .logo img {
  height: 170px !important;
  transform: scale(0.88) translateY(-5px);
}

/* Container Inside Header */
.main-header .container {
  max-width: 1400px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}


/* 🧭 Navigation */
.nav-links ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links ul li {
  position: relative;
}

.nav-links ul li a {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  position: relative;
  transition: color 0.3s ease;
  padding-bottom: 4px;
  display: inline-block;
}

.nav-links ul li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #01ddc3, #c0d731);
  border-radius: 20px;
  transition: width 0.4s ease;
}

.nav-links ul li a:hover {
  color: #01ddc3;
}

.nav-links ul li a:hover::after {
  width: 100%;
  transform: scale(0.95);
  transition: transform 0.1s ease;
}

.nav-links {
  position: relative; /* ✅ Needed to anchor the dropdown */
  z-index: 20;         /* Ensures it's above hero content */
}

.cta-btn:active {
  transform: scale(0.96);
  transition: transform 0.1s ease;
}


/* 🌐 Services Dropdown Wrapper */
.services-dropdown {
  position: relative;
  overflow: visible;
}

.services-dropdown:hover .dropdown-grid,
.services-dropdown.open .dropdown-grid {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
  animation: pulseShadow 0.8s ease;
}

/* 🧊 Dropdown Panel */
.dropdown-grid {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) scale(0.98);
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, 250px);
  gap: 20px;
  padding: 20px;
  background-color: rgba(20, 20, 20, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  box-shadow: 0 10px 35px rgba(1, 221, 195, 0.1);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(18px);
  transform-origin: top center;
  max-width: 600px;
  width: max-content;
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease;
}

/* 💡 Animated Light Sweep */
.dropdown-grid::before {
  content: "";
  position: absolute;
  top: 0;
  left: -20%;
  width: 140%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(1, 221, 195, 0.08) 50%,
    transparent 100%
  );
  z-index: -1;
  animation: lightSweep 4s ease-in-out infinite;
  border-radius: 16px;
  pointer-events: none;
}

@keyframes lightSweep {
  0% { transform: translateX(-100%); }
  50% { transform: translateX(0%); }
  100% { transform: translateX(100%); }
}

/* 💎 Dropdown Card */
.dropdown-card {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  transition: background 0.3s ease, transform 0.2s ease;
  color: white;
  text-decoration: none;
  position: relative;
}

.dropdown-card:hover {
  background: rgba(1, 221, 195, 0.1);
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 4px 12px rgba(1, 221, 195, 0.1);
}

/* 📌 Tooltip */
.dropdown-card::after {
  content: attr(data-tooltip);
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%) scale(0.95);
  font-size: 13px;
  padding: 2px 10px;
  background: rgba(0, 0, 0, 0.9);
  color: white;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 20;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.dropdown-card:hover::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.dropdown-card::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-bottom-color: rgba(0, 0, 0, 0.9);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 98;
}

.dropdown-card:hover::before {
  opacity: 1;
}

/* 🌀 Glow pulse when dropdown appears */
@keyframes pulseShadow {
  0%   { box-shadow: 0 10px 35px rgba(1, 221, 195, 0.1); }
  50%  { box-shadow: 0 12px 40px rgba(1, 221, 195, 0.25); }
  100% { box-shadow: 0 10px 35px rgba(1, 221, 195, 0.1); }
}

.dropdown-card .icon {
  font-size: 20px;
  margin-top: 2px;
  color: #01ddc3;
}

.dropdown-card strong {
  font-weight: 600;
  color: #fff;
}

.dropdown-card p {
  font-size: 13px;
  color: #aaa;
  margin-top: 2px;
}

/* 🌟 Services Label with Emoji & Sup */
.sup-wrap {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
}

.dropdown-emoji {
  font-size: 14px;
  transition: transform 0.3s ease;
  color: #01ddc3;
  display: inline-block;
}

.services-dropdown:hover .dropdown-emoji,
.services-dropdown.open .dropdown-emoji {
  transform: rotate(180deg) scale(1.2);
  transition: transform 0.3s ease;
}

.services-label-group {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.label-text {
  font-weight: 500;
  font-size: 16px;
  color: white;
}

/* 🧠 Customise CTA Block */
.dropdown-customise {
  grid-column: span 2;
  background: linear-gradient(90deg, #01ddc3, #c0d731);
  color: black;
  padding: 18px 20px;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  cursor: pointer;
  box-shadow: 0 0 0 rgba(1, 221, 195, 0);
}


.dropdown-customise:hover {
  background: linear-gradient(90deg, #c0d731, #01ddc3);
  box-shadow: 0 4px 18px rgba(1, 221, 195, 0.2);
  transform: translateY(-2px) scale(1.02);
}

/* 🧠 Click/Press Motion */
.dropdown-customise:active {
  transform: scale(0.96);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0.2);
}

.dropdown-customise strong {
  font-size: 15px;
  font-weight: 600;
  color: #000;
}

.dropdown-customise p {
  font-size: 13px;
  color: #222;
  margin-top: 2px;
}

.dropdown-customise .custom-text p {
  font-size: 13px;
  color: #222;
  margin-top: 2px;
}

.custom-btn {
  background: #000;
  color: #c0d731;
  padding: 8px 16px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
}

.custom-btn:hover {
  background: #fff;
  color: #000;
}

.badge {
  background-color: #c0d731;
  color: #000;
  font-size: 15px;
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: 8px;
  
  
  animation: pulseColors 1s infinite;
}

@keyframes pulseColors {
  0% { background-color: #c0d731; }
  50% { background-color: #01ddc3; }
  100% { background-color: #c0d731; }
}



/* 🌓 Theme + CTA */
.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
  
}

.toggle-theme {
  background: transparent;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #fff;
}

body.light-theme {
  background-color: #fff;
  color: #000;
}

.cta-btn {
  background-color: #c0d731;
  color: black;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 14px;
  transition: 0.3s;
  box-shadow: 0 0 10px rgba(1, 221, 195, 0.2);
  transform: scale(1);
  min-width: 130px;              /* ✅ Lock width */
  max-width: 150px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.main-header.sticky .cta-btn {
  background-color: #c0d731;
  color:black;
}

.cta-btn:hover {
  animation: pulseCta 0.5s ease;
  transform: scale(1.05);
}

@keyframes pulseCta {
  0%   { box-shadow: 0 0 0 0 rgba(1, 221, 195, 0.5); }
  70%  { box-shadow: 0 0 0 12px rgba(1, 221, 195, 0); }
  100% { box-shadow: 0 0 0 0 rgba(1, 221, 195, 0); }
}

/* CTA btn changing */
/* CTA Text Inside */
.cta-text {
  display: inline-block;
  text-align: center;
  white-space: nowrap;
  width: 100%;                   /* ✅ Prevent shift */
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.slide-in {
  animation: slideIn 0.4s ease forwards;
}

@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* CTA FORM */


/* 🌟 Q Reveal + Typing + Video Layout */


.main-header .logo {
  position: relative; /* Needed for absolute positioning inside */
  transition: all 0.4s ease;
  display: inline-block;
}



.floating-q {
  position: absolute;
  top: 0;
  left: 0;
  height: 60px;
  z-index: 10;
  opacity: 1;
  transition: transform 1.2s ease-in-out;

  border-radius: 50%;
}


.floating-q.fly-out {
  transform: translate(00px, 280px);
}


.intro-reveal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding: 80px 100px;
  margin-top: 120px;
  min-height: 400px;
}

.left-part {
  flex: 1;
  position: relative;
}

.q-icon {
  width: 60px;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transform: translateX(0);
 transition: transform 0.08s linear, opacity 0.5s ease;
  z-index: 2;
}

.q-icon.move {
  opacity: 1;
  
}

.typing-text {
  font-size: 42px;
  font-weight: bold;
  margin-left: 80px;
  color: #01ddc3;
  font-family: 'Inter', sans-serif;
  min-height: 50px;
}

.right-part {
  flex: 1;
}

.intro-video {
  width: 100%;
  max-width: 500px;
  display: none;
  
}
.intro-video.show {
  display: block;
}

/* 📱 Mobile Navigation Base */
.mobile-nav {
  display: none;
  background-color: #111;
  position: absolute;
  top: 90px; /* same height as header */
  left: 0;
  width: 100%;
  padding: 20px;
  z-index: 999;
  flex-direction: column;
  gap: 15px;
  border-top: 1px solid #222;
}

.mobile-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav ul li a {
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  padding: 6px 0;
  display: inline-block;
  border-bottom: 1px solid #222;
}

/* 📂 Mobile Submenu (Services dropdown inside mobile) */
.mobile-submenu {
  display: none;
  margin-top: 8px;
  padding-left: 12px;
  border-left: 2px solid #01ddc3;
}

.mobile-submenu a {
  font-size: 14px;
  color: #aaa;
  display: block;
  margin-bottom: 8px;
}

/* ☰ Hamburger Button */
.hamburger {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  color: #01ddc3;
  cursor: pointer;
}

/* ✅ Responsive Rules */
/* ✅ Mobile Optimized Header Layout */
@media (max-width: 768px) {
  .main-header {
    height: 70px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
  }

  .main-header .container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .logo img.logoimg {
    height: 40px !important;
    margin: 0;
  }

  .nav-links,
  .header-right {
    display: none !important;
  }

  .hamburger {
    display: inline-block !important;
    font-size: 26px;
    background: none;
    border: none;
    color: #01ddc3;
    cursor: pointer;
    z-index: 1001;
  }

  .mobile-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #111;
    padding: 20px;
    z-index: 999;
  }

  .mobile-nav.active {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .mobile-nav a {
    color: white;
    font-size: 16px;
    text-decoration: none;
    padding: 10px 0;
    display: block;
    border-bottom: 1px solid #333;
  }

  .mobile-submenu {
    display: none;
    padding-left: 12px;
    border-left: 2px solid #01ddc3;
  }

  .mobile-submenu a {
    color: #aaa;
    font-size: 14px;
    margin: 5px 0;
  }
}
