/* ===== HERO Sect (with background + glass cards) ===== */

.hero {
  /* set your background image here later */
  --hero-bg: url("Images/homeHero.png");
  position: relative;
  padding: 6rem 1rem 4.5rem;
  text-align: center;
  color: #eef1f7;
  overflow: hidden;
  min-height: 58svh;
}

html, body { margin: 0; padding: 0; width: 100%; }
*, *::before, *::after { box-sizing: border-box; }

html, body { overflow-x: hidden; }

img, video, canvas, svg { max-width: 100%; height: auto; display: block; }


/* background image + overlay */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(24,32,72,.65), rgba(24,32,72,.65)),
    var(--hero-bg) center/cover no-repeat;
  filter: saturate(.95);
  z-index: 0;
}
.hero-content { position: relative; z-index: 1; }

.hero-title {
  font-size: clamp(2.2rem, 2rem + 2.5vw, 4rem);
  font-weight: 800;
  color: #ffb6a6; /* warm coral like your mock */
  margin: 0 0 .4rem;
}

.hero-subtext {
  font-size: clamp(1.05rem, .95rem + .6vw, 1.4rem);
  color: #dfe6ff;
  margin: 0 auto 1.7rem;
  max-width: 900px;
}

/* Cards row */
.hero-cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  max-width: 1000px;
  margin: 0 auto 1.75rem;
}

@media (min-width: 720px) {
  .hero-cards { grid-template-columns: repeat(4, 1fr); }
}

/* Individual card (glassy) */
.hero-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 14px;
  padding: 1.1rem .9rem;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.hero-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(0,0,0,.22);
  border-color: rgba(255,255,255,.38);
}

.hero-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 10px;
  background: rgba(255,255,255,.12);
  margin-bottom: .6rem; font-size: 1.1rem;
}

.hero-card h3 {
  color: #ffffff;
  font-size: 1.05rem;
  margin: 0 0 .2rem;
}

.hero-card p {
  color: #e8ecff;
  margin: 0;
  font-size: .98rem;
}

/* Buttons (reuse your existing styles, just spacing tweak) */
.hero-buttons {
  display: flex;
  justify-content: center !important;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: .2rem;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: 1rem 1.8rem;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 999px;
  text-decoration: none;
  transition: all .2s ease;
}

