@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --brand-primary: #0d9488;
  --brand-primary-dark: #0f766e;
  --brand-primary-light: #14b8a6;
  --brand-soft: #f0fdfa;
  --brand-accent: #f59e0b;
  --ink: #0f172a;
  --ink-soft: #1f2937;
  --text-dark: #1f2937;
  --text-muted: #64748b;
  --border-soft: #e5e7eb;
  --surface: #f8fafc;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 45px rgba(15, 23, 42, 0.14);
}

* { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--text-dark);
  background: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--ink);
  letter-spacing: -0.01em;
}

a { text-decoration: none; }

/* ---------- Top info bar ---------- */
.top-info-bar {
  background: var(--ink);
  color: #cbd5e1;
  font-size: 0.83rem;
  padding: 7px 0;
}

.top-info-bar a {
  color: #e2e8f0;
  font-weight: 600;
}

.top-info-bar a:hover { color: #fff; }

/* ---------- Navbar ---------- */
.main-navbar {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
  padding-top: 14px;
  padding-bottom: 14px;
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--ink) !important;
}

.main-navbar .nav-link {
  font-weight: 600;
  color: var(--ink-soft);
  padding: 8px 16px !important;
  border-radius: 999px;
  transition: background .15s ease, color .15s ease;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
  color: var(--brand-primary-dark);
  background: var(--brand-soft);
}

/* ---------- Buttons ---------- */
.btn { font-weight: 600; border-radius: 999px; }

.btn-brand {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(13, 148, 136, 0.28);
}

.btn-brand:hover {
  background: var(--brand-primary-dark);
  border-color: var(--brand-primary-dark);
  color: #fff;
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: #fff;
}

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

.btn-outline-secondary { border-radius: 999px; }

/* ---------- Hero ---------- */
.hero-wrap {
  position: relative;
  background: var(--ink);
}

.hero-carousel,
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
  height: 100%;
}

