/* Color Palette */
:root {
  --primary-brown: #8B7355;
  --light-brown: #B89968;
  --cream: #F5EFE7;
  --dark-brown: #5C4A3A;
  --off-white: #FFFBF5;
  --burgundy: #8B4852;
  --text-dark: #2D2520;
  --shadow: rgba(0, 0, 0, 0.1);
}

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

body {
  font-family: 'Georgia', serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

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

/* Loader */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
}

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

.loader-icon {
  font-size: 4rem;
  color: var(--primary-brown);
  margin-bottom: 1rem;
  animation: pulse 1.5s ease-in-out infinite;
}

.loader-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--cream);
  border-top: 4px solid var(--primary-brown);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(0.95); }
}

/* Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-fluid {
  max-width: 100%;
  padding: 0 2rem;
}

.container-small {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header/Navigation */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 251, 245, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px var(--shadow);
  transition: all 0.3s ease;
}

.header-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 1.5rem;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo-icon {
  font-size: 2rem;
  color: var(--primary-brown);
}

.logo-text {
  color: #b89968;
}

.nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav > a {
  color: var(--text-dark);
  text-decoration: none;
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
  font-size: 1rem;
}

.nav > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-brown);
  transition: width 0.3s ease;
}

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

.nav > a:hover::after {
  width: 100%;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: #000;
  text-decoration: none;
}

.dropdown-toggle .arrow {
  font-size: 0.7rem;
  transition: transform 0.3s ease;
}

.dropdown:hover .arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 200px;
  box-shadow: 0 5px 20px var(--shadow);
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  margin-top: 1rem;
  padding: 0.5rem 0;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--text-dark);
  text-decoration: none;
  transition: all 0.3s ease;
}

.dropdown-menu a:hover {
  background: var(--cream);
  color: var(--primary-brown);
  padding-left: 2rem;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary-brown);
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* .mobile-menu {
  display: flex;
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  background: white;
  box-shadow: 0 5px 20px var(--shadow);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-menu.active {
  max-height: 500px;
}

.mobile-menu a {
  display: block;
  padding: 1rem 2rem;
  color: var(--text-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--cream);
  transition: all 0.3s ease;
}

.mobile-menu a:hover {
  background: var(--cream);
  color: var(--primary-brown);
  padding-left: 2.5rem;
}

.mobile-dropdown-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-dropdown-menu {
  background: var(--cream);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-dropdown-menu.active {
  max-height: 400px;
}

.mobile-dropdown-menu a {
  padding-left: 3rem;
} */

/* mobile menu overlay anchored under header */
/* mobile menu overlay anchored under header */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  left: 0;
  right: 0;
  /* top & height will be set dynamically by JS */
  background: white;
  box-shadow: 0 5px 20px var(--shadow);
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 280ms cubic-bezier(.2,.8,.2,1), opacity 200ms ease;
  opacity: 0;
  z-index: 1200;
  overflow-y: auto;       /* allow menu scrolling if content is long */
  -webkit-overflow-scrolling: touch;
}

/* visible */
.mobile-menu.active {
  transform: scaleY(1);
  opacity: 1;
    max-height: calc(100vh );
    overflow-y: auto;
    z-index: 99999;
}

/* body lock when menu open (JS toggles body.no-scroll) */
/* body.no-scroll {
  overflow: hidden;
  height: 100vh;
} */


/* layout of links */
.mobile-menu a,
.mobile-menu .mobile-dropdown-toggle {
  display: block;
  padding: 1rem 1.25rem;
  color: var(--text-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--cream);
  transition: background .2s ease, padding-left .15s ease;
}

/* hover */
.mobile-menu a:hover,
.mobile-menu .mobile-dropdown-toggle:hover {
  background: var(--cream);
  color: var(--primary-brown);
  padding-left: 1.6rem;
}

/* dropdown menu collapsed/expanded */
.mobile-dropdown-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 260ms ease;
}

/* when open */
.mobile-dropdown-menu.active {
  /* a large max-height to allow growth; overflow-y handles long content */
  max-height: 800px;
}

