
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: #17243a;
  background: #f6f8fc;
}

/* HERO */

.hero {
  min-height: 370px;
  padding: 85px 8%;
  display: flex;
  align-items: center;
  background:
    linear-gradient(110deg, #071a35f5, #102d52e8),
    url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1600&q=85')
    center/cover;
  color: #fff;
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  display: inline-block;
  color: #f47721;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 17px;
}

.hero h1 {
  font: 800 clamp(34px, 5vw, 56px)/1.12 Manrope, sans-serif;
  margin-bottom: 18px;
}

.hero h1 span {
  color: #ff9b45;
}

.hero p {
  font-size: 17px;
  line-height: 1.8;
  color: #e0e8f3;
  margin-bottom: 25px;
}

.btn {
  display: inline-flex;
  padding: 14px 24px;
  border-radius: 7px;
  text-decoration: none;
  font-weight: 800;
  transition: .3s;
}

.btn-orange {
  background: #f47721;
  color: #fff;
}

.btn-orange:hover {
  background: #d95c0a;
  transform: translateY(-3px);
}

/* SECTIONS */

.section {
  padding: 76px 7%;
}

.section-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 35px;
}

.section-heading h2 {
  font: 800 clamp(27px, 3vw, 38px) Manrope;
  color: #071a35;
  margin-bottom: 12px;
}

.section-heading p {
  color: #66748a;
  line-height: 1.7;
}

/* SEARCH TOOLBAR */

.toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 auto 20px;
  max-width: 1150px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: white;
  border: 1px solid #e1e7ef;
  border-radius: 9px;
  padding: 0 16px;
  flex: 1;
  min-height: 48px;
}

.search-box span {
  font-size: 24px;
  color: #f47721;
}

.search-box input {
  border: 0;
  outline: 0;
  width: 100%;
  font: inherit;
  background: transparent;
}

.back-btn {
  border: 0;
  border-radius: 8px;
  padding: 14px 18px;
  background: #071a35;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: .3s;
}

.back-btn:hover {
  background: #f47721;
}

/* RESULTS */

.results-line {
  max-width: 1150px;
  margin: 0 auto 18px;
  display: flex;
  justify-content: space-between;
  color: #778397;
  font-size: 13px;
}

/* GRID */

.cert-grid {
  max-width: 1150px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

/* PROVIDER CARD */

.provider-card {
  cursor: pointer;
  text-align: center;
  padding: 25px 16px;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: white;
  border: 1px solid #e8edf4;
  border-radius: 14px;
  box-shadow: 0 8px 25px #10294b0b;
  transition: .3s;
  animation: rise .35s both;
}

.provider-card:hover,
.badge-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px #10294b18;
  border-color: #f6a15f;
}

.provider-logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, #071a35, #24527e);
  display: grid;
  place-items: center;
  color: white;
  font: 800 21px Manrope;
  margin-bottom: 13px;
}

.provider-card h3 {
  font: 800 17px Manrope;
  color: #102542;
  margin-bottom: 6px;
}

.provider-card p {
  font-size: 12px;
  color: #8792a3;
}

/* BADGE CARD */

.badge-card {
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: white;
  border: 1px solid #e8edf4;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 25px #10294b0b;
  transition: .3s;
  animation: rise .35s both;
}

.badge-image-wrap {
  width: 100%;
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.badge-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.badge-card h3 {
  font: 700 14px/1.45 Manrope;
  color: #102542;
  margin: 13px 0 5px;
}

.badge-card p {
  font-size: 11px;
  color: #f47721;
  font-weight: 800;
  letter-spacing: .5px;
}

/* EMPTY RESULTS */

.no-results {
  text-align: center;
  padding: 35px;
  color: #778397;
}

/* WHY SECTION */

.why-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
  background: white;
}

.why-content h2 {
  font: 800 34px Manrope;
  color: #071a35;
  margin-bottom: 18px;
}

.why-content p,
.why-content li {
  color: #66748a;
  line-height: 1.8;
}

.why-content ul {
  padding-left: 22px;
  margin-top: 18px;
}

.why-image img {
  width: 100%;
  border-radius: 15px;
  display: block;
}

/* CTA */

.cta-section {
  padding: 65px 7%;
  background: #071a35;
  color: white;
  text-align: center;
}

.cta-inner h2 {
  font: 800 32px Manrope;
  margin-bottom: 12px;
}

.cta-inner p {
  color: #c7d2e2;
  margin-bottom: 22px;
}


/* ANIMATION */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* TABLET */

@media(max-width: 900px) {
  .cert-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* MOBILE */

@media(max-width: 600px) {
  .hero {
    padding: 65px 7%;
    min-height: 330px;
  }

  .section {
    padding: 55px 5%;
  }

  .cert-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .provider-card {
    min-height: 145px;
    padding: 17px 8px;
  }

  .badge-card {
    padding: 9px;
  }

  .badge-image-wrap {
    height: 145px;
  }

  .badge-card h3 {
    font-size: 12px;
  }

  .results-line,
  .footer-bottom {
    flex-direction: column;
    gap: 7px;
  }

  .footer-bottom p:last-child {
    text-align: left;
  }

  .toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .back-btn {
    align-self: flex-start;
  }

  .why-section {
    grid-template-columns: 1fr;
  }
}
