/* ===== VARIABLES ===== */
:root {
  --color-primary: #2D6A4F;
  --color-primary-light: #40916C;
  --color-primary-dark: #1B4332;
  --color-accent: #C0764A;
  --color-accent-light: #D4956A;
  --color-white: #FFFFFF;
  --color-bg-alt: #F8F9FA;
  --color-text: #1A1A1A;
  --color-text-light: #6B7280;
  --color-border: #E5E7EB;
  --font-primary: 'Poppins', sans-serif;
  --transition: all 0.3s ease;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --radius: 12px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-primary);
  color: var(--color-text);
  background: var(--color-white);
  overflow-x: hidden;
}

::selection { background: var(--color-primary); color: var(--color-white); }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

.section-subtitle {
  color: var(--color-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

/* ===== BUTTONS ===== */
.btn {
  font-weight: 500;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  transition: var(--transition);
  font-size: 0.95rem;
}

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

.btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45, 106, 79, 0.3);
}

.btn-outline-primary {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

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

.btn-accent {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
}

.btn-accent:hover {
  background: var(--color-accent-light);
  border-color: var(--color-accent-light);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(192, 118, 74, 0.3);
}

/* ===== NAVBAR ===== */
.navbar {
  padding: 0.8rem 0;
  transition: var(--transition);
  background: transparent;
  z-index: 1030;
}

.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

.navbar .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-white);
}

.navbar.scrolled .navbar-brand {
  color: var(--color-primary-dark);
}

.navbar-brand img {
  height: 45px;
  width: auto;
}

.navbar .nav-link {
  color: rgba(255,255,255,0.9);
  font-weight: 400;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  transition: var(--transition);
  position: relative;
}

.navbar.scrolled .nav-link {
  color: var(--color-text);
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--color-white);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
  color: var(--color-primary);
}

.navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transition: var(--transition);
}

.navbar.scrolled .nav-link::after {
  background: var(--color-primary);
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
  transform: scaleX(1);
}

.navbar .dropdown-menu {
  border: none;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius);
  padding: 0.5rem;
  margin-top: 0.5rem;
}

.navbar .dropdown-item {
  border-radius: 8px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  transition: var(--transition);
}

.navbar .dropdown-item:hover {
  background: var(--color-bg-alt);
  color: var(--color-primary);
}

/* Language Toggle */
.lang-toggle {
  display: flex;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  overflow: hidden;
}

.navbar.scrolled .lang-toggle {
  border-color: var(--color-border);
}

.lang-btn {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.6);
  padding: 0.3rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-primary);
}

.navbar.scrolled .lang-btn {
  color: var(--color-text-light);
}

.lang-btn.active {
  background: var(--color-accent);
  color: var(--color-white);
}

.lang-btn:not(.active):hover {
  color: var(--color-white);
}

.navbar.scrolled .lang-btn:not(.active):hover {
  color: var(--color-primary);
}

/* Mobile lang toggle (outside collapse, next to hamburger) */
@media (max-width: 991.98px) {
  .lang-toggle.d-lg-none {
    display: flex;
    margin-right: 0.5rem;
  }
}

@media (min-width: 992px) {
  .lang-toggle.d-lg-none {
    display: none !important;
  }
}

/* ===== LIVE SECTION ===== */
.section-live {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  position: relative;
  overflow: hidden;
}

.section-live::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,0,0,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.section-live::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.live-icon {
  font-size: 7rem;
  color: #FF0000;
  line-height: 1;
  filter: drop-shadow(0 0 30px rgba(255,0,0,0.3));
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { filter: drop-shadow(0 0 20px rgba(255,0,0,0.3)); transform: scale(1); }
  50% { filter: drop-shadow(0 0 40px rgba(255,0,0,0.5)); transform: scale(1.05); }
}

.live-dot {
  width: 12px;
  height: 12px;
  background: #FF0000;
  border-radius: 50%;
  display: inline-block;
  animation: live-pulse 1.5s ease-in-out infinite;
}

@keyframes live-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255,0,0,0.5); }
  50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(255,0,0,0); }
}

.btn-live {
  display: inline-flex;
  align-items: center;
  background: #FF0000;
  color: var(--color-white);
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}