/* nested dropdown links */
.mobile-dropdown-menu a {
  padding-left: 2.25rem;
}

/* prevent horizontal overflow */
.mobile-menu, .mobile-menu * { box-sizing: border-box; max-width: 100%; }

/* body lock when menu open (JS toggles body.no-scroll) */
body.no-scroll {
  overflow: hidden;
  height: 100vh;
}


/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 70px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(139, 115, 85, 0.7), rgba(92, 74, 58, 0.8));
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: var(--off-white);
  max-width: 800px;
  padding: 2rem;
  animation: fadeInUp 1s ease;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  padding: 0.875rem 2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  font-family: 'Georgia', serif;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--primary-brown);
  color: var(--off-white);
}

.btn-primary:hover {
  background: var(--dark-brown);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(139, 115, 85, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--off-white);
  border: 2px solid var(--off-white);
}

.btn-secondary:hover {
  background: var(--off-white);
  color: var(--primary-brown);
  transform: translateY(-2px);
}

.btn-small {
  padding: 0.5rem 1.5rem;
  font-size: 0.9rem;
  background: var(--primary-brown);
  color: var(--off-white);
}

.btn-small:hover {
  background: var(--dark-brown);
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(139, 115, 85, 0.3);
}

.btn-full {
  width: 100%;
}

/* Section Title */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--dark-brown);
  position: relative;
  /* display: inline-block; */
  left: 50%;
  transform: translateX(-50%);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary-brown);
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-dark);
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* About Section */
.about-section {
  padding: 6rem 0;
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 10px 30px var(--shadow);
  transition: transform 0.3s ease;
}

.about-image img:hover {
  transform: scale(1.02);
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--dark-brown);
}

.about-content p {
  margin-bottom: 1rem;
  color: var(--text-dark);
  opacity: 0.9;
  font-size: 1.1rem;
}

.about-content .btn {
  margin-top: 1rem;
}

/* Services Section */
.services-section {
  padding: 6rem 0;
  background: var(--off-white);
}

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

.service-card {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px var(--shadow);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(139, 115, 85, 0.2);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.2) rotate(5deg);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--dark-brown);
}

.service-card p {
  opacity: 0.8;
  margin-bottom: 1rem;
}

/* Podcast Section */
.podcast-section {
  padding: 6rem 0;
  background: var(--cream);
}

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

.podcast-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow);
  transition: all 0.3s ease;
}

.podcast-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(139, 115, 85, 0.3);
}

.podcast-image {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.podcast-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.podcast-card:hover .podcast-image img {
  transform: scale(1.1);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(139, 115, 85, 0.9);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.play-button:hover {
  background: var(--primary-brown);
  transform: translate(-50%, -50%) scale(1.1);
}

.podcast-content {
  padding: 1.5rem;
}

.podcast-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--dark-brown);
}

.podcast-meta {
  color: var(--primary-brown);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.podcast-content p {
  opacity: 0.8;
}

/* Courses Section */
.courses-section {
  padding: 6rem 0;
  background: var(--off-white);
}

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

.course-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow);
  transition: all 0.3s ease;
}

.course-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(139, 115, 85, 0.3);
}

.course-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.course-card:hover img {
  transform: scale(1.1);
}

.course-content {
  padding: 1.5rem;
}

.course-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--dark-brown);
}

.course-content p {
  opacity: 0.8;
  margin-bottom: 1rem;
}

/* Pastor Section */
.pastor-section {
  padding: 6rem 0;
  background: var(--cream);
}

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

.pastor-card {
  text-align: center;
  transition: transform 0.3s ease;
}

.pastor-card:hover {
  transform: translateY(-10px);
}

.pastor-card img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: 0 5px 15px var(--shadow);
  transition: all 0.3s ease;
}

.pastor-card:hover img {
  box-shadow: 0 10px 30px rgba(139, 115, 85, 0.3);
}

.pastor-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--dark-brown);
}