.hero-btn.primary {
  background-color: #da2929;
  color: #fff;
  box-shadow: 0 8px 16px rgba(196, 46, 46, 0.25);
}
.hero-btn.primary:hover { background:#a82020; transform: translateY(-1px); }

.hero-btn.secondary {
  background: transparent;
  border: 2px solid #dfe6ff;
  color: #dfe6ff;
}
.hero-btn.secondary:hover { background:#dfe6ff; color:#1e2d64; transform: translateY(-1px); }

/* Hero Card colors */
.hero-card h3 {
  color: #ffffff; /* main text always white */
  font-size: 1.05rem;
  margin: 0 0 .2rem;
}

.hero-card p {
  margin: 0;
  font-size: .98rem;
  font-weight: 600;
}

.hero-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 10px;
  background: rgba(255,255,255,.12);
  margin-bottom: .6rem; font-size: 1.1rem;
}

/* Accent text + icon colors */
.green { color: #62c37e; }
.blue { color: #6a8be4; }
.brand { color: #ffb6a6; } /* Salam Academy red */
.yellow { color: #f3d218; }

/* apply color to accent <p> */
.hero-card p.accent.green { color: #62c37e; }
.hero-card p.accent.blue { color: #6a8be4; }
.hero-card p.accent.brand { color: #ffb6a6; }
.hero-card p.accent.yellow { color: #f3d218; }

/* Purple ESA icon */
.hero-card__icon.purple {
  background: linear-gradient(135deg, #6d28d9, #8b5cf6);
  color: #ffffff;
}

/* Purple accent text under ESA title */
.accent.purple {
  color: #bba1e5;
}

/* Cards row */
.hero-cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  max-width: 1150px;  /* wider row for 5 cards */
  margin: 0 auto 1.75rem;
}

/* Tablet: 2 per row */
@media (min-width: 720px) {
  .hero-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop: 5 cards in one clean row */
@media (min-width: 1100px) {
  .hero-cards {
    grid-template-columns: repeat(5, 1fr);
  }
}


/* ===== TOP PHOTO SLIDER (HERO 1) ===== */
.photo-slider {
  position: relative;
  width: 100%;
  /* taller hero-like height now */
  height: clamp(320px, 65vh, 520px);
  background: #050816;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0;              /* no extra gap */
}

.photo-slider,
.hero {
  margin-top: 0;
  margin-bottom: 0;
}


.slider-inner {
  width: min(1120px, 100% - 2rem);
  height: 100%;
  position: relative;
  border-radius: 1.6rem;
  overflow: hidden;
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.4);
}

/* make sure there's no weird gap above Hero 2 */
.photo-slider + .hero {
  margin-top: 0;
}

/* rest of your slider CSS stays the same */


/* slides */
.slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.7s ease-in-out, transform 0.7s ease-in-out;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* dark gradient overlay */
.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.1) 60%,
    rgba(0, 0, 0, 0.45) 100%
  );
}

/* caption */
.slide-caption {
  position: absolute;
  left: 1.9rem;
  bottom: 2rem;
  z-index: 2;
  max-width: min(520px, 80%);
  color: #f9fafb;
  text-align: left;
}

.slide-caption h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.25rem);
  font-weight: 800;
}

.slide-caption p {
  margin: 0;
  font-size: 1rem;
  opacity: 0.95;
}

/* arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.7);
  color: #e5e7eb;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.slider-arrow--left { left: 1.2rem; }
.slider-arrow--right { right: 1.2rem; }

.slider-arrow:hover {
  background: rgba(220, 38, 38, 0.9);
  transform: translateY(-50%) scale(1.05);
}

/* dots */
.slider-dots {
  position: absolute;
  inset-inline: 0;
  bottom: 1.3rem;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  z-index: 3;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  background: rgba(209, 213, 219, 0.55);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.slider-dot.active {
  width: 18px;
  background: #f97373; /* soft red to match brand */
  transform: translateY(-1px);
}

.photo-slider {
  margin-bottom: 0 !important;
}

.photo-slider + .hero {
  margin-top: 0 !important;
}

/* on mobile/tablet, keep it tight and slightly taller */
@media (max-width: 900px) {
  .photo-slider {
    height: clamp(320px, 70vh, 480px);
  }
}

@media (max-width: 768px) {
  

  .slider-inner {
    width: 100%;
    border-radius: 0;
  }

  .slider-arrow {
    width: 34px;
    height: 34px;
  }

  .slide-caption {
    left: 1rem;
    right: 1rem;
    bottom: 1.2rem;
    max-width: 100%;
  }

  .slide-caption h2 {
    font-size: 1.35rem;
  }

  .slide-caption p {
    font-size: 0.9rem;
  }
}


/* mobile / tablet: stack hero content and collage */
@media (max-width: 900px) {
  .hero {
    padding-top: 5.5rem; /* keep nav spacing */
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .hero-collage {
    max-width: 420px;
    margin: 0 auto;
  }
}



/* ===== Trust Badges ===== */
.trust-badges {
  background: #fff;
  padding: 2rem 1rem;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.trust-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}

@media (min-width: 720px) {
  .trust-container { grid-template-columns: repeat(4, 1fr); }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.trust-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.trust-item h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e2d64;
  margin: 0;
}

.trust-item p {
  font-size: 0.9rem;
  color: #555;
  margin: 0;
}

/* Icon colors */
.trust-icon.red { color: #c42e2e; }
.trust-icon.blue { color: #2f5bd8; }
.trust-icon.green { color: #2c974b; }

.trust-logo {
  width: 60px;
  height: auto;
  flex-shrink: 0;
  display: block;
}


/* ===== Campuses ===== */
.campus-section {
  background: #fcfcfc;
  padding: 2.5rem 1rem 3.5rem;
  border-top: 1px solid #eee;
}

.campus-wrap { max-width: 1100px; margin: 0 auto; }

.campus-title {
  text-align: center;
  color: #1f2b6c;
  font-weight: 800;
  font-size: 2rem;
  margin: 0 0 .35rem;
}

.campus-sub {
  text-align: center;
  color: #4b5563;
  margin: 0 0 1.6rem;
  font-size: 1.05rem;
}

.campus-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 820px) {
  .campus-grid { grid-template-columns: repeat(3, 1fr); }
}

.campus-card {
  background: #fff;
  border: 1.5px solid #f0f0f3;
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(0,0,0,.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.campus-card:hover {
  transform: translateY(-3px);
  border-color: #e7e7f2;
  box-shadow: 0 14px 28px rgba(0,0,0,.08);
}

.campus-img {
  position: relative;
  aspect-ratio: 16/9;          /* keeps images consistent */
  overflow: hidden;
}

.campus-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform .35s ease;
}

.campus-card:hover .campus-img img { transform: scale(1.06); }

.campus-body {
  padding: 1rem 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.campus-body h3 {
  margin: 0;
  color: #1f2b6c;
  font-weight: 800;
  font-size: 1.1rem;
}

.campus-address {
  margin: 0;
  color: #374151;
  line-height: 1.5;
  font-size: .98rem;
}

.campus-actions {
  margin-top: .6rem;
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .6rem 1rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}

.btn-primary {
  background: #e24533;  /* matches your site’s red */
  color: #fff;
  box-shadow: 0 6px 14px rgba(226,69,51,.18);
}
.btn-primary:hover { background: #ca4435; transform: translateY(-1px); }

.btn-outline {
  border: 2px solid #1e2d64;
  color: #1e2d64;
  background: transparent;
}
.btn-outline:hover { background: #1e2d64; color: #fff; transform: translateY(-1px); }


/*
About Section
*/

.about-section {
  padding: 5rem 2rem;
  background-color: #ffffff;
  text-align: center;
}

.about-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #1e2d64;
  margin-bottom: 1rem;
}

.about-header p {
  font-size: 1.2rem;
  color: #444;
  line-height: 1.6;
  max-width: 750px;
  margin: 0 auto 3rem;
}

.about-cards {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.about-card {
  background: #fff;
  border-radius: 15px;
  padding: 2rem 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  flex: 1;
  min-width: 260px;
  max-width: 350px;
  transition: all 0.3s ease;
  border: 3px solid #f2f2f2;
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border: 3px solid #f1cccb;
}


.icon-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 1.2rem;
}

.icon-circle.red {
  background-color: #fceeee;
  color: #c42e2e;
}

.icon-circle.blue {
  background-color: #e8f0ff;
  color: #1e2d64;
}

.icon-circle.green {
  background-color: #e8f9ec;
  color: #2c974b;
}

.about-card h3 {
  font-size: 1.2rem;
  color: #5467ad;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.about-card p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
}


/*
Core Values Section
*/

.core-values {
  padding: 3.5rem 1.25rem;
  background-color: #f9fafb;
  text-align: center;
}

.core-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #1e2d64;
  margin-bottom: 0.6rem;
}

.core-header p {
  font-size: 1.15rem;
  color: #444;
  margin-bottom: 3rem;
}

/* Grid: 1 col mobile, 2 cols tablet, 4 cols desktop */
.core-cards {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr; /* mobile */
}

@media (min-width: 640px) {
  .core-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .core-cards { grid-template-columns: repeat(4, 1fr); }
}

.core-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.1rem .95rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  width: 100%;
  max-width: none; /* let grid control width */
  transition: all 0.3s ease;
  border: 2px solid #f2f2f2;
}

.core-card:hover {
  border-color: #f1cccb;
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
}

.core-card .icon-circle {
  width: 52px;
  height: 52px;
  font-size: 1.2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto .75rem;
}

.core-card h3 {
  font-size: 1.05rem;
  color: #1e2d64;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.core-card p {
  font-size: 0.92rem;
  color: #444;
  line-height: 1.55;
}
/*
Core Values Section
*/

.core-values {
  padding: 3.5rem 1.25rem;
  background-color: #f9fafb;
  text-align: center;
}

.core-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #1e2d64;
  margin-bottom: 0.6rem;
}

.core-header p {
  font-size: 1.15rem;
  color: #444;
  margin-bottom: 3rem;
}

/* Grid: 1 col mobile, 2 cols tablet, 4 cols desktop */
.core-cards {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr; /* mobile */
}

@media (min-width: 640px) {
  .core-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .core-cards { grid-template-columns: repeat(4, 1fr); }
}

.core-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.1rem .95rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  width: 100%;
  max-width: none; /* let grid control width */
  transition: all 0.3s ease;
  border: 2px solid #f2f2f2;
}

.core-card:hover {
  border-color: #f1cccb;
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
}

.core-card .icon-circle {
  width: 52px;
  height: 52px;
  font-size: 1.2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto .75rem;
}

.core-card h3 {
  font-size: 1.05rem;
  color: #1e2d64;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.core-card p {
  font-size: 0.92rem;
  color: #444;
  line-height: 1.55;
}


/* Reuse icon-circle class */
.icon-circle {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 1rem;
}

.icon-circle.red {
  background-color: #fceeee;
  color: #c42e2e;
}


/*
Village Community Sect
*/

.village-section {
  background-color: #273581;
  color: #ffffff;
  padding: 5rem 2rem;
  text-align: center;
}

.village-icon .icon-circle {
  background-color: #e9a9a7;
  color: #273581;
  font-size: 3.3rem; /* increase globe icon size */
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  padding: 0.2rem; /* smaller padding = thinner circle */
}


.village-content h2 {
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
}

.village-content p {
  font-size: 1.25rem;
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto 2.5rem;
  color: #e8ecff;
}

.village-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.tag {
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  border: 1.5px solid;
}

.tag-red {
  color: #e9a9a7;
  border-color: #e9a9a7;
}

.tag-blue {
  color: #c8dbfb;
  border-color: #c8dbfb;
}

.tag-green {
  color: #a8e1a2;
  border-color: #a8e1a2;
}

.tag-yellow {
  color: #f3e066;
  border-color: #f3e066;
}

.tag-purple {
  color: #b7b4f9;
  border-color: #b7b4f9;
}

.village-button .support-btn {
  background-color: #e0362d;
  color: white;
  font-size: 1.1rem;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.village-button .support-btn:hover {
  background-color: #cf3030;
  transform: scale(1.05);
}


/*
OFfering Sect
*/

.offerings-section {
  padding: 5rem 1rem;
  text-align: center;
  background-color: #fcfcfc;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1f2b6c;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #4b5563;
  margin-bottom: 3rem;
}

.offerings-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.offering-card {
  background: #fff;
  border: 2px solid #f3f3f3;
  border-radius: 15px;
  padding: 2rem;
  width: 100%;
  max-width: 300px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 350px;
  transition: all 0.3s ease !important; /* Smooth transition for border, shadow, transform, etc. */
}

.offering-card:hover {
  border-color: #c8dbfb; /* or your red tone if you want */
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.offering-card h3 {
  color: #1f2b6c;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  transition: color 0.3s ease; /* Smooth heading color change */
}

.offering-card:hover h3 {
  color: #c13a32;
}


.offering-desc {
  color: #374151;
  margin-bottom: 1rem;
}

.offering-card ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.offering-card ul li {
  margin-bottom: 0.5rem;
  color: #374151;
  font-size: 1rem;
  display: flex;
  align-items: center;
}

.offering-card ul li i {
  color: #f3d218;
  margin-right: 0.5rem;
  font-size: 1.1rem;
}

.learn-more-btn {
  background: #4A5DFF;
  color: white;
  padding: 0.7rem 1.4rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.05rem;
  text-align: center;
  display: block;
  margin-top: auto;
  transition: all 0.2s ease;
}

.learn-more-btn:hover {
  background: #3748cc;
  transform: scale(1.05);
}

/*
Testimonials
*/

.testimonials {
  padding: 5rem 2rem;
  background: #f5f5f5;
  text-align: center;
}

.testi-header h2 {
  font-size: 2.6rem;
  font-weight: 800;
  color: #1e2d64;
  margin-bottom: .6rem;
}

.testi-header p {
  font-size: 1.15rem;
  color: #444;
  margin-bottom: 2.5rem;
}

.testi-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.testi-card {
  background: #fff;
  border: 2px solid #eee;
  border-radius: 18px;
  padding: 1.75rem;
  text-align: left;
  box-shadow: 0 6px 16px rgba(0,0,0,.06);
  transition: all .3s ease;
}

.testi-card:hover {
  transform: translateY(-4px);
  border-color: #f1cccb;
  box-shadow: 0 12px 24px rgba(0,0,0,.08);
}

.testi-top {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-bottom: 1rem;
}



/* Generic no-face avatar circle for testimonials */
.avatar.avatar-silhouette {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e5e7eb;          /* light gray */
  color: #4b5563;               /* darker gray for icon */
  border-radius: 999px;
  overflow: hidden;
}

.avatar.avatar-silhouette i {
  font-size: 1.4rem;
}


.testi-card h3 {
  font-size: 1.25rem;
  color: #1e2d64;
  margin: 0;
  font-weight: 700;
}

.role {
  display: block;
  color: #c13a32;
  font-weight: 600;
  margin-top: .15rem;
}

.stars {
  color: #fbbf24;
  margin: .25rem 0 1rem;
  font-size: 1.05rem;
}

.quote {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #2f3a4a;
  font-style: italic;
}



@media (max-width: 1024px) {
  .testi-cards { grid-template-columns: repeat(2, minmax(260px, 1fr)); }
}
@media (max-width: 640px) {
  .testi-cards { grid-template-columns: 1fr; }
  .testi-header h2 { font-size: 2.1rem; }
}


/*
Get In Touch Section
*/

/* ==== Contact Left Panel ==== */
:root{
  --brand:#2a4b9b; --text:#394452; --muted:#6b7685; --card:#f7f8fb; --ring:#e6e9f2;
  --phone-bg:#fde9e6; --phone-fg:#d1695d; --mail-bg:#eaf1ff; --mail-fg:#6b8ce6;
  --hours-bg:#e9f7ee; --hours-fg:#45a36b; --shadow:0 10px 30px rgba(16,24,40,.06);
}

.contact-wrap{max-width:1200px;margin:0 auto;padding:24px}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch; /* ✅ make both columns equal height */
}

.contact-left,
.contact-right {
  background: #fff;
  border: 1px solid var(--ring);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;          /* ✅ allows them to stretch evenly inside */
  flex-direction: column; /* content stays vertical */
}

@media (max-width:900px){ .contact-grid{grid-template-columns:1fr} }

/* Left panel */
.contact-left{
  background:var(--card);border:1px solid var(--ring);border-radius:20px;
  padding:28px;box-shadow:var(--shadow)
}
.contact-title{
  margin:0 0 10px;color:var(--brand);font-weight:800;
  font-size:clamp(1.5rem,1.2rem + 1vw,2rem)
}
.contact-blurb{margin:0 0 20px;color:var(--muted);line-height:1.6}

.contact-list{list-style:none;margin:0;padding:6px 0 0;display:grid;gap:14px}
.contact-item{
  display:grid;grid-template-columns:48px 1fr;gap:14px;align-items:center;
  background:#fff;border:1px solid var(--ring);border-radius:16px;padding:14px;
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease
}
.contact-item:hover{transform:translateY(-1px);border-color:#dfe3ee;box-shadow:0 8px 18px rgba(20,30,50,.05)}
.contact-icon{
  display:flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:12px;font-size:20px
}
.contact-icon.phone{background:var(--phone-bg);color:var(--phone-fg)}
.contact-icon.email{background:var(--mail-bg);color:var(--mail-fg)}
.contact-icon.hours{background:var(--hours-bg);color:var(--hours-fg)}
.contact-label{font-weight:700;font-size:.92rem;color:#223049}
.contact-value{font-size:.98rem;color:var(--text);text-decoration:none}
.contact-value:hover{text-decoration:underline}

/* Right panel (form) */
.contact-right{
  background:#fff;border:1px solid var(--ring);border-radius:20px;
  padding:28px;box-shadow:var(--shadow)
}
.contact-right .contact-title{font-size:1.6rem}
.contact-right .contact-blurb{margin-bottom:20px;color:var(--muted)}

#contactForm{display:grid;gap:14px}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media (max-width:560px){ .form-row{grid-template-columns:1fr} }

#contactForm input,#contactForm textarea{
  width:100%;padding:12px 14px;border:1px solid var(--ring);border-radius:10px;
  font-size:.95rem;outline:none;transition:border-color .15s
}
#contactForm input:focus,#contactForm textarea:focus{border-color:var(--brand)}
.send-btn{
  display:inline-flex;gap:8px;align-items:center;justify-content:center;
  background:#e24533;color:#fff;border:none;padding:12px 16px;border-radius:10px;
  font-size:1rem;font-weight:700;cursor:pointer;transition:background .2s
}
.send-btn:hover{background:#ca4435}
.form-status{margin-top:8px;font-size:.92rem}
