/* =========================================================
   Dnyansadhana Education Society — Website Styles
   ========================================================= */

/* 01. VARIABLES */
:root {
  --purple: #A52A2A;
  --purple-dark: #E97451;
  --purple-soft: #efefff;
  --yellow: #f8bf32;
  --orange: #f5a623;
  --ink: #191936;
  --muted: #6c6b7b;
  --paper: #fbfbfd;
  --white: #ffffff;
  --line: #e9e8f2;
  --shadow: 0 18px 55px rgba(45, 38, 120, 0.10);
  --shadow-soft: 0 8px 25px rgba(25, 25, 54, 0.06);
  --container: 1200px;
  --transition: 0.3s ease;
}

/* 02. RESET */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; width: 100%; max-width: 100%; }
button { font: inherit; cursor: pointer; }
a { text-decoration: none; color: inherit; }
p { margin-top: 0; }

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
}

/* 03. HEADER / NAVIGATION */
.site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  width: 100%;
  background: url("../img/101.png") center center / cover no-repeat;
  box-shadow: 0 4px 20px rgba(11, 31, 58, 0.07);
}

.nav-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 30px;
  min-height: 92px;
}

.site-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 120px;
  transition: transform 0.3s ease;
}
.site-logo img { height: 100%; object-fit: contain; }
.site-logo:hover { transform: translateY(-2px); }

.brand {
  display: flex;
  flex-direction: column;
  min-width: 230px;
  margin-right: auto;
  line-height: 1.05;
}

.brand-main {
  color: var(--purple);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.brand-sub {
  margin-top: 7px;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.main-nav { display: flex; align-items: center; gap: 4px; }

.main-nav > a:not(.nav-donate) {
  display: inline-flex;
  align-items: center;
  padding: 34px 10px;
  color: #293447;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.25s ease;
}
.main-nav > a:not(.nav-donate):hover { color: var(--ink); }

.nav-donate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 108px;
  margin-left: 10px;
  padding: 11px 20px;
  border-radius: 8px;
  background: var(--purple);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
  box-shadow: 0 7px 20px rgba(248, 191, 50, 0.28);
  transition: var(--transition);
}
.nav-donate:hover {
  background: var(--orange);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(201, 162, 39, 0.25);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
}
.menu-toggle span {
  display: block;
  width: 23px;
  height: 2px;
  border-radius: 2px;
  background: var(--purple);
}

/* 04. HERO */
.hero {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background: #f7f5ef;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: radial-gradient(rgba(74, 67, 168, 0.08) 1px, transparent 1px);
  background-size: 20px 20px;
}

.hero-grid {
  position: relative;
  min-height: 650px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 20px;
}

.hero-copy { padding: 65px 0; }

.eyebrow,
.section-kicker {
  display: inline-block;
  color: var(--purple);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 2px;
}

.hero h1 {
  margin: 18px 0 25px;
  color: var(--purple);
  font: 800 clamp(50px, 4.6vw, 88px) / 0.93 "Montserrat", sans-serif;
  text-transform: uppercase;
  letter-spacing: -4px;
}
.hero h1 span { color: var(--purple-dark); }

.hero-copy p {
  max-width: 510px;
  margin-bottom: 0;
  color: #6e6b6c;
  font-size: 17px;
}

/* Buttons */
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 22px;
  border: 0;
  border-radius: 9px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: var(--transition);
}
.btn-primary { background: var(--purple); color: var(--white); box-shadow: 0 12px 28px rgba(74, 67, 168, 0.22); }
.btn-primary:hover { background: var(--purple-dark); transform: translateY(-2px); }
.btn-light { background: var(--white); color: var(--purple); border: 1px solid #dddaf2; }
.btn-light:hover { border-color: var(--purple); transform: translateY(-2px); }
.btn-yellow { background: var(--yellow); color: #2e286d; }
.btn-yellow:hover { background: var(--orange); transform: translateY(-2px); }
.btn-outline-light { color: var(--white); border: 1px solid rgba(255, 255, 255, 0.5); }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.1); }

