html {
  scroll-behavior: smooth;
  scroll-padding-top: 125px;
}

:root {
  --primary-color: #C5A059;
  --secondary-color: #E8DCC8;
  --accent-color: #F4F6F8;
  --text-color: #2C2C2C;
  --muted-text: #666666;
  --border-color: #E0E0E0;
  --bg-color: #F4F6F8;
  --card-bg: #FFFFFF;
  --royal-navy: #0F204B;
  --almost-black: #1A1A1A;
  --font-headers: 'Montserrat', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-color);
  background: #F4F6F8;
  line-height: 1.6;
  font-weight: 400;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(15, 32, 75, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(197, 160, 89, 0.03) 0%, transparent 50%);
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-color: #F4F6F8;
}

body.scroll-lock {
  overflow: hidden;
}

body.scroll-lock::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1100;
  animation: fadeIn 0.3s ease forwards;
  pointer-events: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

h1, h2, h3 {
  font-family: var(--font-headers);
  font-weight: 700;
  color: #111827;
}

h4, h2 {
  text-align: center;
}

.site-header {
  background: rgba(15, 32, 75, 0.95);
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.header-container {
  
  max-width: 1100px;
  margin: auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  width: 50px;
  border-radius: 50px;
}

.nav-menu {
  display: flex;
  gap: 1.5rem;
  background: transparent; /* allow header background to show through on large screens */
  backdrop-filter: none;
}

.nav-menu a {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  padding: 8px 0;
}

.nav-menu a:hover,
.nav-menu a:focus {
  color: var(--primary-color);
  outline: none;
}

.nav-menu a:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.nav-link {
  text-decoration: none;
  color: #FFFFFF;
  font-weight: 600;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}

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

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

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.hero {
  background-image: url(images/Happyhalls.jpg);

  background-size: 400% 400%;
  animation: gradient-shift 15s ease infinite;
  background-repeat: no-repeat;
  background-position: center;
  padding: 70px 20px;
  text-align: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 32, 75, 0.65);
  z-index: 1;
}

.hero h1,
.hero-subtitle,
.hero-service,
.hero-btn {
  position: relative;
  z-index: 2;
  color: #ffffff;
}

.hero h1 {
  font-size: 32px;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: 18px;
  margin-bottom: 10px;
}

.hero-service {
  font-size: 17px;
  margin-bottom: 28px;
}

