/* ---------- Base ---------- */
:root{
  --muted:#6c757d;
  --brand:#111;
}
* { box-sizing: border-box; }
body {
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  background: #f6f7f9;
  color: #222;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- Header ---------- */
.site-header {
  border-bottom: 1px solid rgba(16,24,32,0.04);
  padding: 0.6rem 0;
}
.brand-logo { height:36px; width:auto; }
.brand-title { font-weight: 700; letter-spacing: .2px; }

/* ---------- Hero ---------- */
.hero-section { margin-top: 0; }
.hero-img {
  height: 50vh;
  object-fit: cover;
  width: 100%;
  filter: brightness(0.55);
}
@media (min-width:1200px) {
  .hero-img { height: 60vh; }
}
.hero-caption {
  bottom: 22%;
  left: 6%;
  right: 6%;
  max-width: 54%;
  text-shadow: 0 2px 10px rgba(0,0,0,0.25);
}
@media (max-width: 991px) {
  .hero-caption { max-width: 90%; left: 4%; right: 4%; bottom: 16%; text-align:center; }
}

/* Logo slider: show 3 at once, 300px high */
.logo-slider-wrap { background:#fff; padding: 14px 0; position:relative; }
.logo-slider-viewport { overflow:hidden; }
.logo-track { display:flex; gap:16px; transition:transform 400ms ease; align-items:center; padding:6px 4px; }
.logo-item { flex: 0 0 calc((100% - 32px) / 3); /* 3 items visible, account for gaps */ display:flex; align-items:center; justify-content:center; height:300px; }
.logo-img { max-height:260px; width:auto; object-fit:contain; }

/* feathers (decor) */
.logo-feather { width:110px; height:110px; background-size:contain; background-repeat:no-repeat; position:absolute; top:50%; transform:translateY(-50%); opacity:0.95; }
.logo-feather.left { left:0; }
.logo-feather.right { right:0; transform:translateY(-50%) scaleX(-1); }

/* controls styling */
#logoPrev, #logoNext { min-width:38px; min-height:38px; padding:0 10px; }

/* responsive adjustments */
@media (max-width: 900px) {
  .logo-item { flex: 0 0 calc((100% - 16px) / 2); } /* show 2 at a time on smaller screens */
  .logo-img { max-height:180px; }
}
@media (max-width: 576px) {
  .logo-item { flex: 0 0 100%; } /* show 1 on smallest screens */
  .logo-img { max-height:140px; }
  .logo-feather { display:none; }
}


/* center container */
.logo-carousel .carousel-inner { display:flex; align-items:center; justify-content:center; height: 300px; }

/* make sure the visible area is clean */
@media (max-width: 576px) {
  .logo-feather { display:none; }
  .logo-slide { max-height: 180px; }
  .logo-carousel .carousel-inner { height: 180px; }
}

/* ---------- Form card ---------- */
.form-card { border-radius: 12px; overflow: hidden; }
.form-card .card-body { padding: 28px; }
.form-label.small { font-size: .85rem; color: var(--muted); }

/* inputs */
.form-control, .form-select { height: 48px; padding: .6rem .75rem; border-radius: 8px; }

/* ---------- Content sections ---------- */
.section { padding: 56px 0; }
.card-plain { border-radius: 10px; box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04); border: 1px solid rgba(15,23,42,0.03); }

/* small muted */
.small-muted { color: var(--muted); }

/* ---------- Footer ---------- */
.footer { background: #0b0b0b; color: #dfe6ea; padding-top: 40px; padding-bottom: 40px; }
.footer .footer-logo { height:42px; margin-bottom: 12px; }
.footer h6 { color: #fff; margin-bottom: 8px; }
.footer a { color: #dfe6ea; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: none; }

/* utility */
.text-muted-custom { color: #94a3b8; }

/* ---------- Modal ---------- */
.modal .modal-body p { margin-bottom: .6rem; }

/* ---------- Responsive tweaks ---------- */
@media (max-width: 768px) {
  .hero-caption h1 { font-size: 1.5rem; }
  .hero-caption p.lead { font-size: 0.95rem; }
  .form-card .card-body { padding: 18px; }
}
