/* ===== GLOBAL ===== */
body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  background: #fff;
  color: #333;
  overflow-x: hidden;
}







/* ======NAVBAR ====== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #1a1919;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
  z-index: 1000;
  border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 90px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s;
}

.logo img:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s;
  position: relative;
}

.nav-links a:hover {
  color: #48bbff;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #48bbff, #60a5fa);
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.dropdown {
  position: relative;
}

.dropdown-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  margin-top: 0.5rem;
  opacity: 0;
  visibility: hidden;
  background-color: #1a1919;
  box-shadow: #302f2f33 0px 10px 15px -3px, #302f2f1a 0px 4px 6px -2px;
  border: 1px solid rgba(59, 130, 246, 0.15);
  transform: translateY(-10px);
  transition: all 0.3s;
  overflow: hidden;
  padding-bottom: 5px;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.875rem 1.25rem;
  color: #ffffff;
  font-size: 0.875rem;
  border-bottom: 1px solid rgba(59, 130, 246, 0.08);
  transition: all 0.3s;
}

.dropdown-menu a:last-child {
  border-bottom: none;
}

.dropdown-menu a:hover {
  color: #48bbff;
  padding-left: 1.5rem;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  width: 22px;
  height: 2px;
  background: rgb(255, 255, 255);
  transition: all 0.3s;
  border-radius: 2px;
  margin-right: 15px;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Demo content */
