/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Global text adjustments for mobile */
/* Better text sizes for phones */
@media (max-width: 768px) {
  body {
    font-size: 16px;   /* average readable size */
    line-height: 1.6;
    font-weight: 400;
  }

  h1 {
    font-size: 26px;   /* big but not overwhelming */
    font-weight: 700;
  }
  h2 {
    font-size: 22px;
    font-weight: 600;
  }
  h3 {
    font-size: 20px;
    font-weight: 600;
  }
  h4, h5, h6 {
    font-size: 18px;
    font-weight: 500;
  }

  p, li, a, span {
    font-size: 15px;
    font-weight: 400;
  }
}




body {
  font-family: 'Inter', sans-serif;
  background: radial-gradient(circle at top left, rgba(136, 136, 136, 0.15), transparent 70%),
              radial-gradient(circle at bottom right, rgba(187, 187, 187, 0.1), transparent 70%),
              #000000;
  background-attachment: fixed;
  color: #fff;
  line-height: 1.6;
  cursor: none;
}


/* multiple trail dots */
.nexgl-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  background: rgba(168, 85, 247, 0.7);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.8);
}


/* ================= NAVBAR ================= */
/* ================= NAVBAR ================= */
.nexgl-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background 0.3s ease, padding 0.3s ease;
  padding: 18px 40px;
}

.nexgl-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

/* Logo */
.nexgl-logo img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

/* Nav List */
.nexgl-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
}
.nexgl-nav-list {
  display: flex;
  gap: 30px;
  list-style: none;
}
.nexgl-nav-list a {
  text-decoration: none;
  color: #ccc;
  font-weight: 500;
  transition: color 0.3s ease;
}
.nexgl-nav-list a:hover,
.nexgl-nav-list a.active {
  color: #a855f7;
}

