/* ===========================
   CSS CUSTOM PROPERTIES
   =========================== */

:root {
    --bg-cream: #f8f6f2;
    --bg-white: #ffffff;
    --text-dark: #2c2c2c;
    --text-medium: #444444;
    --text-light: #666666;
    --accent-red: #a41e22;
    --accent-red-dark: #8b1a1e;
    --accent-blue: #2563eb;
    --accent-teal: #0d7377;
    --border-light: #e5e5e5;
    --shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.12);
    
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===========================
   GLOBAL BASE STYLES
   =========================== */

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background: var(--bg-cream);
    font-family: 'Source Sans 3', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    animation: fadeIn 0.3s ease-in;

}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===========================
   HEADER & NAVIGATION (Landing)
   =========================== */

.header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 24px 40px;
    background: var(--bg-cream);
}

.nav-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nav-links a {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 400;
    color: var(--text-dark);
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--accent-red);
    text-decoration: none;
}

.section-wrapper {
  max-width: 768px;
  padding-left: 16px;
  padding-right: 16px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

p {
  font-size: 19px;
  line-height: 2.1;
  text-align: center;
  font-family: "Lora", serif;
  color: #374151;
  font-weight: 400;
}

@media screen and (max-width: 600px) {
  p {
    font-size: 15px;
  }
}

ul {
  text-align: center;
  list-style: none;
  padding-left: 0px;
  font-size: 16px;
  line-height: 1.625;
}

h2 {
  font-family: "Great Vibes", cursive;
}

h3 {
  font-family: "Allura", cursive;
  text-align: center;
}

span {
  unicode-bidi: bidi-override;
  direction: rtl;
}

.landing-page {
  position: relative;
  display: flex;
  flex-direction: column;
  opacity: 1;
  z-index: 10;
  transition: all 0.5s ease;
}

.affiliation-disclosure {
  font-size: 0.9rem;
  color: #666;
  font-style: italic;
  margin: 1rem 0 1.5rem 0;
  text-align: center;
}

/* ===========================
   LOGO WITH CORRECTED ANIMATION
   =========================== */


.logo-container {
  position: static;
}

.logo-sticks {
  display: flex;
  gap: 28px;
  padding-left: 32px;
  justify-content: center;
}

.column,
.shadow {
  width: 5px;
  height: 60px;
  border-radius: 5px;
  transform: skewX(-30deg);
}

.column {
  background-color: #000;
}

.shadow {
  background-color: rgba(128, 128, 128, 0.5);
  opacity: 0;
  animation: shadow-fade 4.5s infinite;
}

/* Target shadows based on their actual position in HTML */
/* Structure: column, shadow, column, shadow, column, shadow */
.logo-sticks > .shadow:nth-of-type(2) {
  animation-delay: 0s;
}

.logo-sticks > .shadow:nth-of-type(4) {
  animation-delay: 1.5s;
}

.logo-sticks > .shadow:nth-of-type(6) {
  animation-delay: 3s;
}

@keyframes shadow-fade {
  0% {
    opacity: 0;
  }
  33.33% {
    opacity: 1;
  }
  66.66% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
.foundation-text {
  position: static;
  font-size: 11px;
  font-weight: bold;
  color: #444;
  letter-spacing: 5px;
  text-align: center;
  white-space: nowrap;
  padding-top: 5px;
  animation: text-shadow-fade 3s infinite;
}

@keyframes text-shadow-fade {
  0% {
    text-shadow: none;
  }
  50% {
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  }
  100% {
    text-shadow: none;
  }
}

@media screen and (max-width: 600px) {
  .logo-sticks {
    gap: 20px;
    padding-left: 20px;
  }
  .column {
    position: static;
    width: 3px;
    height: 35px;
    border-radius: 5px;
    transform: skewX(-30deg);
  }
  .ul-bars {
    width: 100px;
  }
  .foundation-text {
    font-size: 8px;
  }
}

/* ===========================
   LANDING PAGE
   =========================== */

.landing {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 40px 60px;
    box-sizing: border-box;
}


.landing-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 30px;
    color: var(--text-dark);
}

.tagline {
  font-size: 17px;
}

.mission-text {
  font-size: 17px;
}

.cta-text {
  font-size: 16px;
  font-weight: 700;
}

/* PayPal Badge */
.badge-link {
    display: inline-block;
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-bottom: 12px;
}

.badge-link:hover {
    transform: translateY(-2px);
}

.paypal-badge-img {
    width: 180px;
    height: auto;
    display: block;
}

/* Disclaimer Link */
.disclaimer-link {
  margin-top: 6px;
  margin-bottom: 0px;
}

.disclaimer-link a {
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 600;
    color: var(--accent-red);
    transition: color 0.2s ease;
}

.disclaimer-link a:hover {
    color: var(--accent-red-dark);
}

/* Landing Footer */
.landing-footer {
  margin-top: 8px;
}

.legal-text {
    font-size: 14px;
    margin: 0 0 8px;
    color: black;
}

.copyright {
    font-size: 13px;
    color: black;
    margin: 0;
}

.page-footer {
  margin-top: 3rem;
  padding: 2rem 0;
  border-top: 2px solid #e0e0e0;
  text-align: center;
}
/* ===========================
   PAGE STYLES (Inner Pages)
   =========================== */

.page-body {
    background: var(--bg-white);
}

.page-body p,
.page-body a,
.page-body li,
.page-body span,
.page-body strong,
.page-body em,
.page-body h1,
.page-body h3 {
    color: #1f3b63;
}

.page-nav {
    padding: 20px 40px;
    background: var(--bg-cream);
    border-bottom: 1px solid var(--border-light);
}

.back-link {
    font-family: var(--font-sans);
    font-size: 14px;
    color: var(--text-dark);
    transition: color 0.2s ease;
}

.back-link:hover {
    color: var(--accent-red);
    text-decoration: none;
}

.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 600;
  margin: 0 0 20px;
  color: var(--text-dark);
}

