:root {
  --primary: #008080;
  --primary-700: #006666;
  --primary-100: rgba(0, 128, 128, 0.08);
  --bg: #ffffff;
  --bg-alt: #f6fbfb;
  --card: #ffffff;
  --text: #1f2d2f;
  --muted: #607174;
  --line: rgba(31, 45, 47, 0.09);
  --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 18px 45px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 28px 80px rgba(15, 23, 42, 0.12);
  --radius: 24px;
  --radius-lg: 32px;
  --max-width: 1180px;
  --section-y: clamp(4.5rem, 7vw, 7rem);
  --section-x: clamp(1rem, 3vw, 1.5rem);
  --gap: 1rem;
  --surface-border: var(--line);
  --card-elev: var(--shadow-sm);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
}

.section,
.hero {
  padding-left: var(--section-x);
  padding-right: var(--section-x);
}

.section {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}

.section.alt {
  background: linear-gradient(180deg, #f9fcfc 0%, #ffffff 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--primary-100);
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--primary);
}

.section-head,
.section-header {
  max-width: 760px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.section-head-left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.section-head h2,
.section-header h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-top: 0.9rem;
  margin-bottom: 0.9rem;
  color: var(--primary);
}

.section-head p,
.section-header p {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 680px;
  margin: 0 auto;
}

.section-head-left p {
  margin-left: 0;
}

.section-sub {
  color: var(--muted);
  margin-top: 0.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 26px rgba(0, 128, 128, 0.24);
}

.btn-primary:hover {
  background: var(--primary-700);
}

.btn-secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: rgba(0, 128, 128, 0.25);
  color: var(--primary);
}

.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(2rem, 4vw, 4rem);
  padding-bottom: clamp(4rem, 7vw, 7rem);
  background:
    radial-gradient(circle at top right, rgba(0, 128, 128, 0.021), transparent 26%),
    radial-gradient(circle at bottom left, rgba(0, 128, 128, 0.021), transparent 24%),
    linear-gradient(180deg, #fbfefe 0%, #ffffff 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(30px);
  opacity: 0.55;
}

.hero::before {
  width: 320px;
  height: 320px;
  right: -120px;
  top: -100px;
  background: rgba(0, 128, 128, 0.12);
}

.hero::after {
  width: 260px;
  height: 260px;
  left: -110px;
  bottom: -110px;
  background: rgba(0, 128, 128, 0.08);
}

.hero-grid {
  display: grid;
  gap: 2.2rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 15px;
  border-radius: 999px;
  background: rgba(0, 128, 128, 0.08);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.page-title {
  font-size: clamp(2.8rem, 7vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
  color: var(--primary);
  font-weight: 900;
  text-wrap: balance;
  margin-bottom: 1rem;
}

.hero-desc {
  max-width: 62ch;
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.15rem);
  color: var(--muted);
  margin-bottom: 1.4rem;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.hero-performance {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1rem;
}

.hero-sm-card {
  min-width: 120px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
  text-align: center;
}

.hero-sm-card strong {
  display: block;
  font-size: 1rem;
}

.hero-sm-card small {
  color: var(--muted);
  font-size: 0.87rem;
}

.hero-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual {
  width: 100%;
  max-width: 540px;
}

.hero-illustration {
  width: 100%;
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.65);
  transition: transform 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {
  .hero-media:hover .hero-illustration {
    transform: translateY(-6px) scale(1.01);
  }
}

.cards-grid,
.stats-grid,
.features {
  display: grid;
  gap: 18px;
}

.cards-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.join-card,
.stat,
.vision-box,
.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.join-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
}

.join-card::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(0, 128, 128, 0.06);
}

.join-card::before {
  content: "";
  position: absolute;
  right: 40px;
  bottom: 40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(0, 128, 128, 0.06);
}

.card-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(0, 128, 128, 0.1);
  color: var(--primary);
  margin-bottom: 14px;
  font-size: 1.2rem;
}

.join-card h3,
.vision-box h3,
.feature h3 {
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
}

.join-card p,
.vision-box p,
.feature p {
  color: var(--muted);
}

.mini-list {
  display: grid;
  gap: 10px;
  margin-top: 1.2rem;
  position: relative;
  z-index: 1;
}

.mini-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.tick {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 128, 128, 0.12);
  color: var(--primary);
  flex: 0 0 auto;
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat {
  padding: 26px 22px;
  text-align: center;
}

