/* ==========================================================================
   EMMANUEL BLAKE - BOOK MARKETING SPECIALIST
   SHARED STYLESHEET (style.css)
   ========================================================================== */

/* ===== 1. CSS VARIABLES & RESET ===== */
:root {
  --primary: #0F5D50;       /* Deep Forest Green */
  --primary-dark: #0A433A;  /* Dark Forest Green */
  --primary-light: #1A7A68; /* Soft Forest Green */
  --gold: #D4AF37;          /* Premium Gold */
  --gold-hover: #B89320;    /* Darker Gold */
  --gold-bg: #FFFBF0;       /* Light Gold Tint */
  --bg-light: #F7F9FC;      /* Clean Off-White Section BG */
  --bg-white: #FFFFFF;
  --text-dark: #1F2937;     /* Dark Charcoal Headings/Body */
  --text-muted: #6B7280;    /* Gray Body Text */
  --border-color: #E5E7EB;
  --shadow-sm: 0 4px 6px -1px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 25px -5px rgba(15, 93, 80, 0.08);
  --shadow-lg: 0 20px 40px -5px rgba(0,0,0,0.12);
  --radius: 12px;
  --transition: all 0.3s ease;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', -apple-system, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* ===== 2. TYPOGRAPHY & BUTTONS ===== */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.25;
}

h1 { font-size: 3.2rem; font-weight: 700; }
h2 { font-size: 2.4rem; font-weight: 700; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.2rem; font-weight: 600; }

p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section {
  padding: 90px 0;
}

.bg-light {
  background-color: var(--bg-light);
}

.text-center { text-align: center; }

.section-head {
  max-width: 700px;
  margin-bottom: 50px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.tag-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  background-color: rgba(15, 93, 80, 0.08);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 15px;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-light {
  background-color: #fff;
  color: var(--primary);
}

.btn-light:hover {
  background-color: var(--gold-bg);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }

/* ===== 3. PRELOADER ===== */
.preloader {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: #fff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.loaded {
  opacity: 0;
  visibility: hidden;
}

.loader-ring {
  width: 50px;
  height: 50px;
  border: 4px solid var(--bg-light);
  border-top: 4px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ===== 4. HEADER & NAVBAR ===== */
.header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
  padding: 15px 0;
}

.header.scrolled {
  padding: 10px 0;
  box-shadow: var(--shadow-sm);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background-color: var(--primary);
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.logo span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background-color: var(--gold);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--text-dark);
  border-radius: 3px;
  transition: var(--transition);
}

/* ===== 5. HERO SECTION ===== */
.hero {
  padding: 160px 0 90px;
  background: linear-gradient(135deg, rgba(15, 93, 80, 0.03) 0%, rgba(212, 175, 55, 0.05) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--gold-bg);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #8a6d12;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.15rem;
  margin-bottom: 35px;
}

.hero-actions {
  display: flex;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-mini-stats {
  display: flex;
  gap: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
}

.mini-stat h4 {
  font-size: 1.5rem;
  color: var(--primary);
  line-height: 1;
}

.mini-stat p {
  font-size: 0.85rem;
  margin: 0;
}

.hero-media {
  position: relative;
}

.hero-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-img-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.hero-floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 12px 20px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}

.hero-floating-badge.badge-1 {
  top: 30px; left: -20px;
}

.hero-floating-badge.badge-2 {
  bottom: 30px; right: -20px;
}

.hero-floating-badge i {
  font-size: 1.5rem;
  color: var(--gold);
}

.hero-floating-badge strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.hero-floating-badge span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ===== 6. STATS BAR (FIXED HORIZONTAL 4-COLUMN LAYOUT) ===== */
.stats-bar {
  background: linear-gradient(135deg, #0F5D50 0%, #0a433a 100%);
  border-radius: 16px;
  padding: 40px 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
  color: #ffffff;
  align-items: center;
  box-shadow: var(--shadow-md);
  margin: 20px 0;
}

.stat-item {
  text-align: center;
}

.stat-item h3 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  color: var(--gold);
  margin-bottom: 8px;
  line-height: 1;
}

.stat-item p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-weight: 500;
}

