:root {
  --background: #020617;
  --foreground: #ffffff;
  --primary: #00aeef;
  --primary-hover: #0099cc;
  --card-bg: rgba(255, 255, 255, 0.03);
  --card-border: rgba(255, 255, 255, 0.08);
  --text-muted: #94a3b8;
}

html,
body {
  font-family: "Inter", sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  max-width: 100%;
  overflow-x: hidden;
}

/* Navbar - Perfectly Centered Alignment */
.navbar {
  background-color: #ffffff !important;
  padding: 1rem 0 !important;
  z-index: 1050;
}

.navbar-nav {
  flex: 1;
  justify-content: center;
}

.nav-link {
  color: #334155 !important;
  font-weight: 700 !important;
  font-size: 0.95rem;
  padding: 0.8rem 1.5rem !important;
  border-radius: 50px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link:hover,
.nav-link.show {
  background-color: #e0f7ff !important;
  color: var(--primary) !important;
}

/* Ensure Side elements have equal fixed width for perfect centering */
.navbar-brand,
.navbar-cta-container {
  flex: 0 0 260px;
}

.navbar-cta-container {
  display: flex;
  justify-content: flex-end;
}

/* Mega Menu - Centered Floating Card */
.mega-menu {
  position: static !important;
}

.dropdown-menu.mega-menu-card {
  border-radius: 32px !important;
  border: 1px solid #f1f5f9 !important;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15) !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 1200px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  margin-top: 15px !important;
  overflow: hidden;
}

.mega-menu-content {
  padding: 40px;
}

.mega-menu-footer {
  background: #f8fafc;
  padding: 25px 40px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mega-category-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  color: #0f172a;
  font-weight: 700;
}

.mega-category-icon {
  width: 36px;
  height: 36px;
  background: #e0f7ff;
  color: #00aeef;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mega-menu-link {
  display: block;
  padding: 6px 0;
  color: #64748b !important;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.mega-menu-link:hover {
  color: var(--primary) !important;
  transform: translateX(5px);
}

/* Sections */
section {
  padding: 20px 5px;
}

.bg-dark-900 {
  background-color: #020617;
}

.bg-dark-800 {
  background-color: #030712;
}

/* Hero */
.hero-section {
  /* padding: 160px 0 120px; */
  background: radial-gradient(circle at 10% 20%,
      rgba(0, 174, 239, 0.05) 0%,
      transparent 50%);
}

.hero-badge {
  background: rgba(0, 174, 239, 0.1);
  border: 1px solid rgba(0, 174, 239, 0.2);
  color: #38bdf8;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-block;
}

/* Feature Cards */
.glass-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 40px;
  border-radius: 32px;
  transition: all 0.3s ease;
  height: 100%;
}

.glass-card:hover {
  border-color: rgba(0, 174, 239, 0.5);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-8px);
}

.icon-blue {
  width: 56px;
  height: 56px;
  background: rgba(0, 174, 239, 0.15);
  color: #00aeef;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 25px;
}

/* Process Timeline */
.process-line {
  position: relative;
  max-width: 900px;
  margin: 50px auto;
}

.process-line::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #00aeef, transparent);
  transform: translateX(-50%);
}

.process-step {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 80px;
  position: relative;
}

.process-box {
  width: 42%;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 25px;
  border-radius: 20px;
}

.process-marker {
  width: 16px;
  height: 16px;
  background: #00aeef;
  border-radius: 50%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 20px #00aeef;
  z-index: 10;
}

/* Tech Icons */
.tech-box {
  padding: 24px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  text-align: center;
  transition: 0.3s;
}

.tech-box:hover {
  border-color: #00aeef;
  background: rgba(0, 174, 239, 0.05);
}

/* Accordion */
.accordion-item {
  background: transparent !important;
  border: 1px solid var(--card-border) !important;
  border-radius: 20px !important;
  margin-bottom: 15px;
  overflow: hidden;
}

.accordion-button {
  background: rgba(255, 255, 255, 0.02) !important;
  color: #ffffff !important;
  padding: 24px !important;
  font-weight: 600;
}

.accordion-button:not(.collapsed) {
  color: #00aeef !important;
}

.accordion-body {
  color: var(--text-muted);
  padding: 0 24px 24px !important;
}

/* Buttons */
.btn-primary {
  background-color: #00aeef;
  border: none;
  padding: 12px 28px;
  border-radius: 12px;
  font-weight: 700;
}

.btn-primary:hover {
  background-color: #0099cc;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 174, 239, 0.3);
}

.btn-outline-glass {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 12px 28px;
  border-radius: 12px;
  font-weight: 700;
}

/* Footer - Professional White Theme */
.footer-white {
  background: #ffffff;
  color: #0f172a;
  padding: 25px 0 4px;
}

.footer-nav-links li {
  margin-bottom: 12px;
}

.footer-nav-links a {
  color: #475569;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: 0.2s;
}

.footer-nav-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.social-icons a {
  width: 32px;
  height: 32px;
  background: #f1f5f9;
  color: #0f172a;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: 0.2s;
}

.social-icons a:hover {
  background: var(--primary);
  color: #fff;
}