/* Submenu (desktop only) */
.nexgl-has-sub {
  position: relative;
}
.nexgl-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: rgba(26, 0, 51, 0.95);
  border-radius: 8px;
  padding: 10px 0;
  display: none;
  flex-direction: column;
  box-shadow: 0 6px 20px rgba(0,0,0,0.6);
}
.nexgl-has-sub:hover .nexgl-submenu {
  display: flex;
}
.nexgl-submenu a {
  padding: 10px 15px;
  color: #fff;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}
.nexgl-submenu a:hover {
  background: rgba(168, 85, 247, 0.15);
  color: #a855f7;
}
.nexgl-submenu-sep {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 5px 0;
}
.nexgl-submenu-cta {
  color: #a855f7;
  font-weight: bold;
}

/* CTA Button */
.nexgl-cta-btn {
  padding: 10px 18px;
  background: linear-gradient(45deg, #a855f7, #7e22ce);
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.nexgl-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(168, 85, 247, 0.4);
}

/* Scroll effect */
.nexgl-header.scrolled {
  background: linear-gradient(
    90deg,
    rgba(168, 85, 247, 0.15),
    rgba(126, 34, 206, 0.15)
  );
  backdrop-filter: blur(10px);
  padding: 8px 20px; /* smaller height on scroll */
}

/* ========== Mobile Styles ========== */
.nexgl-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}
.nexgl-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

@media (max-width: 900px) {
  .nexgl-header {
    padding: 12px 20px;
  }
  .nexgl-logo img {
    height: 40px;
  }

  /* CTA hidden on mobile */
  .nexgl-cta {
    display: none;
  }

  /* Toggle visible */
  .nexgl-toggle {
    display: flex;
  }

  /* Nav hidden initially */
  .nexgl-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: rgba(20, 0, 33, 0.95);
    animation: dropdownCurtain 0.4s ease forwards;
  }
  .nexgl-nav.open {
    display: flex;
  }
  @keyframes dropdownCurtain {
    0% { transform: translateY(-20px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
  }

  .nexgl-nav-list {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  .nexgl-nav-list a {
    padding: 14px 20px;
    display: block;
  }

  /* Hide submenu on mobile */
  .nexgl-has-sub .nexgl-submenu {
    display: none !important;
  }
  .nexgl-has-sub > a i {
    display: none; /* hide dropdown icon */
  }
}



/* ================= HERO SECTION ================= */
.nexgl-hero {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  color: #fff;
  padding: 0 20px;
  background: #000;
}

.nexgl-hero-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  background: #000;
}

#nexgl-hero-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.nexgl-hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.nexgl-hero-title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 20px;
  color: #fff;
}

.nexgl-hero-sub {
  font-size: 1.2rem;
  color: #aaa;
  margin-bottom: 30px;
}

.nexgl-hero-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.nexgl-btn {
  padding: 12px 26px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Solid button (purple stays for CTAs) */
.nexgl-btn-primary {
  background: linear-gradient(45deg, #6b21a8, #9333ea);
  color: #fff;
}
.nexgl-btn-primary:hover {
  box-shadow: 0 6px 20px rgba(147, 51, 234, 0.4);
  transform: translateY(-2px);
}

/* Outline button (gray) */
.nexgl-btn-outline {
  border: 2px solid #666;
  color: #aaa;
  background: transparent;
}
.nexgl-btn-outline:hover {
  background: rgba(200, 200, 200, 0.08);
  color: #fff;
}

/* ================= CLIENTS SECTION ================= */
.nexgl-clients {
  padding: 100px 20px;
  text-align: center;
  background: #000;
}

.nexgl-section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #fff;
}

.nexgl-clients-slider {
  position: relative;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}

.nexgl-clients-slider::before,
.nexgl-clients-slider::after {
  content: "";
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.nexgl-clients-slider::before {
  left: 0;
  background: linear-gradient(to right, #000 60%, transparent);
}
.nexgl-clients-slider::after {
  right: 0;
  background: linear-gradient(to left, #000 60%, transparent);
}

.nexgl-clients-track {
  display: flex;
  gap: 60px;
  animation: scrollClients 20s linear infinite;
}

.nexgl-clients-track img {
  height: 60px;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.9);
  transition: filter 0.3s ease;
}
.nexgl-clients-track img:hover {
  filter: grayscale(0%) brightness(1);
}

@keyframes scrollClients {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ================= SERVICES SECTION ================= */
.nexgl-services {
  padding: 120px 20px;
  background: #000;
  text-align: center;
}

.nexgl-container {
  max-width: 1200px;
  margin: 0 auto;
}

.nexgl-section-label {
  color: #888; /* gray instead of purple */
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nexgl-section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: #fff;
}

.nexgl-section-sub {
  font-size: 1.1rem;
  color: #aaa;
  margin-bottom: 70px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* service list grid */
.nexgl-services-list {
  display: grid;
  grid-template-columns: 1fr 1fr; /* two equal columns */
  gap: 50px;
  margin-bottom: 50px;
}

.nexgl-service-card {
  display: flex;
  gap: 25px;
  align-items: stretch;
  background: #111;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.05); /* gray glow */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nexgl-service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 35px rgba(255, 255, 255, 0.1); /* stronger gray glow */
}

/* scrolling list box */
.nexgl-service-video {
  flex: 1;
  min-width: 160px;
  max-height: 160px;
  background: #0a0a0a;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* fade masks at top/bottom */
.nexgl-service-video::before,
.nexgl-service-video::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 40px;
  z-index: 2;
  pointer-events: none;
}
.nexgl-service-video::before {
  top: 0;
  background: linear-gradient(to bottom, #0a0a0a, transparent);
}
.nexgl-service-video::after {
  bottom: 0;
  background: linear-gradient(to top, #0a0a0a, transparent);
}

/* list */
.nexgl-scroll-list {
  list-style: none;
  margin: 0;
  padding: 0;
  animation: scrollUp 8s linear infinite;
}
.nexgl-scroll-list li {
  font-size: 1rem;
  font-weight: 500;
  color: #888; /* gray instead of purple */
  text-align: center;
  margin: 12px 0;
}

@keyframes scrollUp {
  0% { transform: translateY(100%); }
  100% { transform: translateY(-100%); }
}

/* text content */
.nexgl-service-content {
  flex: 2;
  text-align: left;
}
.nexgl-service-content h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #fff;
}
.nexgl-service-content p {
  font-size: 1rem;
  color: #bbb;
  margin-bottom: 15px;
}

/* footer button */
.nexgl-services-footer {
  margin-top: 20px;
}

/* responsive */
@media (max-width: 992px) {
  .nexgl-services-list {
    grid-template-columns: 1fr; /* collapse to one column */
  }
  .nexgl-service-card {
    flex-direction: column;
    text-align: center;
  }
  .nexgl-service-content {
    text-align: center;
  }
}



/* ================= PROCESS SECTION ================= */
.nexgl-process {
  padding: 120px 20px;
  background: #000;
  text-align: center;
}

.nexgl-process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.nexgl-process-card {
  background: #111;
  padding: 40px 25px;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
}

.nexgl-process-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.nexgl-step-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  background: linear-gradient(45deg, #6b21a8, #9333ea);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nexgl-process-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: #fff;
}

.nexgl-process-card p {
  font-size: 1rem;
  color: #bbb;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
  .nexgl-process-steps {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 600px) {
  .nexgl-process-steps {
    grid-template-columns: 1fr;
  }
}








/* ================= BENEFITS SECTION ================= */
.nexgl-benefits {
  padding: 120px 20px;
  background: #000;
  text-align: center;
}

.nexgl-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.nexgl-benefit-card {
  position: relative;
  background: #111;
  border-radius: 16px;
  padding: 40px 25px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* glowing purple blur at bottom */
.nexgl-benefit-card::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 80px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.4), transparent 70%);
  filter: blur(40px);
  border-radius: 50%;
  opacity: 0.6;
  animation: glowPulse 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

/* card content stays above glow */
.nexgl-benefit-card > * {
  position: relative;
  z-index: 1;
}

/* hover interaction */
.nexgl-benefit-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.25);
}

/* pulsing glow animation */
@keyframes glowPulse {
  0% { opacity: 0.3; transform: translateX(-50%) scale(1); }
  50% { opacity: 0.8; transform: translateX(-50%) scale(1.05); }
  100% { opacity: 0.3; transform: translateX(-50%) scale(1); }
}

/* icon */
.nexgl-benefit-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  background: linear-gradient(45deg, #6b21a8, #9333ea);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nexgl-benefit-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #fff;
}

.nexgl-benefit-card p {
  font-size: 1rem;
  color: #bbb;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
  .nexgl-benefits-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .nexgl-benefits-grid {
    grid-template-columns: 1fr;
  }
}







/* ================= PLANS SECTION ================= */

/* ================= PLANS SECTION ================= */
/* ================= PLANS SECTION ================= */
.nexgl-plans {
  padding: 120px 20px;
  background: #000;
  text-align: center;
  overflow-x: hidden; /* 🔥 prevent horizontal scroll */
}

.nexgl-section-label {
  color: #888;
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nexgl-section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 50px;
  color: #fff;
}

/* Toggle wrapper */
.nexgl-toggle-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 60px;
  font-size: 1rem;
  color: #ccc;
}

.nexgl-toggle-label small {
  font-size: 0.8rem;
  color: #a855f7;
}

/* Toggle switch */
.nexgl-switch {
  position: relative;
  display: inline-block;
  width: 54px;
  height: 28px;
}
.nexgl-switch input { display: none; }
.nexgl-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #333;
  border-radius: 30px;
  transition: 0.4s;
}
.nexgl-slider::before {
  position: absolute;
  content: "";
  height: 22px; width: 22px;
  left: 3px; bottom: 3px;
  background: #a855f7;
  border-radius: 50%;
  transition: 0.4s;
}
.nexgl-switch input:checked + .nexgl-slider::before {
  transform: translateX(26px);
}

/* Plans Grid */
.nexgl-plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); /* 🔧 smaller min-width */
  gap: 25px; /* tighter gaps */
  max-width: 1100px;
  margin: 0 auto;
}

.nexgl-plan-card {
  background: #111;
  padding: 40px 25px;
  border-radius: 20px;
  position: relative;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.nexgl-plan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 35px rgba(168, 85, 247, 0.2);
}

.nexgl-plan-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: #fff;
}

