/* === Custom Fonts === */
@font-face {
  font-family: 'Pasajero';
  src: url('/static/fonts/Inter-Regular.ttf') format('truetype');
  font-weight: normal;
}
@font-face {
  font-family: 'Pasajero';
  src: url('/static/fonts/Pasajero.ttf.woff') format('woff');
  font-weight: 600;
}
@font-face {
  font-family: 'Pasajero';
  src: url('/static/fonts/Pasajero.ttf.woff') format('woff');
  font-weight: bold;
}

/* === Bootstrap CSS Variable Overrides === */
:root {
  --bs-primary: #05668D;
  --bs-primary-rgb: 5, 102, 141;
  --bs-light: #EBF2FA;
  --bs-light-rgb: 235, 242, 250;
  --bs-body-font-family: Pasajero, sans-serif;

  --accent-green: #678436;
  --accent-gold: #E8A020;
  --accent-teal: #05668D;
  --accent-navy: #033d55;
}

/* Button overrides (Bootstrap 5.2+ CSS vars) */
.btn-primary {
  --bs-btn-bg: #05668D;
  --bs-btn-border-color: #05668D;
  --bs-btn-color: #fff;
  --bs-btn-hover-bg: #044f6c;
  --bs-btn-hover-border-color: #044f6c;
  --bs-btn-active-bg: #044f6c;
  --bs-btn-active-border-color: #044f6c;
  --bs-btn-disabled-bg: #05668D;
  --bs-btn-disabled-border-color: #05668D;
}
.btn-outline-primary {
  --bs-btn-color: #05668D;
  --bs-btn-border-color: #05668D;
  --bs-btn-hover-bg: #05668D;
  --bs-btn-hover-color: #fff;
}

