/* ==========================================
   VESTA FOUNDATION - CORE DESIGN SYSTEM & VARIABLES
   ========================================== */
:root {
  /* Color Palette */
  --max-width:1240px;
  --primary-brown: #3D1B02;
  --secondary-brown: #251001;
  --gold: #C59B27;
  --light-gold: #E2B844;
  --cream: #FAF6F0;
  --light-bg: #F4EFEA;
  --white: #FFFFFF;
  --text-dark: #2B2B2B;
  --text-muted: #666666;
  --border: #E5DDD5;
  --primary-brown: #3D1B02;
  --gold: #E89A0C;
  --cream: #f9e9c5;
  --light-cream: #faf4e7;
  --text-dark: #2B1D14;
  --text-muted: #665548;
  --border: #E8DCCB;
  --shadow-md: 0 8px 24px rgba(43, 29, 20, 0.08);
  --transition-fast: 0.25s ease;
  --transition-normal: 0.35s ease;
  --radius-sm: 8px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(61, 27, 2, 0.06);
  --shadow-md: 0 6px 18px rgba(61, 27, 2, 0.1);
  --shadow-hover: 0 10px 25px rgba(61, 27, 2, 0.15);

  /* Transitions & Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  background-color: var(--light-bg);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width:  var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
}

.btn-donate {
  background-color: var(--gold);
  color: var(--white);
}

.btn-donate:hover {
  background-color: #d68b07;
  transform: translateY(-2px);
}

/* Back to Top Floating Button */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--primary-brown);
  color: var(--gold);
  border: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--gold);
  color: var(--primary-brown);
}

/* Scroll Animations */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.25, 1, 0.5, 1), transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* ==========================================
   1. HEADER & NAVIGATION STYLES WITH WAVES
   ========================================== */
  .site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: rgba(252, 248, 242, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: padding var(--transition-fast), box-shadow var(--transition-fast);
}
.site-header::before {
  content: '';
  display: block;
  width: 100%;
  height: 14px;
  background: linear-gradient(90deg, 
    #E89A0C 0%, 
    #F3C15C 25%, 
    #E89A0C 50%, 
    #6B2F00 75%, 
    #E89A0C 100%
  );
  clip-path: polygon(0 0, 100% 0, 100% 60%, 75% 100%, 50% 50%, 25% 100%, 0 40%);
}

.site-header.sticky {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  position: relative;
}

.site-header.sticky {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

/* Brand / Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.brand-text h1 {
  font-family: 'Georgia', serif;
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  color: var(--primary-brown);
  line-height: 1.1;
}

.brand-text span {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

/* Desktop Navigation */
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: color var(--transition-fast);
  position: relative;
  padding: 4px 0;
}

.main-nav a.active,
.main-nav a:hover {
  color: var(--gold);
}

.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--gold);
  border-radius: 2px;
}

/* Header Wave Divider Attachment */
.header-wave-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  background-color: var(--white);
}

.header-wave-container svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 28px;
}

.header-wave-container .shape-fill {
  fill: var(--light-bg);
}

/* Mobile Toggle Icon Button */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--primary-brown);
  cursor: pointer;
  padding: 8px;
  line-height: 1;
  transition: color var(--transition-fast);
  z-index: 102;
}

.mobile-nav-toggle:hover {
  color: var(--gold);
}

.mobile-only-donate {
  display: none;
}


/* ==========================================
   2. INTERNAL SUBPAGE HERO BANNER
   ========================================== */
.subpage-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: var(--white);
  padding: 80px 24px;
}

.subpage-hero-bg {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(4px) brightness(0.55);
  transform: scale(1.05);
  z-index: 1;
}

.subpage-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg, 
    rgba(37, 16, 1, 0.7) 0%, 
    rgba(61, 27, 2, 0.85) 100%
  );
  z-index: 2;
}

.subpage-hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  margin: 0 auto;
}

.subpage-hero-icon {
  font-size: 42px;
  color: var(--gold);
  margin-bottom: 16px;
  display: inline-block;
}

.subpage-hero-title {
  font-family: 'Georgia', serif;
  font-size: 40px;
  font-weight: 700;
  margin: 0 0 16px 0;
  line-height: 1.25;
  color: var(--white);
}

.subpage-hero-subtitle {
  font-size: 16px;
  line-height: 1.6;
  color: #EADCD0;
  margin: 0 auto 24px auto;
  max-width: 650px;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  padding: 6px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.breadcrumb a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--light-gold);
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.6);
}

/* ==========================================
   3. NO-CARD SECTION LAYOUT WITH YELLOW DESIGN BORDER
   ========================================== */
.subpage-content {
  padding: 70px 0;
}

/* Yellow Border Section Container */
.bordered-text-section {
  position: relative;
  border-left: 4px solid var(--gold);
  padding: 8px 0 8px 28px;
  margin-bottom: 50px;
}

.bordered-text-section.centered-accent {
  text-align: left;
}

.section-header-title {
  font-family: 'Georgia', serif;
  font-size: 28px;
  color: var(--primary-brown);
  margin-bottom: 16px;
  line-height: 1.3;
}

