:root {
  --primary: #f1f3f4;
  --secondary: #10224f;
  --secondary-soft: #233766;
  --accent: #38A69B;
  --text: #1d2530;
  --muted: #667085;
  --white: #ffffff;
  --border: #d8dee5;
  --shadow: 0 18px 45px rgba(16, 34, 79, 0.12);
  --off-secondary: rgb(0, 0, 0);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background-color: var(--primary);
  background-image: url("assets/BackgroundImage.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  background: var(--primary);
  border-bottom: 1px solid var(--border);
}

.logo-link {
  display: flex;
  justify-content: center;
  padding: 22px 20px 14px;
}

.logo {
  width: min(270px, 72vw);
  height: auto;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 5vw, 46px);
  padding: 13px 20px 16px;
  background: var(--secondary);
}

.main-nav a {
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: color 180ms ease, transform 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--accent);
  transform: translateY(-1px);
}

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 2vw 0;
}

.hero {
  display: block;
  min-height: 60px;
}

.hero-content,
.mission-card,
.service-card,
.founder-card,
.contact-card,
.why-section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(280px, 2fr);
  align-items: stretch;
  overflow: hidden;
  padding: 0;
  min-height: 440px;
}

.hero-content::after {
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 420px;
  height: 420px;
  content: "";
  background: radial-gradient(circle, rgba(56, 166, 155, 0.22), rgba(56, 166, 155, 0) 68%);
  pointer-events: none;
}

.hero-content > * {
  position: relative;
  z-index: 1;
}

.hero-text {
  align-self: center;
  padding: clamp(34px, 6vw, 64px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--secondary);
  line-height: 1.08;
}

hr {
  width: 1300px;
  height: 7px;
  background-color: var(--accent);
  border: none;
  place-self: center;
}

h1,
h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.7rem, 8vw, 5.6rem);
}

h2 {
  max-width: 760px;
  font-size: clamp(2.1rem, 5vw, 3.5rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 16px 0 0;
}

.hero-copy {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.16rem;
}

.hero-visual {
  display: flex;
  align-items: stretch;
  justify-content: center;
  min-height: 100%;
  overflow: hidden;
  background: var(--secondary);
}

.hero-image {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  object-position: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 2px solid var(--secondary);
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--white);
  background: var(--secondary);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
}

.button.secondary {
  color: var(--secondary);
  background: transparent;
}

.button.secondary:hover,
.button.secondary:focus-visible {
  color: var(--white);
  background: var(--secondary);
}

.mission-card {
  position: relative;
  padding: clamp(34px, 1vw, 34px);
  border-top: 0;
  border-left: 7px solid var(--accent);
}

.mission-card p {
  max-width: 930px;
  color: var(--text);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.mission-section {
  padding-top: 2vw;
  padding-bottom: 2vw;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 34px;
  align-items: start;
  padding: clamp(34px, 5vw, 54px);
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 26px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.split-section > div:first-child p,
.contact-section > div:first-child p {
  color: var(--off-secondary);
  font-size: 1.05rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  padding: 26px;
  border-left: 5px solid var(--accent);
}

.service-card p,
.founder-card p,
.contact-card p {
  color: var(--muted);
}

.why-section {
  padding: clamp(36px, 6vw, 56px);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 34px;
}

.why-grid > div {
  padding-top: 20px;
  border-top: 3px solid var(--accent);
}

.stat {
  display: block;
  color: var(--secondary);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1;
}

.about-section > h2 {
  margin-bottom: 34px;
}

.founder-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.founder-card {
  overflow: hidden;
  padding: 0 30px 34px;
}

.photo-placeholder {
  display: grid;
  place-items: center;
  min-height: 310px;
  margin: 0 -30px 28px;
  color: var(--secondary);
  background:
    linear-gradient(135deg, rgba(56, 166, 155, 0.22), rgba(16, 34, 79, 0.18)),
    var(--primary);
  border-bottom: 1px solid var(--border);
  font-weight: 800;
  text-align: center;
}

.founder-card .title {
  margin-top: 8px;
  color: var(--accent);
  font-weight: 800;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: 34px;
  align-items: start;
  padding: clamp(34px, 5vw, 54px);
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 26px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.contact-card {
  padding: 32px;
}

.contact-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.contact-list a {
  color: var(--secondary);
  font-weight: 700;
  text-decoration-color: var(--accent);
  text-underline-offset: 4px;
}

.note {
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 0.92rem;
}

.site-footer {
  padding: 28px 20px;
  color: var(--white);
  background: var(--secondary);
  text-align: center;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 860px) {
  .split-section,
  .contact-section,
  .founder-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 54px;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-text {
    padding-bottom: 34px;
  }

  .hero-visual {
    min-height: 320px;
  }

  .hero-image {
    min-height: 320px;
  }

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

@media (max-width: 560px) {
  .main-nav {
    gap: 12px;
  }

  .main-nav a {
    font-size: 0.76rem;
  }

  .section {
    width: min(100% - 28px, 1120px);
    padding: 58px 0;
  }

  .hero-content,
  .mission-card,
  .contact-card,
  .why-section {
    border-radius: 20px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .photo-placeholder {
    min-height: 240px;
  }
}
