/*
  Avtaarana — Premium Editorial Redesign
  Inspired by fpp.net · flyhyer.com · nakashimawoodworkers.com · superlist.com
  ─────────────────────────────────────────────────────────────────────────────
  Colors: Hot Pink #D41470 (logo "avtaarana") · Dark Teal #1F6B5A (logo "because we care")
*/

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

:root {
  --pink:       #D41470;
  --pink-dk:    #A80F58;
  --pink-lt:    #FDF0F8;
  --teal:       #1F6B5A;
  --teal-dk:    #133F36;
  --teal-lt:    #EAF5F1;
  --text:       #141414;
  --muted:      #6A6A6A;
  --light:      #F7F7F6;
  --border:     #E2E2E0;
  --white:      #FFFFFF;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, blockquote { font-family: 'Playfair Display', Georgia, serif; font-weight: 800; }
h3 { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; font-style: italic; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
p { line-height: 1.75; }

/* ── Layout ─────────────────────────────────────────────── */
.container    { max-width: 1440px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 72px); }
.container-sm { max-width:  900px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 72px); }
.section      { padding: clamp(36px, 4vw, 58px) 0; }
.section-sm   { padding: clamp(20px, 2.5vw, 36px) 0; }

/* ── Typography scale ──────────────────────────────────── */
.display-hero { font-size: clamp(4rem, 9vw, 7.5rem); line-height: 1.0; letter-spacing: -0.02em; }
.display-lg   { font-size: clamp(2.6rem, 5vw,  4.2rem); line-height: 1.12; letter-spacing: -0.01em; }
.display-md   { font-family: 'Inter', sans-serif; font-weight: 800; font-size: clamp(2rem, 3.5vw, 3rem); line-height: 1.2; }
.display-sm   { font-size: clamp(1.5rem, 2.5vw, 2rem);  line-height: 1.3;  }
.eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 14px;
  line-height: 1.2;
}
.eyebrow-teal { color: var(--teal); }
.eyebrow-white { color: rgba(255,255,255,0.75); }

/* ── Pink rule ─────────────────────────────────────────── */
.pink-rule { width: 40px; height: 3px; background: var(--pink); margin-bottom: 36px; }
.pink-rule-c { margin-left: auto; margin-right: auto; }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 50px;
  font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600;
  border: 1.5px solid transparent; cursor: pointer;
  transition: all 0.22s ease; line-height: 1; letter-spacing: 0.1px;
  white-space: nowrap;
}
.btn-pink  { background: var(--pink); color: white; border-color: var(--pink); }
.btn-pink:hover  { background: var(--pink-dk); border-color: var(--pink-dk); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(212,20,112,0.22); }
.btn-teal  { background: var(--teal); color: white; border-color: var(--teal); }
.btn-teal:hover  { background: var(--teal-dk); border-color: var(--teal-dk); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border); }
.btn-outline:hover { border-color: var(--text); }
.btn-outline-white { background: transparent; color: white; border-color: rgba(255,255,255,0.38); }
.btn-outline-white:hover { border-color: white; background: rgba(255,255,255,0.07); }
.btn-white  { background: white; color: var(--pink); border-color: white; }
.btn-white:hover { background: var(--pink-lt); transform: translateY(-2px); }
.btn-ghost  { background: transparent; color: var(--pink); border: none; padding-left: 0; padding-right: 0; }
.btn-ghost:hover { color: var(--pink-dk); }
.btn-ghost .arr { display: inline-block; transition: transform 0.2s; }
.btn-ghost:hover .arr { transform: translateX(5px); }
.btn-lg { padding: 16px 34px; font-size: 15px; border-radius: 50px; }
.btn-sm { padding: 9px 20px; font-size: 13px; border-radius: 50px; }
.btn-group { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn-group-c { justify-content: center; }

/* ── Header ─────────────────────────────────────────────── */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  transition: background 0.4s, box-shadow 0.4s, border-color 0.4s;
}
header.on-hero {
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,0);
}
header.off-hero {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 16px rgba(0,0,0,0.06);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 80px; position: relative; }
.nav-brand { display: flex; flex-direction: column; line-height: 1; gap: 2px; }
.nav-brand-name {
  font-family: 'Dancing Script', 'Pacifico', cursive; font-size: 1.6rem; font-weight: 700;
  transition: color 0.3s; line-height: 1;
}
.nav-brand-tag {
  font-family: 'Inter', sans-serif; font-size: 8.5px; letter-spacing: 2px;
  text-transform: uppercase; transition: color 0.3s;
}
header.on-hero  .nav-brand-name { color: #F9A0CE; }                /* light pink — logo pink, readable on dark teal hero */
header.on-hero  .nav-brand-tag  { color: rgba(163,230,210,0.85); } /* light teal — readable on dark bg */
header.off-hero .nav-brand-name { color: var(--pink); }            /* logo hot pink #D41470 on white */
header.off-hero .nav-brand-tag  { color: var(--teal); }            /* logo teal #1F6B5A on white */

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-link {
  font-size: 16px; font-weight: 500; padding: 6px 14px; border-radius: 5px;
  transition: color 0.2s, background 0.2s;
}
header.on-hero  .nav-link { color: rgba(255,255,255,0.8); }
header.on-hero  .nav-link:hover { color: white; background: rgba(255,255,255,0.1); }
header.off-hero .nav-link { color: var(--text); }
header.off-hero .nav-link:hover { color: var(--pink); background: var(--pink-lt); }
header.off-hero .nav-link.active { color: var(--pink); font-weight: 600; }

.nav-cta {
  font-size: 13px; font-weight: 600; padding: 9px 20px; border-radius: 50px;
  transition: all 0.2s; border: 1.5px solid;
}
header.on-hero  .nav-cta { color: white; border-color: rgba(255,255,255,0.4); background: transparent; }
header.on-hero  .nav-cta:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.7); }
header.off-hero .nav-cta { color: white; background: var(--pink); border-color: var(--pink); }
header.off-hero .nav-cta:hover { background: var(--pink-dk); border-color: var(--pink-dk); }