/* Hero artwork + slider */
.hero-art {
  position: relative;
  height: 570px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-yellow { position: absolute; top: 75px; width: 440px; height: 440px; border-radius: 50%; background: #f7c31d; }
.hero-orbit { position: absolute; top: 15px; width: 550px; height: 550px; border: 2px solid var(--purple); border-radius: 50%; }

.hero-slider {
  position: relative;
  z-index: 3;
  width: min(520px, 90%);
  height: 520px;
  overflow: hidden;
  clip-path: circle(43% at 50% 52%);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.04);
  transition: opacity 1s ease-in-out, transform 5s ease-in-out, visibility 1s ease-in-out;
}
.hero-slide.active { opacity: 1; visibility: visible; transform: scale(1); }
.hero-slide img { height: 100%;  filter: saturate(1.06); }

.hero-badge {
  position: absolute;
  z-index: 5;
  bottom: 80px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.hero-badge strong { color: var(--purple); font: 800 32px "Montserrat", sans-serif; }
.hero-badge span { color: var(--muted); font-size: 11px; line-height: 1.3; }

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 6;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}
.hero-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #b9b9bf;
  cursor: pointer;
  transition: var(--transition);
}
.hero-dots i.active { background: var(--orange); transform: scale(1.15); }
/* =========================================================
   HERO SECTION
========================================================= */

.hero {
    position: relative;
    min-height: 650px;
    overflow: hidden;
    background: #f7f5ef;
}


/* =========================================================
   HERO PATTERN
========================================================= */

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.35;

    background-image:
        radial-gradient(
            rgba(74, 67, 168, 0.08) 1px,
            transparent 1px
        );

    background-size: 20px 20px;
}


/* =========================================================
   HERO GRID
========================================================= */

.hero-grid {
    position: relative;

    min-height: 650px;

    display: grid;
    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 20px;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.hero-copy {
    padding: 65px 0;
}

.eyebrow,
.section-kicker {
    display: inline-block;

    color: var(--purple);

    font-size: 12px;
    font-weight: 800;

    line-height: 1.3;

    letter-spacing: 2px;
}


/* =========================================================
   HERO HEADING
========================================================= */

.hero h1 {
    margin: 18px 0 25px;

    color: var(--purple);

    font:
        800
        clamp(50px, 4.6vw, 88px)
        /
        0.93
        "Montserrat",
        sans-serif;

    text-transform: uppercase;

    letter-spacing: -4px;
}

.hero h1 span {
    color: var(--purple-dark);
}


/* =========================================================
   HERO DESCRIPTION
========================================================= */

.hero-copy p {
    max-width: 510px;

    margin-bottom: 0;

    color: #6e6b6c;

    font-size: 17px;

    line-height: 1.7;
}


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

.hero-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 30px;
}

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    padding: 13px 22px;

    border: 0;
    border-radius: 9px;

    font-weight: 700;

    line-height: 1.2;

    cursor: pointer;

    transition: var(--transition);
}


/* Primary */
.btn-primary {
    background: var(--purple);
    color: var(--white);

    box-shadow:
        0 12px 28px
        rgba(74, 67, 168, 0.22);
}

.btn-primary:hover {
    background: var(--purple-dark);

    transform: translateY(-2px);
}


/* Light */
.btn-light {
    background: var(--white);
    color: var(--purple);

    border: 1px solid #dddaf2;
}

.btn-light:hover {
    border-color: var(--purple);

    transform: translateY(-2px);
}


/* Yellow */
.btn-yellow {
    background: var(--yellow);
    color: #2e286d;
}

.btn-yellow:hover {
    background: var(--orange);

    transform: translateY(-2px);
}


/* Outline */
.btn-outline-light {
    color: var(--white);

    border: 1px solid
        rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    background:
        rgba(255, 255, 255, 0.1);
}


/* =========================================================
   HERO ART
   NO YELLOW BACKGROUND
   NO CIRCLE
   NO BACKGROUND SHAPE
========================================================= */

.hero-art {
    position: relative;

    height: 570px;

    display: flex;

    align-items: center;
    justify-content: center;
}


/* =========================================================
   REMOVE YELLOW SHAPE
========================================================= */

.hero-yellow {
    display: none;
}


/* =========================================================
   SQUARE ORBIT / BORDER
   CLEAN TRANSPARENT FRAME
========================================================= */

