:root {
  --blue: #2458e8;
  --blue-dark: #123fc2;
  --purple: #7745ed;
  --pink: #ff4f91;
  --ink: #081432;
  --text: #26314c;
  --muted: #65718b;
  --line: #e7ecf8;
  --card: #ffffff;
  --shadow: 0 22px 70px rgba(26, 61, 145, .13);
  --radius: 26px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth
}

body {
  font-family: "Inter", system-ui, sans-serif;
  background:
    radial-gradient(circle at 7% 36%, rgba(119, 69, 237, .08), transparent 26%),
    radial-gradient(circle at 88% 70%, rgba(36, 88, 232, .10), transparent 30%),
    linear-gradient(180deg, #fff 0%, #f7f9ff 54%, #fff 100%);
  color: var(--ink);
  overflow-x: hidden;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: #fff;
}

.container {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  align-items: center;
  gap: 42px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--purple));
}

.hero-content h1 {
  max-width: 680px;
  font-size: clamp(43px, 5.4vw, 70px);
  line-height: 1.05;
  letter-spacing: -.065em;
  margin-bottom: 26px;
}

.hero-content h1 span {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-content p {
  max-width: 560px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.95;
}

.hero-image-wrap {
  position: relative;
  min-height: 470px;
  display: grid;
  place-items: center;
}

.hero-image {
  width: min(100%, 690px);
  aspect-ratio: 16/10;
  object-fit: cover;
  object-position: center;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, .75);
  box-shadow: 0 34px 90px rgba(36, 88, 232, .20);
  filter: saturate(1.04) contrast(1.02);
  animation: heroFloat 5s ease-in-out infinite;
}

.vision-mission-section {
  position: relative;
  z-index: 8;
  margin-top: -110px;
}

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

.main-card,
.value-card,
.team-card,
.stats-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(226, 232, 248, .92);
  box-shadow: var(--shadow);
}

.main-card::before,
.value-card::before,
.team-card::before,
.stats-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--blue), rgba(119, 69, 237, .52), var(--pink));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.main-card {
  min-height: 245px;
  padding: 44px;
  display: grid;
  grid-template-columns: 108px 1fr;
  align-items: center;
  gap: 28px;
  backdrop-filter: blur(16px);
}

.float-card {
  animation: floatCard 4.8s ease-in-out infinite
}

.float-card:nth-child(2) {
  animation-delay: .65s
}

.card-icon {
  width: 94px;
  height: 94px;
}

.main-card h2 {
  font-size: 28px;
  letter-spacing: -.04em;
  margin-bottom: 12px;
}

.accent-line {
  display: block;
  width: 46px;
  height: 3px;
  border-radius: 999px;
  margin-bottom: 18px;
  background: linear-gradient(90deg, var(--blue), var(--purple), var(--pink));
}

.main-card p,
.value-card p,
.team-card p {
  color: #4d5971;
  font-size: 15px;
  line-height: 1.8;
}

.values-section,
.team-section,
.achievements-section {
  padding-top: 76px;
}

.section-title {
  text-align: center;
  margin-bottom: 36px;
}

.section-title h2 {
  font-size: 35px;
  letter-spacing: -.055em;
  margin-bottom: 10px;
}

.section-title>span {
  display: inline-block;
  width: 50px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--purple));
}

.section-title p {
  max-width: 680px;
  margin: 16px auto 0;
  line-height: 1.75;
  color: var(--muted);
}

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

.value-card {
  min-height: 285px;
  padding: 34px 24px;
  text-align: center;
  transition: .35s ease;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 34px 78px rgba(36, 88, 232, .18);
}

.value-icon {
  width: 78px;
  height: 78px;
  margin: 0 auto 24px;
  display: block;
}

.value-card h3 {
  font-size: 18px;
  line-height: 1.28;
  margin-bottom: 16px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 820px;
  margin: 0 auto;
}

.team-card {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border-radius: 22px;
}

.team-photo {
  width: 104px;
  height: 104px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 15px 34px rgba(36, 88, 232, .18);
  border: 5px solid #fff;
  background: #f4f7ff;
}

.team-info h3 {
  font-size: 18px;
  letter-spacing: -.03em;
  margin-bottom: 5px;
}

.team-info strong {
  display: block;
  color: var(--blue);
  font-size: 13px;
  margin-bottom: 8px;
}

.team-info p {
  font-size: 13px;
  line-height: 1.65;
}

.social-links {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.social-links a {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  transition: .25s ease;
  box-shadow: 0 10px 22px rgba(36, 88, 232, .13);
}

.social-links a:hover {
  transform: translateY(-3px)
}

.social-links .whatsapp {
  background: #25D366
}

.social-links .instagram {
  background: linear-gradient(135deg, #feda75, #d62976, #4f5bd5)
}

.social-links .facebook {
  background: #1877F2
}

.achievements-section {
  padding-bottom: 76px;
}

.stats-panel {
  padding: 32px 34px 40px;
  border-radius: 28px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-card {
  text-align: center;
  padding: 20px 26px;
  border-right: 1px solid var(--line);
}

.stat-card:last-child {
  border-right: 0
}

.stat-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 14px;
  display: block;
}

.counter {
  display: block;
  margin-bottom: 10px;
  font-size: 44px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.06em;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-card p {
  font-weight: 800;
  color: #18233d;
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .75s ease, transform .75s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatCard {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-14px)
  }
}

@keyframes heroFloat {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-12px)
  }
}

@media(max-width:1024px) {

  .hero-grid,
  .cards-two {
    grid-template-columns: 1fr
  }

  .hero-section {
    padding-top: 70px
  }

  .vision-mission-section {
    margin-top: -60px
  }

  .hero-image-wrap {
    min-height: 390px
  }

  .values-grid,
  .stats-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .stat-card:nth-child(2) {
    border-right: 0
  }
}

@media(max-width:720px) {
  .container {
    width: min(100% - 28px, 1120px)
  }

  .hero-section {
    min-height: auto;
    padding: 44px 0 100px
  }

  .hero-content h1 {
    font-size: 40px
  }

  .hero-content p {
    font-size: 16px
  }

  .hero-image-wrap {
    min-height: 310px
  }

  .main-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 32px 24px
  }

  .card-icon,
  .accent-line {
    margin-inline: auto
  }

  .values-grid,
  .team-grid,
  .stats-grid {
    grid-template-columns: 1fr
  }

  .team-card {
    grid-template-columns: 1fr;
    text-align: center
  }

  .team-photo {
    margin: auto
  }

  .social-links {
    justify-content: center
  }

  .stat-card {
    border-right: 0;
    border-bottom: 1px solid var(--line)
  }

  .stat-card:last-child {
    border-bottom: 0
  }
}

.hero-content h1 {
  font-size: 52px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -2px;
}

.hero-content p {
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.8;
  color: #2d3748;
}

.hero-section {
  width: 1200px;
  height: 250px;
  min-height: 650px;
  max-height: 650px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #fff;
  justify-content: center;
}


.hero-section::before,
.hero-section::after {
  display: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("images/hero-city-globe-books.png") center center / 1200px 650px no-repeat;
  border-radius: 30px;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg,
      rgba(255, 255, 255, .96) 0%,
      rgba(255, 255, 255, .88) 35%,
      rgba(255, 255, 255, .45) 62%,
      rgba(255, 255, 255, 0) 100%);
}


.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg,
      rgba(255, 255, 255, .96) 0%,
      rgba(255, 255, 255, .88) 35%,
      rgba(255, 255, 255, .45) 62%,
      rgba(255, 255, 255, 0) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 500px;
  margin-left: 40px;
  margin-top: -90px;
}