/* ===== 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===== */







    /* ===== REALTOR SUPPORT SECTION ===== */
    .realtor-section {
      position: relative;
      background: #1a1919;
      color: #fff;
      min-height: 100vh;
      padding: 100px 8% 80px;
      overflow: hidden;
    }

    /* Grid Background */
    .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;
    }

    /* Hero Section */
    .hero-content {
      position: relative;
      z-index: 5;
      text-align: center;
      max-width: 900px;
      margin: 0 auto 100px;
    }

    .hero-content h1 {
      font-size: 3.5rem;
      font-weight: 700;
      margin-bottom: 24px;
      background: white;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      line-height: 1.2;
    }

    .hero-content .tagline {
      font-size: 1.3rem;
      color: #b0b0b0;
      line-height: 1.8;
      margin-bottom: 16px;
    }

    .hero-content .subtitle {
      font-size: 1.1rem;
      color: #888;
      line-height: 1.6;
    }

    /* Services Section */
    .services-header {
      position: relative;
      z-index: 5;
      text-align: center;
      margin-bottom: 60px;
    }

    .services-header h2 {
      font-size: 2.8rem;
      font-weight: 700;
      color: #48bbff;
      margin-bottom: 20px;
    }

    .services-grid {
      position: relative;
      z-index: 5;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 32px;
      max-width: 1300px;
      margin: 0 auto 100px;
    }

    .service-card {
      background: rgba(18, 18, 18, 0.8);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 20px;
      padding: 40px 32px;
      transition: all 0.4s ease;
      backdrop-filter: blur(20px);
    }

    .service-card:hover {
      background: rgba(255, 255, 255, 0.05);
      border-color: rgba(72, 187, 255, 0.4);
      transform: translateY(-8px);
      box-shadow: 0 20px 40px rgba(72, 187, 255, 0.2);
    }

    .service-icon {
      width: 60px;
      height: 60px;
      background: linear-gradient(135deg, #48bbff 0%, #3a9fd9 100%);
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.8rem;
      margin-bottom: 24px;
    }

    .service-card h3 {
      font-size: 1.4rem;
      color: #48bbff;
      margin-bottom: 16px;
      font-weight: 600;
    }

    .service-card p {
      color: #b0b0b0;
      line-height: 1.7;
      font-size: 1rem;
    }

    /* Trust Section */
    .trust-section {
      position: relative;
      z-index: 5;
      background: rgba(18, 18, 18, 0.8);
      border: 1px solid rgba(72, 187, 255, 0.2);
      border-radius: 24px;
      padding: 60px 50px;
      max-width: 1000px;
      margin: 0 auto 60px;
      text-align: center;
      backdrop-filter: blur(20px);
    }

    .trust-section h2 {
      font-size: 2.5rem;
      font-weight: 700;
      margin-bottom: 40px;
      color: #fff;
    }

    .trust-features {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 32px;
      margin-bottom: 50px;
    }

    .trust-feature {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 6px;
    }

    .trust-icon {
      width: 70px;
      height: 70px;
      background: linear-gradient(135deg, #48bbff 0%, #3a9fd9 100%);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2rem;
    }

    .trust-feature h4 {
      color: #48bbff;
      font-size: 1.1rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .trust-feature p {
      color: #b0b0b0;
      font-size: 0.95rem;
    }

    /* CTA Button */
    .cta-button {
      display: inline-block;
      background: linear-gradient(135deg, #48bbff, #9FF14E);
      color: #1a1919;
      font-weight: 700;
      font-size: 1.2rem;
      padding: 18px 50px;
      border-radius: 32px;
      text-decoration: none;
      text-transform: uppercase;
      letter-spacing: 1px;
      transition: all 0.3s ease;
    }

    .cta-button:hover {
      transform: translateY(-4px);
      box-shadow: 0 16px 20px rgba(72, 187, 255, 0.5);
    }

    /* Responsive Design */
    @media (max-width: 1024px) {
      .hero-content h1 {
        font-size: 2.8rem;
      }

      .services-header h2 {
        font-size: 2.3rem;
      }

      .trust-section h2 {
        font-size: 2rem;
      }
    }

    @media (max-width: 768px) {
      .realtor-section {
        padding: 80px 5% 60px;
      }

      .hero-content {
        margin-bottom: 60px;
      }

      .hero-content h1 {
        font-size: 2.2rem;
      }

      .hero-content .tagline {
        font-size: 1.1rem;
      }

      .hero-content .subtitle {
        font-size: 1rem;
      }

      .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 60px;
      }

      .service-card {
        padding: 32px 24px;
      }

      .services-header h2 {
        font-size: 2rem;
      }

      .trust-section {
        padding: 40px 30px;
      }

      .trust-section h2 {
        font-size: 1.8rem;
      }

      .trust-features {
        grid-template-columns: 1fr;
        gap: 24px;
      }

      .cta-button {
        font-size: 1rem;
        padding: 16px 40px;
      }
    }

    @media (max-width: 480px) {
      .realtor-section {
        padding: 60px 15px 40px;
      }

      .hero-content h1 {
        font-size: 1.8rem;
      }

      .service-card {
        padding: 28px 20px;
      }

      .trust-section {
        padding: 32px 20px;
      }
    }








    /* =====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;
}