.pastor-card p {
  color: var(--primary-brown);
}

/* Scripture Section */
.scripture-section {
  position: relative;
  padding: 8rem 0;
  text-align: center;
  color: var(--off-white);
  overflow: hidden;
}

.scripture-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scripture-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(139, 72, 82, 0.85), rgba(92, 74, 58, 0.9));
}

.scripture-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.scripture-content h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.scripture-content p {
  font-size: 1.2rem;
  font-style: italic;
  opacity: 0.95;
  line-height: 1.8;
}

.scripture-ref {
  display: block;
  margin-top: 1rem;
  font-size: 1.1rem;
}

/* Testimonials Section */
.testimonials-section {
  padding: 6rem 0;
  background: var(--off-white);
}

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

.testimonial-card {
  background: white;
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px var(--shadow);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(139, 115, 85, 0.3);
}

.testimonial-quote {
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 2rem;
  font-size: 1.1rem;
}

.testimonial-quote::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -10px;
  font-size: 3rem;
  color: var(--primary-brown);
  line-height: 1;
}

.testimonial-author h4 {
  color: var(--dark-brown);
  margin-bottom: 0.3rem;
}

.testimonial-author span {
  color: var(--primary-brown);
  font-size: 0.9rem;
}

/* Blog Section */
.blog-section {
  padding: 6rem 0;
  background: var(--cream);
}

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

.blog-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow);
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(139, 115, 85, 0.3);
}

.blog-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover img {
  transform: scale(1.1);
}

.blog-content {
  padding: 1.5rem;
}

.blog-date {
  color: var(--primary-brown);
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.5rem;
}

.blog-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--dark-brown);
}

.blog-content p {
  opacity: 0.8;
  margin-bottom: 1rem;
}

/* Events Section */
.events-section {
  padding: 6rem 0;
  background: var(--off-white);
}

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

.event-card {
  display: flex;
  gap: 1.5rem;
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px var(--shadow);
  transition: all 0.3s ease;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(139, 115, 85, 0.3);
}

.event-date {
  text-align: center;
  background: var(--primary-brown);
  color: white;
  padding: 1rem;
  border-radius: 8px;
  min-width: 80px;
  height: fit-content;
}

.event-date .day {
  display: block;
  font-size: 2rem;
  font-weight: bold;
}

.event-date .month {
  display: block;
  font-size: 1rem;
}

.event-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--dark-brown);
}

.event-content p {
  font-size: 0.95rem;
  opacity: 0.8;
}

.event-time {
  display: block;
  margin-top: 0.5rem;
  color: var(--primary-brown);
  font-size: 0.9rem;
}

/* Gallery Section */
.gallery-section {
  padding: 6rem 0;
  background: var(--cream);
}

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

.gallery-item {
  overflow: hidden;
  border-radius: 8px;
  position: relative;
  height: 300px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.2);
}

.gallery-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(139, 115, 85, 0.5), rgba(92, 74, 58, 0.5));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

/* Newsletter Section */
.newsletter-section {
  padding: 6rem 0;
  background: var(--off-white);
  text-align: center;
}

.newsletter-subtitle {
  margin-bottom: 2rem;
  color: var(--text-dark);
  opacity: 0.8;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 0.875rem 1.5rem;
  border: 2px solid var(--primary-brown);
  border-radius: 4px;
  outline: none;
  font-size: 1rem;
  font-family: 'Georgia', serif;
  transition: all 0.3s ease;
}

.newsletter-form input:focus {
  border-color: var(--dark-brown);
  box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.1);
}

/* Footer */
.footer {
  background: var(--dark-brown);
  color: var(--off-white);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: bold;
}

.footer-col p {
  opacity: 0.9;
  line-height: 1.8;
}

.footer-col h4 {
  margin-bottom: 1rem;
  color: var(--light-brown);
  font-size: 1.2rem;
}

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

.footer-col ul li {
  margin-bottom: 0.5rem;
  opacity: 0.8;
}

