/* ============================================
   GULLAKAARI — Global Stylesheet
   Palette: Saffron warmth + Deep indigo + Cream
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --saffron:    #E8621A;
  --saffron-lt: #F4873C;
  --indigo:     #1E3A5F;
  --indigo-dk:  #122540;
  --gold:       #C9962A;
  --cream:      #FDF6EE;
  --cream-dk:   #F2E8D9;
  --charcoal:   #2C2C2C;
  --muted:      #6B6B6B;
  --white:      #FFFFFF;

  --font-display: 'Playfair Display', serif;
  --font-body:    'DM Sans', sans-serif;

  --radius: 8px;
  --shadow: 0 4px 24px rgba(30,58,95,0.10);
  --shadow-lg: 0 8px 40px rgba(30,58,95,0.16);
  --transition: all 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--charcoal);
  line-height: 1.7;
  font-size: 16px;
}

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

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.25; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--saffron);
  display: block;
  margin-bottom: 0.5rem;
}

/* ---- LAYOUT ---- */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--cream { background: var(--cream); }
.section--indigo { background: var(--indigo); color: var(--white); }
.section--indigo .eyebrow { color: var(--saffron-lt); }

/* ---- NAV ---- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid rgba(30,58,95,0.1);
  backdrop-filter: blur(8px);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav__logo img { height: 44px; }
.nav__links {
  display: flex; gap: 2rem; list-style: none;
  align-items: center;
}
.nav__links a {
  font-size: 0.9rem; font-weight: 500;
  color: var(--indigo);
  transition: var(--transition);
  position: relative;
}
.nav__links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 2px; background: var(--saffron);
  transition: var(--transition);
}
.nav__links a:hover::after, .nav__links a.active::after { width: 100%; }
.nav__links a:hover { color: var(--saffron); }
.nav__cta {
  background: var(--saffron) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: 100px !important;
  font-weight: 600 !important;
}
.nav__cta::after { display: none !important; }
.nav__cta:hover { background: var(--saffron-lt) !important; color: var(--white) !important; }

.nav__burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav__burger span { width: 24px; height: 2px; background: var(--indigo); transition: var(--transition); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}
.btn--primary { background: var(--saffron); color: var(--white); }
.btn--primary:hover { background: var(--saffron-lt); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(232,98,26,0.35); }
.btn--outline { background: transparent; border-color: var(--white); color: var(--white); }
.btn--outline:hover { background: var(--white); color: var(--indigo); }
.btn--indigo { background: var(--indigo); color: var(--white); }
.btn--indigo:hover { background: var(--indigo-dk); transform: translateY(-2px); }

/* ---- CARDS ---- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__img { width: 100%; height: 200px; object-fit: cover; }
.card__body { padding: 1.5rem; }
.card__tag {
  display: inline-block;
  background: var(--cream-dk);
  color: var(--saffron);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}
.card__title { font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--indigo); }
.card__text { font-size: 0.9rem; color: var(--muted); }

/* ---- STAT STRIP ---- */
.stats { display: flex; gap: 2rem; flex-wrap: wrap; }
.stat { flex: 1; min-width: 140px; text-align: center; }
.stat__number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--saffron);
  line-height: 1;
}
.stat__label { font-size: 0.85rem; color: var(--muted); margin-top: 0.4rem; }
.section--indigo .stat__label { color: rgba(255,255,255,0.7); }
.section--indigo .stat__number { color: var(--gold); }

/* ---- GRID ---- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; align-items: center; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ---- HERO ---- */
.hero {
  background: var(--indigo-dk);
  min-height: 88vh;
  display: flex; align-items: center;
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url('https://gullakaari.s3.ap-south-1.amazonaws.com/home_img_1.jpg') center/cover no-repeat;
  opacity: 0.22;
}
.hero__pattern {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: 50%;
  background: radial-gradient(ellipse at 80% 50%, rgba(232,98,26,0.15) 0%, transparent 70%);
}
.hero__content {
  position: relative;
  max-width: 640px;
  color: var(--white);
}
.hero__content .eyebrow { color: var(--saffron-lt); }
.hero__title { margin-bottom: 1.25rem; color: var(--white); }
.hero__text { font-size: 1.1rem; color: rgba(255,255,255,0.8); margin-bottom: 2rem; max-width: 520px; }
.hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---- SECTION HEADER ---- */
.section-header { max-width: 600px; margin-bottom: 3rem; }
.section-header--center { text-align: center; margin: 0 auto 3rem; }
.section-header h2 { margin-bottom: 0.75rem; color: var(--indigo); }
.section--indigo .section-header h2 { color: var(--white); }
.section-header p { color: var(--muted); }
.section--indigo .section-header p { color: rgba(255,255,255,0.75); }

/* ---- DIVIDER ---- */
.divider {
  width: 48px; height: 3px;
  background: var(--saffron);
  border-radius: 2px;
  margin: 1rem 0 1.5rem;
}
.section-header--center .divider { margin: 1rem auto 1.5rem; }

/* ---- ART FORM TILES ---- */
.art-tile {
  border-radius: var(--radius);
  padding: 1.5rem;
  background: var(--cream);
  border-left: 4px solid var(--saffron);
  transition: var(--transition);
}
.art-tile:hover { background: var(--cream-dk); transform: translateX(4px); }
.art-tile h4 { color: var(--indigo); margin-bottom: 0.5rem; }
.art-tile p { font-size: 0.88rem; color: var(--muted); }

