/* ===========================
   RESET
=========================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===========================
   BODY
=========================== */

body {
  font-family: Arial, sans-serif;
  background: #020617;
  color: white;
  overflow-x: hidden;
  animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===========================
   NAVBAR
=========================== */

nav {
  position: absolute;
  top: 0;
  width: 100%;
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

/* LOGO */

.logo {
  height: 0px;
}

/* NAV LINKS */

nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
}

/* Hamburger Menu Icon */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: 0.3s;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 15px;
  position: relative;
}

nav ul li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: #38bdf8;
  left: 0;
  bottom: -5px;
  transition: 0.3s;
}

nav ul li a:hover::after {
  width: 100%;
}

/* NAVBAR AUTH BUTTONS */

.nav-auth {
  display: flex;
  gap: 12px;
  align-items: center;
}

.nav-auth a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.nav-auth .login-btn {
  color: #38bdf8;
  border: 1.5px solid #38bdf8;
  background: transparent;
}

.nav-auth .login-btn:hover {
  background: rgba(56, 189, 248, 0.1);
  color: #60a5fa;
  border-color: #60a5fa;
}

.nav-auth .signup-btn {
  background: linear-gradient(135deg, #38bdf8 0%, #8b5cf6 100%);
  color: white;
  position: relative;
  overflow: hidden;
  border: none;
}

.nav-auth .signup-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
  z-index: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-auth .signup-btn:hover::before {
  opacity: 1;
}

.nav-auth .signup-btn span {
  position: relative;
  z-index: 1;
}

.nav-auth .signup-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

/* Logged-in navbar state */
.nav-profile-btn {
  display: flex !important;
  align-items: center;
  gap: 8px;
  color: #fff !important;
  border: 1.5px solid rgba(139, 92, 246, 0.6);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(56, 189, 248, 0.1) 100%) !important;
  backdrop-filter: blur(6px);
  letter-spacing: 0.3px;
}

.nav-profile-btn:hover {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.3) 0%, rgba(56, 189, 248, 0.2) 100%) !important;
  border-color: #8b5cf6;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(139, 92, 246, 0.4);
  color: #c4b5fd !important;
}

.nav-profile-btn svg {
  flex-shrink: 0;
  color: #8b5cf6;
}

.nav-profile-btn:hover svg {
  color: #c4b5fd;
}

.nav-logout-btn {
  color: #fca5a5 !important;
  border: 1.5px solid rgba(248, 113, 113, 0.35);
  background: rgba(248, 113, 113, 0.05) !important;
}

.nav-logout-btn:hover {
  background: rgba(248, 113, 113, 0.15) !important;
  border-color: #f87171;
  color: #f87171 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(248, 113, 113, 0.2);
}



/* ===========================
   HERO BACKGROUND
=========================== */

#home {
  height: 22vh;
  background:
    url("media/XTN.jpeg") center/contain no-repeat,
    linear-gradient(to bottom, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 1));
}

/* ===========================
   HERO MESSAGE SECTION
=========================== */

#herobox {
  padding: 0 5%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}


/* MESSAGE CARD */

.hero-message-box {
  max-width: 900px;
  width: 100%;
  padding: 10px 30px;
  text-align: center;
  background: rgba(15, 23, 42, 0.75);
  border-radius: 22px;
  border: 1px solid rgba(139, 92, 246, 0.6);
  box-shadow: 0 0 35px rgba(139, 92, 246, 0.45);
  animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0);
  }
}

/* TITLE */

.hero-message-box h1 {
  font-size: clamp(32px, 8vw, 56px);
  margin-bottom: 20px;
}

/* PARAGRAPH */

.hero-message-box p {
  font-size: 18px;
  color: #cbd5f5;
  line-height: 1.7;
  margin-bottom: 30px;
}

/* JOIN BUTTON */

.join-btn {
  display: inline-block;
  padding: 14px 38px;
  border-radius: 30px;
  background: linear-gradient(90deg, #6366f1, #38bdf8);
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.join-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 18px #6366f1;
}

/* XPLOREVO LINK */

.xplorevo-link {
  color: #8b5cf6;
  font-weight: 600;
  text-decoration: none;
}

.xplorevo-link:hover {
  color: #38bdf8;
  text-decoration: underline;
}

/* ===========================
   SECTIONS
=========================== */

section {
  padding: 60px 5%;
}

/* HEADINGS */

h2 {
  font-size: clamp(32px, 5vw, 42px);
  margin-bottom: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff, #cbd5f5);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===========================
   JOIN PAGE
=========================== */

.join-section {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #020617;

  position: relative;
  overflow: hidden;
}


.join-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 45px;
  width: 100%;
  max-width: 550px;
  border-radius: 18px;
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.4);
  animation: fadeUp 0.6s ease;
  transition: 0.3s;
}

.join-card:hover {
  transform: scale(1.02);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.join-card h1 {
  text-align: center;
  margin-bottom: 10px;
}

.join-card p {
  text-align: center;
  opacity: 0.8;
  margin-bottom: 30px;
}

/* FORM CONTAINERS */
.proposal-form,
.consult-form,
.contact-form,
.form-container,
.auth-container,
.join-card {
  background: rgba(15, 23, 42, 0.4);
  padding: 40px 45px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  max-width: 600px;
  margin: 0 auto;
}

/* FORM */

.form-group {
  margin-bottom: 24px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: #94a3b8;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.03);
  color: #f8fafc;
  outline: none;
  font-size: 15px;
  transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group select::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.2);
  background: rgba(255, 255, 255, 0.05);
}

/* TEXTAREA */

textarea {
  height: 90px;
  resize: none;
}

/* SUBMIT BUTTON */

.submit-btn {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 50%, #38bdf8 100%);
  color: white;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.7);
  background: linear-gradient(135deg, #a78bfa 0%, #818cf8 50%, #60a5fa 100%);
}

.submit-btn:active {
  transform: translateY(-1px);
}

/* RIPPLE EFFECT */

.submit-btn::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.2);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  border-radius: 50%;
  transition: 0.6s;
}

.submit-btn:hover::after {
  transform: translate(-50%, -50%) scale(1);
}

/* SUCCESS */

.success-message {
  display: none;
  text-align: center;
  margin-top: 20px;
  padding: 30px;
  color: #fff;
  font-weight: bold;
  background: linear-gradient(135deg, #38f9d7 0%, #20c997 100%);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(56, 249, 215, 0.4);
  animation: slideIn 0.5s ease-in-out;
  font-size: 16px;
  letter-spacing: 0.5px;
}

.success-message p {
  margin-bottom: 15px;
  font-size: 16px;
}

.ok-btn {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.2));
  color: #fff;
  border: 2px solid white;
  padding: 12px 35px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.ok-btn:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.4));
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

.ok-btn:active {
  transform: scale(1.04);
}

/* ===========================
   FOOTER
=========================== */

footer {
  text-align: center;
  padding: 40px;
  background: black;
}

.back-btn {
  display: inline-block;
  margin-bottom: 20px;
  color: #38bdf8;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

.back-btn:hover {
  color: #8b5cf6;
  transform: translateX(-4px);
}

.join-section::before,
.join-section::after {
  content: "";
  position: absolute;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.35), transparent 70%);
  filter: blur(80px);
  animation: floatGlow 12s infinite alternate;
}

.join-section::before {
  top: -100px;
  left: -100px;
}

.join-section::after {
  bottom: -100px;
  right: -100px;
  animation-delay: 6s;
}

@keyframes floatGlow {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-60px);
  }
}

/* Fix dropdown option colors */
select option {
  background: #020617;
  color: white;
}

/* HERO VIDEO BACKGROUND */

#herobox {
  position: relative;
  min-height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Video Layer */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  /* controls darkness */
  z-index: 0;
}

/* Content Above Video */
.hero-message-box {
  position: relative;
  z-index: 1;
}

/* Hide mobile auth buttons by default on Desktop */
.mobile-auth-links {
  display: none;
}

/* ===============================
   MOBILE RESPONSIVE FIX
================================*/

