* {
  box-sizing: border-box;
}

:root {
  --blue: #2f6ff0;
  --blue-dark: #173c80;
  --navy: #172a63;
  --gold: #e3a900;
  --pale: #e8f5f5;
  --text: #111827;
  --white: #ffffff;
  --max: 1180px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  /*font-family: Arial, Helvetica, sans-serif;*/
  color: var(--text);
  background: #fff;
  line-height: 1.45;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

/* Header */
.site-header {
  background: #fff;
  position: relative;
  margin-top: 80px;
  z-index: 20;
  /*box-shadow: 0 2px 12px rgba(0,0,0,.08);*/
}

@media (max-width: 1199.98px) {
  .site-header {
    margin-top: 50px;
  }
}

.top-link {
  text-decoration: none;
}

.nav-wrap {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  width: 70px;
}

.brand img {
  width: 100%;
  height: auto;
}

.nav {
  display: flex;
  gap: 28px;
  align-items: center;
  font-weight: 700;
  color: var(--navy);
}

.nav a {
  text-decoration: none;
}

.nav a:hover {
  color: var(--blue);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
}

/* Flow */
.flow-section {
  width: min(900px, 90%);
  max-width: 1109px;
  margin: 0 auto 30px;
}

.flow {
  display: flex;
  width: 100%;
  align-items: flex-start;
}

.flow-item {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
}

.arrow {
  position: relative;
  height: 24px;
  margin-right: 9px;
  background: #4679bd;
  clip-path: polygon(
    0 0,
    calc(100% - 11px) 0,
    100% 50%,
    calc(100% - 11px) 100%,
    0 100%,
    10px 50%
  );
}

.flow-item:nth-child(even) .arrow {
  background: #ed1017;
}

.flow-item:last-child .arrow {
  margin-right: 0;
}

.flow-label {
  margin-top: 28px;
  font-size: 18spx;
  line-height: 1.15;
  font-weight: 700;
  color: #111;
  white-space: nowrap;
}

/* Tablet */
@media (max-width: 700px) {
  .flow-section {
    width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }

  .arrow {
    height: 20px;
    margin-right: 5px;
  }

  .flow-label {
    margin-top: 18px;
    font-size: clamp(13px, 3.5vw, 20px);
  }
}

/* Small mobile */
@media (max-width: 430px) {
  .flow-section {
    padding: 14px 8px 20px;
  }

  .contact-info .email-icon {
    width: 24px;
    height: 15px;
  }

  .arrow {
    height: 15px;
    margin-right: 3px;
  }

  .flow-label {
    margin-top: 12px;
    font-size: clamp(9px, 3vw, 14px);
  }
}

/* Very narrow screens */
@media (max-width: 320px) {
  .flow-label {
    font-size: 8.5px;
  }

  .arrow {
    height: 12px;
  }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #e9f6f6 0%, #dceff2 100%);
  padding: 18px 0 42px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

/*.hero-flow {
  max-width: 850px;
  margin: 0 auto 0;
  display: flex;
  align-items: center;
  gap: 0;
  font-weight: 800;
  font-size: 16px;
  color: #000;
}

.hero-flow span {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 6px 4px;
}

.hero-flow i {
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 13px solid var(--blue);
  margin-left: -5px;
  z-index: 3;
}*/

.hero-photo {
  width: min(900px, 90%);
  margin: -1px auto 8px;
  aspect-ratio: 969 / 260;
  object-fit: cover;
}

.hero h1 {
  margin: 8px auto 4px;
  text-align: center;
  /*font-family: "Brush Script MT", "Segoe Script", cursive;*/
  font-size: clamp(26px, 3vw, 42px);
  color: #302d76;
  font-style: italic;
}

.hero-tagline {
  margin: 0 auto 10px;
  text-align: center;
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 800;
  color: #b37a00;
}

.hero-intro {
  max-width: 1030px;
  margin: 0 auto;
  text-align: center;
  font-weight: 700;
  font-size: 17px;
}

.hero-lower {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 55px;
  align-items: center;
}

.hero-lower h2 {
  text-align: center;
  color: #251b50;
  font-size: 23px;
  margin: 0 0 14px;
}

.reason-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.reason-list li {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  min-height: 56px;
  border-bottom: 1px solid #111;
  font-weight: 700;
  font-size: 15px;
}

.reason-icon {
  color: var(--blue-dark);
  font-size: 30px;
  text-align: center;
}

.effect img {
  width: min(100%, 440px);
  margin: auto;
}

.hero-shape {
  position: absolute;
  background: rgba(92, 101, 147, .65);
  transform: rotate(45deg);
  z-index: 1;
}

.hero-shape-one {
  width: 260px;
  height: 42px;
  right: -75px;
  top: 85px;
}

.hero-shape-two {
  width: 340px;
  height: 55px;
  left: -135px;
  bottom: 90px;
}

.hero-shape-three {
  width: 180px;
  height: 34px;
  right: -60px;
  bottom: 10px;
  background: rgba(48, 150, 218, .55);
}

/* General sections */
.section {
  padding: 62px 0;
}

.section-heading,
.connect-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.section-heading img {
  width: 92px;
}

.section-heading h2,
.connect-heading h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 52px);
  color: var(--blue);
}

