/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Updates carousel */
.updates-carousel{overflow:hidden;margin:24px 0 40px}
.carousel-track{display:flex;gap:20px;align-items:stretch;will-change:transform;animation:slideRight 28s linear infinite}
.carousel-track .card{flex:0 0 260px;background:#fff;border-radius:8px;box-shadow:0 6px 18px rgba(0,0,0,0.08);overflow:hidden}
.carousel-track .card img{width:100%;height:240px;object-fit:cover;display:block}
.carousel-track .card .card-body{padding:10px}
.carousel-track .card h4{margin:0 0 6px;font-size:15px;color:#093841}
.carousel-track .card p{margin:0;font-size:13px;color:#555}
.updates-carousel:hover .carousel-track{animation-play-state:paused}

@keyframes slideRight{
    from{transform:translateX(-50%)}
    to{transform:translateX(0)}
}

@media(max-width:900px){.carousel-track .card{flex:0 0 220px}.carousel-track .card img{height:160px}}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: #333;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

hr {
  border: none;
  height: 2px;
  background: linear-gradient(to right, #5787f7, #a19f3a);
  margin: 40px 0;
  border-radius: 1px;
}

.btn {
  display: inline-block;
  background-color: #5787f7;;
  color: white;
  padding: 12px 25px;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn:hover {
  background-color: #a19f3a;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(75, 191, 195, 0.3);
}

/* Header Styles - Reduced Height */
.main-header {
  background-color: #5787f7;
  color: white;
  padding: 12px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 80px;
}

.logo {
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.logo:hover {
  color: #4bbfc3;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  padding: 5px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.mobile-menu-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Desktop Navigation Styles - Reduced Height */
.desktop-nav ul {
  display: flex;
  align-items: center;
}

.desktop-nav li {
  margin-left: 25px;
  position: relative;
}

.desktop-nav a {
  font-size: 14px;
  font-weight: 600;
  transition: color 0.3s;
  padding: 6px 4px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: #093841;
  background-color: rgba(75, 191, 195, 0.1);
}

/* Desktop Dropdown Styles - Enhanced for Multiple Dropdowns */
.desktop-nav .dropdown {
  position: relative;
}

.desktop-nav .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fcfcfc;
  min-width: 240px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  border: 1px solid #1e2e5a;
  overflow: hidden;
  display: block;
}

.desktop-nav .dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.desktop-nav .dropdown-menu li {
  margin: 0;
  border-bottom: 1px solid #1e2e5a;
}

.desktop-nav .dropdown-menu li:last-child {
  border-bottom: none;
}

.desktop-nav .dropdown-menu a {
  display: block;
  padding: 20px 20px;
  font-size: 13px;
  font-weight: 500;
  color: #000000;
  text-transform: none;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  border-radius: 0;
  background-color: transparent;
}

.desktop-nav .dropdown-menu a:hover {
  background-color: #e9c421;
  color: white;
  padding-left: 25px;
}

.desktop-nav .dropdown-toggle {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.desktop-nav .dropdown-icon {
  font-size: 10px;
  margin-left: 6px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.desktop-nav .dropdown:hover .dropdown-icon {
  transform: rotate(180deg);
  color: #4bbfc3;
}

/* Dropdown Arrow */
.desktop-nav .dropdown-menu::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 20px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #0a1a3f;
}

/* Mobile Navigation - Reduced Height */
.mobile-nav {
  display: none;
  background-color: #0a1a3f;
  padding: 10px 0;
  border-top: 1px solid #1e2e5a;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-nav.active {
  display: block;
  max-height: 1000px;
}

.mobile-nav li {
  border-bottom: 1px solid #1e2e5a;
}

.mobile-nav a {
  display: block;
  padding: 10px 15px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.mobile-nav a:hover {
  background-color: #1e2e5a;
  padding-left: 25px;
  color: #4bbfc3;
}

/* Mobile Dropdown Styles - Enhanced for Multiple Dropdowns */
.mobile-nav .mobile-dropdown-menu {
  display: none;
  background-color: #1e2e5a;
  margin-left: 20px;
  border-radius: 6px;
  overflow: hidden;
  margin-top: 5px;
  max-height: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}

.mobile-nav .mobile-dropdown-menu.active {
  display: block;
  max-height: 300px;
  opacity: 1;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
  }
  to {
    opacity: 1;
    max-height: 300px;
  }
}

.mobile-nav .mobile-dropdown-menu li {
  border-bottom: 1px solid #2a3e6a;
}

.mobile-nav .mobile-dropdown-menu li:last-child {
  border-bottom: none;
}

.mobile-nav .mobile-dropdown-menu a {
  padding: 10px 20px;
  font-size: 13px;
  color: #ccc;
  transition: all 0.3s ease;
}

.mobile-nav .mobile-dropdown-menu a:hover {
  background-color: #4bbfc3;
  color: white;
  padding-left: 30px;
}

.mobile-nav .mobile-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.mobile-nav .mobile-dropdown-icon {
  font-size: 12px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.mobile-nav .mobile-dropdown.active .mobile-dropdown-icon {
  transform: rotate(180deg);
  color: #4bbfc3;
}

/* Close dropdowns when clicking outside */
.mobile-nav .mobile-dropdown {
  position: relative;
}

/* Hero Slider Styles */
.hero-slider {
  position: relative;
  height: 600px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide.active {
  opacity: 1;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 26, 63, 0.8), rgba(84, 188, 192, 0.048));
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 0 20px;
  animation: slideInUp 1s ease-out;
}

.hero-slide.active .hero-content {
  animation: slideInUp 1s ease-out;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 15px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: fadeInDown 1s ease-out 0.3s both;
}

.hero-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 600;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: fadeInDown 1s ease-out 0.6s both;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  line-height: 1.6;
  animation: fadeInUp 1s ease-out 0.9s both;
}

.hero-content .btn {
  animation: fadeInUp 1s ease-out 1.2s both;
  font-size: 1.1rem;
  padding: 15px 30px;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Navigation */
.hero-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 1.5rem;
  padding: 15px 20px;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  z-index: 10;
}

.hero-nav-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.hero-prev-btn {
  left: 30px;
}

.hero-next-btn {
  right: 30px;
}

/* Hero Indicators */
.hero-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.hero-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-indicator.active {
  background: white;
  transform: scale(1.3);
}

.hero-indicator:hover {
  background: rgba(255, 255, 255, 0.8);
}

/* Hero Progress Bar */
.hero-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #4bbfc3, #0a1a3f);
  animation: heroProgress 5s linear infinite;
  z-index: 10;
}

@keyframes heroProgress {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

.hero-slider.paused .hero-progress-bar {
  animation-play-state: paused;
}

/* Welcome Section */
.welcome {
  padding: 60px 0;
  background-color: white;
}

.welcome h2 {
  font-size: 20px;
  margin-bottom: 20px;
}

.welcome h2 span {
  font-weight: bold;
}

.welcome p {
  margin-bottom: 15px;
}

/* Call to Action */
.cta {
  background-color: #1a2b5f;
  color: white;
  padding: 40px 0;
}

.cta-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cta-text h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

/* Two Column Section */
.two-column {
  padding: 60px 0;
}

.columns {
  display: flex;
  gap: 30px;
}

.column {
  flex: 1;
}

.column h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.column h2 span {
  color: #1a2b5f;
}

.column > p {
  margin-bottom: 20px;
}

.image-container {
  margin-bottom: 20px;
}

.image-container img {
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.column h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

.column .btn {
  margin-top: 15px;
}

/* Salvation Section */
.salvation {
  background-color: #1e2a3b;
  color: white;
  padding: 60px 0;
}

.salvation-content {
  display: flex;
  gap: 30px;
}

.salvation-text {
  flex: 1;
}

.salvation-text h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.salvation-text p {
  margin-bottom: 20px;
}

.salvation-icons {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.icon-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.icon {
  width: 80px;
  height: 80px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.icon i {
  font-size: 30px;
  color: #1e2a3b;
}

/* Quote Section */
.quote {
  background-color: #da3ec5;
  color: white;
  padding: 30px 0;
  text-align: center;
}

.quote p {
  font-size: 20px;
  font-weight: 500;
}

/* Minister Section */
.minister {
  padding: 60px 0;
  background-color: #f5f5f5;
}

.minister h2 {
  font-size: 28px;
  text-align: center;
  margin-bottom: 40px;
}

.minister h2 span {
  color: #1a2b5f;
}

.minister-content {
  display: flex;
  gap: 30px;
  align-items: center;
}

.minister-image {
  flex: 1;
}

.minister-image img {
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.minister-info {
  flex: 2;
}

.minister-info p {
  margin-bottom: 15px;
}

.minister-info .btn {
  margin-top: 10px;
}

/* Footer */
.footer {
    background: #5787f7;
    color: white;
    padding: 60px 20px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    gap: 10px;
}

.footer-logo i {
    color: #ffffff;
}

.footer-description {
    color: #ffffff;
    margin-bottom: 25px;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: #374151;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #3b82f6;
    transform: translateY(-2px);
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #f9fafb;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact .contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #d1d5db;
}

.footer-contact .contact-item i {
    color: #fcfdfd;
    width: 16px;
}

.footer-contact a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #f0c710;
}

.service-times {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-time {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #feffff;
}

.service-time .day {
    font-weight: 600;
    color: #f9fafb;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #fdfdfd;
    color: #f8f9fc;
}
/** imported code */

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: bold;
    text-align: center;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* Mission Section */
.mission {
    padding: 5rem 0;
    background: #f8fafc;
}

.mission-text {
    font-size: 1.25rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: #6b7280;
    line-height: 1.8;
}


/* Story Section */
.story {
    padding: 5rem 0;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.story-content .section-title {
    text-align: left;
    margin-bottom: 2rem;
}

.story-text p {
    margin-bottom: 1.5rem;
    color: #6b7280;
    line-height: 1.7;
}

.story-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Values Section */
.values {
    padding: 5rem 0;
    background: #f8fafc;
}

.values-header {
    text-align: center;
    margin-bottom: 3rem;
}

.values-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.value-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Leadership Section */
.leadership {
    padding: 5rem 0;
}

.leadership-header {
    text-align: center;
    margin-bottom: 3rem;
}

.leadership-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.leader-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.leader-card:hover {
    transform: translateY(-5px);
}

.leader-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    display: block;
}

.leader-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.leader-title {
    color: #6b7280;
    font-weight: 600;
    margin-bottom: 1rem;
}

.leader-description {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.leader-badge {
    background: #e5e7eb;
    color: #374151;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Info Section */
.info-section {
    padding: 5rem 0;
    background: #f8fafc;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.info-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.service-times {
    space-y: 1rem;
}

.service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.service-item:last-child {
    border-bottom: none;
}

.service-name {
    font-weight: 600;
    color: #1f2937;
}

.service-time {
    color: #6b7280;
}

.contact-subtitle {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.contact-info {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-icon {
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

.contact-primary {
    font-weight: 600;
    color: #1f2937;
}

.contact-secondary {
    color: #6b7280;
    font-size: 0.875rem;
}

.contact-btn {
    width: 100%;
}

/* Gallery Section */
.gallery-section {
    padding: 5rem 0;
    background: #f8fafc;
}

.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid #e5e7eb;
    background: white;
    color: #6b7280;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: #4f46e5;
    color: white;
    border-color: #4f46e5;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.view-btn {
    background: #4f46e5;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s ease;
}

.view-btn:hover {
    background: #3730a3;
}


/* Family Section */
.family-section {
    padding: 3rem 0;
    background: #ffffff;
}
.family-section .section-subtitle {
    text-align: center;
    margin-bottom: 2rem;
    color: #6b7280;
}
.family-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}
.family-grid .gallery-item img {
    height: 220px;
    object-fit: cover;
}

@media (max-width: 600px) {
  .family-grid .gallery-item img {
    height: 160px;
  }
}


/* Heroo Section worship with us */
.heroo {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.heroo-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.heroo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.heroo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:0;
}

.heroo-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.heroo-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(2, 2, 2, 0.3);
}

.heroo-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 2px 2px 4px rgba(2, 2, 2, 0.3);
    opacity: 0.95;
}

.heroo-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: #ffffff;
    color: #2563eb;
    border-color: #ffffff;
}

.btn-primary:hover {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.btn-secondary:hover {
    background: #ffffff;
    color: #2563eb;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border: 2px solid white;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

/* Time Display */
.time-display {
    background: #1f2937;
    color: white;
    padding: 1.5rem 0;
}

.time-widget {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.current-time {
    text-align: center;
}

.time {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}

.date {
    font-size: 0.875rem;
    opacity: 0.8;
}

.next-service {
    text-align: center;
}

.next-label {
    display: block;
    font-size: 0.875rem;
    opacity: 0.8;
    margin-bottom: 0.25rem;
}

.next-time {
    font-size: 1.25rem;
    font-weight: 600;
    color: #60a5fa;
}

/* Schedule Section */
.schedule-section {
    padding: 6rem 0;
    background: #f9fafb;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.schedule-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid #2563eb;
}

.schedule-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.schedule-card.sunday {
    border-top-color: #dc2626;
}

.schedule-card.wednesday {
    border-top-color: #059669;
}

.schedule-card.saturday {
    border-top-color: #7c3aed;
}

.day-header {
    text-align: center;
    margin-bottom: 2rem;
}

.day-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.day-subtitle {
    color: #6b7280;
    font-style: italic;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.service-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.service-item:hover {
    background: #e2e8f0;
    transform: translateX(5px);
}

.service-time {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #2563eb;
    min-width: 80px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.service-info p {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.service-details {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    color: #9ca3af;
}

.service-details span {
    background: #e5e7eb;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
}

/* Services Section */
.services-section {
    padding: 6rem 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-type-card {
    text-align: center;
    padding: 2rem;
    border-radius: 20px;
    background: #f8fafc;
    transition: all 0.3s ease;
}

.service-type-card:hover {
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: #2563eb;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-type-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.service-type-card p {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    text-align: left;
}

.service-features li {
    padding: 0.5rem 0;
    color: #4b5563;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #059669;
    font-weight: bold;
}

/* Events Section */
.events-section {
    padding: 6rem 0;
    background: #f9fafb;
}

.events-timeline {
    margin-bottom: 3rem;
}

.event-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.event-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.event-date {
    text-align: center;
    min-width: 80px;
}

.event-month {
    display: block;
    font-size: 0.875rem;
    color: #2563eb;
    font-weight: 600;
    text-transform: uppercase;
}

.event-day {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
}

.event-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.event-info p {
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.event-time {
    font-size: 0.875rem;
    color: #2563eb;
    font-weight: 500;
}

/* Calendar */
.events-calendar {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.calendar-nav {
    background: #2563eb;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.calendar-nav:hover {
    background: #1d4ed8;
    transform: scale(1.1);
}

.calendar-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.calendar-day {
    background: white;
    padding: 1rem;
    text-align: center;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.calendar-day:hover {
    background: #f3f4f6;
}

.calendar-day.other-month {
    color: #d1d5db;
}

.calendar-day.today {
    background: #2563eb;
    color: white;
}

.calendar-day.has-event {
    background: #dbeafe;
    color: #1e40af;
}

.calendar-day.has-event::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #2563eb;
    border-radius: 50%;
}

/* Live Stream Section */
.live-stream-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1e40af 0%, #3730a3 100%);
    color: white;
}

.live-stream-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.live-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.live-info p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.live-schedule {
    margin-bottom: 2rem;
}

.live-time {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.live-time .time {
    font-weight: 700;
    font-size: 1.1rem;
}

.live-time .service {
    opacity: 0.9;
}

.live-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.875rem;
}

.status-indicator {
    width: 12px;
    height: 12px;
    background: #ef4444;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.live-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #ef4444;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.live-btn:hover {
    background: #dc2626;
    transform: translateY(-2px);
}

.live-icon {
    animation: pulse 2s infinite;
}

.live-player {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.player-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

.player-icon {
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Search Section */
.search-section {
    padding: 2rem 0;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.search-controls {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.search-bar {
    position: relative;
    flex: 1;
    min-width: 300px;
}

.search-input {
    width: 100%;
    padding: 1rem 3rem 1rem 1.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.search-input:focus {
    outline: none;
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.search-btn {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.search-btn:hover {
    color: #7c3aed;
    background: rgba(124, 58, 237, 0.1);
}

.filter-controls {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-select {
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 25px;
    background: white;
    color: #374151;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}

.filter-select:focus {
    outline: none;
    border-color: #7c3aed;
}

/* Featured Sermon */
.featured-section {
    padding: 6rem 0;
    background: white;
}

.featured-sermon {
    background: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%);
    border-radius: 20px;
    overflow: hidden;
    color: white;
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.3);
}

.featured-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 400px;
}

.featured-info {
    padding: 3rem;
}

.featured-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.featured-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.featured-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
}

.featured-meta span {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.featured-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.play-btn,
.download-btn,
.share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.play-btn {
    background: #ffffff;
    color: #7c3aed;
}

.play-btn:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
}

.download-btn,
.share-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.download-btn:hover,
.share-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.featured-player {
    padding: 2rem;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

/* Audio Player */
.audio-player {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    backdrop-filter: blur(20px);
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.control-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 0.75rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.progress-container {
    flex: 1;
    margin: 0 1rem;
}

.progress-bar {
    position: relative;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    cursor: pointer;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: #ffffff;
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s ease;
}

.progress-handle {
    position: absolute;
    top: 50%;
    left: 0%;
    width: 16px;
    height: 16px;
    background: #ffffff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    opacity: 0.8;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.volume-slider {
    width: 80px;
}

.volume-slider input {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.speed-btn {
    min-width: 40px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Sermons Grid */
.sermons-section {
    padding: 6rem 0;
    background: #f8fafc;
}

.sermons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.sermon-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.sermon-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.sermon-image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.sermon-play-btn {
    background: rgba(255, 255, 255, 0.9);
    color: #7c3aed;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sermon-play-btn:hover {
    background: white;
    transform: scale(1.1);
}

.sermon-info {
    padding: 1.5rem;
}

.sermon-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.sermon-description {
    color: #6b7280;
    margin-bottom: 1rem;
    line-height: 1.5;
    font-size: 0.875rem;
}

.sermon-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: #9ca3af;
    margin-bottom: 1rem;
}

.sermon-actions {
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    background: #f3f4f6;
    border: none;
    color: #6b7280;
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-btn:hover {
    background: #7c3aed;
    color: white;
    transform: translateY(-1px);
}

.load-more-container {
    text-align: center;
}

.load-more-btn {
    background: #7c3aed;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    background: #6d28d9;
    transform: translateY(-2px);
}

/* Series Section */
.series-section {
    padding: 6rem 0;
    background: white;
}

.series-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.series-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.series-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.series-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.series-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.series-card:hover .series-image img {
    transform: scale(1.05);
}

.series-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(124, 58, 237, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.series-card:hover .series-overlay {
    opacity: 1;
}

.series-play-btn {
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.series-play-btn:hover {
    transform: scale(1.1);
}

.series-info {
    padding: 1.5rem;
}

.series-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.series-info p {
    color: #6b7280;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.series-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
}

.sermon-count {
    color: #7c3aed;
    font-weight: 600;
}

.series-status {
    background: #10b981;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-weight: 500;
}

.series-status:contains("Complete") {
    background: #6b7280;
}

/* Speakers Section */
.speakers-section {
    padding: 6rem 0;
    background: #f8fafc;
}

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.speaker-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.speaker-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.speaker-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #7c3aed;
}

.speaker-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.speaker-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.speaker-title {
    color: #7c3aed;
    font-weight: 500;
    margin-bottom: 1rem;
}

.speaker-bio {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.speaker-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 0.75rem;
    color: #9ca3af;
}
/*pastor*/
.container-pastor {
            max-width: 1200px;
            margin: 0 auto;
            padding: 4rem 2rem;
        }

       

        /* Biography Summary */
        .bio-summary {
            background: white;
            padding: 3rem;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            margin-bottom: 4rem;
            text-align: center;
        }

        .bio-summary p {
            font-size: 1.2rem;
            line-height: 1.8;
            color: #555;
            max-width: 800px;
            margin: 0 auto;
        }


/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.contact-info p {
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-details {
    display: grid;
    gap: 1.5rem;
}

.contact-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #6b7280;
    margin: 0;
}

.contact-form {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #7c3aed;
}

.submit-btn {
    background: #7c3aed;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: #6d28d9;
    transform: translateY(-2px);
}

/* Audio Modal */
.audio-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    max-width: 800px;
    margin: 5vh auto;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
}

.modal-close {
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #f3f4f6;
    color: #1f2937;
}

.modal-player {
    padding: 2rem;
    background: #f8fafc;
}

.modal-audio-player {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.modal-info {
    padding: 2rem;
}

.modal-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
}

.modal-meta span {
    background: #f3f4f6;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    color: #6b7280;
}

.modal-actions {
    display: flex;
    gap: 1rem;
}

.modal-action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #7c3aed;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-action-btn:hover {
    background: #6d28d9;
    transform: translateY(-1px);
}

/* Hero Section */
.herooo {
    padding: 80px 20px;
    background: linear-gradient(135deg, #9eb0ff71 0%, #ffffff 100%);
    color: #5787f7;
    display: flex;
    align-items: center;
    min-height: 500px;
}

.herooo-content {
    flex: 1;
    max-width: 600px;
}

.herooo h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.herooo p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-button {
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.herooo-image {
    flex: 1;
    text-align: center;
}

.herooo-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}


/* Filters Section */
.filters {
    padding: 60px 20px 40px;
    background: white;
}

.filters h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #2c5aa0;
    font-size: 2.5rem;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-btn {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    color: #6c757d;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: #2c5aa0;
    border-color: #2c5aa0;
    color: white;
}

/* Events Section */
.events {
    padding: 40px 20px 80px;
    background: #f8f9fa;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.event-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    opacity: 1;
    transform: scale(1);
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.event-card.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.event-image {
    height: 200px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.event-content {
    padding: 25px;
}

.event-category {
    display: inline-block;
    background: #e3f2fd;
    color: #1976d2;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.event-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2c5aa0;
}

.event-description {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.event-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.event-detail {
    display: flex;
    align-items: center;
    color: #555;
    font-size: 0.9rem;
}

.event-detail i {
    width: 20px;
    margin-right: 10px;
    color: #2c5aa0;
}

.register-btn {
    width: 100%;
    background: #28a745;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.register-btn:hover {
    background: #218838;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: slideIn 0.3s ease;
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #aaa;
}

.close:hover {
    color: #333;
}

.modal h2 {
    margin-bottom: 25px;
    color: #2c5aa0;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c5aa0;
}

.submit-btn {
    width: 100%;
    background: #2c5aa0;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: #1e3d72;
}

/* Hero Section for ministries*/
.heroooo {
    margin-top: 70px;
    padding: 100px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.heroooo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
}

.heroooo-content {
    position: relative;
    z-index: 2;
}

.heroooo h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.heroooo p {
    font-size: 1.3rem;
    margin-bottom: 50px;
    opacity: 0.9;
}

.herooo-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #ffd700;
}

.stat p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Ministry Navigation */
.ministry-nav {
    background: white;
    padding: 30px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 999;
}

.ministry-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.tab-btn {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    color: #6c757d;
    padding: 15px 30px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tab-btn:hover,
.tab-btn.active {
    background: #2c5aa0;
    border-color: #2c5aa0;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 90, 160, 0.3);
}

.tab-btn i {
    font-size: 1.2rem;
}

/* Ministry Sections */
.ministry-section {
    padding: 60px 0;
    background: white;
}

.ministry-section.active {
    display: block;
}

.ministry-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.ministry-intro h2 {
    font-size: 2.5rem;
    color: #2c5aa0;
    margin-bottom: 20px;
}

.ministry-verse {
    font-style: italic;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 20px;
    border-left: 4px solid #2c5aa0;
    padding-left: 20px;
}

.ministry-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.ministry-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Leadership Section */
.leadership-section {
    margin-bottom: 60px;
}

.leadership-section h3 {
    font-size: 2rem;
    color: #2c5aa0;
    margin-bottom: 30px;
    text-align: center;
}

.leaders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.leader-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.leader-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: #2c5aa0;
}

.leader-avatar {
    width: 80px;
    height: 80px;
    background: #2c5aa0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.leader-card h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: #333;
}

.leader-card p {
    color: #666;
    margin-bottom: 15px;
}

.contact-btn {
    background: #28a745;
    color: white;
    padding: 10px 15px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.contact-btn:hover {
    background: #218838;
    transform: scale(1.1);
}

/* Activities Section */
.activities-section {
    margin-bottom: 60px;
}

.activities-section h3 {
    font-size: 2rem;
    color: #2c5aa0;
    margin-bottom: 30px;
    text-align: center;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.activity-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-top: 4px solid #2c5aa0;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.activity-card i {
    font-size: 3rem;
    color: #2c5aa0;
    margin-bottom: 20px;
}

.activity-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.activity-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.activity-time {
    background: #e3f2fd;
    color: #1976d2;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Age Groups Section (Children's Ministry) */
.age-groups {
    margin-bottom: 60px;
}

.age-groups h3 {
    font-size: 2rem;
    color: #2c5aa0;
    margin-bottom: 30px;
    text-align: center;
}

.age-groups-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.age-group-card {
    background: linear-gradient(135deg, #ff6b6b, #ffa500);
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
}

.age-group-card i {
    font-size: 3rem;
    margin-bottom: 15px;
}

.age-group-card h4 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.age-group-card p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.age-group-card ul {
    list-style: none;
    text-align: left;
}

.age-group-card li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.age-group-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Events Section */
.upcoming-events {
    margin-bottom: 60px;
}

.upcoming-events h3 {
    font-size: 2rem;
    color: #2c5aa0;
    margin-bottom: 30px;
    text-align: center;
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.event-item {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 25px;
    transition: all 0.3s ease;
}

.event-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.event-date {
    background: #2c5aa0;
    color: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    min-width: 80px;
}

.event-date .month {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
}

.event-date .day {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
}

.event-details {
    flex: 1;
}

.event-details h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #333;
}

.event-details p {
    color: #666;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.join-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.join-btn:hover {
    background: #218838;
    transform: scale(1.05);
}

/* Ministry Actions */
.ministry-actions {
    text-align: center;
    margin-top: 40px;
}

.primary-btn,
.secondary-btn {
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 10px;
    border: 2px solid transparent;
}

.primary-btn {
    background: #2c5aa0;
    color: white;
    border-color: #2c5aa0;
}

.primary-btn:hover {
    background: #1e3d72;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 90, 160, 0.4);
}

.secondary-btn {
    background: transparent;
    color: #2c5aa0;
    border-color: #2c5aa0;
}

.secondary-btn:hover {
    background: #2c5aa0;
    color: white;
    transform: translateY(-2px);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 40px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: slideIn 0.3s ease;
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #aaa;
}

.close:hover {
    color: #333;
}

.modal h2 {
    margin-bottom: 30px;
    color: #2c5aa0;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c5aa0;
}

.submit-btn {
    width: 100%;
    background: #2c5aa0;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: #1e3d72;
}


/* Projects Introduction */
.projects-intro {
    padding: 80px 20px;
    background: white;
    text-align: center;
}

.projects-intro h2 {
    font-size: 2.5rem;
    color: #2c5aa0;
    margin-bottom: 20px;
}

.projects-intro p {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Project Categories */
.project-category {
    padding: 80px 20px;
    background: #f8f9fa;
}

.project-category:nth-child(even) {
    background: white;
}

.category-header {
    text-align: center;
    margin-bottom: 60px;
}

.category-header h2 {
    font-size: 2.5rem;
    color: #2c5aa0;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.category-header h2 i {
    font-size: 2rem;
}

.category-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.projects-grid.hidden {
    display: none;
}

.projects-grid.show {
    display: grid;
    animation: fadeInUp 0.6s ease;
}

.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.project-card:hover .project-overlay {
    transform: translateY(0);
}

.project-overlay h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.project-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.4;
}

/* View More Button */
.view-more-container {
    text-align: center;
    margin-top: 40px;
}

.view-more-btn {
    background: #2c5aa0;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.view-more-btn:hover {
    background: #1e3d72;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 90, 160, 0.4);
}

.view-more-btn i {
    transition: transform 0.3s ease;
}

.view-more-btn.expanded i {
    transform: rotate(180deg);
}


/* Call to Action Section */
.cta-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3d72 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.cta-btn.primary {
    background: #28a745;
    color: white;
    border-color: #28a745;
}

.cta-btn.primary:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
}

.cta-btn.secondary {
    background: #ff6b6b;
    color: white;
    border-color: #ff6b6b;
}

.cta-btn.secondary:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.cta-btn.tertiary {
    background: transparent;
    color: white;
    border-color: white;
}

.cta-btn.tertiary:hover {
    background: white;
    color: #2c5aa0;
    transform: translateY(-2px);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 40px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: slideIn 0.3s ease;
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #aaa;
}

.close:hover {
    color: #333;
}

.modal h2 {
    margin-bottom: 30px;
    color: #2c5aa0;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c5aa0;
}

.submit-btn {
    width: 100%;
    background: #2c5aa0;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: #1e3d72;
}


/* Hero Section for contacts*/
.herooooo {
    margin-top: 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    text-align: center;
}

.herooooo-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/placeholder.svg?height=600&width=1200') center/cover;
}

.herooooo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.8), rgba(59, 130, 246, 0.8));
}

.herooooo-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.herooooo-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
}

.herooooo-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.herooooo-quick-contact {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Hero Section images */

.heroooooo {
    margin-top: 0;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    text-align: center;
}

.heroooooo-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/placeholder.svg?height=600&width=1200') center/cover;
}

.heroooooo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.8), rgba(59, 130, 246, 0.8));
}

.heroooooo-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.heroooooo-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
}

.heroooooo-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.quick-contact-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.quick-contact-btn:hover {
    background: white;
    color: #2563eb;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #1f2937;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-header p {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Information Section */
.contact-info-section {
    padding: 100px 20px;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.contact-card {
    background: #f8fafc;
    padding: 40px 30px;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: #2563eb;
}

.contact-card.main-contact {
    grid-column: span 2;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: #2563eb;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: white;
}

.contact-card.main-contact .contact-icon {
    background: rgba(255, 255, 255, 0.2);
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    font-weight: 700;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-item i {
    color: #2563eb;
    font-size: 1.1rem;
    margin-top: 2px;
    width: 20px;
}

.contact-card.main-contact .contact-item i {
    color: rgba(255, 255, 255, 0.8);
}

.contact-text {
    flex: 1;
}

.contact-text strong {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-text a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: #1d4ed8;
}

.contact-card.main-contact .contact-text a {
    color: white;
}

.contact-card.main-contact .contact-text a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.pastor-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 15px;
}

.pastor-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.pastor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pastor-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.pastor-details p {
    color: #6b7280;
    font-size: 0.9rem;
}

/* Service Times Section */
.service-times-section {
    padding: 100px 20px;
    background: #f8fafc;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.schedule-day {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.schedule-day:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.day-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e5e7eb;
}

.day-header h3 {
    font-size: 1.5rem;
    color: #1f2937;
    margin-bottom: 5px;
    font-weight: 700;
}

.day-subtitle {
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 500;
}

.schedule-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.schedule-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.schedule-item:hover {
    background: #f3f4f6;
}

.schedule-item.featured {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
}

.schedule-item.featured:hover {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
}

.time {
    font-weight: 700;
    font-size: 1rem;
    min-width: 80px;
    color: #2563eb;
}

.schedule-item.featured .time {
    color: white;
}

.event h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.event p {
    color: #6b7280;
    font-size: 0.9rem;
}

.schedule-item.featured .event p {
    color: rgba(255, 255, 255, 0.8);
}

/* Location Section */
.location-section {
    padding: 100px 20px;
    background: white;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: start;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.address-card {
    background: #f8fafc;
    padding: 30px;
    border-radius: 20px;
    border: 2px solid #e5e7eb;
}

.address-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.address-header i {
    color: #2563eb;
    font-size: 1.5rem;
}

.address-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
}

.address {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #374151;
}

.location-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #374151;
}

.feature i {
    color: #10b981;
    width: 16px;
}

.directions-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.directions-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.directions-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.directions-btn.secondary {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.directions-btn.secondary:hover {
    background: #2563eb;
    color: white;
}

.nearby-landmarks {
    background: white;
    padding: 25px;
    border-radius: 15px;
    border: 2px solid #e5e7eb;
}

.nearby-landmarks h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1f2937;
}

.landmarks-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.landmark {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #6b7280;
    font-size: 0.9rem;
}

.landmark i {
    color: #2563eb;
    width: 16px;
}

.map-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map {
    height: 500px;
    width: 100%;
}

.map-controls {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.map-control-btn {
    background: white;
    border: none;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

.map-control-btn:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
}

/* Contact Form Section */
.contact-form-section {
    padding: 100px 20px;
    background: #f8fafc;
}

.form-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    border: none;
    padding: 18px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.sidebar-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1f2937;
}

.sidebar-card p {
    color: #6b7280;
    margin-bottom: 15px;
    line-height: 1.6;
}

.emergency-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #dc2626;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

.emergency-phone:hover {
    color: #b91c1c;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #374151;
    text-decoration: none;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #2563eb;
}

.social-link i {
    width: 20px;
    font-size: 1.1rem;
}

/* Gallery Navigation */
.gallery-nav {
    background: white;
    padding: 20px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: sticky;
    top:0;
    z-index: 100;
}

.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.gallery-tab {
    background: transparent;
    border: 2px solid #e5e7eb;
    color: #4b5563;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-tab:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
}

.gallery-tab.active {
    background: #2563eb;
    border-color: #2563eb;
    color: white;
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
    background: white;
}

.gallery-section:nth-child(odd) {
    background: #f8fafc;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 300px;
}

.gallery-item.hidden {
    display: none;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.gallery-image {
    position: relative;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px;
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.gallery-info p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 5px;
}

.gallery-date {
    font-size: 0.8rem;
    opacity: 0.7;
}

.view-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-btn:hover {
    background: white;
    color: #2563eb;
    transform: scale(1.1);
}

.gallery-actions {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.show-more-btn {
    background: transparent;
    border: 2px solid #2563eb;
    color: #2563eb;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.show-more-btn:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
}

.show-more-btn.active i {
    transform: rotate(180deg);
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    margin: 5vh auto;
    height: 90vh;
    display: flex;
    flex-direction: column;
    animation: zoomIn 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: transparent;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 2010;
}

.lightbox-image-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#lightboxImage {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.lightbox-caption {
    color: white;
    text-align: center;
    padding: 20px 0;
}

.lightbox-caption h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-nav.prev {
    left: -70px;
}

.lightbox-nav.next {
    right: -70px;
}

/* Category Navigation for youths */
.category-nav {
    background: white;
    padding: 20px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 80px;
    z-index: 100;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.category-tab {
    background: transparent;
    border: 2px solid #e5e7eb;
    color: #4b5563;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-tab:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
}

.category-tab.active {
    background: #2563eb;
    border-color: #2563eb;
    color: white;
}

/* Main Content */
.main-content {
    padding: 60px 0;
}

/* Category Section */
.category-section {
    margin-bottom: 80px;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s ease;
}

.category-section.hidden {
    display: none;
}

.category-section.fade-out {
    opacity: 0;
    transform: translateY(20px);
}

.category-header {
    text-align: center;
    margin-bottom: 40px;
}

.category-icon {
    width: 80px;
    height: 80px;
    background: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
}

.category-header h2 {
    font-size: 2.5rem;
    color: #1f2937;
    margin-bottom: 15px;
    font-weight: 700;
}

.category-description {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto;
}

.category-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.category-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.category-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.category-image:hover img {
    transform: scale(1.03);
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 20px;
    font-size: 0.9rem;
    font-style: italic;
}

.category-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.detail-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 4px solid #2563eb;
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.detail-card h3 {
    font-size: 1.4rem;
    color: #1f2937;
    margin-bottom: 15px;
    font-weight: 600;
}

.detail-card p {
    color: #4b5563;
    margin-bottom: 20px;
    line-height: 1.7;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f3f4f6;
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: #4b5563;
}

.meta-item i {
    color: #2563eb;
}

/* Read More Functionality */
.read-more-container {
    position: relative;
    overflow: hidden;
}

.read-more-text {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    margin-top: 0;
    opacity: 0;
}

.read-more-text.expanded {
    max-height: 500px;
    margin-top: 20px;
    opacity: 1;
}

.read-more-btn {
    background: transparent;
    border: none;
    color: #2563eb;
    font-weight: 600;
    cursor: pointer;
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.read-more-btn::after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.read-more-btn.expanded::after {
    transform: rotate(180deg);
}



/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}


.container-projects {
            max-width: 1400px;
            margin: 0 auto;
             padding: 4rem 2rem;
        }
 /* Card Slider Section */
        .card-slider-section {
            position: relative;
            overflow: hidden;
            background: white;
            border-radius: 20px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
            padding: 2rem;
        }

        .slider-container {
            position: relative;
            overflow: hidden;
            border-radius: 15px;
        }

        .slider-wrapper {
            display: flex;
            transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            will-change: transform;
        }

        .card {
            min-width: 320px;
            margin: 0 15px;
            background: white;
            border-radius: 15px;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            position: relative;
        }

        .card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
        }

        .card-image {
            width: 100%;
            height: 220px;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .card:hover .card-image {
            transform: scale(1.05);
        }

        .card-content {
            padding: 1.5rem;
        }

        .card-title {
            font-size: 1.4rem;
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: 0.8rem;
            line-height: 1.3;
        }

        .card-description {
            color: #7f8c8d;
            font-size: 1rem;
            line-height: 1.6;
            margin-bottom: 1rem;
        }

        .card-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.9rem;
            color: #95a5a6;
        }

        .card-date {
            font-weight: 500;
        }

        .card-category {
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            padding: 0.3rem 0.8rem;
            border-radius: 15px;
            font-size: 0.8rem;
            font-weight: 500;
        }

        /* Navigation Arrows */
        .nav-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255, 255, 255, 0.95);
            border: none;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 1.8rem;
            color: #667eea;
            transition: all 0.3s ease;
            z-index: 10;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .nav-arrow:hover {
            background: #667eea;
            color: white;
            transform: translateY(-50%) scale(1.1);
            box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
        }

        .nav-arrow:active {
            transform: translateY(-50%) scale(0.95);
        }

        .nav-arrow.prev {
            left: -1px;
        }

        .nav-arrow.next {
            right: -1px;
        }

        /* Navigation Dots */
        .slider-dots {
            display: flex;
            justify-content: center;
            gap: 12px;
            margin-top: 2rem;
        }

        .dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: #bdc3c7;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
        }

        .dot.active {
            background: #667eea;
            transform: scale(1.3);
        }

        .dot:hover {
            background: #667eea;
            transform: scale(1.2);
        }

        /* Auto-play indicator */
        .dot.active::after {
            content: '';
            position: absolute;
            top: -3px;
            left: -3px;
            right: -3px;
            bottom: -3px;
            border: 2px solid #667eea;
            border-radius: 50%;
            animation: pulse 3s infinite;
        }

        @keyframes pulse {
            0% {
                transform: scale(1);
                opacity: 1;
            }
            100% {
                transform: scale(1.5);
                opacity: 0;
            }
        }



/**end of imported code */


/* Responsive Styles - Updated for smaller navigation */
@media (max-width: 1200px) {
  .desktop-nav li {
    margin-left: 20px;
  }

  .desktop-nav a {
    font-size: 13px;
    padding: 5px 4px;
  }

  .desktop-nav .dropdown-menu {
    min-width: 220px;
  }
}

@media (max-width: 992px) {
  .columns,
  .salvation-content,
  .minister-content {
    flex-direction: column;
  }

  .cta-content {
    flex-direction: column;
    text-align: center;
  }

  .cta-text {
    margin-bottom: 20px;
  }

  .bottom-footer-content {
    flex-direction: column;
    text-align: center;
  }

  .copyright {
    margin-bottom: 15px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content h2 {
    font-size: 2rem;
  }

  .desktop-nav li {
    margin-left: 15px;
  }

  .desktop-nav a {
    font-size: 12px;
    padding: 5px 3px;
  }

  .desktop-nav .dropdown-menu {
    min-width: 200px;
  }
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .footer-columns {
    flex-direction: column;
  }

  .hero-slider {
    height: 500px;
  }

  .hero-content h1, .heroooo h1 {
    font-size: 2rem;
  }

  .hero-content h2 {
    font-size: 1.5rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-nav-btn {
    padding: 10px 15px;
    font-size: 1.2rem;
  }

  .hero-prev-btn {
    left: 15px;
  }

  .hero-next-btn {
    right: 15px;
  }
  .heroooo-stats {
        gap: 30px;
    }

  .main-header {
    padding: 10px 0;
  }

  .logo {
    font-size: 18px;
  }
  .story-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .category-content {
    grid-template-columns: 1fr;
    gap: 2rem;
}

  /*for ministry */
  .ministry-header {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .ministry-tabs {
        flex-direction: column;
        align-items: center;
    }

    .tab-btn {
        width: 250px;
        justify-content: center;
    }

    .leaders-grid,
    .activities-grid,
    .age-groups-grid {
        grid-template-columns: 1fr;
    }

    .event-item {
        flex-direction: column;
        text-align: center;
    }

    .ministry-actions {
        flex-direction: column;
        gap: 15px;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
        margin: 5px 0;
    }
    /*end ministry*/

    /*projects*/

    .category-header h2 {
        font-size: 2rem;
        flex-direction: column;
        gap: 10px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-btn {
        width: 250px;
        justify-content: center;
    }

    .modal-content {
        margin: 10% auto;
        padding: 20px;
    }
    /*end of projects*/

    /*pastor*/
    .container-pastor {
                padding: 2rem 1rem;
            }

    /*contact*/
    .herooooo-title {
        font-size: 2.5rem;
    }

    .herooooo-quick-contact {
        flex-direction: column;
        align-items: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-card.main-contact {
        grid-column: span 1;
    }

    .schedule-grid {
        grid-template-columns: 1fr;
    }

    .location-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .form-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form {
        padding: 25px;
    }
    /*end of contacts*/


}

@media (max-width: 480px) {
  .hero-slider {
    height: 400px;
  }

  .hero-content h1, .heroooo h1 {
    font-size: 1.8rem;
  }

  .hero-content h2 {
    font-size: 1.3rem;
  }

  .hero-content .btn {
    padding: 12px 20px;
    font-size: 1rem;
  }
  
  .main-header {
    padding: 8px 0;
  }

  .logo {
    font-size: 16px;
  }

  .mobile-nav a {
    padding: 8px 15px;
    font-size: 13px;
  }

  .desktop-nav .dropdown-menu {
    min-width: 180px;
    left: -50px;
  }
  .heroooo p {
        font-size: 1.1rem;
    }

    .stat h3 {
        font-size: 2rem;
    }

    .modal-content {
        margin: 10% auto;
        padding: 20px;
    }

    .ministry-intro h2 {
        font-size: 2rem;
    }

    /*projects*/

     .projects-intro h2,
    .category-header h2 {
        font-size: 1.8rem;
    }
    .category-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    .detail-card {
        padding: 20px;
    }
    
    .detail-card h3 {
        font-size: 1.2rem;
    }
    

    .cta-section h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }

    .project-card {
        margin: 0 10px;
    }

    /*contacts*/
    .hero-title {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .contact-card {
        padding: 25px 20px;
    }

    .schedule-day {
        padding: 20px;
    }

    .contact-form {
        padding: 20px;
    }

    .modal-content {
        padding: 25px;
        margin: 15% auto;
    }
}
