* {
  box-sizing: border-box;
}

:root {
  --bg: #fffaf4;
  --surface: rgba(255, 255, 255, 0.88);
  --text: #32404d;
  --muted: #6d7a86;
  --primary: #ff8fab;
  --secondary: #7cc7ff;
  --accent: #ffd166;
  --green: #95d5b2;
  --purple: #cdb4db;
  --border: rgba(50, 64, 77, 0.08);
  --shadow: 0 16px 40px rgba(55, 84, 170, 0.12);
  --radius: 24px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 209, 102, 0.28), transparent 24%),
    radial-gradient(circle at top right, rgba(124, 199, 255, 0.25), transparent 22%),
    linear-gradient(180deg, #fffdf9 0%, #fff7ee 100%);
  position: relative;
  overflow-x: hidden;
}

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

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: 100vh;
  padding: 20px 0 56px;
  position: relative;
}

.nav {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 16px;
  z-index: 50;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 26px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  box-shadow: 0 10px 30px rgba(255, 143, 171, 0.35);
}

.site-title {
  font-size: 20px;
  margin: 0;
}

.site-subtitle {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.nav-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 999px;
  transition: 0.25s ease;
}

.nav-links a:hover {
  background: rgba(124, 199, 255, 0.15);
}

.menu-btn {
  display: none;
  border: none;
  background: var(--secondary);
  color: #fff;
  font-size: 20px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
  padding-top: 40px;
}

