/* =========================
   ELEFAANTY – RAINBOW PREMIUM THEME
   ========================== */

:root {
  --pink: #ff51c9;
  --pink-soft: #ffd5f6;

  --blue: #48c8ff;
  --blue-soft: #d8f4ff;

  --yellow: #ffcf4e;
  --yellow-soft: #fff3c9;

  --mint: #31e6ae;
  --mint-soft: #cfffee;

  --purple: #b084ff;
  --purple-soft: #f1e6ff;

  --orange: #ff8b3d;
  --orange-soft: #ffe3cc;

  --bg-soft: #fff9ff;

  --text-main: #151827;
  --text-muted: #6c6f82;

  --radius-lg: 26px;
  --radius-pill: 999px;
  --shadow-soft: 0 22px 55px rgba(60, 80, 160, 0.25);
  --max-width: 1180px;
}

/* RESET */

*,
*::before,
*::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text-main);
  background: radial-gradient(circle at top, #fff3ff 0, #fff 45%, #ffeef9 100%);
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* LAYOUT HELPERS */

.wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 90px 0; }

.section-header { margin-bottom: 32px; }
.section-header.center { text-align: center; }
.section-header.left { text-align: left; }

.section-header h2 {
  font-size: 2.3rem;
  margin: 6px 0;
  letter-spacing: 0.02em;
}
.section-header p {
  max-width: 640px;
  font-size: 0.98rem;
  color: var(--text-muted);
}
.section-header.center p { margin: 0 auto; }

.tagline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.98);
  font-size: 0.8rem;
  color: var(--text-muted);
  box-shadow: 0 6px 22px rgba(199, 210, 255, 0.9);
  position: relative;
  overflow: hidden;
}

.tagline::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,
    rgba(255, 160, 220, 0.2),
    rgba(255, 244, 189, 0.3),
    rgba(184, 236, 255, 0.25)
  );
  mix-blend-mode: soft-light;
  opacity: 0.75;
}

.tagline .dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--orange));
}

/* GRID */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 22px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 22px;
}
.two-col {
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(0,0.9fr);
  gap: 36px;
  align-items: flex-start;
}

/* NAVBAR */

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(210, 216, 255, 0.9);
  box-shadow: 0 10px 25px rgba(93, 118, 186, 0.14);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.brand img { height: 56px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.92rem;
}

.nav-links a {
  color: var(--text-main);
  opacity: 0.9;
  position: relative;
  padding-bottom: 4px;
  font-weight: 500;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg,#ff51c9,#ffcf4e,#48c8ff);
  transition: width .22s ease;
}
.nav-links a:hover::after { width: 100%; }

.btn-nav {
  font-size: 0.85rem;
  padding: 9px 22px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  border: none;
  background: transparent;
  padding: 4px;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px; height: 2.3px;
  border-radius: 999px;
  background: #333;
  transition: transform .22s ease, opacity .22s ease;
}
.nav-toggle.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* BUTTONS */

.btn-primary,
.btn-ghost {
  border-radius: var(--radius-pill);
  padding: 11px 22px;
  border: none;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg,#ff51c9,#ff8b3d,#48c8ff);
  color: #fff;
  box-shadow: 0 16px 36px rgba(255, 102, 188, 0.55);
  transition: transform .16s ease, box-shadow .16s ease;
  animation: btnPulse 2.4s ease-in-out infinite;
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -20%;
  width: 40%;
  height: 220%;
  background: linear-gradient(90deg,rgba(255,255,255,0.9),transparent);
  transform: translateX(-120%) rotate(18deg);
  opacity: 0.7;
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 20px 46px rgba(255, 120, 192, 0.75);
}
.btn-primary:hover::after {
  animation: shine 0.7s forwards;
}

.btn-ghost {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid #dde4ff;
  box-shadow: 0 8px 22px rgba(159, 180, 223, 0.5);
}
.btn-ghost:hover {
  border-color: var(--pink);
  box-shadow: 0 12px 32px rgba(163, 122, 255, 0.6);
}

.btn-link {
  font-size: 0.88rem;
  color: var(--pink);
  font-weight: 500;
}