.hero-btn {
  display: inline-block;
  background: var(--primary-color);
  color: #FFFFFF;
  padding: 14px 34px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-btn:hover,
.hero-btn:focus {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(197, 160, 89, 0.3);
  outline: none;
}

.hero-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

section {
  max-width: 900px;
  margin: 50px auto;
  padding: 55px 25px;
  background: var(--card-bg);
  border-radius: 15px;
  box-shadow: 0 4px 16px rgba(15, 32, 75, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  border-radius: 15px;
  z-index: 1;
}

section > * {
  position: relative;
  z-index: 2;
}

section:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

section h3 {
  font-size: 26px;
  margin-bottom: 18px;
  text-align: center;
}

section p {
  font-size: 17px;
  color: var(--muted-text);
  max-width: 720px;
  margin: 0 auto 16px;
  text-align: center;
}

ol li {
  font-weight: 600;
  text-align: left;
  position: relative;
  z-index: 2;
}

section a,
section button,
section .social-icons,
section .contact-details,
section .calendar,
section .calendar-legend,
section ul {
  position: relative;
  z-index: 2;
}

/* All sections inherit --card-bg background via base section rule */

/* All section backgrounds now use --card-bg via base rule */

.about-page {
  background-color: #F4F6F8;
  background-size: cover;
  background-position: center;
}

.about-page section {
  margin-top: 120px;
}
.clean-footer .social-icons a {
  margin: 0 10px;
  font-size: 18px;
  color: var(--primary-color);
  transition: 0.3s ease;
}
.clean-footer .social-icons a:hover {
  color: #FFFFFF;
  transform: translateY(-3px);
}
.services-hero {
  text-align: center;
  padding: 80px 20px 40px;
}
.services-hero h3 {
  font-size: 32px;
  margin: 0 auto 10px;
  text-align: center;
  max-width: 900px;
}
.services-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}
.service-card {
  background: #ffffff;
  padding: 30px;
  width: 300px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.service-card h3 {
  margin-bottom: 10px;
  color: var(--royal-navy);
}

.join-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 18px;
  background-color: var(--primary-color);
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: 0.3s ease;
}

.join-btn:hover {
  background-color: #B8945D;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(197, 160, 89, 0.3);
}

.contact-page {
  background-color: #F4F6F8;
}

.contact-page section {
  margin-top: 120px;
}

.calendar-page {
  background-color: #F4F6F8;
}

.calendar-page section {
  margin-top: 120px;
}

.services ul {
  list-style: none;
  padding: 0;
  margin-top: 24px;
}

.services ul li {
  background: var(--accent-color);
  padding: 16px;
  margin-bottom: 14px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
}

.services a,
.meet-link a {
  color: var(--royal-navy);
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.services a:hover,
.meet-link a:hover {
  color: var(--primary-color);
}

.meet-link {
  margin-top: 24px;
  font-size: 16px;
  text-align: center;
}

.meet-link a:hover {
  text-decoration: underline;
}

.calendar-preview button {
  display: block;
  margin: 24px auto 16px;
  background: var(--primary-color);
  color: #FFFFFF;
  border: none;
  padding: 12px 30px;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.calendar-preview button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(197, 160, 89, 0.3);
}

#calendar-container {
  display: none;
}

.calendar {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 16px auto;
  background: #ffffff;
}

.calendar th,
.calendar td {
  padding: 12px;
  border: 1px solid var(--border-color);
  text-align: center;
  font-size: 15px;
}

.calendar th {
  background: var(--royal-navy);
  color: #FFFFFF;
  font-weight: 600;
}

.calendar td.service-day {
  background: #22c55e;
  color: #ffffff;
  font-weight: 600;
}

.calendar td.bible-study-day {
  background: #8b5cf6;
  color: #ffffff;
  font-weight: 600;
}

.calendar-legend {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 14px;
  margin-top: 18px;
  color: var(--muted-text);
  flex-wrap: wrap;
}

.calendar-legend .legend-item {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  display: inline-block;
  margin-right: 6px;
  vertical-align: middle;
}

.calendar-legend .service-day {
  background: #22c55e;
}

.calendar-legend .bible-study-day {
  background: #8b5cf6;
}

.contact-details p {
  font-size: 16px;
}

.social-links {
  margin-top: 40px;
  text-align: center;
}

.social-links h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--text-color);
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e5e5e5;
  color: #4b5563;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  z-index: 3;
}

.social-icons a:hover {
  background: #d0d0d0;
  color: #1f2933;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-icons i {
  font-size: 18px;
  height: 18px;
  width: 18px;
}



.mission-preview,
.services-preview,
.cta, .home-cta, .about-cta {
  text-align: center;
}

/* ================= PLAN YOUR VISIT SECTION ================= */
.plan-visit {
  padding: 90px 25px;
  background: #FFFFFF;
}

.plan-visit h2 {
  font-size: 32px;
  margin-bottom: 12px;
  text-align: center;
}

.plan-visit > p {
  text-align: center;
  margin-bottom: 50px;
  font-size: 18px;
  color: var(--muted-text);
}

.visit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.visit-card {
  background: #F4F6F8;
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.visit-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 8px 24px rgba(197, 160, 89, 0.15);
  transform: translateY(-4px);
}

.visit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: #FFFFFF;
  border-radius: 50%;
  margin-bottom: 20px;
  font-size: 24px;
}

.visit-card h4 {
  font-family: var(--font-headers);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--royal-navy);
}

.visit-card p {
  font-size: 15px;
  color: var(--muted-text);
  line-height: 1.6;
}

/* ================= LEADERSHIP SECTION ================= */
.leadership-section {
  padding: 90px 25px;
  background: #F4F6F8;
  max-width: 1100px;
  margin: 50px auto;
}

.leadership-section h2 {
  font-size: 32px;
  margin-bottom: 50px;
  text-align: center;
}