.footer-col a {
  color: var(--off-white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: var(--light-brown);
}

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

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  background: var(--primary-brown);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.8;
}

/* Page Header */
.page-header {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 70px;
}

.page-header-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(139, 115, 85, 0.8), rgba(92, 74, 58, 0.85));
}

.page-header-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: var(--off-white);
}

.page-header-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.page-header-content p {
  font-size: 1.2rem;
  opacity: 0.95;
}

/* Contact Page */
.contact-page-section {
  padding: 6rem 0;
  background: var(--off-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
}

.contact-form-wrapper h2,
.contact-info-wrapper h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--dark-brown);
}

.contact-form-wrapper p {
  margin-bottom: 2rem;
  opacity: 0.8;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr; /* two columns on desktop */
  gap: 1.5rem;
}

@media (max-width: 556px) {
  .form-row {
    grid-template-columns: 1fr; /* stack vertically on mobile */
  }
}


.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: bold;
  color: var(--dark-brown);
}

.form-group input,
.form-group textarea {
  padding: 0.875rem;
  border: 2px solid var(--cream);
  border-radius: 4px;
  font-size: 1rem;
  font-family: 'Georgia', serif;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-brown);
  box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.1);
}

.contact-info-card {
  display: flex;
  gap: 1rem;
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  box-shadow: 0 3px 10px var(--shadow);
  transition: all 0.3s ease;
}

.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(139, 115, 85, 0.2);
}

.contact-info-icon {
  font-size: 2rem;
  color: var(--primary-brown);
}

.contact-info-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--dark-brown);
}

.contact-info-content p {
  opacity: 0.8;
  line-height: 1.6;
}

/* Map Section */
.map-section {
  padding: 4rem 0;
  background: var(--cream);
}

.map-container {
  width: 100%;
  height: 450px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 20px var(--shadow);
  margin-top: 2rem;
}

/* About Page */
.about-content-section {
  padding: 6rem 0;
  background: var(--off-white);
}

.mission-vision-section {
  padding: 6rem 0;
  background: var(--cream);
}

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

.mission-card {
  background: white;
  padding: 2.5rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 5px 15px var(--shadow);
  transition: all 0.3s ease;
}

.mission-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(139, 115, 85, 0.3);
}

.mv-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.mission-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--dark-brown);
}

.mission-card p {
  opacity: 0.85;
  line-height: 1.8;
}

.beliefs-section {
  padding: 6rem 0;
  background: var(--off-white);
}

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

.belief-card {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px var(--shadow);
  transition: all 0.3s ease;
}

.belief-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(139, 115, 85, 0.2);
}

.belief-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--primary-brown);
}

.belief-card p {
  opacity: 0.85;
}

.history-section {
  padding: 6rem 0;
  background: var(--cream);
}

.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: var(--primary-brown);
}

.timeline-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-year {
  flex: 0 0 100px;
  text-align: right;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-brown);
  padding-top: 0.5rem;
}

.timeline-content {
  flex: 1;
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 3px 10px var(--shadow);
  margin-left: 60px;
}

.timeline-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--dark-brown);
}

.timeline-content p {
  opacity: 0.85;
}

.cta-section {
  padding: 6rem 0;
  background: var(--primary-brown);
  color: white;
  text-align: center;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.cta-section .btn {
  background: white;
  color: var(--primary-brown);
}

.cta-section .btn:hover {
  background: var(--off-white);
  transform: translateY(-3px);
}

/* Blog Page */
.blog-page-section {
  padding: 6rem 0;
  background: var(--off-white);
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 4rem;
}

.page-numbers {
  display: flex;
  gap: 0.5rem;
}

.page-number {
  padding: 0.5rem 1rem;
  border: 2px solid var(--primary-brown);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.page-number:hover,
.page-number.active {
  background: var(--primary-brown);
  color: white;
}

/* Blog Detail */
.blog-detail-section {
  padding: 4rem 0;
  background: var(--off-white);
}

.blog-detail-header {
  text-align: center;
  margin-bottom: 3rem;
  margin-top: 3rem;
}

.blog-detail-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--dark-brown);
}

