/* Hero slider */
.hero {
  position: relative;
  height: 74vh;
  min-height: 520px;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 1s;
  opacity: 0;
}

.slide.active {
  opacity: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.35));
}

.hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  padding: 0 16px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 64px);
  margin: 0 0 12px;
}

.hero p {
  color: #eaeaea;
  max-width: 850px;
  margin: 0 auto 22px;
  font-size: clamp(14px, 2vw, 18px);
}

.hero .btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.hero .arrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  z-index: 3;
  transform: translateY(-50%);
}

.hero .arrow {
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, 0.85);
  display: grid;
  place-items: center;
  border-radius: 50%;
  margin: 0 10px;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.hero .arrow:hover {
  background: #fff;
}

/* Welcome section */
.welcome {
  background: #efefef;
  padding: 40px 0;
  border-top: 1px solid #e6e6e6;
  border-bottom: 1px solid #e6e6e6;
}

.welcome .box {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  text-align: center;
}

.welcome h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 4vw, 36px);
  letter-spacing: 0.4px;
}

.welcome p {
  color: var(--muted);
  margin: 0;
  font-size: clamp(14px, 2vw, 16px);
}

/* Features / Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin: 36px 0 16px;
  align-items: stretch;
}

@media (max-width: 1200px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (max-width: 900px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin: 28px 0 12px;
  }
}

@media (max-width: 600px) {
  .grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 24px 0 12px;
  }
}

.card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}

.icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 2px solid var(--brand);
  color: var(--brand);
  font-size: 26px;
}

.card h3 {
  margin: 0;
  font-size: clamp(18px, 2.5vw, 20px);
}

.card p {
  color: var(--muted);
  margin: 0 0 8px;
  font-size: clamp(14px, 1.8vw, 16px);
}

.card a {
  color: var(--brand);
  font-weight: 600;
}

/* Feature card "More Info" button */
.card a[data-i18n="features.more"] {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.card a[data-i18n="features.more"]:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.card a[data-i18n="features.more"]::after {
  content: "↗";
  font-size: 14px;
  line-height: 1;
}

/* News section */
.news {
  margin: 50px 0;
  background: #efefef;
  padding: 50px 0;
}

.news .panel {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px;
  text-align: center;
}

.news h3 {
  margin: 0 0 6px;
  font-size: clamp(24px, 4vw, 30px);
}

.news p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: clamp(14px, 2vw, 16px);
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .hero {
    min-height: 50vh;
    height: 50vh;
  }

  .hero-inner {
    padding: 0 20px;
  }

  .welcome {
    padding: 32px 0;
  }

  .welcome .box {
    padding: 24px;
  }

  .news {
    padding: 40px 0;
    margin: 40px 0;
  }

  .news .panel {
    padding: 28px 24px;
  }

  .card {
    padding: 20px;
  }

  .icon {
    width: 56px;
    height: 56px;
    font-size: 24px;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: 400px;
    height: 400px;
  }

  .hero .arrows {
    display: none;
  }

  .welcome {
    padding: 24px 0;
  }

  .welcome .box {
    padding: 20px;
  }

  .news {
    padding: 32px 0;
    margin: 32px 0;
  }

  .news .panel {
    padding: 24px 20px;
  }

  .card {
    padding: 18px;
  }

  .icon {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }
}


