/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  padding-top: 140px;
  background-color: #fff;
}

html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: #fff;
}

/* ---------------------- TOP NAV ---------------------- */
.nav-top {
  width: 100%;
  height: 40px;
  background-color: #242424;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  border-bottom: 1px solid #e0e0e0;
}

.nav-top .nav-left {
  display: flex;
  align-items: center;
  gap: 30px;
}

.social-link {
  color: #fff;
  font-size: 14px;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: #ccc;
}

.nav-top .nav-right {
  display: flex;
  align-items: center;
  gap: 30px;
}

/* TOP NAVBAR */
.nav-top .nav-right a {
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.5px;
  position: relative;
}

.nav-top .nav-right a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 0.5px;
  background-color: #fff;
  transition: width 0.3s ease;
}

.nav-top .nav-right a:hover::after {
  width: 100%;
}

/* Prevent color change on hover for Watch Live and Join Us */
.nav-top .nav-right a[href="live2.html"]:hover,
.nav-top .nav-right a[href="#joinform"]:hover {
  color: inherit !important;
}

/* Force text color to white on hover, focus, or active for Watch Live and Join Us in top navbar */
.nav-top .nav-right a[href="live2.html"]:hover,
.nav-top .nav-right a[href="#joinform"]:hover,
.nav-top .nav-right a[href="live2.html"]:focus,
.nav-top .nav-right a[href="#joinform"]:focus,
.nav-top .nav-right a[href="live2.html"]:active,
.nav-top .nav-right a[href="#joinform"]:active {
  color: #fff !important;
  background: none !important;
}

/* ---------------------- BOTTOM NAV ---------------------- */
.nav-bottom {
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  padding: 0 20px;
  position: relative;
}

.nav-bottom .nav-right {
  display: flex;
  align-items: center;
  gap: 40px;
}

/* BOTTOM NAVBAR */
.nav-bottom .nav-right a {
  color: #333;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
}

.nav-bottom .nav-right a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #333;
  transition: width 0.3s ease;
}

.nav-bottom .nav-right a:hover::after {
  width: 100%;
}

/* Prevent color change on hover for Watch Live and Join Us */
.nav-bottom .nav-right a[href="live2.html"]:hover,
.nav-bottom .nav-right a[href="#joinform"]:hover {
  color: inherit !important;
}

.nav-bottom .nav-right a.active {
  color: #333;
}

.nav-bottom .nav-right a.active::after {
  width: 100%;
  background-color: #333;
}

.nav-bottom .nav-right a.logo-link::after {
  display: none !important;
  content: none !important;
}

.nav-bottom .nav-right a.logo-link {
  pointer-events: auto;
}

/* Logos */
.logo-desktop {
  display: block;
  height: 95px; /* Increased from 80px */
  width: auto;
  margin-left: 24px;
}

.logo-mobile {
  display: none;
  height: 90px; /* Increased from 70px */
  width: auto;
  position: absolute;
  left: 20px;
  top: 20px;
  margin-left: 16px;
}

