/* ============================================
   SAFE PLACE WITH MMA - MAIN STYLESHEET
   Colors: Royal Plum (#5A2A5F) · Antique Gold (#C8A14B) · Cream (#F7F3EC)
   Rich, Elegant & Distinctive
   "You don't have to pretend here."
   ============================================ */


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

:root {
  /* Brand Colors - Plum & Gold */
  --primary: #5A2A5F;
  --primary-dark: #451A4A;
  --primary-light: #6A3A6F;
  --secondary: #C8A14B;
  --secondary-light: #D8B96B;
  --background: #F7F3EC;
  --white: #FFFFFF;
  --text: #4A5568;
  --text-light: #6A7A8A;
  --text-muted: #9A9A9A;
  --border: #EAE3D8;
  --shadow: rgba(90, 42, 95, 0.12);
  --radius: 20px;
  --radius-sm: 12px;
  --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --font-serif: Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--background);
  color: var(--text);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  position: relative;
  z-index: 2;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================ */
/* IMAGE UTILITY CLASSES - FIXED */
/* ============================================ */

/* For hero images - shows entire image */
.hero-img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  border-radius: var(--radius, 12px);
  display: block;
  background: var(--background, #f9f9f9);
}

/* For about page images */
.about-img {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
  border-radius: var(--radius, 12px);
  display: block;
  background: var(--background, #f9f9f9);
}

/* For reading page hero image */
.reading-hero-img {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: contain;
  border-radius: var(--radius, 12px);
  display: block;
  background: var(--background, #f9f9f9);
}

/* For community card images */
.card-img {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: contain;
  border-radius: var(--radius-sm, 8px);
  display: block;
  background: var(--background, #f9f9f9);
}

/* For testimonial images */
.testimonial-img {
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: contain;
  border-radius: var(--radius, 12px);
  display: block;
  background: var(--background, #f9f9f9);
}

/* For banner images */
.banner-img {
  width: 100%;
  height: auto;
  max-height: 180px;
  object-fit: contain;
  border-radius: var(--radius-sm, 8px);
  display: block;
  background: var(--background, #f9f9f9);
}

/* For contact hero image */
.contact-hero-img {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: contain;
  border-radius: var(--radius, 12px);
  display: block;
  background: var(--background, #f9f9f9);
}

/* For author photo - auto-size and centered */
.author-photo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 1rem;
}

.author-photo img {
  width: min(180px, 70%);
  height: auto;
  aspect-ratio: 1/1;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--secondary);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Image wrapper - prevents overflow */
.image-wrapper {
  overflow: hidden;
  border-radius: var(--radius, 12px);
  margin-bottom: 1.5rem;
  background: var(--background, #f9f9f9);
}

/* ============================================ */
/* FLOATING AFFIRMATIONS - SLIDING WORDS */
/* ============================================ */

.floating-affirmations {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.floating-word {
  position: absolute;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--secondary);
  opacity: 0.12;
  white-space: nowrap;
  animation: floatWord linear infinite;
  letter-spacing: 2px;
}

@keyframes floatWord {
  0% {
    transform: translateY(100vh) rotate(0deg) scale(0.8);
    opacity: 0;
  }
  10% {
    opacity: 0.12;
  }
  90% {
    opacity: 0.12;
  }
  100% {
    transform: translateY(-10vh) rotate(360deg) scale(1.2);
    opacity: 0;
  }
}

.floating-word:nth-child(1) { left: 5%; animation-duration: 25s; font-size: 1.4rem; }
.floating-word:nth-child(2) { left: 15%; animation-duration: 30s; font-size: 1.0rem; animation-delay: 2s; }
.floating-word:nth-child(3) { left: 25%; animation-duration: 28s; font-size: 1.6rem; animation-delay: 4s; }
.floating-word:nth-child(4) { left: 35%; animation-duration: 32s; font-size: 1.2rem; animation-delay: 1s; }
.floating-word:nth-child(5) { left: 45%; animation-duration: 26s; font-size: 1.8rem; animation-delay: 3s; }
.floating-word:nth-child(6) { left: 55%; animation-duration: 29s; font-size: 1.0rem; animation-delay: 5s; }
.floating-word:nth-child(7) { left: 65%; animation-duration: 31s; font-size: 1.5rem; animation-delay: 0.5s; }
.floating-word:nth-child(8) { left: 75%; animation-duration: 27s; font-size: 1.1rem; animation-delay: 3.5s; }
.floating-word:nth-child(9) { left: 85%; animation-duration: 33s; font-size: 1.3rem; animation-delay: 2.5s; }
.floating-word:nth-child(10) { left: 92%; animation-duration: 24s; font-size: 0.9rem; animation-delay: 4.5s; }

/* ============================================ */
/* SPARKLES / PARTICLES */
/* ============================================ */

.sparkle-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.sparkle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--secondary);
  border-radius: 50%;
  animation: sparkleFloat 6s ease-in-out infinite;
  opacity: 0;
}

@keyframes sparkleFloat {
  0% { transform: translateY(0) scale(0); opacity: 0; }
  20% { opacity: 0.6; transform: scale(1); }
  80% { opacity: 0.6; }
  100% { transform: translateY(-100px) scale(0); opacity: 0; }
}

/* ============================================ */
/* SCROLL ANIMATIONS */
/* ============================================ */

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* ============================================ */
/* TYPOGRAPHY */
/* ============================================ */

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.3;
  color: var(--text);
}

.section-title {
  font-size: 2.4rem;
  margin: 2.5rem 0 1rem;
  color: var(--text);
  font-weight: 400;
}

.section-title span {
  color: var(--primary);
  font-weight: 600;
}

.section-subtitle {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 650px;
  margin-bottom: 1.5rem;
}

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

.btn {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 0.7rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  line-height: 1.4;
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(90, 42, 95, 0.30);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 6px 24px rgba(90, 42, 95, 0.20);
}

.btn-sm {
  padding: 0.4rem 1.2rem;
  font-size: 0.8rem;
}

.btn-secondary {
  background: var(--secondary);
  color: var(--text);
}

.btn-secondary:hover {
  background: var(--secondary-light);
  color: var(--text);
  box-shadow: 0 6px 24px rgba(200, 161, 75, 0.30);
}

/* ============================================ */
/* NAVIGATION */
/* ============================================ */

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 1.2rem 0 1.2rem;
  border-bottom: 1px solid rgba(90, 42, 95, 0.10);
  gap: 1rem;
}

.logo-img {
  max-height: 50px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-sans);
}

.logo-text span {
  color: var(--secondary);
  font-weight: 300;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a.active {
  color: var(--primary);
}

/* ============================================ */
/* HERO SECTION */
/* ============================================ */

.hero {
  padding: 3rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 400;
  max-width: 780px;
  color: var(--text);
  line-height: 1.15;
}

.hero h1 em {
  color: var(--primary);
  font-style: normal;
  font-weight: 600;
}

.hero .tagline {
  font-size: 1.25rem;
  color: var(--text-light);
  max-width: 600px;
  font-weight: 300;
  border-left: 4px solid var(--secondary);
  padding-left: 1.5rem;
  line-height: 1.6;
}

.hero .tagline .typewriter {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  border-right: 3px solid var(--secondary);
  animation: typewriter 3s steps(40) 1s forwards, blink 0.8s step-end infinite;
  width: 0;
  max-width: fit-content;
}

@keyframes typewriter {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink {
  50% { border-color: transparent; }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

/* ============================================ */
/* ACCENT LINE */
/* ============================================ */

.accent-line {
  width: 60px;
  height: 3px;
  background: var(--secondary);
  margin: 0.5rem 0 1.5rem;
  border-radius: 10px;
}

/* ============================================ */
/* GRID & CARDS */
/* ============================================ */

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--white);
  padding: 1.8rem 1.8rem 2.2rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(90, 42, 95, 0.06);
  transition: all var(--transition);
}

.card:hover {
  box-shadow: 0 8px 40px rgba(90, 42, 95, 0.10);
  transform: translateY(-3px);
}

.card h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 0.6rem;
}

.card p {
  color: var(--text-light);
  font-size: 0.98rem;
}

/* ============================================ */
/* DEVOTIONAL PREVIEW */
/* ============================================ */

.devotional-preview {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 2.2rem;
  border-left: 6px solid var(--secondary);
  margin: 2rem 0;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.02);
}