/* ── Footer ─────────────────────────────────────────────── */
footer { background: var(--teal); color: rgba(255,255,255,0.75); padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 2fr; gap: 44px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-logo-img {
  height: 56px; width: auto; display: block; margin-bottom: 16px;
  background: rgba(255,255,255,0.95); border-radius: 8px; padding: 5px 12px;
}
.footer-desc { font-size: 15px; line-height: 1.85; max-width: 240px; margin-bottom: 22px; }
.footer-socials { display: flex; gap: 10px; }
.footer-soc { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.18); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: white; transition: all 0.2s; }
.footer-soc:hover { background: var(--pink); border-color: var(--pink); }
.footer-col-head { font-size: 18px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-bottom: 18px; font-weight: 700; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 15px; color: rgba(255,255,255,0.65); transition: color 0.2s; }
.footer-col a:hover { color: white; }
.footer-cr { display: flex; gap: 11px; font-size: 15px; margin-bottom: 12px; }
.footer-bottom { padding: 20px 0; display: flex; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,0.32); }

/* ── Page Hero (inner pages) ───────────────────────────── */
.page-hero {
  padding: 160px 0 140px; color: white; overflow: hidden; position: relative;
}
.page-hero::after { content: ''; position: absolute; right: -180px; top: -180px; width: 560px; height: 560px; border-radius: 50%; background: rgba(255,255,255,0.025); pointer-events: none; }
.page-hero-inner { position: relative; z-index: 1; }
.breadcrumb { display: flex; gap: 8px; font-size: 12px; color: rgba(255,255,255,0.7); margin-bottom: 20px; }
.breadcrumb a { color: rgba(255,255,255,0.85); transition: color 0.2s; }
.breadcrumb a:hover { color: white; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.5rem); color: white; margin-bottom: 16px; text-shadow: 0 2px 12px rgba(0,0,0,0.55); }
.page-hero .lead { font-size: 1.1rem; color: rgba(255,255,255,0.9); max-width: 540px; line-height: 1.75; text-shadow: 0 1px 8px rgba(0,0,0,0.45); }

/* ── Form ───────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.form-control { width: 100%; padding: 13px 16px; border: 1.5px solid var(--border); border-radius: 7px; font-size: 15px; font-family: inherit; color: var(--text); background: white; outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.form-control:focus { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(212,20,112,0.08); }
.form-control::placeholder { color: #C4C4C4; }
textarea.form-control { resize: vertical; min-height: 130px; line-height: 1.6; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── Nav Right Group ─────────────────────────────────────── */
.nav-right { display: flex; align-items: center; gap: 4px; }