.section-body-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.section-body-text:last-child {
  margin-bottom: 0;
}

/* Full-width Image Layout without cards */
.subpage-featured-img-wrapper {
  max-width: 100%;
  margin: 40px 0;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.subpage-featured-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.img-caption {
  background-color: var(--cream);
  padding: 12px 20px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  border-top: 1px solid var(--border);
  font-style: italic;
}

/* Bordered Feature Item List (Replacing Grid Cards) */
.feature-list-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 30px;
}

.feature-list-item {
  border-left: 3px solid var(--gold);
  padding-left: 20px;
}

.feature-list-item h3 {
  font-family: 'Georgia', serif;
  font-size: 20px;
  color: var(--primary-brown);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-list-item h3 i {
  color: var(--gold);
  font-size: 18px;
}

.feature-list-item p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}
   /* ==========================================
   FOOTER STYLES
   ========================================== */
.site-footer {
  background-color: var(--secondary-brown, #1A120C);
  color: #FFFFFF;
  padding: 50px 0 24px 0;
  border-top: 3px solid var(--gold, #C59B27);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 40px;
  align-items: start;
}

.footer-col h5 {
  font-family: 'Georgia', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--gold, #C59B27);
  margin-bottom: 18px;
  line-height: 1.2;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  color: #FFFFFF;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  transition: color var(--transition-fast, 0.2s ease);
}

.footer-col ul a:hover {
  color: var(--gold, #C59B27);
  text-decoration: none;
}

/* Contact Details Alignment */
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 12px;
  line-height: 1.4;
}

.footer-contact-item i {
  color: var(--gold, #C59B27);
  font-size: 14px;
  margin-top: 3px;
  flex-shrink: 0;
}

/* Social Buttons */
.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.footer-socials a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 13px;
  transition: all var(--transition-fast, 0.2s ease);
}

.footer-socials a:hover {
  background-color: var(--gold, #C59B27);
  color: var(--secondary-brown, #1A120C);
  transform: translateY(-2px);
}

/* Footer Bottom Bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast, 0.2s ease);
}

.footer-bottom a:hover {
  color: var(--gold, #C59B27);
  text-decoration: none;
}

.footer-bottom p {
  margin: 0;
}

/* Footer Responsive Breakpoints */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}


/* ==========================================
   5. RESPONSIVE BREAKPOINTS
   ========================================== */
@media (max-width: 768px) {
  .mobile-nav-toggle {
    display: block;
  }

  .header-inner > .btn-donate {
    display: none;
  }
.main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--light-cream);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    padding: 90px 24px 30px;
    transition: right var(--transition-normal);
    z-index: 101;
    overflow-y: auto;
  }

  .main-nav.active {
    right: 0;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
  }

  .main-nav ul li {
    width: 100%;
  }

  .main-nav a {
    display: block;
    font-size: 15px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
  }

  .mobile-only-donate {
    display: block !important;
    width: 100%;
    margin-top: 15px;
  }

  .mobile-only-donate .btn-donate {
    display: flex;
    width: 100%;
    text-align: center;
    padding: 12px;
    border-radius: var(--radius-sm);
  }
}

 /* Compact Smartphones (480px and below) */
@media (max-width: 480px) {
  .brand-text h1 {
    font-size: 17px;
  }

  .brand-text span {
    font-size: 9.5px;
  }
}

/* Legacy Small Smartphones (375px and below) */
@media (max-width: 375px) {
  .brand-logo {
    height: 38px;
  }

  .brand-text h1 {
    font-size: 15px;
  }

  .brand-text span {
    font-size: 8.5px;
  }
}

/* Mobile Landscape Height Adjustment */
@media screen and (max-height: 500px) and (orientation: landscape) {
  .site-header {
    position: relative;
  }

  .main-nav {
    padding-top: 60px;
  }
}

  .subpage-hero {
    min-height: 320px;
    padding: 60px 20px;
  }

  .subpage-hero-title {
    font-size: 32px;
  }

  .subpage-featured-img {
    height: 300px;
  }
  /* ==========================================
   FOOTER
   ========================================== */

.site-footer {
  background-color: var(--secondary-brown);
  color: #fff;
  padding: 50px 0 24px;
  border-top: 3px solid var(--gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin-bottom: 40px;
  align-items: start;
}

.footer-col {
  min-width: 0;
}

.footer-col h5 {
  font-family: Georgia, serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 18px;
  line-height: 1.2;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  color: #fff;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.footer-col ul a:hover {
  color: var(--gold);
}

.footer-col p {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.footer-socials a {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 13px;
  transition: all var(--transition-fast);
}

.footer-socials a:hover {
  background-color: var(--gold);
  color: var(--secondary-brown);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--gold);
}


/* ==========================================
   FOOTER RESPONSIVE
   ========================================== */

/* Tablets */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }
}


/* Phones */
@media (max-width: 576px) {
  .site-footer {
    padding: 40px 0 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-col {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}


/* Very small phones */
@media (max-width: 375px) {
  .footer-grid {
    gap: 25px;
  }

  .footer-col ul a,
  .footer-col p {
    font-size: 13px;
  }

  .footer-bottom {
    font-size: 11.5px;
  }
}