.devotional-preview small {
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.5px;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.devotional-preview h4 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin: 0.4rem 0 0.3rem;
  color: var(--text);
}

.devotional-preview .opening-preview {
  color: var(--text-light);
  font-style: italic;
  font-size: 0.98rem;
}

.devotional-preview .scripture-preview {
  font-weight: 500;
  color: var(--primary);
  margin-top: 0.5rem;
  font-size: 0.95rem;
}

/* ============================================ */
/* READING / CALENDAR */
/* ============================================ */

.month-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.5rem 0;
}

.month-nav a {
  padding: 0.4rem 1.4rem;
  border-radius: 30px;
  background: var(--border);
  color: var(--text);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all var(--transition);
  cursor: pointer;
}

.month-nav a:hover,
.month-nav a.active {
  background: var(--primary);
  color: var(--white);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.4rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.2rem;
  border: 1px solid var(--border);
}

.calendar-header {
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  padding: 0.4rem 0;
  text-align: center;
}

.calendar-day {
  padding: 0.7rem 0.3rem;
  text-align: center;
  border-radius: 10px;
  font-size: 0.9rem;
  background: var(--background);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  color: var(--text);
  border: none;
  font-family: var(--font-sans);
  font-weight: 400;
}

.calendar-day:hover:not(.future) {
  background: var(--secondary);
  color: var(--white);
  transform: scale(1.05);
}

