:root {
  --navy: #0a2540;
  --navy-dark: #061a2e;
  --teal: #14b8a6;
  --teal-dark: #0f9488;
  --gold: #f2b705;
  --ink: #1e293b;
  --muted: #64748b;
  --bg-soft: #f6f9fb;
  --border-soft: #e2e8f0;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-sm: 0 1px 3px rgba(10, 37, 64, 0.08);
  --shadow-md: 0 12px 30px -10px rgba(10, 37, 64, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, .display-heading {
  font-family: "Poppins", "Inter", sans-serif;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
}

/* ---------- Navbar ---------- */
.site-navbar {
  background: var(--navy);
  padding: 0.85rem 0;
  box-shadow: var(--shadow-sm);
}

.site-navbar .navbar-brand {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-navbar .navbar-brand .brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--teal), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-dark);
  font-weight: 800;
  font-size: 0.95rem;
}

.site-navbar .nav-link {
  color: rgba(255, 255, 255, 0.82) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0.9rem !important;
}

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

.site-navbar .dropdown-menu {
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 0.5rem;
  margin-top: 0.5rem;
}

.site-navbar .dropdown-item {
  border-radius: 8px;
  padding: 0.55rem 0.9rem;
  font-size: 0.92rem;
  color: var(--ink);
}

.site-navbar .dropdown-item:hover,
.site-navbar .dropdown-item:focus {
  background: var(--bg-soft);
  color: var(--navy);
}

.site-navbar .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.35);
}

.lang-pill {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 0.4rem 0.9rem !important;
}

.flag-icon {
  font-size: 1.1rem;
  line-height: 1;
}

.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--teal);
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.55rem 1.2rem;
  border-radius: 8px;
  margin-top: 0.85rem;
  width: 100%;
}

.btn-nav-cta:hover {
  background: var(--teal-dark);
  color: #fff;
}

@media (min-width: 992px) {
  .btn-nav-cta {
    margin-top: 0;
    width: auto;
  }
}

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(circle at top right, #113a63 0%, var(--navy) 45%, var(--navy-dark) 100%);
  color: #fff;
  padding: 5.5rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.35), transparent 70%);
}

.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 1rem;
}

.hero h1 {
  color: #fff;
  font-size: 2.75rem;
  line-height: 1.15;
  max-width: 640px;
}

.hero p.lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
  max-width: 560px;
  margin-top: 1rem;
}

.hero .hero-actions {
  margin-top: 2rem;
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.hero-illustration {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.25));
}

.hero-photo-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-photo {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.hero-photo-badge {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  background: rgba(10, 37, 64, 0.72);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  font-weight: 500;
  font-size: 0.92rem;
}

.hero-photo-badge i {
  color: var(--teal);
  font-size: 1.2rem;
}

.hero-wave {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 60px;
  display: block;
}

.hero-wave path {
  fill: var(--bg-soft);
}

/* ---------- Buttons ---------- */
.btn-brand {
  background: var(--teal);
  border: none;
  color: #fff;
  font-weight: 600;
  padding: 0.7rem 1.6rem;
  border-radius: 10px;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn-brand:hover {
  background: var(--teal-dark);
  color: #fff;
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-weight: 600;
  padding: 0.7rem 1.6rem;
  border-radius: 10px;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.btn-outline-brand {
  border: 1.5px solid var(--teal);
  color: var(--teal-dark);
  font-weight: 600;
  padding: 0.55rem 1.3rem;
  border-radius: 10px;
  background: transparent;
}

.btn-outline-brand:hover {
  background: var(--teal);
  color: #fff;
}

/* ---------- Feature / product cards ---------- */
.section-pad {
  padding: 4.5rem 0;
}

.section-title {
  font-size: 1.9rem;
  margin-bottom: 0.6rem;
}

.section-subtitle {
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 2.5rem;
}

.product-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  height: 100%;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.product-card .icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.14), rgba(10, 37, 64, 0.08));
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.1rem;
}

.product-card h5 {
  margin-bottom: 0.6rem;
}

.product-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.3rem;
}

.product-card .card-link {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.92rem;
}

.product-card .card-link i {
  transition: transform 0.15s ease;
  display: inline-block;
}

.product-card:hover .card-link i {
  transform: translateX(4px);
}

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--bg-soft);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.trust-strip .trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  color: var(--navy);
  font-size: 0.95rem;
}

.trust-strip .trust-item i {
  color: var(--teal-dark);
  font-size: 1.3rem;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  padding: 3.5rem 0;
}