/* Color utilities */
.text-primary { color: #05668D !important; }
.bg-primary { background-color: #05668D !important; }
.bg-light { background-color: #EBF2FA !important; }
.bg-primary-dark { background-color: #033d55; }
.border-primary { border-color: #05668D !important; }

/* === Layout === */
body {
  background: url('/static/flowing-bg.jpg');
  background-position: top 0 left 20px;
  background-repeat: no-repeat;
  background-size: 100%;
}

/* === Utilities === */
.fw-semibold { font-weight: 600; }
.text-black-61 { color: rgba(0, 0, 0, 0.61); }
.bg-green { background-color: #B4D1C4; }
.bg-yellow { background-color: #F6DE9D; }
.bg-red { background-color: #FF87B0D9; }
.bg-purple { background-color: #ADA8D6; }
.bg-blue-16 { background-color: rgba(5, 102, 141, 0.08); }
.border-radius-34 { border-radius: 34px; }
.full-width { width: 100%; }
.center-image { display: block; margin-left: auto; margin-right: auto; }
.text-left { text-align: left; }
.icon { vertical-align: text-bottom; }
.gold { color: #FFD700; }

.size-16 { min-width: 16px; max-width: 16px; min-height: 16px; max-height: 16px; }
.size-64 { min-width: 64px; max-width: 64px; min-height: 64px; max-height: 64px; }
.size-90 { min-width: 90px; max-width: 90px; min-height: 90px; max-height: 90px; }

/* === Section headings === */
.section-heading {
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}
.section-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #05668D, #678436);
}

/* === Navbar === */
.navbar .navbar-brand img {
  width: auto;
  max-height: calc(3rem + .6vw);
}
.navbar .nav-link {
  font-weight: 500;
  transition: color 0.15s ease;
}
.navbar .nav-link:hover {
  color: #044f6c !important;
}

/* === Hero Section === */
.section.hero {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}
@media (max-width: 600px) {
  .section.hero .hero-image img { display: none; }
}
.section.hero .hero-title strong { color: #678436; }
.section.hero .btn-primary {
  padding: 0.75rem 2rem;
  font-size: 1.05rem;
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(5, 102, 141, 0.35);
}
.section.hero .btn-outline-primary {
  padding: 0.75rem 2rem;
  font-size: 1.05rem;
  border-radius: 50px;
}

/* === Promo Cards === */
.section .card.shadow {
  border: none;
  border-left: 5px solid #05668D;
  border-radius: 16px !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.section .card.shadow:nth-child(even) {
  border-left-color: #678436;
}
.section .card.shadow:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(5, 102, 141, 0.15) !important;
}

/* === Service Cards === */
.section.services .card {
  border: none !important;
  border-top: 4px solid #05668D !important;
  border-radius: 16px !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.section.services .col-12:nth-child(2) .card { border-top-color: #678436 !important; }
.section.services .col-12:nth-child(3) .card { border-top-color: var(--accent-gold) !important; }
.section.services .col-12:nth-child(4) .card { border-top-color: #678436 !important; }
.section.services .col-12:nth-child(5) .card { border-top-color: var(--accent-gold) !important; }
.section.services .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(5, 102, 141, 0.15) !important;
}
.section.services .material-symbols-outlined {
  font-size: 36px;
  background: rgba(5, 102, 141, 0.1);
  border-radius: 50%;
  padding: 12px;
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}
.section.services .col-12:nth-child(2) .material-symbols-outlined { background: rgba(103, 132, 54, 0.12); color: #678436; }
.section.services .col-12:nth-child(3) .material-symbols-outlined { background: rgba(232, 160, 32, 0.12); color: var(--accent-gold); }
.section.services .col-12:nth-child(4) .material-symbols-outlined { background: rgba(103, 132, 54, 0.12); color: #678436; }
.section.services .col-12:nth-child(5) .material-symbols-outlined { background: rgba(232, 160, 32, 0.12); color: var(--accent-gold); }

/* === Expertise / Specialist Areas === */
.section.side-pack-of-cards .card {
  border: none;
  border-left: 4px solid #05668D !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 12px rgba(5, 102, 141, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.section.side-pack-of-cards .col-12:nth-child(2n) .card { border-left-color: #678436 !important; }
.section.side-pack-of-cards .col-12:nth-child(3n) .card { border-left-color: var(--accent-gold) !important; }
.section.side-pack-of-cards .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(5, 102, 141, 0.15) !important;
}

/* === Testimonials === */
.section.testimonials {
  background: linear-gradient(135deg, #f0f7fb 0%, #eaf6f0 100%);
  border-radius: 24px;
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.section.testimonials .card {
  background-color: #fff;
  box-shadow: 0 4px 16px rgba(5, 102, 141, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
  border-top: 3px solid #05668D !important;
}
.section.testimonials .col-12:nth-child(2n) .card { border-top-color: #678436 !important; }
.section.testimonials .col-12:nth-child(3n) .card { border-top-color: var(--accent-gold) !important; }
.section.testimonials .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(5, 102, 141, 0.16);
}
.section.testimonials .card::before {
  content: "\201C";
  font-size: 100px;
  line-height: 1;
  color: rgba(5, 102, 141, 0.08);
  position: absolute;
  top: -8px;
  left: 10px;
  font-family: Georgia, serif;
  pointer-events: none;
}

/* === Our Work === */
.our-work-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}
.our-work-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  font-size: 15px;
  font-weight: 700;
  color: white;
  background: linear-gradient(to top, rgba(3, 61, 85, 0.9) 0%, transparent 100%);
  padding: 40px 12px 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.our-work-wrapper:hover .img-cover {
  transform: scale(1.04);
}
.img-cover,
picture .img-cover {
  object-fit: cover;
  width: 100%;
  height: 300px;
  background-position: top left;
  border-radius: 10px;
  transition: transform 0.4s ease;
}

/* eleventy-img wraps <img> in <picture> - treat it as transparent */
picture { display: contents; }

/* === CTA Section === */
.section.cta {
  border-radius: 24px;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  background: linear-gradient(135deg, #033d55 0%, #05668D 60%, #0a7a6e 100%) !important;
}

/* === Cart === */
.cart-item { display: flex; }
.cart-thumb { width: 100px; height: 100px; margin-right: 20px; }
.cart-title { width: 200px; font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.cart-price { width: 100px; font-size: 18px; font-weight: 700; margin-bottom: 10px; text-align: right; }
.cart-remove { font-size: 18px; color: #ff0000; cursor: pointer; padding-left: 30px; }

/* === Contact Form === */
.form-inner > div { margin-bottom: 1rem; }
.form-inner label { display: block; margin-bottom: 0.25rem; }
.form-inner input, .form-inner textarea { width: 100%; padding: 0.5rem; border: 1px solid #ced4da; border-radius: 0.375rem; }

/* === Shop / Video Cards === */
.card-thumbnail img { width: 100%; height: auto; }
