:root {
  --red: #d62828;
  --charcoal: #1e1e1e;
  --mid: #555;
  --light: #f5f5f5;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  color: var(--charcoal);
  background: var(--light);
  line-height: 1.6;
}

/* NAVBAR */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid #e8e8e8;
  padding: 0.45rem 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.brand img {
  width: 100px;
  height: auto;
  object-fit: contain;
}
.brand h1 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--charcoal);
}
.actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.btn {
  appearance: none;
  border: 1px solid #e5e5e5;
  background: var(--white);
  color: var(--charcoal);
  padding: 0.1rem 0.9rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    border-color 0.15s ease, background 0.15s ease;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
.btn.primary {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}
.btn.primary:hover {
  filter: brightness(0.95);
}

/* HERO (full screen image) */
.hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  width: 100%;
  background: #000 url("../images/hero.jpg.jpg") center/cover no-repeat fixed;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.6) 35%,
    rgba(0, 0, 0, 0.7) 100%
  );
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 0 6%;
  text-align: center;
  color: #fff;
  max-width: 1000px;
}
.kicker {
  display: inline-block;
  background: rgba(214, 40, 40, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 0.9rem;
}
.hero h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(2rem, 4vw + 1rem, 3.2rem);
  font-weight: 800;
  line-height: 1.12;
}
.hero p {
  margin: 0 auto 1.4rem;
  max-width: 800px;
  font-size: clamp(1rem, 1.2vw + 0.6rem, 1.15rem);
  color: #f0f0f0;
}
.cta-row {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn.ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}
.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* SECTIONS */
section {
  padding: 64px 6%;
}
.section-title {
  text-align: center;
  margin: 0 0 28px;
  font-size: 1.9rem;
  color: var(--charcoal);
}
.section-sub {
  text-align: center;
  margin: -4px auto 36px;
  color: var(--mid);
  max-width: 720px;
}

/* CARDS (vertical rectangles) */
.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(12, 1fr);
}
@media (max-width: 1100px) {
  .grid {
    grid-template-columns: repeat(8, 1fr);
  }
}
@media (max-width: 720px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .grid {
    grid-template-columns: 1fr;
  }
}
.card {
  grid-column: span 4; /* 3 per row on desktop */
  background: var(--white);
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    border-color 0.18s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  border-color: #e6e6e6;
}
.card {
  display: flex;
  flex-direction: column;
  border: 1px solid #eee;
  border-radius: 16px;
  overflow: hidden; /* image stays within rounded corners */
  background: var(--white);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  border-color: #e6e6e6;
}

.card {
  display: flex;
  flex-direction: column;
  border: 1px solid #eee;
  border-radius: 16px; /* rounded corners */
  overflow: hidden; /* image follows card radius */
  background: var(--white);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  border-color: #e6e6e6;
}

.card .img-slot {
  width: 100%; /* full card width */
  height: 220px; /* top image height */
  overflow: hidden; /* ensures image stays within card radius */
  border-radius: 0; /* card already handles rounding */
}

.card .img-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* image covers full area */
  display: block;
}

.card-text {
  padding: 16px 18px;
  text-align: center;
}

.card-text h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: var(--charcoal);
}

.card-text p {
  margin: 0;
  color: #666;
  font-size: 0.95rem;
}

/* WHY CHOOSE US (split) */
.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  align-items: start;
}
@media (max-width: 960px) {
  .split {
    grid-template-columns: 1fr;
  }
}
.panel {
  display: grid;
  background: var(--white);
  border: 1px solid #eee;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.panel-item {
  background: #fff; /* Optional */
  padding: 1rem; /* Optional */
  border-radius: 0.5rem;
  text-align: left;
}
.panel h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  display: flex; /* Make h3 flex to align icon and text */
  align-items: center;
  gap: 8px; /* Space between icon and heading */
}
.panel h3 img {
  width: 50px; /* or your desired size */
  height: 50px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px; /* optional: extra spacing */
}
.checks {
  display: grid;
  gap: 12px;
}
.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 14px;
  padding: 14px 16px;
}
.tick {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  line-height: 0;
  flex: 0 0 22px;
}

/* Optional: Only target icon images in h3 if you use a class */
.icon-heading {
  display: flex;
  align-items: center; /* vertically center icon and text */
  gap: 8px; /* space between icon and text */
}

.icon-heading img {
  width: 22px; /* set icon size */
  height: 22px;
  display: inline-block;
}

/* FOOTER */
footer {
  background: #111;
  color: #cfcfcf;
  padding: 34px 6% 46px;
  margin-top: 18px;
  border-top: 1px solid #1f1f1f;
}
.footgrid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: center;
}
@media (max-width: 820px) {
  .footgrid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
.foot-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.foot-brand img {
  width: 120px;
  height: auto;
}
.foot-brand h4 {
  margin: 0;
  color: #fff;
}
.foot-actions a {
  color: #fff;
  text-decoration: none;
  margin-right: 8px;
}
.foot-actions .btn {
  border-color: #2a2a2a;
  background: #1a1a1a;
  color: #f0f0f0;
}
.foot-actions .btn:hover {
  background: #222;
}
.small {
  color: #9b9b9b;
  font-size: 0.92rem;
  margin-top: 16px;
}

/* Floating Contact Button (kept subtle) */
.float-btn {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1200;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 12px 16px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(214, 40, 40, 0.35);
  transition: transform 0.15s ease, filter 0.15s ease;
}
.float-btn:hover {
  transform: translateY(-2px);
  filter: brightness(0.95);
}

/* NAVBAR: Responsive adjustments */
@media (max-width: 600px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.4rem 3%;
    gap: 0.3rem;
  }
  .brand {
    justify-content: center;
    width: 100%;
    max-height: 36px;
  }
  .actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.5rem;
  }
  .btn {
    width: 100%;
    justify-content: center;
    font-size: 0.88rem;
    padding: 0.38rem 0.7rem;
  }
}

/* HERO: Responsive text */
@media (max-width: 600px) {
  .hero-inner {
    padding: 0 2%;
  }
  .hero h2 {
    font-size: 1.5rem;
  }
  .hero p {
    font-size: 1rem;
  }
}

/* SECTIONS: Reduce padding on mobile */
@media (max-width: 600px) {
  section {
    padding: 32px 3%;
  }
  .section-title {
    font-size: 1.3rem;
  }
}

/* CARDS: Full width on mobile */
@media (max-width: 480px) {
  .card {
    grid-column: span 1;
    padding: 14px 8px;
  }
  .card .img-slot {
    height: 160px;
  }
}

/* PANEL: Stack items vertically on mobile */
@media (max-width: 720px) {
  .panel {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 12px;
  }
  .panel-item {
    padding: 0.7rem;
  }
}

/* FOOTER: Adjust padding and layout */
@media (max-width: 600px) {
  footer {
    padding: 18px 3% 24px;
  }
  .footgrid {
    gap: 12px;
  }
  .foot-brand img {
    width: 90px;
  }
}

/* Floating Contact Button: Smaller on mobile */
@media (max-width: 480px) {
  .float-btn {
    padding: 8px 12px;
    font-size: 0.95rem;
    right: 10px;
    bottom: 10px;
  }
}
