/* ── Base ────────────────────────────────────────────── */
:root {
  --theme: #1bc0a7;
  --theme-dark: #16a58e;
  --theme-rgb: 27, 192, 167;
  --dark: #242a30;
  --dark-lighter: #2d353c;
  --body-text: #585c62;
  --heading: #242a30;
  --border: #e2e7eb;
  --bg-light: #f5f6f7;
  --font: 'Open Sans', sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 68px; overflow-x: hidden; }

body {
  font-family: var(--font);
  color: var(--body-text);
  line-height: 1.7;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

/* ── Navbar ──────────────────────────────────────────── */
.navbar {
  padding: 12px 0;
  background: transparent !important;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.navbar--scrolled {
  background: var(--dark) !important;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
}

.navbar-brand {
  font-size: 1.25rem;
  font-weight: 400;
  color: #fff !important;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
  overflow: hidden;
}

.navbar-logo {
  height: 34px;
  width: auto;
  flex-shrink: 1;
  min-width: 0;
}

.brand-highlight {
  color: var(--theme);
}


.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 8px 16px !important;
  transition: color 0.2s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #fff !important;
}

/* ── Parallax Sections ───────────────────────────────── */
.parallax {
  position: relative;
  background-attachment: scroll;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.parallax-overlay {
  position: absolute;
  inset: 0;
  background: rgba(36, 42, 48, 0.75);
  z-index: 1;
}

/* ── Hero ────────────────────────────────────────────── */
.section-hero {
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 0 60px;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  height: 140px;
  margin-bottom: 24px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}

.hero-slide--active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.hero-slide--exit {
  opacity: 0;
  transform: scale(1.03);
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 400;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.8;
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s;
}

.hero-dot--active {
  background: var(--theme);
  border-color: var(--theme);
  box-shadow: 0 0 8px rgba(var(--theme-rgb), 0.5);
}

/* ── Content Sections ────────────────────────────────── */
.section-content {
  padding: 80px 0;
}

.section-content--alt {
  background: var(--bg-light);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--heading);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--theme);
  margin: 12px auto 0;
}

.section-desc {
  color: var(--body-text);
  font-size: 15px;
  margin-top: 8px;
}

/* ── About ───────────────────────────────────────────── */
.lead-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--heading);
  margin-bottom: 16px;
}

.about-img-wrap {
  position: relative;
  padding-right: 12px;
  padding-bottom: 12px;
}

.about-img-wrap::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 12px;
  right: 0;
  bottom: 0;
  border: 3px solid var(--theme);
  border-radius: 12px;
  z-index: -1;
  opacity: 0.3;
}

.about-img-wrap img {
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* ── Parallax Divider ────────────────────────────────── */
.parallax-divider {
  padding: 80px 0;
}

.divider-title {
  font-size: 1.75rem;
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

/* ── Services ────────────────────────────────────────── */
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px 28px;
  height: 100%;
  text-align: center;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--theme);
  transform: scaleX(0);
  transition: transform 0.35s ease;
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
  border-color: transparent;
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: inline-block;
  transition: transform 0.35s ease;
}

.service-icon .bi {
  font-size: 2.5rem;
  color: var(--heading);
}

.service-card:hover .service-icon {
  transform: scale(1.15);
}

.service-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: color 0.3s;
}

.service-card:hover .service-title {
  color: var(--theme);
}

.service-text {
  color: var(--body-text);
  font-size: 13px;
  line-height: 1.75;
  margin: 0;
}

/* ── Contact ─────────────────────────────────────────── */
.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 36px 32px;
}

.contact-form .form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--heading);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.contact-form .form-control {
  border-color: var(--border);
  font-size: 14px;
  padding: 10px 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form .form-control:focus {
  border-color: var(--theme);
  box-shadow: 0 0 0 3px rgba(var(--theme-rgb), 0.15);
}

.btn-contact {
  background: var(--theme);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 12px 40px;
  border: none;
  border-radius: 4px;
  transition: background 0.3s, transform 0.2s;
}

.btn-contact:hover {
  background: var(--theme-dark);
  color: #fff;
  transform: translateY(-2px);
}

.btn-contact:disabled {
  opacity: 0.6;
  transform: none;
}

.contact-success {
  color: var(--theme);
  font-weight: 600;
  font-size: 14px;
}

/* ── Footer ──────────────────────────────────────────── */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.5);
  padding: 32px 0;
  font-size: 13px;
}

.footer-brand {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  display: block;
  margin-bottom: 4px;
}

.footer-copy { margin: 0; font-size: 12px; }

.footer-link {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  margin-left: 20px;
  font-size: 13px;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--theme);
}

/* ── Animations ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal--up { transform: translateY(30px); }
.reveal--left { transform: translateX(-30px); }
.reveal--right { transform: translateX(30px); }
.reveal--scale { transform: scale(0.92); }

.reveal.is-visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger > .reveal:nth-child(6) { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── Policy Pages ───────────────────────────────────── */
.policy-heading {
  font-size: 2rem;
  font-weight: 800;
  color: var(--heading);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.policy-heading::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--theme);
  margin: 12px 0 0;
}

.policy-effective {
  font-size: 13px;
  color: var(--body-text);
  margin-bottom: 32px;
}

.policy-heading ~ h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--heading);
  margin-top: 28px;
  margin-bottom: 8px;
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 991px) {
  .navbar-toggler {
    padding: 4px 8px;
    font-size: 0.85rem;
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(0, 0, 0, 0.3);
  }

  .navbar-toggler-icon {
    filter: brightness(2);
  }

  .navbar-collapse {
    background: var(--dark);
    padding: 16px;
    margin-top: 8px;
    border-radius: 8px;
  }

  .hero-title { font-size: 2rem; }
  .hero-slider { height: 220px; }
}

@media (max-width: 767px) {
  .navbar-brand {
    font-size: 1rem;
    gap: 6px;
  }

  .navbar-logo {
    height: 26px;
  }

  .section-content { padding: 60px 0; }
  .parallax-divider { padding: 60px 0; }
  .divider-title { font-size: 1.3rem; }
  .hero-title { font-size: 1.25rem; }
  .hero-subtitle { font-size: 0.9rem; }
  .hero-slider { height: 180px; }

  .footer-link { margin-left: 0; margin-right: 16px; }

  .contact-card__img {
    max-width: 320px;
  }

  .parallax {
    background-attachment: scroll;
  }
}