.hero-text,
.hero-card,
.card,
.stat-card,
.gallery-card,
.document-card,
.slider-card {
  background: var(--surface);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-text {
  border-radius: 32px;
  padding: 38px;
}

.badge {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(149, 213, 178, 0.22);
  color: #2a6a4a;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero-text h2 {
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.12;
  margin: 0 0 18px;
}

.hero-text p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
  margin: 0;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  background: linear-gradient(135deg, var(--primary), #ffa94d);
  color: white;
}

.btn.secondary {
  background: rgba(124, 199, 255, 0.18);
  color: var(--text);
}

.hero-card {
  border-radius: 30px;
  overflow: hidden;
}

.hero-card-top {
  background: linear-gradient(135deg, rgba(255, 209, 102, 0.45), rgba(205, 180, 219, 0.45));
  padding: 16px;
}

.hero-card-top img {
  width: 100%;
  aspect-ratio: auto;
  max-height: 560px;
  object-fit: contain;
  object-position: center top;
  border-radius: 24px;
  background: #ffffff;
}

.hero-card-body {
  padding: 22px 24px 26px;
}

.hero-card-body h3 {
  margin: 0 0 10px;
  font-size: 28px;
}

.hero-card-body p {
  margin: 8px 0;
  color: var(--muted);
}

.section {
  padding: 40px 0;
}

.section-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.section-icon {
  width: 60px;
  height: 60px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-size: 28px;
  background: linear-gradient(135deg, rgba(255,143,171,.25), rgba(124,199,255,.25));
  box-shadow: var(--shadow);
}

.section-head h2 {
  margin: 0;
  font-size: 34px;
}

.section-head p {
  margin: 6px 0 0;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 22px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  border-radius: var(--radius);
  padding: 24px;
}

.card h3 {
  margin-top: 0;
  font-size: 24px;
}

.card p {
  color: var(--muted);
  line-height: 1.75;
}

.soft-list {
  padding-left: 18px;
  margin: 0;
  line-height: 1.9;
  color: var(--text);
}

.image-card {
  padding: 0;
  overflow: hidden;
}

.image-card img,
.gallery-card img {
  width: 100%;
  object-fit: cover;
}

.image-card img {
  height: 290px;
}

.image-card-text {
  padding: 20px 24px 24px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.stat-card {
  border-radius: 26px;
  padding: 24px;
}

.stat-number {
  display: inline-flex;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  background: rgba(255, 209, 102, 0.25);
  margin-bottom: 12px;
}

.timeline {
  position: relative;
  padding-left: 18px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(var(--secondary), var(--primary));
}

.timeline-item {
  position: relative;
  padding-left: 48px;
  margin-bottom: 22px;
}

.timeline-dot {
  position: absolute;
  left: 12px;
  top: 26px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  border: 4px solid #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.accordion {
  display: grid;
  gap: 14px;
}

.accordion-item {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.accordion-btn {
  width: 100%;
  border: none;
  text-align: left;
  background: rgba(255,255,255,0.88);
  padding: 20px 22px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
}

.accordion-content {
  display: none;
  background: rgba(255,255,255,0.72);
  padding: 0 22px 20px;
  color: var(--muted);
  line-height: 1.75;
}

.accordion-item.active .accordion-content {
  display: block;
}

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

.gallery-card {
  border-radius: 22px;
  overflow: hidden;
}

.gallery-card img {
  height: 240px;
}

.gallery-card figcaption {
  padding: 14px 16px 16px;
  font-weight: 600;
}

.document-card {
  min-height: 200px;
}

.contact-section .card {
  min-height: 220px;
}

.slider-card {
  border-radius: 24px;
  padding: 20px;
}

.manual-slider {
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  align-items: center;
  gap: 16px;
}

.slider-image-wrap {
  min-width: 0;
  text-align: center;
}

.slider-image-wrap img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  object-position: center;
  border-radius: 18px;
  background: #fff;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

#slideCounter {
  margin: 12px 0 0;
  font-weight: 700;
  color: var(--muted);
}

.slider-btn {
  border: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 28px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), #ffa94d);
  color: #fff;
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  z-index: 5;
}

.slider-btn:active {
  transform: scale(0.96);
}

.footer {
  text-align: center;
  padding: 32px 16px 48px;
  color: var(--muted);
}

.floating-shape {
  position: fixed;
  z-index: -1;
  filter: blur(8px);
  opacity: 0.55;
}

.shape-1 {
  width: 180px;
  height: 180px;
  background: rgba(255, 143, 171, 0.22);
  top: 100px;
  left: -30px;
  border-radius: 45% 55% 52% 48% / 45% 42% 58% 55%;
}

.shape-2 {
  width: 220px;
  height: 220px;
  background: rgba(124, 199, 255, 0.24);
  top: 420px;
  right: -50px;
  border-radius: 60% 40% 52% 48% / 42% 51% 49% 58%;
}

.shape-3 {
  width: 180px;
  height: 180px;
  background: rgba(149, 213, 178, 0.2);
  bottom: 40px;
  left: 30px;
  border-radius: 48% 52% 35% 65% / 55% 35% 65% 45%;
}

@media (max-width: 980px) {
  .hero-content,
  .grid.two,
  .grid.three,
  .stats-grid,
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-content {
    align-items: stretch;
  }

  .nav {
    border-radius: 28px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 16px;
    border-radius: 24px;
    background: rgba(255,255,255,0.95);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .menu-btn {
    display: inline-grid;
    place-items: center;
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: unset;
  }

  .hero-content,
  .grid.two,
  .grid.three,
  .stats-grid,
  .gallery-grid,
  .nav-links.open {
    grid-template-columns: 1fr;
  }

  .hero-text,
  .card,
  .stat-card,
  .slider-card {
    padding: 20px;
  }

  .hero-text h2 {
    font-size: 32px;
  }

  .section-head h2 {
    font-size: 26px;
  }

  .site-subtitle {
    display: none;
  }

  .logo-circle {
    width: 48px;
    height: 48px;
  }

  .hero-card-body h3 {
    font-size: 24px;
  }

  .manual-slider {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .slider-image-wrap {
    order: 1;
  }

  #prevSlide {
    order: 2;
  }

  #nextSlide {
    order: 3;
  }

  .slider-btn {
    width: 100%;
    height: 48px;
    border-radius: 14px;
    font-size: 24px;
  }
}