* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, #007991, #78ffd6);
  color: #333;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  animation: fadeInBody 1s ease-in-out;
}

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

html,
body {
  height: 100%;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

body {
  font-family: Arial, sans-serif;
}

/* ================= NAVBAR ================= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 1000;
  color: #fff;
}

/* LOGO */
.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  border: 2px solid #fff;
}

.vspaze-heading {
  font-size: 26px;
  font-weight: 800;
}

.nice {
  color: #fff;
}

.eng {
  color: #00bfa6;
}

/* ================= DESKTOP NAV ================= */
.desktop-nav ul {
  display: flex;
  list-style: none;
  gap: 10px;
}

.desktop-nav li a {
  padding: 6px 12px;
  font-weight: 500;
  color: #fff;
  border-radius: 999px;
  transition: all 0.3s ease;
}

.desktop-nav li a:hover {
  background: rgba(90, 220, 200, 0.25);
  box-shadow:
    0 0 8px rgba(90, 220, 200, 0.6),
    0 0 16px rgba(90, 220, 200, 0.4);
}

/* ================= HAMBURGER ================= */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle span {
  width: 26px;
  height: 3px;
  background: #fff;
  border-radius: 3px;
}

/* ================= MOBILE MENU ================= */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 360px;
  height: 100vh;
  background: rgba(8, 5, 5, 0.25);
  backdrop-filter: blur(6px);
  transition: right 0.35s ease;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu.show {
  right: 0;
}

.mobile-header {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
}

.mobile-header h3 {
  color: #ffffff;
  font-size: 22px;
  margin: 0;
}

.mobile-header .close-btn {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #ffffff;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s;
}

.mobile-header .close-btn:hover {
  background: rgba(0, 0, 0, 0.1);
}

.mobile-menu-content {
  flex: 1;
  overflow-y: auto;
  padding: 20px 0;
}

.mobile-menu-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu-content li {
  border-bottom: 1px solid #f1f1f1;
}

.mobile-menu-content li:last-child {
  border-bottom: none;
}

.mobile-menu-content li a {
  display: block;
  padding: 16px 24px;
  color: #ffffffff;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.mobile-menu-content li a:hover {
  color: #00bfa6;
  background: rgba(0, 191, 166, 0.1);
  padding-left: 28px;
}

/* ================= OVERLAY ================= */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  z-index: 1050;
}

.overlay.show {
  display: block;
}

/* ================= MAIN CONTENT ================= */
main {
  padding: 40px;
  min-height: calc(100vh - 100px);
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

main h1 {
  color: #333;
  margin-bottom: 20px;
}

main p {
  color: #555;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 10px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .navbar {
    padding: 12px 20px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .vspaze-heading {
    font-size: 22px;
  }

  main {
    padding: 20px;
  }

  main h1 {
    font-size: 24px;
  }

  main p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .mobile-menu {
    max-width: 100%;
  }

  .navbar {
    padding: 10px 15px;
  }

  .logo img {
    width: 45px;
    height: 45px;
  }
}

/* HERO */
.hero {
  text-align: center;
  padding: 70px 20px;
}

.hero h1 {
  font-size: 40px;
  color: #ffffffff;
}

.hero p {
  max-width: 600px;
  margin: 15px auto;
  color: #fff;
}

/* ================= INFO SECTION ================= */
.info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin: 10px auto;
  max-width: 1200px;
  padding: 0 20px;
  margin-top: 0;
}

.info-box {
  background: #ffffff;
  border-radius: 18px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.info-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.15);
}

/* Icon Style */
.info-box i {
  font-size: 2.2rem;
  color: #00bfa6;
  margin-bottom: 15px;
  display: inline-block;
  transition: all 0.3s ease;
}

/* Icon Hover Effects */
.info-box:hover i {
  color: #007991;
  transform: scale(1.2) rotate(5deg);
  animation: pulse 1s infinite;
}

/* Headings */
.info-box h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #222;
}

