:root {
  --navy: #071a3a;
  --green: #38ad64;
  --deep-green: #006633;
  --soft-green: #eff9f1;
  --orange: #f28527;
  --body: #18243b;
  --border: #dce8df;
  --shadow: 0 14px 36px rgba(7, 26, 58, 0.07);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--body);
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4.2vw 0 3.2vw;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid #e4e9e7;
  position: relative;
  z-index: 20;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.brand-name {
  color: var(--navy);
  font-weight: 800;
  font-size: clamp(1.35rem, 2vw, 2rem);
  letter-spacing: -1px;
}

.brand-name span {
  color: var(--green);
  margin-right: 7px;
}

.brand-mark {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 50%;
}

.brand-logo{
  width:100%;
  height:100%;
}

.brand-orbit,
.brand-smile,
.brand-dot{
  position: absolute;
  display: block;
}

.brand-logo {
  width: 100%;
  height: 100%;
}

.brand-orbit {
  border-radius: 50%;
  border-style: solid;
}

.orbit-green {
  width: 48px;
  height: 48px;
  left: 0;
  top: 5px;
  border-width: 8px;
  border-color: var(--green) transparent var(--green) var(--green);
  transform: rotate(20deg);
}

.orbit-blue {
  width: 39px;
  height: 39px;
  right: 0;
  top: 10px;
  border-width: 7px;
  border-color: var(--navy) var(--navy) var(--navy) transparent;
  transform: rotate(-8deg);
}

.brand-smile {
  width: 30px;
  height: 15px;
  left: 12px;
  top: 29px;
  border-bottom: 6px solid #e53a47;
  border-radius: 0 0 30px 30px;
}

.brand-dot {
  width: 6px;
  height: 6px;
  top: 20px;
  border-radius: 50%;
  background: var(--navy);
}

.dot-left { left: 17px; }
.dot-right { right: 12px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3.4vw, 56px);
  font-size: 0.98rem;
  font-weight: 500;
  color: #10182b;
}

.main-nav a {
  position: relative;
  padding: 12px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 4px;
  height: 2px;
  background: var(--green);
  transition: right 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  right: 0;
}

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

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
}

.hero {
  min-height: 298px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 38px 20px 58px;
  background:
    radial-gradient(circle at 12% 95%, rgba(66, 178, 95, 0.11), transparent 25%),
    radial-gradient(circle at 90% 10%, rgba(84, 176, 93, 0.10), transparent 24%),
    linear-gradient(180deg, #fff 0%, #fdfefd 100%);
}

.world-map {
  position: absolute;
  inset: 8px 7% auto;
  height: 215px;
  opacity: 0.42;
  background-image:
    radial-gradient(circle, #dce2df 1.45px, transparent 1.55px);
  background-size: 8px 8px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 35%, transparent 77%);
  mask-image: radial-gradient(ellipse at center, #000 35%, transparent 77%);
}

.curve {
  position: absolute;
  width: 280px;
  height: 160px;
  bottom: -75px;
  background: rgba(94, 181, 98, 0.10);
  border-radius: 50%;
}

.curve-left { left: -145px; transform: rotate(28deg); }
.curve-right { right: -95px; width: 360px; transform: rotate(-20deg); }

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 920px;
}

.hero h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.55rem, 4.6vw, 4.35rem);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -2px;
}

.tagline {
  margin: 12px 0 18px;
  color: #1c283d;
  font-size: clamp(1.05rem, 1.5vw, 1.45rem);
}

.accent-line {
  display: block;
  width: 88px;
  height: 4px;
  margin: 0 auto 25px;
  border-radius: 999px;
  background: var(--green);
}

.intro {
  margin: 0;
  font-size: clamp(0.93rem, 1.25vw, 1.18rem);
  line-height: 1.55;
  color: #374156;
}

.branches {
  padding: 16px 4.25vw 26px;
  background: #fff;
}

.branch-grid {
  max-width: 1405px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.branch-card {
  --card-color: var(--green);
  min-height: 500px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 36px 122px;
  border: 1px solid var(--border);
  border-radius: 18px;
  text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(250,253,251,0.97));
  box-shadow: var(--shadow);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.branch-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at 50% 8%, color-mix(in srgb, var(--card-color) 12%, transparent), transparent 41%);
}

.branch-card > * {
  position: relative;
  z-index: 2;
}

.branch-card:hover,
.branch-card:focus-visible {
  transform: translateY(-8px);
  border-color: color-mix(in srgb, var(--card-color) 55%, white);
  box-shadow: 0 20px 45px rgba(7, 26, 58, 0.13);
  outline: none;
}

