/*
 * The Church of Christ - Redesigned Stylesheet
 * Based on user reference image
 */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  /* Colors from image */
  --navy: #1a2942;
  --navy-dark: #121d2f;
  --gold: #d4af37;
  --gold-hover: #c79a3b;
  --text-dark: #333333;
  --text-light: #f8fafc;
  --text-gray: #6b7280;
  --bg-white: #ffffff;
  --bg-offwhite: #f9fafb;

  /* Typography */
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Outfit', sans-serif;

  /* Spacing */
  --section-padding: 5rem 2rem;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-white);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  line-height: 1.2;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ---------------- Navbar ---------------- */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 3rem;
  z-index: 1000;
  transition: var(--transition);
  background: rgba(26, 41, 66, 0.95);
  color: var(--text-light);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
  background: rgba(26, 41, 66, 0.95);
  padding: 1rem 3rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 1px;
}

.logo i {
  font-size: 2rem;
  color: var(--gold);
}

.logo span {
  font-size: 0.8rem;
  display: block;
  font-weight: 300;
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links li a {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--gold);
}

.btn-give {
  background-color: var(--gold);
  color: var(--text-light);
  padding: 0.6rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-give:hover {
  background-color: var(--gold-hover);
}

/* ---------------- Hero Section ---------------- */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 3rem;
  color: var(--text-light);
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 600px;
  margin-top: -50px;
}