.nexgl-plan-price {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: #fff;
}

.nexgl-plan-price .yearly { display: none; }

/* Features */
.nexgl-plan-features {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}
.nexgl-plan-features li {
  margin: 10px 0;
  color: #aaa;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nexgl-plan-features li::before {
  content: "✓";
  color: #a855f7;
  font-weight: bold;
}

/* Buttons */
.nexgl-plan-card .nexgl-btn {
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 12px 0;
  font-weight: 600;
  border-radius: 8px;
}

/* Highlighted Plan */
.nexgl-plan-card.highlighted {
  border: 2px solid #a855f7;
  transform: scale(1.05);
  z-index: 1;
}

/* Glow Effects */
.glow-bottom::after,
.glow-top::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 70%; /* 🔧 smaller */
  height: 70px;
  border-radius: 50%;
  filter: blur(50px);
  animation: glowPulse 4s ease-in-out infinite;
}

.glow-bottom::after {
  bottom: -15px;
  background: rgba(168, 85, 247, 0.3);
}
.glow-top::after {
  top: -15px;
  background: rgba(168, 85, 247, 0.25);
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
  .nexgl-plan-card {
    padding: 30px 20px; /* 🔧 smaller padding */
  }
  .nexgl-plan-price {
    font-size: 1.6rem;
  }
  .nexgl-section-title {
    font-size: 2rem;
  }
}