.branch-card.usa { --card-color: #1d5fd0; }
.branch-card.camer { --card-color: #178d49; }
.branch-card.nigeria { --card-color: #0f9f5f; }
.branch-card.ivory { --card-color: #ef7a19; }

.flag-circle {
  width: 96px;
  height: 96px;
  margin-bottom: 14px;
  /*display: grid;
  place-items: center;*/
  border-radius: 50%;
  font-size: 4.4rem;
  line-height: 1;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 7px 18px rgba(7, 26, 58, 0.08);
}

.flag-circle img{
  width:100%;
  height: 100%;
}

.branch-card h2 {
  margin: 0;
  color: color-mix(in srgb, var(--card-color) 72%, #071a3a);
  font-size: clamp(1.2rem, 1.65vw, 1.7rem);
  line-height: 1.15;
  font-weight: 700;
  white-space: nowrap;
}

.card-line {
  width: 55px;
  height: 4px;
  margin: 18px 0 16px;
  border-radius: 999px;
  background: var(--card-color);
}

.branch-card p {
  margin: 0 0 20px;
  max-width: 270px;
  min-height: 108px;
  display: flex;
  align-items: center;
  color: #233047;
  font-size: 0.99rem;
  line-height: 1.58;
}

.branch-button {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border: 1.7px solid var(--card-color);
  border-radius: 9px;
  color: var(--card-color);
  font-size: 0.93rem;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

.branch-button b {
  font-size: 1.3rem;
  font-weight: 500;
}

.branch-card:hover .branch-button,
.branch-card:focus-visible .branch-button {
  color: #fff;
  background: var(--card-color);
}

.city-art {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 112px;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  padding: 0 16px 8px;
  color: var(--card-color);
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--card-color) 12%, white));
  opacity: 0.35;
  filter: grayscale(1);
}

.city-art::before {
  content: "";
  position: absolute;
  inset: 45px 0 0;
  background:
    linear-gradient(90deg,
      transparent 0 4%, currentColor 4% 7%, transparent 7% 10%,
      currentColor 10% 14%, transparent 14% 18%, currentColor 18% 22%,
      transparent 22% 27%, currentColor 27% 30%, transparent 30% 34%,
      currentColor 34% 41%, transparent 41% 46%, currentColor 46% 50%,
      transparent 50% 55%, currentColor 55% 61%, transparent 61% 66%,
      currentColor 66% 69%, transparent 69% 74%, currentColor 74% 79%,
      transparent 79% 84%, currentColor 84% 90%, transparent 90% 94%,
      currentColor 94% 97%, transparent 97% 100%);
  clip-path: polygon(0 60%, 5% 43%, 9% 70%, 14% 30%, 19% 65%, 24% 48%, 29% 70%, 35% 28%, 40% 68%, 47% 40%, 53% 69%, 59% 25%, 65% 55%, 70% 39%, 75% 66%, 82% 18%, 88% 64%, 94% 40%, 100% 70%, 100% 100%, 0 100%);
}

.city-art span {
  font-size: 2.6rem;
  position: relative;
  z-index: 2;
}

.closing-message {
  max-width: 640px;
  margin: 28px auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  text-align: center;
  color: #0d1830;
}

.people-icon {
  font-size: 2rem;
  filter: hue-rotate(70deg) saturate(1.3);
}

.closing-message p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.35;
  font-weight: 600;
}

.closing-message strong {
  color: #0d8e45;
}

@media (max-width: 1180px) {
  .branch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 880px;
  }

  .branch-card h2 {
    white-space: normal;
  }
}

@media (max-width: 860px) {
  .site-header {
    height: 82px;
    padding-inline: 22px;
  }

  .brand-mark {
    transform: scale(0.83);
    transform-origin: left center;
    margin-right: -8px;
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 30;
  }

  .main-nav {
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px 24px 24px;
    background: #fff;
    border-bottom: 1px solid #e4e9e7;
    box-shadow: 0 15px 30px rgba(7, 26, 58, 0.08);
  }

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

  .main-nav a {
    width: 100%;
    padding: 11px 0;
  }

  .hero {
    min-height: 335px;
  }
}

@media (max-width: 640px) {
  .brand-name {
    font-size: 1.25rem;
  }

  .hero {
    padding: 44px 20px 58px;
  }

  .hero h1 {
    font-size: 2.45rem;
  }

  .intro br {
    display: none;
  }

  .branches {
    padding-inline: 18px;
  }

  .branch-grid {
    grid-template-columns: 1fr;
    max-width: 410px;
  }

  .branch-card {
    min-height: 480px;
    padding-inline: 28px;
  }

  .branch-card p {
    min-height: auto;
  }

  .closing-message {
    align-items: flex-start;
    gap: 10px;
  }

  .closing-message p {
    font-size: 0.95rem;
  }
}