@media (max-width: 992px) {
  nav {
    padding: 20px 5%;
  }

  .menu-toggle {
    display: flex;
  }

  nav ul {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: #020617; /* Solid dark background */
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    padding: 60px 20px 20px 20px;
  }

  nav ul li {
    width: 100%;
    text-align: left;
    margin: 0;
  }

  nav ul li a,
  .mobile-auth-links a {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    color: #f8fafc;
    padding: 10px 5px; /* Shrunk padding down to 10px */
    border-radius: 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
    width: 100%;
    margin: 0;
  }

  /* Add chevron icon using SVG background to ensure consistent rendering */
  nav ul li a::after,
  .mobile-auth-links a::after {
    content: "";
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2338bdf8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M9 5l7 7-7 7'%3E%3C/path%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent; /* Force removal of the blue desktop underline background */
    opacity: 0.8;
    position: static; /* Force removal of absolute positioning from desktop underline */
  }

  /* Disable the desktop hover underline completely on mobile */
  nav ul li a:hover::after {
    width: 16px; /* Prevent it from expanding to 100% width like the desktop line */
  }

  nav ul li a:active,
  .mobile-auth-links a:active {
    background: rgba(255, 255, 255, 0.05);
    color: #38bdf8;
  }

  nav ul.active {
    right: 0;
  }

  .nav-auth {
    display: none;
  }

  .mobile-auth-links {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 20px; /* Add space between menu list and auth buttons */
    padding: 0 10px;
    gap: 12px;
    border: none;
  }

  /* Style mobile auth links explicitly as buttons */
  .mobile-auth-links a {
    display: block !important;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 0;
    width: 100%;
    border-radius: 8px;
    border: none;
    justify-content: center;
  }

  /* Login Button Style */
  .mobile-auth-links .login-btn {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #e2e8f0 !important;
  }

  /* Signup Button Style */
  .mobile-auth-links .signup-btn {
    background: linear-gradient(135deg, #38bdf8 0%, #8b5cf6 100%) !important;
    color: white !important;
    border: none !important;
  }

  /* Remove chevrons completely from auth buttons */
  .mobile-auth-links a::after {
    display: none !important;
  }

  /* Join Page Centering */
  .join-section {
    padding: 40px 15px;
  }

  .join-card {
    padding: 30px 20px;
    max-width: 100%;
  }

  /* Headings */
  .join-card h1 {
    font-size: 28px;
  }

  .join-card p {
    font-size: 14px;
  }

  /* Inputs */
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 14px;
    padding: 10px;
  }

  /* Button */
  .submit-btn {
    font-size: 15px;
    padding: 12px;
  }

  /* Back link */
  .back-home {
    font-size: 14px;
  }

  .hero-message-box {
    padding: 35px 20px;
  }

  .hero-message-box h1 {
    font-size: 28px;
  }

  .hero-message-box p {
    font-size: 14px;
  }


}

.hero-buttons {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

.outline-btn {
  padding: 14px 38px;
  border-radius: 30px;
  border: 1px solid #38bdf8;
  color: #38bdf8;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.outline-btn:hover {
  background: #38bdf8;
  color: black;
}

/* ==========================
   ABOUT SNAPSHOT SECTION
========================== */

.about-snapshot {
  padding: 80px 50px;
  text-align: center;
  position: relative;
  background: radial-gradient(circle at center, rgba(30, 41, 59, 0.4) 0%, transparent 60%);
  overflow: hidden;
}

/* Subtle background glowing orb for the section */
.about-snapshot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.1), transparent 70%);
  transform: translate(-50%, -50%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  animation: pulseGlow 8s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 1;
  }
}

.about-snapshot h2,
.about-snapshot .about-text,
.about-snapshot .about-cards {
  position: relative;
  z-index: 1;
}

.about-snapshot h2 {
  font-size: 46px;
  margin-bottom: 20px;
  background: linear-gradient(to right, #f8fafc, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-text {
  max-width: 850px;
  margin: 0 auto 60px;
  color: #cbd5f5;
  line-height: 1.8;
  font-size: 17px;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  perspective: 1000px;
  /* Enable 3D space for cards */
}

.about-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.6), rgba(2, 6, 23, 0.8));
  padding: 40px 35px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Glassy shine effect on the card */
.about-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.05), transparent);
  transform: skewX(-20deg);
  transition: all 0.7s ease;
}

.about-card:hover::after {
  left: 150%;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.about-card:hover {
  transform: translateY(-12px) scale(1.03) rotateX(2deg);
  border-color: rgba(139, 92, 246, 0.4);
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(139, 92, 246, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.about-card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  z-index: 2;
}

.card-icon svg {
  width: 26px;
  height: 26px;
  stroke: #cbd5f5;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: all 0.5s ease;
}

.about-card:hover .card-icon,
.service-card:hover .card-icon,
.trust-card:hover .card-icon,
.project-card:hover .card-icon {
  transform: scale(1.15) translateY(-5px) rotate(8deg);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(56, 189, 248, 0.1));
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 10px 20px rgba(56, 189, 248, 0.2);
}

.about-card:hover .card-icon svg,
.service-card:hover .card-icon svg,
.trust-card:hover .card-icon svg,
.project-card:hover .card-icon svg {
  stroke: #38bdf8;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.6));
}

.about-card h3 {
  margin-bottom: 12px;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: #f8fafc;
}

.about-card p {
  color: #94a3b8;
  font-size: 15px;
  line-height: 1.6;
}

/* ==========================
   WHAT WE BUILD
========================== */
.section-title,
.section-subtitle {
  text-align: center;
}

.services-preview {
  padding: 80px 5%;
  text-align: center;
  position: relative;
}

.section-badge {
  font-size: 14px;
  font-weight: 700;
  color: #38bdf8;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 25px;
}

.services-subtitle {
  font-size: 24px;
  font-weight: 500;
  color: #cbd5f5;
  margin-bottom: 24px;
  line-height: 1.4;
}

.highlight {
  background: linear-gradient(to right, #38bdf8, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.services-text {
  max-width: 680px;
  margin: 0 auto 60px;
  color: #94a3b8;
  line-height: 1.7;
  font-size: 20px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  perspective: 1000px;
}


.service-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.6), rgba(2, 6, 23, 0.8));
  padding: 40px 35px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}

/* Glassy shine effect on the card */
.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.05), transparent);
  transform: skewX(-20deg);
  transition: all 0.7s ease;
}

.service-card:hover::after {
  left: 150%;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-12px) scale(1.03) rotateX(2deg);
  border-color: rgba(139, 92, 246, 0.4);
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(139, 92, 246, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: #f8fafc;
}

.service-card p {
  color: #94a3b8;
  font-size: 14.5px;
  line-height: 1.6;
  flex-grow: 1;
  /* Pushes tech stack to the bottom */
}

/* Tech Stack Pills */
.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.tech-pill {
  font-family: monospace;
  font-size: 11px;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.05);
  border: 1px solid rgba(56, 189, 248, 0.2);
  padding: 4px 10px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.service-card:hover .tech-pill {
  background: rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.1);
}

@media (max-width:768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-preview h2 {
    font-size: 36px;
  }
}

/* ===========================
   WHY TRUST XSTN
=========================== */

#trust {
  padding: 80px 5%;
  text-align: center;
}

#trust h2 {
  font-size: 54px;
  margin-bottom: 15px;
  line-height: 1.2;
}

.section-subtext {
  color: #94a3b8;
  max-width: 680px;
  margin: 0 auto 60px;
  font-size: 20px;
}

/* GRID */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  perspective: 1000px;
}

/* CARD */
.trust-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.6), rgba(2, 6, 23, 0.8));
  padding: 40px 35px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}

/* Glassy shine effect on the card */
.trust-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.05), transparent);
  transform: skewX(-20deg);
  transition: all 0.7s ease;
}

.trust-card:hover::after {
  left: 150%;
}

.trust-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.trust-card:hover {
  transform: translateY(-12px) scale(1.03) rotateX(2deg);
  border-color: rgba(139, 92, 246, 0.4);
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(139, 92, 246, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.trust-card:hover::before {
  opacity: 1;
}

.trust-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  color: #f8fafc;
}

.trust-card p {
  color: #cbd5f5;
  font-size: 14.5px;
  line-height: 1.6;
}

/* MOBILE */

@media(max-width:768px) {
  #trust {
    padding: 80px 20px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }
}

/* ===========================
   FEATURED PROJECTS
=========================== */

#projects {
  padding: 120px 150px;
  text-align: center;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* PROJECT CARD */

.project-card {
  background: rgba(15, 23, 42, 0.4);
  padding: 40px 35px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  text-align: left;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.08) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(56, 189, 248, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(56, 189, 248, 0.1);
}

.project-card:hover::before {
  opacity: 1;
}

.project-card h3 {
  margin-bottom: 12px;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: #f8fafc;
}

.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.project-card p {
  color: #cbd5f5;
  margin-bottom: 12px;
  font-size: 15px;
}

.project-card span {
  display: block;
  font-size: 13px;
  color: #8b5cf6;
  margin-bottom: 15px;
}

.project-card a {
  color: #38bdf8;
  text-decoration: none;
  font-weight: 600;
}

.project-card a:hover {
  text-decoration: underline;
}