/* ================= TESTIMONIALS SECTION ================= */
.nexgl-testimonials {
  padding: 120px 20px;
  background: #000;
  text-align: center;
}

.nexgl-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 40px;
  margin-top: 60px;
}

/* Each testimonial uses 4 columns (with 2 empty left/right) */
.nexgl-testimonial-card {
  grid-column: span 4;
  background: #111;
  padding: 40px 30px;
  border-radius: 16px;
  position: relative;
  box-shadow: 0 0 25px rgba(255,255,255,0.05);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.nexgl-testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 35px rgba(168,85,247,0.3);
}

/* Stars */
.nexgl-stars {
  color: #facc15; /* gold */
  font-size: 1.2rem;
  margin-bottom: 20px;
}

/* Review text */
.nexgl-review {
  font-size: 1rem;
  color: #ddd;
  margin-bottom: 25px;
  line-height: 1.6;
}

/* User info */
.nexgl-user {
  display: flex;
  align-items: center;
  gap: 15px;
}
.nexgl-user img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}
.nexgl-user h4 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 2px;
}
.nexgl-user small {
  font-size: 0.9rem;
  color: #aaa;
}

/* Glowing effect */
.nexgl-testimonial-card::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  filter: blur(50px);
  background: rgba(168,85,247,0.6);
  animation: glowPulse 3s ease-in-out infinite;
  pointer-events: none;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* Responsiveness */
@media (max-width: 992px) {
  .nexgl-testimonials-grid {
    grid-template-columns: 1fr;
  }
  .nexgl-testimonial-card {
    grid-column: auto;
  }
}





/* ================= FAQ SECTION ================= */
.nexgl-faq {
  padding: 120px 20px;
  background: #000;
  text-align: center;
}

.nexgl-faq .nexgl-section-label {
  color: #a855f7;
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nexgl-faq .nexgl-section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 50px;
  color: #fff;
}

/* FAQ Container */
.nexgl-faq-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

/* FAQ Item */
.nexgl-faq-item {
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.08);
  transition: box-shadow 0.3s ease;
}
.nexgl-faq-item.open {
  box-shadow: 0 0 35px rgba(168, 85, 247, 0.25);
}

/* Question */
.nexgl-faq-question {
  width: 100%;
  padding: 20px 25px;
  background: linear-gradient(
    90deg,
    rgba(168, 85, 247, 0.12) 0%,
    rgba(168, 85, 247, 0.05) 100%
  );
  border: none;
  outline: none;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease, color 0.3s ease;
  backdrop-filter: blur(6px); /* glassy effect */
}

.nexgl-faq-question:hover {
  background: linear-gradient(
    90deg,
    rgba(168, 85, 247, 0.25) 0%,
    rgba(168, 85, 247, 0.1) 100%
  );
}

.nexgl-faq-question i {
  transition: transform 0.3s ease;
}
.nexgl-faq-item.open .nexgl-faq-question i {
  transform: rotate(180deg);
  color: #a855f7;
}