/* ===== 7. WHY WORK WITH ME ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.why-card {
  background-color: #fff;
  padding: 35px 25px;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.why-icon {
  width: 60px; height: 60px;
  background-color: rgba(15, 93, 80, 0.08);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.why-card h3 {
  margin-bottom: 12px;
}

/* ===== 8. BOOK SHOWCASE GALLERY ===== */
.book-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 380px;
  box-shadow: var(--shadow-md);
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-overlay {
  position: absolute;
  bottom: 0; left: 0; width: 100%;
  padding: 30px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
  color: #fff;
  transform: translateY(20px);
  opacity: 0.9;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
  opacity: 1;
}

.gallery-overlay h4 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.gallery-overlay p {
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  margin: 0;
}

/* ===== 9. ABOUT TEASER ===== */
.about-teaser-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.about-teaser-img {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-teaser-img img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.about-exp-badge {
  position: absolute;
  bottom: 30px; left: 30px;
  background-color: var(--primary);
  color: #fff;
  padding: 20px 30px;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.about-exp-badge h3 {
  color: var(--gold);
  font-size: 2.2rem;
  line-height: 1;
}

.about-exp-badge p {
  color: #fff;
  font-size: 0.8rem;
  margin: 0;
}

.about-highlights {
  margin: 25px 0 35px;
}

.about-highlights li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  margin-bottom: 12px;
}

.about-highlights i {
  color: var(--primary);
}

/* ===== 10. SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: #fff;
  padding: 40px 30px;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.service-icon {
  width: 60px; height: 60px;
  background-color: var(--gold-bg);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 25px;
}

.service-list {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.service-list li {
  font-size: 0.88rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.service-list i {
  color: var(--primary);
  font-size: 0.8rem;
}

/* ===== 11. PAGE HEADER (FOR INTERNAL PAGES) ===== */
.page-header {
  padding: 160px 0 60px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff;
  text-align: center;
}

.page-breadcrumb {
  font-size: 0.9rem;
  color: var(--gold);
  margin-bottom: 10px;
}

.page-breadcrumb a { color: rgba(255,255,255,0.8); }

.page-header h1 {
  color: #fff;
  font-size: 3rem;
  margin-bottom: 15px;
}

.page-header-sub {
  color: rgba(255,255,255,0.85);
  max-width: 650px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* ===== 12. TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background-color: #fff;
  padding: 35px;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quote-icon {
  font-size: 2rem;
  color: var(--gold);
  opacity: 0.4;
  margin-bottom: 15px;
}

.stars {
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 25px;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-avatar {
  width: 45px; height: 48px;
  background-color: var(--bg-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.author-info h4 { margin: 0; font-size: 1rem; }
.author-info span { font-size: 0.8rem; color: var(--text-muted); }

/* ===== 13. BLOG STYLES ===== */
.featured-post {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background-color: var(--bg-light);
  border-radius: 20px;
  overflow: hidden;
  align-items: center;
}

.featured-post-img {
  position: relative;
  height: 100%;
  min-height: 380px;
}

.featured-post-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.featured-badge {
  position: absolute;
  top: 20px; left: 20px;
  background-color: var(--gold);
  color: #fff;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.featured-post-content {
  padding: 40px;
}

.blog-meta {
  display: flex;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 15px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.blog-card {
  background-color: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.blog-card-img img {
  width: 100%; height: 220px;
  object-fit: cover;
}

.blog-card-body {
  padding: 25px;
}

.blog-card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
  margin-top: 15px;
}

.newsletter-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 50px;
  border-radius: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.newsletter-box h2 { color: #fff; margin-bottom: 10px; }
.newsletter-box p { color: rgba(255,255,255,0.85); margin: 0; }

.newsletter-form-lg {
  display: flex;
  gap: 10px;
}

.newsletter-form-lg input {
  flex: 1;
  padding: 16px 20px;
  border-radius: 50px;
  border: none;
  outline: none;
}

.newsletter-form-lg button {
  padding: 16px 28px;
  border-radius: 50px;
  background-color: var(--gold);
  color: #fff;
  border: none;
  font-weight: 600;
  cursor: pointer;
}

/* ===== 14. CONTACT STYLES ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
}

.contact-info-card {
  background-color: var(--bg-light);
  border-radius: 20px;
  overflow: hidden;
}

.contact-info-img img {
  width: 100%; height: 200px;
  object-fit: cover;
}

.contact-info-body {
  padding: 30px;
}

.contact-info-list {
  margin: 25px 0;
}

.contact-info-list li {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-info-icon {
  width: 45px; height: 45px;
  background-color: #fff;
  color: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-sm);
}

.email-only-note {
  background-color: var(--gold-bg);
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 18px;
  border-radius: 12px;
  font-size: 0.85rem;
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.email-only-note i { color: var(--gold-hover); font-size: 1.2rem; margin-top: 2px; }

.contact-form-wrap {
  background-color: #fff;
  padding: 40px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 93, 80, 0.1);
}

.form-status {
  margin-top: 15px;
  font-size: 0.9rem;
  border-radius: 8px;
}

.form-status.success {
  color: #065f46;
  background-color: #d1fae5;
  padding: 12px;
}

.form-status.error {
  color: #991b1b;
  background-color: #fee2e2;
  padding: 12px;
}

/* ===== 15. FAQ ACCORDION ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: #fff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
}

.faq-question {
  padding: 22px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question h4 { margin: 0; }
.faq-question i { transition: var(--transition); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 25px;
  background-color: var(--bg-light);
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 15px 25px 25px;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
  color: var(--primary);
}

/* ===== 16. CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 80px 0;
  text-align: center;
  color: #fff;
}

.cta-banner h2 { color: #fff; font-size: 2.6rem; margin-bottom: 15px; }
.cta-banner p { color: rgba(255,255,255,0.85); font-size: 1.1rem; max-width: 600px; margin: 0 auto 30px; }

/* ===== 17. FOOTER ===== */
.footer {
  background-color: #0a1f1a;
  color: rgba(255,255,255,0.7);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.footer-logo-icon {
  width: 35px; height: 35px;
  background-color: var(--gold);
  color: #0a1f1a;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo span { color: var(--gold); }

.footer-col h4 {
  color: #fff;
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a:hover {
  color: var(--gold);
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-links a {
  width: 38px; height: 38px;
  background-color: rgba(255,255,255,0.08);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-links a:hover {
  background-color: var(--gold);
  color: #0a1f1a;
}

.newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 15px;
}

.newsletter-form input {
  padding: 10px 15px;
  border-radius: 50px;
  border: none;
  outline: none;
  font-size: 0.85rem;
  flex: 1;
}

.newsletter-form button {
  width: 40px; height: 40px;
  border-radius: 50%;
  background-color: var(--gold);
  color: #0a1f1a;
  border: none;
  cursor: pointer;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem;
}

/* BACK TO TOP */
.back-to-top {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 45px; height: 45px;
  background-color: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 99;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--gold);
  color: #0a1f1a;
}

/* ===== 18. ANIMATION CLASSES ===== */
.reveal, .reveal-left, .reveal-right {
  opacity: 0;
  transition: all 0.8s ease;
}

.reveal { transform: translateY(30px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }

.reveal.active,
.reveal-left.active,
.reveal-right.active {
  opacity: 1;
  transform: translate(0);
}

/* ===== 19. RESPONSIVE MEDIA QUERIES ===== */
@media (max-width: 992px) {
  h1 { font-size: 2.5rem; }
  .hero-grid, .about-teaser-grid, .contact-grid, .featured-post, .newsletter-box {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-media { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-cta { display: none; }
  .nav-links {
    position: fixed;
    top: 70px; left: -100%;
    width: 100%; height: calc(100vh - 70px);
    background-color: #fff;
    flex-direction: column;
    justify-content: center;
    transition: var(--transition);
  }
  .nav-links.active { left: 0; }
  
  /* Stats bar goes 2x2 on tablets */
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 15px;
  }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  /* Stats bar goes 1-column on mobile phones */
  .stats-bar {
    grid-template-columns: 1fr;
  }
  .newsletter-form-lg { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
}