/* MOBILE */

@media(max-width:768px) {
  #projects {
    padding: 80px 20px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }
}

/* ===========================
   HOW WE ARE DIFFERENT
=========================== */

#difference {
  padding: 120px 150px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #020617 0%, #0a0f2e 40%, #0e1a3a 60%, #020617 100%);
}

/* Floating Orbs */
.diff-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

.diff-orb-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #8b5cf6, transparent 70%);
  top: -100px;
  right: -100px;
  animation: floatOrb1 8s ease-in-out infinite alternate;
}

.diff-orb-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #38bdf8, transparent 70%);
  bottom: -80px;
  left: -80px;
  animation: floatOrb2 10s ease-in-out infinite alternate;
}

.diff-orb-3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, #f59e0b, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: floatOrb3 12s ease-in-out infinite alternate;
  opacity: 0.08;
}

@keyframes floatOrb1 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(-40px, 30px) scale(1.15);
  }
}

@keyframes floatOrb2 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(30px, -40px) scale(1.2);
  }
}

@keyframes floatOrb3 {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.06;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 0.12;
  }
}

/* Grid overlay pattern */
.diff-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* Ensure content is above decorative layer */
#difference h2,
#difference .section-subtext,
#difference .compare-table,
#difference .difference-note {
  position: relative;
  z-index: 2;
}

/* Data Stream Background */
.data-stream-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.data-stream {
  position: absolute;
  width: 1px;
  height: 100px;
  background: linear-gradient(to bottom, transparent, #38bdf8, transparent);
  filter: blur(1px);
  opacity: 0.3;
}

.stream-1 {
  left: 20%;
  animation: streamMove 5s linear infinite;
}

.stream-2 {
  left: 50%;
  animation: streamMove 7s linear infinite 1s;
}

.stream-3 {
  left: 80%;
  animation: streamMove 4s linear infinite 2s;
}

@keyframes streamMove {
  0% {
    transform: translateY(-100px);
    opacity: 0;
  }

  20% {
    opacity: 0.6;
  }

  80% {
    opacity: 0.6;
  }

  100% {
    transform: translateY(120vh);
    opacity: 0;
  }
}

.compare-table {
  max-width: 900px;
  margin: 50px auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(139, 92, 246, 0.15);
  box-shadow:
    0 0 25px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(139, 92, 246, 0.05);
  backdrop-filter: blur(12px);
  position: relative;
  background: rgba(2, 6, 23, 0.6);
  perspective: 1000px;
  transition: transform 0.5s ease;
}

.compare-table:hover {
  transform: rotateX(2deg) rotateY(1deg);
}

/* Glowing center divider */
.compare-table::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, rgba(139, 92, 246, 0.4), rgba(56, 189, 248, 0.3), transparent);
  z-index: 1;
  pointer-events: none;
}

.compare-header,
.compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.compare-header {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.9));
  font-weight: 700;
  color: #f8fafc;
  font-size: 18px;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.compare-header span,
.compare-row span {
  padding: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  transition: all 0.35s ease;
}

.compare-header span:first-child,
.compare-row span:first-child {
  justify-content: flex-end;
  text-align: right;
  padding-right: 40px;
  border-right: none;
  /* Handled by table::after glowing divider */
  color: #94a3b8;
}

.compare-header span:first-child {
  color: #cbd5f5;
}

.compare-header span:last-child,
.compare-row span:last-child {
  justify-content: flex-start;
  text-align: left;
  padding-left: 40px;
  position: relative;
}

.compare-row {
  background: rgba(15, 23, 42, 0.4);
  position: relative;
  cursor: pointer;
}

/* Interactive Hover States */
.compare-row:hover {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(56, 189, 248, 0.1));
  transform: scale(1.02) translateZ(20px);
  z-index: 10;
  box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px rgba(139, 92, 246, 0.3);
  border-radius: 8px;
}

.compare-row:hover span:first-child {
  color: #fca5a5;
  text-decoration: line-through;
  text-decoration-color: rgba(239, 68, 68, 0.5);
  opacity: 0.6;
}

.compare-row:hover span:last-child {
  color: #fff;
  text-shadow: 0 0 15px rgba(56, 189, 248, 0.8);
  padding-left: 60px;
  font-size: 16px;
}

/* Icon Styling */
.icon-cross,
.icon-check {
  width: 18px;
  height: 18px;
  margin-right: 12px;
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s ease;
}

.icon-cross {
  stroke: #ef4444;
}

.icon-check {
  stroke: #38bdf8;
}

.compare-row:hover .icon-check {
  transform: scale(1.2) rotate(10deg);
  filter: drop-shadow(0 0 5px #38bdf8);
}

.compare-row:hover .icon-cross {
  transform: scale(0.9);
  opacity: 0.5;
}

/* Glowing dot + animated arrow on hover */
.compare-row span:last-child::before {
  content: '→';
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #38bdf8;
  opacity: 0;
  transition: all 0.35s ease;
  text-shadow: 0 0 10px #38bdf8;
}

.compare-row:hover span:last-child::before {
  opacity: 1;
  left: 30px;
}

.compare-row:nth-child(even) {
  background: rgba(15, 23, 42, 0.2);
}

.compare-row span:last-child {
  color: #38bdf8;
  font-weight: 600;
}

.difference-note {
  max-width: 700px;
  margin: 30px auto 0;
  color: #94a3b8;
  font-size: 15px;
  line-height: 1.6;
}

/* MOBILE RESPONSIVE - PREMIUM STACKED CARDS */
@media(max-width:768px) {
  #difference {
    padding: 80px 20px;
  }

  .compare-table {
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    margin: 30px auto;
  }

  .compare-header {
    display: none;
    /* Hide header on mobile, handled by individual card labels */
  }

  .compare-row {
    grid-template-columns: 1fr;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    margin-bottom: 20px;
    overflow: hidden;
    padding: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: cardEntrance 0.6s ease-out both;
  }

  .compare-row:nth-child(2) {
    animation-delay: 0.1s;
  }

  .compare-row:nth-child(3) {
    animation-delay: 0.2s;
  }

  .compare-row:nth-child(4) {
    animation-delay: 0.3s;
  }

  .compare-row:nth-child(5) {
    animation-delay: 0.4s;
  }

  @keyframes cardEntrance {
    from {
      opacity: 0;
      transform: translateY(30px) scale(0.95);
    }

    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }

  .compare-row:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(139, 92, 246, 0.3);
  }

  .compare-row span {
    border: none;
    padding: 20px !important;
    text-align: center !important;
    justify-content: center !important;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .compare-row span:first-child {
    border-right: none;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    background: rgba(15, 23, 42, 0.6);
  }

  .compare-row span:last-child {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(56, 189, 248, 0.05));
    border-top: 1px solid rgba(139, 92, 246, 0.3);
    font-size: 16px;
    padding-left: 20px !important;
    /* Reset hover indent for mobile */
  }

  /* Add Labels */
  .compare-row span:first-child::before {
    content: 'MARKET AGENCIES';
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 1.5px;
  }

  .compare-row span:last-child::before {
    content: 'XTN ADVANTAGE';
    position: static;
    transform: none;
    width: auto;
    height: auto;
    background: transparent;
    border-radius: 0;
    opacity: 1;
    box-shadow: none;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 4px;
  }
}

/* ===========================
   CLIENT TESTIMONIAL SECTION
=========================== */

#testimonials {
  padding: 100px 150px;
  text-align: center;
}

#testimonials h2 {
  font-size: 42px;
  margin-bottom: 10px;
}

.section-subtitle {
  color: #cbd5f5;
  margin-bottom: 50px;
}

/* GRID */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

/* CARD */

.testimonial-card {
  background: rgba(15, 23, 42, 0.4);
  padding: 40px 30px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.08) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  border-color: rgba(56, 189, 248, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(56, 189, 248, 0.1);
}

.testimonial-card:hover::before {
  opacity: 1;
}

/* IMAGE */

.testimonial-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
  border: 2px solid #38bdf8;
}

/* TEXT */

.testimonial-card h3 {
  margin-bottom: 4px;
}

.testimonial-card span {
  font-size: 13px;
  color: #38bdf8;
}

.company {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 12px;
}

.feedback {
  font-size: 15px;
  line-height: 1.6;
  color: #e5e7eb;
}

/* ===========================
   COMMUNITY CTA
=========================== */

#community-cta {
  padding: 120px 150px;
  text-align: center;
  background: linear-gradient(180deg, #020617, #020617);
}

#community-cta h2 {
  font-size: 42px;
  margin-bottom: 20px;
}

#community-cta p {
  max-width: 650px;
  margin: 0 auto 40px;
  color: #cbd5f5;
  font-size: 17px;
  line-height: 1.7;
}

