/* ================================
   RESET
================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  min-height: 100%;
  scroll-behavior: smooth;
}

/* ================================
   MODERN ANIMATIONS & KEYFRAMES
================================ */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    transform: translateX(-40px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(40px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes scaleUp {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
/* ============================
   MOBILE + TABLET OVERFLOW FIX
   ============================ */

/* =====================
   TABLET & BELOW
===================== */
@media (max-width: 1024px) {

  /* Hard stop horizontal overflow */
  html, body {
    max-width: 100%;
    overflow-x: hidden !important;
  }

  /* Prevent grid + flex children from exceeding viewport */
  .hero-wrap,
  .hero-left,
  .hero-right,
  .mx-services,
  .mx-services-wrap,
  .mx-services-carousel {
    max-width: 100%;
    overflow-x: hidden;
  }

  /* Reduce massive desktop gaps */
  .hero-wrap {
    gap: 40px !important;
  }

  /* Reviews causing sideways scroll */
  .form-reviews {
    flex-wrap: wrap !important;
    max-width: 100%;
  }

  /* Prevent buttons & cards stretching viewport */
  button,
  .btn,
  .review-card,
  .figma-card,
  .feature-card {
    max-width: 100%;
  }

  /* Images & SVG safety */
  img,
  svg {
    max-width: 100%;
    height: auto;
  }
}

/* =====================
   MOBILE ONLY
===================== */
@media (max-width: 427px) {

  /* Stack carousel cards (NO overflow) */
  .mx-services-carousel {
    height: auto !important;
    padding-bottom: 40px;
  }

  .mx-service-card {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    opacity: 1 !important;
    width: 100% !important;
    max-width: 320px;
    margin: 0 auto 24px;
    pointer-events: auto;
  }

  /* Kill absolute carousel positions */
  .mx-pos-1,
  .mx-pos-2,
  .mx-pos-3,
  .mx-pos-4,
  .mx-pos-5 {
    transform: none !important;
    opacity: 1 !important;
  }
}

/* =====================
   VERY SMALL DEVICES
===================== */
@media (max-width: 480px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}
@media (max-width: 425px) {

  /* Space from right edge */
  .nav-toggle {
    margin-right: 40px;
  }
}
@media (max-width: 360px) {
  .nav-toggle {
    margin-right: 18px;
  }
}
/* ================================
   BUTTON BASE
================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s ease;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #00ff8a, #00b65f);
  color: #001a0d;
  box-shadow: 0 0 25px rgba(0, 255, 138, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(0, 255, 138, 0.7);
}

.btn-outline {
  border: 1px solid rgba(0,255,140,0.4);
  color: #9affc6;
  background: transparent;
}

.btn-outline:hover {
  background: rgba(0,255,140,0.12);
}


/* ================================
   GLOBAL BACKGROUND
================================ */
body {
  background: url("../assets/images/WhatsApp\ Image\ 2026-02-12\ at\ 11.36.50\ AM\ copy.webp") no-repeat center top;
  background-size: cover;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #eaffea;
  overflow-x: hidden;
}

/* ================================
   TYPOGRAPHY
================================ */
h1, h2, h3, h4, h5, h6 {
  color: #eaffea;
  font-weight: 700;
  line-height: 1.2;
}

p {
  color: white;
  line-height: 1.7;
  font-size: 15px;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ================================
   IMAGES
================================ */
img {
  max-width: 100%;
  display: block;
}

/* ================================
   CONTAINER
================================ */
.container {
  max-width: 1300px;
  margin: auto;
  padding: 0 20px;
}

/* ================================
   GLASS UI (for cards later)
================================ */
.glass {
  background: rgba(0, 40, 0, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(0, 255, 120, 0.12);
  box-shadow: 0 0 40px rgba(0, 255, 120, 0.08);
  border-radius: 14px;
}

/* ================================
   BUTTON BASE
================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #00ff8a, #00b65f);
  color: #001a0d;
  box-shadow: 0 0 25px rgba(0, 255, 138, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(0, 255, 138, 0.7);
}

.btn-outline {
  border: 1px solid rgba(0,255,140,0.4);
  color: #9affc6;
  background: transparent;
}

.btn-outline:hover {
  background: rgba(0,255,140,0.12);
}

/* ================================
   FORM BASE
================================ */
input, textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(0,255,140,0.25);
  background: rgba(0, 40, 0, 0.55);
  color: #eaffea;
  outline: none;
}

input::placeholder {
  color: rgba(200,255,200,0.4);
}

input:focus {
  border-color: #00ff8a;
  box-shadow: 0 0 15px rgba(0,255,140,.35);
}
/* ===============================
   MALACHITE NAVBAR
================================ */

.malachite-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

/* Logo */
.nav-logo img {
  height: 38px;
}

/* Menu */
.nav-menu {
  display: flex;
  gap: 40px;
}

.nav-menu a {
  color: rgba(230,255,230,0.8);
  font-size: 14px;
  font-weight: 500;
  position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #00ff8a;
}

/* underline glow */
.nav-menu a.active::after,
.nav-menu a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: #00ff8a;
  box-shadow: 0 0 10px #00ff8a;
}

/* CTA */
.nav-cta {
  display: flex;
  align-items: center;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: #9affc6;
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 900px) {
  .nav-menu {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: rgba(0, 30, 0, 0.95);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 22px;
    display: none;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }
}
/* ===== GLASS EFFECT ON SCROLL ===== */

.malachite-navbar{
}

/* When scrolled */
.malachite-navbar.scrolled{
  background: rgba(0, 35, 0, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

/* ===============================
   CONTACT HERO SECTION
================================ */

.contact-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  margin-top: -80px;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px;
  overflow: hidden;
}

/* Soft green glow */
.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Inner content */
.contact-hero-inner {
  position: relative;
  max-width: 900px;
  z-index: 1;
}

/* Title */
.contact-title {
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.contact-title span {
  color: #00ff8a;
  text-shadow: 0 0 20px rgba(0, 255, 138, 0.6);
}

/* Description */
.contact-desc {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 768px) {
  .contact-hero {
    min-height: 50vh;
    padding: 100px 16px;
  }

  .contact-desc {
    font-size: 16px;
  }
}

/* ===============================
   CONTACT INFO CARDS
================================ */

.contact-info-section {
  padding: 80px 20px 120px;
  margin-top: -180px;
  
}

.contact-info-grid {
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* Card */
.contact-info-card {
  position: relative;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.01)
  );
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;

  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Active / Hover Glow */
.contact-info-card.active,
.contact-info-card:hover {
}

/* Icon */
.contact-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 12px;
  background: rgba(0, 255, 138, 0.12);
  color: #00ff8a;
  font-size: 22px;
}

/* Title */
.contact-info-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 12px;
}

/* Highlight text */
.contact-info-card .highlight {
  color: #00ff8a;
  font-weight: 500;
  margin-bottom: 8px;
  word-break: break-word;
}

/* Sub text */
.contact-info-card span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 900px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
}

/* ===============================
   CONTACT FORM + MAP
================================ */

.contact-form-section {
  padding: 120px 20px;
  background: #000;
}

.contact-form-wrapper {
  max-width: 1300px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
}

/* HEADINGS */
.contact-form-section h2 {
  font-size: 32px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 10px;
}

.subtitle {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 40px;
  max-width: 480px;
}

/* FORM */
.contact-form {
  width: 100%;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full {
  margin-top: 24px;
}

.form-group label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
}

/* INPUTS */
.form-group input,
.form-group textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 14px 16px;
  color: #fff;
  font-size: 14px;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #00ff8a;
  box-shadow: 0 0 0 1px rgba(0, 255, 138, 0.25);
}

/* BUTTON */
.submit-btn {
  margin-top: 32px;
  width: 100%;
  padding: 16px;
  border-radius: 12px;
  border: none;
  cursor: pointer;

  background: linear-gradient(90deg, #00ff8a, #2bff9a);
  color: #000;
  font-size: 16px;
  font-weight: 600;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.submit-btn:hover {
}

/* MAP */
.contact-form-right {
  display: flex;
  flex-direction: column;
}

.map-box {
  width: 100%;
  height: 420px;
  border-radius: 18px;
  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
}

.map-box iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(100%) brightness(0.8) contrast(1.1);
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 900px) {
  .contact-form-wrapper {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================
   FOOTER
========================= */

.mx-footer {
  padding: 80px 20px 20px;
  color: #eaffea;
  background: #001A00;
}

.mx-footer-container {
  max-width: 1300px;
  margin: 0 auto;
}

/* Top grid */
.mx-footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 60px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(0,255,120,.35);
}

/* Brand */
.mx-footer-brand img {
  max-width: 200px;
  margin-bottom: 18px;
}

.mx-footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(230,255,230,.75);
}

/* Columns */
.mx-footer-col h4 {
  font-size: 18px;
  color: #00ff8a;
  margin-bottom: 18px;
  position: relative;
}

.mx-footer-col h4::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: #00ff8a;
  margin-top: 6px;
}

.mx-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mx-footer-col ul li {
  margin-bottom: 10px;
  font-size: 14px;
  color: rgba(230,255,230,.85);
}

.mx-footer-col ul li a {
  color: inherit;
  text-decoration: none;
}

.mx-footer-col ul li a:hover {
  color: #00ff8a;
}

/* Contact */
.mx-footer-contact li {
  line-height: 1.7;
}

/* Social */
.mx-footer-social {
  display: flex;
  justify-content: space-between;
  padding: 30px 0;
  font-size: 16px;
}

.mx-footer-social a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
}

.mx-footer-social a:hover {
  color: #00ff8a;
}

/* Bottom */
.mx-footer-bottom {
  text-align: center;
  font-size: 13px;
  color: rgba(230,255,230,.6);
  padding-top: 10px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px) {
  .mx-footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 640px) {
  .mx-footer-top {
    grid-template-columns: 1fr;
  }

  .mx-footer-social {
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
  }
}