.blog-meta {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  color: var(--primary-brown);
  font-size: 0.95rem;
}

.blog-detail-image {
  margin-bottom: 3rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 20px var(--shadow);
}

.blog-detail-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.blog-detail-content {
  font-size: 1.1rem;
  line-height: 1.8;
}

.blog-detail-content h2 {
  font-size: 2rem;
  margin: 2rem 0 1rem;
  color: var(--dark-brown);
}

.blog-detail-content p {
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.blog-detail-content blockquote {
  background: var(--cream);
  padding: 2rem;
  border-left: 4px solid var(--primary-brown);
  margin: 2rem 0;
  font-style: italic;
  font-size: 1.2rem;
}

.blog-detail-content ul {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.blog-detail-content li {
  margin-bottom: 0.75rem;
}

.blog-conclusion {
  background: var(--cream);
  padding: 2rem;
  border-radius: 8px;
  margin: 2rem 0;
}

.blog-conclusion h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--dark-brown);
}

.blog-detail-footer {
  margin: 3rem 0;
  padding: 2rem 0;
  border-top: 2px solid var(--cream);
  border-bottom: 2px solid var(--cream);
}

.blog-share h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--dark-brown);
}

.share-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.share-btn {
  padding: 0.5rem 1.5rem;
  background: var(--primary-brown);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.share-btn:hover {
  background: var(--dark-brown);
  transform: translateY(-2px);
}

.related-posts {
  margin-top: 4rem;
}

.related-posts h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--dark-brown);
}

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

.blog-card-small {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px var(--shadow);
  transition: all 0.3s ease;
  cursor: pointer;
}

.blog-card-small:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(139, 115, 85, 0.2);
}

.blog-card-small img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.blog-card-small h4 {
  padding: 1rem;
  color: var(--dark-brown);
  font-size: 1.1rem;
}

.blog-card-small .blog-date {
  padding: 0 1rem 1rem;
}

/* Pricing Page */
.pricing-section {
  padding: 6rem 0;
  background: var(--off-white);
}

.pricing-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.pricing-intro h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--dark-brown);
}

.pricing-intro p {
  font-size: 1.1rem;
  opacity: 0.85;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.pricing-card {
  background: white;
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: 0 5px 15px var(--shadow);
  transition: all 0.3s ease;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(139, 115, 85, 0.3);
}

.pricing-card.featured {
  border: 3px solid var(--primary-brown);
  transform: scale(1.05);
}

.pricing-badge {
  position: absolute;
  top: -15px;
  right: 20px;
  background: var(--primary-brown);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-size: 0.9rem;
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
}

.pricing-header h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--dark-brown);
}

.pricing-price {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.3rem;
}

.currency {
  font-size: 1.5rem;
  color: var(--primary-brown);
  margin-top: 0.5rem;
}

.amount {
  font-size: 3.5rem;
  font-weight: bold;
  color: var(--primary-brown);
}

.period {
  font-size: 1.2rem;
  color: var(--text-dark);
  opacity: 0.7;
  margin-top: 1.5rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
}

.pricing-features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--cream);
  opacity: 0.85;
}

.one-time-giving {
  background: var(--cream);
  padding: 3rem;
  border-radius: 8px;
  text-align: center;
}

.one-time-giving h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--dark-brown);
}

.one-time-giving p {
  margin-bottom: 2rem;
  opacity: 0.85;
}

.giving-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.pricing-faq-section {
  padding: 4rem 0;
  background: var(--cream);
}

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

.faq-item {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 3px 10px var(--shadow);
}

.faq-item h4 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--primary-brown);
}

.faq-item p {
  opacity: 0.85;
}

/* Pastor Detail Page */
.pastor-detail-section {
  padding: 6rem 0;
  background: var(--off-white);
}

.pastor-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.pastor-detail-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 30px var(--shadow);
}

.pastor-detail-content h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: var(--dark-brown);
}