.cta-btn {
  display: inline-block;
  padding: 16px 46px;
  border-radius: 40px;
  background: linear-gradient(90deg, #6366f1, #38bdf8);
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.cta-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.7);
}

/* MOBILE */

@media(max-width:768px) {
  #community-cta {
    padding: 80px 20px;
  }

  #community-cta h2 {
    font-size: 30px;
  }
}

/* ===========================
   FOOTER
=========================== */

.site-footer {
  background: #000;
  padding: 80px 150px 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.site-footer h3,
.site-footer h4 {
  margin-bottom: 12px;
}

.site-footer p {
  color: #cbd5f5;
  line-height: 1.6;
}

.site-footer a {
  display: block;
  color: #cbd5f5;
  text-decoration: none;
  margin-bottom: 8px;
}

.site-footer a:hover {
  color: #38bdf8;
}

.copyright {
  text-align: center;
  color: #9ca3af;
  font-size: 14px;
}

/* MOBILE */

@media(max-width:768px) {
  .site-footer {
    padding: 60px 20px 30px;
  }
}

.cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-outline-btn {
  padding: 16px 46px;
  border-radius: 40px;
  border: 1px solid #38bdf8;
  color: #38bdf8;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.cta-outline-btn:hover {
  background: #38bdf8;
  color: black;
}

/* ===========================
   FINAL CTA SECTION
=========================== */

.final-cta {
  padding: 120px 40px;
  text-align: center;
  background: linear-gradient(180deg, #020617, #030a25);
}

.final-cta h2 {
  font-size: 48px;
  margin-bottom: 20px;
}

.final-cta p {
  font-size: 18px;
  color: #cbd5f5;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.cta-btn {
  display: inline-block;
  padding: 16px 44px;
  border-radius: 35px;
  background: linear-gradient(90deg, #8b5cf6, #38bdf8);
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: 0.3s;
}

.cta-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 0 25px rgba(139, 92, 246, 0.8);
}

/* ============================
   ABOUT SECTION
============================ */

.about-section {
  padding: 120px 150px;
  text-align: center;
}

.section-title {
  font-size: 42px;
  margin-bottom: 15px;
}

.section-subtitle {
  max-width: 800px;
  margin: 0 auto 70px;
  color: #cbd5f5;
  font-size: 18px;
}

/* REDUNDANT ABOUT CARD STYLES REMOVED IN FAVOR OF GLOBAL STYLES */

/* ============================
   MOBILE RESPONSIVE
============================ */

@media (max-width:768px) {

  .about-section {
    padding: 80px 20px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

}

/* ===== ZIG ZAG SERVICES LAYOUT ===== */

.service-row {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 80px;
}

.service-row.reverse {
  flex-direction: row-reverse;
}

.service-text {
  flex: 1;
  background: rgba(15, 23, 42, 0.4);
  padding: 40px 45px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.service-text:hover {
  transform: translateY(-8px);
  border-color: rgba(139, 92, 246, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(139, 92, 246, 0.1);
}

.service-text h3 {
  color: #f8fafc;
  font-size: 26px;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.service-text p {
  color: #cbd5f5;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.service-text ul {
  list-style: none;
  padding: 0;
}

.service-text ul li {
  color: #cbd5f5;
  font-size: 15px;
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
}

.service-text ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #a78bfa;
}

.service-img {
  flex: 1;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.service-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.service-row:hover .service-img img {
  transform: scale(1.05);
}


/* Mobile Responsive */
@media(max-width:900px) {

  .service-row,
  .service-row.reverse {
    flex-direction: column;
  }
}

/* ===== PARTNERS PAGE ===== */

.partners-section {
  padding: 80px 20px;
  background: #0b0f1a;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.partner-card {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 30px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.partner-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(14, 165, 233, 0.2);
  border-color: rgba(14, 165, 233, 0.4);
}

.partner-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  stroke: #38bdf8;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.5));
}

.partner-card h3 {
  color: #ffffff;
  margin-bottom: 10px;
  font-size: 1.4rem;
}

.partner-card p {
  color: #94a3b8;
  line-height: 1.6;
}

.revenue-model {
  margin-top: 70px;
  padding: 40px;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  border: 1px solid rgba(139, 92, 246, 0.3);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.15);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.revenue-model::before {
  content: '';
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 250px;
  height: 150px;
  background: rgba(139, 92, 246, 0.4);
  filter: blur(60px);
  z-index: 0;
}

.revenue-model * {
  position: relative;
  z-index: 1;
}

.revenue-model h3 {
  color: #ffffff;
  margin-bottom: 15px;
  font-size: 1.8rem;
}

.revenue-model p {
  color: #94a3b8;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

.partner-cta {
  text-align: center;
  margin-top: 40px;
}

/* CENTER PARTNER HERO */

.partners-section .section-title,
.partners-section .section-subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.partners-section .container {
  text-align: center;
}

/* WHY PARTNER */

.partner-why {
  padding: 80px 20px;
  background: #0b0f1a;
  text-align: center;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.why-card {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  transition: all 0.4s ease;
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(139, 92, 246, 0.2);
  border-color: rgba(139, 92, 246, 0.4);
}

.why-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 15px;
  stroke: #8b5cf6;
  filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.5));
}

.why-card h4 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}


/* ZIGZAG */

.partner-zigzag {
  padding: 80px 20px;
}

.partner-row {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 70px;
}

.partner-row.reverse {
  flex-direction: row-reverse;
}

.partner-icon-wrapper {
  flex: 0 0 40%;
  aspect-ratio: 1;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.15);
}

.partner-large-icon {
  width: 120px;
  height: 120px;
  stroke: #a78bfa;
  filter: drop-shadow(0 0 15px rgba(167, 139, 250, 0.5));
}

.partner-text {
  flex: 0 0 55%;
}

@media(max-width: 900px) {
  .partner-row, .partner-row.reverse {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }
  .partner-icon-wrapper {
    flex: 0 0 auto;
    width: 80%;
    margin: 0 auto;
  }
  .partner-large-icon {
    width: 90px;
    height: 90px;
  }
  .partner-text {
    flex: 0 0 auto;
    width: 100%;
  }
  .partner-benefits li {
    text-align: left;
  }
}


/* STEPS */

.partner-steps {
  padding: 80px 20px;
  background: #0b0f1a;
  text-align: center;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.step {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.step:hover {
  transform: translateY(-5px);
  border-color: rgba(14, 165, 233, 0.4);
}

.step-number {
  width: 50px;
  height: 50px;
  line-height: 50px;
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
  color: white;
  font-size: 1.4rem;
  font-weight: bold;
  border-radius: 50%;
  margin: 0 auto 20px auto;
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.5);
}

.step h3 {
  color: #fff;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.step p {
  color: #94a3b8;
  font-size: 0.95rem;
  margin: 0;
}

/* ALIGN TEXT PERFECTLY WITH IMAGES */

.partner-row {
  display: flex;
  align-items: center;
  /* vertical center */
  justify-content: space-between;
  gap: 80px;
}

.partner-row div {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Bigger Headings */
.partner-row h3 {
  font-size: 34px;
  color: #ffffff;
  margin-bottom: 10px;
}

/* Bigger Description */
.partner-row p {
  font-size: 18px;
  color: #cfd3ff;
  max-width: 500px;
  line-height: 1.6;
}

.lead-text {
  font-size: 1.15rem !important;
  color: #38bdf8 !important;
  margin-bottom: 25px !important;
  font-weight: 500;
}

.partner-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 500px;
}

.partner-benefits li {
  color: #94a3b8;
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.partner-benefits li strong {
  color: #ffffff;
}

.check-icon {
  color: #10b981;
  font-weight: bold;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* Minimalist SVG Icon Styling */
.partner-icon-wrapper {
  width: 420px;
  max-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(15, 23, 42, 0.4);
  border-radius: 20px;
  border: 1px solid rgba(139, 92, 246, 0.1);
  padding: 60px 20px;
  box-shadow: inset 0 0 20px rgba(139, 92, 246, 0.05);
}

.partner-large-icon {
  width: 100px;
  height: 100px;
  stroke: #a78bfa;
  /* Soft purple */
  filter: drop-shadow(0 0 15px rgba(139, 92, 246, 0.6));
  transition: transform 0.4s ease, filter 0.4s ease;
}

.partner-row:hover .partner-large-icon {
  transform: scale(1.1);
  filter: drop-shadow(0 0 25px rgba(139, 92, 246, 0.9));
}

/* ===== PROJECTS PAGE ===== */

.projects-section {
  padding: 80px 20px;
  background: #0b0f1a;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.project-card {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(139, 92, 246, 0.2);
  border-color: rgba(139, 92, 246, 0.4);
}

.project-img-wrapper {
  padding: 20px 20px 0 20px;
}

.project-img-wrapper img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s ease;
}

.project-card:hover .project-img-wrapper img {
  transform: scale(1.02);
}

.project-info {
  padding: 25px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-info h3 {
  color: #ffffff;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.project-info p {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.6;
  flex: 1;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 15px 0 20px;
}

.tech-pill {
  background: rgba(139, 92, 246, 0.15);
  color: #a78bfa;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(139, 92, 246, 0.3);
  letter-spacing: 0.5px;
}

.view-project-link {
  color: #38bdf8;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  margin-top: auto;
  display: inline-flex;
  transition: color 0.3s ease;
}

.view-project-link:hover {
  color: #7dd3fc;
}

.projects-section .section-title,
.projects-section .section-subtitle {
  text-align: center;
}

/* ===== CONTACT PAGE ===== */

.contact-section {
  padding: 80px 20px;
  background: #0b0f1a;
}

.contact-wrapper {
  display: flex;
  gap: 50px;
  margin-top: 50px;
}

.contact-form {
  flex: 1;
  background: #111827;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(99, 102, 241, 0.4);
}

.contact-info {
  flex: 1;
  background: #111827;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(99, 102, 241, 0.4);
}

.contact-info h3 {
  color: #ffffff;
  margin-bottom: 20px;
}

.contact-info p {
  color: #c7c7c7;
  margin-bottom: 10px;
}

/* Mobile */
@media(max-width:900px) {
  .contact-wrapper {
    flex-direction: column;
  }
}

.contact-section .section-title,
.contact-section .section-subtitle {
  text-align: center;
}

.contact-section {
  text-align: center;
}

.pricing-position {
  padding: 80px 20px;
  background: #0b0f1a;
  text-align: center;
}

.pricing-position h2 {
  color: #ffffff;
  margin-bottom: 20px;
}

.pricing-position p {
  color: #c7c7c7;
  max-width: 800px;
  margin: auto;
  font-size: 18px;
  line-height: 1.6;
}

@media (max-width:768px) {

  section {
    padding: 60px 20px;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 28px;
  }

  p {
    font-size: 15px;
  }

}

/* ===========================
   AUTHENTICATION PAGES
=========================== */

.auth-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px 20px;
  background: linear-gradient(135deg, #020617 0%, #0f172a 50%, #1e293b 100%);
  position: relative;
  overflow: hidden;
}

.auth-section::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, rgba(139, 92, 246, 0) 70%);
  border-radius: 50%;
  top: -300px;
  right: -300px;
  pointer-events: none;
}

.auth-section::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.1) 0%, rgba(56, 189, 248, 0) 70%);
  border-radius: 50%;
  bottom: -200px;
  left: -200px;
  pointer-events: none;
}

