* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

body {
  background: #0f0f0f;
  color: #fff;
}

/* Header */
header {
  background: #111;
  padding: 12px;
  text-align: center;
  font-size: 14px;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;

  /* Mobile first background */
  background:
    linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
    url("./images/hero-mobile.png") center / cover no-repeat;
}
  /* background image + dark overlay */
  background:
    linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
    url("./images/hero-bg.png") center / cover no-repeat;
}

.hero h1 {
  font-size: 28px;
  margin-bottom: 10px;
}

.hero p {
  color: #ccc;
  margin-bottom: 20px;
}

.hero a {
  background: #25D366;
  color: #000;
  padding: 14px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
}

/* Testimonials */
.testimonials {
  padding: 40px 20px;
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 30px;
}

.testimonial-card {
  display: flex;
  gap: 15px;
  background: #1a1a1a;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 15px;
}

.testimonial-card img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.stars {
  color: #f5c542;
  font-size: 14px;
}

/* Footer */
footer {
  text-align: center;
  padding: 15px;
  font-size: 12px;
  color: #888;
}

/* Language Modal – Fullscreen & Mobile First */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
/* ---------- Apple-style motion tokens ---------- */
:root {
  --ease-apple: cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* ---------- Modal animation ---------- */
.modal {
  animation: modalFade 0.45s var(--ease-apple) forwards;
}

@keyframes modalFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-box {
  transform: scale(0.96) translateY(12px);
  opacity: 0;
  animation: modalBoxIn 0.45s var(--ease-apple) forwards;
  animation-delay: 0.08s;
}

@keyframes modalBoxIn {
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.modal-box {
  width: 100%;
  max-width: 420px;
  margin: 20px;
  background: #111;
  border-radius: 16px;
  padding: 30px 24px;
  text-align: center;
}

.modal-box h2 {
  font-size: 22px;
  margin-bottom: 24px;
  color: #fff;
}

/* Language buttons */
.modal-box button {
  width: 100%;
  padding: 14px 0;
  margin-bottom: 14px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 10px;
  border: none;
  cursor: pointer;
}

.modal-box button:first-of-type {
  background: #ffffff;
  color: #000;
}

.modal-box button:last-of-type {
  background: #2a2a2a;
  color: #fff;
}


.modal-box {
  background: #1a1a1a;
  padding: 25px;
  text-align: center;
  border-radius: 10px;
}

.modal-box button {
  margin: 10px;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
/* ---------- Hero content animation ---------- */
.hero-content {
  max-width: 640px;
  animation: heroIn 0.6s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
  opacity: 0;
  transform: translateY(18px);
}

@keyframes heroIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content h1,
.hero-content p,
.hero-content a {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.5s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

.hero-content h1 { animation-delay: 0.15s; }
.hero-content p  { animation-delay: 0.28s; }
.hero-content a  { animation-delay: 0.42s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Desktop background override */
@media (min-width: 768px) {
  .hero {
    background:
      linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
      url("./images/hero-desktop.png") center / cover no-repeat;
  }
}