.calendar-day.today {
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(90, 42, 95, 0.25);
}

.calendar-day.read {
  background: #F0EAE8;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.calendar-day.future {
  opacity: 0.35;
  cursor: default;
}

.calendar-day.future:hover {
  background: var(--background);
  transform: none;
  cursor: not-allowed;
}

/* ============================================ */
/* DAY DETAIL */
/* ============================================ */

.day-detail {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.2rem 2.5rem;
  margin: 1.8rem 0;
  border: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.02);
}

.day-detail .day-date {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.day-detail h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--text);
  margin: 0.3rem 0 1rem;
}

.day-detail .opening {
  font-style: italic;
  color: var(--text-light);
  border-left: 3px solid var(--secondary);
  padding-left: 1.2rem;
  margin: 0.8rem 0 1.2rem;
  font-size: 1.05rem;
}

.day-detail .message {
  color: var(--text);
  margin: 1.2rem 0;
  font-size: 1.02rem;
}

.day-detail .message p {
  margin-bottom: 1rem;
}

.day-detail .scripture-box {
  background: var(--background);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  margin: 1rem 0 1.2rem;
  border-left: 4px solid var(--primary);
  font-weight: 500;
  color: var(--primary-dark);
}

.day-detail .reflection-list {
  margin: 1rem 0 1.2rem;
  padding-left: 1.5rem;
}

.day-detail .reflection-list li {
  margin: 0.6rem 0;
  color: var(--text-light);
}

.day-detail .prayer-box {
  background: var(--background);
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  margin: 1rem 0;
  border: 1px solid var(--border);
}

.day-detail .prayer-box .prayer-label {
  font-weight: 600;
  color: var(--primary);
  display: block;
  margin-bottom: 0.4rem;
}

.day-detail .prayer-box p {
  font-style: italic;
  color: var(--text-light);
  line-height: 1.8;
}

.day-detail .declaration-box {
  background: var(--primary);
  color: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  margin: 1.2rem 0;
  text-align: center;
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1.6;
}

.day-nav {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

/* ============================================ */
/* ABOUT PAGE */
/* ============================================ */

.about-hero {
  padding: 2rem 0 1rem;
}

.about-hero h1 {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 400;
  color: var(--text);
}

.about-hero h1 span {
  color: var(--primary);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin: 2rem 0;
}

.about-content p {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 1.2rem;
}

.about-content h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--primary);
  margin: 1.5rem 0 0.5rem;
}

.author-bio {
  background: var(--background);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin: 1.5rem 0;
}

.author-bio h3 {
  font-family: var(--font-serif);
  color: var(--primary);
  margin-bottom: 0.8rem;
}

.author-bio p {
  font-size: 0.98rem;
  color: var(--text-light);
}

/* ============================================ */
/* COMMUNITY PAGE */
/* ============================================ */

.community-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: center;
  transition: all var(--transition);
}

.community-card:hover {
  box-shadow: 0 8px 40px rgba(90, 42, 95, 0.10);
  transform: translateY(-3px);
}

.community-card .icon {
  font-size: 3rem;
  margin-bottom: 0.8rem;
}

.community-card h3 {
  font-family: var(--font-serif);
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.community-card p {
  color: var(--text-light);
  margin-bottom: 1.2rem;
}

/* ============================================ */
/* CONTACT PAGE */
/* ============================================ */

.contact-form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 1rem;
  background: var(--background);
  transition: border var(--transition);
  color: var(--text);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(90, 42, 95, 0.12);
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text-light);
}

.contact-info-item .icon {
  font-size: 1.2rem;
  width: 2rem;
}

