:root {
  /* Dark green theme */
  --bg: #0b1f16;
  /* page background */
  --card: #0e261b;
  /* card surfaces */
  --muted: #9fb3a9;
  /* subdued text */
  --accent: #22c55e;
  /* primary accent (green) */
  --glass: rgba(255, 255, 255, 0.04);
  --max-width: 1300px;
  --radius: 14px;
  font-family: "Rubik", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

/* Smooth scrolling for in-page anchors */
html {
  scroll-behavior: smooth;
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: linear-gradient(180deg, #07180f 0%, #0b1f16 60%);
  background-color: #0b1f16;
  /* solid fallback */
  background-repeat: no-repeat;
  /* never tile */
  background-attachment: fixed;
  /* stay continuous while scrolling */
  color: #e6f2eb;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 28px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  position: relative;
}

/* Header (no sticky/blur) */
header {
  position: relative; /* normal flow */
  top: auto;
  z-index: auto;
  backdrop-filter: none;
}

/* Add subtle border when scrolled */
.header-scrolled {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.brand {
  display: flex;
  gap: 14px;
  align-items: center;
}

.logo {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: linear-gradient(135deg, #065f46, #16a34a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #04130d;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.55);
}

nav {
  display: flex;
  gap: 18px;
  align-items: center;
}

nav a {
  color: var(--muted);
  text-decoration: none;
}

/* Modern nav styling */
.site-nav a {
  padding: 8px 12px;
  border-radius: 10px;
  position: relative;
  transition: color 0.2s ease, background-color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.site-nav a:hover {
  background-color: rgba(255, 255, 255, 0.06);
  color: #e6f2eb;
}

.site-nav a.active {
  color: #e6f2eb;
}

.site-nav a.active::after {
  content: "";
  position: absolute;
  inset-inline: 10px;
  bottom: -6px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* Mobile menu button */
.menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  color: #e6f2eb;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}

.cta {
  background: var(--accent);
  color: white;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
}

.full-width {
  width: 100%;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 28px;
  align-items: center;
  padding: 36px 0;
}

.hero h1 {
  font-size: 32px;
  margin: 0 0 10px 0;
}

.hero p {
  color: var(--muted);
  margin: 0 0 18px 0;
}

/* Modern chips under hero text */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 8px 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 197, 94, 0.08);
  color: #b9fbc0;
  border: 1px solid rgba(34, 197, 94, 0.2);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
}

.badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.15);
}

.hero-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 12px 0 6px 0;
}

.btn-ghost {
  background: transparent;
  color: #cfe9db;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.04);
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.card-media {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  margin-bottom: 10px;
}

@media (max-width: 980px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .card-media {
    height: 180px;
  }
}

.card {
  background: var(--card);
  padding: 14px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}

.profile-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
  padding: 18px;
  border-radius: 12px;
}

.profile-card h3 {
  margin: 0 0 6px 0;
}

.profile-card p {
  margin: 0;
  color: var(--muted);
}

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.service {
  background: var(--glass);
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.service h4 {
  margin: 0 0 8px 0;
}

.service:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.about {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 36px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  flex-wrap: wrap;
}

.about img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

/* About media column */
.about-media {
  width: min(360px, 100%);
  flex-shrink: 0;
}

.testimonials {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.testimonial {
  background: rgba(255, 255, 255, 0.02);
  padding: 14px;
  border-radius: 12px;
}

@media (max-width: 620px) {
  .testimonials {
    grid-template-columns: repeat(1, 1fr);
  }
}
@media (max-width: 640px) {
  footer .footer-inner {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.gallery figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: var(--glass);
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery figure:hover img {
  transform: scale(1.04);
}

.gallery figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 8px 10px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
  color: #e6f2eb;
  font-size: 13px;
}

footer {
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding: 28px 0;
  margin-top: 36px;
  color: var(--muted);
}

/* Contact section modern layout */
.contact-section {
  margin-top: 40px;
  padding: 40px 0;
}

.contact-title {
  font-size: 2em;
  margin-bottom: 20px;
  text-align: right;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 20px;
  align-items: start;
}

.contact-card {
  background: var(--card);
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-card h4,
.contact-cta h4 {
  margin: 0 0 10px 0;
  color: #fff;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
}

.contact-list .icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 8px;
}

.contact-list .label {
  font-weight: 600;
  color: #e6f2eb;
}

.contact-list .value {
  color: var(--muted);
  font-size: 0.98em;
}

.contact-list a {
  color: #cfe9db;
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

.contact-list .sep {
  margin: 0 6px;
  color: rgba(255, 255, 255, 0.25);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.info-callout {
  margin-top: 16px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.info-callout ul {
  margin: 6px 0 8px 0;
  padding-inline-start: 18px;
}

.info-callout em {
  display: block;
  margin-top: 6px;
  font-weight: 700;
  font-size: 1.05em;
}

.contact-cta {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
  padding: 20px;
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
}

.contact-cta .micro {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

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

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

  .services {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

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

  .nav-hidden {
    display: none;
  }

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

  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  /* Overlay mobile nav when opened */
  .nav-hidden.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    right: 16px;
    left: 16px;
    top: 64px;
    background: var(--card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    z-index: 999;
  }

  .nav-hidden.open a {
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-hidden.open .nav-ico {
    width: 18px;
    height: 18px;
  }

  .nav-hidden.open a span {
    display: inline-block;
  }

  .container {
    padding: 18px;
  }

  /* Stack About section on small screens */
  .about {
    flex-direction: column;
    gap: 16px !important;
    padding: 24px 0 !important;
  }

  .about-media {
    width: 100% !important;
  }

  .about-media img {
    aspect-ratio: 4 / 3;
    height: auto;
  }
}

.form {
  background: var(--card);
  padding: 16px;
  border-radius: 12px;
}

label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}

input,
textarea,
select {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background-color: #000f02;
  /* ensure dark control surface */
  color: inherit;
  font-family: inherit;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: rgba(34, 197, 94, 0.5);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
}

/* Force dark dropdown UI */
select {
  color-scheme: dark;
  /* hint browsers to render dark popups */
}

/* Dropdown list options (Chromium/Firefox) */
select option {
  background-color: #0a0a0a;
  /* black options panel */
  color: #e6f2eb;
}

select option:hover,
select option:checked {
  background-color: #111;
  /* dark hover/selected */
  color: #e6f2eb;
}

button {
  background: var(--accent);
  border: none;
  padding: 10px 14px;
  border-radius: 10px;
  color: #042;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.form-note {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.25);
}

.small {
  font-size: 13px;
  color: var(--muted);
}

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

/* two-column inputs in contact form (inside hero) */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

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

  #site-nav a {
    width: 100%;
    text-align: center;
  }
}

/* Floating WhatsApp button */
.whatsapp-fab {
  position: fixed;
  inset-block-end: calc(16px + env(safe-area-inset-bottom));
  inset-inline-end: 16px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  /* WhatsApp green */
  color: #04130d;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  text-decoration: none;
  z-index: 1000;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  right: 16px;
}

.whatsapp-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.whatsapp-fab svg {
  width: 28px;
  height: 28px;
  fill: #ffffff;
}

@media (max-width: 620px) {
  .whatsapp-fab {
    width: 52px;
    height: 52px;
    inset-inline-end: 12px;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Fancyapps Carousel (gallery) */
#myCarousel {
  --f-arrow-pos: 10px;
  --f-arrow-bg: rgba(255, 255, 255, 0.75);
  --f-arrow-hover-bg: rgba(255, 255, 255, 1);
  --f-arrow-color: #333;
  --f-arrow-width: 40px;
  --f-arrow-height: 40px;
  --f-arrow-svg-width: 20px;
  --f-arrow-svg-height: 20px;
  --f-arrow-svg-stroke-width: 2px;
  --f-arrow-border-radius: 50%;

  height: 400px;
  border-radius: 12px;
  background: var(--glass);
  overflow: hidden;
}

#myCarousel .f-carousel__slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

#myCarousel img {
  max-width: 100%;
  max-height: 100%;
  height: auto;
  display: block;
}

select {
  -webkit-appearance: none; /* For Webkit browsers */
  -moz-appearance: none; /* For Firefox */
  appearance: none; /* Standard property */
  background-image: url('data:image/svg+xml;utf8,<svg fill="%23333" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 30px;
}