.chip {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.98);
  font-size: 0.78rem;
}

/* CARDS */

.card {
  border-radius: var(--radius-lg);
  padding: 18px 18px 20px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(115,142,184,0.26);
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 0 0, rgba(255, 219, 248, 0.7), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(201, 232, 255, 0.7), transparent 60%);
  opacity: 0;
  transition: opacity .25s ease;
}
.card > * { position: relative; z-index: 2; }

.card:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 26px 60px rgba(120, 110, 255, 0.45);
}
.card:hover::before { opacity: 1; }

/* ============ HERO – RAINBOW PREMIUM (WITH BANNER) ============ */

.hero {
  position: relative;
  overflow: hidden;
  background: #ffe3ff; /* fallback under banner */
}

/* Banner behind everything */
.hero-banner {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

/* Optional soft white overlay for better text contrast */
.hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 245, 250, 0.90) 0%,
    rgba(255, 235, 245, 0.65) 25%,
    rgba(255, 225, 240, 0.35) 55%,
    rgba(255, 215, 240, 0.15) 75%,
    rgba(255, 210, 240, 0.05) 100%
  );
  z-index: 1;
}


/* soft blobs (still on top of banner for subtle glow) */
.hero::before,
.hero::after {
  content:"";
  position:absolute;
  border-radius: 50%;
  filter: blur(44px);
  opacity: 0.7;
  z-index: 1;
}
.hero::before {
  width: 340px;
  height: 340px;
  background: rgba(255,243,196,0.9);
  top: -90px;
  left: -70px;
}
.hero::after {
  width: 380px;
  height: 380px;
  background: rgba(255,213,244,0.9);
  top: -120px;
  right: -80px;
}

/* drifting blobs */
.hero::after,
.hero::before {
  animation: blobFloat 16s ease-in-out infinite alternate;
}

/* decorative clouds */
.hero::marker { display: none; }