.auth-card {
  position: relative;
  z-index: 1;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 16px;
  padding: 40px;
  max-width: 450px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.6s ease;
}

.auth-card.signup-card {
  max-width: 500px;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.auth-header {
  text-align: center;
  margin-bottom: 30px;
}

.auth-header h1 {
  font-size: 28px;
  color: white;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #38bdf8 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.auth-header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.auth-header .tagline {
  font-size: 16px;
  color: #38bdf8;
  font-weight: 600;
  margin-bottom: 4px;
}

.auth-header .subtitle {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  margin-top: 8px;
}

.auth-form {
  display: flex;
  flex-direction: column;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 12px;
  font-size: 16px;
  color: rgba(139, 92, 246, 0.7);
  pointer-events: none;
}

.input-wrapper input,
.input-wrapper select {
  padding-left: 40px;
  padding-right: 45px;
}

.toggle-password {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  cursor: pointer;
  font-weight: 500;
  transition: color 0.3s;
}

.toggle-password:hover {
  color: #38bdf8;
}

.validation-icon {
  position: absolute;
  right: 12px;
  font-size: 16px;
  color: transparent;
}

/* Password Strength Indicator */

.password-strength {
  margin-top: 8px;
}

.strength-bar {
  height: 4px;
  background: rgba(139, 92, 246, 0.2);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 6px;
}

.strength-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ef4444, #f97316);
  border-radius: 2px;
  transition: width 0.3s ease, background-color 0.3s ease;
}

.strength-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

/* Password Requirements */

.password-requirements {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.requirement {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.req-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  color: rgba(139, 92, 246, 0.5);
  font-size: 10px;
}

.requirement.active {
  color: #22c55e;
}

.requirement.active .req-icon {
  color: #22c55e;
}

/* Agreement Text */

.agreement-text {
  background: rgba(139, 92, 246, 0.1);
  border-left: 3px solid #38bdf8;
  padding: 12px;
  border-radius: 6px;
  margin: 20px 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}

.agreement-text .highlight {
  color: #38bdf8;
  font-weight: 600;
}

/* Auth Links */

.auth-links {
  text-align: center;
  margin-top: 20px;
}

.auth-links p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin: 8px 0;
}

.auth-links a {
  color: #38bdf8;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.auth-links a:hover {
  color: #60a5fa;
}

@media (max-width: 600px) {
  .auth-card {
    padding: 30px 20px;
  }

  .auth-header h1 {
    font-size: 24px;
  }

  .password-requirements {
    grid-template-columns: 1fr;
  }
}

/* ===========================
   XSTN POPUP MODAL
=========================== */

.xstn-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.xstn-popup-overlay.active {
  opacity: 1;
}

.xstn-popup-box {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.95));
  border: 1px solid rgba(139, 92, 246, 0.5);
  border-radius: 20px;
  padding: 40px 50px;
  text-align: center;
  max-width: 420px;
  width: 90%;
  box-shadow:
    0 0 40px rgba(139, 92, 246, 0.3),
    0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.8) translateY(20px);
  transition: transform 0.3s ease;
}

.xstn-popup-overlay.active .xstn-popup-box {
  transform: scale(1) translateY(0);
}

.xstn-popup-icon {
  margin-bottom: 20px;
}

.popup-checkmark {
  width: 70px;
  height: 70px;
}

.popup-checkmark circle {
  stroke-dasharray: 160;
  stroke-dashoffset: 160;
  animation: popupCircleDraw 0.6s ease forwards 0.1s;
}

.popup-checkmark path {
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: popupCheckDraw 0.4s ease forwards 0.5s;
}

@keyframes popupCircleDraw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes popupCheckDraw {
  to {
    stroke-dashoffset: 0;
  }
}

.xstn-popup-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.xstn-popup-message {
  font-size: 15px;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 28px;
}

.xstn-popup-btn {
  padding: 12px 40px;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.xstn-popup-btn.success {
  background: linear-gradient(135deg, #00e676, #00c853);
  color: #000;
  box-shadow: 0 4px 20px rgba(0, 230, 118, 0.4);
}

.xstn-popup-btn.success:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 230, 118, 0.6);
}

.xstn-popup-btn.error {
  background: linear-gradient(135deg, #ff5252, #f44336);
  color: #fff;
  box-shadow: 0 4px 20px rgba(255, 82, 82, 0.4);
}

.xstn-popup-btn.error:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255, 82, 82, 0.6);
}

@media (max-width: 480px) {
  .xstn-popup-box {
    padding: 30px 25px;
  }

  .popup-checkmark {
    width: 55px;
    height: 55px;
  }

  .xstn-popup-title {
    font-size: 19px;
  }
}

/* ===========================
   OTP VERIFICATION INPUTS
=========================== */

.otp-container {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 12px;
  justify-content: center;
  margin: 30px 0;
}

.otp-input {
  width: 52px !important;
  height: 60px !important;
  min-width: 52px;
  max-width: 52px;
  text-align: center !important;
  font-size: 24px !important;
  font-weight: 700;
  border: 2px solid rgba(139, 92, 246, 0.4) !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
  outline: none;
  transition: all 0.3s ease;
  padding: 0 !important;
  margin: 0;
  flex: 0 0 52px;
  box-sizing: border-box;
}

.otp-input:focus {
  border-color: #8b5cf6;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
  transform: translateY(-2px);
}

.verify-email-display {
  color: #38bdf8;
  font-weight: 600;
  font-size: 15px;
  word-break: break-all;
}

/* ===========================
   AUTH ERROR MESSAGE
=========================== */

.auth-error {
  display: none;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 16px;
  text-align: center;
  animation: slideIn 0.3s ease;
}

/* ===========================
   FORM ROW (Side by Side)
=========================== */

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 480px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .otp-input {
    width: 42px;
    height: 50px;
    font-size: 20px;
  }

  .otp-container {
    gap: 8px;
  }
}

