:root {
  --bus-blue: #00838f;
  --bus-blue-dark: #006064;
  --bus-navy: #004d40;
  --bus-accent: #4dd0e1;
  --bus-dark: #0f172a;
  --bus-slate: #334155;
  --bus-silver: #cbd5e1;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --text-muted: #64748b;
  --radius-pill: 50rem;
  --radius-lg: 1.25rem;
  --shadow-soft: 0 12px 40px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 8px 30px rgba(0, 0, 0, 0.06);
}

* {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--surface-soft);
  color: #1e293b;
}

.top-bar {
  background: var(--bus-dark);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.top-bar a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.top-bar a:hover {
  color: var(--bus-blue);
}

.site-navbar {
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.navbar-brand {
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 1.1rem;
}

.brand-accent {
  color: var(--bus-blue);
}

.nav-pills .nav-link {
  color: rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-pill);
  padding: 0.45rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.nav-pills .nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-pills .nav-link.active {
  background: linear-gradient(135deg, var(--bus-blue), var(--bus-navy));
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 131, 143, 0.35);
}

.btn-pill {
  border-radius: var(--radius-pill);
  padding: 0.65rem 1.5rem;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-pill:hover {
  transform: translateY(-2px);
}

.btn-brand {
  background: linear-gradient(135deg, var(--bus-blue), var(--bus-blue-dark));
  border: none;
  color: #fff;
}

.btn-brand:hover {
  background: linear-gradient(135deg, var(--bus-blue-dark), var(--bus-navy));
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 131, 143, 0.35);
}

.hero-section {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.88) 0%,
    rgba(30, 58, 95, 0.5) 50%,
    rgba(0, 131, 143, 0.2) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 3.5rem 0 2.5rem;
}

.hero-badge {
  display: inline-block;
  background: rgba(0, 131, 143, 0.92);
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 0.35rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero-title {
  color: #fff;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.25;
  max-width: 800px;
}

.hero-lead {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  max-width: 640px;
  margin-top: 0.75rem;
}

.hero-carousel .carousel-item {
  height: 420px;
  background-size: cover;
  background-position: center;
}

.hero-carousel .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.content-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.sidebar-tip {
  background: linear-gradient(145deg, var(--bus-navy), var(--bus-dark));
  color: #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: sticky;
  top: 1rem;
}

.sidebar-tip .tip-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--bus-blue), var(--bus-navy));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.article-content {
  padding: 2rem 2.25rem;
  line-height: 1.75;
  font-size: 1.02rem;
}

.article-content h1,
.article-content h2,
.article-content h3 {
  color: var(--bus-dark);
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.article-content h1 {
  font-size: 1.75rem;
  margin-top: 0;
}

.article-content h2 {
  font-size: 1.4rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--bus-blue);
  display: inline-block;
}

.article-content h3 {
  font-size: 1.15rem;
  color: var(--bus-navy);
}

.article-content p {
  margin-bottom: 1.25rem;
}

.article-content b,
.article-content strong {
  color: var(--bus-dark);
  font-weight: 700;
}

.article-content a {
  color: var(--bus-blue);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 131, 143, 0.3);
  transition: border-color 0.2s;
}

.article-content a:hover {
  border-bottom-color: var(--bus-blue);
  color: var(--bus-blue-dark);
}

.article-content iframe {
  max-width: 100%;
  border-radius: var(--radius-lg);
  margin: 1.5rem 0;
}

.article-content ol,
.article-content ul {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-content img {
  max-width: 100%;
  border-radius: var(--radius-lg);
  margin: 1.5rem 0;
  box-shadow: var(--shadow-soft);
}

.feature-box {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.feature-box .box-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--bus-blue), var(--bus-navy));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.feature-box h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.feature-box h4 a {
  color: inherit;
  text-decoration: none;
}

.feature-box h4 a:hover {
  color: var(--bus-blue);
}

.feature-box p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

.feature-box p a {
  color: var(--bus-blue);
  font-weight: 600;
  text-decoration: none;
}

.gallery-grid .gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 1;
}

.gallery-grid .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-grid .gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-grid .gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.85), transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-grid .gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-grid .gallery-overlay h3 {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  margin: 0;
}

.brand-strip {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

.brand-strip img {
  max-height: 80px;
  width: auto;
  object-fit: contain;
  filter: grayscale(20%);
  transition: filter 0.2s, transform 0.2s;
}

.brand-strip a:hover img,
.brand-strip img:hover {
  filter: none;
  transform: scale(1.05);
}

.testimonial-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  height: 100%;
}

.testimonial-card img.testimonial-photo {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 1rem;
  border: 3px solid var(--bus-blue);
}

.testimonial-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.testimonial-card h4 {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.team-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease;
}

.team-card:hover {
  transform: translateY(-6px);
}

.team-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.team-card .team-info {
  padding: 1.25rem;
  text-align: center;
}

.team-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.team-card span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.cta-banner {
  background: linear-gradient(135deg, var(--bus-dark), var(--bus-navy));
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: #fff;
}

.cta-banner h3 {
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.cta-banner p {
  opacity: 0.85;
  margin: 0;
}

.contact-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  height: 100%;
}

.contact-card .contact-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--bus-blue), var(--bus-navy));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  margin: 0 auto 1rem;
}

.contact-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.contact-card a {
  color: var(--bus-blue);
  text-decoration: none;
  font-weight: 600;
}

.topic-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.topic-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
  color: inherit;
}

.topic-card .card-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--bus-blue), var(--bus-navy));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.topic-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.topic-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}

.section-title {
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
}

.section-lead {
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
}

.site-footer {
  background: var(--bus-dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 2.5rem 0 0;
  margin-top: 4rem;
}

.site-footer a {
  color: var(--bus-silver);
  text-decoration: none;
}

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

.footer-links {
  line-height: 1.8;
}

.map-embed {
  margin-top: 2rem;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 350px;
  border: 0;
}

.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--bus-blue), var(--bus-navy));
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 6px 20px rgba(0, 131, 143, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px);
}

.offcanvas-nav .nav-link {
  border-radius: var(--radius-pill);
  padding: 0.6rem 1rem;
  color: #374151;
  font-weight: 500;
}

.offcanvas-nav .nav-link.active {
  background: var(--bus-blue);
  color: #fff;
}

@media (max-width: 991.98px) {
  .article-content {
    padding: 1.5rem;
  }

  .hero-section,
  .hero-carousel .carousel-item {
    min-height: 320px;
    height: 320px;
  }
}