.nav-social {
  width: 32px; height: 32px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
header.on-hero  .nav-social { color: rgba(255,255,255,0.7); }
header.on-hero  .nav-social:hover { color: white; background: rgba(255,255,255,0.12); }
header.off-hero .nav-social { color: var(--teal-dk); }
header.off-hero .nav-social:hover { color: var(--pink); background: var(--pink-lt); }

/* ── Floating Phone Button ───────────────────────────────── */
.phone-float-wrap {
  position: fixed; bottom: 92px; right: 28px; z-index: 9998;
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
}
.phone-float {
  width: 54px; height: 54px; background: #444; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  border: none; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; color: white;
}
.phone-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(0,0,0,0.4); }
.phone-popup {
  display: none;
  background: linear-gradient(135deg, var(--pink-lt) 0%, var(--teal-lt) 100%);
  border-radius: 10px; padding: 12px 18px;
  box-shadow: 0 8px 36px rgba(0,0,0,0.13);
  border: 1px solid rgba(212,20,112,0.15); text-align: center; white-space: nowrap;
}
.phone-popup.open { display: block; }
.phone-popup-num {
  font-family: 'Playfair Display', serif; font-size: 15px; font-weight: 700;
  color: var(--teal-dk); letter-spacing: 0.3px; line-height: 1.7;
}

/* ── WhatsApp ────────────────────────────────────────────── */
.wa { position: fixed; bottom: 28px; right: 28px; width: 54px; height: 54px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,0.4); z-index: 9999; transition: transform 0.2s, box-shadow 0.2s; }
.wa:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.5); }

/* ── Scroll animations ──────────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(32px); transition: opacity 0.75s ease, transform 0.75s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up.d1 { transition-delay: 0.1s; }
.fade-up.d2 { transition-delay: 0.2s; }
.fade-up.d3 { transition-delay: 0.3s; }
.fade-up.d4 { transition-delay: 0.4s; }

/* ── Nav Logo Image ─────────────────────────────────────── */
.nav-logo { height: 64px; width: auto; display: block; transition: all 0.3s; max-width: none; }
header.on-hero  .nav-logo { background: rgba(255,255,255,0.95); border-radius: 10px; padding: 6px 14px; }
header.off-hero .nav-logo { background: transparent; border-radius: 0; padding: 0; }

/* ── Hamburger ───────────────────────── */
.nav-burger {
  display: none; flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; z-index: 10;
}
.nav-burger span {
  display: block; width: 24px; height: 2px; border-radius: 2px; transition: all 0.3s;
}
header.on-hero  .nav-burger span { background: white; }
header.off-hero .nav-burger span { background: var(--teal-dk); }

/* ── Hero Kicker (both-side dashes) ─────────────────────── */
.hero-kicker-wrap {
  display: inline-flex; align-items: center; gap: 14px;
  color: white; font-size: 17px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 12px;
}
.hero-kicker-wrap::before,
.hero-kicker-wrap::after { content: ''; width: 38px; height: 2px; background: var(--pink); flex-shrink: 0; }

/* Ensure the hero flex container's child (.container) fills full width
   so the right-side padding is visible and text doesn't overflow */
.hero > .container { width: 100%; }

/* ── Hero Buttons (white bg) ────────────────────────────── */
.btn-hero-pink { background: white; color: var(--pink); border-color: white; }
.btn-hero-pink:hover { background: var(--pink-lt); border-color: var(--pink-lt); transform: translateY(-2px); }
.btn-hero-teal { background: white; color: var(--teal-dk); border-color: white; }
.btn-hero-teal:hover { background: var(--teal-lt); border-color: var(--teal-lt); transform: translateY(-2px); }

/* ── Challenge Card Images ───────────────────────────────── */
.ch-col-img { margin: -36px -32px 24px; overflow: hidden; }
.ch-col-img img { width: 100%; height: 190px; object-fit: cover; display: block; }

/* ── Wave / Shape Dividers ──────────────────────────────── */
.wave-div { line-height: 0; overflow: hidden; display: block; }
.wave-div svg { display: block; width: 100%; }

/* ── Page Hero Animated - particles only, bg-image set in styles above ── */
.page-hero-particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.page-hero-p {
  position: absolute; border-radius: 50%;
  background: rgba(249,160,206,0.12);
  animation: floatBall 10s ease-in-out infinite;
}
.page-hero-p.pp1 { width:260px; height:260px; top:-80px;  right:8%;  animation-delay:0s;   animation-duration:11s; }
.page-hero-p.pp2 { width:140px; height:140px; bottom:20px; left:5%;  animation-delay:3s;   animation-duration:8s;  }
.page-hero-p.pp3 { width: 80px; height: 80px; top:40%;    right:22%; animation-delay:6s;   animation-duration:13s; }
@keyframes floatBall {
  0%,100% { transform: translateY(0) scale(1);    opacity: .4; }
  50%      { transform: translateY(-22px) scale(1.08); opacity: .7; }
}

