/* Bwimba Engineering — custom styles on top of Bootstrap 5 */

:root {
  --maroon: #6d1a26;
  --maroon-50: #fbf2f3;
  --maroon-100: #f6e1e3;
  --maroon-200: #eec2c7;
  --maroon-300: #e099a1;
  --maroon-800: #5a1721;
  --forest: #14532d;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-900: #0f172a;
  --slate-950: #020617;

  --bs-primary: var(--maroon);
  --bs-primary-rgb: 109, 26, 38;
  --bs-link-color: var(--maroon);
  --bs-link-color-rgb: 109, 26, 38;
  --bs-link-hover-color: var(--maroon-800);
  --bs-link-hover-color-rgb: 90, 23, 33;
  --bs-body-font-family: 'Poppins', system-ui, sans-serif;
  --bs-body-color: var(--slate-700);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--slate-700);
  -webkit-font-smoothing: antialiased;
  background: #fff;
}

h1, h2, h3, h4, h5, .font-display {
  font-family: 'Oswald', 'Poppins', sans-serif;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--slate-900);
  font-weight: 700;
}

a { text-decoration: none; }

.text-maroon { color: var(--maroon) !important; }
.text-maroon-100 { color: var(--maroon-100) !important; }
.text-maroon-300 { color: var(--maroon-300) !important; }
.text-forest { color: var(--forest) !important; }
.text-slate { color: var(--slate-600) !important; }
.bg-maroon { background-color: var(--maroon) !important; }
.bg-maroon-50 { background-color: var(--maroon-50) !important; }
.bg-slate-50 { background-color: var(--slate-50) !important; }

.section { padding: 5rem 0; }
@media (min-width: 992px) { .section { padding: 7rem 0; } }

.container { max-width: 1280px; }

.bar { display: block; height: 4px; width: 80px; background: var(--maroon); margin-top: .75rem; }