/* ===========================
   DASHBOARD
=========================== */

.dashboard-section {
  padding: 20px 50px 60px;
  min-height: 80vh;
}

.dashboard-container {
  max-width: 1100px;
  margin: 0 auto;
}

.dashboard-header {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 35px 40px;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 18px;
  margin-bottom: 30px;
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.15);
}

.profile-avatar {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b5cf6, #38bdf8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.profile-header-info h1 {
  font-size: 26px;
  margin-bottom: 4px;
}

.profile-email {
  color: #94a3b8;
  font-size: 14px;
}

.profile-badges {
  margin-top: 8px;
}

.badge {
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.badge.verified {
  background: rgba(0, 230, 118, 0.15);
  color: #00e676;
  border: 1px solid rgba(0, 230, 118, 0.3);
}

.badge.unverified {
  background: rgba(255, 193, 7, 0.15);
  color: #ffc107;
  border: 1px solid rgba(255, 193, 7, 0.3);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.dash-card {
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 16px;
  padding: 28px;
  transition: 0.3s;
}

.dash-card:hover {
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.15);
}

.dash-card h3 {
  font-size: 18px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
}

.detail-label {
  color: #94a3b8;
  font-size: 14px;
}

.detail-value {
  color: #e2e8f0;
  font-weight: 500;
  font-size: 14px;
  text-align: right;
  max-width: 60%;
  word-break: break-all;
}

.account-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.action-btn {
  padding: 12px 20px;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  text-align: center;
}

.logout-btn {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.logout-btn:hover {
  background: rgba(239, 68, 68, 0.25);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .dashboard-section {
    padding: 20px 15px 40px;
  }

  .dashboard-header {
    flex-direction: column;
    text-align: center;
    padding: 25px 20px;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .detail-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .detail-value {
    text-align: left;
    max-width: 100%;
  }
}

/* ===========================
   TESTIMONIALS SECTION
=========================== */

#testimonials {
  padding: 80px 60px;
  text-align: center;
  background: linear-gradient(180deg, #020617 0%, #0a0f2e 50%, #020617 100%);
}

#testimonials h2 {
  font-size: 2.2rem;
  font-weight: 700;
  background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

#testimonials .section-subtitle {
  color: #94a3b8;
  font-size: 15px;
  margin-bottom: 50px;
}

.testimonial-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-slider::before,
.testimonial-slider::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.testimonial-slider::before {
  left: 0;
  background: linear-gradient(to right, #020617, transparent);
}

.testimonial-slider::after {
  right: 0;
  background: linear-gradient(to left, #020617, transparent);
}

.testimonial-track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: scrollTestimonials 40s linear infinite;
  padding: 10px 0 30px 0;
  /* extra padding to avoid shadow clipping */
}

.testimonial-slider:hover .testimonial-track {
  animation-play-state: paused;
}

@keyframes scrollTestimonials {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50% - 14px));
  }
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 20px;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
  width: 380px;
  flex-shrink: 0;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.6), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.testimonial-card:hover {
  border-color: rgba(139, 92, 246, 0.5);
  background: rgba(139, 92, 246, 0.06);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(139, 92, 246, 0.15);
}

.testimonial-card:hover::before {
  opacity: 1;
}

/* Client logo */
.testimonial-card img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  border-radius: 14px;
  background: #fff;
  padding: 8px;
  margin-bottom: 18px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

/* Company name */
.testimonial-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

/* Category tag */
.testimonial-card span {
  font-size: 12px;
  color: #8b5cf6;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: inline-block;
  background: rgba(139, 92, 246, 0.1);
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid rgba(139, 92, 246, 0.25);
}

/* Stars */
.testimonial-card::after {
  content: '★★★★★';
  color: #f59e0b;
  font-size: 14px;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 14px;
}

/* Feedback quote */
.testimonial-card .feedback {
  font-size: 13.5px;
  line-height: 1.75;
  color: #cbd5e1;
  font-style: italic;
  flex-grow: 1;
  margin-bottom: 18px;
  position: relative;
}

.testimonial-card .feedback::before {
  content: '\201C';
  font-size: 48px;
  color: rgba(139, 92, 246, 0.3);
  font-family: Georgia, serif;
  position: absolute;
  top: -20px;
  left: -8px;
  line-height: 1;
}

/* Reviewer name */
.testimonial-card .reviewer {
  font-size: 13px;
  color: #38bdf8;
  font-weight: 600;
  margin-top: auto;
  letter-spacing: 0.3px;
}

/* Responsive */
@media (max-width: 1024px) {
  .testimonial-card {
    width: 340px;
  }
}

@media (max-width: 640px) {
  #testimonials {
    padding: 60px 20px;
  }

  .testimonial-card {
    width: 300px;
  }
}

/* ===========================
   PREMIUM FORM PAGES
   (contact, consultation, proposal,
    internship, join-developer, partner)
=========================== */

/* Shared full-page section style */
.contact-section,
.consult-section,
.proposal-section,
.internship-section,
.join-dev-section,
.partner-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 20px 60px;
  background: linear-gradient(135deg, #020617 0%, #0f172a 50%, #1e293b 100%);
  position: relative;
  overflow: hidden;
}

/* Glowing orbs (like auth pages) */
.contact-section::before,
.consult-section::before,
.proposal-section::before,
.internship-section::before,
.join-dev-section::before,
.partner-section::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  top: -300px;
  right: -300px;
  pointer-events: none;
}

.contact-section::after,
.consult-section::after,
.proposal-section::after,
.internship-section::after,
.join-dev-section::after,
.partner-section::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  bottom: -200px;
  left: -200px;
  pointer-events: none;
}

/* Container inside each section */
.contact-section .container,
.consult-section .container,
.proposal-section .container,
.internship-section .container,
.join-dev-section .container,
.partner-section .container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 820px;
}

/* Glass card wrapping forms */
.contact-form,
.consult-form,
.proposal-form,
.internship-form,
.join-dev-form,
.partner-form {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 20px;
  padding: 44px 48px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.6s ease;
}

/* Section heading */
.contact-section h2,
.consult-section h2,
.proposal-section h2,
.internship-section h2,
.join-dev-section h2,
.partner-section h2 {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, #38bdf8 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  text-align: center;
}

.contact-section>.container>p,
.consult-section>.container>p,
.proposal-section>.container>p,
.internship-section>.container>p,
.join-dev-section>.container>p,
.partner-section>.container>p {
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  margin-bottom: 36px;
  font-size: 15px;
}

/* Form labels */
.contact-form .form-group label,
.consult-form .form-group label,
.proposal-form .form-group label,
.internship-form .form-group label,
.join-dev-form .form-group label,
.partner-form .form-group label {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(56, 189, 248, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Inputs, selects, textareas */
.contact-form .form-group input,
.contact-form .form-group select,
.contact-form .form-group textarea,
.consult-form .form-group input,
.consult-form .form-group select,
.consult-form .form-group textarea,
.proposal-form .form-group input,
.proposal-form .form-group select,
.proposal-form .form-group textarea,
.internship-form .form-group input,
.internship-form .form-group select,
.internship-form .form-group textarea,
.join-dev-form .form-group input,
.join-dev-form .form-group select,
.join-dev-form .form-group textarea,
.partner-form .form-group input,
.partner-form .form-group select,
.partner-form .form-group textarea {
  width: 100%;
  padding: 13px 16px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1.5px solid rgba(139, 92, 246, 0.3) !important;
  border-radius: 10px !important;
  color: #fff !important;
  font-size: 14px;
  transition: all 0.3s ease;
  outline: none !important;
}

.contact-form .form-group input:focus,
.contact-form .form-group select:focus,
.contact-form .form-group textarea:focus,
.consult-form .form-group input:focus,
.consult-form .form-group select:focus,
.consult-form .form-group textarea:focus,
.proposal-form .form-group input:focus,
.proposal-form .form-group select:focus,
.proposal-form .form-group textarea:focus,
.internship-form .form-group input:focus,
.internship-form .form-group select:focus,
.internship-form .form-group textarea:focus,
.join-dev-form .form-group input:focus,
.join-dev-form .form-group select:focus,
.join-dev-form .form-group textarea:focus,
.partner-form .form-group input:focus,
.partner-form .form-group select:focus,
.partner-form .form-group textarea:focus {
  border-color: #8b5cf6 !important;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15), 0 0 18px rgba(139, 92, 246, 0.2) !important;
  background: rgba(139, 92, 246, 0.05) !important;
}

/* Select option theming */
.contact-form select option,
.consult-form select option,
.proposal-form select option,
.internship-form select option,
.join-dev-form select option,
.partner-form select option {
  background: #0f172a;
  color: #fff;
}

/* Placeholder */
.contact-form ::placeholder,
.consult-form ::placeholder,
.proposal-form ::placeholder,
.internship-form ::placeholder,
.join-dev-form ::placeholder,
.partner-form ::placeholder {
  color: rgba(255, 255, 255, 0.3) !important;
}

/* Textarea */
.contact-form textarea,
.consult-form textarea,
.proposal-form textarea,
.internship-form textarea,
.join-dev-form textarea,
.partner-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* Form group spacing */
.contact-form .form-group,
.consult-form .form-group,
.proposal-form .form-group,
.internship-form .form-group,
.join-dev-form .form-group,
.partner-form .form-group {
  margin-bottom: 20px;
}

/* Submit button — same as auth */
.contact-form .submit-btn,
.consult-form .submit-btn,
.proposal-form .submit-btn,
.internship-form .submit-btn,
.join-dev-form .submit-btn,
.partner-form .submit-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #38bdf8 0%, #8b5cf6 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 8px;
}

.contact-form .submit-btn:hover,
.consult-form .submit-btn:hover,
.proposal-form .submit-btn:hover,
.internship-form .submit-btn:hover,
.join-dev-form .submit-btn:hover,
.partner-form .submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
  filter: brightness(1.1);
}