.btn-live:hover {
  background: #CC0000;
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255,0,0,0.35);
}

.section-live .text-white-50 {
  color: rgba(255,255,255,0.55) !important;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, #0D2B1F 100%);
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../assets/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.25;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(27, 67, 50, 0.7) 0%,
    rgba(45, 106, 79, 0.4) 50%,
    rgba(27, 67, 50, 0.8) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 1.5rem;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--color-white);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.hero-content h1 {
  color: var(--color-white);
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero-content .lead {
  color: rgba(255,255,255,0.85);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  margin-bottom: 2rem;
  line-height: 1.7;
}

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

.hero-buttons .btn-hero {
  padding: 0.9rem 2.5rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.btn-hero-primary {
  background: var(--color-accent);
  color: var(--color-white);
  border: none;
  border-radius: 50px;
  transition: var(--transition);
}

.btn-hero-primary:hover {
  background: var(--color-accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(192, 118, 74, 0.35);
  color: var(--color-white);
}

.btn-hero-outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 50px;
  transition: var(--transition);
}

.btn-hero-outline:hover {
  border-color: var(--color-white);
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
  color: var(--color-white);
}

/* ===== SECTIONS ===== */
.section-padding {
  padding: 5rem 0;
}

.section-bg-alt {
  background: var(--color-bg-alt);
}

/* ===== ABOUT ===== */
.about-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: fill;
  border-radius: var(--radius);
}

.about-image::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--color-primary), transparent);
  opacity: 0.1;
}

.about-content h2 {
  margin-bottom: 1.5rem;
}

.about-content p {
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* ===== MISSION / VISION ===== */
.mv-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--transition);
  height: 100%;
}

.mv-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: transparent;
}