/* Newsletter Banner */
.footer-newsletter-banner {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.footer-newsletter-banner .input-group .form-control {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 12px 20px;
  color: black;
}

.footer-newsletter-banner .input-group .btn-primary {
  border-radius: 0 10px 10px 0 !important;
}

.extra-small {
  font-size: 0.75rem;
}

.mb-n100 {
  margin-bottom: -100px !important;
  position: relative;
  z-index: 5;
}

/* Hero Enhancements */
.hero-image-container img {
  border: 8px solid rgba(255, 255, 255, 0.05);
}

.image-overlay-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(0, 174, 239, 0.9);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* CTA Banner Modernization */
.cta-banner {
  background: linear-gradient(135deg, #00aeef 0%, #0077b6 100%);
  box-shadow: 0 20px 40px rgba(0, 174, 239, 0.3);
}

.footer-legal-links a:hover {
  color: var(--primary) !important;
}

@media (max-width: 991px) {
  .process-line::before {
    left: 20px;
  }

  .process-step {
    flex-direction: row !important;
  }

  .process-box {
    width: 85%;
    margin-left: 50px;
  }

  .process-marker {
    left: 20px;
  }

  .navbar-nav {
    margin-top: 20px;
  }

  .navbar-brand,
  .navbar-cta-container {
    flex: 1;
  }

  .mb-n100 {
    margin-bottom: 0 !important;
  }
}

/* Ensure hover triggers dropdowns on desktop */
@media (min-width: 992px) {
  .dropdown:hover>.dropdown-menu {
    display: block;
  }
}

/* Fix Mega Menu on Mobile */
@media (max-width: 991px) {
  .dropdown-menu.mega-menu-card {
    width: 100% !important;
    position: static !important;
    transform: none !important;
    left: 0 !important;
    margin-top: 5px !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    border: 1px solid #e2e8f0 !important;
  }

  .mega-menu-content {
    padding: 20px !important;
  }

  .mega-menu-footer {
    padding: 15px 20px !important;
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .navbar-collapse {
    max-height: 80vh;
    overflow-y: auto;
  }
}

/* android-app-development page */
.services-dark-theme {
  background-color: #020617;
  color: #ffffff;
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
}

.services-dark-theme .text-primary {
  color: #00aeef !important;
}

.services-dark-theme .bg-primary {
  background-color: #00aeef !important;
}

.services-dark-theme .btn-primary {
  background-color: #00aeef;
  border-color: #00aeef;
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  padding: 12px 28px;
  transition: 0.3s;
}

.services-dark-theme .btn-primary:hover {
  background-color: #0092c9;
  border-color: #0092c9;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 174, 239, 0.2);
}

.services-dark-theme .btn-outline-glass {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  padding: 12px 28px;
  transition: 0.3s;
}

.services-dark-theme .btn-outline-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.services-dark-theme .glass-panel {
  background: #0b1221;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 24px;
  transition: 0.3s;
}

.services-dark-theme .glass-panel:hover {
  border-color: rgba(0, 174, 239, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 174, 239, 0.05);
}

.services-dark-theme .glow-bg {
  position: absolute;
  z-index: 0;
  filter: blur(120px);
  pointer-events: none;
}

.services-dark-theme .hero-section-srv {
  position: relative;
  padding: 120px 0 80px 0;
  background-color: #050b14;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.services-dark-theme .badge-srv {
  background: rgba(0, 174, 239, 0.1);
  color: #00aeef;
  border: 1px solid rgba(0, 174, 239, 0.3);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
  display: inline-block;
}

.services-dark-theme .gradient-text {
  background: linear-gradient(to right, #00aeef, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.services-dark-theme .dark-card {
  background: #0f1624;
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s;
}

.services-dark-theme .icon-box {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 174, 239, 0.1);
  color: #00aeef;
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 1.25rem;
}

/* Timeline */
.services-dark-theme .timeline-point {
  position: relative;
  padding-left: 40px;
  margin-bottom: 40px;
}

.services-dark-theme .timeline-point::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: -40px;
  width: 2px;
  background: rgba(255, 255, 255, 0.1);
}

.services-dark-theme .timeline-point:last-child::before {
  display: none;
}

.services-dark-theme .timeline-dot {
  position: absolute;
  left: -9px;
  top: 0;
  width: 20px;
  height: 20px;
  background: #00aeef;
  border: 4px solid #0f1624;
  border-radius: 50%;
}

.services-dark-theme .timeline-card {
  background: #0b1221;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 24px;
}

/* Side by Side Capabilities */
.services-dark-theme .cap-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.services-dark-theme .cap-item {
  background: #0b1221;
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 16px 24px;
  border-radius: 8px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  align-items: center;
}

.services-dark-theme .cap-item:hover,
.services-dark-theme .cap-item.active {
  background: rgba(0, 174, 239, 0.1);
  border-color: rgba(0, 174, 239, 0.3);
  color: #fff;
}

/* Tech Grid */
.services-dark-theme .tech-icon-box {
  background: #0b1221;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  width: 80px;
  height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: 0.3s;
}

.services-dark-theme .tech-icon-box:hover {
  background: #0f1624;
  border-color: rgba(0, 174, 239, 0.3);
  transform: translateY(-5px);
}

/* Accordion Dark */
.services-dark-theme .accordion-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
}

.services-dark-theme .accordion-button {
  background: transparent;
  color: #fff;
  font-weight: 600;
  padding: 24px 0;
  border: none;
  box-shadow: none !important;
}

.services-dark-theme .accordion-button:not(.collapsed) {
  background: transparent;
  color: #00aeef;
  box-shadow: none;
}

.services-dark-theme .accordion-button::after {
  filter: invert(1) grayscale(100%) brightness(200%);
}

.services-dark-theme .accordion-body {
  color: rgba(255, 255, 255, 0.7);
  border: none;
  padding: 0 0 24px 0;
}

.services-dark-theme .cta-gradient {
  background: linear-gradient(135deg, #0f1624 0%, #03081a 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.glitch-img-container {
  position: relative;
  height: 450px;
  overflow: hidden;
  border-radius: 20px;
}

/* Mobile Fixes for Mega Menu Footers */
@media (max-width: 991px) {

  .mega-menu-footer,
  .mega-menu-card .p-4.d-flex.align-items-center.justify-content-between {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 15px !important;
    text-align: left;
  }
}