.section-lead {
  max-width: 1050px;
  margin: 20px auto 42px;
  text-align: center;
  font-size: 20px;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.hub-card {
  min-height: 430px;
  background: var(--blue);
  color: white;
  border-radius: 28px;
  padding: 22px 14px;
  position: relative;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 8px 18px rgba(47,111,240,.12);
}

.hub-card h3 {
  margin: 0 0 12px;
  color: #050505;
  font-size: 23px;
  line-height: 1.15;
}

.hub-card p {
  font-size: 17px;
  margin: 10px 0;
}

.card-image {
  margin: 10px auto;
  object-fit: contain;
}

.resource-cover {
  width: 76px;
  height: 105px;
}

.map-image {
  width: 200px;
  height: 115px;
}

.directory-image {
  width: 100%;
  max-height: 155px;
  object-fit: contain;
  background: white;
  margin-top: 10px;
}

.hub-links {
  display: grid;
  gap: 16px;
  margin-top: 20px;
  text-align: left;
}

.hub-links a {
  text-decoration: none;
  font-size: 18px;
}

.hub-links span {
  display: inline-block;
  width: 34px;
  font-size: 25px;
}

.hub-links .book {
  font-size: 35px;
  vertical-align: middle;
}

.hub-links .book img {
  border: 0;
  border-radius: 0;
}

.hub-links small {
  margin-left: 38px;
}

.card-button {
  display: inline-block;
  margin-top: 12px;
  padding: 9px 15px;
  border-radius: 999px;
  background: white;
  color: var(--blue-dark);
  text-decoration: none;
  font-weight: 800;
}

.round-cta {
  position: absolute;
  right: -5px;
  bottom: -10px;
  width: 95px;
  height: 95px;
  border-radius: 50%;
  background: var(--gold);
  color: #111;
  display: grid;
  place-items: center;
  text-decoration: none;
  font-weight: 800;
  font-size: 12px;
}

/* Connect */
.connect {
  padding-top: 30px;
}

.connect-heading {
  justify-content: flex-start;
  margin-bottom: 35px;
}

.connect-heading img {
  width: 92px;
}

.connect-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 80px;
  align-items: start;
}

.contact-block {
  margin-bottom: 38px;
}

.contact-block h3,
.join-area h3 {
  color: var(--blue);
  font-size: 21px;
  margin: 0 0 4px;
}

.contact-block p,
.contact-block a,
.join-area a {
  font-size: 18px;
  color: var(--navy);
  text-decoration: none;
}

.join-area > h3 {
  text-align: center;
  font-size: 23px;
  margin-bottom: 20px;
}

.qr-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 55px;
  text-align: center;
}

.qr-card img {
  width: 160px;
  height: 160px;
  margin: 0 auto 8px;
}

.qr-card strong {
  display: block;
  color: var(--navy);
  font-size: 18px;
}

.qr-card a {
  display: inline-block;
  margin-top: 4px;
  font-size: 14px;
  text-decoration: underline;
}

.whatsapp-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 28px;
  text-align: center;
}

.social {
  text-align: center;
  margin-top: 35px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 12px;
}

.social-icons a {
  width: 46px;
  height: 46px;
  border: 2px solid var(--blue);
  border-radius: 10px;
  display: grid;
  place-items: center;
  text-decoration: none;
  font-weight: 900;
  color: var(--blue-dark);
  font-size: 23px;
}

.footer {
  background: #f1f1f1;
  padding: 22px 0;
  color: #666;
}

.footer p {
  margin: 0;
  text-align: center;
  font-size: 13px;
}

/* Responsive */
@media (max-width: 980px) {
  .hub-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-lower,
  .connect-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .effect img {
    width: min(100%, 520px);
  }

  .connect-grid {
    gap: 20px;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(var(--max), calc(100% - 24px));
  }

  .menu-toggle {
    display: grid;
    gap: 4px;
  }

  .menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--navy);
    border-radius: 2px;
  }

  .nav {
    position: absolute;
    top: 98px;
    right: 12px;
    left: 12px;
    display: none;
    padding: 18px;
    background: white;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,.15);
    flex-direction: column;
    align-items: stretch;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 9px;
  }

  .hero {
    padding-top: 8px;
  }

  .hero-flow {
    font-size: 12px;
  }

  .hero-flow i {
    border-top-width: 5px;
    border-bottom-width: 5px;
    border-left-width: 8px;
  }

  .hero-photo {
    width: 100%;
  }

  .hero h1 {
    font-size: 27px;
  }

  .hero-tagline {
    font-size: 17px;
  }

  .hero-intro {
    font-size: 14px;
  }

  .hero-lower {
    gap: 28px;
  }

  .reason-list li {
    font-size: 13px;
    grid-template-columns: 42px 1fr;
  }

  .section {
    padding: 42px 0;
  }

  .section-heading,
  .connect-heading {
    gap: 12px;
  }

  .section-heading img,
  .connect-heading img {
    width: 62px;
  }

  .section-heading h2,
  .connect-heading h2 {
    font-size: 34px;
  }

  .section-lead {
    font-size: 16px;
    margin-bottom: 28px;
  }

  .hub-grid {
    grid-template-columns: 1fr;
  }

  .hub-card {
    min-height: auto;
    padding-bottom: 30px;
  }

  .qr-grid,
  .whatsapp-row {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .qr-card img {
    width: 145px;
    height: 145px;
  }

  .hero-shape-one,
  .hero-shape-two,
  .hero-shape-three {
    opacity: .45;
  }
}