/* ── Hero Particles (homepage) ──────────────────────────── */
.hero-particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.hero-p {
  position: absolute; border-radius: 50%;
  animation: floatBall 10s ease-in-out infinite;
}
.hero-p.p1 { width:340px;height:340px; top:-120px;  right:-80px;  background:rgba(249,160,206,0.07);  animation-delay:0s;   animation-duration:12s; }
.hero-p.p2 { width:200px;height:200px; bottom:-60px; left:10%;     background:rgba(163,230,210,0.08);  animation-delay:4s;   animation-duration:9s;  }
.hero-p.p3 { width:100px;height:100px; top:30%;      left:55%;     background:rgba(249,160,206,0.06);  animation-delay:2s;   animation-duration:14s; }
.hero-p.p4 { width: 60px;height: 60px; top:60%;      right:25%;    background:rgba(163,230,210,0.10);  animation-delay:7s;   animation-duration:8s;  }
.hero-p.p5 { width:160px;height:160px; top:10%;      left:40%;     background:rgba(255,255,255,0.03);  animation-delay:5s;   animation-duration:16s; }

/* ── Challenge Card Icons ────────────────────────────────── */
.ch-icon-wrap { margin-bottom: 22px; }
.ch-icon-box {
  width: 72px; height: 72px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
}

/* ── Services CTA Box ───────────────────────────────────── */
.services-cta-box {
  margin-top: 56px; text-align: center;
}
.services-cta-box a {
  border-radius: 50px; padding: 18px 44px; font-size: 15px;
  box-shadow: 0 8px 28px rgba(31,107,90,0.22);
}
.services-cta-box a:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(31,107,90,0.3); }

/* ── Founder Grid (2-col) ───────────────────────────────── */
.founder-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center;
}
.founder-text-col .founder-q {
  font-style: italic; color: white;
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  line-height: 1.55; margin: 20px 0 36px;
}
.founder-attr-row { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.founder-video-ph {
  width: 100%; aspect-ratio: 16/9; border-radius: 16px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; cursor: pointer; transition: background 0.3s;
}
.founder-video-ph:hover { background: rgba(255,255,255,0.12); }
.founder-play {
  width: 60px; height: 60px; border-radius: 50%;
  background: rgba(249,160,206,0.25); border: 2px solid rgba(249,160,206,0.5);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: #F9A0CE; transition: background 0.2s;
}
.founder-video-ph:hover .founder-play { background: rgba(249,160,206,0.4); }
.founder-video-label { font-size: 13px; color: rgba(255,255,255,0.6); text-align: center; line-height: 1.5; }

/* ── Diagonal section clip ───────────────────────────────── */
.clip-tl { clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%); padding-bottom: 140px !important; }
.clip-tr { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 90%);  padding-bottom: 140px !important; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .container, .container-sm { padding: 0 clamp(20px, 3.5vw, 36px); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .founder-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .section { padding: 36px 0; }
  .container, .container-sm { padding: 0 20px; }
  .nav-logo { height: 44px; }
  .nav { height: 64px; }
  .nav-cta { display: none; }
  .nav-social { width: 28px; height: 28px; }
  .nav-phone-num { display: none; }
  .nav-phone { margin-left: 0; padding: 6px 8px; border: none; }
  .nav-burger { display: flex; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--teal-dk);
    padding: 12px 24px 24px; gap: 0; z-index: 300;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  }
  .nav-links.open { display: flex; }
  .nav-links .nav-link {
    color: rgba(255,255,255,0.85) !important;
    padding: 14px 0; font-size: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    background: none !important;
  }
  .nav-links .nav-link:last-child { border-bottom: 1px solid rgba(255,255,255,0.1); }
  .nav-links .nav-link.active { color: #F9A0CE !important; font-weight: 600; }
  .nav-mobile-social {
    display: flex; gap: 18px; padding: 16px 0 4px; margin-top: 4px;
  }
  .nav-mobile-social a {
    color: rgba(255,255,255,0.65); transition: color 0.2s;
    display: flex; align-items: center;
  }
  .nav-mobile-social a:hover { color: white; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .display-hero { font-size: clamp(3rem, 15vw, 5rem); }

  /* Kicker: drop decorative dashes, shrink font so it fits mobile content area */
  .hero-kicker-wrap {
    display: block; font-size: 12px; letter-spacing: 1px;
    white-space: normal; margin-bottom: 10px;
  }
  .hero-kicker-wrap::before,
  .hero-kicker-wrap::after { display: none; }
}

/* Mobile social row hidden on desktop */
.nav-mobile-social { display: none; }