.hero-orbit {
    position: absolute;

    width: 520px;
    height: 520px;

    top: 25px;
    left: 50%;

    transform: translateX(-50%);

    border:
        2px solid
        var(--purple);

    border-radius: 28px;

    background: transparent;

    z-index: 1;

    pointer-events: none;
}


/* =========================================================
   HERO IMAGE SLIDER
========================================================= */

.hero-slider {
    position: relative;

    z-index: 3;

    width: 508px;
    height: 508px;

    overflow: hidden;

    /* REMOVE CIRCLE */
    clip-path: none;

    border-radius: 22px;

    background: transparent;

    box-shadow:
        0 18px 40px
        rgba(0, 0, 0, 0.12);
}


/* =========================================================
   INDIVIDUAL SLIDE
========================================================= */

.hero-slide {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    opacity: 0;

    visibility: hidden;

    transform: scale(1.02);

    transition:
        opacity 0.9s ease-in-out,
        transform 5s ease-in-out,
        visibility 0.9s ease-in-out;
}


/* Active slide */
.hero-slide.active {
    opacity: 1;

    visibility: visible;

    transform: scale(1);
}


/* =========================================================
   PHOTO
   COMPLETE PHOTO VISIBLE
========================================================= */

.hero-slide img {
    display: block;

    width: 100%;
    height: 100%;

    /*
       CONTAIN = SHOW COMPLETE IMAGE
       WITHOUT CROPPING
    */
    /*object-fit: contain;*/

    object-position: center;

    background: transparent;

    filter: saturate(1.06);

    border-radius: 22px;
}


/* =========================================================
   INDIVIDUAL IMAGE POSITIONING
   Helps mixed portrait/landscape images
========================================================= */

.hero-slide:nth-child(1) img {
    object-position: center center;
}

.hero-slide:nth-child(2) img {
    object-position: center center;
}

.hero-slide:nth-child(3) img {
    object-position: center center;
}

.hero-slide:nth-child(4) img {
    object-position: center center;
}

.hero-slide:nth-child(5) img {
    object-position: center center;
}

.hero-slide:nth-child(6) img {
    object-position: center center;
}

.hero-slide:nth-child(7) img {
    object-position: center center;
}


/* =========================================================
   SERVICE BADGE
========================================================= */

.hero-badge {
    position: absolute;

    z-index: 5;

    right: 10px;
    bottom: 36px;

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 18px 22px;

    background: var(--white);

    border-radius: 18px;

    box-shadow:
        0 12px 30px
        rgba(0, 0, 0, 0.14);
}


.hero-badge strong {
    color: var(--purple);

    font:
        800
        32px
        "Montserrat",
        sans-serif;
}


.hero-badge span {
    color: var(--muted);

    font-size: 11px;

    line-height: 1.3;
}


/* =========================================================
   HERO DOTS
========================================================= */

.hero-dots {
    position: absolute;

    left: 50%;
    bottom: 24px;

    z-index: 6;

    display: flex;

    gap: 8px;

    transform:
        translateX(-50%);
}


.hero-dots i {
    width: 10px;
    height: 10px;

    border-radius: 50%;

    background: #b9b9bf;

    cursor: pointer;

    transition: var(--transition);
}


