@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../assets/fonts/inter-variable.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/poppins-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/poppins-700.woff2') format('woff2');
}

:root {
  --cmi-petrol: #0B3D4E;
  --cmi-petrol-dark: #082B37;
  --cmi-mint: #5FD4C4;
  --cmi-mint-dark: #3FBBAA;
  --cmi-bg: #F4F7F7;
  --cmi-text: #22313A;
}

body {
  color: var(--cmi-text);
  background-color: #fff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 600;
  color: var(--cmi-petrol);
}

a { color: var(--cmi-petrol); }
a:hover { color: var(--cmi-mint-dark); }

.btn-cmi {
  background-color: var(--cmi-mint);
  border-color: var(--cmi-mint);
  color: var(--cmi-petrol-dark);
  font-weight: 600;
}
.btn-cmi:hover {
  background-color: var(--cmi-mint-dark);
  border-color: var(--cmi-mint-dark);
  color: var(--cmi-petrol-dark);
}
.btn-cmi-outline {
  background-color: transparent;
  border: 1px solid #fff;
  color: #fff;
  font-weight: 600;
}
.btn-cmi-outline:hover {
  background-color: rgba(255,255,255,.15);
  color: #fff;
}

.navbar-cmi {
  background-color: var(--cmi-petrol);
  padding-top: .75rem;
  padding-bottom: .75rem;
}
.navbar-cmi .nav-link {
  color: rgba(255,255,255,.85);
  font-weight: 500;
}
.navbar-cmi .nav-link:hover,
.navbar-cmi .nav-link.active {
  color: var(--cmi-mint);
}
.navbar-cmi .navbar-toggler {
  border-color: rgba(255,255,255,.4);
}
.navbar-cmi .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-main { font-weight: 700; color: #fff; font-size: 1.1rem; letter-spacing: .5px; }
.brand-sub { font-size: .6rem; letter-spacing: 1.5px; color: var(--cmi-mint); text-transform: uppercase; }
.dropdown-menu { border: none; box-shadow: 0 10px 30px rgba(0,0,0,.15); }
.dropdown-item.active, .dropdown-item:active {
  background-color: var(--cmi-mint);
  color: var(--cmi-petrol-dark);
}

.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: #fff;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(11,61,78,.82), rgba(11,61,78,.88));
}
.hero-content { position: relative; z-index: 1; }
.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: .8rem;
  color: var(--cmi-mint);
  font-weight: 600;
}
.hero h1 { color: #fff; max-width: 640px; }
.hero p.lead { color: rgba(255,255,255,.9); max-width: 560px; }

.page-hero {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: #fff;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(11,61,78,.85), rgba(11,61,78,.9));
}
.page-hero h1 { color: #fff; position: relative; z-index: 1; }
.page-hero p { position: relative; z-index: 1; color: rgba(255,255,255,.9); }

.section { padding: 4.5rem 0; }
.section-bg { background-color: var(--cmi-bg); }
.section-title { margin-bottom: 1rem; }

.feature-card, .service-card {
  background: #fff;
  border-radius: .75rem;
  padding: 1.75rem;
  height: 100%;
  box-shadow: 0 6px 24px rgba(11,61,78,.08);
  transition: transform .15s ease, box-shadow .15s ease;
}
.feature-card:hover, .service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(11,61,78,.14);
}
.feature-card .icon, .service-card .icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--cmi-bg);
  color: var(--cmi-petrol);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.service-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: .5rem;
  margin-bottom: 1rem;
}

.cta-box {
  background-color: var(--cmi-petrol);
  color: #fff;
  border-radius: .75rem;
  padding: 2rem;
}
.cta-box p { color: rgba(255,255,255,.85); }

.contact-info-box {
  background-color: var(--cmi-bg);
  border-radius: .75rem;
  padding: 2rem;
}
.contact-info-box a { color: var(--cmi-petrol); font-weight: 600; }
#contact-form .form-label { font-weight: 600; color: var(--cmi-petrol); }
#contact-form .form-control:focus {
  border-color: var(--cmi-mint);
  box-shadow: 0 0 0 .2rem rgba(95,212,196,.25);
}
#form-feedback { display: none; }
#form-feedback.show { display: block; }

.site-footer {
  background-color: var(--cmi-petrol-dark);
  color: rgba(255,255,255,.75);
}
.footer-heading { color: #fff; font-size: .9rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem; }
.footer-text, .footer-text a { color: rgba(255,255,255,.7); text-decoration: none; font-size: .92rem; }
.footer-text a:hover { color: var(--cmi-mint); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { color: rgba(255,255,255,.7); text-decoration: none; }
.footer-links a:hover { color: var(--cmi-mint); }
.footer-divider { border-color: rgba(255,255,255,.15); margin: 2rem 0 1.5rem; }