.stat strong {
  display: block;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat span {
  color: var(--muted);
  font-weight: 600;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: center;
}

.split-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #eef7f7;
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vision-box {
  padding: 24px;
  margin-top: 16px;
}

.features {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 1.25rem;
}

.feature {
  padding: 1.5rem;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.7rem;
  transition: transform 200ms cubic-bezier(.2, .9, .3, 1), box-shadow 200ms;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.feature:hover {
  transform: translateY(-4px);
}

.feature i {
  font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.25rem);
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(0, 128, 128, 0.08), rgba(0, 128, 128, 0.02));
  color: var(--primary-700);
  display: grid;
  place-items: center;
  margin-bottom: 0.35rem;
}

.feature:focus-within,
.feature:focus {
  outline: 3px solid rgba(0, 128, 128, 0.12);
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.06);
}

.partners {
  padding: var(--section-y) 0;
  background: var(--bg-alt);
}

.partner-marquee {
  overflow: hidden;
  position: relative;
  padding: 8px 0;
}

.partner-marquee::before,
.partner-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.partner-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-alt), rgba(246, 251, 251, 0));
}

.partner-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg-alt), rgba(246, 251, 251, 0));
}

.partner-track {
  display: flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  animation: marquee 18s linear infinite;
}

.partner-logo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 12px 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.partner-logo-img {
  max-width: 120px;
  height: 54px;
  object-fit: contain;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.cta {
  padding: 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-700) 100%);
  color: #fff;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta-inner::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -90px;
  top: -90px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.cta-inner > div {
  position: relative;
  z-index: 1;
}

.cta h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.08;
  margin-bottom: 0.8rem;
}

.cta p {
  max-width: 65ch;
  opacity: 0.95;
}

.cta-badge {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.cta-badge::before {
  background: #fff;
}

.cta .btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.cta .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.small-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1rem;
}

.small-grid span {
  background: var(--card);
  color: #7b0000;
  font-weight: 700;
  border-radius: 10px;
  padding: 10px 14px;
  box-shadow: 1px 2px 0 rgb(233, 233, 233);
  flex: 1 1 140px;
  max-width: 160px;
  text-align: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
  }
}

@media (max-width: 960px) {
  .split,
  .cards-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .section-head,
  .section-header {
    text-align: center;
    margin-left: 0;
    margin-right: 0;
  }

  .section-head p,
  .section-header p {
    margin-left: 0;
  }

  .split-image {
    min-height: 340px;
  }

  .hero-actions {
    width: 100%;
  }

  .partner-marquee::before,
  .partner-marquee::after {
    width: 60px;
  }
}

@media (max-width: 640px) {
  .section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .hero {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .hero-actions .btn,
  .cta .btn {
    width: 100%;
  }

  .hero-sm-card {
    min-width: calc(50% - 6px);
    flex: 1 1 calc(50% - 6px);
  }

  .cta-inner {
    padding: 24px;
  }

  .split-image {
    min-height: 260px;
  }

  .partner-logo {
    min-width: 140px;
  }

  .partner-logo-img {
    max-width: 100px;
    height: 48px;
  }
}

@media (max-width: 500px) {
  .page-title,
  .hero-desc {
    text-align: center;
  }

  .hero-badge {
    display: block;
    max-width: max-content;
    margin-inline: auto;
  }
}


.testimonials {
  background: linear-gradient(180deg, #ffffff 0%, #f8fcfc 100%);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 1.5rem;
}

.testimonial-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 220px;
}

.card-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(0, 128, 128, 0.1);
  color: var(--primary);
  font-weight: 800;
  flex: 0 0 auto;
}

.card-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.card-name {
  font-weight: 800;
  color: var(--text);
}

.card-time,
.card-email {
  font-size: 0.88rem;
  color: var(--muted);
}

.card-message {
  color: var(--text);
  line-height: 1.7;
}

.no-testimonials,
.error {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  padding: 18px;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.page-info {
  font-weight: 700;
  color: var(--muted);
}

.testimonial-form {
  margin-top: 2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 24px;
}

.inputs-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.testimonial-form input,
.testimonial-form textarea {
  width: 100%;
  border: 1px solid rgba(31, 45, 47, 0.12);
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  color: var(--text);
  background: #fff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.testimonial-form textarea {
  resize: vertical;
  min-height: 140px;
}

.testimonial-form input:focus,
.testimonial-form textarea:focus {
  border-color: rgba(0, 128, 128, 0.45);
  box-shadow: 0 0 0 4px rgba(0, 128, 128, 0.08);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.status-text {
  color: var(--primary);
  font-weight: 600;
}

.error-msg {
  display: none;
  margin-top: 12px;
  color: #b42318;
  background: rgba(180, 35, 24, 0.06);
  border: 1px solid rgba(180, 35, 24, 0.14);
  padding: 12px 14px;
  border-radius: 14px;
}

@media (max-width: 1100px) {
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .testimonial-grid,
  .inputs-row {
    grid-template-columns: 1fr;
  }

  .testimonial-form {
    padding: 18px;
  }
}