/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== BASE ===== */
body {
  font-family: "Poppins", sans-serif;
  background: #ffffff;
  color: #0f172a;
  line-height: 1.7;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

a {
  text-decoration: none;
}

/* ===== HEADER ===== */
.header {
  background: #020617;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}

.logo {
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
}

.logo span {
  color: #38bdf8;
}

nav a {
  color: #ffffff;
  margin-left: 22px;
  font-weight: 500;
}

.btn-sm {
  background: #38bdf8;
  padding: 8px 18px;
  border-radius: 6px;
  color: #020617;
  font-weight: 600;
}

/* ===== STICKY GLASS HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(2, 6, 23, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Header shrink on scroll */
.header.scrolled {
  background: rgba(2, 6, 23, 0.9);
}


/* ===== BUTTONS ===== */
.btn {
  background: #38bdf8;
  color: #020617;
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 600;
  display: inline-block;
}

.btn-outline {
  border: 2px solid #38bdf8;
  color: #38bdf8;
  padding: 12px 30px;
  border-radius: 10px;
  font-weight: 600;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #020617, #0f172a);
  color: #ffffff;
  padding: 90px 0 120px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: center;
}

.badge {
  color: #38bdf8;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 44px;
  line-height: 1.25;
  margin-bottom: 22px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 36px;
  opacity: 0.9;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* HERO CARD */
.hero-card {
  background: #020617;
  border: 1px solid #1e293b;
  padding: 40px;
  border-radius: 18px;
}

.hero-card h3 {
  margin-bottom: 16px;
}

.hero-card ul {
  list-style: none;
}

.hero-card li {
  margin-bottom: 12px;
  font-size: 15px;
}

/* ===== STATS ===== */
.stats {
  background: #f8fafc;
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stats strong {
  font-size: 32px;
  display: block;
}

/* ===== SERVICES ===== */
.section {
  padding: 100px 0;
}

.center {
  text-align: center;
  margin-bottom: 50px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-box {
  padding: 36px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

/* ===== CTA ===== */
.cta {
  background: #020617;
  color: #ffffff;
  text-align: center;
  padding: 100px 0;
}

.cta h2 {
  font-size: 36px;
  margin-bottom: 16px;
}

.cta p {
  margin-bottom: 32px;
}

/* ===== FOOTER ===== */
.footer {
  background: #020617;
  color: #cbd5f5;
  text-align: center;
  padding: 30px 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .services-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 30px;
  }
}

/* ===== HERO ANIMATIONS ===== */
.hero-content > * {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards;
}

.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.25s; }
.hero-content > *:nth-child(3) { animation-delay: 0.4s; }
.hero-content > *:nth-child(4) { animation-delay: 0.55s; }

.hero-card {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s ease forwards;
  animation-delay: 0.7s;
}

/* KEYFRAME */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== FORM ===== */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.form-content h1 {
  font-size: 38px;
  margin-bottom: 16px;
}

.form-content p {
  margin-bottom: 24px;
  color: #475569;
}

.checklist {
  list-style: none;
}

.checklist li {
  margin-bottom: 10px;
  font-weight: 500;
}

.form-box {
  background: #ffffff;
  padding: 40px;
  border-radius: 18px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.08);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #cbd5f5;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #38bdf8;
}

.btn-full {
  width: 100%;
  margin-top: 10px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-content {
    text-align: center;
  }
}

/* ================= WHATSAPP FLOAT ================= */

.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 15px 30px rgba(0,0,0,0.25);
  z-index: 9999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}

.wa-icon {
  font-size: 20px;
}

.wa-text {
  font-size: 14px;
}

/* Mobile: icon only */
@media (max-width: 600px) {
  .wa-text {
    display: none;
  }

  .whatsapp-float {
    padding: 14px;
    border-radius: 50%;
  }
}

/* ================= MOBILE HEADER FIX ================= */
@media (max-width: 768px) {

  header {
    padding: 10px 16px;
  }

  .navbar {
    min-height: auto;
  }

  .logo {
    font-size: 20px;
  }

  .nav-links {
    display: none; /* hide desktop menu */
  }

}

/* ================= HERO BUTTONS MOBILE ================= */
@media (max-width: 768px) {

  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
  }

  .hero-buttons a {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

}

/* ================= WHATSAPP MOBILE FIX ================= */
@media (max-width: 600px) {

  .whatsapp-float {
    bottom: 18px;
    right: 18px;
    padding: 12px;
    border-radius: 50%;
  }

  .wa-text {
    display: none;
  }
}

/* ================= MOBILE MENU ================= */

.menu-toggle {
  display: none;
  font-size: 26px;
  color: #ffffff;
  cursor: pointer;
}

/* Desktop */
@media (min-width: 769px) {
  .nav-menu {
    display: flex;
    align-items: center;
  }
}

/* Mobile */
@media (max-width: 768px) {

  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #020617;
    display: none;
    flex-direction: column;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  .nav-menu a {
    padding: 14px 20px;
    margin: 0;
    color: #ffffff;
  }

  .nav-menu.active {
    display: flex;
  }
}