.leadership-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  max-width: 950px;
  margin: 0 auto;
}

.leadership-photo img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(15, 32, 75, 0.15);
  max-height: 450px;
  object-fit: cover;
}

.leadership-text h3 {
  font-family: var(--font-headers);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--royal-navy);
}

.leadership-text p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 16px;
}

/* ================= MINISTRIES GRID SECTION ================= */
.ministries-grid {
  padding: 90px 25px;
  background: #FFFFFF;
}

.ministries-grid h2 {
  font-size: 32px;
  margin-bottom: 12px;
  text-align: center;
}

.ministries-grid > p {
  text-align: center;
  margin-bottom: 50px;
  font-size: 18px;
  color: var(--muted-text);
}

.ministries-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.ministry-card {
  background: #F4F6F8;
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  border-left: 5px solid var(--primary-color);
}

.ministry-card:hover {
  box-shadow: 0 12px 32px rgba(15, 32, 75, 0.12);
  transform: translateY(-6px);
}

.ministry-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-color), rgba(197, 160, 89, 0.7));
  color: #FFFFFF;
  border-radius: 50%;
  margin-bottom: 20px;
  font-size: 28px;
}

.ministry-card h3 {
  font-family: var(--font-headers);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--royal-navy);
}

.ministry-card p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted-text);
}

/* ================= MAP SECTION ================= */
.map-section {
  max-width: 100%;
  margin: 50px 0;
  padding: 40px 20px;
  background: #F4F6F8;
}

.map-section h2 {
  font-size: 32px;
  text-align: center;
  margin-bottom: 30px;
  color: var(--text-color);
}

.map-section iframe {
  max-width: 1100px;
  margin: 0 auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* ================= CORE VALUES / FOUR PILLARS ================= */
.core-values {
  padding: 90px 25px;
  background: #FFFFFF;
  max-width: 1100px;
  margin: 50px auto;
}

.core-values h2 {
  font-size: 32px;
  margin-bottom: 12px;
  text-align: center;
}

.core-values > p {
  text-align: center;
  margin-bottom: 50px;
  font-size: 18px;
  color: var(--muted-text);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.pillar {
  background: linear-gradient(135deg, #F4F6F8, #FFFFFF);
  padding: 35px 30px;
  border-radius: 12px;
  text-align: center;
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
}

.pillar:hover {
  border-color: var(--primary-color);
  box-shadow: 0 12px 32px rgba(197, 160, 89, 0.12);
  transform: translateY(-4px);
}

.pillar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: #FFFFFF;
  border-radius: 50%;
  margin-bottom: 20px;
  font-size: 26px;
}

.pillar h3 {
  font-family: var(--font-headers);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--royal-navy);
}

.pillar p {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted-text);
}

/* ================= RCCG HERITAGE SECTION ================= */
.rccg-heritage {
  padding: 90px 25px;
  background: #F4F6F8;
  max-width: 1100px;
  margin: 50px auto;
  border-radius: 15px;
}

/* ================= MISSION PAGE SECTIONS ================= */
.mission-intro {
  padding: 90px 25px;
  background: #FFFFFF;
  max-width: 1100px;
  margin: 50px auto;
  border-radius: 15px;
  text-align: center;
}

.mission-intro h2 {
  font-family: var(--font-headers);
  font-size: 36px;
  margin-bottom: 20px;
  color: var(--royal-navy);
}

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

.mission-statement h2 {
  font-family: var(--font-headers);
  color: #FFFFFF;
}

.vision-pillars {
  padding: 90px 25px;
  background: #FFFFFF;
  max-width: 1100px;
  margin: 50px auto;
  border-radius: 15px;
}

.vision-pillars h2 {
  font-family: var(--font-headers);
  font-size: 36px;
  text-align: center;
  margin-bottom: 12px;
  color: var(--royal-navy);
}

.pillars-vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.vision-pillar {
  background: linear-gradient(135deg, #F4F6F8, #FFFFFF);
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
}

.vision-pillar:hover {
  border-color: var(--primary-color);
  box-shadow: 0 12px 32px rgba(197, 160, 89, 0.15);
  transform: translateY(-6px);
}

.pillar-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: #FFFFFF;
  border-radius: 50%;
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 16px;
  font-family: var(--font-headers);
}