/* Answer (collapsible) */
.nexgl-faq-answer {
  max-height: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  color: #aaa;
  font-size: 1rem;
  padding: 0 25px;
  line-height: 1.6;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.nexgl-faq-item.open .nexgl-faq-answer {
  max-height: 300px; /* enough for long answers */
  padding: 20px 25px;
}

/* Glow effect pulse */
.nexgl-faq-item.open {
  position: relative;
}
.nexgl-faq-item.open::after {
  content: "";
  position: absolute;
  bottom: -15px;
  right: -15px;
  width: 120px;
  height: 120px;
  background: rgba(168, 85, 247, 0.2);
  filter: blur(60px);
  border-radius: 50%;
  animation: glowPulse 3s infinite ease-in-out;
}
@keyframes glowPulse {
  0% { opacity: 0.4; }
  50% { opacity: 1; }
  100% { opacity: 0.4; }
}

/* Responsive */
@media (max-width: 768px) {
  .nexgl-faq .nexgl-section-title {
    font-size: 2rem;
  }
  .nexgl-faq-question {
    font-size: 1rem;
    padding: 16px 20px;
  }
}



/* ================= CTA SECTION ================= */
/* ================= CTA SECTION ================= */
.nexgl-cta-section {
  padding: 100px 20px;
  background: #000;
  text-align: center;
}

.nexgl-cta-box {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 40px;
  border-radius: 20px;
  position: relative;
  background: rgba(0, 0, 0, 0.65); /* glassy black */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Purple glow only at top-left & bottom-right edges */
.nexgl-cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background:
    radial-gradient(circle at top left, rgba(168, 85, 247, 0.25), transparent 70%),
    radial-gradient(circle at bottom right, rgba(147, 51, 234, 0.25), transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* Title */
.nexgl-cta-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  line-height: 1.3;
}

/* Sub-title */
.nexgl-cta-sub {
  font-size: 1.2rem;
  color: #ddd;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
  line-height: 1.6;
}

/* Button container */
.nexgl-cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  position: relative;
  z-index: 2;
}

/* Button */
.nexgl-cta-actions .nexgl-btn {
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
}

/* ================= RESPONSIVE FIXES ================= */
@media (max-width: 992px) {
  .nexgl-cta-box {
    padding: 60px 30px;
  }
  .nexgl-cta-title {
    font-size: 2rem;
    margin-bottom: 18px;
  }
  .nexgl-cta-sub {
    font-size: 1rem;
    margin-bottom: 30px;
  }
  .nexgl-cta-actions .nexgl-btn {
    font-size: 0.95rem;
    padding: 12px 22px;
  }
}

@media (max-width: 600px) {
  .nexgl-cta-box {
    padding: 40px 20px;
  }
  .nexgl-cta-title {
    font-size: 1.5rem;
    margin-bottom: 14px;
  }
  .nexgl-cta-sub {
    font-size: 0.9rem;
    margin-bottom: 24px;
  }
  .nexgl-cta-actions {
    flex-direction: column;
    gap: 12px;
  }
  .nexgl-cta-actions .nexgl-btn {
    width: 100%;
    font-size: 0.9rem;
    padding: 10px 18px;
  }
}



/* ================= FOOTER ================= */
/* ================= FOOTER ================= */
.nexgl-footer {
  background: #000;
  color: #ccc;
  font-size: 0.95rem;
  margin-top: 100px;
  position: relative;
  overflow: hidden;
}

/* Purple gradient overlay fading down */
.nexgl-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 33%; /* only top 1/3rd */
  background: linear-gradient(to bottom, rgba(147, 51, 234, 0.25), transparent);
  z-index: 0;
  pointer-events: none;
}

.nexgl-footer-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* increased min width for spacing */
  gap: 50px; /* more breathing space */
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.nexgl-footer-logo img {
  height: 60px;
  margin-bottom: 20px;
}

.nexgl-footer-text {
  margin-bottom: 15px;
  color: #aaa;
}

/* Newsletter */
.nexgl-newsletter {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  margin-top: 10px;
}
.nexgl-newsletter input {
  flex: 1;
  min-width: 0; /* prevents overflow */
  padding: 12px 14px;
  border-radius: 6px;
  border: none;
  outline: none;
  background: #111;
  color: #fff;
}
.nexgl-newsletter button {
  padding: 12px 18px;
  border: none;
  border-radius: 6px;
  background: linear-gradient(45deg, #9333ea, #a855f7);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.3s ease;
}
.nexgl-newsletter button:hover {
  transform: translateY(-2px);
}

/* Footer headings */
.nexgl-footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  font-weight: 700;
  color: #fff;
}