.hero-slide {
  min-height: 560px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-slide-fallback {
  background: radial-gradient(circle at 15% 20%, #115e59 0%, transparent 45%), linear-gradient(120deg, #0f172a 0%, #0d9488 130%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(6, 12, 24, 0.92) 8%, rgba(6, 12, 24, 0.72) 45%, rgba(6, 12, 24, 0.35) 100%);
}

.hero-slide .container {
  position: relative;
  z-index: 2;
}

.hero-content { max-width: 620px; padding: 60px 0 100px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero-badge i { color: var(--brand-accent); }

.hero-content h1 {
  color: #fff;
  font-weight: 800;
  font-size: 2.75rem;
  line-height: 1.15;
  margin-bottom: 18px;
}

.hero-subtitle {
  color: #e2e8f0;
  font-size: 1.1rem;
  line-height: 1.65;
  margin-bottom: 30px;
  max-width: 540px;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-cta .btn { padding: 12px 26px; }

/* Carousel controls/indicators restyle */
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
  width: 64px;
  opacity: 1;
}

.hero-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-size: 1.1rem;
  transition: background .15s ease;
}

.hero-carousel .carousel-control-prev:hover .hero-arrow,
.hero-carousel .carousel-control-next:hover .hero-arrow {
  background: rgba(255, 255, 255, 0.28);
}

.hero-indicators { bottom: 130px; }

.hero-indicators [data-bs-target] {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  opacity: 1;
}

.hero-indicators .active { background: var(--brand-accent); width: 26px; border-radius: 999px; }

/* Floating trust/stats bar */
.hero-stats {
  position: relative;
  z-index: 3;
  margin-top: -56px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 26px 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.hero-stat {
  flex: 1 1 220px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-stat i {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.hero-stat strong { display: block; color: var(--ink); font-size: 0.98rem; }
.hero-stat span { display: block; color: var(--text-muted); font-size: 0.85rem; }

/* ---------- Section layout ---------- */
.section-eyebrow {
  display: inline-block;
  color: var(--brand-primary-dark);
  background: var(--brand-soft);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.section-title {
  font-weight: 800;
  font-size: 2rem;
  margin-bottom: 10px;
}

.section-subtitle {
  color: var(--text-muted);
  margin-bottom: 44px;
  font-size: 1.02rem;
}

.section-subtitle.mb-0 { margin-bottom: 0; }

/* ---------- Service cards ---------- */
.service-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 100%;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}

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

.service-card-img {
  position: relative;
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  background: var(--brand-soft);
  transition: transform .35s ease;
}

.service-card:hover .service-card-img img { transform: scale(1.06); }

.service-price-chip {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(4px);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 999px;
}

.service-card-body { padding: 20px; }

.service-card-body h5 { font-weight: 700; margin-bottom: 8px; }

.service-price {
  color: var(--brand-primary-dark);
  font-weight: 700;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-primary-dark);
  font-weight: 700;
  font-size: 0.9rem;
}

.service-card-link i { transition: transform .15s ease; }
.service-card-link:hover i { transform: translateX(3px); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--brand-primary-dark), var(--brand-primary) 65%, var(--brand-primary-light));
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-banner::after {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.cta-banner .section-title,
.cta-banner .section-subtitle { color: #fff; }
.cta-banner .section-subtitle { color: rgba(255, 255, 255, 0.85); }

/* ---------- Article cards ---------- */
.article-card {
  background: #fff;
  border: 1px solid var(--border-soft) !important;
  border-radius: var(--radius-md) !important;
  overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease;
}

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

.article-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 0 !important;
  background: #f3f4f6;
}

.article-card .p-3 { padding: 20px !important; }

.article-card h6 { font-weight: 700; font-size: 1.02rem; }

.article-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-primary-dark);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

/* ---------- Inner page header ---------- */
.page-header {
  background: linear-gradient(120deg, #0f172a, #115e59);
  color: #fff;
  padding: 64px 0 44px;
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.page-header .container { position: relative; z-index: 1; }

.page-header h1 { color: #fff; font-weight: 800; font-size: 2.1rem; margin-bottom: 8px; }

.page-header p { color: #cbd5e1; margin-bottom: 0; max-width: 560px; }

.breadcrumb-plain {
  --bs-breadcrumb-divider: '›';
  margin-bottom: 14px;
}

.breadcrumb-plain a { color: #94a3b8; font-weight: 600; }
.breadcrumb-plain a:hover { color: #fff; }
.breadcrumb-plain .active { color: #fff; font-weight: 600; }

/* ---------- Forms ---------- */
.form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-soft);
  padding: 36px;
}

.form-control, .form-select {
  border-radius: var(--radius-sm);
  border-color: var(--border-soft);
  padding: 10px 14px;
}

.form-control:focus, .form-select:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

/* ---------- Article detail content ---------- */
.article-content { font-size: 1.05rem; line-height: 1.85; color: var(--ink-soft); }
.article-content img { max-width: 100%; border-radius: var(--radius-md); margin: 20px 0; }
.article-content p { margin-bottom: 1.1em; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--ink);
  color: #94a3b8;
  padding: 56px 0 24px;
  margin-top: 70px;
}

footer.site-footer .footer-brand {
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
}

footer.site-footer h6 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 16px;
}

footer.site-footer a { color: #94a3b8; transition: color .15s ease; }
footer.site-footer a:hover { color: #fff; }

footer.site-footer ul li { margin-bottom: 10px; }

footer.site-footer .footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.92rem;
}

footer.site-footer .footer-contact-item i { color: var(--brand-primary-light); margin-top: 3px; }

.badge-soft {
  background: var(--brand-soft);
  color: var(--brand-primary-dark);
}

/* ---------- Responsive ---------- */
@media (max-width: 767.98px) {
  .hero-slide { min-height: 620px; }
  .hero-content { padding: 40px 0 90px; }
  .hero-content h1 { font-size: 2.1rem; }
  .hero-stats { flex-direction: column; margin-top: -40px; padding: 22px; }
  .page-header { padding: 48px 0 34px; }
  .cta-banner { padding: 40px 24px; text-align: center; }
  .cta-banner .d-flex { justify-content: center; }
}