/* Contact page: 2-column grid (form + info) */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: start;
}

.contact-info {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 20px;
  padding: 36px 28px;
  animation: slideUp 0.7s ease;
}

.contact-info h3 {
  font-size: 18px;
  font-weight: 700;
  color: #38bdf8;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(56, 189, 248, 0.15);
}

.contact-info p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* 2-column form rows where needed */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Responsive */
@media (max-width: 768px) {

  .contact-form,
  .consult-form,
  .proposal-form,
  .internship-form,
  .join-dev-form,
  .partner-form {
    padding: 28px 20px;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ===========================
   INTERNSHIP PAGE (.join-section)
=========================== */
.join-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 20px 60px;
  background: linear-gradient(135deg, #020617 0%, #0f172a 50%, #1e293b 100%);
  position: relative;
  overflow: hidden;
}

.join-section::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  top: -300px;
  right: -300px;
  pointer-events: none;
}

.join-section::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  bottom: -200px;
  left: -200px;
  pointer-events: none;
}

.join-card {
  position: relative;
  z-index: 1;
  background: rgba(15, 23, 42, 0.85) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(139, 92, 246, 0.25) !important;
  border-radius: 20px !important;
  padding: 44px 48px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5) !important;
  max-width: 680px;
  width: 100%;
  animation: slideUp 0.6s ease;
}

.join-card h1 {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, #38bdf8 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.join-card>p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 30px;
  font-size: 15px;
}

#internshipForm .form-group {
  margin-bottom: 20px;
}

#internshipForm .form-group label {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(56, 189, 248, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#internshipForm .form-group input,
#internshipForm .form-group select,
#internshipForm .form-group textarea {
  width: 100%;
  padding: 13px 16px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1.5px solid rgba(139, 92, 246, 0.3) !important;
  border-radius: 10px !important;
  color: #fff !important;
  font-size: 14px;
  transition: all 0.3s ease;
  outline: none !important;
}

#internshipForm .form-group input:focus,
#internshipForm .form-group select:focus,
#internshipForm .form-group textarea:focus {
  border-color: #8b5cf6 !important;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15) !important;
  background: rgba(139, 92, 246, 0.05) !important;
}

#internshipForm .form-group select option {
  background: #0f172a;
  color: #fff;
}

#internshipForm ::placeholder {
  color: rgba(255, 255, 255, 0.3) !important;
}

#internshipForm .submit-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #38bdf8 0%, #8b5cf6 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 8px;
}

#internshipForm .submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
  filter: brightness(1.1);
}

.back-btn {
  display: inline-block;
  color: rgba(56, 189, 248, 0.7) !important;
  font-size: 13px;
  margin-bottom: 20px;
  text-decoration: none;
  transition: color 0.2s;
}

.back-btn:hover {
  color: #38bdf8 !important;
}

/* ===========================
   PARTNER PAGE styling override
=========================== */
.partners-section {
  background: linear-gradient(135deg, #020617 0%, #0f172a 60%, #1e293b 100%);
}

/* ===========================
   TEAM PAGE
=========================== */

.team-hero {
  padding: 120px 5% 60px;
  position: relative;
  overflow: hidden;
}

/* Subtle glowing orb in the background */
.team-hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
}

.team-header-container {
  max-width: 850px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  background: rgba(10, 15, 28, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 50px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-header-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.4);
}

.text-glow-animate {
  display: inline-block;
  transition: all 0.4s ease;
}

.team-header-container:hover .text-glow-animate {
  text-shadow: 0 0 20px rgba(56, 189, 248, 0.6);
  transform: scale(1.02);
}

.team-header-container:hover h3 {
  color: #fff !important;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.mission-text-container {
  border-left: 3px solid rgba(56, 189, 248, 0.3);
  padding-left: 20px;
  margin-top: 30px;
  transition: border-color 0.4s ease;
}

.team-header-container:hover .mission-text-container {
  border-color: #38bdf8;
}

.team-section {
  padding: 80px 5%;
}

.bg-alt {
  background: rgba(15, 23, 42, 0.4);
}

.team-grid {
  display: flex;
  flex-direction: column;
  gap: 50px;
  max-width: 1000px;
  margin: 0 auto;
}

.team-grid.single-card {
  max-width: 1000px;
}

.team-card {
  display: flex;
  flex-direction: row;
  gap: 40px;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0;
  padding: 0 0 40px 0;
  align-items: flex-start;
  transition: opacity 0.3s ease;
}

.team-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.team-card:hover {
  transform: none;
  box-shadow: none;
  border-color: rgba(255, 255, 255, 0.05);
}

.team-img-wrapper {
  flex-shrink: 0;
  width: 280px;
  height: 350px;
  border-radius: 12px;
  overflow: hidden;
  background: transparent;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.team-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.team-card:hover .team-img-wrapper img {
  transform: scale(1.03);
}

.team-content {
  padding: 0;
  text-align: left;
  flex-grow: 1;
}

.team-content h3 {
  font-size: 22px;
  margin-bottom: 5px;
  color: #fff;
}

.team-role {
  display: block;
  color: #38bdf8;
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.team-socials {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
}

.team-socials a {
  color: #cbd5f5;
  font-size: 13px;
  text-decoration: none;
  transition: 0.3s;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
}

.team-socials a:hover {
  color: #fff;
  border-color: #38bdf8;
  background: rgba(56, 189, 248, 0.15);
}

.team-content p {
  color: #94a3b8;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 15px;
}

.team-content p:last-child {
  margin-bottom: 0;
}

/* Team Mission & Join CTA */
.team-mission-cta {
  padding: 80px 5%;
}

.team-mission-cta .cta-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.cta-glass-box {
  background: rgba(10, 15, 28, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(12px);
  transition: all 0.4s ease;
}

.cta-glass-box:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 189, 248, 0.3);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(56, 189, 248, 0.1);
}

.cta-glass-box h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #fff;
}

.cta-glass-box .cta-subtext {
  font-size: 16px;
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 15px;
}

.cta-glass-box ul {
  color: #cbd5f5;
  margin-bottom: 20px;
  line-height: 1.8;
  padding-left: 20px;
}

.cta-glass-box ul li {
  margin-bottom: 8px;
}

.contact-email {
  color: #38bdf8;
  font-weight: 600;
  font-size: 16px;
  margin-top: 20px;
}

.contact-email a {
  color: #38bdf8;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.contact-email a:hover {
  color: #fff;
}

.cta-btn-wrapper {
  margin-top: 30px;
}

.join-btn {
  display: inline-block;
  padding: 12px 35px;
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.join-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(14, 165, 233, 0.3);
}

@media (max-width: 768px) {
  .team-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 25px;
  }

  .team-img-wrapper {
    width: 100%;
    max-width: 320px;
    height: 380px;
  }

  .team-content {
    text-align: center;
  }

  .team-socials {
    justify-content: center;
  }

  .team-mission-cta .cta-container {
    grid-template-columns: 1fr !important;
  }
}

/* ===========================
   AI TOOLS PREVIEW SECTION
=========================== */

#ai-tools {
  position: relative;
  overflow: hidden;
}

#ai-tools h2 {
  text-align: center;
  margin-bottom: 20px;
}

#ai-tools .section-subtext {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
  color: #94a3b8;
  font-size: 18px;
  line-height: 1.6;
}