/* ---- TIMELINE ---- */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
  content: '';
  position: absolute; left: 7px; top: 6px; bottom: 6px;
  width: 2px; background: var(--cream-dk);
}
.timeline__item { position: relative; margin-bottom: 2rem; }
.timeline__dot {
  position: absolute; left: -2rem; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--saffron);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--saffron);
}
.timeline__year {
  font-size: 0.78rem; font-weight: 700;
  color: var(--saffron); letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}
.timeline__title { font-family: var(--font-display); font-size: 1.1rem; color: var(--indigo); margin-bottom: 0.4rem; }
.timeline__text { font-size: 0.9rem; color: var(--muted); }

/* ---- TEAM CARD ---- */
.team-card { text-align: center; }
.team-card__avatar {
  width: 100px; height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 3px solid var(--cream-dk);
  background: var(--cream-dk);
}
.team-card__name { font-family: var(--font-display); font-size: 1.05rem; color: var(--indigo); }
.team-card__role { font-size: 0.82rem; color: var(--saffron); font-weight: 600; margin-top: 0.25rem; }
.team-card__bio { font-size: 0.88rem; color: var(--muted); margin-top: 0.5rem; }

/* ---- IMPACT STORY ---- */
.impact-story {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.impact-story__img { width: 100%; height: 220px; object-fit: cover; }
.impact-story__body { padding: 1.5rem; flex: 1; }
.impact-story__quote {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--indigo);
  border-left: 3px solid var(--saffron);
  padding-left: 1rem;
  margin: 1rem 0;
  font-style: italic;
}
.impact-story__name { font-size: 0.85rem; font-weight: 600; color: var(--muted); }

/* ---- DONATION BOX ---- */
.donation-box {
  background: var(--indigo);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
}
.donation-box h3 { color: var(--white); margin-bottom: 1.25rem; }
.donation-info-row {
  display: flex; justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  padding: 0.75rem 0;
  font-size: 0.9rem;
}
.donation-info-row:last-child { border-bottom: none; }
.donation-info-row span:first-child { color: rgba(255,255,255,0.6); }
.donation-info-row span:last-child { font-weight: 600; font-family: monospace; font-size: 0.95rem; }

.upi-box {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}
.upi-box h3 { color: var(--indigo); margin-bottom: 1rem; }
.upi-id {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--saffron);
  letter-spacing: 0.03em;
  background: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  border: 2px dashed var(--saffron);
  display: inline-block;
  margin-bottom: 1rem;
}

/* ---- CONTACT ---- */
.contact-item {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--cream-dk);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.contact-item h4 { font-size: 0.8rem; color: var(--muted); font-family: var(--font-body); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.25rem; }
.contact-item p, .contact-item a { font-size: 0.95rem; color: var(--indigo); font-weight: 500; }

/* ---- SOCIAL LINKS ---- */
.social-links { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.social-link {
  display: flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  padding: 0.6rem 1.1rem;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.2);
}
.social-link:hover { background: var(--saffron); border-color: var(--saffron); }
.social-link svg { width: 16px; height: 16px; fill: currentColor; }

/* ---- FOOTER ---- */
footer {
  background: var(--indigo-dk);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 24px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer__logo img { height: 40px; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.footer__tagline { font-size: 0.9rem; color: rgba(255,255,255,0.55); margin-bottom: 1.25rem; }
.footer__col h5 {
  font-family: var(--font-body);
  font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer__col ul { list-style: none; }
.footer__col ul li { margin-bottom: 0.5rem; }
.footer__col ul a { font-size: 0.9rem; color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer__col ul a:hover { color: var(--saffron-lt); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.82rem; color: rgba(255,255,255,0.4);
  flex-wrap: wrap; gap: 0.5rem;
}
.footer__bottom a { color: rgba(255,255,255,0.55); }
.footer__bottom a:hover { color: var(--saffron-lt); }

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  background: var(--indigo);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 0% 100%, rgba(232,98,26,0.25) 0%, transparent 60%);
}
.page-hero__content { position: relative; color: var(--white); }
.page-hero h1 { margin-bottom: 0.75rem; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.05rem; }

/* ---- BADGE ---- */
.badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--cream-dk);
  color: var(--indigo);
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* ---- PRESS ---- */
.press-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 0.5rem;
}
.press-source { font-size: 0.78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.press-headline { font-family: var(--font-display); font-size: 1rem; color: var(--indigo); }
.press-link { font-size: 0.82rem; color: var(--saffron); font-weight: 600; margin-top: auto; }

/* ---- FORM EMBED ---- */
.form-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--cream-dk);
}
.form-container iframe { display: block; width: 100%; border: none; min-height: 600px; }

/* ---- MOBILE ---- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav__links { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--white); padding: 1rem 1.5rem 1.5rem; box-shadow: var(--shadow); }
  .nav__links.open { display: flex; }
  .nav__burger { display: flex; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; }
  .stats { gap: 1rem; }
  .hero__ctas { flex-direction: column; }
  .btn { text-align: center; }
  .section { padding: 56px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