.mv-icon {
  width: 70px;
  height: 70px;
  background: var(--color-bg-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.8rem;
  color: var(--color-primary);
  transition: var(--transition);
}

.mv-card:hover .mv-icon {
  background: var(--color-primary);
  color: var(--color-white);
}

.mv-card h3 {
  margin-bottom: 1rem;
  color: var(--color-primary-dark);
}

.mv-card p {
  color: var(--color-text-light);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ===== PROJECTS ===== */
.project-card {
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  border: 1px solid var(--color-border);
}

.project-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.project-card-img {
  height: 220px;
  overflow: hidden;
}

.project-card-img img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  transition: var(--transition);
}

.project-card:hover .project-card-img img {
  transform: scale(1.05);
}

.project-card-body {
  padding: 1.5rem;
}

.project-card-body .badge {
  font-weight: 500;
  padding: 0.35rem 0.8rem;
  font-size: 0.75rem;
  margin-bottom: 0.75rem;
}

.badge-active {
  background: var(--color-primary);
  color: var(--color-white);
}

.badge-past {
  background: var(--color-bg-alt);
  color: var(--color-text-light);
  border: 1px solid var(--color-border);
}

.project-card-body h5 {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.project-card-body p {
  color: var(--color-text-light);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ===== PASTORS ===== */
.pastor-card {
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
  border: 1px solid var(--color-border);
}

.pastor-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.pastor-img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin: 2rem auto 1rem;
  border: 4px solid var(--color-bg-alt);
  transition: var(--transition);
}

.pastor-card:hover .pastor-img {
  border-color: var(--color-primary);
}

.pastor-card-body {
  padding: 0 1.5rem 2rem;
}

.pastor-card-body h5 {
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.pastor-role {
  color: var(--color-primary);
  font-weight: 500;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.pastor-card-body p {
  color: var(--color-text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== CONTACT ===== */
.contact-info-card {
  background: var(--color-primary-dark);
  border-radius: var(--radius);
  padding: 2.5rem;
  color: var(--color-white);
  height: 100%;
}

.contact-info-card h4 {
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item-icon {
  width: 45px;
  height: 45px;
  min-width: 45px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.contact-item h6 {
  margin-bottom: 0.15rem;
  font-weight: 500;
}

.contact-item p {
  font-size: 0.85rem;
  opacity: 0.85;
  margin-bottom: 0;
  line-height: 1.5;
}

.contact-form {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.contact-form .form-control {
  border-radius: 10px;
  border: 1px solid var(--color-border);
  padding: 0.75rem 1rem;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  transition: var(--transition);
}

.contact-form .form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form label {
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--color-text);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--color-primary-dark);
  color: rgba(255,255,255,0.85);
  padding: 4rem 0 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.footer-brand img {
  height: 40px;
  width: auto;
}

.footer p {
  font-size: 0.9rem;
  line-height: 1.7;
  opacity: 0.8;
}

.footer h5 {
  color: var(--color-white);
  margin-bottom: 1.25rem;
  font-weight: 600;
  font-size: 1.1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--color-accent);
  padding-left: 4px;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: var(--transition);
  font-size: 1rem;
}

.footer-social a:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  margin-top: 3rem;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* ===== FEATURED PROJECT CAROUSEL ===== */
#featuredProject {
  box-shadow: var(--shadow-md);
  border-radius: var(--radius);
  overflow: hidden;
}

#featuredProject .carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 5px;
  border: 2px solid var(--color-white);
  opacity: 0.6;
}

#featuredProject .carousel-indicators button.active {
  opacity: 1;
  background: var(--color-accent);
  border-color: var(--color-accent);
}

#featuredProject .carousel-control-prev-icon,
#featuredProject .carousel-control-next-icon {
  width: 45px;
  height: 45px;
  background-color: rgba(0,0,0,0.3);
  background-size: 50%;
  border-radius: 50%;
  backdrop-filter: blur(4px);
}

#featuredProject .carousel-item img {
  height: 450px;
  object-fit: fill;
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px) {
  .navbar {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
  }

  .navbar .navbar-brand {
    color: var(--color-primary-dark);
  }

  .navbar-toggler {
    border-color: var(--color-border);
  }

  .navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(26, 26, 26, 0.75)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }

  .navbar .nav-link {
    color: var(--color-text);
    padding: 0.75rem 0;
  }

  .navbar .nav-link::after {
    background: var(--color-primary);
  }

  .navbar .dropdown-menu {
    box-shadow: none;
    border: none;
    padding-left: 1rem;
  }

  .navbar .dropdown-item {
    font-size: 0.9rem;
  }

  .lang-toggle {
    border-color: var(--color-border);
    margin-top: 0.75rem;
    align-self: flex-start;
  }

  .lang-btn {
    color: var(--color-text-light);
  }

  .lang-btn.active {
    background: var(--color-accent);
    color: var(--color-white);
  }

  .lang-btn:not(.active):hover {
    color: var(--color-primary);
  }

  .section-padding {
    padding: 3.5rem 0;
  }

  .about-image img {
    height: 280px;
  }

  .contact-info-card {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .hero-content h1 {
    font-size: 2rem;
  }

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

  .mv-card {
    margin-bottom: 1rem;
  }

  .project-card {
    margin-bottom: 1rem;
  }

  .pastor-card {
    margin-bottom: 1rem;
  }
}

/* ===== MINISTRIES PAGE ===== */
.ministry-hero {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, #0D2B1F 100%);
}

.ministry-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(27,67,50,0.6), rgba(27,67,50,0.8));
  z-index: 1;
}

.ministry-hero .hero-content {
  position: relative;
  z-index: 2;
}

.ministry-hero .hero-content h1 {
  color: var(--color-white);
  font-weight: 700;
}

.ministry-hero .hero-content p {
  color: rgba(255,255,255,0.8);
}

.ministry-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}

.ministry-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.ministry-card-header {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.ministry-card-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.ministry-card:hover .ministry-card-header img {
  transform: scale(1.05);
}

.ministry-card-header .ministry-icon-overlay {
  position: absolute;
  bottom: -25px;
  left: 1.5rem;
  width: 55px;
  height: 55px;
  background: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--color-white);
  border: 3px solid var(--color-white);
  box-shadow: var(--shadow-sm);
}

.ministry-card-body {
  padding: 2rem 1.5rem 1.5rem;
}

.ministry-card-body h4 {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-primary-dark);
}

.ministry-card-body p {
  color: var(--color-text-light);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.ministry-schedule {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-accent);
  font-weight: 500;
}

.ministry-schedule i {
  font-size: 1rem;
}