/* Buttons */
.btn-brand,
.btn-outline-brand,
.btn-ghost-light,
.btn-light-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border-radius: 2px;
  padding: .75rem 1.5rem;
  font-size: .875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  transition: all .3s;
}
.btn-brand { background: var(--maroon); color: #fff; border: 1px solid var(--maroon); }
.btn-brand:hover, .btn-brand:focus { background: var(--maroon-800); border-color: var(--maroon-800); color: #fff; box-shadow: 0 10px 20px -5px rgba(109, 26, 38, .3); }
.btn-outline-brand { border: 1px solid var(--maroon); color: var(--maroon); background: transparent; }
.btn-outline-brand:hover { background: var(--maroon); color: #fff; }
.btn-ghost-light { border: 1px solid rgba(255, 255, 255, .7); color: #fff; background: transparent; }
.btn-ghost-light:hover { background: #fff; color: var(--maroon); }
.btn-light-brand { background: #fff; color: var(--maroon); border: 1px solid #fff; }
.btn-light-brand:hover { background: var(--slate-100); color: var(--maroon); }

/* Eyebrow heading */
.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  font-size: .875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .25em;
  color: var(--maroon);
  margin: 0;
}
.eyebrow::before,
.eyebrow::after { content: ''; height: 1px; width: 2.5rem; background: rgba(109, 26, 38, .6); }
.eyebrow.start { justify-content: flex-start; }

/* Navbar */
.site-header {
  background: #fff;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1);
  padding: .75rem 0;
  transition: padding .3s;
}
@media (min-width: 992px) { .site-header { padding: 1rem 0; } }
.site-header.scrolled { padding: .5rem 0; }
.site-header .navbar-brand img { height: 44px; width: auto; }
.brand-name {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.125rem;
  line-height: 1;
  color: var(--slate-900);
}
@media (min-width: 576px) { .brand-name { font-size: 1.25rem; } }
.site-header .nav-link {
  font-size: .875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--slate-700);
}
.site-header .nav-link:hover,
.site-header .nav-link:focus,
.site-header .nav-link.active { color: var(--maroon); }
@media (min-width: 992px) {
  .site-header .navbar-nav { gap: 1.25rem; align-items: center; }
  .site-header .dropdown:hover > .dropdown-menu { display: block; margin-top: 0; }
  .site-header .dropdown-toggle::after { transition: transform .2s; }
  .site-header .dropdown:hover > .dropdown-toggle::after { transform: rotate(180deg); }
}
.site-header .dropdown-menu {
  border: 1px solid var(--slate-100);
  border-radius: .5rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .1);
  padding: .5rem;
  min-width: 16rem;
}
.site-header .dropdown-item {
  border-radius: .375rem;
  padding: .5rem .75rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--slate-600);
  white-space: normal;
}
.site-header .dropdown-item:hover,
.site-header .dropdown-item:focus,
.site-header .dropdown-item.active { background: var(--maroon-50); color: var(--maroon); }
.navbar-toggler { border: 0; font-size: 1.6rem; color: var(--slate-900); }
.navbar-toggler:focus { box-shadow: none; }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.overlay { position: absolute; inset: 0; }
.hero-fade { background: linear-gradient(90deg, rgba(15, 15, 18, .85) 0%, rgba(15, 15, 18, .55) 45%, rgba(15, 15, 18, .2) 100%); }
.hero-content { position: relative; padding-top: 8rem; padding-bottom: 5rem; color: #fff; }
.hero-kicker {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .3em;
  color: var(--maroon-200);
  margin-bottom: 1rem;
}
.hero-kicker::before { content: ''; height: 1px; width: 3rem; background: var(--maroon-300); }
.hero h1 {
  color: #fff;
  font-size: clamp(2.75rem, 7vw, 4.5rem);
  line-height: 1.05;
  max-width: 56rem;
}
.hero h1 .outline {
  display: block;
  margin-top: .5rem;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, .85);
}
.hero p.lead { max-width: 36rem; color: var(--slate-200); font-size: 1.125rem; margin-top: 1.5rem; }

/* Page header */
.page-header {
  position: relative;
  min-height: 46vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 7rem;
}
.page-header .overlay { background: rgba(2, 6, 23, .7); }
.page-header .container { position: relative; padding-top: 4rem; padding-bottom: 4rem; color: #fff; }
.page-header h1 { color: #fff; font-size: clamp(2.25rem, 5vw, 3rem); }
.page-header p { color: var(--slate-200); max-width: 42rem; margin-top: 1rem; }
.page-header .breadcrumb { margin: 1.5rem 0 0; font-size: .875rem; }
.page-header .breadcrumb a { color: var(--slate-300); }
.page-header .breadcrumb a:hover { color: #fff; }
.page-header .breadcrumb-item.active { color: #fff; }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: var(--slate-300); content: '\203A'; }

/* Stacked images */
.img-stack img { width: 100%; height: 100%; object-fit: cover; border-radius: .5rem; }
.img-stack .offset { margin-top: 2rem; }

.dot-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.dot-list li { display: flex; align-items: flex-start; gap: .5rem; font-size: .875rem; color: var(--slate-700); }
.dot-list li::before { content: ''; width: .5rem; height: .5rem; border-radius: 50%; background: var(--maroon); margin-top: .4rem; flex-shrink: 0; }

/* Background band sections */
.band { position: relative; overflow: hidden; padding: 6rem 0; }
.band > .container { position: relative; }
.band-light .overlay { background: rgba(255, 255, 255, .7); }
.band-dark .overlay { background: rgba(2, 6, 23, .4); }

.check-card { border-radius: .5rem; padding: 2rem; box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .1); height: 100%; }
.check-card .item { display: flex; align-items: flex-start; gap: .75rem; padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px solid var(--slate-100); font-size: .875rem; font-weight: 500; }
.check-card .item:last-child { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.check-card .item i { font-size: 1.2rem; line-height: 1; }
.check-card.dark .item { border-color: rgba(255, 255, 255, .2); color: #fff; }

/* Stats */
.stats-box { background: rgba(109, 26, 38, .95); border-radius: .5rem; padding: 3rem 2rem; color: #fff; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .25); }
.stats-box .value { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: clamp(2.25rem, 4vw, 3rem); margin: 0; }
.stats-box .label { color: var(--maroon-100); font-size: .875rem; margin-top: .5rem; }

/* Service card */
.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: .5rem;
  background: #fff;
  box-shadow: 0 10px 40px -15px rgba(0, 0, 0, .15);
  border: 1px solid var(--slate-100);
  transition: all .3s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px -15px rgba(109, 26, 38, .35); }
.service-card .thumb { position: relative; height: 14rem; overflow: hidden; }
.service-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service-card:hover .thumb img { transform: scale(1.05); }
.service-card .thumb::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--maroon); }
.service-card .body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem; }
.service-card h3 { font-size: 1.125rem; font-weight: 600; margin: 0; }
.service-card p { flex: 1; font-size: .875rem; line-height: 1.7; color: var(--slate-600); margin: .75rem 0 0; }
.service-card .more {
  margin-top: 1.25rem;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border: 1px solid var(--slate-200);
  border-radius: 2px;
  padding: .5rem 1rem;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--maroon);
  transition: all .3s;
}
.service-card:hover .more { background: var(--maroon); border-color: var(--maroon); color: #fff; }

/* Project card */
.project-card { position: relative; display: block; overflow: hidden; border-radius: .5rem; }
.project-card img { width: 100%; height: 18rem; object-fit: cover; transition: transform .5s; }
.project-card:hover img { transform: scale(1.05); }
.project-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(2, 6, 23, .9), rgba(2, 6, 23, .3), transparent);
}
.project-card .info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 1.5rem; color: #fff; }
.project-card .cat { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--maroon-300); }
.project-card h3 { color: #fff; font-size: 1.125rem; font-weight: 600; line-height: 1.35; margin: .5rem 0 0; }
.project-card .view { display: inline-flex; gap: .25rem; margin-top: .75rem; font-size: .875rem; color: var(--slate-200); opacity: 0; transition: opacity .3s; }
.project-card:hover .view { opacity: 1; }

.mini-project { display: block; overflow: hidden; border-radius: .5rem; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.mini-project img { width: 100%; height: 12rem; object-fit: cover; transition: transform .3s; }
.mini-project:hover img { transform: scale(1.05); }
.mini-project .cat { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--maroon); }
.mini-project .title { font-weight: 600; color: var(--slate-900); }

/* Filter pills */
.filter-btn {
  border: 0;
  border-radius: 999px;
  padding: .5rem 1.25rem;
  font-size: .875rem;
  font-weight: 600;
  background: var(--slate-100);
  color: var(--slate-600);
  transition: background .2s;
}
.filter-btn:hover { background: var(--slate-200); }
.filter-btn.active { background: var(--maroon); color: #fff; }

/* Generic cards */
.soft-card { border-radius: .5rem; background: #fff; padding: 2rem; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1); height: 100%; }
.line-card { border-radius: .5rem; border: 1px solid var(--slate-100); padding: 2rem; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); height: 100%; }
.icon-circle { display: inline-flex; align-items: center; justify-content: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--maroon-50); color: var(--maroon); font-size: 1.5rem; }
.icon-circle.sm { width: 2.5rem; height: 2.5rem; font-size: 1.1rem; }
.side-box { border-radius: .5rem; border: 1px solid var(--slate-100); background: var(--slate-50); padding: 1.5rem; }

.feature-item { display: flex; align-items: flex-start; gap: .75rem; border-radius: .375rem; background: var(--slate-50); padding: .75rem; font-size: .875rem; color: var(--slate-700); height: 100%; }
.feature-item i { color: var(--maroon); }

.other-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: .375rem;
  background: #fff;
  padding: .75rem 1rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--slate-700);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
  transition: all .2s;
}
.other-link:hover { background: var(--maroon); color: #fff; }

/* Forms */
.form-control, .form-select { border-color: var(--slate-200); border-radius: .375rem; padding: .625rem 1rem; font-size: .875rem; }
.form-control:focus, .form-select:focus { border-color: var(--maroon); box-shadow: 0 0 0 1px var(--maroon); }
.form-label { font-size: .875rem; font-weight: 500; color: var(--slate-700); margin-bottom: .25rem; }
.alert-forest { background: rgba(20, 83, 45, .1); color: var(--forest); border: 0; font-size: .875rem; }

/* CTA */
.cta { background: var(--maroon); color: #fff; padding: 4rem 0; }
.cta h2 { color: #fff; font-size: clamp(1.875rem, 4vw, 2.25rem); }
.cta p { color: var(--maroon-100); max-width: 36rem; }

/* Footer */
.site-footer { background: var(--slate-950); color: var(--slate-300); }
.site-footer h4 { color: #fff; font-size: 1rem; font-weight: 600; margin-bottom: 1.25rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; font-size: .875rem; }
.site-footer ul li { margin-bottom: .75rem; }
.site-footer a { color: var(--slate-300); }
.site-footer a:hover { color: var(--maroon-300); }
.site-footer .logo { height: 48px; width: auto; background: #fff; border-radius: .25rem; padding: .25rem; }
.site-footer .about { color: var(--slate-400); font-size: .875rem; line-height: 1.7; }
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: var(--slate-200);
  transition: background .2s;
}
.social a:hover { background: var(--maroon); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 1.5rem 0; font-size: .75rem; color: var(--slate-500); }

/* WhatsApp */
.whatsapp {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  font-size: 1.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .2);
  transition: transform .2s;
}
.whatsapp:hover { color: #fff; transform: scale(1.1); }

.map { height: 400px; width: 100%; border: 0; display: block; }