.pastor-title {
  font-size: 1.2rem;
  color: var(--primary-brown);
  margin-bottom: 1.5rem;
}

.pastor-detail-content p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  opacity: 0.9;
  line-height: 1.8;
}

.pastor-contact {
  background: var(--cream);
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 2rem;
}

.pastor-contact p {
  margin-bottom: 0.5rem;
}

.associate-pastors-section {
  padding: 6rem 0;
  background: var(--cream);
}

.pastor-card-detail {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow);
  transition: all 0.3s ease;
}

.pastor-card-detail:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(139, 115, 85, 0.3);
}

.pastor-card-detail img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.pastor-card-detail h3 {
  padding: 1.5rem 1.5rem 0.5rem;
  font-size: 1.5rem;
  color: var(--dark-brown);
}

.pastor-role {
  padding: 0 1.5rem;
  color: var(--primary-brown);
  font-weight: bold;
  margin-bottom: 1rem;
}

.pastor-card-detail p {
  padding: 0 1.5rem 1.5rem;
  opacity: 0.85;
}

.pastor-email {
  padding: 0 1.5rem 1.5rem !important;
  color: var(--primary-brown) !important;
  font-size: 0.95rem !important;
}

/* Team Page */
.team-section {
  padding: 6rem 0;
  background: var(--off-white);
}

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

.team-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow);
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(139, 115, 85, 0.3);
}

.team-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.team-card h3 {
  padding: 1.5rem 1.5rem 0.5rem;
  font-size: 1.3rem;
  color: var(--dark-brown);
}

.team-role {
  padding: 0 1.5rem;
  color: var(--primary-brown);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.team-card p {
  padding: 0 1.5rem 1.5rem;
  opacity: 0.85;
}

.volunteer-section {
  padding: 6rem 0;
  background: var(--cream);
  text-align: center;
}

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

.volunteer-card {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 3px 10px var(--shadow);
  transition: all 0.3s ease;
}

.volunteer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(139, 115, 85, 0.2);
}

.volunteer-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.volunteer-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--dark-brown);
}

.volunteer-card p {
  opacity: 0.85;
}

/* FAQ Page */
.faq-section {
  padding: 6rem 0;
  background: var(--off-white);
}

.faq-categories {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.faq-category-btn {
  padding: 0.75rem 2rem;
  background: white;
  border: 2px solid var(--primary-brown);
  border-radius: 4px;
  color: var(--primary-brown);
  cursor: pointer;
  font-size: 1rem;
  font-family: 'Georgia', serif;
  transition: all 0.3s ease;
}

.faq-category-btn:hover,
.faq-category-btn.active {
  background: var(--primary-brown);
  color: white;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-accordion-item {
  background: white;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: 0 3px 10px var(--shadow);
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: var(--cream);
}

.faq-question h3 {
  font-size: 1.2rem;
  color: var(--dark-brown);
  margin: 0;
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--primary-brown);
  font-weight: bold;
  transition: transform 0.3s ease;
}

.faq-accordion-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-accordion-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
  opacity: 0.85;
  line-height: 1.8;
}

.still-have-questions {
  text-align: center;
  margin-top: 4rem;
  padding: 3rem;
  background: var(--cream);
  border-radius: 8px;
}

.still-have-questions h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--dark-brown);
}

.still-have-questions p {
  margin-bottom: 2rem;
  opacity: 0.85;
}

/* Services Detail Page */
.services-detail-section {
  padding: 6rem 0;
  background: var(--off-white);
}

.service-detail-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.service-detail-card.reverse {
  direction: rtl;
}

.service-detail-card.reverse > * {
  direction: ltr;
}

.service-detail-content {
  padding: 2rem 0;
}

.service-detail-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--primary-brown);
}

.service-detail-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--dark-brown);
}

.service-detail-content p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  opacity: 0.9;
  line-height: 1.8;
}

.service-detail-content ul {
  margin: 1.5rem 0 2rem;
  padding-left: 1.5rem;
}