/* Text */
.info-box p {
  font-size: 0.95rem;
  color: #555;
}

/* Links */
.info-box a {
  color: #00bfa6;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.info-box a:hover {
  color: #007991;
  text-decoration: underline;
}

/* Pulse Animation */
@keyframes pulse {
  0% {
    transform: scale(1.1);
  }
  50% {
    transform: scale(1.25);
  }
  100% {
    transform: scale(1.1);
  }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 480px) {
  .info-box {
    padding: 22px 15px;
  }

  .info-box i {
    font-size: 1.8rem;
  }

  .info-box h4 {
    font-size: 1rem;
  }
}

/* ================= CONTACT SECTION ================= */
.contact {
  display: flex;
  gap: 60px; /* more breathing space */
  align-items: center;
  justify-content: center; /* prevents overlap */
  padding: 80px 20px;
  max-width: 1200px;
  margin: auto;
}

.form-box {
  flex: 1;
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);

  width: 700px;
}

.form-box h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #007991;
}

.form-box p {
  color: #666;
  margin-bottom: 25px;
}

/* INPUT ROW */
.row {
  display: flex;
  gap: 20px;
  margin-bottom: 18px;
}

/* INPUT WITH ICON */
.input-box {
  position: relative;
  width: 100%;
}
/* Fix textarea icon position */
.textarea-box i {
  top: 18px; /* move icon to top */
  transform: none; /* remove vertical centering */
  align-self: flex-start;
}

.input-box i {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  color: #00bfa6;
  font-size: 1rem;
}

.input-box input,
.input-box textarea {
  width: 100%;
  padding: 14px 14px 14px 42px;
  border-radius: 10px;
  border: 2px solid #e0e0e0;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.input-box textarea {
  resize: vertical;
  min-height: 120px;
}

.input-box input:focus,
.input-box textarea:focus {
  outline: none;
  border-color: #00bfa6;
  box-shadow: 0 0 0 3px rgba(0, 191, 166, 0.2);
}

/* BUTTON */
.btn-primary {
  width: 100%;
  margin-top: 15px;
  padding: 15px;
  border: none;
  border-radius: 50px;
  background: linear-gradient(90deg, #007991, #00bfa6);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 191, 166, 0.4);
}

/* SUCCESS MESSAGE */
.contact-success {
  display: none;
  margin-top: 18px;
  padding: 12px;
  background: #eafaf1;
  color: #2ecc71;
  text-align: center;
  border-radius: 10px;
  font-weight: 600;
  animation: fadeUp 0.4s ease;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #007991;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(0, 121, 145, 0.3);
  transition: all 0.3s;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: #00bfa6;
  transform: translateY(-5px);
}
/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .contact {
    flex-direction: column;
  }

  .row {
    flex-direction: column;
  }
}

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

  .form-box h3 {
    font-size: 1.5rem;
  }
}

/* ANIMATION */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cta {
  text-align: center;
  padding: 50px 20px;

  color: #000;
}

.cta .badge {
  background: #007991;
  color: #fff;
  padding: 15px 45px;
  border-radius: 20px;
  font-size: 13px;
  display: inline-block;
  margin-bottom: 20px;
}

.badge i {
  margin-right: 8px;
}

.cta h2 {
  font-size: 26px;
  margin-bottom: 10px;
}

.cta h2 span {
  color: #ffffff;
}

.cta p {
  margin-top: 10px;
  color: #000;
  font-size: 15px;
  line-height: 1.5;
  margin-left: auto;
  margin-right: auto;
  max-width: 600px;
  margin-bottom: 30px;
}

/* ================= PHONE / WHATSAPP BUTTON ================= */
.phone-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 14px 22px;
  border-radius: 50px;

  background: linear-gradient(90deg, #007991, #00bfa6);
  color: #ffffff;
  width: 180px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.5px;

  box-shadow: 0 8px 20px rgba(0, 191, 166, 0.35);
  transition: all 0.3s ease;
}

