:root {
  --blue: #1e90ff;
  --pink: #ff4fa3;
  --yellow: #ffd93d;
  --green: #2ecc71;
  --bg: #f7faff;
  --white: #ffffff;
  --text: #2b2b2b;
  --muted: #555;
  --radius: 16px;
  --shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* ===========================
   GLOBAL
   =========================== */

body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  width: min(1100px, 92%);
  margin: auto;
  padding: 1.5rem 0;
}

h1, h2, h3 {
  margin: 0;
}

/* ===========================
   HERO (VIDEO + OVERLAY)
   =========================== */

.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 5rem 1rem 7rem;
  color: #fff;
  border-bottom: 10px solid var(--yellow);
}

/* Video behaves like background */
.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Dark overlay (same darkness as your old hero image) */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    rgba(0,0,0,.46),
    rgba(0,0,0,.46)
  );
}

/* Curve at bottom */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -40px;
  width: 100%;
  height: 120px;
  background: var(--bg);
  border-radius: 100% 100% 0 0;
  z-index: 2;
}

/* Text sits above overlay */
.hero .container {
  position: relative;
  z-index: 3;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  text-shadow: 0 6px 18px rgba(0,0,0,0.55);
}

.hero p {
  font-size: 1.2rem;
  margin-top: .5rem;
  opacity: .95;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 4px 12px rgba(0,0,0,0.45);
}

/* ===========================
   BUTTONS
   =========================== */

.btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 1rem 2rem;
  background: var(--blue);
  color: var(--white);
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(30,144,255,0.4);
  transition: 0.2s;
}

.btn:hover {
  background: #1878d8;
  transform: translateY(-3px);
}
.hero video {
  animation: heroFade 11s linear infinite;
}

@keyframes heroFade {
  0% { opacity: 1; }
  98% { opacity: 1; }
  100% { opacity: 0.99; }
}
