/* ------------------------------
   GLOBAL RESET & BASE STYLING
------------------------------ */
:root {
  --purple-deep: #3a1a6f;
  --purple-main: #7d47ff;
  --purple-soft: #f6f0fb;
  --purple-text: #2f144d;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', sans-serif;
  background: #faf7ff;
  color: var(--purple-text);
  line-height: 1.6;
}

/* ------------------------------
   TYPOGRAPHY
------------------------------ */
h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  color: var(--purple-text);
  letter-spacing: -0.5px;
}

h1 {
  font-size: 2.6rem;
  line-height: 1.15;
  margin-bottom: 18px;
}

h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}

h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

p {
  font-size: 1rem;
  margin-bottom: 12px;
}

/* ------------------------------
   PAGE CONTAINER
------------------------------ */
.page {
  width: 100%;
  max-width: 900px;
  margin: auto;
  padding: 0 22px 60px;
}

/* ------------------------------
   HEADER
------------------------------ */
header {
  width: 100%;
  background: transparent;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo img,
img.brand-logo {
  width: 110px;
  height: 110px;
  object-fit: contain;
}

.brand-text-top {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.brand-text-main {
  font-size: 0.85rem;
  color: #7c5a9e;
}

/* ------------------------------
   NAVIGATION
------------------------------ */
.desktop-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.desktop-nav a,
.mobile-nav a {
  text-decoration: none;
  color: #5b3d82;
  font-weight: 500;
  font-size: 1rem;
  transition: 0.2s ease;
}

.desktop-nav a:hover,
.mobile-nav a:hover {
  color: #8d57ff;
  text-decoration: underline;
}

/* Hamburger */
.hamburger {
  width: 30px;
  height: 22px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  position: relative;
  z-index: 9999;
}

.hamburger span {
  height: 3px;
  width: 100%;
  background: var(--purple-deep);
  border-radius: 3px;
  transition: 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile dropdown */
.mobile-nav {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 85px;
  right: 0;
  background: rgba(255,255,255,0.98);
  padding: 18px 22px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  z-index: 999;
  animation: fadeDown 0.25s ease forwards;
}

.mobile-nav a {
  padding: 8px 0;
  font-size: 1.05rem;
}

.mobile-nav.open {
  display: flex;
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ------------------------------
   HERO SECTION
------------------------------ */
.hero,
.page-intro {
  margin-bottom: 60px;
}

.hero-title,
.page-intro h1 {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.hero-body,
.page-intro p {
  font-size: 1.1rem;
  margin-bottom: 18px;
  max-width: 700px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  margin-top: 18px;
}

.btn-primary,
.btn-secondary,
.btn-pro {
  padding: 14px 26px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: 0.25s ease;
}

.btn-primary {
  background: var(--purple-main);
  color: white;
  border: 2px solid var(--purple-main);
}

.btn-primary:hover {
  background: #6232d4;
  box-shadow: 0 0 14px rgba(125, 71, 255, 0.6);
}

.btn-secondary-solid {
  background: #fff;
  border: 2px solid var(--purple-deep);
  color: var(--purple-deep);
  font-weight: 600;
}

.btn-secondary-solid:hover {
  background: var(--purple-deep);
  color: #fff;
}

.btn-pro {
  background: #3d0c74;
  color: white;
  border: 2px solid #3d0c74;
  margin-top: 14px;
}

.btn-pro:hover {
  background: #2a0752;
  box-shadow: 0 0 14px rgba(61, 12, 116, 0.5);
}

/* ------------------------------
   SECTIONS
------------------------------ */
.section {
  margin-top: 60px;
}

.section-narrow {
  margin-top: 40px;
}

.section-pill {
  padding: 6px 12px;
  border-radius: 20px;
  background: #e9d9ff;
  color: #6b3aa8;
  font-size: 0.85rem;
  margin-bottom: 12px;
  display: inline-flex;
}

.section-title {
  margin-bottom: 20px;
}

.section-lead {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

/* ------------------------------
   CARDS & GRID
------------------------------ */
.section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 22px;
}

.card-soft {
  background: white;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border: 1px solid #f0eaff;
  transition: 0.25s ease;
}

.card-soft:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.pill-mini {
  display: inline-block;
  padding: 4px 10px;
  background: #f2e7ff;
  color: #6b3aa8;
  border-radius: 12px;
  font-size: 0.8rem;
  margin-bottom: 8px;
}

/* ------------------------------
   LIST STYLING
------------------------------ */
ul.bullet {
  padding-left: 20px;
  margin: 8px 0 14px;
}

ul.bullet li {
  margin-bottom: 8px;
}

/* ------------------------------
   PRIVACY NOTE
------------------------------ */
.privacy-note {
  background: #f5f0ff;
  border-left: 4px solid var(--purple-deep);
  padding: 18px 20px;
  border-radius: 10px;
  margin-top: 40px;
  font-size: 14.5px;
  line-height: 1.55;
  color: #4c3a66;
}

.privacy-note a {
  color: var(--purple-deep);
  text-decoration: underline;
}

/* ------------------------------
   TESTIMONIAL SECTION
------------------------------ */

.testimonial-section {
  text-align: center;
  padding: 45px 20px 35px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f3e9fa, #ead8f7);
  margin-top: 40px;
  border-radius: 24px;
}

/* Soft animated glow */
.testimonial-section::before {
  content: "";
  position: absolute;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(190,130,255,0.25), transparent 70%);
  top: -120px;
  left: -120px;
  animation: glowMove 8s infinite alternate ease-in-out;
  filter: blur(60px);
}

@keyframes glowMove {
  from {
    transform: translate(0, 0);
  }

  to {
    transform: translate(80px, 60px);
  }
}

.testimonial-title {
  font-size: 28px;
  margin-bottom: 20px;
  color: #5e2a84;
  position: relative;
  z-index: 2;
}

.testimonial-container {
  position: relative;
  max-width: 650px;
  margin: auto;
  min-height: 105px;
  z-index: 2;
}

.testimonial {
  position: absolute;
  width: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  font-size: 19px;
  line-height: 1.7;
  color: #4b2a63;
  font-style: italic;
  left: 0;
  top: 0;
}

.testimonial.active {
  opacity: 1;
}

/* Little decorative divider */
.testimonial-divider {
  margin-top: 6px;
  font-size: 26px;
  color: #7d47ff;
  opacity: 0.8;
  position: relative;
  z-index: 2;
}

/* ------------------------------
   DONATION SECTION
------------------------------ */

.donation-card {
  text-align: center;
  margin-top: 20px;
}

.donation-title {
  font-size: 2rem;
  margin-bottom: 18px;
  color: #4b216f;
}

.donation-text {
  max-width: 650px;
  margin: 0 auto 18px;
  line-height: 1.8;
}

.donation-btn {
  margin-top: 10px;
}

/* ------------------------------
   FOOTER / SOCIAL ICONS
------------------------------ */
footer,
.footer-card {
  text-align: center;
  padding: 30px 22px;
  margin-top: 50px;
  font-size: 0.9rem;
  color: #6b5d80;
}

.social-icons {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
  margin-bottom: 25px;
}

.social-icons a {
  color: var(--purple-deep);
  font-size: 28px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icons a:hover {
  color: #8d57ff;
  transform: translateY(-3px);
}

.footer-text,
.copyright {
  text-align: center;
  color: #5b3d82;
  font-size: 14px;
  line-height: 1.6;
}

.copyright {
  margin-bottom: 0;
}

/* ------------------------------
   ANIMATION
------------------------------ */
.animate {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ------------------------------
   RESPONSIVE DESIGN
------------------------------ */
@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-nav.open {
    display: flex;
  }
}

@media (max-width: 768px) {
  .page {
    padding: 0 18px 50px;
  }

  h1,
  .hero-title,
  .page-intro h1 {
    font-size: 2rem;
  }

  .brand-logo img,
  img.brand-logo {
    width: 75px;
    height: 75px;
  }

  .brand-text-main {
    font-size: 0.75rem;
  }

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

  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    width: 100%;
    text-align: center;
  }

  .testimonial-section {
    padding: 60px 18px;
  }

  .testimonial-title {
    font-size: 26px;
  }

 .testimonial-container {
  min-height: 80px;
}

  .testimonial {
    font-size: 17px;
  }

  .social-icons a {
    font-size: 26px;
  }
}