/* Links */
.nexgl-footer-col ul {
  list-style: none;
  padding: 0;
}
.nexgl-footer-col ul li {
  margin-bottom: 10px;
}
.nexgl-footer-col ul a {
  text-decoration: none;
  color: #ccc;
  transition: color 0.3s ease;
}
.nexgl-footer-col ul a:hover {
  color: #a855f7;
}

/* Social Icons */
.nexgl-footer-social a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 16px;
  transition: all 0.3s ease;
}
.nexgl-footer-social a:hover {
  background: linear-gradient(45deg, #9333ea, #a855f7);
  transform: translateY(-3px);
}

/* Bottom copyright row */
.nexgl-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: #888;
  position: relative;
  z-index: 1;
}


























/* ================= ABOUT PAGE SECTIONS ================= */

/* ================= ABOUT PAGE ================= */

/* About Us Section */
.nexgl-about {
  padding: 120px 20px;
  background: #000;
  text-align: center;
}
.nexgl-about .nexgl-section-title {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 800;
}
.nexgl-about .nexgl-section-sub {
  color: #aaa;
  max-width: 800px;
  margin: 20px auto 0;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Vision & Mission */
.nexgl-vision-mission {
  padding: 100px 20px;
  background: #0a0a0a;
}
.nexgl-vm-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}
.nexgl-vm-card {
  background: #111;
  border-radius: 16px;
  padding: 40px 30px;
  text-align: left;
  position: relative;
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.nexgl-vm-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 40px rgba(168, 85, 247, 0.25);
}
.nexgl-vm-card h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: #a855f7;
}
.nexgl-vm-card p {
  color: #ccc;
  font-size: 1rem;
  line-height: 1.6;
}

/* Contact Section */
.nexgl-contact {
  padding: 120px 20px;
  background: #000;
}
.nexgl-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}
.nexgl-contact-info p {
  color: #aaa;
  font-size: 1rem;
  margin-bottom: 15px;
}
.nexgl-contact-info i {
  color: #a855f7;
  margin-right: 10px;
}

/* Contact Form */
.nexgl-contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.nexgl-contact-form input,
.nexgl-contact-form textarea {
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  background: #111;
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: border 0.3s ease;
}
.nexgl-contact-form input:focus,
.nexgl-contact-form textarea:focus {
  border-color: #a855f7;
}
.nexgl-contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

/* Buttons inside forms */
.nexgl-contact-form button {
  padding: 14px;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  background: linear-gradient(45deg, #a855f7, #7e22ce);
  color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.nexgl-contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(168, 85, 247, 0.4);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  .nexgl-vm-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .nexgl-contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nexgl-about {
    padding: 80px 15px;
  }
  .nexgl-about .nexgl-section-title {
    font-size: 2rem;
  }
  .nexgl-about .nexgl-section-sub {
    font-size: 1rem;
  }

  .nexgl-vm-card {
    padding: 30px 20px;
  }
  .nexgl-vm-card h3 {
    font-size: 1.4rem;
  }
  .nexgl-vm-card p {
    font-size: 0.95rem;
  }

  .nexgl-contact {
    padding: 80px 15px;
  }
  .nexgl-contact-info p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .nexgl-about .nexgl-section-title {
    font-size: 1.6rem;
  }
  .nexgl-about .nexgl-section-sub {
    font-size: 0.9rem;
  }

  .nexgl-vm-card h3 {
    font-size: 1.2rem;
  }
  .nexgl-vm-card p {
    font-size: 0.9rem;
  }

  .nexgl-contact-info p {
    font-size: 0.9rem;
  }
}




























/* ================= SERVICES PAGE ================= */

/* Services Section */
.nexgl-services {
  padding: 100px 20px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.05), rgba(0, 0, 0, 0.9));
  text-align: center;
}

.nexgl-services-list {
  display: flex;
  flex-direction: column; /* Force one service per row */
  gap: 40px;
  margin-top: 50px;
}

.nexgl-service-card {
  background: #111;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.1);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}
.nexgl-service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 35px rgba(168, 85, 247, 0.25);
}

.nexgl-service-card h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #fff;
}