.vision-pillar h3 {
  font-family: var(--font-headers);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--royal-navy);
}

.vision-pillar p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted-text);
}

.mission-values {
  border-radius: 15px;
}

.mission-values h2 {
  font-family: var(--font-headers);
  font-size: 32px;
  text-align: center;
  margin-bottom: 50px;
  color: var(--text-color);
}

.commitment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.commitment-card {
  background: #FFFFFF;
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  border-left: 5px solid var(--primary-color);
}

.commitment-card:hover {
  box-shadow: 0 12px 32px rgba(15, 32, 75, 0.12);
  transform: translateY(-6px);
}

.commitment-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-color), rgba(197, 160, 89, 0.7));
  color: #FFFFFF;
  border-radius: 50%;
  margin-bottom: 20px;
  font-size: 28px;
}

.commitment-card h3 {
  font-family: var(--font-headers);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--royal-navy);
}

.commitment-card p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted-text);
}

/* ================= CONTACT PAGE SECTIONS ================= */
.contact-hero {
  padding: 80px 25px;
  background: #FFFFFF;
  max-width: 1100px;
  margin: 50px auto;
  border-radius: 15px;
  text-align: center;
}

.contact-hero h2 {
  font-family: var(--font-headers);
  font-size: 36px;
  margin-bottom: 15px;
  color: var(--royal-navy);
}

.contact-hero p {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--muted-text);
  max-width: 700px;
  margin: 0 auto;
}

.contact-methods {
  padding: 90px 25px;
  background: #F4F6F8;
  max-width: 1100px;
  margin: 50px auto;
  border-radius: 15px;
}

.contact-methods h2 {
  font-family: var(--font-headers);
  font-size: 32px;
  text-align: center;
  margin-bottom: 50px;
  color: var(--text-color);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-method {
  background: #FFFFFF;
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  border-top: 5px solid var(--primary-color);
}

.contact-method:hover {
  box-shadow: 0 12px 32px rgba(15, 32, 75, 0.12);
  transform: translateY(-6px);
}

.contact-method-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-color), rgba(197, 160, 89, 0.7));
  color: #FFFFFF;
  border-radius: 50%;
  margin-bottom: 20px;
  font-size: 28px;
}

.contact-method h3 {
  font-family: var(--font-headers);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--royal-navy);
}

.method-content p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 8px;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
}

.schedule-card {
  background: #FFFFFF;
  padding: 35px 30px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.schedule-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 8px 24px rgba(197, 160, 89, 0.15);
  transform: translateY(-4px);
}

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

.schedule-day i {
  font-size: 32px;
  color: var(--primary-color);
  margin-bottom: 12px;
  display: block;
}

.schedule-card h3 {
  font-family: var(--font-headers);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--royal-navy);
}

.schedule-card p {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-color);
}

.visit-inquiry h2 {
  font-family: var(--font-headers);
  font-size: 32px;
  color: var(--text-color);
}

.inquiry-form input,
.inquiry-form textarea,
.inquiry-form select {
  transition: all 0.3s ease;
}

.inquiry-form input:focus,
.inquiry-form textarea:focus,
.inquiry-form select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(197, 160, 89, 0.15);
}

.inquiry-form button:focus {
  outline: 2px solid rgba(197, 160, 89, 0.5);
  outline-offset: 2px;
}

.social-connect h2 {
  font-family: var(--font-headers);
}

.rccg-heritage h2 {
  font-size: 32px;
  margin-bottom: 40px;
  text-align: center;
}

.heritage-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.heritage-text h4,
.heritage-text strong {
  color: var(--royal-navy);
}

.heritage-text p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 16px;
}

.heritage-text ul {
  list-style: none;
  padding: 0;
  background: #FFFFFF;
  padding: 25px;
  border-radius: 10px;
  border-left: 5px solid var(--primary-color);
}

.heritage-text ul li {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 12px;
  color: var(--text-color);
}

.heritage-text ul li:last-child {
  margin-bottom: 0;
}

