/************************** NAV bar section ****************************** */

.nav {
  display: flex;
  justify-content: center;
  margin-top: 25px;
}

.nav-inner {
  position: fixed;
  width: 70%;
  max-width: 1200px;

  left: 50%;
  transform: translateX(-50%);

  padding: 10px 20px;

  background: #044063;

  border-radius: 60px;
  border: 1px solid black;

  z-index: 1000;

  display: flex;
  justify-content: space-between;
  align-items: center;
  transition:
      background 0.2s ease,
      backdrop-filter 0.2s ease,
      opacity 0.2s ease;
      }

/* SCROLL EFFECT */
.nav-inner.transparent{
    background: rgba(4,64,99,0.35);

/*    backdrop-filter: blur(12px);*/

    border: 1px solid rgba(
      255,
      255,
      255,
      0.15
    );
}
nav a {
  margin: 0 10px;
  text-decoration: none;
  color: white;
  font-weight: bold;
}

nav a:hover {
  color: white;
}


.logo {
  /* border: 2px solid black; */
  margin-left: 0;
  width: 120px;
  height: 50px;
}

.logo img {
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
}

.demo {
  color: white;
  font-weight: bold;
  background: rgb(250, 103, 50);
  padding: 15px 30px;
  border-radius: 40px;
  margin-right: 0;
  cursor: pointer;
    transition:
      background 0.2s ease,
      backdrop-filter 0.2s ease,
      opacity 0.2s ease;
}

.demo.transparent{
  background:  rgba(255, 98, 0, 0.50);
  border: 1px solid rgba(
      255,
      255,
      255,
      0.15
    );
}


/* ***********************footer section ************************* */
.ai-footer {
  position: relative;
  padding: 100px 10% 40px;
  color: white;
  overflow: hidden;

  background: linear-gradient(135deg, #020617, #0f172a);
}

/* AI GRID */
.footer-bg {
  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);

  background-size: 40px 40px;
  opacity: 0.2;
}

/* GLOW BLOBS */
.ai-footer::before,
.ai-footer::after {
  content: "";
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.3;
}

.ai-footer::before {
  background: #3b82f6;
  top: -100px;
  left: -100px;
}

.ai-footer::after {
  background: #06b6d4;
  bottom: -100px;
  right: -100px;
}

/* LAYOUT */
.footer-container {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 60px;
  z-index: 2;
}

/* BRAND */
.footer-brand h2 {
  font-size: 24px;
}

.footer-brand p {
  margin-top: 15px;
  color: #94a3b8;
  max-width: 300px;
}

/* LINKS */
.footer-links {
  display: flex;
  gap: 60px;
}

.footer-links h4 {
  margin-bottom: 15px;
  color: #e2e8f0;
}

.footer-links a {
  display: block;
  margin-bottom: 10px;
  color: #94a3b8;
  text-decoration: none;
  transition: 0.3s;
}

/* HOVER EFFECT */
.footer-links a:hover {
  color: white;
  transform: translateX(5px);
}

/* BOTTOM */
.footer-bottom {
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  color: #64748b;
}

/* LINK GLOW */
.footer-links a:hover {
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

/* FLOATING BACKGROUND */
.ai-footer::before {
  animation: float 10s ease-in-out infinite alternate;
}

.ai-footer::after {
  animation: float 12s ease-in-out infinite alternate;
}

@keyframes float {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-40px);
  }
}

/* HAMBURGER */
.menu-toggle {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
}

/* NAV LINKS */
#navLinks {
  display: flex;
  align-items: center;
}

#navLinks.active {
  display: flex;
}

.cta-logo img{
  /* border: 1px solid black; */
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
}

@media (max-width: 992px) {
  .nav-inner {
    width: 85%;
    padding: 10px 30px;
  }
}

@media (max-width: 768px) {

  .menu-toggle {
    display: block;
  }

  #navLinks {
    /* display: none; */
    position: fixed;
    /* 🔥 CHANGE THIS */
    top: 55px;
    /* match navbar height */
    right: 0;
    background: #044063;
    border-radius: 30px;
    flex-direction: column;
    align-items: center;

    display: none;
    padding: 20px 0;
    gap: 50px;
    z-index: 999;
    /* 🔥 IMPORTANT */

  transition:
      background 0.4s ease,
      backdrop-filter 0.4s ease,
      opacity 0.4s ease;

       background: rgba(4,64,99,0.35);

/*    backdrop-filter: blur(12px);*/

    border: 1px solid rgba(
      255,
      255,
      255,
      0.15
    );
  }



  #navLinks.active {
    display: flex !important;
    /* 🔥 FORCE SHOW */
  }

  .nav-inner {
    width: 90%;
    padding: 10px 20px;
  }

  .demo {
    display: none;
    /* optional hide button */
  }

    .footer-links {
    flex-direction: column;
  }
}

@media (max-width: 480px) {

  .logo {
    width: 90px;
    height: 40px;
  }

  .nav-inner {
    padding: 8px 15px;
  }

  #navLinks a {
    font-size: 14px;
  }

  .footer-links {
    flex-direction: column;
  }

#navLinks{
   background: rgba(4,64,99,0.35);

/*    backdrop-filter: blur(12px);*/

    border: 1px solid rgba(
      255,
      255,
      255,
      0.15
    );
  }
}