/* ===== GLOBAL ===== */

* {
  box-sizing: border-box;
}


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===== */












/* === CONTACT SECTION === */
.contact-section {
  position: relative;
  background: #1a1919;
  color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 100px 8% 0;
  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;
}

/* MAIN CONTAINER */
.contact-container {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 80px;
  width: 100%;
  max-width: 1300px;
  margin-bottom: 160px;
}

/* LEFT INFO */
.contact-info {
  flex: 1;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info h2 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  font-weight: 700;
  background: #fff;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.contact-info > p {
  color: #b0b0b0;
  line-height: 1.8;
  margin-bottom: 50px;
  font-size: 1.1rem;
  max-width: 500px;
}

.info-items {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.info-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(72, 187, 255, 0.4);
  transform: translateX(8px);
}

.info-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #48bbff 0%, #3a9fd9 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.3rem;
}

.info-content h4 {
  color: #48bbff;
  margin-bottom: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.info-content p {
  color: #e0e0e0;
  font-size: 1.05rem;
  line-height: 1.5;
}

/* RIGHT FORM */
.contact-form {
  flex: 1;
  min-width: 420px;
  background: rgba(18, 18, 18, 0.8);
  color: #fff;
  border-radius: 24px;
  padding: 50px 45px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(72, 187, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-form h3 {
  font-size: 2rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.contact-form .subtitle {
  color: #888;
  margin-bottom: 35px;
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 28px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: #b0b0b0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  font-size: 1rem;
  color: #fff;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #666;
}

.form-group input:focus,
.form-group textarea:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: #48bbff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(72, 187, 255, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.submit-btn {
  background: linear-gradient(135deg, #48bbff 0%, #3a9fd9 100%);
  border: none;
  color: #1a1919;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 16px 40px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 8px 24px rgba(72, 187, 255, 0.3);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(72, 187, 255, 0.4);
}

.submit-btn-payment {
  background: linear-gradient(135deg, #9ff14e 0%, #79f003 100%);
  border: none;
  color: #1a1919;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 16px 40px;
  margin-top: 20px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 8px 24px rgba(72, 187, 255, 0.3);
}

.submit-btn-payment:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(72, 187, 255, 0.4);
}

/* MAP SECTION */
.map-container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1300px;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  border: 3px solid rgb(255, 255, 255);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
  margin-bottom: 200px;
}

/* === RESPONSIVE FIXES === */
@media (max-width: 1280px) {
  .contact-section {
    padding: 80px 5% 0;
  }

  .contact-info h2 {
    font-size: 3rem;
  }

  .contact-form {
    padding: 40px;
  }
}

@media (max-width: 1024px) {
  .contact-container {
    flex-direction: column;
    gap: 60px;
  }

  .contact-info h2 {
    font-size: 2.8rem;
  }

  .contact-form {
    max-width: 100%;
    padding: 40px 32px;
  }

  .map-container {
    height: 350px;
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 60px 20px 0;
  }

  .contact-container {
    gap: 40px;
  }

  .contact-form {
    width: 100%;
    min-width: unset;       /* 🔧 removes rigid width */
    padding: 30px 20px;     /* 🔧 tighter padding */
    box-sizing: border-box; /* ensures no overflow */
  }

  .form-group input,
  .form-group textarea {
    width: 100%;
    box-sizing: border-box; /* 🔧 ensures it stays inside parent */
  }

  .submit-btn {
    width: 100%;
  }

  .contact-info h2 {
    font-size: 2.2rem;
  }

  .info-item {
    padding: 18px;
  }

  .info-icon {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

  .map-container {
    height: 300px;
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  .contact-info h2 {
    font-size: 2rem;
  }

  .contact-section {
    padding: 50px 15px 0;
  }

  .contact-form {
    padding: 25px 15px;
  }

  .map-container {
    height: 240px;
  }
}

    /* =====CONTACT FORM END===== */

/* SCHEDULE FORM */
.schedule-form {
  position: relative;    /* create stacking context */
  z-index: 5;            /* above .grid-bg which is z-index:1 */
  width: 100%;
  max-width: 1300px;
  margin: 0 auto 80px;
  background: rgba(18, 18, 18, 0.75);
  padding: 25px 20px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(72, 187, 255, 0.08);
  backdrop-filter: blur(18px);
}

.schedule-form h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.schedule-form .subtitle {
  color: #888;
  margin-bottom: 30px;
  font-size: 1rem;
}

.submit-btn-demo {
  background: linear-gradient(135deg, #48ffb3 0%, #1edc83 100%);
  border: none;
  color: #1a1919;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 16px 40px;
  border-radius: 12px;
  cursor: pointer;
  width: 95%;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 8px 24px rgba(72, 255, 195, 0.3);
  transition: 0.3s;
}

.submit-btn-demo:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(72, 255, 195, 0.4);
}
/* Fix input overflow */
.schedule-form input,
.schedule-form select,
.schedule-form textarea {
  width: 95%;
  box-sizing: border-box;  
  max-width: 100%; 
}

/* responsive */
@media (max-width: 768px) {
  .schedule-form {
    margin-top: 30px;
    padding: 28px 20px;
  }
}

@media (max-width: 480px) {
  .schedule-form {
    padding: 22px 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: 100;
  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;
}