.hero-subtitle {
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

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

.hero-title1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.hero-desc {
  font-size: 1.2rem;
  font-weight: 300;
  margin-bottom: 2.5rem;
}

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

.btn-solid {
  background-color: var(--gold);
  color: var(--text-light);
  padding: 1rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-solid:hover {
  background-color: var(--gold-hover);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-light);
  padding: 1rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  border: 1px solid var(--text-light);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-outline i {
  color: var(--gold);
  font-size: 1.2rem;
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* ---------------- Floating Banner ---------------- */
.banner {
  background-color: var(--navy);
  color: var(--text-light);
  margin: -60px auto 0;
  max-width: 1200px;
  border-radius: 8px;
  padding: 2rem;
  position: relative;
  z-index: 10;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.banner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.banner-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.banner-item i {
  font-size: 2rem;
  color: var(--gold);
  margin-top: 5px;
}

.banner-item h4 {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.banner-item p {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.4;
}

```css id="3yt5k9"
/* =========================
WELCOME SECTION FIXED
========================= */

.welcome-section {
  padding: 100px 0;
  background: #fff;
  overflow: hidden;
}

.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.cards-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 25px;
  flex-wrap: nowrap;
}

.info-card {
  width: 180px;
  text-align: center;
  flex-shrink: 0;
}

/* RIGHT SIDE */

.welcome-text {
  flex: 1;
  min-width: 320px;
  max-width: 650px;
}

.subtitle {
  color: #c79b3b;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
}

.welcome-text h2 {
  font-size: 58px;
  line-height: 1.2;
  margin: 18px 0;
  color: #08142e;
  font-weight: 500;
}

.welcome-text p {
  color: #666;
  line-height: 1.9;
  font-size: 18px;
  margin-bottom: 35px;
}

.btn-navy {
  background: #08142e;
  color: #fff;
  border: none;
  padding: 18px 35px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.btn-navy:hover {
  background: #c79b3b;
}

/* CARDS */



.info-card-img {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
}

.info-card-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-radius: 18px;
}

.card-icon {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: #08142e;
  color: #d4a63d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  border: 4px solid #fff;
}

.info-card h3 {
  margin-top: 38px;
  font-size: 28px;
  color: #08142e;
  font-weight: 600;
}

.info-card p {
  margin-top: 12px;
  color: #666;
  line-height: 1.8;
  font-size: 17px;
}

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

@media(max-width:991px) {

  .welcome-grid {
    flex-direction: column-reverse;
    text-align: center;
  }

  .welcome-text {
    max-width: 100%;
  }

  .cards-wrapper {
    justify-content: center;
  }

}

@media(max-width:768px) {

  .welcome-section {
    padding: 70px 0;
  }

  .welcome-text h2 {
    font-size: 40px;
  }

  .welcome-text p {
    font-size: 16px;
  }

  .cards-wrapper {
    gap: 20px;
  }

  .info-card {
    width: 100%;
    max-width: 280px;
  }

  .info-card-img img {
    height: 240px;
  }

}



/* ---------------- Scripture Section ---------------- */
.scripture-section {
  background-color: var(--navy);
  color: var(--gold);
  text-align: center;
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}

/* Curved top divider */
.scripture-section::before {
  content: '';
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: 100px;
  background-color: var(--bg-white);
  border-radius: 50%;
}

.scripture-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.quote-icon {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.scripture-content h2 {
  color: var(--text-light);
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.scripture-ref {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ---------------- Responsive ---------------- */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-only-btn {
  display: none;
}

@media (max-width: 1024px) {
  .banner-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  .navbar {
    padding: 1rem;
    background: rgba(26, 41, 66, 0.95);
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: -100%;
    width: 100%;
    background-color: rgba(26, 41, 66, 0.95);
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    transition: 0.3s ease;
    display: flex;
  }

  .nav-links.active {
    left: 0;
  }

  .menu-toggle {
    display: block;
    color: var(--text-light);
  }

  .desktop-only-btn {
    display: none !important;
  }
  
  .mobile-only-btn {
    display: list-item !important;
  }

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

  .hero-title1 {
    font-size: 2.2rem;
  }

  .hero-desc {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons button {
    width: 100%;
    justify-content: center;
  }

  .banner {
    margin: 20px auto 0;
    border-radius: 0;
  }

  .banner-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }




  .welcome-section {
    padding: 3rem 1rem;
  }

  .welcome-text h2 {
    font-size: 58px;
  }

  .scripture-content h2 {
    font-size: 1.5rem;
  }
}

/* =========================
MINISTRIES
========================= */

.ministries-section {
  background: #07142f;
  padding: 100px 0;
  color: #fff;
}

.section-header span,
.events-title span,
.sermon-left span,
.newsletter-section span {
  color: #d9a441;
  font-size: 14px;
  letter-spacing: 1px;
}

.section-header h2,
.events-title h2,
.sermon-left h2,
.newsletter-section h2 {
  font-size: 48px;
  margin: 20px 0;
  line-height: 1.2;
}

.section-header p {
  max-width: 500px;
  line-height: 1.8;
  color: #ddd;
  margin-bottom: 30px;
}

.primary-btn {
  display: inline-block;
  background: #d9a441;
  color: #fff;
  padding: 14px 28px;
  border-radius: 6px;
}

.ministries-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.ministry-card {
  background: #102347;
  border-radius: 12px;
  overflow: hidden;
}

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

.ministry-content {
  padding: 25px;
}

.ministry-content h3 {
  margin-bottom: 12px;
}

/* =========================
EVENTS
========================= */

.events-section {
  padding: 100px 0;
  background: #fff;
}

.dark-btn {
  display: inline-block;
  margin-top: 20px;
  background: #08142e;
  color: #fff;
  padding: 14px 28px;
  border-radius: 6px;
}

.events-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.event-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.event-image {
  position: relative;
}

.event-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.event-date {
  position: absolute;
  top: 20px;
  left: 20px;
  background: #fff;
  padding: 10px;
  text-align: center;
  border-radius: 8px;
}

.event-date h4 {
  font-size: 12px;
}

.event-date span {
  font-size: 22px;
  font-weight: bold;
}

.event-content {
  padding: 25px;
}

.event-content h3 {
  margin-bottom: 10px;
}

/* =========================
SERMON
========================= */

.sermon-section {
  padding: 100px 0;
}

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

@media(max-width: 991px) {
  .sermon-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.featured-sermon {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
}

.featured-sermon img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: #d9a441;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  color: #fff;
}

.featured-content {
  position: absolute;
  bottom: 30px;
  left: 30px;
  color: #fff;
}

.sermon-list {
  margin-top: 30px;
}

.sermon-item {
  padding: 20px 0;
  border-bottom: 1px solid #ddd;
}

/* =========================
NEWSLETTER
========================= */

.newsletter-section {
  background: #0c1f46;
  padding: 80px 0;
  color: #fff;
}

.newsletter-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.newsletter-form {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.newsletter-form input {
  width: 320px;
  max-width: 100%;
  padding: 16px;
  border: none;
  border-radius: 6px;
}

.newsletter-form button {
  padding: 16px 28px;
  background: #d9a441;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}



/* =========================
WELCOME SECTION PERFECT FIX
========================= */

.faith-section {
  padding: 100px 0;
  background: #fff;
}

.faith-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

/* LEFT CONTENT */

.faith-content {
  width: 48%;
}

.faith-subtitle {
  color: #d4a63d;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
}

.faith-content h2 {
  font-size: 58px;
  line-height: 1.1;
  color: #08142e;
  margin: 20px 0;
  font-weight: 500;
}

.faith-line {
  width: 70px;
  height: 3px;
  background: #d4a63d;
  margin-bottom: 25px;
}

.faith-content p {
  color: #666;
  line-height: 1.9;
  font-size: 17px;
  margin-bottom: 35px;
}

.faith-btn {
  display: inline-block;
  background: #08142e;
  color: #fff;
  padding: 16px 34px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

/* RIGHT CARDS */

.faith-cards {
  width: 72%;
  display: flex;
  gap: 20px;
  justify-content: flex-end;
}

.faith-card {
  width: 180px;
  text-align: center;
}

.faith-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.faith-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.faith-icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: #08142e;
  color: #d4a63d;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -28px auto 18px;
  position: relative;
  z-index: 5;
  border: 4px solid #fff;
  font-size: 18px;
}

.faith-card h3 {
  color: #08142e;
  font-size: 28px;
  margin-bottom: 10px;
}

.faith-card p {
  color: #666;
  font-size: 15px;
  line-height: 1.8;
}

/* =========================
MOBILE
========================= */

@media(max-width:991px) {

  .faith-wrapper {
    flex-direction: column;
  }

  .faith-content,
  .faith-cards {
    width: 100%;
  }

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

  .faith-line {
    margin: 0 auto 25px;
  }

  .faith-cards {
    justify-content: center;
    flex-wrap: wrap;
  }

}

@media(max-width:768px) {

  .faith-content h2 {
    font-size: 40px;
  }

  .faith-card {
    width: 100%;
    max-width: 280px;
  }

}

/* =========================
BOTTOM FOOTER (MOBILE & DESKTOP)
========================= */
.bottom-footer-container {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.bottom-footer-text {
  margin: 0;
  color: #d1d5db;
  font-size: 16px;
}

.footer-social-icons {
  display: flex;
  gap: 14px;
}

.social-icon-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #1f2937;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  transition: background 0.3s ease;
}

.social-icon-link:hover {
  background: #d9a441;
}

@media(max-width: 768px) {
  .bottom-footer-container {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 30px 0;
  }
  
  .footer-social-icons {
    justify-content: center;
    margin-top: 10px;
  }
}

/* =========================
MOBILE BOTTOM NAV
========================= */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #111827;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
  justify-content: space-around;
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.mobile-bottom-nav .nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #d1d5db;
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
  gap: 6px;
  transition: color 0.3s ease;
}

.mobile-bottom-nav .nav-item i {
  font-size: 20px;
}

.mobile-bottom-nav .nav-item:hover,
.mobile-bottom-nav .nav-item.active {
  color: #d9a441;
}

@media(max-width: 768px) {
  .mobile-bottom-nav {
    display: flex;
  }
  body {
    padding-bottom: 70px; /* Space to prevent footer overlap */
  }
}

/* =========================
HELPING HANDS SECTION
========================= */
.helping-hands-section {
  padding: 100px 0 50px 0;
  background: #f9fafb;
}

.helping-header {
  text-align: center;
  margin-bottom: 50px;
}

.helping-header span {
  color: #d9a441;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.helping-header h2 {
  font-size: 48px;
  color: #08142e;
  margin: 15px 0;
  font-family: var(--font-serif);
}

.helping-header p {
  color: #666;
  font-size: 17px;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

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

.helping-img {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.helping-img:hover {
  transform: translateY(-5px);
}

.helping-img img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

@media(max-width: 768px) {
  .helping-hands-section {
    padding: 70px 0 30px 0;
  }
  .helping-header h2 {
    font-size: 36px;
  }
  .helping-header p {
    font-size: 16px;
  }
  .helping-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
  }
  .helping-img img {
    height: 150px;
  }
}