/* Hover */
.phone-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(0, 191, 166, 0.5);
  background: linear-gradient(135deg, #15206e, #20b9b7);
}

/* Mobile */
@media (max-width: 768px) {
  .phone-btn {
    width: 150px;
    font-size: 0.95rem;
    padding: 14px;
  }
}

/* FOOTER */
.app-footer {
  text-align: center;
  background: linear-gradient(135deg, #41adaf, #78ffd6);
  padding: 30px 15px;
  color: #ffffff;
  font-size: 0.95rem;
  border-top: 1px solid #15206e;
  width: 100%;
}

.app-footer a {
  color: #000;
  text-decoration: none;
  font-weight: 600;
}

.app-footer a:hover {
  text-decoration: underline;
}

/* Mobile fix */
@media (max-width: 768px) {
  .app-footer {
    margin-top: 0;
    font-size: 0.85rem;
  }
}

/* =====================================================
   GLOBAL RESPONSIVE IMPROVEMENTS – ALL SECTIONS
===================================================== */

/* ---------- SMALL MOBILES (≤360px) ---------- */
@media (max-width: 360px) {
  .vspaze-heading {
    font-size: 18px;
  }

  .hero h1 {
    font-size: 26px;
  }

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

  .info-box {
    padding: 18px 14px;
  }

  .form-box {
    width: 100%;
    padding: 20px;
  }

  .btn-primary,
  .phone-btn {
    font-size: 0.9rem;
  }
}

/* ---------- MOBILES (≤480px) ---------- */
@media (max-width: 480px) {
  /* Navbar */
  .navbar {
    padding: 10px 15px;
  }

  .logo img {
    width: 42px;
    height: 42px;
  }

  /* Hero */
  .hero {
    padding: 50px 15px;
  }

  .hero h1 {
    font-size: 30px;
  }

  /* Info Section */
  .info {
    gap: 18px;
  }

  /* Contact */
  .contact {
    padding: 50px 15px;
  }

  .form-box {
    width: 100%;
  }

  .row {
    flex-direction: column;
  }

  .image-box {
    max-width: 100%;
  }

  /* CTA */
  .cta h2 {
    font-size: 22px;
  }

  .cta p {
    font-size: 14px;
  }

  /* Footer */
  .app-footer {
    font-size: 0.85rem;
  }
}

/* ---------- TABLETS (≤768px) ---------- */
@media (max-width: 768px) {
  /* Navbar */
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  /* Hero */
  .hero h1 {
    font-size: 34px;
  }

  /* Info Grid */
  .info {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  /* Contact */
  .contact {
    flex-direction: column;
    gap: 40px;
  }

  .form-box {
    max-width: 100%;
  }

  /* CTA */
  .cta h2 {
    font-size: 24px;
  }
}

/* ---------- SMALL LAPTOPS (≤1024px) ---------- */
@media (max-width: 1024px) {
  main {
    padding: 30px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .form-box {
    width: 100%;
    max-width: 600px;
  }

  .image-box {
    max-width: 450px;
  }
}

/* ---------- LARGE SCREENS (≥1200px) ---------- */
@media (min-width: 1200px) {
  .hero h1 {
    font-size: 42px;
  }

  .form-box {
    max-width: 700px;
  }

  .info {
    max-width: 1200px;
  }

  .contact {
    max-width: 1200px;
  }
}
/* ================= MOBILE ORDER FIX ================= */
@media (max-width: 768px) {
  .contact {
    flex-direction: column;
  }

  .image-box {
    order: 1; /* IMAGE FIRST */
  }

  .form-box {
    order: 2; /* FORM SECOND */
    width: 100%;
  }
}
/* ================= INFO GRID MOBILE FIX ================= */
@media (max-width: 768px) {
  .info {
    grid-template-columns: 1fr; /* ✅ ONE COLUMN */
    gap: 20px;
  }

  .info-box {
    width: 100%;
  }
  .app-footer {
    font-size: 14px;
  }
}