.service-detail-content li {
  margin-bottom: 0.75rem;
  opacity: 0.85;
}

.service-detail-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 30px var(--shadow);
}

.additional-ministries {
  padding: 6rem 0;
  background: var(--cream);
}

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

.ministry-card {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 3px 10px var(--shadow);
  transition: all 0.3s ease;
}

.ministry-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(139, 115, 85, 0.2);
}

.ministry-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--dark-brown);
}

.ministry-card p {
  opacity: 0.85;
}

/* Events Page */
.events-page-section {
  padding: 6rem 0;
  background: var(--off-white);
}

.events-calendar {
  max-width: 1000px;
  margin: 0 auto;
}

.event-detail-card {
  display: flex;
  gap: 2rem;
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px var(--shadow);
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.event-detail-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(139, 115, 85, 0.3);
}

.event-detail-date {
  text-align: center;
  background: var(--primary-brown);
  color: white;
  padding: 1.5rem;
  border-radius: 8px;
  min-width: 100px;
  height: fit-content;
}

.event-detail-date .day {
  display: block;
  font-size: 3rem;
  font-weight: bold;
  line-height: 1;
}

.event-detail-date .month {
  display: block;
  font-size: 1.2rem;
  margin-top: 0.5rem;
}

.event-detail-date .year {
  display: block;
  font-size: 0.9rem;
  opacity: 0.9;
  margin-top: 0.3rem;
}

.event-detail-content h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--dark-brown);
}

.event-time,
.event-location {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--primary-brown);
  font-size: 0.95rem;
}

.event-detail-content p {
  margin: 1rem 0;
  opacity: 0.85;
  line-height: 1.8;
}

.event-categories-section {
  padding: 4rem 0;
  background: var(--cream);
}

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

.category-card {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 3px 10px var(--shadow);
  transition: all 0.3s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(139, 115, 85, 0.2);
}

.category-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--dark-brown);
}

.category-card p {
  opacity: 0.85;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .about-grid,
  .contact-grid,
  .pastor-detail-grid,
  .service-detail-card {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-detail-card.reverse {
    direction: ltr;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .timeline::before {
    left: 30px;
  }

  .timeline-item {
    padding-left: 80px;
  }

  .timeline-year {
    position: absolute;
    left: 0;
    text-align: center;
  }

  .timeline-content {
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .header-content {
    padding: 0.75rem 0;
  }

  .nav {
    display: none;
  }

  .menu-toggle,
  .mobile-menu {
    display: flex;
  }

  .hero {
    height: 70vh;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

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

  .services-grid,
  .pastor-grid,
  .events-grid,
  .gallery-grid,
  .blog-grid,
  .podcast-grid,
  .courses-grid,
  .team-grid,
  .volunteer-areas,
  .ministries-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-form,
  .form-row {
    flex-direction: column;
  }

  .event-card,
  .event-detail-card {
    flex-direction: column;
  }

  .event-date,
  .event-detail-date {
    width: 100%;
    max-width: 150px;
  }

  .blog-detail-image img {
    height: 300px;
  }

  .page-header-content h1 {
    font-size: 2rem;
  }

  .page-header-content p {
    font-size: 1rem;
  }

  .pricing-card.featured {
    transform: scale(1);
  }

  .giving-buttons {
    flex-direction: column;
    max-width: 300px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .container,
  .container-small {
    padding: 0 1rem;
  }

  .hero-title {
    font-size: 1.5rem;
  }

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

  .about-content h2,
  .service-detail-content h2 {
    font-size: 1.8rem;
  }

  .blog-detail-header h1 {
    font-size: 1.8rem;
  }

  .testimonial-quote {
    font-size: 1rem;
  }

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


@media (min-width: 996px) {
  .mobile-menu {
    display: none !important;
  }
}

.share-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.share-btn {
  display: flex;
  align-items: center;
  gap: 8px;
 
  padding: 0.6rem 1.2rem;
}

.share-btn i {
  font-size: 1rem;
}

.contact-info-card i {
  padding-top: 10px;
}