.nexgl-service-card p {
  font-size: 1rem;
  color: #aaa;
  margin-bottom: 20px;
  line-height: 1.6;
}

.nexgl-service-card .nexgl-btn {
  font-size: 0.9rem;
  padding: 10px 18px;
  border-radius: 6px;
  display: inline-block;
  width: auto;         /* prevent full-width overflow */
  max-width: 200px;    /* keeps button compact */
  text-align: center;
}















/* Blog Section */
.nexgl-blogs {
  padding: 100px 20px;
  background: #000;
}

.nexgl-blog-filters {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 50px;
}

/* Accordion */
.accordion {
  flex: 1 1 250px;
}
.accordion-btn {
  width: 100%;
  padding: 14px 18px;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 8px;
  text-align: left;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.accordion-content {
  display: none;
  background: #0a0a0a;
  margin-top: 10px;
  border-radius: 8px;
  padding: 15px 20px;
}
.accordion-content.open {
  display: block;
}
.accordion-content ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.accordion-content ul li {
  margin: 10px 0;
}
.accordion-content ul li a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s;
}
.accordion-content ul li a:hover {
  color: #a855f7;
}

/* Search */
.blog-search {
  flex: 1 1 250px;
  display: flex;
  align-items: center;
}
.blog-search input {
  flex: 1;
  padding: 14px 16px;
  border-radius: 8px 0 0 8px;
  border: none;
  background: #111;
  color: #fff;
  outline: none;
}
.blog-search button {
  padding: 14px 18px;
  border: none;
  background: #a855f7;
  color: #fff;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
  transition: background 0.3s;
}
.blog-search button:hover {
  background: #7e22ce;
}

/* Blog Cards */
.nexgl-blogs-wrapper {
  max-width: 1100px;
  margin: 0 auto;
}
.nexgl-blog-row {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin-bottom: 50px;
}
.nexgl-blog-card {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), #111);
  border-radius: 16px;
  overflow: hidden;
  flex: 1 1 45%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  text-align: left;
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.nexgl-blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 35px rgba(168, 85, 247, 0.25);
}
.nexgl-blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.nexgl-blog-card h3 {
  font-size: 1.5rem;
  margin: 20px;
  color: #fff;
}
.nexgl-blog-card p {
  margin: 0 20px 20px;
  color: #aaa;
  font-size: 1rem;
  line-height: 1.6;
}
.nexgl-blog-card .nexgl-btn {
  margin: 0 20px 20px;
  width: fit-content;
  padding: 10px 20px;
}

/* Responsive */
@media (max-width: 900px) {
  .nexgl-blog-row {
    flex-direction: column;
    gap: 30px;
  }
  .nexgl-blog-card {
    max-width: 100%;
  }
  .nexgl-blog-filters {
    flex-direction: column;
    align-items: stretch;
  }
}











/* HERO */
.nexgl-service-hero {
  padding: 120px 20px;
  text-align: center;
  background: linear-gradient(135deg, rgba(168,85,247,0.2), rgba(0,0,0,0.9));
}
.nexgl-service-title {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
}
.nexgl-service-sub {
  margin: 20px auto;
  font-size: 1.1rem;
  color: #ccc;
  max-width: 700px;
}

/* TYPES */
.nexgl-types {
  background: #000;
  padding: 100px 20px;
}
.nexgl-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.nexgl-type-card {
  background: #111;
  padding: 30px;
  border-radius: 16px;
  text-align: center;
  color: #fff;
  transition: transform 0.3s ease;
}
.nexgl-type-card:hover {
  transform: translateY(-6px);
}
.nexgl-type-card i {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #a855f7;
}

/* FEATURES */
.nexgl-features {
  padding: 100px 20px;
  background: #0a0a0a;
}
.nexgl-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.nexgl-feature {
  background: #111;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  color: #fff;
}
.nexgl-feature i {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #a855f7;
}

/* PROCESS */
.nexgl-process {
  padding: 100px 20px;
  background: #000;
}
.nexgl-process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.nexgl-process-card {
  background: #111;
  padding: 30px;
  border-radius: 12px;
  color: #fff;
  position: relative;
}
.nexgl-process-card .step {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #a855f7;
  margin-bottom: 10px;
}