/* WhatsApp Card */
.whatsapp-card {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  padding: 2.5rem;
  border-radius: var(--radius);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.whatsapp-card .whatsapp-icon {
  font-size: 4rem;
  margin-bottom: 0.5rem;
  display: block;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.whatsapp-card h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: white;
  margin-bottom: 0.5rem;
}

.whatsapp-card p {
  color: rgba(255,255,255,0.9);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto 1.5rem;
}

.whatsapp-btn {
  display: inline-block;
  background: white;
  color: #25D366;
  padding: 0.8rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.whatsapp-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.status-badge {
  display: inline-block;
  background: #4CAF50;
  color: white;
  padding: 0.2rem 0.8rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.quick-responses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-top: 1.5rem;
  text-align: left;
}

.quick-response-btn {
  background: rgba(255,255,255,0.15);
  color: white;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.2);
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.quick-response-btn:hover {
  background: rgba(255,255,255,0.25);
}

/* ============================================ */
/* TESTIMONIALS */
/* ============================================ */

.testimonial {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  position: relative;
}

.testimonial::before {
  content: '"';
  font-size: 4rem;
  color: var(--secondary);
  font-family: var(--font-serif);
  position: absolute;
  top: -0.5rem;
  left: 1rem;
  opacity: 0.3;
}

.testimonial p {
  color: var(--text-light);
  font-style: italic;
  font-size: 1.02rem;
  margin-top: 0.5rem;
}

.testimonial .author {
  font-style: normal;
  font-weight: 600;
  color: var(--primary);
  margin-top: 0.8rem;
  display: block;
}

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

footer {
  margin-top: 4rem;
  padding: 2.5rem 0 1.5rem;
  border-top: 1px solid rgba(90, 42, 95, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
}

.footer-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
}

.social-links {
  display: flex;
  gap: 1.2rem;
}

.social-links a {
  color: var(--text-muted);
  font-size: 1.3rem;
  transition: color var(--transition);
}

.social-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(90, 42, 95, 0.06);
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

@media (max-width: 992px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 1rem 1.2rem;
  }

  nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .nav-links {
    gap: 1rem;
    font-size: 0.85rem;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero .tagline {
    font-size: 1rem;
    padding-left: 1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .day-detail {
    padding: 1.2rem 1.2rem;
  }

  .day-detail h2 {
    font-size: 1.5rem;
  }

  .calendar-grid {
    padding: 0.6rem;
    gap: 0.2rem;
  }

  .calendar-day {
    padding: 0.4rem 0.1rem;
    font-size: 0.75rem;
    border-radius: 6px;
  }

  .month-nav a {
    font-size: 0.7rem;
    padding: 0.3rem 1rem;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .day-nav {
    flex-direction: column;
    align-items: center;
  }

  .day-nav .btn {
    width: 100%;
    text-align: center;
  }

  .floating-affirmations {
    display: none;
  }

  /* Image responsive overrides */
  .hero-img {
    max-height: 250px;
  }
  
  .about-img {
    max-height: 200px;
  }
  
  .reading-hero-img {
    max-height: 180px;
  }
  
  .card-img {
    max-height: 150px;
  }
  
  .testimonial-img {
    max-height: 160px;
  }
  
  .banner-img {
    max-height: 140px;
  }
  
  .contact-hero-img {
    max-height: 180px;
  }
  
  .author-photo img {
    width: min(140px, 60%);
  }

  /* WhatsApp card responsive */
  .whatsapp-card {
    padding: 1.5rem;
  }
  
  .whatsapp-card h2 {
    font-size: 1.5rem;
  }
  
  .quick-responses {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .logo-img {
    max-height: 40px;
  }

  .nav-links {
    gap: 0.7rem;
    font-size: 0.8rem;
  }

  .btn {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
  }

  .devotional-preview {
    padding: 1.2rem;
  }

  .devotional-preview h4 {
    font-size: 1.2rem;
  }

  .day-detail .declaration-box {
    font-size: 0.9rem;
    padding: 1rem;
  }

  /* Image responsive overrides */
  .hero-img {
    max-height: 180px;
  }
  
  .about-img {
    max-height: 150px;
  }
  
  .reading-hero-img {
    max-height: 140px;
  }
  
  .card-img {
    max-height: 120px;
  }
  
  .testimonial-img {
    max-height: 130px;
  }
  
  .banner-img {
    max-height: 110px;
  }
  
  .contact-hero-img {
    max-height: 140px;
  }
  
  .author-photo img {
    width: min(120px, 50%);
  }
}

/* ============================================ */
/* UTILITY CLASSES */
/* ============================================ */

.text-center {
  text-align: center;
}

.text-muted {
  color: var(--text-muted);
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

.hidden {
  display: none;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gap-1 { gap: 1rem; }
.gap-2 { gap: 2rem; }