/* ===== MINISTRY HORIZONTAL SECTIONS ===== */
.ministry-hero-icon {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 300px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: var(--color-white);
  margin: 0 auto;
  transition: var(--transition);
}

.ministry-hero-icon:hover {
  transform: scale(1.03) rotate(-2deg);
}

.ministry-hero-icon img.ministry-img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

#pastoral h2,
#juvenil h2,
#alabanza h2,
#huejeres h2,
#obra-social h2 {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  color: var(--color-primary-dark);
}

#pastoral p,
#juvenil p,
#alabanza p,
#huejeres p,
#obra-social p {
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

#pastoral .section-subtitle,
#juvenil .section-subtitle,
#alabanza .section-subtitle,
#huejeres .section-subtitle,
#obra-social .section-subtitle {
  font-size: 0.9rem;
}

/* ===== PAGE HEADER ===== */
.page-header {
  padding: 8rem 0 3rem;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, #0D2B1F 100%);
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(27,67,50,0.6), rgba(27,67,50,0.8));
  z-index: 1;
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-header .section-subtitle {
  color: var(--color-accent-light);
}

.page-header h1 {
  font-weight: 700;
  color: var(--color-white);
}

.page-header .section-desc {
  color: rgba(255,255,255,0.75);
}

/* ===== PROJECTS PAGE ===== */
.project-full-card {
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.project-full-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.project-full-card .row {
  align-items: center;
}

.project-full-card-img {
  height: 280px;
  overflow: hidden;
}

.project-full-card-img img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  transition: var(--transition);
}

.project-full-card:hover .project-full-card-img img {
  transform: scale(1.03);
}

.project-full-card-body {
  padding: 2rem;
}

.project-full-card-body h3 {
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-bottom: 0.75rem;
}

.project-full-card-body p {
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.project-full-card-body .project-meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.project-full-card-body .project-meta span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.project-full-card-body .project-meta i {
  color: var(--color-primary);
}

@media (max-width: 767.98px) {
  .project-full-card-img {
    height: 200px;
  }

  .project-full-card-body {
    padding: 1.5rem;
  }

  .ministry-card-header {
    height: 140px;
  }
}

/* ===== VIVO PAGE ===== */
.vivo-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  overflow: hidden;
  padding: 1.25rem;
}

.vivo-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.25rem 0.75rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.vivo-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--color-white);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.vivo-embed-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: rgba(0,0,0,0.3);
  border: 2px dashed rgba(255,255,255,0.12);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.vivo-embed-placeholder:hover {
  border-color: rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.4);
}

.vivo-embed-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(255,0,0,0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(255,255,255,0.03) 0%, transparent 60%);
  pointer-events: none;
}

.vivo-embed-overlay {
  text-align: center;
  color: rgba(255,255,255,0.5);
  padding: 2rem;
  position: relative;
  z-index: 1;
}

.vivo-embed-overlay i {
  font-size: 4.5rem;
  color: rgba(255,255,255,0.15);
  display: block;
  margin-bottom: 1rem;
  transition: var(--transition);
}

.vivo-embed-placeholder:hover .vivo-embed-overlay i {
  color: rgba(255,255,255,0.3);
  transform: scale(1.05);
}

.vivo-embed-overlay span {
  display: block;
  font-size: 0.88rem;
  max-width: 380px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Ready state: when iframe is embedded */
.vivo-embed-placeholder.ready {
  border: none;
  background: #000;
}

.vivo-embed-placeholder.ready .vivo-embed-overlay {
  display: none;
}

/* ===== SPLASH SCREEN ===== */
.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: linear-gradient(160deg, #1a3a2b 0%, #2d6a4f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.splash-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

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

.splash-logo {
  width: 130px;
  height: auto;
  margin-bottom: 1.5rem;
  animation: splashPulse 2s ease-in-out infinite;
}

.splash-spinner {
  width: 38px;
  height: 38px;
  margin: 0 auto 1rem;
  border: 3px solid rgba(255, 255, 255, 0.25);
  border-top-color: #fff;
  border-radius: 50%;
  animation: splashSpin 0.8s linear infinite;
}

.splash-text {
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  margin: 0;
}

@keyframes splashSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes splashPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.06); opacity: 0.8; }
}