.page-hero .breadcrumb-link {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  font-weight: 500;
}

.page-hero .breadcrumb-link:hover {
  color: #fff;
}

.page-hero h1 {
  color: #fff;
  margin-top: 0.6rem;
  font-size: 2.1rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 600px;
  margin-top: 0.6rem;
  margin-bottom: 0;
}

.page-body {
  padding: 3.5rem 0 4.5rem;
}

.content-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  color: var(--ink);
}

.feature-list li i {
  color: var(--teal-dark);
  font-size: 1.1rem;
  margin-top: 0.15rem;
}

.cta-banner {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.star-display {
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 1px;
}

.star-display .bi-star {
  color: #d9dee6;
}

.star-display-lg {
  font-size: 1.5rem;
  letter-spacing: 3px;
}

.testimonial-feature-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  height: 100%;
  position: relative;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.testimonial-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonial-feature-card .quote-icon {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-size: 2.2rem;
  color: rgba(20, 184, 166, 0.15);
}

.testimonial-message {
  color: var(--ink);
  font-size: 0.97rem;
  line-height: 1.6;
  min-height: 3.2em;
}

.testimonial-empty {
  background: var(--bg-soft);
  border: 1px dashed var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 3rem 1.5rem;
}

.testimonial-carousel {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 2.75rem;
}

.testimonial-carousel-card {
  max-width: 680px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testimonial-carousel .carousel-control-prev,
.testimonial-carousel .carousel-control-next {
  width: 3rem;
  opacity: 1;
}

.testimonial-carousel-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border-soft);
  color: var(--navy);
  font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
  transition: background 0.18s ease, color 0.18s ease;
}

.testimonial-carousel .carousel-control-prev:hover .testimonial-carousel-arrow,
.testimonial-carousel .carousel-control-next:hover .testimonial-carousel-arrow {
  background: var(--teal);
  color: #fff;
}

.testimonial-carousel .carousel-indicators {
  bottom: -0.5rem;
}

.testimonial-carousel .carousel-indicators [data-bs-target] {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--border-soft);
  border: none;
  opacity: 1;
  margin: 0 5px;
}

.testimonial-carousel .carousel-indicators .active {
  background-color: var(--gold);
}

.lang-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 0.15rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.2px;
  cursor: help;
}

.lang-badge-flag {
  font-size: 0.9rem;
  line-height: 1;
}

.star-rating {
  display: inline-flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 0.2rem;
}

.star-rating input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.star-rating label {
  font-size: 1.9rem;
  color: #d9dee6;
  cursor: pointer;
  transition: color 0.15s ease;
}

.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
  color: var(--gold);
}

.star-rating.is-invalid label {
  color: #dc3545;
}

.legal-content h5 {
  font-size: 1.1rem;
}

.legal-list {
  padding-left: 1.2rem;
  color: var(--ink);
}

.legal-list > li {
  margin-bottom: 0.5rem;
}

.legal-sublist {
  list-style: circle;
  padding-left: 1.3rem;
  margin-top: 0.4rem;
}

.legal-todo {
  display: inline-block;
  color: #b45309;
  background: rgba(242, 183, 5, 0.18);
  padding: 0.05rem 0.45rem;
  border-radius: 5px;
  font-weight: 600;
}

.disclosure-box {
  background: var(--bg-soft);
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.25rem 1.5rem;
  font-size: 0.92rem;
  color: var(--muted);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 3.5rem;
}

.footer-cta {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-cta h5 {
  color: #fff;
}

.footer-cta p {
  color: rgba(255, 255, 255, 0.65);
}

.site-footer h5 {
  color: #fff;
  font-size: 1.05rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.15s ease;
}

.site-footer a:hover {
  color: var(--teal);
}

.site-footer .footer-disclaimer {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
}

.site-footer .disclosure-box {
  background: rgba(255, 255, 255, 0.06);
  border-left-color: var(--teal);
  color: rgba(255, 255, 255, 0.55);
}

.site-footer .footer-links li {
  margin-bottom: 0.6rem;
}

.footer-contact li {
  display: flex;
  align-items: center;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.5rem;
}

.footer-contact i {
  color: var(--teal);
}

.footer-contact a {
  color: inherit;
}

.site-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2.5rem;
  padding: 1.25rem 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 767.98px) {
  .hero {
    padding: 3.5rem 0 4rem;
    text-align: center;
  }
  .hero h1, .hero p.lead {
    max-width: 100%;
  }
  .hero-actions {
    justify-content: center;
  }
  .cta-banner {
    justify-content: center;
    text-align: center;
  }
}