.hero-dots i.active {
    background: var(--purple);

    transform: scale(1.25);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .hero {
        min-height: auto;
    }

    .hero-grid {
        grid-template-columns: 1fr;

        min-height: auto;

        gap: 10px;
    }

    .hero-copy {
        padding: 60px 0 25px;
    }

    .hero-art {
        height: 520px;

        margin-bottom: 20px;
    }

    .hero-orbit {
        width: 440px;
        height: 440px;

        top: 30px;

        border-radius: 24px;
    }

    .hero-slider {
        width: 410px;
        height: 410px;

        border-radius: 20px;
    }

    .hero-slide img {
        border-radius: 20px;
    }

    .hero-badge {
        right: 5px;

        bottom: 30px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .hero {
        min-height: auto;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        padding:
            45px
            15px
            15px;
    }

    .hero h1 {
        font-size:
            clamp(
                42px,
                12vw,
                62px
            );

        letter-spacing: -2px;
    }

    .hero-copy p {
        font-size: 15px;
    }

    .hero-art {
        height: 410px;

        margin-top: 10px;
    }

    .hero-orbit {
        width: 350px;
        height: 350px;

        top: 20px;

        border-radius: 20px;
    }

    .hero-slider {
        width: 330px;
        height: 330px;

        border-radius: 18px;

        box-shadow:
            0 12px 30px
            rgba(0, 0, 0, 0.10);
    }

    .hero-slide img {
        border-radius: 18px;
    }

    .hero-badge {
        right: 5px;

        bottom: 10px;

        padding: 12px 15px;

        border-radius: 14px;
    }

    .hero-badge strong {
        font-size: 24px;
    }

    .hero-badge span {
        font-size: 10px;
    }

    .hero-dots {
        bottom: -5px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .hero-copy {
        padding-left: 12px;
        padding-right: 12px;
    }

    .hero-art {
        height: 350px;
    }

    .hero-orbit {
        width: 295px;
        height: 295px;

        top: 15px;

        border-radius: 18px;
    }

    .hero-slider {
        width: 275px;
        height: 275px;

        border-radius: 15px;
    }

    .hero-slide img {
        border-radius: 15px;
    }

    .hero-badge {
        right: 0;
        bottom: 5px;

        padding: 9px 12px;
    }

    .hero-badge strong {
        font-size: 21px;
    }

    .hero-badge span {
        font-size: 9px;
    }
}
/* 05. COMMON SECTIONS */
.section { padding: 95px 0; }
.section-small { padding: 30px 0; }

/* 06. INTRO */
.intro-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: 90px; }
.intro-image { position: relative; }
.image-frame { overflow: hidden; background: #eee; border-radius: 26px; box-shadow: var(--shadow); }
.image-frame img { height: 430px; object-fit: cover; }

.floating-note {
  position: absolute;
  right: -25px;
  bottom: -25px;
  display: flex;
  flex-direction: column;
  padding: 19px 24px;
  background: var(--yellow);
  border-radius: 16px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
}
.floating-note strong { color: #322c83; font: 800 19px "Montserrat", sans-serif; }
.floating-note span { font-size: 12px; }

.intro-copy h2,
.section-heading h2 {
  margin: 13px 0 22px;
  font: 800 clamp(32px, 4vw, 52px) / 1.08 "Montserrat", sans-serif;
  letter-spacing: -2px;
}
.intro-copy h2 em { color: var(--purple); font-style: normal; }
.intro-copy p { text-align: justify; }
.intro-copy p,
.award-copy p { color: var(--muted); font-size: 16px; }

.text-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; color: var(--purple); font-weight: 800; }
.text-link span { transition: transform 0.2s ease; }
.text-link:hover span { transform: translateX(5px); }

/* 07. STATS */
.stats { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { min-height: 105px; display: flex; align-items: center; justify-content: center; gap: 15px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { color: var(--purple); font: 800 27px "Montserrat", sans-serif; }
.stat span { color: #777; font-size: 10px; font-weight: 800; letter-spacing: 0.6px; }

/* 08. PROJECTS */
.projects { background: var(--white); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; margin-bottom: 40px; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.project-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.project-img { height: 225px; overflow: hidden; background: #eee; }
.project-img img { height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.project-card:hover .project-img img { transform: scale(1.06); }
.project-body { padding: 25px; }
.project-body h3 { margin: 9px 0; font: 800 24px "Montserrat", sans-serif; }
.project-body p { margin-bottom: 15px; color: var(--muted); font-size: 14px; }
.project-body a { color: var(--purple); font-size: 13px; font-weight: 800; }
.project-body b { margin-left: 6px; }

/* 09. QUOTE */
.quote-section { background: var(--purple-soft); }
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.quote-image { overflow: hidden; border-radius: 25px 0 0 25px; }
.quote-image img { height: 390px; object-fit: cover; }
.quote-card { display: flex; flex-direction: column; justify-content: center; padding: 60px 65px; color: var(--white); background: var(--purple); border-radius: 0 25px 25px 0; }
.quote-mark { color: #f8bf32; font: 900 80px/0 "Montserrat", sans-serif; }
.quote-card p { max-width: 480px; margin: 25px 0 0; font: 700 25px/1.35 "Montserrat", sans-serif; }
.quote-line { width: 45px; height: 2px; margin: 15px 0; background: var(--yellow); }
.quote-card strong { font-size: 13px; }

/* 10. AWARDS */
.awards-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: 50px; }
.award-copy .btn { margin-top: 15px; }
.award-image { overflow: hidden; border-radius: 25px; box-shadow: var(--shadow); }
.award-image img { height: 350px; object-fit: cover; }

/* 11. IMPACT */
.impact { overflow: hidden; color: var(--white); background: #913831; }
.impact-inner { min-height: 420px; display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; }
.section-kicker.light { color: #f7cf65; }
.impact h2 { max-width: 720px; margin: 15px 0; font: 800 clamp(34px, 4vw, 58px) / 1.05 "Montserrat", sans-serif; letter-spacing: -2px; }
.impact p { max-width: 600px; color: #d9d8f2; }

.impact-orb {
  position: relative;
  width: 310px;
  height: 310px;
  margin: auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 60%);
}
.impact-orb::before { content: ""; position: absolute; inset: 28px; border: 1px dashed rgba(255, 255, 255, 0.3); border-radius: 50%; }
.impact-orb span { position: absolute; font-size: 11px; font-weight: 800; letter-spacing: 2px; }
.impact-orb span:nth-child(1) { top: 50px; }
.impact-orb span:nth-child(2) { right: 10px; }
.impact-orb span:nth-child(3) { bottom: 50px; }

/* 12. FOOTER */
footer { color: #d9d8ee; background: #6E260E; }
.footer-main { padding: 65px 0 45px; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1.5fr 1fr; gap: 40px; }
.footer-logo { min-width: 0; margin-bottom: 20px; color: var(--white); }
.footer-brand p { max-width: 330px; color: #bcb9d8; font-size: 13px; }
.footer-grid h4 { margin: 4px 0 18px; color: var(--white); font-size: 11px; letter-spacing: 1.5px; }
.footer-grid > div:not(:first-child) a { display: block; margin: 7px 0; color: #bdbbd5; font-size: 12px; }
.footer-grid a { transition: color 0.2s ease; }
.footer-grid a:hover { color: var(--white); }

.socials { display: flex; gap: 8px; margin-top: 18px; }
.socials a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--white);
  font-size: 12px;
  transition: var(--transition);
}
.socials a:hover { background: var(--yellow); border-color: var(--yellow); color: #2e286d; transform: translateY(-2px); }

.footer-bottom { padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, 0.12); color: #aaa7c8; font-size: 10px; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-bottom a { color: var(--white); }

/* 13. BACK TO TOP */
.back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--yellow);
  color: #2e286d;
  font-size: 20px;
  font-weight: 800;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.back-top.show { opacity: 1; pointer-events: auto; }
.back-top:hover { background: var(--orange); transform: translateY(-3px); }

/* 14. SCROLL REVEAL */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* 15. RESPONSIVE */
@media (max-width: 1200px) {
  .nav-wrap { min-height: 84px; }
  .site-logo { width: 60px; height: 60px; }
  .brand-main { font-size: 18px; }
  .main-nav > a:not(.nav-donate) { padding-left: 7px; padding-right: 7px; font-size: 12px; }
}

@media (max-width: 1100px) {
  .nav-wrap, .main-nav { gap: 15px; }
  .brand { min-width: 190px; }
  .hero h1 { font-size: 65px; }
}

/* Navigation collapses to the hamburger menu */
@media (max-width: 991px) {
  .nav-wrap { min-height: 78px; padding-top: 3px; }
  .site-logo { width: 56px; height: 56px; }
  .brand-main { font-size: 17px; }
  .brand-sub { font-size: 9px; letter-spacing: 0.7px; }
  .menu-toggle { display: flex; margin-left: auto; }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 24px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav > a:not(.nav-donate) { padding: 14px 10px; border-bottom: 1px solid #f0f1f3; font-size: 14px; }
  .nav-donate { width: 100%; margin: 5px 0 0; }
}

@media (max-width: 900px) {
  .hero-grid, .intro-grid, .awards-grid, .impact-inner { grid-template-columns: 1fr; gap: 35px; }

  .hero { min-height: auto; }
  .hero-grid { padding-bottom: 55px; }
  .hero-copy { padding: 60px 0 15px; }
  .hero-art { height: 480px; }
  .hero-yellow { top: 50px; }
  .hero-orbit { top: 5px; }
  .hero-badge { left: 20px; bottom: 30px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }

  .project-grid { grid-template-columns: repeat(2, 1fr); }

  .quote-grid { grid-template-columns: 1fr; }
  .quote-image { border-radius: 25px 25px 0 0; }
  .quote-card { border-radius: 0 0 25px 25px; }

  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .impact-orb { margin-top: 10px; }
}

@media (max-width: 600px) {
  .container { width: min(100% - 30px, 1200px); }

  .nav-wrap { padding-left: 15px; padding-right: 15px; }
  .site-logo { width: 48px; height: 48px; }
  .brand-main { font-size: 15px; }
  .brand-sub { margin-top: 5px; font-size: 8px; letter-spacing: 0.5px; }
  .menu-toggle { width: 40px; height: 40px; }

  .hero h1 { font-size: 48px; letter-spacing: -2px; }
  .hero-copy p { font-size: 14px; }
  .hero-art { height: 390px; }
  .hero-slider { height: 360px; }
  .hero-yellow { top: 45px; width: 300px; height: 300px; }
  .hero-orbit { width: 360px; height: 360px; }
  .hero-badge { left: 10px; bottom: 20px; padding: 14px 16px; }
  .hero-badge strong { font-size: 26px; }

  .section { padding: 65px 0; }
  .intro-grid { gap: 55px; }
  .image-frame img { height: 320px; }
  .floating-note { right: 8px; bottom: -18px; padding: 15px 18px; }

  .stats-grid { grid-template-columns: 1fr; }
  .stat { min-height: 90px; border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .stat:last-child { border-bottom: 0 !important; }

  .project-grid { grid-template-columns: 1fr; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 15px; }
  .section-heading h2, .intro-copy h2 { font-size: 34px; }

  .quote-card { padding: 40px 28px; }
  .quote-card p { font-size: 21px; }
  .award-image img { height: 250px; }
  .impact-inner { padding: 30px 0; }
  .impact-orb { width: 260px; height: 260px; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }

  .hero-actions { width: 100%; }
  .hero-actions .btn { width: 100%; }
}

@media (max-width: 400px) {
  .container { width: calc(100% - 24px); }
  .hero h1 { font-size: 40px; }
  .hero-art { height: 340px; }
  .hero-slider { height: 310px; }
  .hero-yellow { width: 250px; height: 250px; }
  .hero-orbit { width: 310px; height: 310px; }
  .hero-badge { transform: scale(0.9); transform-origin: left bottom; }
  .quote-card { padding: 35px 22px; }
  .quote-card p { font-size: 19px; }
}

/* 16. ACCESSIBILITY */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

a:focus-visible,
button:focus-visible { outline: 3px solid rgba(248, 191, 50, 0.75); outline-offset: 3px; }

/* 17. PRINT */
@media print {
  .site-header, .menu-toggle, .back-top, .hero-dots { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding: 30px 0; }
  a { text-decoration: underline; }
}

/* =========================================================
   18. LEADERSHIP — Priyanka Patil
   (kept last so its padding overrides .section)
   ========================================================= */
.leader {
  --l-bg: #f7f2ec;
  --l-ink: #232220;
  --l-muted: #5d5a55;
  --l-green: #2c5a3f;
  --l-clay: #b8604a;
  --l-line: #ddd5cb;
  color: var(--l-ink);
  padding: 80px 0;
}

.leader .leader-profile { display: grid; grid-template-columns: minmax(260px, 5fr) 7fr; gap: 56px; align-items: center; }
.leader .leader-photo img { aspect-ratio: 4 / 4.6; object-fit: cover; object-position: center top; border-radius: 18px; }
.leader .leader-roles { margin: 0 0 14px; font-size: 0.85rem; letter-spacing: 0.08em; color: var(--l-muted); }
.leader .leader-name {
  margin: 0 0 26px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.98;
  color: var(--purple);
}
.leader .leader-title { display: flex; flex-direction: column; gap: 2px; padding-left: 14px; margin-bottom: 26px; border-left: 3px solid var(--l-clay); }
.leader .leader-title strong { font-size: 1.15rem; color: var(--l-green); }
.leader .leader-title span { font-size: 1.05rem; color: var(--l-muted); }
.leader .leader-motto { margin: 0 0 8px; padding-top: 22px; border-top: 1px solid var(--l-line); font-size: 1.15rem; font-weight: 700; color: var(--l-green); }
.leader .leader-tagline { margin: 0; max-width: 46ch; font-size: 1.1rem; line-height: 1.6; color: var(--l-muted); }

/* Key areas */
.leader .leader-areas { margin-top: 64px; }
.leader .leader-areas h3,
.leader .journey-intro h3 { margin: 0 0 24px; font-family: Georgia, "Times New Roman", serif; font-size: 1.7rem; color: var(--l-ink); }
.leader .area-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 16px; }
.leader .area-list li { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.leader .area-label { font-size: 0.92rem; line-height: 1.35; font-weight: 500; }

.area-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--tint);
  font-size: 34px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12), inset 0 2px 5px rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
}
.area-icon i { filter: drop-shadow(0 4px 3px rgba(0, 0, 0, 0.18)); text-shadow: 0 2px 0 rgba(255, 255, 255, 0.7), 0 5px 8px rgba(0, 0, 0, 0.15); }
.area-list li:hover .area-icon { transform: translateY(-6px) scale(1.08); box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16), inset 0 2px 6px rgba(255, 255, 255, 0.95); }

.a-rose  { --tint: #f2d9d4; }
.a-amber { --tint: #f4e1c3; }
.a-sage  { --tint: #dfe8d4; }
.a-sky   { --tint: #d6e8ef; }
.a-lilac { --tint: #e5dcee; }
.a-gold  { --tint: #ebe3c6; }
.a-green { --tint: #d9e8de; }

.icon-education   { color: #2563eb; }
.icon-women       { color: #db2777; }
.icon-farmer      { color: #16a34a; }
.icon-water       { color: #0284c7; }
.icon-health      { color: #dc2626; }
.icon-livelihood  { color: #d97706; }
.icon-environment { color: #059669; }

/* Journey */
.leader .leader-journey { margin-top: 72px; display: grid; grid-template-columns: 4fr 8fr; gap: 56px; align-items: start; }
.leader .journey-intro p { margin: 0; max-width: 30ch; font-size: 1.1rem; line-height: 1.6; color: var(--l-muted); }

.leader .journey-line { list-style: none; margin: 0; padding: 0 0 0 34px; position: relative; }
.leader .journey-line::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(var(--l-clay), var(--l-green));
}
.leader .journey-step { position: relative; padding: 24px 28px; margin-bottom: 20px; border-radius: 14px; }
.leader .journey-step::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 30px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--l-clay);
  box-shadow: 0 0 0 4px var(--l-bg);
}
.leader .journey-step.is-end { background: transparent; border: 1px solid var(--l-line); margin-bottom: 0; }
.leader .journey-step.is-end::before { background: var(--l-green); }

.leader .journey-place { display: block; margin-bottom: 6px; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.05em; color: var(--l-clay); }
.leader .is-end .journey-place { color: var(--l-green); }
.leader .journey-step h4 { margin: 0 0 10px; font-size: 1.25rem; line-height: 1.3; color: var(--l-ink); }
.leader .journey-step p { margin: 0 0 10px; line-height: 1.65; color: #3a3835; }
.leader .journey-step p:last-child { margin-bottom: 0; }

@media (max-width: 1100px) {
  .leader .area-list { grid-template-columns: repeat(4, 1fr); row-gap: 28px; }
}
@media (max-width: 860px) {
  .leader { padding: 56px 0; }
  .leader .leader-profile,
  .leader .leader-journey { grid-template-columns: 1fr; gap: 32px; }
  .leader .leader-photo img { max-height: 460px; }
}
@media (max-width: 560px) {
  .leader .area-list { grid-template-columns: repeat(2, 1fr); }
  .leader .journey-line { padding-left: 28px; }
  .leader .journey-step { padding: 20px; }
  .leader .journey-step::before { left: -28px; }
}