.heritage-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(15, 32, 75, 0.15);
  max-height: 450px;
  object-fit: cover;
}

/* ================= ANIMATIONS ================= */
@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* ================= HAMBURGER MENU ================= */
.hamburger {
  display: none;
  position: absolute;
  top: 16px;
  right: 20px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  z-index: 1200;
}

.hamburger span {
  width: 24px;
  height: 3px;
  background-color: #FFFFFF;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Animate into X*/
.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
/* Hide hamburger when menu is open */
.hamburger.show {
  display: none;
}

/* Close (X) button */
#close-menu {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 1300;
  align-self: flex-end;
  line-height: 1;
  font-weight: 300;
  transition: opacity 0.2s ease;
}

#close-menu:hover {
  opacity: 0.8;
}

/* Show X only when menu is open */
.nav-menu.show #close-menu {
  display: block;
}

/* ================= MOBILE ================= */
@media (max-width: 600px) {
  html {
    scroll-padding-top: 70px;
  }

    .site-header {
    background: rgba(15, 32, 75, 0.95);
    backdrop-filter: none;
  }

  .hero h1 {
    font-size: 24px;
    margin-bottom: 12px;
  }

  .hero-subtitle {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .hero-service {
    font-size: 13px;
    margin-bottom: 20px;
  }

  .hero-btn {
    padding: 12px 28px;
    font-size: 14px;
  }

  section {
    max-width: 100%;
    margin: 30px auto;
    padding: 30px 16px;
  }

  section h3 {
    font-size: 20px;
    margin-bottom: 16px;
  }

  section p {
    font-size: 14px;
    max-width: 100%;
  }

  .social-links h4 {
    font-size: 16px;
  }

  .contact-details p {
    font-size: 14px;
  }

  .services ul li {
    font-size: 14px;
    padding: 12px;
  }

  .meet-link {
    font-size: 14px;
  }

  .calendar {
    width: 100%;
    border-collapse: collapse;
  }

  .calendar th,
  .calendar td {
    padding: 8px 4px;
    font-size: 12px;
    text-align: center;
    line-height: 1.4;
  }

  .calendar-legend {
    font-size: 12px;
    gap: 12px;
    justify-content: center;
    align-items: center;
  }

  .calendar-legend .legend-item {
    width: 14px;
    height: 14px;
    margin-right: 4px;
  }

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

  .visit-card {
    padding: 30px 20px;
  }

  .visit-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .visit-card h4 {
    font-size: 18px;
  }

  .visit-card p {
    font-size: 14px;
  }

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

  .leadership-text h3 {
    font-size: 24px;
  }

  .leadership-text p {
    font-size: 15px;
  }

  .ministries-container {
    grid-template-columns: 1fr;
  }

  .ministry-card {
    padding: 30px 20px;
  }

  .ministry-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }

  .ministry-card h3 {
    font-size: 20px;
  }

  .ministry-card p {
    font-size: 14px;
  }

  .map-section {
    padding: 20px 20px;
  }

  .map-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .map-section iframe {
    height: 300px;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pillar {
    padding: 25px 20px;
  }

  .pillar-icon {
    width: 50px;
    height: 50px;
    font-size: 22px;
  }

  .pillar h3 {
    font-size: 18px;
  }

  .pillar p {
    font-size: 13px;
  }

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

  .rccg-heritage h2 {
    font-size: 26px;
  }

  .heritage-text p {
    font-size: 15px;
  }

  .heritage-text ul {
    padding: 20px;
  }

  .heritage-text ul li {
    font-size: 14px;
  }

  .plan-visit {
    padding: 60px 16px;
  }

  .plan-visit h2 {
    font-size: 24px;
  }

  .plan-visit > p {
    font-size: 16px;
  }

  .leadership-section {
    padding: 60px 16px;
    margin: 30px auto;
  }

  .ministries-grid {
    padding: 60px 16px;
  }

  .ministries-grid h2 {
    font-size: 24px;
  }

  .ministries-grid > p {
    font-size: 16px;
  }

  .core-values {
    padding: 60px 16px;
    margin: 30px auto;
  }

  .core-values h2 {
    font-size: 24px;
  }

  .core-values > p {
    font-size: 16px;
  }

  .rccg-heritage {
    padding: 60px 16px;
    margin: 30px auto;
  }

  .rccg-heritage {
    padding: 60px 16px;
    margin: 30px auto;
  }

  .mission-intro {
    padding: 60px 16px;
    margin: 30px auto;
  }

  .mission-intro h2 {
    font-size: 26px;
  }

  .mission-statement h2 {
    font-size: 28px;
  }

  .mission-statement p {
    font-size: 16px;
    line-height: 1.6;
  }

  .vision-pillars {
    padding: 60px 16px;
    margin: 30px auto;
  }

  .vision-pillars h2 {
    font-size: 26px;
  }

  .pillars-vision-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .vision-pillar {
    padding: 30px 20px;
  }

  .vision-pillar h3 {
    font-size: 18px;
  }

  .vision-pillar p {
    font-size: 14px;
  }

  .pillar-number {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }

  .mission-values {
    padding: 60px 16px;
  }

  .mission-values h2 {
    font-size: 26px;
  }

  .commitment-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .commitment-card {
    padding: 30px 20px;
  }

  .commitment-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }

  .commitment-card h3 {
    font-size: 20px;
  }

  .commitment-card p {
    font-size: 14px;
  }

  .contact-hero {
    padding: 60px 16px;
    margin: 30px auto;
  }

  .contact-hero h2 {
    font-size: 26px;
  }

  .contact-hero p {
    font-size: 16px;
  }

  .contact-methods {
    padding: 60px 16px;
    margin: 30px auto;
  }

  .contact-methods h2 {
    font-size: 26px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-method {
    padding: 30px 20px;
  }

  .contact-method-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }

  .contact-method h3 {
    font-size: 20px;
  }

  .method-content p {
    font-size: 14px;
  }

  .schedule-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .schedule-card {
    padding: 25px 20px;
  }

  .schedule-day i {
    font-size: 28px;
  }

  .schedule-card h3 {
    font-size: 16px;
  }

  .schedule-card p {
    font-size: 14px;
  }

  .visit-inquiry h2 {
    font-size: 26px;
  }

  .inquiry-form {
    padding: 25px !important;
  }

  .inquiry-form input,
  .inquiry-form textarea,
  .inquiry-form select {
    font-size: 14px;
  }

  .social-connect h2 {
    font-size: 24px;
  }

  .social-connect p {
    font-size: 16px;
  }

  .social-icons {
    gap: 12px !important;
  }

  .social-connect .social-icons a {
    width: 45px !important;
    height: 45px !important;
    font-size: 18px !important;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--royal-navy) !important;
    backdrop-filter: none !important;
    padding: 20px 16px;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    gap: 20px;

    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 1200;
  }

  /* show menu when active */
  .nav-menu.show {
    display: flex;
    transform: translateX(0)
  }

  .nav-menu a {
    padding: 12px 0;
    font-size: 16px;
    color: #FFFFFF;
    font-weight: 600;
  }

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

  .hamburger {
    display: flex;
  }

  body {
    line-height: 1.5;
  }

  .logo img {
    width: 45px;
  }

  .header-container {
    padding: 10px 16px;
  }

    .footer-container {
    flex-direction: column;
  }
}



/* ===== CLEAN MODERN FOOTER ===== */

.clean-footer {
  background: var(--almost-black);
  color: #FFFFFF;
  text-align: center;
  padding: 50px 20px;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
}

.footer-content h3 {
  margin-bottom: 20px;
  color: var(--primary-color);
  font-size: 20px;
}

.footer-links {
  margin-bottom: 20px;
}

.footer-links a {
  margin: 0 12px;
  text-decoration: none;
  color: #D0D0D0;
  font-size: 14px;
  font-weight: 500;
  transition: 0.3s ease;
}

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

.clean-footer .social-icons {
  margin-bottom: 20px;
}

.footer-verse {
  font-size: 14px;
  color: #d0d0d0;
  margin-bottom: 15px;
  line-height: 1.5;
}

.copyright {
  font-size: 13px;
  color: #e0e0e0;
  line-height: 1.5;
}