.title-underline {
    width: 200px;
    height: 3px;
    background: var(--accent-red);
    margin: 0 auto;
}

.effective-date {
    font-family: var(--font-sans);
    font-size: 14px;
    color: var(--text-medium);
    margin-top: 20px;
}

.button {
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  text-align: center;
  background-color: #2563eb;
  border: 1px solid #007bff;
  color: #fff;
  transition: background-color 0.3s ease;
}

.button:hover {
  background-color: #1d4ed8;
}

.video-container {
  margin-top: 30px;
}

.video-container video {
  width: 100%;
}

.button-green {
  background-color: #28a745;
  color: white;
  padding: 10px 20px;
  font-size: 20px;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
}

.button-green:hover {
  background-color: #218838;
}

/* ===========================
   DONATION DISCLAIMER PAGE
   =========================== */

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
      max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 900px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.section {
    margin-bottom: 24px;
}

.section-title {
  font-size: 20px;
  font-weight: 600;
}

.section-title.red {
    color: var(--accent-red);
    text-align: center;
}

.section-title.italic {
    font-style: italic;
}

.section-title.centered {
    text-align: center;
}

.subsection-title {
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 10px;
    color: var(--text-dark);
}

.section-text {
  font-family: "Lora", serif;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-medium);
}

.section-text.centered {
    text-align: center;
}

.section-text a {
    color: var(--accent-blue);
}

.email-text {
    font-family: var(--font-sans);
    font-size: 14px;
    margin: 8px 0;
    color: var(--text-dark);
}

.thank-you {
    margin-top: 16px;
}

/* Image Containers */
.image-container {
    margin: 30px 0;
}

.placeholder-image {
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.jar-img {
    width: 350px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
}

.donate-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.independence-section {
    background: var(--bg-cream);
    padding: 30px;
    border-radius: 8px;
    margin-top: 30px;
}

/* ===========================
   SECURITY POLICY PAGE
   =========================== */

.security-page {
    background: var(--bg-white);
}

.intro-section {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
    padding: 30px;
    background: var(--bg-cream);
    border-radius: 8px;
}

@media (max-width: 768px) {
    .intro-section {
        flex-direction: column;
        text-align: center;
    }
}

.security-badge {
    flex-shrink: 0;
}

.security-badge-img {
    width: 180px;
    height: auto;
    display: block;
}

.intro-text {
    flex: 1;
}

.intro-text p {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-medium);
    margin: 0;
}

/* Policy Card */
.policy-card {
    background: var(--bg-cream);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow-soft);
}

.policy-section {
    margin-bottom: 32px;
}

.policy-section:last-child {
    margin-bottom: 0;
}

.policy-title {
    text-align: center;
    font-size: 22px;
    margin-bottom: 16px;
}

.policy-title.red {
    color: var(--accent-red);
}

.policy-title.italic {
    font-style: italic;
}

.policy-text {
  font-family: "Lora", serif;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-medium);
}

.policy-text.centered {
    text-align: center;
}

.email-link {
    color: var(--accent-teal) !important;
    font-weight: 500;
}

.pgp-link {
    color: var(--accent-blue) !important;
    word-break: break-all;
}

.policy-list {
    list-style: none;
    padding-left: 0;
    margin: 16px auto 0;
    max-width: 650px;
    text-align: left;
}

.policy-list li {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.9;
    color: #1f3b63;
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
}

.policy-list li::before {
    content: "•";
    position: absolute;
    left: 10px;
    font-size: 18px;
    color: #1f3b63;
}


/* ===========================
   RESPONSIVE ADJUSTMENTS
   =========================== */

@media (max-width: 768px) {
    .header {
        padding: 20px;
        flex-direction: column-reverse;
        align-items: center;
        gap: 20px;
    }
    
    .nav-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }
    
    .logo {
        align-items: center;
    }
    
    .landing {
        padding: 20px;
    }
    
    .page-container {
        padding: 20px;
    }
    
    .intro-section {
        padding: 20px;
    }
    
    .policy-card {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .landing-title {
        font-size: 28px;
    }
    
    .page-title {
        font-size: 24px;
    }
    
    .badge-circle {
        width: 120px;
        height: 120px;
    }
    
    .badge-security-text {
        font-size: 14px;
    }
}
.lading-button {
  margin-bottom: 0.75rem;
}

.affiliation-disclosure {
  margin-top: 1.75rem;   /* was ~1rem; this gives one more visual “breath” */
  font-weight: 700;
}