.hero-inner {
  position: relative;
  z-index: 5;
  padding: 110px 0 130px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hero-text-card {
  max-width: 640px;

  animation: fadeUp 0.9s ease-out both;
}


.hero-tagline {
  background: rgba(255,250,255,0.96);
  box-shadow: 0 10px 24px rgba(255,180,218,0.85);
}

.hero-title {
  font-size: 2.9rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.12;
  margin: 12px 0 8px;
  letter-spacing: 0.02em;
}
.hero-title span {
  color: #ff3fae;
  text-shadow: 0 5px 16px rgba(255, 88, 178, 0.6);
}

.hero-sub {
  margin: 10px 0 20px;
  max-width: 580px;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.hero-stickers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}
.sticker {
  padding: 6px 18px;
  background: #ffffff;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 12px 24px rgba(0,0,0,0.18);
  animation: pop 3.8s ease-in-out infinite;
}
.sticker.s1 { background: linear-gradient(135deg,#ffe3ff,#ffffff); }
.sticker.s2 { background: linear-gradient(135deg,#fff5d3,#ffffff); animation-delay: .33s; }
.sticker.s3 { background: linear-gradient(135deg,#e7f6ff,#ffffff); animation-delay: .66s; }

.hero-langs-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.bubble {
  box-shadow: 0 10px 22px rgba(0,0,0,0.12);
  animation: float 5.6s ease-in-out infinite;
  background: linear-gradient(135deg,#ffffff,#f9f4ff);
}

/* sparkles */
.sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 3;
}
.sparkles span {
  position: absolute;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: radial-gradient(circle,
      rgba(255,255,255,1) 0%,
      rgba(255,217,250,0.9) 30%,
      rgba(153, 229, 255, 0.0) 70%);
  opacity: 0.95;
  animation: sparkle 9s linear infinite;
}

.sparkles span:nth-child(1){ top:18%; left:12%; }
.sparkles span:nth-child(2){ top:26%; left:55%; }
.sparkles span:nth-child(3){ top:34%; left:78%; }
.sparkles span:nth-child(4){ top:46%; left:20%; }
.sparkles span:nth-child(5){ top:60%; left:72%; }
.sparkles span:nth-child(6){ top:64%; left:10%; }
.sparkles span:nth-child(7){ top:14%; left:40%; }
.sparkles span:nth-child(8){ top:50%; left:50%; }
.sparkles span:nth-child(9){ top:32%; left:5%; }
.sparkles span:nth-child(10){ top:16%; left:88%; }

.sparkles span:nth-child(odd) {
  animation-duration: 7s;
  animation-delay: -2s;
}
.sparkles span:nth-child(even) {
  animation-duration: 10s;
}

/* characters */
.hero-char {
  position: absolute;
  z-index: 4;
  animation: float 4.4s ease-in-out infinite;
  pointer-events: none;
  filter:
    drop-shadow(0 16px 26px rgba(255,140,220,0.4))
    drop-shadow(0 5px 14px rgba(0,0,0,0.18));
}
.hero-char.ele {
  width: 160px;
  bottom: -4px;
  left: 4%;
  animation-delay: .3s;
}
.hero-char.baby {
  width: 160px;
  bottom: -8px;
  right: 5%;
  animation-delay: .7s;
}
.hero-char.dog {
  width: 120px;
  top: 18%;
  right: 16%;
  animation-delay: 1.1s;
}

/* hero wave */
.hero-wave {
  width: 100%;
  height: 90px;
  background-image: url("data:image/svg+xml,%3Csvg width='1440' height='90' viewBox='0 0 1440 90' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='0'%3E%3Cstop offset='0' stop-color='%23FF51C9'/%3E%3Cstop offset='0.35' stop-color='%23FFCF4E'/%3E%3Cstop offset='0.7' stop-color='%2348C8FF'/%3E%3Cstop offset='1' stop-color='%23B084FF'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 45L80 39C160 33 320 21 480 17C640 13 800 17 960 27C1120 37 1280 53 1360 61L1440 69V90H0V45Z' fill='url(%23g)'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  margin-top: -12px;
  z-index: 6;
}

/* SECTION BACKGROUNDS – RAINBOW FLOW */

.section-rainbow-1 { background: linear-gradient(135deg,#ffeaf7,#fff0e6,#e6f3ff); }
.section-rainbow-2 { background: linear-gradient(135deg,#eaf6ff,#fff4f7,#fdf7ff); }
.section-rainbow-3 { background: linear-gradient(135deg,#fff4db,#ffe8f7,#e4f8ff); }
.section-rainbow-4 { background: linear-gradient(135deg,#e0ffe9,#f8eaff,#fff8e2); }
.section-rainbow-5 { background: linear-gradient(135deg,#e1f3ff,#ffeeff,#fff6ea); }
.section-rainbow-6 { background: linear-gradient(135deg,#fff1e1,#ffe4fa,#e8faff); }

/* TRUST CARDS */

.trust-card { font-size: 0.9rem; }
.trust-card h3 {
  font-size: 1rem;
  margin: 6px 0 4px;
}
.trust-card p {
  font-size: 0.86rem;
  color: var(--text-main);
}
.icon-circle {
  width: 42px; height: 42px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.9);
  margin-bottom: 8px;
  box-shadow: 0 10px 22px rgba(176, 151, 255, 0.55);
}

.trust-card.c1 { background: linear-gradient(135deg,#ffe2f7,#ffffff); }
.trust-card.c2 { background: linear-gradient(135deg,#e2f4ff,#ffffff); }
.trust-card.c3 { background: linear-gradient(135deg,#fff1c7,#ffffff); }
.trust-card.c4 { background: linear-gradient(135deg,#e9ddff,#ffffff); }
.trust-card.c5 { background: linear-gradient(135deg,#ffe4d8,#ffffff); }
.trust-card.c6 { background: linear-gradient(135deg,#ddffe9,#ffffff); }

/* ABOUT */

.highlight-box {
  margin: 12px 0 18px;
  padding: 15px 17px;
  border-radius: 18px;
  background: linear-gradient(135deg,rgba(255,242,251,0.98),rgba(227,214,255,0.98));
  font-size: 0.9rem;
  color: #5f315d;
  box-shadow: 0 12px 34px rgba(201,116,187,0.45);
}

/* VALUES */

.values-grid { margin-top: 18px; }

.value-card {
  text-align: center;
  font-size: 0.86rem;
}
.value-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  margin: 0 auto 7px;
  display: flex; align-items:center; justify-content:center;
  background: rgba(255,255,255,0.96);
  box-shadow: 0 10px 24px rgba(156, 159, 255, 0.5);
}
.value-card h3 {
  font-size: 0.96rem;
  margin-bottom: 3px;
}
.value-card p {
  font-size: 0.8rem;
  color: var(--text-main);
}

.value-card.v1 { background: linear-gradient(135deg,#ffe4f8,#ffffff); }
.value-card.v2 { background: linear-gradient(135deg,#e1f1ff,#ffffff); }
.value-card.v3 { background: linear-gradient(135deg,#fff4cf,#ffffff); }
.value-card.v4 { background: linear-gradient(135deg,#e6e0ff,#ffffff); }
.value-card.v5 { background: linear-gradient(135deg,#ffe4dd,#ffffff); }
.value-card.v6 { background: linear-gradient(135deg,#e0ffe8,#ffffff); }
.value-card.v7 { background: linear-gradient(135deg,#f6e1ff,#ffffff); }
.value-card.v8 { background: linear-gradient(135deg,#def7ff,#ffffff); }

/* BULLETS */

.bullet-list {
  list-style: none;
  padding-left: 0;
  margin: 12px 0 0;
}
.bullet-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  padding-left: 22px;
  position: relative;
}
.bullet-list li::before {
  content: "•";
  position: absolute;
  left: 5px; top: 0;
  color: var(--pink);
  font-size: 1.25rem;
}
.bullet-list.small li { font-size: 0.86rem; }

/* LIBRARY */

.library-card h3 {
  font-size: 0.96rem;
  margin: 6px 0 4px;
}
.library-card p {
  font-size: 0.86rem;
  color: var(--text-main);
}
.library-card.l1 { background: linear-gradient(135deg,#ffe0ff,#ffffff); }
.library-card.l2 { background: linear-gradient(135deg,#e0f2ff,#ffffff); }
.library-card.l3 { background: linear-gradient(135deg,#fff0cf,#ffffff); }
.library-card.l4 { background: linear-gradient(135deg,#e0ffe7,#ffffff); }

.mt-20 { margin-top: 20px; }
.mt-16 { margin-top: 16px; }
.mt-10 { margin-top: 10px; }

/* COMPETITION */

.competition-grid { align-items: center; }
.competition-card { text-align: center; }

.competition-kid {
  height: 170px;
  margin: 0 auto 6px;
}

.stats-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.stat-chip {
  min-width: 100px;
  padding: 8px 12px;
  border-radius: 18px;
  background: linear-gradient(135deg,#fff0fb,#ffe8ff);
  font-size: 0.78rem;
  box-shadow: 0 8px 22px rgba(255, 151, 219, 0.6);
}
.stat-chip strong {
  display: block;
  color: var(--pink);
  font-size: 1rem;
}

/* JOIN */

.join {
  padding: 80px 0;
  background: linear-gradient(135deg,#ffe5f7,#ffe9ce,#dff2ff);
}
.join-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.join-inner h2 {
  font-size: 2.1rem;
  margin-bottom: 8px;
}
.join-inner p {
  font-size: 0.96rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.join-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 18px;
}
.social-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--text-muted);
}
.social-pill {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.96);
  box-shadow: 0 10px 24px rgba(138,168,202,0.7);
}

/* CONTACT */

.contact-section { background: #f8f5ff; }
.contact-grid { align-items: flex-start; }

.contact-form h3 {
  font-size: 1rem;
  margin-bottom: 10px;
}
.field {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
  font-size: 0.86rem;
  color: #4b5770;
}
.field span { margin-bottom: 4px; }
.field input,
.field textarea {
  padding: 9px 11px;
  border-radius: 14px;
  border: 1px solid #d5e0ff;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border .16s ease, box-shadow .16s ease, transform .16s ease;
  background: rgba(255,255,255,0.98);
}
.field textarea {
  min-height: 110px;
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 2px rgba(255,167,221,0.6);
  transform: translateY(-1px);
}

/* FOOTER */

.site-footer {
  background: #181526;
  color: #f2f0ff;
  font-size: 0.8rem;
  padding: 18px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.footer-links {
  display: flex;
  gap: 12px;
}
.footer-links a { color: #d7d3ff; }

/* ============ ANIMATIONS ============ */

@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes pop {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
@keyframes sparkle {
  0%   { transform: translateY(0) scale(0.7); opacity: .9; }
  50%  { transform: translateY(-40px) scale(1.1); opacity: .4; }
  100% { transform: translateY(-80px) scale(0.6); opacity: 0; }
}
@keyframes heroGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes blobFloat {
  from { transform: translate3d(0,0,0) scale(1); }
  to   { transform: translate3d(20px,16px,0) scale(1.05); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(25px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes cardPop {
  0% { opacity: 0; transform: translateY(30px) scale(0.94); }
  60% { opacity: 1; transform: translateY(-4px) scale(1.02); }
  100% { transform: translateY(0) scale(1); }
}
@keyframes wobble {
  0%,100% { transform: translateY(0); }
  25% { transform: translateY(-6px); }
  50% { transform: translateY(0); }
  75% { transform: translateY(4px); }
}
@keyframes bounce {
  0%,100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
}
@keyframes btnPulse {
  0%,100% { box-shadow: 0 16px 36px rgba(255,102,188,0.45); }
  50% { box-shadow: 0 22px 50px rgba(255,102,188,0.75); }
}
@keyframes shine {
  from { transform: translateX(-140%) rotate(18deg); }
  to   { transform: translateX(220%) rotate(18deg); }
}

/* helpers for entry animations (optional classes) */
.fade-up { animation: fadeUp 0.9s ease-out both; }
.slide-left { animation: slideLeft 0.9s ease-out both; }
.slide-right { animation: slideRight 0.9s ease-out both; }
.card-pop { animation: cardPop 1s ease-out both; }
.wobble { animation: wobble 3.6s ease-in-out infinite; }
.avatar-bounce { animation: bounce 3.6s ease-in-out infinite; }

/* RESPONSIVE */

@media (max-width: 992px) {
  .two-col,
  .competition-grid,
  .contact-grid {
    grid-template-columns: minmax(0,1fr);
  }
  .grid-3 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .grid-4 { grid-template-columns: repeat(2,minmax(0,1fr)); }

  .hero-inner {
    padding: 90px 0 110px;
  }

  .hero-char.ele {
    width: 140px;
    left: -10px;
  }
  .hero-char.baby {
    width: 140px;
    right: -10px;
  }
  .hero-char.dog {
    top: 16%;
    right: 12%;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    inset: 100% 0 auto 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 20px 16px;
    border-bottom: 1px solid #e0e6ff;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
    box-shadow: 0 14px 30px rgba(128, 139, 210, 0.45);
  }
  .nav-links.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .btn-nav { display: none; }
  .nav-toggle { display: flex; }

  .section { padding: 70px 0; }

  .hero-inner {
    padding: 90px 0 100px;
    justify-content: center;
  }

  .hero-text-card {
    padding: 20px 18px 18px;
    border-radius: 24px;
  }

  .hero-title {
    font-size: 2.3rem;
  }
  .hero-sub {
    font-size: 0.95rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-char.ele {
    width: 130px;
    bottom: -4px;
    left: -20px;
  }
  .hero-char.baby {
    width: 130px;
    bottom: -6px;
    right: -20px;
  }
  .hero-char.dog {
    width: 100px;
    top: 14%;
    right: 10%;
  }

  .hero-banner img {
    object-position: center;
  }
}

@media (max-width: 560px) {
  .grid-3,
  .grid-4 { grid-template-columns: minmax(0,1fr); }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-title {
    font-size: 2rem;
  }
}
/* =========================
   ELEFAANTY INTRO STORY
   ========================= */

.elefaanty-intro {
  background: linear-gradient(
    135deg,
    #fff4fb,
    #fff9e8,
    #eef8ff
  );
  position: relative;
  overflow: hidden;
}

.intro-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.intro-pill {
  display: inline-block;
  margin-bottom: 14px;
}

.intro-title {
  font-size: 2.2rem;
  line-height: 1.2;
  margin-bottom: 14px;
}

.intro-title span {
  color: var(--pink);
  text-shadow: 0 4px 14px rgba(255, 81, 201, 0.35);
}

.intro-text {
  font-size: 0.96rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.highlight-line {
  background: linear-gradient(
    135deg,
    rgba(255, 229, 247, 0.9),
    rgba(223, 242, 255, 0.9)
  );
  padding: 12px 16px;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(170, 150, 255, 0.35);
  color: #4b2c55;
}

.intro-cta-text {
  margin-top: 18px;
  font-size: 1.1rem;
  color: var(--text-main);
}

.intro-actions {
  margin-top: 20px;
}

/* Mobile tweaks */
@media (max-width: 768px) {
  .intro-title {
    font-size: 1.8rem;
  }

  .intro-text {
    font-size: 0.94rem;
  }

  .intro-cta-text {
    font-size: 1rem;
  }
}
.intro-welcome {
  margin-top: 8px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-main);
  opacity: 0.9;
}
/* =========================
   ENHANCED VISION SECTION
   ========================= */

.elefaanty-vision-featured {
  background: linear-gradient(135deg,#fff3fb,#f2f7ff,#fffbe5);
}

/* Vision */
.vision-story {
  max-width: 820px;
  margin: 0 auto 44px;
  text-align: center;
}

.vision-story h2 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.vision-highlight {
  margin-top: 12px;
  padding: 14px 18px;
  border-radius: 18px;
  background: linear-gradient(135deg,#ffe4f7,#eaf5ff);
  box-shadow: 0 12px 30px rgba(160,140,255,0.35);
  color: #4b2a55;
}

/* Featured Content */
.featured-content {
  text-align: center;
  margin-bottom: 48px;
}

.featured-card {
  font-size: 0.9rem;
  padding: 16px;
  background: linear-gradient(135deg,#ffffff,#fff4fb);
}

/* Join CTA */
.join-elefaanty {
  text-align: center;
  margin-bottom: 48px;
}

.join-elefaanty h3 {
  font-size: 1.7rem;
  margin-bottom: 6px;
}

/* Video Cards */
.latest-videos {
  text-align: center;
}

.video-card {
  padding: 22px 18px;
  background: linear-gradient(135deg,#ffe6f6,#eaf4ff);
}

.video-card h4 {
  font-size: 1rem;
  margin: 6px 0 4px;
}

.video-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(150,160,255,0.45);
}

/* Mobile */
@media (max-width: 768px) {
  .vision-story h2 {
    font-size: 1.8rem;
  }

  .featured-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }
}
/* =========================
   ABOUT – VISUAL BALANCE FIX
   ========================= */

.about-right {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-mini-card {
  padding: 18px;
}

.icon-list {
  list-style: none;
  padding: 0;
  margin-top: 10px;
}

.icon-list li {
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.chip-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 8px;
  margin-top: 10px;
}

.chip-grid span {
  background: linear-gradient(135deg,#ffffff,#fff4fb);
  border-radius: 14px;
  padding: 8px 10px;
  font-size: 0.85rem;
  box-shadow: 0 8px 18px rgba(160,140,255,0.25);
}

.safe-list {
  list-style: none;
  padding: 0;
  margin-top: 10px;
}

.safe-list li {
  font-size: 0.88rem;
  margin-bottom: 6px;
}

.trust-note {
  text-align: center;
  padding: 10px 14px;
  border-radius: 18px;
  background: linear-gradient(135deg,#ffe4f7,#eaf5ff);
  font-size: 0.9rem;
  box-shadow: 0 10px 26px rgba(150,150,255,0.35);
}

/* Mobile */
@media (max-width: 992px) {
  .chip-grid {
    grid-template-columns: 1fr;
  }
}