.ai-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  grid-auto-flow: dense;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Base Card Styles */
.ai-tool-card {
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 40px 30px;
  backdrop-filter: blur(12px);
  transition: all 0.4s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.ai-tool-card:hover {
  transform: translateY(-8px);
  border-color: rgba(139, 92, 246, 0.3);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(139, 92, 246, 0.1);
}

/* Icon Container */
.ai-tool-card .card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(56, 189, 248, 0.1) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  border: 1px solid rgba(139, 92, 246, 0.2);
  transition: all 0.3s ease;
}

.ai-tool-card:hover .card-icon {
  transform: scale(1.05) rotate(5deg);
  border-color: rgba(139, 92, 246, 0.5);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.25) 0%, rgba(56, 189, 248, 0.2) 100%);
}

.ai-tool-card .card-icon svg {
  width: 28px;
  height: 28px;
  stroke: #c4b5fd;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Highlighted Estimator Card */
.ai-tool-card.box-highlight {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 20, 50, 0.6) 100%);
  border: 1px solid rgba(139, 92, 246, 0.4);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.15);
  /* Removed span 2 to keep layout symmetrical */
}

.ai-tool-card.box-highlight .card-icon {
  background: linear-gradient(135deg, #8b5cf6 0%, #38bdf8 100%);
  border: none;
}

.ai-tool-card.box-highlight .card-icon svg {
  stroke: #ffffff;
}

/* Typography Inside Cards */
.ai-tool-card h3 {
  font-size: 22px;
  color: #f8fafc;
  margin-bottom: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.ai-feature-desc {
  color: #cbd5e1;
  font-size: 15px;
  margin-bottom: 12px;
}

/* Feature Lists */
.audit-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  flex-grow: 1;
}

.audit-list li {
  color: #94a3b8;
  font-size: 15px;
  padding-left: 24px;
  position: relative;
  margin-bottom: 10px;
}

.audit-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #38bdf8;
  font-weight: bold;
}

/* Project Estimator Example Box */
.example-box {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 15px 20px;
  margin-bottom: 25px;
  border-left: 3px solid #38bdf8;
}

.example-title {
  color: #cbd5e1 !important;
  font-size: 14px !important;
  margin-bottom: 8px !important;
  font-weight: normal !important;
}

.example-cost {
  color: #38f9d7 !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  margin-bottom: 4px !important;
}

.example-time {
  color: #94a3b8 !important;
  font-size: 14px !important;
  margin-bottom: 0 !important;
}

/* AI Buttons */
.ai-cta-btn {
  display: inline-block;
  padding: 14px 24px;
  background: linear-gradient(135deg, #38bdf8 0%, #8b5cf6 100%);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  text-align: center;
  transition: all 0.3s ease;
  margin-top: auto;
}

.ai-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(56, 189, 248, 0.4);
}

.ai-outline-btn {
  display: inline-block;
  padding: 12px 24px;
  border: 1.5px solid rgba(139, 92, 246, 0.5);
  color: #c4b5fd;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  text-align: center;
  transition: all 0.3s ease;
  background: rgba(139, 92, 246, 0.05);
  margin-top: auto;
}

.ai-outline-btn:hover {
  background: rgba(139, 92, 246, 0.15);
  color: #fff;
  border-color: #8b5cf6;
}

/* Coming Soon Card Style & Badge */
.ai-coming-soon {
  border: 1px dashed rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.2);
}

.badge-soon {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(245, 158, 11, 0.3);
}


/* Custom Desktop Enforcement */
@media (min-width: 1024px) {
  .ai-tools-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    max-width: 1200px;
  }
}

/* AI Try Button (Interactive Chat Prompt Look) */
.ai-try-btn {
  display: block;
  width: 100%;
  margin-top: 20px;
  padding: 12px 15px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 8px;
  color: #94a3b8;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.ai-try-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.1), transparent);
  transition: all 0.5s ease;
}

.ai-try-btn:hover {
  border-color: rgba(56, 189, 248, 0.5);
  color: #f8fafc;
  background: rgba(15, 23, 42, 1);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.15);
}

.ai-try-btn:hover::before {
  left: 100%;
}

/* ===========================
   AUTH PAGES (Login & Signup)
=========================== */

.auth-section {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #020617;
  position: relative;
  overflow: hidden;
  padding: 40px 20px;
}

/* Animated background orbs */
.auth-section::before,
.auth-section::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  animation: authGlow 10s infinite alternate ease-in-out;
}

.auth-section::before {
  top: -150px;
  left: -100px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.5), transparent 70%);
}

.auth-section::after {
  bottom: -150px;
  right: -100px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.4), transparent 70%);
  animation-delay: 5s;
}

@keyframes authGlow {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -40px) scale(1.1); }
  100% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Auth Card */
.auth-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 20px;
  padding: 45px 40px;
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(139, 92, 246, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  animation: cardSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-card.signup-card {
  max-width: 520px;
}

@keyframes cardSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Auth Header */
.auth-header {
  text-align: center;
  margin-bottom: 35px;
}

.auth-header h1 {
  font-size: 28px;
  font-weight: 700;
  background: linear-gradient(135deg, #ffffff 0%, #cbd5f5 50%, #8b5cf6 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.auth-header p {
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.5;
}

.auth-header .tagline {
  font-size: 13px;
  font-weight: 600;
  color: #38bdf8;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 6px;
  margin-bottom: 4px;
}

.auth-header .subtitle {
  font-size: 13px;
  color: #64748b;
}

/* Auth Form */
.auth-form .form-group {
  margin-bottom: 22px;
}

.auth-form .form-group label {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  color: #94a3b8;
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* Input Wrapper (icon + input + toggle) */
.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 14px;
  font-size: 16px;
  opacity: 0.5;
  z-index: 2;
  pointer-events: none;
}

.input-wrapper input {
  width: 100%;
  padding: 13px 16px 13px 42px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #f1f5f9;
  font-size: 14px;
  outline: none;
  transition: all 0.3s ease;
}

.input-wrapper input:focus {
  border-color: rgba(139, 92, 246, 0.5);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.15);
}

.input-wrapper input::placeholder {
  color: rgba(255, 255, 255, 0.2);
  font-size: 13px;
}

/* Toggle Password Button */
.toggle-password {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.2s ease;
  z-index: 2;
}

.toggle-password:hover {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
}

/* Validation Icon */
.validation-icon {
  position: absolute;
  right: 14px;
  font-size: 16px;
  z-index: 2;
}

/* Form Row (side-by-side fields) */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-row .form-group input {
  padding: 13px 16px;
}

/* Password Strength Indicator */
.password-strength {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.strength-bar {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
}

.strength-fill {
  height: 100%;
  width: 0;
  border-radius: 4px;
  transition: width 0.4s ease, background 0.4s ease;
  background: #ef4444;
}

.strength-text {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748b;
  min-width: 50px;
}

/* Password Requirements */
.password-requirements {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.requirement {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #475569;
  transition: color 0.3s ease;
}

.requirement.met {
  color: #10b981;
}

.req-icon {
  font-size: 10px;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.requirement.met .req-icon {
  opacity: 1;
  color: #10b981;
}

/* Agreement Text */
.agreement-text {
  margin: 20px 0 5px;
  text-align: center;
}

.agreement-text p {
  font-size: 12px;
  color: #64748b;
  line-height: 1.6;
}

.agreement-text .highlight {
  color: #38bdf8;
  font-weight: 600;
}

/* Auth Links */
.auth-links {
  text-align: center;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.auth-links p {
  font-size: 13px;
  color: #64748b;
}

.auth-links a {
  color: #8b5cf6;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.auth-links a:hover {
  color: #38bdf8;
  text-decoration: underline;
}

/* Auth Submit Button Override */
.auth-form .submit-btn {
  margin-top: 8px;
  font-size: 15px;
  padding: 14px;
  border-radius: 10px;
  letter-spacing: 1px;
}

/* ===========================
   AUTH PAGES - RESPONSIVE
=========================== */

@media (max-width: 600px) {
  .auth-card {
    padding: 30px 25px;
    border-radius: 16px;
  }

  .auth-card.signup-card {
    max-width: 100%;
  }

  .auth-header h1 {
    font-size: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .password-requirements {
    grid-template-columns: 1fr;
  }

  .auth-section::before,
  .auth-section::after {
    width: 250px;
    height: 250px;
  }
}


/* Fix for dropdown option text visibility in dark mode */
select option {
  background-color: #0f172a;
  color: #f8fafc;
}



/* Force browser to use dark native UI widgets */
:root {
  color-scheme: dark;
}
select option {
  background-color: #1e293b !important;
  color: #f8fafc !important;
}
