/* =====================================================
   DESIGN TOKENS
===================================================== */
:root {
  --primary: #0f3d3e;
  --secondary: #1c6e6a;
  --accent: #f0b429;
  --light: #f6f8f9;
  --dark: #1b1b1b;
  --muted: #6b7280;
  --border: #e5e7eb;
}

/* =====================================================
   RESET & BASE
===================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", sans-serif;
  background: #fff;
  color: var(--dark);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* =====================================================
   HEADER / NAV
===================================================== */
header {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
}

nav {
  max-width: 1150px;
  margin: auto;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font: 700 1.6rem "Playfair Display", serif;
  letter-spacing: 0.5px;
}

.nav-links a,
footer a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  cursor: pointer;
}

.nav-links a {
  margin-left: 22px;
}

.nav-links a:hover,
footer a:hover {
  opacity: 0.85;
}

.hamburger {
  display: none;
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 26px;
  cursor: pointer;
  z-index: 1001;
}

/* =====================================================
   HERO
===================================================== */
.hero {
  text-align: center;
  padding: 90px 20px;
}

.hero h1 {
  font: 700 3rem "Playfair Display", serif;
  margin-bottom: 15px;
}

.hero p {
  max-width: 720px;
  margin: 0 auto 28px;
  color: #e5e7eb;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #000;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}

/* =====================================================
   SECTIONS / LAYOUT
===================================================== */
.section {
  display: none;
  padding: 75px 20px;
}

.section.active {
  display: block;
}

.section.dark {
  background: #f9fafb;
}

.container {
  max-width: 1150px;
  margin: auto;
}

h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: var(--primary);
}

/* =====================================================
   DASHBOARD and SERVICE SLIDER
===================================================== */
.dashboard-wrapper, .service-wrapper {
  position: relative;
  margin-top: 28px;
  overflow: hidden;
}

.dashboard-scroll, .service-scroll{
  display: flex;
  gap: 24px;
  padding: 12px 8px 28px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  cursor: grab;
  scroll-snap-type: x mandatory;
}

.dashboard-scroll:active,
.service-scroll:active {
  cursor: grabbing;
}

.service-scroll::-webkit-scrollbar,
.dashboard-scroll::-webkit-scrollbar {
  display: none;
}

.dashboard-card-padding, .service-card-padding {
  min-width: 100px;
  max-width: 100px;
  background: var(--light);
  padding: 26px;
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
  transition: 0.25s ease;
  scroll-snap-align: start;
}


.dashboard-card, .service-card {
  min-width: 320px;
  max-width: 340px;
  background: var(--light);
  padding: 26px;
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
  transition: 0.25s ease;
  scroll-snap-align: start;
}

.service-card:hover,
.dashboard-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.14);
}


.service-card h3,
.dashboard-card h3 {
  color: var(--secondary);
  margin-bottom: 12px;
}

.service-card ul,
.dashboard-card ul {
  padding-left: 18px;
  font-size: 0.92rem;
  line-height: 1.55;
}

.service-card small,
.dashboard-card small {
  color: #555;
}


/* Scroll buttons */
.scroll-btn {
  position: absolute;
  top: 50%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--secondary);
  color: #fff;
  cursor: pointer;
  z-index: 10;
  transform: translateY(-50%);
  transition: 0.2s ease;
}

.scroll-btn:hover {
  background: var(--primary);
  transform: translateY(-50%) scale(1.1);
}

.scroll-btn.left {
  left: 10px;
}

.scroll-btn.right {
  right: 10px;
}

/* Edge fade */
.service-wrapper::before,
.service-wrapper::after,
.dashboard-wrapper::before,
.dashboard-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  width: 48px;
  height: 100%;
  pointer-events: none;
  z-index: 5;
}

.service-wrapper::before,
.dashboard-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #fafafa, transparent);
}

.service-wrapper::after,
.dashboard-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #fafafa, transparent);
}


/* =====================================================
   GRID / CARDS
===================================================== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}

.card {
  background: var(--light);
  padding: 26px;
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
}

/* =====================================================
   FORMS
===================================================== */
form {
  max-width: 650px;
  margin: 30px auto 0;
  display: grid;
  gap: 15px;
}

input,
textarea,
button {
  padding: 12px;
  border-radius: 6px;
  font-family: inherit;
}

input,
textarea {
  border: 1px solid #d1d5db;
}

button {
  border: none;
  background: var(--secondary);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

/* =====================================================
   FOOTER
===================================================== */
footer {
  background: #111;
  color: #d1d5db;
  text-align: center;
  padding: 32px 20px;
  font-size: 0.9rem;
}

/* =====================================================
   WHATSAPP CTA
===================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 500;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
  z-index: 999;
  transition: 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
}

.grecaptcha-badge {
  visibility: hidden;
}


/* =====================================================
   MOBILE
===================================================== */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    position: absolute;   /* 👈 KEY */
    top: 60px;
    right: 0;
    width: 100%;
    background: #0f3d3e;
    flex-direction: column;
    display: none;
    z-index: 1000;
    text-align: center;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 12px 0;
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }

  .hero {
    padding: 60px 20px;
  }

  .cta-btn {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  .section {
    padding: 50px 16px;
  }

  .scroll-btn {
    display: none;
  }

  .dashboard-card {
    min-width: 270px;
  }

  .whatsapp-float {
    padding: 14px;
  }

  .wa-text {
    display: none;
  }
}