.content {
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.content h1 {
  margin-bottom: 1rem;
  color: #ffffff;
}

.content p {
  line-height: 1.6;
  color: #444;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {

  html,
  body {
    overflow-x: hidden;
    /* Prevent horizontal scroll */
  }

  nav {
    width: 100%;
    padding: 0 1rem;
    overflow: hidden;
  }

  .mobile-toggle {
    display: flex;
    z-index: 1001;
  }

  .nav-links {
    position: fixed;
    top: 40px;
    /* Slightly below the nav bar */
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    /* Full height menu */
    background: #1a1919;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 1rem;
    gap: 0;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-bottom: 2px solid rgba(59, 130, 246, 0.2);
    overflow-y: auto;
    /* allow scroll inside the menu if needed */
    z-index: 1000;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    animation: slideIn 0.3s ease forwards;
    opacity: 0;
  }

  .nav-links.active li:nth-child(1) {
    animation-delay: 0.1s;
  }

  .nav-links.active li:nth-child(2) {
    animation-delay: 0.15s;
  }

  .nav-links.active li:nth-child(3) {
    animation-delay: 0.2s;
  }

  .nav-links.active li:nth-child(4) {
    animation-delay: 0.25s;
  }

  @keyframes slideIn {
    to {
      opacity: 1;
    }
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-links a {
    display: block;
    padding: 1rem 0;
    width: 100%;
    font-size: 0.95rem;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links a:hover {
    color: #3b82f6;
    padding-left: 0.5rem;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    margin: 0.5rem 0 0 0;
    padding-left: 1rem;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }

  .dropdown.active .dropdown-menu {
    display: block;
    animation: dropdownSlide 0.3s ease;
  }

  @keyframes dropdownSlide {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .dropdown-menu a {
    padding: 0.875rem 1rem;
    font-size: 0.875rem;
  }

  .dropdown-menu a:hover {
    padding-left: 1.25rem;
  }
}

/* =====NAVBAREND===== */










/* GLOBAL ABOUT STYLES */
.about-section,
.why-section {
  position: relative;
  background: #1a1919;
  color: #fff;
  padding: 100px 8%;
  overflow: hidden;
}

.grid-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 120px 120px;
  z-index: 1;
}

.about-container,
.why-container {
  position: relative;
  z-index: 5;
  max-width: 1300px;
  margin: 0 auto;
}

/* === WHO WE ARE === */
.intro-section {
  text-align: center;
  margin-bottom: 80px;
}

.intro-section h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  background: #fff;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.intro-section p {
  color: #b0b0b0;
  font-size: 1.15rem;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto;
}

.intro-section span {
  color: #48bbff;
  font-weight: 600;
}

/* === MISSION & VISION === */
.mission-vision {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.mv-card {
  flex: 1;
  min-width: 320px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  padding: 40px 35px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.mv-card:hover {
  transform: translateY(-8px);
  border-color: rgba(159, 241, 78, 0.55);
  background: rgba(255, 255, 255, 0.05);
}

.mv-card h3 {
  color: #48bbff;
  font-size: 1.4rem;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mv-card p {
  color: #d0d0d0;
  font-size: 1.05rem;
  line-height: 1.7;
}


/* === RESPONSIVE === */
@media (max-width: 1280px) {
  .intro-section h1 {
    font-size: 3rem;
  }

  .why-container h2 {
    font-size: 2.6rem;
  }
}

@media (max-width: 1024px) {
  .about-section {
    padding: 80px 6%;
  }
}

@media (max-width: 768px) {
  .intro-section h1 {
    font-size: 2.4rem;
  }

  .intro-section p {
    font-size: 1.05rem;
  }

  .mv-card {
    padding: 30px 25px;
  }
}

@media (max-width: 480px) {
  .intro-section h1 {
    font-size: 2rem;
  }

  .about-section {
    padding: 60px 20px;
  }
}
/* === FLOWING BACKGROUND (YOUR CODE) === */
.noxbloc-compact-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.noxbloc-bg-layer {
  position: absolute;
  width: 200%;
  height: 200%;
  background: linear-gradient(270deg, orange, #48bbff, orange);
  opacity: 0.4;
  filter: blur(100px);
  animation: noxbloc-bgFlow 10s linear infinite;
}

.noxbloc-bg1 {
  animation-delay: 0s;
  opacity: 0.5;
}

.noxbloc-bg2 {
  animation-delay: 2s;
  opacity: 0.3;
}

.noxbloc-bg3 {
  animation-delay: 4s;
  opacity: 0.2;
}

@keyframes noxbloc-bgFlow {
  0% {
    transform: translateX(0) translateY(0) rotate(0deg);
  }
  50% {
    transform: translateX(-25%) translateY(-10%) rotate(180deg);
  }
  100% {
    transform: translateX(-50%) translateY(0) rotate(360deg);
  }
}

/* === OUR CREATIVE PROCESS SECTION === */
.process-section-nx {
  position: relative;
  padding: 120px 100px;
  background: #1a1919;
  overflow: hidden;
  color: #fff;
}

.process-container-nx {
  position: relative;
  z-index: 5;
  max-width: 1400px;
  margin: 0 auto;
  padding: 90px;
  /* ✅ Glassmorphism */
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  /* ✅ Rounded Edges */
  border-radius: 25px;
}

.section-title-nx {
  font-size: 4rem;
  font-weight: 700;
  text-align: center;
  margin-top: -50px;
  margin-bottom: 80px;
  color: #f0f9ff;
  letter-spacing: 1px;
}

.process-grid-nx {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.process-card-nx {
  background: rgba(21, 21, 21, 0.534);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 30px 25px;
  transition: all 0.35s ease;
  backdrop-filter: blur(8px);
  position: relative;
  z-index: 5;
}

.process-card-nx:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(159, 241, 78, 0.8);
  box-shadow: 0 10px 30px rgba(159, 241, 78, 0.55);
}

.process-card-nx h3 {
  font-size: 1.4rem;
  color: #48bbff;
  margin-bottom: 15px;
  font-weight: 600;
}

.process-card-nx ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.process-card-nx ul li {
  font-size: 1rem;
  color: #e0e0e0;
  margin-bottom: 8px;
  line-height: 1.6;
  position: relative;
  padding-left: 18px;
}


/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .process-section-nx {
    padding: 80px 40px;
  }

  .section-title-nx {
    font-size: 2.5rem;
    margin-bottom: 60px;
  }
}

@media (max-width: 768px) {
  .process-section-nx {
    padding: 60px 20px;
  }

  .process-grid-nx{
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section-title-nx {
    font-size: 2.2rem;
  }

  .process-card-nx {
    padding: 25px 10px;
    width: 100%;
  }

  .process-card-nx h3 {
    font-size: 1.3rem;
  }

  .process-card-nx ul li {
    font-size: 0.95rem;
  }
}






/* =====WHY 4NEX===== */
.noxbloc-whychoose-creative {
  background: #1a1919;
  color: #fff;
  padding: 100px 40px;
  position: relative;
  overflow: hidden;
  font-family: 'Inter', sans-serif;
}

.noxbloc-whychoose-heading {
  text-align: center;
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.noxbloc-whychoose-heading span {
  color: #48bbff;
}

.noxbloc-whychoose-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 70px;
  color: #ccc;
  font-size: 1.1rem;
}

.noxbloc-timeline {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

.noxbloc-line {
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, #9FF14E, #48bbff, #9FF14E);
  animation: flowLine 6s linear infinite;
  transform: translateX(-50%);
  border-radius: 2px;
  opacity: 0.8;
}

@keyframes flowLine {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 0 200%;
  }
}

.noxbloc-reason {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  width: 50%;
  padding: 30px 0;
}

.noxbloc-reason.left {
  left: 0;
  flex-direction: row-reverse;
  text-align: right;
  padding-right: 70px;
}

.noxbloc-reason.right {
  left: 50%;
  text-align: left;
  padding-left: 70px;
}

.noxbloc-icon {
  font-size: 2rem;
  color: #9FF14E;
  margin: 0 20px;
  text-shadow: 0 0 20px rgba(159, 241, 78, 0.6);
  animation: floaty 4s ease-in-out infinite;
  z-index: 2;
  transition: 0.3s ease;
}

.noxbloc-icon:hover {
  color: #48bbff;
  text-shadow: 0 0 25px rgba(72, 187, 255, 0.7);
}

.noxbloc-content {
  max-width: 400px;
  background: rgba(255, 255, 255, 0.02);
  border-left: 3px solid #48bbff;
  padding: 18px 25px;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.noxbloc-content h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: #fff;
}

.noxbloc-content p {
  color: #aaa;
  font-size: 0.95rem;
  line-height: 1.5;
}

.noxbloc-reason:hover .noxbloc-content {
  border-color: #9FF14E;
  box-shadow: 0 0 25px rgba(159, 241, 78, 0.3);
  transform: translateY(-5px);
}

/* Floating icon animation */
@keyframes floaty {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* Responsive */
@media (max-width: 900px) {

  .noxbloc-reason,
  .noxbloc-reason.left,
  .noxbloc-reason.right {
    width: 100%;
    justify-content: center;
    text-align: center;
    left: 0;
    padding: 25px 0;
  }

  .noxbloc-content {
    border-left: none;
    border-top: 3px solid #48bbff;
  }

  .noxbloc-line {
    display: none;
  }
}

/* === Noxbloc Scroll Animation (Why 4NEX Section) === */
.noxbloc-fade-up {
  opacity: 0;
  transform: translateY(80px);
  transition: all 0.9s cubic-bezier(0.17, 0.55, 0.55, 1);
}

.noxbloc-fade-up.noxbloc-show {
  opacity: 1;
  transform: translateY(0);
}

/* =====WHY 4NEX END===== */








/* =====FOOTER===== */
.footer-section {
  background: #000000;
  color: #ffffff;
  padding: 120px 8% 40px;
  position: relative;
  font-family: Arial, sans-serif;
  overflow: visible;
  text-align: left;
}


/* Floating Logo */
.footer-logo-container {
  position: absolute;
  top: -70px;
  /* Push half outside */
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.footer-logo-bg {
  background: #000000;
  /* White background */
  border: 2px solid #48BBFF;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 300px;
  height: 140px;
}

.footer-logo {
  max-width: 200px;
  height: auto;
}


/* Grid Layout */
.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-top: 40px;
  margin-bottom: 40px;
}

/* Titles */
.footer-column h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #48bbff;
}

/* Lists */
.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column a {
  text-decoration: none;
  color: #ffffff;
  transition: color 0.3s;
}

.footer-column a:hover {
  color: #48bbff;
}


/* Socials */
.footer-socials {
  margin-top: 15px;
}

.footer-socials a img {
  width: 35px;
  margin-right: 10px;

  transition: transform 0.3s;
}

.footer-socials a img:hover {
  transform: scale(1.1);
}

/* Bottom */
.footer-bottom {
  text-align: center;
  border-top: 1px solid #333;
  padding-top: 20px;
  font-size: 0.85rem;
  margin-bottom: 50px;
  color: #aaa;
}


/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-form .form-row {
    flex-direction: column;
  }

  .footer-logo {
    max-width: 200px;
  }
}
#autoRight {
  animation: autoRightAnim both;
  animation-timeline: view(70% 5%);
}

@keyframes autoRightAnim {
  from {
    opacity: 0;
    transform: translateX(-200px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width:780px) {
  #autoRight {
    animation: none;
  }
}

/* === LINK WRAPPER === */
.powered-by-link {
  text-decoration: none;
  /* display: inline-block; */
  color: inherit;
}

/* === SHIMMER TEXT === */
.powered-by {
  position: relative;
  display: inline-block;
  font-weight: 1a00;
  letter-spacing: 1px;
  color: #ffffff;
  background: linear-gradient(90deg, #ffffff, #ffffff, #9ff14e, #ffffff);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 15s linear infinite;
  transition: text-shadow 0.3s ease, transform 0.3s ease;
}

/* === HOVER EFFECT (when hovering either text or link) === */
.powered-by-link:hover .powered-by {
  text-shadow: 0 0 12px #9ff14e, 0 0 24px #9ff14e;
  transform: scale(1.01);
}

/* === ANIMATION KEYFRAMES === */
@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Payment Partners Section */
.payment-partners {
  text-align: center;
  margin-top: 40px;
}

.payment-partners h4 {
  color: #48bbff;
  font-size: 1.1rem;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.payment-partners .payment-img {
  max-width: 5%;
  height: auto;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.payment-partners .payment-img:hover {
  opacity: 1;
}