/* Nav Icons (Right) */
.nav-icons {
  position: absolute;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Search Container */
.search-container {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-bottom .search-icon {
  font-size: 18px;
  color: #333;
  cursor: pointer;
  transition: color 0.3s ease;
}

.nav-bottom .search-icon:hover {
  color: #000;
}

.search-field {
  position: absolute;
  right: 0;
  top: -10px;
  background: white;
  border: 2px solid #333;
  border-radius: 25px;
  padding: 8px 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(20px);
  transition: all 0.3s ease;
  min-width: 250px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.search-field.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.search-field input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: #333;
  flex: 1;
  min-width: 0;
}

.search-field input::placeholder {
  color: #999;
}

.search-close {
  background: none;
  border: none;
  color: #333;
  cursor: pointer;
  font-size: 14px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.search-close:hover {
  color: #000;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  cursor: pointer;
}

.hamburger .bar {
  height: 3px;
  width: 100%;
  background-color: #333;
  transition: all 0.3s ease;
}

/* Mobile Social Links - Hidden by default */
.mobile-socials {
  display: none;
}

/* ---------------------- Hero section ---------------------- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  max-height: 1200px;
  overflow: hidden;
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.hero-content {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 3;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: 600;
}

.hero-content p {
  font-size: 24px;
  max-width: 700px;
  margin: 0 auto 30px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: #333;
  color: white;
}

.btn-primary:hover {
  background-color: #000;
  transform: translateY(-2px);
}

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

.btn-secondary:hover {
  background-color: white;
  color: #333;
  transform: translateY(-2px);
}

/* See You Section */
.see-you-section {
  background-image: url('images/worship.png');
  background-size: cover;
  background-position: center;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
}

.see-you-container {
  max-width: 1200px;
  width: 100%;
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background-color: transparent;
  border: 2px solid white;
  border-radius: 30px;
  flex-wrap: wrap;
}

.see-you-text-box {
  min-height: 140px; /* Fixed height to prevent resizing */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.see-you-text-box h2 {
  font-size: 40px;
  margin-bottom: 10px;
  font-weight: 600;
}

.see-you-time {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
}

.see-you-time i {
  font-size: 20px;
}

.map-button {
  padding: 12px 30px;
  background-color: #333;
  color: white;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.map-button:hover {
  background-color: #000;
  transform: translateY(-2px);
}

.see-you-typewriter {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  font-size: 30px;
  font-weight: 600;
  min-height: 90px;
  justify-content: center;
}
.see-you-typewriter #seeYouServiceName,
.see-you-typewriter #seeYouServiceTime {
  display: block;
  text-align: center;
  margin-bottom: 2px;
}
.see-you-typewriter #seeYouServiceTime i {
  margin-right: 6px;
}
/* Slide left effect */
.slide-in-left {
  animation: slideInLeft 0.5s forwards;
}
.slide-out-left {
  animation: slideOutLeft 0.5s forwards;
}
@keyframes slideInLeft {
  0% { transform: translateX(100%); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}
@keyframes slideOutLeft {
  0% { transform: translateX(0); opacity: 1; }
  100% { transform: translateX(-100%); opacity: 0; }
}
@media (max-width: 768px) {
  .see-you-typewriter {
    font-size: 26px;
    min-height: 70px;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    align-items: center;
    justify-content: center;
  }
  .see-you-typewriter #seeYouServiceName,
  .see-you-typewriter #seeYouServiceTime {
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .nav-icons {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0 10px 0 0;
  }
}

/* ---------------------- Container ---------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* ---------------------- Section Headers ---------------------- */
.section-header {
  text-align: center;
  margin-bottom: 20px;
}

.section-header h2 {
  font-size: 36px;
  color: #333;
  margin-bottom: 15px;
  font-weight: 600;
}

.section-header p {
  font-size: 18px;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* ---------------------- About Section ---------------------- */
.about-section {
  padding: 80px 0;
  background-color: #fff;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.about-text-group {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.about-image {
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-text h3 {
  font-size: 24px;
  color: #333;
  margin-bottom: 15px;
  font-weight: 600;
  text-align: center;
}

.about-text p {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 30px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 0px;
}

.stat {
  text-align: center;
}

.about-stats .stat h4 {
  font-size: 36px;
  color: #333;
  margin-bottom: 0;
  font-weight: 600;
}
.about-stats .stat p {
  font-size: 14px;
  color: #666;
  margin: 0;
  line-height: 1.05;
}

.about-image img {
  width: 70%; /* Reduced from 100% */
  max-width: 350px; /* Add a max-width for further control */
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ---------------------- Ministries Section ---------------------- */
.ministries-section {
  padding: 40px 0 10px 0;
  background-color: #fff;
}

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

.ministry-card {
  background-color: #fff;
  padding: 40px 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.ministry-card:hover {
  transform: translateY(-5px);
}

.ministry-icon {
  width: 80px;
  height: 80px;
  background-color: #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.ministry-icon i {
  font-size: 32px;
  color: white;
}

.ministry-card h3 {
  font-size: 20px;
  color: #333;
  margin-bottom: 15px;
  font-weight: 600;
}

.ministry-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.ministry-link {
  color: #333;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.3s ease;
}

.ministry-link:hover {
  color: #000;
}

/* ---------------------- Events Section ---------------------- */
.events-section {
  padding: 80px 0;
  background-color: #fff;
}

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

.event-card {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.event-card:hover {
  transform: translateY(-5px);
}

.event-date {
  background-color: #333;
  color: white;
  padding: 20px;
  text-align: center;
}

.event-date .day {
  display: block;
  font-size: 32px;
  font-weight: 600;
}

.event-date .month {
  display: block;
  font-size: 14px;
  text-transform: uppercase;
}

.event-content {
  padding: 30px;
}

.event-content h3 {
  font-size: 20px;
  color: #333;
  margin-bottom: 10px;
  font-weight: 600;
}

.event-time {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  margin-bottom: 8px;
  gap: 5px;
}

.event-description {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.event-link {
  color: #333;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.3s ease;
}

.event-link:hover {
  color: #000;
}

/* ---------------------- Plan Your Visit Section ---------------------- */
.visit-section {
  padding: 80px 0;
  background-color: #fff;
}

.visit-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
}

.visit-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.info-card {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.info-icon {
  width: 60px;
  height: 60px;
  background-color: #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.info-icon i {
  font-size: 24px;
  color: white;
}

.info-card h3 {
  font-size: 18px;
  color: #333;
  margin-bottom: 15px;
  font-weight: 600;
}

.info-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 5px;
}

.visit-form {
  background-color: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.visit-form h3 {
  font-size: 24px;
  color: #333;
  margin-bottom: 30px;
  text-align: center;
  font-weight: 600;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group input,
.form-group textarea {
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #333;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* ---------------------- Footer ---------------------- */
.footer {
  background-color: #242424;
  color: white;
  padding: 60px 0 20px;
}

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

.footer-section h4 {
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-logo {
  height: 90px; /* Increased from 60px */
  margin-bottom: 20px;
}

.footer-section p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #ccc;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background-color: #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.social-links a:hover {
  background-color: #000;
}

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

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: white;
}

.footer-section p i {
  margin-right: 10px;
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  font-size: 14px;
  color: #ccc;
}

/* ---------------------- Responsive Design ---------------------- */
@media (max-width: 768px) {
  body {
    padding-top: 120px;
  }

  .nav-top {
    height: 35px;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    margin-bottom: 10px;
  }
  .nav-top .nav-left {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  .nav-top .nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  .nav-top .nav-right a:last-child {
    margin-right: 15px;
  }

  .hamburger {
    display: flex;
  }

  .hamburger .bar {
    height: 2px;
  }

  .logo-desktop {
    display: none;
  }

  .logo-mobile {
    display: block;
    height: 70px; /* Increased from 50px */
    top: 15px;
    left: 15px;
    margin-left: 16px;
  }

  .nav-icons {
    right: 15px;
    margin-right: 15px;
  }

  .nav-icons .search-icon i {
    font-size: 16px;
  }

  .search-field {
    min-width: 200px;
    right: -10px;
  }

  .nav-bottom {
    height: 85px;
    padding: 0 15px;
  }

  .nav-bottom .nav-right {
    position: fixed;
    top: 120px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 120px);
    background-color: white;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 30px;
    padding-top: 80px;
    transition: left 0.3s ease;
    z-index: 999;
  }

  .nav-bottom .nav-right.active {
    left: 0;
  }

  .nav-bottom .nav-right a {
    font-family: 'Poppins', Arial, serif, sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
    padding: 12px 0;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #eee;
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
  }
  .nav-bottom .nav-right a::after {
    display: none;
  }

  .mobile-socials {
    display: flex;
    gap: 20px;
    margin-top: 30px;
  }

  .mobile-socials .social-link {
    color: #333;
    font-size: 18px;
    padding: 10px;
    border-radius: 50%;
    background-color: #f8f9fa;
    transition: background-color 0.3s ease;
  }

  .mobile-socials .social-link:hover {
    background-color: #333;
    color: white;
  }

  .mobile-socials .social-link::after {
    display: none;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

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

  .hamburger.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }

  .hero {
    height: 70vh;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-content p {
    font-size: 18px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
}

.see-you-container {
    flex-direction: column;
    text-align: center;
  }

  .see-you-text-box h2 {
    font-size: 38px;
  }

  .see-you-time {
    justify-content: center;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-text-group {
    gap: 20px;
  }
  .about-image {
    margin-top: 0;
  }

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

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

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

  .visit-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }
}

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

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

  .section-header h2 {
    font-size: 28px;
  }

  .about-text h3 {
    font-size: 20px;
  }

  .ministry-card,
  .event-card,
  .info-card {
    padding: 25px 20px;
  }

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

.plan-visit-btn {
  display: inline-flex;
  align-items: center;
  background: #333;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0 24px 0 24px;
  height: 48px;
  border-radius: 24px;
  font-size: 16px;
  letter-spacing: 1px;
  text-decoration: none;
  border: none;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  gap: 16px;
  white-space: nowrap;
}

.plan-visit-btn:hover {
  background: #000;
  color: #fff;
}

.arrow-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.18);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  margin-left: 8px;
  transition: background 0.2s;
}

.plan-visit-btn:hover .arrow-circle {
  background: rgba(255,255,255,0.28);
}

.arrow-circle i {
  color: #fff;
  font-size: 18px;
  }

.sermons-fixed-container {
  max-width: 700px;
  margin: 0 auto;
}
.sermons-section {
  padding: 60px 0;
  background: #fff;
}
.sermons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  justify-items: center;
}
.sermon-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.10);
  padding: 0 0 18px 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: 320px;
  min-width: 200px;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.sermon-card:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,0.16);
  transform: translateY(-4px) scale(1.02);
}
.sermon-accent {
  height: 6px;
  width: 100%;
  background: linear-gradient(90deg, #333 0%, #666 100%);
  margin-bottom: 0;
}
.sermon-video-wrap {
  padding: 18px 18px 0 18px;
  background: #f4f4f4;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.sermon-card iframe {
  width: 100%;
  height: 220px;
  border-radius: 12px;
  background: #000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.sermon-title {
  font-size: 17px;
  font-weight: 700;
  color: #222;
  margin: 18px 18px 10px 18px;
  text-align: center;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sermon-watch-btn {
  display: block;
  margin: 0 18px;
  padding: 10px 0;
  background: #333;
  color: #fff;
  border-radius: 24px;
  text-align: center;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  letter-spacing: 1px;
  margin-top: 6px;
  transition: background 0.2s, color 0.2s;
}
.sermon-watch-btn:hover {
  background: #000;
  color: #fff;
}
.sermon-card-center {
  grid-column: 1 / -1;
  margin-left: auto;
  margin-right: auto;
  max-width: 380px;
}
@media (max-width: 900px) {
  .sermons-fixed-container {
    max-width: 98vw;
  }
  .sermons-grid {
    display: flex;
    flex-direction: row;
    overflow: hidden;
    width: 100%;
    position: relative;
    min-height: 260px;
    height: 100%;
  }
  .sermon-card {
    flex: 0 0 100%;
    max-width: 98vw;
    min-width: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(.4,1.3,.5,1), opacity 0.3s;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    display: block !important;
  }
  .sermon-card.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
    position: relative;
    z-index: 2;
  }
  .sermon-card.prev {
    opacity: 0;
    transform: translateX(-100%);
    z-index: 1;
  }
  .sermon-card.next {
    opacity: 0;
    transform: translateX(100%);
    z-index: 1;
  }
}

@media (max-width: 900px) {
  .logo-link.logo-desktop-link {
    display: none !important;
  }
  .mobile-socials {
    display: flex;
    gap: 20px;
    margin: 10px 0 0 0;
    padding: 0;
    justify-content: center;
    align-items: center;
  }
  .mobile-socials .social-link {
    padding: 6px;
    font-size: 40px;
    background: #fff;
    border-radius: 50%;
    margin: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  }

.sermons-swipe-hint {
  display: none;
}
@media (max-width: 900px) {
  .sermons-swipe-hint {
    display: block;
    text-align: center;
    color: #888;
    font-size: 15px;
    margin-bottom: 10px;
    margin-top: -10px;
    letter-spacing: 1px;
    font-weight: 500;
  }
  .sermons-swipe-hint .swipe-arrow {
    font-size: 18px;
    vertical-align: middle;
    margin-left: 4px;
  }
}

@media (max-width: 768px) {
  .about-image {
    display: flex;
    justify-content: center;
  }
  .about-image img {
    margin: 0 auto;
  }
}

.about-belief {
  margin-top: 0;
  margin-bottom: 40px;
  padding: 30px 0;
}
.about-belief h3 {
  text-align: center;
  font-size: 28px;
  color: #333;
  margin-bottom: 20px;
  font-weight: 700;
}
.about-belief-block {
  margin-bottom: 15px;
}
.about-belief-block h4 {
  font-size: 20px;
  color: #444;
  margin-bottom: 10px;
  font-weight: 600;
  text-align: center;
}
.about-belief-block p {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin: 0 auto 0 auto;
  max-width: 900px;
  text-align: justify;
}
@media (max-width: 768px) {
  .about-belief {
    padding: 15px 0;
    margin-bottom: 24px;
  }
  .about-belief h3 {
    font-size: 22px;
    margin-bottom: 14px;
  }
  .about-belief-block h4 {
    font-size: 17px;
    margin-bottom: 7px;
  }
  .about-belief-block p {
    font-size: 13px;
    padding: 0 6px;
    max-width: 100%;
  }
}

.accordion-toggle {
  width: 100%;
  background: #f8f9fa;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 12px 0;
  text-align: left;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  border-radius: 6px;
  margin-bottom: 0;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.accordion-toggle h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  width: 100%;
}
.accordion-toggle.active,
.accordion-toggle:focus {
  background: #e0e0e0;
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), padding 0.3s;
  background: transparent;
  padding: 0 2px;
}
.accordion-content.open {
  padding: 16px 2px 8px 2px;
  max-height: 1000px;
  transition: max-height 0.6s cubic-bezier(0.4,0,0.2,1), padding 0.3s;
}
@media (max-width: 768px) {
  .accordion-toggle {
    font-size: 15px;
    padding: 10px 0;
  }
  .accordion-toggle h4 {
    font-size: 15px;
  }
  .accordion-content.open {
    padding: 10px 2px 6px 2px;
  }
}

.readmore-content {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 3.2em;
  transition: max-height 0.4s, -webkit-line-clamp 0.4s;
  position: relative;
}
.readmore-content.expanded {
  display: block;
  -webkit-line-clamp: unset;
  max-height: 1000px;
  overflow: visible;
}
.readmore-link {
  display: inline-block;
  margin-top: 10px;
  color: #fff;
  background: linear-gradient(90deg, #2a5db0 60%, #6fa8dc 100%);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  border-radius: 16px;
  padding: 5px 14px;
  box-shadow: 0 2px 8px rgba(42,93,176,0.08);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, font-weight 0.2s;
  text-decoration: none;
  outline: none;
}
.readmore-link:hover,
.readmore-link:focus {
  background: linear-gradient(90deg, #174a8b 60%, #2a5db0 100%);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(42,93,176,0.13);
}

.truth-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background: rgba(0,0,0,0.45);
  justify-content: center;
  align-items: center;
}
.truth-modal.show {
  display: flex;
}
.truth-modal-content {
  background: #fff;
  margin: auto;
  border-radius: 14px;
  max-width: 420px;
  width: 92vw;
  padding: 32px 24px 24px 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  position: relative;
  animation: truthModalIn 0.25s cubic-bezier(0.4,0,0.2,1);
}
@keyframes truthModalIn {
  from { transform: translateY(40px) scale(0.98); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.truth-modal-title {
  text-align: center;
  font-size: 1.5em;
  margin-bottom: 18px;
  color: #2a5db0;
  font-weight: 700;
}
.truth-modal-body p {
  font-size: 1em;
  color: #333;
  margin-bottom: 12px;
  text-align: center;
}
.truth-modal-close {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 1.6em;
  color: #888;
  cursor: pointer;
  font-weight: bold;
  transition: color 0.2s;
  z-index: 10;
}
.truth-modal-close:hover,
.truth-modal-close:focus {
  color: #2a5db0;
}
@media (max-width: 480px) {
  .truth-modal-content {
    padding: 18px 6vw 16px 6vw;
    max-width: 98vw;
  }
  .truth-modal-title {
    font-size: 1.15em;
  }
  .truth-modal-body p {
    font-size: 0.98em;
  }
}

.dropdown {
  position: relative;
  display: inline-block;
}
.dropdown-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0 8px;
  background: none;
  border: none;
  transition: color 0.2s;
}
.dropdown-toggle:hover,
.dropdown-toggle:focus {
  background: none;
  color: #333;
  text-decoration: none;
}
.nav-right > a:hover,
.nav-right > a:focus {
  background: none;
  color: #333;
  text-decoration: none;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  border-radius: 0 0 8px 8px;
  z-index: 1001;
  padding: 8px 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.25s;
}
.dropdown-animated-open .dropdown-menu {
  display: block;
  max-height: 500px;
  opacity: 1;
  transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.25s;
}
.dropdown-menu a {
  display: block;
  padding: 10px 22px;
  color: #333;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.dropdown-menu a:hover,
.dropdown-menu a:focus {
  background: #f0f0f0;
  color: #333;
  text-decoration: none;
}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  display: block;
}
@media (max-width: 900px) {
  .dropdown-menu {
    position: static;
    min-width: 100%;
    box-shadow: none;
    border-radius: 0;
    background: #fff;
    padding: 0;
  }
  .dropdown-animated-open .dropdown-menu {
    max-height: 500px;
    opacity: 1;
  }
  .dropdown-menu a {
    padding: 14px 0;
    border-bottom: 1px solid #eee;
    font-size: 18px;
    text-align: center;
  }
  .dropdown-toggle {
    width: 100%;
    justify-content: center;
    font-size: 18px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
  }
}

@media (max-width: 900px) {
  .dropdown-toggle {
    pointer-events: none;
    background: none;
  }
  .dropdown {
    cursor: pointer;
  }
  .dropdown-toggle i {
    pointer-events: auto;
  }
}

@media (max-width: 900px) {
  .nav-bottom .nav-right {
    width: 100vw;
    max-width: 100vw;
    left: -100vw;
  }
  .nav-bottom .nav-right.active {
    left: 0;
  }
  .dropdown-menu {
    width: 100vw;
    max-width: 100vw;
    left: 0;
  }
}

/* Remove underline bar from About Us (dropdown-toggle) on hover, keep for other links */
.dropdown-toggle::after {
  display: none !important;
  content: none !important;
}

/* Remove underline bar and background color from About Us dropdown options on hover */
.dropdown-menu a::after {
  display: none !important;
  content: none !important;
}
.dropdown-menu a:hover,
.dropdown-menu a:focus {
  background: none !important;
  color: #333 !important;
  text-decoration: none !important;
}

@media (max-width: 700px) {
  .ministry-card .ministry-title-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
  }
  .ministry-card .ministry-title-row h3 {
    margin: 0;
    font-size: 18px;
    text-align: center;
  }
}

.giving-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 0 10px 0;
  background: none;
}
.giving-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  padding: 36px 40px 28px 40px;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.giving-card h2 {
  font-size: 26px;
  font-weight: 700;
  color: #1b1b1b;
  margin-bottom: 12px;
}
.giving-card h3 {
  font-size: 18px;
  color: #2a5db0;
  margin-bottom: 18px;
  font-weight: 600;
}
.giving-card p {
  font-size: 16px;
  color: #444;
  margin-bottom: 12px;
  line-height: 1.7;
}
@media (max-width: 700px) {
  .giving-section {
    padding: 10px 0 4px 0;
  }
  .giving-card {
    padding: 18px 8px 14px 8px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    max-width: 98vw;
  }
  .giving-card h2 {
    font-size: 20px;
    margin-bottom: 8px;
  }
  .giving-card h3 {
    font-size: 15px;
    margin-bottom: 10px;
  }
  .giving-card p {
    font-size: 14px;
    margin-bottom: 8px;
  }
}

/* --- Giving Methods Section --- */
.giving-methods-section {
  margin: 32px auto 0 auto;
  max-width: 900px;
  padding: 0 16px;
  text-align: center;
}
.giving-methods-section h3 {
  font-size: 1.5em;
  margin-bottom: 24px;
  color: #2a5db0;
  font-weight: 700;
}
.giving-methods-grid {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.giving-method-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.10);
  padding: 28px 20px 20px 20px;
  flex: 1 1 260px;
  min-width: 240px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 18px;
}
.giving-method-card i {
  font-size: 2.2em;
  color: #2a5db0;
  margin-bottom: 12px;
}
.giving-method-card h4 {
  margin: 0 0 10px 0;
  font-size: 1.1em;
  color: #1b1b1b;
  font-weight: 600;
}
.giving-method-card p {
  font-size: 1em;
  color: #444;
  margin-bottom: 12px;
}
.give-now-btn {
  background: #2a5db0;
  color: #fff;
  padding: 10px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 8px;
  transition: background 0.2s;
  display: inline-block;
}
.give-now-btn:hover {
  background: #1a3e7a;
}
.upi-qr-img {
  width: 120px;
  height: 120px;
  margin: 10px 0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.upi-id {
  font-size: 0.95em;
  color: #2a5db0;
  margin-top: 6px;
  font-weight: 500;
  word-break: break-all;
}
.bank-details {
  font-size: 0.98em;
  color: #333;
  text-align: left;
  margin: 0 auto;
  background: #f8f9fa;
  border-radius: 8px;
  padding: 10px 12px;
  margin-top: 8px;
}
.giving-help {
  margin-top: 18px;
}
.giving-help a {
  color: #2a5db0;
  text-decoration: none;
  font-weight: 500;
  font-size: 1em;
}
.giving-help a i {
  margin-right: 6px;
}
@media (max-width: 700px) {
  .giving-methods-grid {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
  .giving-method-card {
    max-width: 98vw;
    min-width: 0;
    width: 100%;
  }
}

/* Force no color change on hover, focus, or active for Watch Live and Join Us */
.nav-top .nav-right a[href="live2.html"]:hover,
.nav-top .nav-right a[href="#joinform"]:hover,
.nav-top .nav-right a[href="live2.html"]:focus,
.nav-top .nav-right a[href="#joinform"]:focus,
.nav-top .nav-right a[href="live2.html"]:active,
.nav-top .nav-right a[href="#joinform"]:active,
.nav-bottom .nav-right a[href="live2.html"]:hover,
.nav-bottom .nav-right a[href="#joinform"]:hover,
.nav-bottom .nav-right a[href="live2.html"]:focus,
.nav-bottom .nav-right a[href="#joinform"]:focus,
.nav-bottom .nav-right a[href="live2.html"]:active,
.nav-bottom .nav-right a[href="#joinform"]:active {
  color: inherit !important;
  background: none !important;
}

/* FINAL OVERRIDE: Watch Live and Join Us in top navbar always white on hover */
.nav-top .nav-right a[href="live2.html"]:hover,
.nav-top .nav-right a[href="#joinform"]:hover,
.nav-top .nav-right a[href="live2.html"]:focus,
.nav-top .nav-right a[href="#joinform"]:focus,
.nav-top .nav-right a[href="live2.html"]:active,
.nav-top .nav-right a[href="#joinform"]:active {
  color: #fff !important;
  background: transparent !important;
}

