

/* Home page header */
/* ================= GLOBAL ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

html {
  scroll-behavior: smooth;
}
html, body {
    width: 100%;
    overflow-x: hidden;
}


body {
  background: #f8fafc;
}

/* ================= NAVBAR ================= */
.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  padding: 15px 0;
  z-index: 1000;
  transition: all 0.4s ease;
  backdrop-filter: blur(12px);
  background: rgba(15, 23, 42, 0.6);
}

.navbar.scrolled {
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

.navbar.hide {
  transform: translateY(-100%);
}

/* ================= CONTAINER ================= */
.navbar-container {
  width: 92%;
  max-width: 1300px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ================= LOGO ================= */
.logo1 img {
  width: 70px;
}

/* ================= NAV LINKS ================= */
.nav-links ul {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
  flex-wrap: wrap;
}

.nav-links ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  position: relative;
  transition: 0.3s ease;
}

.nav-links ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: #3b82f6;
  transition: 0.4s ease;
}

.nav-links ul li a:hover::after {
  width: 100%;
}

.nav-links ul li a:hover {
  color: #3b82f6;
}

/* ================= BUTTONS ================= */
.login-button,
.signup-button {
  padding: 8px 18px;
  border-radius: 30px;
  font-weight: 600;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

/* ================= HAMBURGER ================= */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger .bar {
  width: 25px;
  height: 3px;
  background: #fff;
  transition: all 0.3s ease;
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {

  /* Remove navbar background completely */
  .navbar {
    background: none !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    padding: 10px 0;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    right: 15px;
    background: rgba(15, 23, 42, 0.95); /* keep menu background */
    padding: 20px;
    border-radius: 12px;
    flex-direction: column;
    gap: 10px;
    width: 200px;
  }

  .nav-links.show {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .nav-links ul {
    flex-direction: column;
    gap: 10px;
  }

  .nav-links ul li a {
    font-size: 16px;
  }

  .login-button,
  .signup-button {
    font-size: 14px;
    padding: 6px 14px;
  }
}




/* ================= HERO SECTION ================= */
.hero {
  position: relative;
  width: 100vw;          
  min-height: 100vh;
  margin-left: calc(-50vw + 50%);  
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ================= HERO BACKGROUND WITH GRADIENT ================= */
.hero::before {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: slideshow 25s infinite, zoomEffect 25s infinite;
  z-index: -2;
}

.hero::after {
  background: linear-gradient(
    rgba(0,0,0,0.55),
    rgba(0,0,0,0.65)
  );
  z-index: -1;
}

/* ================= HERO CONTAINER ================= */
.hero-container {
  width: 90%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

/* ================= DARKER GLASSMORPHISM CARD ================= */
.glass-card {
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 60px 30px 80px 30px; /* top right bottom left */
    max-width: 1100px;
    width: 100%;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    text-align: center;
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Optional hover effect for premium feel */
.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}

/* ================= HERO TEXT ================= */
.tex-boxx {
  text-align: center;
}

.tex-boxx h1 {
  font-size: 45px;
  margin-bottom: 20px;
}

.tex-boxx p {
  font-size: 20px;
  line-height: 1.7;
  margin-bottom: 35px;
  color: #fff;
  text-align: center;
}

.hero-btn {
    padding: 14px 40px;
    border-radius: 50px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: background 0.3s;
    margin-top: 15px; /* space between scripture and button */
    display: inline-block; /* ensures margin works properly */
}

.hero-btn:hover {
  background: #0A2940;
}

/* ================= SLIDESHOW WITH LINEAR GRADIENT ================= */
@keyframes slideshow {
  0% { background-image: linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.25)), url("../Css/building/Building1.jpeg"); }
  20% { background-image: linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.25)), url("../Css/building/building2.jpg"); }
  40% { background-image: linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.25)), url("../Css/building/building3.jpg"); }
  60% { background-image: linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.25)), url("../Css/building/building4.jpg"); }
  80% { background-image: linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.25)), url("../Css/building/building5.jpg"); }
  100% { background-image: linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.25)), url("../Css/building/parking.jpg"); }
}

@keyframes zoomEffect {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* ================= HAMBURGER ================= */
/* ================= PREMIUM ACTIVE NAV LINK ================= */



/* Animated gradient underline */
.nav-links ul li a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
  border-radius: 10px;
  transition: all 0.4s ease;
  transform: translateX(-50%);
}

/* Hover effect */
.nav-links ul li a:hover {
  color: #3b82f6;
  transform: translateY(-2px);
}

.nav-links ul li a:hover::after {
  width: 70%;
}

/* 🔥 ACTIVE STATE */
.nav-links ul li a.active {
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  box-shadow: 
      0 4px 15px rgba(37, 99, 235, 0.4),
      0 0 12px rgba(59, 130, 246, 0.5);
  transform: translateY(-2px);
}

/* Active underline full width */
.nav-links ul li a.active::after {
  width: 80%;
}

.hamburger {
  display: none;
  cursor: pointer;
  z-index: 2000;
}

.bar {
  width: 25px;
  height: 3px;
  background: #fff;
  margin: 5px;
  transition: 0.3s;
}

.hamburger.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}
.hamburger.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}


/* ================= FADE IN ON LOAD ================= */

.fade-in-divine {
  opacity: 0;
  transform: translateY(30px);
  animation: divineFadeIn 2s ease forwards;
  animation-delay: 0.5s;
}

@keyframes divineFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= SHIMMERING LIGHT BEAM ================= */

.light-beam {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 200px;
  background: radial-gradient(
    ellipse at center,
    rgba(255,215,0,0.6) 0%,
    rgba(255,215,0,0.25) 40%,
    transparent 70%
  );
  filter: blur(30px);
  z-index: 0;
  animation: shimmerBeam 6s ease-in-out infinite;
}

@keyframes shimmerBeam {
  0% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.15); }
  100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
}

/* ================= GOLD CROSS WITH BELL-LIKE GLOW ================= */
/* ================= GOLD BIBLE WITH HOLY GLOW ================= */

.bible-circle {
  position: relative;
  z-index: 1;
  width: 100px;
  height: 100px;
  margin: auto;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffd700, #b8860b);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 25px rgba(255, 215, 0, 0.8),
    0 0 60px rgba(255, 215, 0, 0.5);
  animation: holyPulse 4s ease-in-out infinite;
}

.bible-circle i {
  font-size: 42px;
  color: #fff8dc;
}

@keyframes holyPulse {
  0% {
    transform: scale(1);
    box-shadow:
      0 0 25px rgba(255, 215, 0, 0.8),
      0 0 60px rgba(255, 215, 0, 0.5);
  }
  50% {
    transform: scale(1.1);
    box-shadow:
      0 0 40px rgba(255, 215, 0, 1),
      0 0 90px rgba(255, 215, 0, 0.7);
  }
  100% {
    transform: scale(1);
  }
}

/* ================= SCRIPTURE TEXT ================= */

.scripture-text {
  margin-top: 18px;
  font-size: 16px;
  letter-spacing: 1px;
  color: #ffd700;
  font-weight: 600;
  text-shadow: 0 0 10px rgba(255,215,0,0.6);
}

/* Animated verse reveal */
.scripture-verse {
  margin-top: 10px;
  font-size: 15px;
  color: #f5deb3;
  font-style: italic;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  animation: revealVerse 2.5s ease forwards;
  animation-delay: 1.5s;
}

@keyframes revealVerse {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= RESPONSIVE ================= */

@media (max-width: 950px) {
  .bible-circle {
    width: 75px;
    height: 75px;
  }

  .bible-circle i {
    font-size: 30px;
  }

  .scripture-verse {
    font-size: 14px;
  }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 950px) {

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 260px;
    background: rgba(15, 23, 42, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
  }

  .nav-links ul {
    flex-direction: column;
    gap: 25px;
  }

  .nav-links.show {
    right: 0;
  }

  .hamburger {
    display: block;
  }

  .tex-boxx h1 {
    font-size: 32px;
  }

  .tex-boxx p {
    font-size: 16px;
  }

  .glass-card {
    padding: 30px 20px;
  }
}
/* End of nav-links*/





/* ================= BIBLE VERSE SECTION ================= */

.bible-verse {
  margin: 40px 0;
  padding: 40px 20px;
  background: #f4f4f4; /* New section background */
  text-align: center;
}

.bible-verse h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #000; /* Title black */
}

/* Verse Card */
#daily-verse {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  margin: 0 auto;
  padding: 25px;
  max-width: 700px;
  transition: transform 0.3s ease;
}

#daily-verse:hover {
  transform: translateY(-5px);
}

/* Verse text */
#daily-verse p {
  margin: 12px 0;
  font-size: 1.1rem;
  color: #000; /* All text black */
  line-height: 1.6;
}

/* Verse reference */
#daily-verse strong {
  color: #000; /* Also black */
  font-weight: 600;
}


#daily-verse p:last-child::after {
  content: "\f647";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-left: 0.5rem;

  /* Responsive sizing */
  font-size: clamp(0.9rem, 2vw, 1.2rem);

  color: #000;
  display: inline-block;
  vertical-align: middle;

  opacity: 0;
  animation: bibleFade 1.2s ease forwards;
  animation-delay: 0.8s;
}

@keyframes bibleFade {
  to {
    opacity: 1;
  }
}
/* ================= RESPONSIVE ================= */

/* Tablets */
@media (max-width: 768px) {
  .bible-verse {
    padding: 30px 15px;
  }

  .bible-verse h2 {
    font-size: 22px;
  }

  #daily-verse {
    padding: 20px;
  }

  #daily-verse p {
    font-size: 1rem;
  }
}

/* Small Phones */
@media (max-width: 480px) {
  .bible-verse h2 {
    font-size: 20px;
  }

  #daily-verse {
    padding: 18px;
  }

  #daily-verse p {
    font-size: 0.95rem;
  }
}






/* ================= CHOOSE US PREMIUM SECTION ================= */

.choose-us {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f5f7fa, #e4ecf7);
  text-align: center;
}

.chooseus-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  max-width: 1200px;
  margin: 0 auto 50px auto;
}

/* Glass Card */
.choose-card {
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  padding: 35px 25px;
  border-left: 4px solid #000;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;

  /* Scroll animation initial state */
  opacity: 0;
  transform: translateY(50px);
}

/* Visible when scrolled into view */
.choose-card.show {
  opacity: 1;
  transform: translateY(0);
}

/* Hover */
.choose-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
}

/* Icons */
.icon-wrapper {
  font-size: 32px;
  margin-bottom: 15px;
  color: #000;
  transition: transform 0.3s ease;
}

.choose-card:hover .icon-wrapper {
  transform: scale(1.2);
}

/* Titles */
.choose-card h2 {
  font-size: 22px;
  color: #000;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

/* Animated underline */
.choose-card h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: #000;
  transition: width 0.4s ease;
}

.choose-card:hover h2::after {
  width: 100%;
}

/* Paragraph */
.choose-card p {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  text-align: left;
}

/* Button */
.read-more-btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 8px;
  background: #000;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  transition: 0.3s ease;
}

.read-more-btn:hover {
  background: #333;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {
  .chooseus-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .chooseus-container {
    grid-template-columns: 1fr;
  }

  .choose-card {
    padding: 25px 20px;
  }

  .choose-card h2 {
    font-size: 20px;
  }

  .choose-card p {
    font-size: 15px;
    text-align: left;
  }
}





/* ================= Rector Section ================= */
.rector-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 8%;
  gap: 60px;
  background: #ffffff;
  flex-wrap: wrap;
  position: relative;
}

/* ================= Rector Image ================= */
.rector-image {
  flex: 1 1 320px;
  max-width: 420px;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.rector-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* Subtle overlay */
.rector-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.05),
    rgba(0, 0, 0, 0.15)
  );
  pointer-events: none;
}

/* Hover zoom */
.rector-image:hover img {
  transform: scale(1.05);
}

/* ================= Rector Text ================= */
.rector-text {
  flex: 2 1 500px;
  max-width: 700px;
}

/* Clean, non-overlapping heading */
.rector-text h2 {
  font-size: 26px;          /* Reduced size */
  font-weight: 700;
  margin-bottom: 25px;
  color: #1f2937;
  line-height: 1.4;

  /* Elegant church accent */
  border-left: 5px solid #b89b5e;
  padding-left: 18px;
}

/* Paragraph styling */
.rector-text p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #4b5563;
}

/* Style the rector name differently (last paragraph) */
.rector-text p:last-child {
  font-weight: 700;
  color: #111827;
  margin-top: 30px;
  letter-spacing: 1px;
}

/* ================= Responsive ================= */
@media (max-width: 900px) {
  .rector-section {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .rector-text {
    max-width: 100%;
  }

  .rector-text h2 {
    font-size: 22px;
    border-left: none;
    border-bottom: 3px solid #b89b5e;
    display: inline-block;
    padding-left: 0;
    padding-bottom: 10px;
  }

  .rector-image {
    max-width: 320px;
  }
}

/* services */
.services-section {
    text-align: center;
    padding: 50px 20px;
    background-color: #fff;
    position: relative;
}

/* Adjust image height with gradient overlay */
.services-image-container {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
}

/* The image */
.services-image {
    width: 100%;
    max-height: 400px; /* Reduced height */
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

/* Gradient overlay on the container */
.services-image-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.2)); /* darker top, lighter bottom */
    pointer-events: none; /* so it doesn’t block clicks */
}
/* Overlay service cards on bottom half of the image */
.services-container {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(50%);
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
    padding: 0 20px;
}

.service-card {
    background-color: #f3f4f6; /* Light soft background */
    border-radius: 10px;
    padding: 10px;
    width: 300px;
    height: 370px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    text-align: center;
    margin-bottom: 30%;
}

.service-card:hover {
    transform: scale(1.05);
}

.service-icon {
    font-size: 40px;
    margin-bottom: 15px;
    color: #2563eb; /* Nice blue tone */
}

.service-text {
    font-size: 1.2em;
    margin: 10px 0;
    font-weight: bold;
}

.services-title{
  color: #000;
  font-size: 35px;
}

.service-description {
    color: #000;
    font-size: 0.95em;
    line-height: 1.5;
    text-align: left;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .services-image-container {
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .services-container {
        position: static;
        transform: none;
        flex-direction: column;
        align-items: center;
        margin-top: -60px; /* slight overlap effect */
    }

    .service-card {
        width: 90%;
    }
}
  
 




/* Section styling */
.history-section {
    padding: 50px 20px;
    background-color: #fff;
    text-align: center;
}

.history-title {
    font-size: 2.2em;
    font-weight: bold;
    color: #2563eb; /* bold colored title */
    margin-bottom: 30px;
}

/* Scrollable slider */
.history-slider {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 10px;
    scroll-behavior: smooth;
}

.history-slider::-webkit-scrollbar {
    height: 8px;
}

.history-slider::-webkit-scrollbar-thumb {
    background-color: #2563eb;
    border-radius: 4px;
}

/* Individual history items */
.history-item {
    flex: 0 0 300px; /* fixed width per item */
    height: 400px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform 0.3s;
}

.history-item:hover {
    transform: scale(1.05);
}

.infoo {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 1rem;
    background: rgba(0,0,0,0.5);
    color: #fff;
    border-radius: 0 0 10px 10px;
}

.infoo h3 {
    margin: 0 0 5px;
    font-weight: bold;
    font-size: 1.1em;
}

.read-morea {
    color: #0ee414;
    text-decoration: underline;
    font-size: 0.95em;
}

/* Centered button at bottom */
.history-btn-container {
    margin-top: 30px;
}

.read-more-btn {
    background-color: #2563eb;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background 0.3s;
}

.read-more-btn:hover {
    background-color: #1e40af;
}

/* Responsive design */
@media (max-width: 1024px) {
    .history-item {
        flex: 0 0 250px;
        height: 350px;
    }
}

@media (max-width: 768px) {
    .history-item {
        flex: 0 0 200px;
        height: 300px;
    }
}

@media (max-width: 480px) {
    .history-item {
        flex: 0 0 180px;
        height: 250px;
    }
}



/* History */
/* Section styling */
.history-section {
    padding: 50px 20px;
    background-color: #fff;
    text-align: center;
    position: relative; /* Ensure title is on top */
}

.history-title {
    font-size: 2.2em;
    font-weight: bold;
    color: #000; /* Bold colored title */
    margin-bottom: 40px; /* space between title and slider */
    display: block; /* Ensure it renders as a block element */
}

/* Scrollable slider with snap */
.history-slider {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 10px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    margin-top: 0; /* Ensure no overlap with title */
}

.history-slider::-webkit-scrollbar {
    height: 8px;
}

.history-slider::-webkit-scrollbar-thumb {
    background-color: #2563eb;
    border-radius: 4px;
}

/* Individual history items */
.history-item {
    flex: 0 0 300px; /* fixed width per item */
    height: 400px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform 0.3s;
    scroll-snap-align: start; /* Snap position */
}

.history-item:hover {
    transform: scale(1.05);
}

.infoo {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 1rem;
    background: rgba(0,0,0,0.5);
    color: #fff;
    border-radius: 0 0 10px 10px;
}

.infoo h3 {
    margin: 0 0 5px;
    font-weight: bold;
    font-size: 1.1em;
}

.read-morea {
    color: #0ee414;
    text-decoration: underline;
    font-size: 0.95em;
}

/* Centered button at bottom */
.history-btn-container {
    margin-top: 30px;
}

.read-more-btn {
    background-color: #2563eb;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background 0.3s;
}

.read-more-btn:hover {
    background-color: #1e40af;
}

/* Responsive design */
@media (max-width: 1024px) {
    .history-item {
        flex: 0 0 250px;
        height: 350px;
    }
}

@media (max-width: 768px) {
    .history-item {
        flex: 0 0 200px;
        height: 300px;
    }
}

@media (max-width: 480px) {
    .history-item {
        flex: 0 0 180px;
        height: 250px;
    }
}


/* ================= CHOIR SECTION ================= */
.choir-section {
  padding: 80px 8%;
  background: #f9fafc;
}

.choir-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

/* ================= SLIDER ================= */
.choir-slider {
  position: relative;
  width: 100%;              /* force full width */
  max-width: 550px;
  height: 400px;
  overflow: hidden;
  border-radius: 12px;
  flex-shrink: 0;           /* PREVENT shrinking */
}

/* Slides */
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

/* Image */
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Text Overlay */
.slide-text {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: #fff;
}

.slide-text h3 {
  margin: 0;
  font-size: 22px;
}

/* ================= RIGHT CONTENT ================= */
.choir-content {
  flex: 1;
  min-width: 280px;
}

.choir-content h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #000;
}

.choir-content p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #444;
  text-align: left;
}

/* Button */
.choir-btn {
  display: inline-block;
  padding: 12px 28px;
  background: blue;
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  transition: 0.3s;
}

.choir-btn:hover {
  background: #162d66;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  .choir-container {
    flex-direction: column;
    text-align: center;
  }
  .choir-content p{
    text-align: left;
  }

  .choir-slider {
    max-width: 100%;
    height: 300px;
  }
}

@media (max-width: 480px) {
  .choir-slider {
    height: 250px;
  }
}





/* ================= LANDING SECTION ================= */
.landing-section {
  position: relative;
  background: linear-gradient(135deg, #1e3a8a, #0f172a);
  padding: 120px 8%;
  color: #fff;
  overflow: hidden;
}

/* LEFT SIDE BACKGROUND IMAGE */
.content-wrapper {
  flex: 1;
  min-width: 300px;
  
  padding: 40px;
  border-radius: 20px;
  position: relative;
}

.content-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  border-radius: 20px;
}

.content-wrapper h1,
.content-wrapper p,
.content-wrapper .cta-button {
  position: relative;
  z-index: 2;
}

.content-wrapper h1 {
  font-size: 38px;
  margin-bottom: 20px;
}

.content-wrapper p {
  margin-bottom: 30px;
  line-height: 1.6;
  color: white;
}

/* CTA BUTTON */
.cta-button {
  display: inline-block;
  background: blue;
  color: #000;
  padding: 14px 35px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}

.cta-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(250,204,21,0.4);
}

/* FLEX CONTAINER */
.landing-container {
  display: flex;
  gap: 60px;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

/* ================= NEWSLETTER ================= */
.newsletter-box {
  flex: 1;
  min-width: 320px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(15px);
  padding: 50px 40px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 0 25px rgba(255,255,255,0.1);
  transition: 0.4s ease;
}

/* Glowing border on hover */
.newsletter-box:hover {
  box-shadow: 0 0 40px rgba(250,204,21,0.6);
}

/* Logo */
.form-logo {
  width: 75px;
  margin-bottom: 15px;
}

/* Floating Label */
.input-group {
  position: relative;
  margin-bottom: 30px;
}

.input-group input {
  width: 100%;
  padding: 14px 10px;
  background: transparent;
  border: none;
  border-bottom: 2px solid #ccc;
  color: #fff;
  font-size: 16px;
  outline: none;
}

.input-group label {
  position: absolute;
  left: 0;
  top: 14px;
  color: #ccc;
  transition: 0.3s;
  pointer-events: none;
}

/* Float effect */
.input-group input:focus + label,
.input-group input:valid + label {
  top: -10px;
  font-size: 12px;
  color:blue;
}

/* SUBSCRIBE BUTTON */
.subscribe-btn {
  width: 50%;
  padding: 12px;
  border-radius: 30px;
  border: none;
  background: blue;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  display: block;
  margin: 0 auto;
}

.subscribe-btn:hover {
  background: rgb(109, 109, 218);
  transform: scale(1.05);
}

/* SUCCESS MESSAGE */
.success-message {
  display: none;
  margin-top: 15px;
  color: #4ade80;
  font-weight: bold;
  animation: fadeIn 0.6s ease forwards;
}

/* ================= ANIMATIONS ================= */
@keyframes fadeIn {
  from {opacity:0; transform:translateY(10px);}
  to {opacity:1; transform:translateY(0);}
}

/* Animated Shapes */
.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  animation: float 10s infinite ease-in-out;
}

.shape1 {
  width: 200px;
  height: 200px;
  background: #facc15;
  top: -50px;
  right: -50px;
}

.shape2 {
  width: 150px;
  height: 150px;
  background: #ffffff;
  bottom: -40px;
  left: -40px;
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0); }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  .landing-container {
    flex-direction: column;
  }

  .subscribe-btn {
    width: 70%;
  }
}



/* ================= PAGE BACKGROUND ================= */

/* ================= GLOBAL ================= */
body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(-45deg, #eef2ff, #f3f4f6, #e0e7ff, #f9fafb);
    background-size: 400% 400%;
    animation: gradientMove 12s ease infinite;
}

/* Animated Gradient Background */
@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ================= HERO CONTAINER ================= */
.containery {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1300px;
    margin: 120px auto;
    padding: 80px;
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.15);
    overflow: visible;
}

/* ================= IMAGE SECTION ================= */
.image-containery {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

/* Glow Behind Image */
.image-containery::before {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(99,102,241,0.4), transparent 70%);
    border-radius: 50%;
    z-index: 0;
    animation: glowPulse 4s ease-in-out infinite;
}

/* Glow Animation */
@keyframes glowPulse {
    0% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 1; }
    100% { transform: scale(1); opacity: 0.6; }
}

/* Floating Image */
@keyframes floatImage {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.image-containery img {
    position: relative;
    width: 85%;
    max-width: 500px;
    border-radius: 30px;
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.25);
    animation: floatImage 6s ease-in-out infinite;
    z-index: 2;
}

/* ================= CONTENT ================= */
.contenty {
    flex: 1.3;
    padding-left: 80px;
    animation: fadeUp 1s ease forwards;
    opacity: 0;
}

/* Scroll Reveal Animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Headings */
.contenty h1 {
    font-size: 52px;
    margin-bottom: 10px;
    color: #111827;
}

.subtitle {
    font-size: 22px;
    font-weight: 600;
    color: #6366f1;
    margin-bottom: 30px;
}

.description {
    line-height: 1.9;
    color: #374151;
    margin-bottom: 20px;
    font-size: 18px;
}

/* ================= SERVICES ================= */
.services-title {
    margin-top: 50px;
    font-size: 26px;
    font-weight: 700;
    position: relative;
}

.services-title::after {
    content: "";
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #6366f1, #111827);
    display: block;
    margin-top: 8px;
    border-radius: 2px;
}

/* Service Circles */
.circlesy {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.circle1 {
    width: 120px;  /* reduced */
    height: 120px; /* reduced */
    border-radius: 50%;
    background: linear-gradient(145deg, #38bdf8, #1e293b);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 13px;
    color: white;
    text-decoration: none;
    transition: 0.4s ease;
}

.circle1:hover {
    transform: translateY(-8px) scale(1.05);
}

/* ================= CTA BUTTON ================= */
.get-in-touch-container {
    margin-top: 60px;
}

.get-in-touch {
    display: inline-block;
    padding: 14px 45px; /* reduced */
    margin-top: 40px;
    border-radius: 50px;
    background: linear-gradient(135deg, #38bdf8, #1e293b);
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: 0.4s ease;
}

.get-in-touch:hover {
    transform: translateY(-6px);
}



/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
    .containery {
        flex-direction: column;
        padding: 50px 30px;
        text-align: center;
    }

    .contenty {
        padding-left: 0;
        margin-top: 40px;
    }

    .circlesy {
        justify-content: center;
    }

    .contenty h1 {
        font-size: 38px;
    }

    .description {
        font-size: 16px;
    }
}

@media (max-width: 500px) {
    .circle1 {
        width: 120px;
        height: 120px;
        font-size: 13px;
    }

    .get-in-touch {
        padding: 14px 40px;
        font-size: 14px;
    }
}

/* ================= SERVICES SECTION ================= */

.services {
  padding: 80px 8%;
  background: #f9fbfd;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  color: #2c4964;
}

/* FLEX WRAPPER */
.services-wrapper {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

/* CARD */
.services .icon-box {
  flex: 1 1 300px;   /* makes it responsive */
  max-width: 380px;
  text-align: center;
  border: 1px solid #d5e1ed;
  padding: 60px 25px;
  transition: all 0.3s ease;
  border-radius: 12px;
  background: #fff;
}

/* ICON */
.services .icon-box .icon {
  margin: 0 auto 20px;
  width: 64px;
  height: 64px;
  background: #038b0e;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.services .icon-box .icon i {
  color: #fff;
  font-size: 28px;
}

/* TEXT */
.services .icon-box h4 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 22px;
  color: #2c4964;
}

.services .icon-box p {
  line-height: 1.6;
  font-size: 15px;
  color: #555;
}

/* HOVER EFFECT */
.services .icon-box:hover {
  background: #038b0e;
  transform: translateY(-8px);
}

.services .icon-box:hover h4,
.services .icon-box:hover p {
  color: #fff;
}

.services .icon-box:hover .icon {
  background: #fff;
}

.services .icon-box:hover .icon i {
  color: #038b0e;
}

/* ================= RESPONSIVE BREAKPOINTS ================= */

/* Tablets */
@media (max-width: 992px) {
  .services {
    padding: 60px 5%;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .services {
    padding: 50px 20px;
  }

  .section-title h2 {
    font-size: 26px;
  }

  .services .icon-box {
    padding: 40px 20px;
  }

  .services .icon-box h4 {
    font-size: 18px;
  }

  .services .icon-box p {
    font-size: 14px;
  }
}


/* ================= FOOTER ================= */

.footer {
  background: linear-gradient(135deg, #0a0a0a, #111);
  color: #fff;
  padding: 70px 8% 30px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

/* Columns */
.footer-column {
  flex: 1 1 220px;
}

/* Logo Section */
.footer-brand {
  flex: 1 1 300px;
  text-align: left;
}

.footer-logo {
  width: 70px;
  margin-bottom: 15px;
}

.footer h3 {
  margin-bottom: 15px;
  font-size: 20px;
}

.footer-column h4 {
  margin-bottom: 20px;
  font-size: 18px;
  position: relative;
}

.footer-column h4::after {
  content: "";
  width: 40px;
  height: 3px;
  background: #038b0e;
  display: block;
  margin-top: 8px;
}

/* Links */
.footer-column a {
  display: block;
  color: #bbb;
  text-decoration: none;
  margin-bottom: 10px;
  transition: 0.3s;
}

.footer-column a:hover {
  color: #038b0e;
  padding-left: 5px;
}

/* Paragraph */
.footer-column p {
  color: #bbb;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 10px;
}

/* Social Icons */
.social-links {
  margin-top: 15px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: #038b0e;
  color: #fff;
  border-radius: 50%;
  margin-right: 10px;
  transition: 0.3s;
  text-decoration: none;
}

.social-links a:hover {
  background: #fff;
  color: #038b0e;
  transform: translateY(-3px);
}

/* Bottom Bar */
.footer-bottom {
  text-align: center;
  margin-top: 50px;
  border-top: 1px solid #222;
  padding-top: 20px;
}

.footer-bottom p {
  font-size: 14px;
  color: #aaa;
  text-align: center;
}

/* ================= RESPONSIVE ================= */

/* Tablet */
@media (max-width: 992px) {
  .footer-container {
    justify-content: center;
    text-align: center;
    gap: 30px;
  }

  .footer-column {
    flex: 1 1 45%;
    max-width: 400px;
  }

  .footer-brand {
    flex: 1 1 100%;
    text-align: center;
  }
}

/* Mobile */
/* Mobile stacked card effect */
@media (max-width: 600px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px; /* slightly tighter for card spacing */
  }

  .footer-column {
    width: 100%;
    max-width: 380px; /* card width */
    margin: 0 auto;
    padding: 20px;
    background: #111; /* subtle card background */
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.4);
    transition: transform 0.3s, box-shadow 0.3s;
  }

  /* Optional: hover effect to lift cards slightly */
  .footer-column:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.5);
  }

  .footer-brand {
    max-width: 380px;
    text-align: center;
    background: #111; /* match card background */
  }

  .footer-logo {
    margin: 0 auto 15px;
    display: block;
  }

  .footer h3 {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .footer-column h4::after {
    margin: 8px auto 0;
  }

  .social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  .social-links a {
    margin: 0;
  }

  .footer-bottom {
    margin-top: 40px;
    padding-top: 15px;
  }

  .footer-bottom p {
    font-size: 13px;
    line-height: 1.5;
  }
}




/* ================= ABOUT US HERO ================= */
/* ================= ABOUT US HERO ================= */
.heroo5 {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
      margin-left: calc(-50vw + 50%);
   width: 100vw;
  justify-content: left;
    display: flex;
    align-items: center;
  
    padding: 0 8%;

    color: #fff;

    /* BACKGROUND IMAGE */
    background: url("./building/building3.jpg") center/cover no-repeat;

    animation: bgZoom 20s ease-in-out infinite alternate;
}

/* FULL GRADIENT OVERLAY (COVERS ENTIRE IMAGE) */
.heroo5::before{
    content:"";
    position:absolute;
    inset:0;
    background: linear-gradient(
        to bottom,
        rgba(15,23,42,0.85),
        rgba(15,23,42,0.75)
    );
    z-index:1;
}

/* SOFT GLOW ACCENT */
.heroo5::after{
    content:"";
    position:absolute;
    width:500px;
    height:500px;
    background:#38bdf8;
    filter:blur(160px);
    opacity:0.25;
    top:20%;
    left:10%;
    animation:floatGlow 6s ease-in-out infinite alternate;
    z-index:1;
}

/* CONTENT */
.heroo5-content{
    max-width:600px;
    position:relative;
    z-index:2;
    animation:fadeUp 1s ease forwards;
}

/* HEADLINE */
.heroo5 h1{
    font-size:56px;
    margin-bottom:20px;
    line-height:1.2;
    font-weight:700;
    text-align:left;
}

.heroo5 h1 span{
    color:#38bdf8;
}

/* PARAGRAPH */
.heroo5 p{
    font-size:18px;
    margin-bottom:40px;
    color:#cbd5e1;
    text-align:justify;
}

/* BUTTON CONTAINER */
.heroo5-buttons{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
}

/* BUTTONS */
.btn-primary,
.btn-secondary{
    text-decoration:none;
    padding:14px 30px;
    border-radius:8px;
    font-weight:bold;
    transition:0.3s ease;
    display:inline-block;
}

.btn-primary{
    background:#38bdf8;
    color:#fff;
    box-shadow:0 10px 25px rgba(56,189,248,0.4);
}

.btn-primary:hover{
    background:#0ea5e9;
    transform:translateY(-4px);
}

.btn-secondary{
    border:2px solid #38bdf8;
    color:#38bdf8;
}

.btn-secondary:hover{
    background:#38bdf8;
    color:#fff;
    transform:translateY(-4px);
}

/* BACKGROUND ZOOM */
@keyframes bgZoom{
    0%{
        background-size:100%;
        background-position:center;
    }
    100%{
        background-size:110%;
        background-position:center;
    }
}

/* FADE UP */
@keyframes fadeUp{
    from{
        opacity:0;
        transform:translateY(40px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* FLOATING GLOW */
@keyframes floatGlow{
    from{ transform:translateY(0px); }
    to{ transform:translateY(40px); }
}

/* RESPONSIVE */
@media(max-width:768px){

    .heroo5{
        justify-content:center;
        padding:0 20px;
    }

    .heroo5 h1{
        font-size:34px;
    }

    .heroo5 p{
        font-size:16px;
    }

    .heroo5-buttons{
        flex-direction:column;
        align-items:flex-start;
        gap:15px;
    }
}


/* ================= STAFF SECTION ================= */
.staff-section {
    padding: 100px 6%;
    background: linear-gradient(135deg, #fdfcf8, #f3efe6);
    text-align: center;
}

/* ================= TITLE ================= */
.staff-title {
    font-family: "Playfair Display", serif;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 60px;
    color: #1c1c1c;
    position: relative;
    letter-spacing: 1px;
}

.staff-title::after {
    content: "";
    display: block;
    width: 90px;
    height: 3px;
    background: linear-gradient(to right, #c6a85b, #e8d9a8);
    margin: 14px auto 0;
    border-radius: 3px;
}

/* ================= CONTAINER ================= */
.staff-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
}

/* ================= CARD ================= */
.staff-card {
    position: relative;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    border-radius: 25px;
    padding: 35px 25px 30px;
    flex: 1 1 280px;   /* responsive card width */
    max-width: 320px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    transition: all 0.6s ease;
    opacity: 0;
    transform: translateY(40px);
}

/* Hover */
.staff-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
}

/* ================= IMAGE ================= */
.staff-image {
    width: 170px;
    height: 170px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #d4af37;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.staff-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.staff-card:hover .staff-image img {
    transform: scale(1.08);
}

/* ================= NAME ================= */
.staff-name {
    font-family: "Playfair Display", serif;
    font-size: 22px;
    font-weight: 600;
    color: #222;
    margin-bottom: 8px;
}

/* ================= STATUS ================= */
.staff-status {
    font-size: 0.95rem;
    color: #333a36;
    text-align: center;
    font-weight: 500;
    margin-bottom: 15px;
}

/* ================= WHATSAPP BUTTON ================= */
.staff-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366, #1ebe5d);
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.staff-whatsapp:hover {
    transform: scale(1.15);
}

/* ================= SCROLL REVEAL ================= */
.staff-card.show {
    opacity: 1;
    transform: translateY(0);
}

/* ================= DARK MODE ================= */
@media (prefers-color-scheme: dark) {
    .staff-section {
        background: linear-gradient(135deg, #111, #1a1a1a);
    }

    .staff-card {
        background: rgba(255, 255, 255, 0.05);
    }

    .staff-name,
    .staff-title {
        color: #f5f5f5;
    }
}

/* ================= TABLET ================= */
@media (max-width: 992px) {

    .staff-title {
        font-size: 34px;
    }

    .staff-image {
        width: 150px;
        height: 150px;
    }

}

/* ================= MOBILE ================= */
@media (max-width: 600px) {

    .staff-section {
        padding: 80px 5%;
    }

    .staff-title {
        font-size: 28px;
    }

    .staff-container {
        gap: 30px;
    }

    .staff-image {
        width: 120px;
        height: 120px;
    }

}


/* ================= ABOUT SECTION ================= */

.about-us {
  width: 85%;
  margin: auto;
  padding: 80px 0 60px;
}

/* ROW */
.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap; /* important for responsiveness */
}

/* COLUMNS */
.about-col {
  flex: 1 1 500px; /* responsive behavior */
}

.about-col img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.about-col img:hover {
  transform: scale(1.05);
}

.about-col h1 {
  margin-bottom: 20px;
}

.about-col p {
  padding: 10px 0 20px;
  line-height: 1.7;
}

/* ================= SMALLER BUTTON ================= */

.red-btn {
  border: 1px solid #f44336;
  background: transparent;
  color: #f44336;
  padding: 8px 16px;   /* reduced size */
  font-size: 14px;     /* smaller text */
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s ease;
}

.red-btn:hover {
  color: #fff;
  background: #f44336;
}

/* ================= ABOUT BOXES ================= */

.container-About {
  display: flex;
  flex-wrap: wrap; /* important */
  justify-content: center;
  gap: 25px;
  margin: 40px 0;
}

.box-About {
  background-color: rgb(91, 80, 80);
  color: white;
  flex: 1 1 220px; /* responsive */
  max-width: 250px;
  padding: 25px;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease;
}

.box-About:hover {
  transform: scale(1.05);
}

/* ================= RESPONSIVE ================= */

/* Tablet */
@media (max-width: 768px) {
  .about-us {
    width: 90%;
  }

  .row {
    flex-direction: column;
    text-align: center;
  }

  .about-col {
    flex: 1 1 100%;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .about-us {
    width: 92%;
    padding: 60px 0;
  }

  .about-col h1 {
    font-size: 22px;
  }

  .about-col p {
    font-size: 14px;
  }

  .red-btn {
    padding: 6px 14px;
    font-size: 13px;
  }
}




/* ================= FINANCE SECTION ================= */

/* ================= FINANCE SECTION ================= */

.finance-container {
  max-width: 850px;
  margin: 80px auto;
  padding: 0 20px;
}

.finance-container h1 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 32px;
  color: #2c4964;
}

/* Card */
.finance-card {
  background: #f9fafc;
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 30px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  border-left: 5px solid #038b0e;
}

.finance-card h2 {
  margin-bottom: 25px;
  color: #038b0e;
  font-size: 22px;
}

/* Details Layout */
.details-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  border-bottom: 1px solid #eee;
  padding-bottom: 8px;
}

.label {
  font-weight: 600;
  color: #444;
  min-width: 140px;
}

.value {
  text-align: right;
  color: #333;
  flex: 1;
}

.highlight {
  color: #038b0e;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 600px) {

  .finance-container h1 {
    font-size: 24px;
  }

  .finance-card {
    padding: 20px;
  }

  .detail-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .value {
    text-align: left;
  }
}



/* =========================================
   PRAYER DIARY – MODERN RESPONSIVE DESIGN
========================================= */

/* =========================================
   WEEKLY SCHEDULE SECTION
========================================= */

.prayer-diary {
  max-width: 900px;
  margin: 80px auto;
  padding: 60px 30px;
  background: linear-gradient(135deg, #f8fafc, #eef2f7);
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  font-family: "Segoe UI", Arial, sans-serif;
}

/* ================= Main Title ================= */
.prayer-diary h1 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 32px;
  font-weight: 700;
  color: #0f172a;
  position: relative;
}

/* Decorative underline */
.prayer-diary h1::after {
  content: "";
  width: 70px;
  height: 4px;
  background: #166534; /* deep green */
  display: block;
  margin: 12px auto 0;
  border-radius: 2px;
}

/* ================= Day Card ================= */
.prayer-diary .day {
  background: #ffffff;
  padding: 25px 30px;
  border-radius: 15px;
  margin-bottom: 25px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover lift effect */
.prayer-diary .day:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* ================= Day Heading Layout ================= */
.prayer-diary .day h2 {
  margin: 0;
  font-size: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

/* Green Day Name */
.prayer-diary .day-name {
  color: #166534; /* deep church green */
  font-weight: 700;
}

/* Bold Description */
.prayer-diary .day-desc {
  font-weight: 700;
  color: #1e293b;
}

/* =========================================
   RESPONSIVE DESIGN
========================================= */

/* Tablets */
@media (max-width: 992px) {

  .prayer-diary {
    padding: 50px 25px;
  }

  .prayer-diary h1 {
    font-size: 28px;
  }

  .prayer-diary .day h2 {
    font-size: 18px;
  }
}

/* Mobile */
@media (max-width: 600px) {

  .prayer-diary {
    padding: 40px 20px;
  }

  .prayer-diary .day {
    padding: 20px;
  }

  .prayer-diary .day h2 {
    font-size: 17px;
    flex-direction: column;
    align-items: flex-start;
  }
}










/* Courses Section */
.courses {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  text-align: center;
}



.sub-header2{
  height: 500px;
  width: 100%;
  background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url(../Css/building/building4.jpg);
  background-position: center;
  background-size: cover;
  text-align: center;
  color: #fff;
}

.courses h1 {
  font-size: 1.7em;
  color: #333;
}

.courses p {
  color: #666;
  margin-bottom: 40px;
}

.courses-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.course-card {
  flex: 1;
  min-width: 250px;
  margin: 10px;
  padding: 20px;
  background-color: #f9e5e5; 
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.course-card h3 {
  font-size: 1em;
  color: #333;
  margin-bottom: 10px;
}

.course-card p {
  color: #555;
  text-align: left;
}

/* Responsive Design */
@media (max-width: 768px) {
  .courses-container {
      flex-direction: column;
      align-items: center;
  }
}
/*end of course */



/* Team Section */
.team-section {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
}





/* ================= BRAND COLORS ================= */
/* Change these to match your church colors */
:root {
  --primary-color: #1e3a8a;   /* deep church blue */
  --accent-color: #fbbf24;    /* gold accent */
  --text-light: #ffffff;
}

/* ================= SECTION ================= */

.office-hours-glass {
  position: relative;
  padding: 100px 8%;
  background: url("../images/church-bg.jpg") center/cover no-repeat;
  overflow: hidden;
}

.office-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0,0,0,0.6),
    rgba(0,0,0,0.7)
  );
  backdrop-filter: blur(4px);
}

.office-content {
  position: relative;
  max-width: 1200px;
  margin: auto;
  z-index: 2;
  display: grid;
  gap: 30px;
}

/* Title */
.office-main-title {
  text-align: center;
  font-size: 2.8rem;
  color: var(--text-light);
  margin-bottom: 40px;
  position: relative;
}

.office-main-title::after {
  content: "";
  width: 80px;
  height: 4px;
  background: var(--accent-color);
  display: block;
  margin: 15px auto 0;
  border-radius: 10px;
}

/* Glass Cards */
.glass-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 30px;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-light);
  transition: 0.4s ease;
}

.glass-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-color);
}

/* Headings with Icons */
.glass-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--accent-color);
  display: flex;
  align-items: center;
  gap: 10px;
}



.glass-card p {
  margin-top: 10px;
  margin-bottom: 0;
  line-height: 1.6;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Better mobile scaling */
@media (max-width: 600px) {
  .glass-card {
    padding: 25px 20px;
  }

  .glass-card h3 {
    font-size: 1.1rem;
  }

  .glass-card p {
    font-size: 0.9rem;
  }
}

.glass-card span {
  font-weight: 600;
  color: #ffffff;
}

/* ================= RESPONSIVE GRID ================= */

@media (min-width: 768px) {
  .office-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .office-main-title {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .office-content {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ================= FADE IN ANIMATION ================= */

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}





/* ================= team HERO ================= */
.heroood {
     min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between; /* ✅ FIXED */
    padding: 0 8%;
    color: #fff;
    background: url("../Elder/Team.jpeg") center/cover no-repeat;
    animation: bgZoom 20s ease-in-out infinite alternate;
    margin-left: calc(-50vw + 50%);
    width: 100vw;
}

/* DARK OVERLAY */
.heroood::before{
    content:"";
    position:absolute;
    inset:0;
    background: linear-gradient(
        120deg,
        rgba(15,23,42,0.9),
        rgba(15,23,42,0.8),
        rgba(15,23,42,0.7)
    );
    z-index:1;
}

/* BLUE GLOW */
.heroood::after{
    content:"";
    position:absolute;
    width:450px;
    height:450px;
    background:#38bdf8;
    filter:blur(160px);
    opacity:0.2;
    top:15%;
    right:10%;
    animation:floatGlow 6s ease-in-out infinite alternate;
    z-index:1;
}

/* ================= LEFT CONTENT ================= */
.heroood-content{
    max-width:600px;
    position:relative;
    z-index:2;
    animation:fadeUp 1s ease forwards;
}

.main-hero-title{
    font-size:50px;
    margin-bottom:20px;
    line-height:1.2;
    font-weight:700;
    text-align: left;
}

.main-hero-title span{
    color:#38bdf8;
}

.main-hero-text{
    font-size:18px;
    margin-bottom:40px;
    color:#cbd5e1;
    text-align:justify;
}

/* BUTTONS */
.heroood-buttons{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
}

.btn-primary,
.btn-secondary{
    text-decoration:none;
    padding:14px 30px;
    border-radius:8px;
    font-weight:bold;
    transition:0.3s ease;
    display:inline-block;
}

.btn-primary{
    background:#38bdf8;
    color:#fff;
    box-shadow:0 10px 25px rgba(56,189,248,0.4);
}

.btn-primary:hover{
    background:#0ea5e9;
    transform:translateY(-4px);
}

.btn-secondary{
    border:2px solid #38bdf8;
    color:#38bdf8;
}

.btn-secondary:hover{
    background:#38bdf8;
    color:#fff;
    transform:translateY(-4px);
}

/* ================= RIGHT SIDE ================= */
.heroood-right{
    position:relative;
    z-index:2;
    max-width:400px;
}

.heroood-right img{
    width:100%;
    max-width:450px;
    border-radius:20px;
    box-shadow:0 25px 60px rgba(0,0,0,0.6);
    display:block;
}

/* ================= IMAGE OVERLAY ================= */

/* TITLE + NAME ROW */
.overlay-top-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:15px;
    margin-bottom:15px;
}
/* ================= IMAGE OVERLAY ================= */
.image-overlay{
    position:absolute;
    inset:0;
    border-radius:20px;

    display:flex;
    align-items:flex-end;      /* push to bottom */
    justify-content:flex-start; /* align left */

    padding:20px;

    background:linear-gradient(
        to top,
        rgba(0,0,0,0.85),
        rgba(0,0,0,0.4),
        transparent
    );
}

/* SINGLE ROW: TITLE + NAME + WHATSAPP */
.overlay-row{
    display:flex;
    align-items:center;
    gap:20px;
    flex-wrap:wrap;
}

/* Overlay Title */
.overlay-title{
    font-size:20px;
    font-weight:600;
    margin:0;
}

.overlay-title span{
    color:#38bdf8;
}

/* Overlay Name */
.overlay-name{
    font-size:18px;
    color:#38bdf8;
    margin:0;
}

/* Overlay WhatsApp */
.overlay-whatsapp{
    width:45px;
    height:45px;
    background:#25D366;
    color:#fff;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:20px;
    text-decoration:none;
    transition:0.3s ease;
}

.overlay-whatsapp:hover{
    transform:scale(1.1);
    box-shadow:0 10px 25px rgba(37,211,102,0.6);
}

/* ================= ANIMATIONS ================= */
@keyframes bgZoom{
    0%{ background-size:100%; }
    100%{ background-size:110%; }
}

@keyframes floatGlow{
    from{ transform:translateY(0); }
    to{ transform:translateY(30px); }
}

@keyframes fadeUp{
    from{
        opacity:0;
        transform:translateY(40px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* ================= RESPONSIVE ================= */
@media(max-width:992px){
    .heroood{
        flex-direction:column;
        gap:50px;
        padding:80px 20px;
    }

    .heroood-right img{
        max-width:300px;
    }
}

@media(max-width:600px){
    .main-hero-title{
        font-size:34px;
    }

    .main-hero-text{
        font-size:16px;
    }

    .overlay-top-row{
        flex-direction:column;
        align-items:flex-start;
    }

    .overlay-title{
        font-size:18px;
    }

    .overlay-name{
        font-size:16px;
    }

    .heroood-right img{
        max-width:250px;
    }
}




/* ================= DIRECTORS SECTION ================= */
.directors-section {
    padding: 120px 8%;
    background: linear-gradient(135deg, #f5f3ec, #ebe5d6);
    text-align: center;
}

/* ================= TITLE ================= */
.directors-title {
    font-family: "Playfair Display", serif;
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 70px;
    color: #1f1f1f;
    position: relative;
}

.directors-title::after {
    content: "";
    display: block;
    width: 90px;
    height: 3px;
    background: linear-gradient(to right, #b8923f, #e5d29c);
    margin: 14px auto 0;
    border-radius: 3px;
}

/* ================= CONTAINER ================= */
.directors-container {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

/* ================= CARD ================= */
.director-card {
    position: relative;
    background: #ffffff;
    border-radius: 22px;
    padding: 35px 25px 30px;
    width: 320px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.director-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
}

/* ================= IMAGE ================= */
.director-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #d4af37;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.director-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ================= NAME ================= */
.director-name {
    font-family: "Playfair Display", serif;
    font-size: 22px;
    font-weight: 600;
    color: #222;
    margin-bottom: 8px;
}

/* ================= ROLE ================= */
.director-role {
    font-size: 16px;
    color: #b8923f;
    font-weight: 600;
    margin-bottom: 20px;
}

/* ================= WHATSAPP ================= */
.director-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366, #1ebe5d);
    color: #fff;
    font-size: 22px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.director-whatsapp:hover {
    transform: scale(1.15);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
    .directors-container {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .directors-title {
        font-size: 28px;
    }

    .director-card {
        width: 100%;
        max-width: 360px;
    }

    .director-image {
        width: 170px;
        height: 170px;
    }
}



.sec-title {
  text-align: center; 
  margin-bottom: 40px; 
}

.sec-title h2 {
  font-size: 24px; 
  margin: 0; 
}

.sec-title .text {
  font-size: 16px; 
  color: #666; 
  margin-top: 10px;
}
.team-section .team-block {
  position: relative;
  width: 23%;
  float: left;
  text-align: center;
  box-sizing: border-box; 
  margin: 0 10px;
}

.team-section .button-box {
  position: relative;
}

.team-section .button-box .theme-btn {
  font-size: 16px;
  padding: 11px 29px;
}

.team-block {
  position: relative;
  margin-bottom: 75px; 
}

.team-block .inner-box {
  position: relative;
}

.team-block .inner-box .image {
  position: relative;
  width: 130px;
  height: 130px;
  overflow: hidden;
  border-radius: 50%;
  margin: 0 auto;
  transition: all 300ms ease;
}

.team-block .inner-box .image img {
  position: relative;
  width: 100%; 
  height: auto; 
}

.team-block .inner-box:hover .image {
  opacity: 0.25;
}

.team-block .inner-box .lower-box {
  position: relative;
  padding-top: 28px;
  text-align: center;
}

.team-block .inner-box .lower-box h6 {
  position: relative;
  font-size: 16px;
  font-weight: 700;
  color: #000;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.team-block .inner-box .lower-box .designation {
  position: relative;
  color: #999;
  font-size: 13px;
  margin-top: 4px;
}

.team-block .inner-box .overlay-content {
  position: absolute; 
  left: 50%;
  top: 50%; 
  transform: translateX(-50%); 
  opacity: 0;
  z-index: 10;
  visibility: hidden;
  width: 90%; 
  max-width: 300px; 
  height: auto; 
  text-align: left;
  padding: 20px; 
  border-radius: 15px;
  background-color: #fff;
  border: 1px solid #d9d9d9;
  transition: all 300ms ease;
}

.team-block .inner-box:hover .overlay-content {
  opacity: 1;
  visibility: visible;
}

.team-block .inner-box .overlay-content .text {
  position: relative;
  color: #000;
  font-size: 16px;
  line-height: 1.8em;
  margin-bottom: 35px;
}

.social-box {
  list-style: none; 
  padding: 0; 
  display: flex; 
  align-items: center; 
}

.social-box .share {
  margin-right: 10px; 
  font-weight: bold; 
}

.social-box li {
  margin: 0 5px; 
}

.social-box a img {
  width: 30px; 
  height: auto; 
  transition: transform 0.3s;
}

.social-box a:hover img {
  transform: scale(1.1); 
}

.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

.button-box {
  text-align: center; 
  margin-top: 40px; 
}

.button-box .theme-btn {
  display: inline-block; 
  padding: 12px 24px; 
  background-color: #da4426; 
  color: #fff;
  border-radius: 5px; 
  text-decoration: none; 
  transition: background-color 0.3s; 
}

.button-box .theme-btn:hover {
  background-color: #c0392b; 
}

/* Media Queries */
@media (max-width: 1200px) {
  .team-section .team-block {
      width: 33.33%; 
      margin: 0 5px; 
  }
}

@media (max-width: 768px) {
  .team-section .team-block {
      width: 50%; 
      margin: 0 5px; 
  }
}

@media (max-width: 480px) {
  .team-section .team-block {
      width: 100%; 
      margin: 0 0; 
  }

  .team-block .inner-box .overlay-content {
      width: 90%; 
      height: auto; 
      margin-top: 0; 
      transform: translateX(-50%); 
  }
}


/* Our history */
/* ================= History================= */
.heroo {
    min-height: 100vh;
    background: url("./building/building5.jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
    padding: 0 8%;
    color: #fff;
    position: relative;
    overflow: hidden;
    animation: bgZoom 20s ease-in-out infinite alternate;
      margin-left: calc(-50vw + 50%);
   width: 100vw;
  justify-content: left;
}



/* LEFT SIDE GRADIENT FADE */
.heroo::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        90deg,
        rgba(15,23,42,0.95) 0%,
        rgba(15,23,42,0.85) 35%,
        rgba(15,23,42,0.5) 60%,
        rgba(15,23,42,0.1) 80%,
        rgba(15,23,42,0) 100%
    );
    z-index:1;
}

/* SOFT GLOW ACCENT */
.heroo::after{
    content:"";
    position:absolute;
    width:500px;
    height:500px;
    background:#38bdf8;
    filter:blur(160px);
    opacity:0.25;
    top:20%;
    left:10%;
    animation:floatGlow 6s ease-in-out infinite alternate;
    z-index:1;
}

/* GLASSMORPHISM CONTENT CARD */
.heroo-content{
    max-width:600px;
    position:relative;
    z-index:2;
    padding:50px;
    border-radius:20px;

    background:rgba(255,255,255,0.05);
    backdrop-filter:blur(20px);
    -webkit-backdrop-filter:blur(20px);

    border:1px solid rgba(255,255,255,0.1);
    box-shadow:0 20px 60px rgba(0,0,0,0.5);

    animation:fadeUp 1s ease forwards;
}

/* HEADLINE */
.heroo h1{
    font-size:56px;
    margin-bottom:20px;
    line-height:1.2;
    font-weight:700;
}

.heroo h1 span{
    color:#38bdf8;
}

/* PARAGRAPH */
.heroo p{
    font-size:18px;
    margin-bottom:40px;
    color:#cbd5e1;
}

/* BUTTONS */
.heroo-buttons{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
}

.btn-primary,
.btn-secondary{
    text-decoration:none;
    padding:14px 30px;
    border-radius:8px;
    font-weight:bold;
    transition:0.3s ease;
}

.btn-primary{
    background:#38bdf8;
    color:#fff;
    box-shadow:0 10px 25px rgba(56,189,248,0.4);
}

.btn-primary:hover{
    background:#0ea5e9;
    transform:translateY(-4px);
}

.btn-secondary{
    border:2px solid #38bdf8;
    color:#38bdf8;
}

.btn-secondary:hover{
    background:#38bdf8;
    color:#fff;
    transform:translateY(-4px);
}


/* BACKGROUND ZOOM ANIMATION */
@keyframes bgZoom{
    0%{
        background-size:100%;
        background-position:center;
    }
    100%{
        background-size:130%;
        background-position:center;
    }
}


/* FADE UP */
@keyframes fadeUp{
    from{
        opacity:0;
        transform:translateY(40px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* FLOATING GLOW */
@keyframes floatGlow{
    from{ transform:translateY(0px); }
    to{ transform:translateY(40px); }
}

/* RESPONSIVE */
@media(max-width:768px){

    .heroo{
        justify-content:center;
        padding:0 20px;
        text-align:center;
    }

    .heroo-content{
        padding:35px;
    }

    .heroo h1{
        font-size:34px;
    }

    .heroo-buttons{
        justify-content:center;
    }
}




/* ================= HERITAGE SECTION ================= */



.heritage-section {
  padding: 100px 8%;
  background: #f5f1ea; /* warm parchment tone */
}

.heritage-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 80px;
}

/* ================= IMAGE ================= */

.heritage-image {
  flex: 1;
  position: relative;
}

.heritage-image img {
  width: 100%;
  border-radius: 8px;
  position: relative;
  z-index: 2;
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

/* Decorative background shape */
.image-decor {
  position: absolute;
  width: 90%;
  height: 90%;
  background: #c2a878; /* muted gold */
  top: -20px;
  left: -20px;
  z-index: 1;
  border-radius: 8px;
}

/* ================= CONTENT ================= */

.heritage-content {
  flex: 1;
}

.heritage-block {
  margin-bottom: 50px;
}

.heritage-block h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  margin-bottom: 15px;
  color: #3e2f1c; /* deep brown */
}

.heritage-block p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #4a3b28;
  margin-bottom: 12px;
}

/* ================= READ MORE ================= */

.more-text {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.more-text.show {
  max-height: 300px;
}

.read-more-btn {
  background: transparent;
  border: 1px solid #8b6f47;
  color: #8b6f47;
  padding: 8px 18px;
  cursor: pointer;
  font-family: 'Playfair Display', serif;
  transition: 0.3s ease;
}

.read-more-btn:hover {
  background: #8b6f47;
  color: #fff;
}

/* ================= SLIDE ANIMATION ================= */

.slide-left,
.slide-right {
  opacity: 0;
  transform: translateX(60px);
  transition: all 1s ease;
}

.slide-left {
  transform: translateX(-60px);
}

.slide-left.show,
.slide-right.show {
  opacity: 1;
  transform: translateX(0);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {
  .heritage-container {
    flex-direction: column;
    gap: 50px;
  }

  .image-decor {
    display: none;
  }
}

@media (max-width: 576px) {
  .heritage-section {
    padding: 70px 6%;
  }

  .heritage-block h2 {
    font-size: 1.5rem;
  }

  .heritage-block p {
    font-size: 1rem;
  }
}




/* ===== PASTORS ACCORDION ===== */
.pastors-accordion {
  padding: 100px 8%;
  background: #f5f1ea;
}

.pastors-wrapper {
  max-width: 1100px;
  margin: auto;
}

.pastors-title {
  text-align: center;
  font-size: 2.3rem;
  margin-bottom: 50px;
  color: #3e2f1c;
  font-family: 'Playfair Display', serif;
}

/* ===== ITEM ===== */
.pastor-item {
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* ===== HEADER ===== */
.pastor-header {
  width: 100%;
  padding: 18px 25px;
  font-size: 1.1rem;
  background: #3e2f1c;
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Playfair Display', serif;
  transition: 0.3s ease;
}

.pastor-header:hover {
  background: #5a4430;
}

.pastor-icon {
  font-size: 1.4rem;
  transition: transform 0.3s ease;
}

/* ===== CONTENT ===== */
.pastor-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.5s ease;
  background: #fff;
}

.pastor-item.active .pastor-content {
  max-height: 1500px;
  padding: 30px;
}

.pastor-item.active .pastor-icon {
  transform: rotate(45deg);
}

/* ===== GRID ===== */
.pastor-grid {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.pastor-grid img {
  width: 260px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.pastor-text {
  flex: 1;
}

.pastor-text p {
  margin-bottom: 15px;
  line-height: 1.8;
  color: #4a3b28;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .pastor-grid {
    flex-direction: column;
  }

  .pastor-grid img {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .pastors-accordion {
    padding: 70px 6%;
  }

  .pastor-header {
    font-size: 1rem;
    padding: 15px 20px;
  }
}


/* ================= MEMORIES SECTION ================= */
.images1 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  padding: 40px 8%;
  max-width: 1200px;
  margin: auto;
}

.images1-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 25px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.images1-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 35px rgba(0,0,0,0.15);
}

.images1-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.images1-item h3 {
  padding: 15px 20px;
  font-size: 1rem;
  color: #3e2f1c;
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.5;
}

/* Section title */
.images1 h2 {
  font-size: 2rem;
  color: #3e2f1c;
  margin-bottom: 30px;
  font-family: 'Playfair Display', serif;
  text-align: center;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .images1-item img {
    height: 180px;
  }

  .images1-item h3 {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .images1 {
    padding: 20px 5%;
    gap: 20px;
  }

  .images1-item img {
    height: 150px;
  }

  .images1-item h3 {
    font-size: 0.9rem;
  }
}



/* ================= REACTION SECTION ================= */

.history-reactions {
  padding: 70px 8%;
  background: linear-gradient(135deg, #f5f1ea, #efe7db);
  text-align: center;
  border-radius: 15px;
  max-width: 1000px;
  margin: 60px auto;
}

.history-reactions h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #3e2f1c;
}

.history-reactions p {
  margin-bottom: 30px;
  color: #5a4430;
}

/* Buttons */
.reaction-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.reaction {
  background: #fff;
  border: 2px solid #3e2f1c;
  padding: 15px 25px;
  border-radius: 50px;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.reaction:hover {
  background: #3e2f1c;
  color: #fff;
  transform: scale(1.1);
}

/* Pulse animation */
.reaction.clicked {
  animation: pulse 0.4s ease;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.25); }
  100% { transform: scale(1); }
}

.total-reactions {
  font-weight: bold;
  margin-bottom: 25px;
  color: #3e2f1c;
}

/* Bars */
.reaction-stats {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.stat {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.bar {
  flex: 1;
  height: 18px;
  background: #ddd6c8;
  border-radius: 10px;
  overflow: hidden;
}

.fill {
  height: 100%;
  width: 0%;
  background: #3e2f1c;
  transition: width 0.5s ease;
}

.percentage {
  width: 40px;
  text-align: right;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {
  .history-reactions {
    padding: 50px 6%;
  }

  .reaction {
    padding: 12px 20px;
    font-size: 1rem;
  }

  .stat {
    flex-direction: column;
    align-items: flex-start;
  }

  .percentage {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .reaction-buttons {
    flex-direction: column;
  }

  .reaction {
    width: 100%;
    justify-content: center;
  }
}



/* ================= CONTACT & LOCATION POLISHED ================= */
/* ================= CONTACT & LOCATION POLISHED ================= */
.contact-location {
  background: #f7f6f3; /* soft parchment-like background */
  padding: 100px 20px;
  font-family: 'Open Sans', sans-serif;
}

.contact-location-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
  align-items: flex-start;
}

/* Panels */
.contact-panel,
.map-panel {
  flex: 1 1 500px;
  background: #ffffff;
  border-radius: 18px;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Hover effect */
.contact-panel:hover,
.map-panel:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 50px rgba(0,0,0,0.15);
  background: #fffefb; /* subtle warm highlight on hover */
}

/* Header: logo + title */
.contact-header {
  display: flex;
  align-items: center;
  justify-content: center; /* center the title */
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.contact-logo {
  width: 60px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.contact-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: #1a1a1a;
  margin: 0;
  text-align: center;
  position: relative;
}

.contact-header h2::after {
  content: '';
  position: absolute;
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, #c8a951, #e6d89c);
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
  border-radius: 2px;
  transition: width 0.5s ease;
}

.contact-header h2:hover::after {
  width: 100%;
}

/* Contact Items */
.contact-item {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 25px;
  transition: transform 0.3s ease;
}

.contact-item i {
  font-size: 24px;
  color: #c8a951;
  min-width: 30px;
  text-align: center;
}

.contact-item p {
  font-size: 16px;
  color: #333;
  line-height: 1.8;
  margin: 0;
}

.contact-item:hover {
  transform: translateX(5px);
}

/* Map Panel */
.map-panel iframe {
  width: 100%;
  height: 400px;
  border-radius: 15px;
  border: 0;
  transition: transform 0.3s ease;
}

.map-panel iframe:hover {
  transform: scale(1.02);
}

/* Scroll Reveal + Floating / Parallax */
.contact-panel,
.map-panel {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.contact-panel.reveal,
.map-panel.reveal {
  opacity: 1;
  transform: translateY(0) translateZ(0);
}

/* Optional subtle floating on hover */
.contact-panel:hover,
.map-panel:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.14);
}

/* Responsive */
@media (max-width: 992px) {
  .contact-location-container {
    flex-direction: column;
  }

  .contact-panel,
  .map-panel {
    flex: 1 1 100%;
  }
}

@media (max-width: 768px) {
  .contact-panel,
  .map-panel {
    padding: 30px 20px;
  }

  .contact-header h2,
  .map-panel h2 {
    font-size: 1.9rem;
  }

  .map-panel iframe {
    height: 300px;
  }
}

@media (max-width: 600px) {
  .contact-header {
    flex-direction: column;
    gap: 10px;
  }

  .contact-logo {
    width: 50px;
  }

  .contact-header h2 {
    font-size: 1.7rem;
  }
}

@media (max-width: 480px) {
  .contact-panel,
  .map-panel {
    padding: 20px 15px;
  }

  .contact-header h2,
  .map-panel h2 {
    font-size: 1.6rem;
  }

  .contact-item i {
    font-size: 20px;
  }

  .map-panel iframe {
    height: 220px;
  }
}




/* ================= FOOTBALL HERO ================= */
.herooo {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between; /* ✅ FIXED */
    padding: 0 8%;
    color: #fff;
    background: url("../footballimages/team3.jpg") center/cover no-repeat;
    animation: bgZoom 20s ease-in-out infinite alternate;
    margin-left: calc(-50vw + 50%);
    width: 100vw;
}

/* DARK OVERLAY */
.herooo::before{
    content:"";
    position:absolute;
    inset:0;
    background: linear-gradient(
        120deg,
        rgba(15,23,42,0.9),
        rgba(15,23,42,0.8),
        rgba(15,23,42,0.7)
    );
    z-index:1;
}

/* BLUE GLOW */
.herooo::after{
    content:"";
    position:absolute;
    width:450px;
    height:450px;
    background:#38bdf8;
    filter:blur(160px);
    opacity:0.2;
    top:15%;
    right:10%;
    animation:floatGlow 6s ease-in-out infinite alternate;
    z-index:1;
}

/* ================= LEFT CONTENT ================= */
.herooo-content{
    max-width:600px;
    position:relative;
    z-index:2;
    animation:fadeUp 1s ease forwards;
}

.main-hero-title{
    font-size:50px;
    margin-bottom:20px;
    line-height:1.2;
    font-weight:700;
    text-align: left;
}

.main-hero-title span{
    color:#38bdf8;
}

.main-hero-text{
    font-size:18px;
    margin-bottom:40px;
    color:#cbd5e1;
    text-align:justify;
}

/* BUTTONS */
.herooo-buttons{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
}

.btn-primary,
.btn-secondary{
    text-decoration:none;
    padding:14px 30px;
    border-radius:8px;
    font-weight:bold;
    transition:0.3s ease;
    display:inline-block;
}

.btn-primary{
    background:#38bdf8;
    color:#fff;
    box-shadow:0 10px 25px rgba(56,189,248,0.4);
}

.btn-primary:hover{
    background:#0ea5e9;
    transform:translateY(-4px);
}

.btn-secondary{
    border:2px solid #38bdf8;
    color:#38bdf8;
}

.btn-secondary:hover{
    background:#38bdf8;
    color:#fff;
    transform:translateY(-4px);
}

/* ================= RIGHT SIDE ================= */
.herooo-right{
    position:relative;
    z-index:2;
    max-width:400px;
}

.herooo-right img{
    width:100%;
    max-width:450px;
    border-radius:20px;
    box-shadow:0 25px 60px rgba(0,0,0,0.6);
    display:block;
}

/* ================= IMAGE OVERLAY ================= */

/* TITLE + NAME ROW */
.overlay-top-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:15px;
    margin-bottom:15px;
}
/* ================= IMAGE OVERLAY ================= */
.image-overlay{
    position:absolute;
    inset:0;
    border-radius:20px;

    display:flex;
    align-items:flex-end;      /* push to bottom */
    justify-content:flex-start; /* align left */

    padding:20px;

    background:linear-gradient(
        to top,
        rgba(0,0,0,0.85),
        rgba(0,0,0,0.4),
        transparent
    );
}

/* SINGLE ROW: TITLE + NAME + WHATSAPP */
.overlay-row{
    display:flex;
    align-items:center;
    gap:20px;
    flex-wrap:wrap;
}

/* Overlay Title */
.overlay-title{
    font-size:20px;
    font-weight:600;
    margin:0;
}

.overlay-title span{
    color:#38bdf8;
}

/* Overlay Name */
.overlay-name{
    font-size:18px;
    color:#38bdf8;
    margin:0;
}

/* Overlay WhatsApp */
.overlay-whatsapp{
    width:45px;
    height:45px;
    background:#25D366;
    color:#fff;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:20px;
    text-decoration:none;
    transition:0.3s ease;
}

.overlay-whatsapp:hover{
    transform:scale(1.1);
    box-shadow:0 10px 25px rgba(37,211,102,0.6);
}

/* ================= ANIMATIONS ================= */
@keyframes bgZoom{
    0%{ background-size:100%; }
    100%{ background-size:110%; }
}

@keyframes floatGlow{
    from{ transform:translateY(0); }
    to{ transform:translateY(30px); }
}

@keyframes fadeUp{
    from{
        opacity:0;
        transform:translateY(40px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* ================= RESPONSIVE ================= */
@media(max-width:992px){
    .herooo{
        flex-direction:column;
        gap:50px;
        padding:80px 20px;
    }

    .herooo-right img{
        max-width:300px;
    }
}

@media(max-width:600px){
    .main-hero-title{
        font-size:34px;
    }

    .main-hero-text{
        font-size:16px;
    }

    .overlay-top-row{
        flex-direction:column;
        align-items:flex-start;
    }

    .overlay-title{
        font-size:18px;
    }

    .overlay-name{
        font-size:16px;
    }

    .herooo-right img{
        max-width:250px;
    }
}





/* ================= Choir HERO ================= */
.heroooh {
     min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between; /* ✅ FIXED */
    padding: 0 8%;
    color: #fff;
    background: url("../Css/choirteam/choir6.jpg") center/cover no-repeat;
    animation: bgZoom 20s ease-in-out infinite alternate;
    margin-left: calc(-50vw + 50%);
    width: 100vw;
}

/* DARK OVERLAY */
.heroooh::before{
    content:"";
    position:absolute;
    inset:0;
    background: linear-gradient(
        120deg,
        rgba(15,23,42,0.9),
        rgba(15,23,42,0.8),
        rgba(15,23,42,0.7)
    );
    z-index:1;
}

/* BLUE GLOW */
.heroooh::after{
    content:"";
    position:absolute;
    width:450px;
    height:450px;
    background:#38bdf8;
    filter:blur(160px);
    opacity:0.2;
    top:15%;
    right:10%;
    animation:floatGlow 6s ease-in-out infinite alternate;
    z-index:1;
}

/* ================= LEFT CONTENT ================= */
.heroooh-content{
    max-width:600px;
    position:relative;
    z-index:2;
    animation:fadeUp 1s ease forwards;
}

.main-hero-title{
    font-size:50px;
    margin-bottom:20px;
    line-height:1.2;
    font-weight:700;
    text-align: left;
}

.main-hero-title span{
    color:#38bdf8;
}

.main-hero-text{
    font-size:18px;
    margin-bottom:40px;
    color:#cbd5e1;
    text-align:justify;
}

/* BUTTONS */
.heroooh-buttons{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
}

.btn-primary,
.btn-secondary{
    text-decoration:none;
    padding:14px 30px;
    border-radius:8px;
    font-weight:bold;
    transition:0.3s ease;
    display:inline-block;
}

.btn-primary{
    background:#38bdf8;
    color:#fff;
    box-shadow:0 10px 25px rgba(56,189,248,0.4);
}

.btn-primary:hover{
    background:#0ea5e9;
    transform:translateY(-4px);
}

.btn-secondary{
    border:2px solid #38bdf8;
    color:#38bdf8;
}

.btn-secondary:hover{
    background:#38bdf8;
    color:#fff;
    transform:translateY(-4px);
}

/* ================= RIGHT SIDE ================= */
.heroooh-right{
    position:relative;
    z-index:2;
    max-width:400px;
}

.heroooh-right img{
    width:100%;
    max-width:450px;
    border-radius:20px;
    box-shadow:0 25px 60px rgba(0,0,0,0.6);
    display:block;
}

/* ================= IMAGE OVERLAY ================= */

/* TITLE + NAME ROW */
.overlay-top-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:15px;
    margin-bottom:15px;
}
/* ================= IMAGE OVERLAY ================= */
.image-overlay{
    position:absolute;
    inset:0;
    border-radius:20px;

    display:flex;
    align-items:flex-end;      /* push to bottom */
    justify-content:flex-start; /* align left */

    padding:20px;

    background:linear-gradient(
        to top,
        rgba(0,0,0,0.85),
        rgba(0,0,0,0.4),
        transparent
    );
}

/* SINGLE ROW: TITLE + NAME + WHATSAPP */
.overlay-row{
    display:flex;
    align-items:center;
    gap:20px;
    flex-wrap:wrap;
}

/* Overlay Title */
.overlay-title{
    font-size:20px;
    font-weight:600;
    margin:0;
}

.overlay-title span{
    color:#38bdf8;
}

/* Overlay Name */
.overlay-name{
    font-size:18px;
    color:#38bdf8;
    margin:0;
}

/* Overlay WhatsApp */
.overlay-whatsapp{
    width:45px;
    height:45px;
    background:#25D366;
    color:#fff;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:20px;
    text-decoration:none;
    transition:0.3s ease;
}

.overlay-whatsapp:hover{
    transform:scale(1.1);
    box-shadow:0 10px 25px rgba(37,211,102,0.6);
}

/* ================= ANIMATIONS ================= */
@keyframes bgZoom{
    0%{ background-size:100%; }
    100%{ background-size:110%; }
}

@keyframes floatGlow{
    from{ transform:translateY(0); }
    to{ transform:translateY(30px); }
}

@keyframes fadeUp{
    from{
        opacity:0;
        transform:translateY(40px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* ================= RESPONSIVE ================= */
@media(max-width:992px){
    .heroooh{
        flex-direction:column;
        gap:50px;
        padding:80px 20px;
    }

    .heroooh-right img{
        max-width:300px;
    }
}

@media(max-width:600px){
    .main-hero-title{
        font-size:34px;
    }

    .main-hero-text{
        font-size:16px;
    }

    .overlay-top-row{
        flex-direction:column;
        align-items:flex-start;
    }

    .overlay-title{
        font-size:18px;
    }

    .overlay-name{
        font-size:16px;
    }

    .heroooh-right img{
        max-width:250px;
    }
}





.container {
  display: flex;
  padding-top: 5%;
  flex-wrap: wrap;
  max-width: 100%;
  margin: auto;
  border-radius: 8px;
  overflow: hidden;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.text-section {
  padding: 20px;
  flex: 1;
  min-width: 300px;
}

.image-section {
  flex-basis: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden; 
}

.image-section img {
  max-width: 100%;
  height: auto;
  border-radius: 8px 0 0 8px;
  transition: transform 0.3s ease; 
}

.image-section img:hover {
  transform: scale(1.05); 
}


 .text-section h1 {
  text-align: center;
  margin-bottom: 20px;
  background: linear-gradient(45deg, yellow, red);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeIn 1s ease-in;
}

p {
  margin: 0 0 20px;
  color: black;
  text-align: justify;
}

.date-author {
  font-size: 14px;
  color: #999;
  margin-bottom: 10px;
}

.read-more {
  background-color: #007BFF;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.read-more:hover {
  background-color: #0056b3;
}

/* Media Query for smaller devices */
@media (max-width: 768px) {
  .container {
      flex-direction: column; 
  }

  .image-section {
      flex-basis: 100%; 
      order: -1; 
  }

  .text-section {
      padding: 15px;
  }

  h1 {
      font-size: 20px; 
  }

  .date-author {
      font-size: 12px; 
  }

  p {
      margin: 0 0 15px; 
  }

  .read-more {
      padding: 8px 16px;
  }
}



/* ================= CHOIR ACHIEVEMENTS ================= */

.choir-achievements {
  padding: 100px 8%;
  background: linear-gradient(135deg, #f9fafc, #eef2f7);
}

.choir-achievements-container {
  max-width: 1200px;
  margin: auto;
}

/* Header */
.choir-achievements-header {
  text-align: center;
  margin-bottom: 60px;
}

.choir-achievements-header h2 {
  font-size: 2.4rem;
  color: #1e293b;
  margin-bottom: 15px;
}

.choir-achievements-header p {
  font-size: 1.1rem;
  color: #64748b;
  max-width: 700px;
  margin: auto;
}

/* Grid Layout */
.choir-achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

/* Card */
.choir-achievement-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.choir-achievement-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}



/* Image */
.choir-achievement-image {
  width: 100%;
  aspect-ratio: 4 / 3;  /* keeps consistent shape */
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.choir-achievement-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.choir-achievement-card:hover img {
  transform: scale(1.08);
}

/* Content */
.choir-achievement-content {
  padding: 25px;
  text-align: center;
}

.choir-achievement-content h3 {
  font-size: 1.4rem;
  color: #0f172a;
  margin-bottom: 8px;
}



.choir-achievement-content p {
  font-size: 0.95rem;
  color: white;
  text-align: center;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {
  .choir-achievements {
    padding: 80px 6%;
  }

  .choir-achievement-image img {
    height: 240px;
  }
}

@media (max-width: 600px) {
  .choir-achievements {
    padding: 60px 5%;
  }

  .choir-achievements-header h2 {
    font-size: 1.8rem;
  }

  .choir-achievement-image img {
    height: 200px;
  }
}
/* ================= GOLD RIBBON ================= */

.award-ribbon {
  position: absolute;
  top: 20px;
  left: -40px;
  background: linear-gradient(45deg, gold, #d4af37);
  color: #fff;
  padding: 8px 60px;
  font-weight: bold;
  font-size: 0.8rem;
  transform: rotate(-45deg);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  z-index: 2;
}

/* Make card relative */
.choir-achievement-card {
  position: relative;
}

/* ================= TROPHY BADGE ================= */

.choir-achievement-image::after {
  content: "🏆";
  position: absolute;
  bottom: 15px;
  right: 15px;
  font-size: 2rem;
  background: rgba(255,255,255,0.8);
  padding: 10px;
  border-radius: 50%;
  backdrop-filter: blur(5px);
}

/* ================= SCROLL REVEAL ================= */

.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ================= LIGHTBOX ================= */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
}

.close-lightbox {
  position: absolute;
  top: 40px;
  right: 60px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 600px) {
  .award-ribbon {
    font-size: 0.7rem;
    padding: 6px 50px;
  }

  .close-lightbox {
    right: 20px;
  }
}




/* Choirslideshow + Footballteam */
/* Slideshow CSS */
/* ================= GALLERY SECTION ================= */

/* ================= ROOT COLORS & FONTS ================= */
:root {
  --church-gold: #c8a951;
  --church-gold-soft: #e8d7a5;
  --church-dark: #1a1a1a;
  --text-color: #222;
  --body-font: 'Playfair Display', serif;
  --sans-font: 'Open Sans', sans-serif;
}

/* ================= BODY BASE ================= */
body {
  font-family: var(--sans-font);
  background: #f9fafc;
  color: var(--text-color);
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* ================= GALLERY SECTION ================= */
.choir-gallery {
  padding: 100px 8%;
  background: #f9fafc;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* PARCHMENT TEXTURE BACKGROUND */
.choir-gallery::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://i.ibb.co/6b0K7mn/parchment-texture.png');
  opacity: 0.05;
  pointer-events: none;
}

/* SOFT VIGNETTE */
.choir-gallery::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(0,0,0,0) 70%, rgba(0,0,0,0.15) 100%);
  pointer-events: none;
}

/* ================= HEADER ================= */
.gallery-header h1 {
  font-family: var(--body-font);
  font-size: 2.8rem;
  margin-bottom: 15px;
  color: var(--church-dark);
  position: relative;
  display: inline-block;
}

.gallery-header h1::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--church-gold), transparent);
  transform: translateX(-50%);
  transition: width 0.6s ease;
}

.gallery-header h1:hover::after {
  width: 100%;
}

.gallery-header p {
  max-width: 700px;
  margin: auto;
  color: #6b7280;
  margin-bottom: 60px;
  line-height: 1.8;
  font-size: 16px;
  font-family: var(--sans-font);
}

/* ================= MASONRY GRID ================= */
.gallery-grid {
  column-count: 3;
  column-gap: 30px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  cursor: pointer;
  break-inside: avoid;
  margin-bottom: 25px;
  transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.8s ease, transform 0.8s ease;
  opacity: 0;
  transform: translateY(40px);
  animation: floatSoft 10s ease-in-out infinite;
}

/* ================= SCROLL REVEAL ================= */
.gallery-item.reveal {
  opacity: 1;
  transform: translateY(0);
}

/* ================= IMAGES ================= */
.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* ================= OVERLAY ================= */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 15px;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

/* ================= VIEW ICON ================= */
.view-icon {
  font-size: 30px;
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  padding: 12px 16px;
  border-radius: 50%;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.view-icon:hover {
  background: var(--church-gold);
  color: #000;
}

/* ================= FLOAT ANIMATION ================= */
@keyframes floatSoft {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-4px); }
  100% { transform: translateY(0px); }
}

/* ================= LIGHTBOX ================= */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  backdrop-filter: blur(8px);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox-img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 10px;
  border: 3px solid var(--church-gold-soft);
  box-shadow: 0 0 30px rgba(200,169,81,0.3);
}

.close {
  position: absolute;
  top: 25px;
  right: 40px;
  font-size: 35px;
  color: #fff;
  cursor: pointer;
  transition: 0.3s ease;
}

.close:hover {
  color: var(--church-gold);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  .gallery-grid {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    column-count: 1;
  }
}

@media (max-width: 480px) {
  .gallery-header h1 {
    font-size: 2.2rem;
  }

  .gallery-header p {
    font-size: 14px;
  }
}




/* ===============================
   PROFESSIONAL LOGIN / SIGNUP UI
================================ */

/* Reset small improvements */
* {
  box-sizing: border-box;
}

/* Background Sections */
.sign22,
.login22 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

/* Background Images */
.sign22 {
  background-image: linear-gradient(rgba(4,9,30,0.80), rgba(4,9,30,0.80)),
  url(../Css/building/building3.jpg);
}

.login22 {
  background-image: linear-gradient(rgba(4,9,30,0.80), rgba(4,9,30,0.80)),
  url(../Css/building/building2.jpg);
}

/* Glass Card Container */
.containert {
  width: 100%;
  max-width: 420px;
  padding: 45px 35px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
  color: #fff;
  animation: fadeUp 0.9s ease;
}

/* Logo */
.form-logo {
  text-align: center;
  margin-bottom: 25px;
}

.form-logo img {
  width: 95px;
  max-width: 45%;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.form-logo img:hover {
  transform: scale(1.06);
}

/* Heading */
.form-container h1 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Form Group */
.form-group {
  margin-bottom: 22px;
}

/* Labels */
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: #ddd;
}

/* Input Container */
.input-container {
  position: relative;
}

/* Icons */
.input-container i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #aaa;
  font-size: 14px;
  transition: 0.3s ease;
}

/* Inputs */
.input-container input {
  width: 100%;
  padding: 13px 15px 13px 45px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 14px;
  transition: all 0.3s ease;
}

/* Placeholder */
.input-container input::placeholder {
  color: #ccc;
}

/* Input Focus */
.input-container input:focus {
  outline: none;
  border-color: #28a745;
  box-shadow: 0 0 0 3px rgba(40,167,69,0.35);
  background: rgba(255,255,255,0.15);
}

.input-container input:focus + i {
  color: #28a745;
}

/* Buttons */
.form-group button {
  width: 100%;
  padding: 13px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, #28a745, #1e7e34);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

/* Button Hover */
.form-group button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.4);
}

/* Button Click */
.form-group button:active {
  transform: translateY(0);
  box-shadow: none;
}

/* ===============================
   FOOTER5 (NEW STYLING)
================================ */

.footer5 {
  margin-top: 25px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.2);
  text-align: center;
  font-size: 14px;
}

.footer5 p {
  margin: 8px 0;
  color: #ddd;
}

.footer5 a {
  color: #28a745;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer5 a:hover {
  color: #fff;
  text-shadow: 0 0 8px rgba(40,167,69,0.8);
}

/* ===============================
   ANIMATION
================================ */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===============================
   RESPONSIVE DESIGN
================================ */

@media (max-width: 768px) {

  .containert {
    max-width: 95%;
    padding: 35px 25px;
  }

  .form-logo img {
    width: 80px;
  }

  .form-container h1 {
    font-size: 22px;
  }
}

@media (max-width: 480px) {

  .containert {
    padding: 28px 18px;
    border-radius: 16px;
  }

  .form-container h1 {
    font-size: 18px;
  }

  .input-container input {
    padding: 11px 12px 11px 40px;
    font-size: 13px;
  }

  .form-group button {
    font-size: 14px;
    padding: 12px;
  }

  .footer5 {
    font-size: 13px;
  }
}





/* ================= Sunday school HERO ================= */
.herooot {
      min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between; /* ✅ FIXED */
    padding: 0 8%;
    color: #fff;
    background: url("../sundayschool/child4.jfif") center/cover no-repeat;
    animation: bgZoom 20s ease-in-out infinite alternate;
    margin-left: calc(-50vw + 50%);
    width: 100vw;
 
}

/* DARK OVERLAY */
.herooot::before{
    content:"";
    position:absolute;
    inset:0;
    background: linear-gradient(
        120deg,
        rgba(15,23,42,0.9),
        rgba(15,23,42,0.8),
        rgba(15,23,42,0.7)
    );
    z-index:1;
}

/* BLUE GLOW */
.herooot::after{
    content:"";
    position:absolute;
    width:450px;
    height:450px;
    background:#38bdf8;
    filter:blur(160px);
    opacity:0.2;
    top:15%;
    right:10%;
    animation:floatGlow 6s ease-in-out infinite alternate;
    z-index:1;
}

/* ================= LEFT CONTENT ================= */
.herooot-content{
    max-width:600px;
    position:relative;
    z-index:2;
    animation:fadeUp 1s ease forwards;
}

.main-hero-title{
    font-size:50px;
    margin-bottom:20px;
    line-height:1.2;
    font-weight:700;
    text-align: left;
}

.main-hero-title span{
    color:#38bdf8;
}

.main-hero-text{
    font-size:18px;
    margin-bottom:40px;
    color:#cbd5e1;
    text-align:justify;
}

/* BUTTONS */
.herooot-buttons{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
}

.btn-primary,
.btn-secondary{
    text-decoration:none;
    padding:14px 30px;
    border-radius:8px;
    font-weight:bold;
    transition:0.3s ease;
    display:inline-block;
}

.btn-primary{
    background:#38bdf8;
    color:#fff;
    box-shadow:0 10px 25px rgba(56,189,248,0.4);
}

.btn-primary:hover{
    background:#0ea5e9;
    transform:translateY(-4px);
}

.btn-secondary{
    border:2px solid #38bdf8;
    color:#38bdf8;
}

.btn-secondary:hover{
    background:#38bdf8;
    color:#fff;
    transform:translateY(-4px);
}

/* ================= RIGHT SIDE ================= */
.herooot-right{
    position:relative;
    z-index:2;
    max-width:400px;
}

.herooot-right img{
    width:100%;
    max-width:450px;
    border-radius:20px;
    box-shadow:0 25px 60px rgba(0,0,0,0.6);
    display:block;
}

/* ================= IMAGE OVERLAY ================= */

/* TITLE + NAME ROW */
.overlay-top-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:15px;
    margin-bottom:15px;
}
/* ================= IMAGE OVERLAY ================= */
.image-overlay{
    position:absolute;
    inset:0;
    border-radius:20px;

    display:flex;
    align-items:flex-end;      /* push to bottom */
    justify-content:flex-start; /* align left */

    padding:20px;

    background:linear-gradient(
        to top,
        rgba(0,0,0,0.85),
        rgba(0,0,0,0.4),
        transparent
    );
}

/* SINGLE ROW: TITLE + NAME + WHATSAPP */
.overlay-row{
    display:flex;
    align-items:center;
    gap:20px;
    flex-wrap:wrap;
}

/* Overlay Title */
.overlay-title{
    font-size:20px;
    font-weight:600;
    margin:0;
}

.overlay-title span{
    color:#38bdf8;
}

/* Overlay Name */
.overlay-name{
    font-size:18px;
    color:#38bdf8;
    margin:0;
}

/* Overlay WhatsApp */
.overlay-whatsapp{
    width:45px;
    height:45px;
    background:#25D366;
    color:#fff;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:20px;
    text-decoration:none;
    transition:0.3s ease;
}

.overlay-whatsapp:hover{
    transform:scale(1.1);
    box-shadow:0 10px 25px rgba(37,211,102,0.6);
}

/* ================= ANIMATIONS ================= */
@keyframes bgZoom{
    0%{ background-size:100%; }
    100%{ background-size:110%; }
}

@keyframes floatGlow{
    from{ transform:translateY(0); }
    to{ transform:translateY(30px); }
}

@keyframes fadeUp{
    from{
        opacity:0;
        transform:translateY(40px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* ================= RESPONSIVE ================= */
@media(max-width:992px){
    .herooot{
        flex-direction:column;
        gap:50px;
        padding:80px 20px;
    }

    .herooot-right img{
        max-width:300px;
    }
}

@media(max-width:600px){
    .main-hero-title{
        font-size:34px;
    }

    .main-hero-text{
        font-size:16px;
    }

    .overlay-top-row{
        flex-direction:column;
        align-items:flex-start;
    }

    .overlay-title{
        font-size:18px;
    }

    .overlay-name{
        font-size:16px;
    }

    .herooot-right img{
        max-width:250px;
    }
}






/* ================= SUNDAY SCHOOL ACTIVITIES ================= */
.sundayschool-activities {
  padding: 100px 20px;
  background: #f7f7f9; /* softer background for elegance */
  font-family: 'Open Sans', sans-serif;
  color: #333;
}

.section-header {
  text-align: center;
  margin-bottom: 70px;
}

.section-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: #1a1a1a;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  letter-spacing: 1px;
}

.section-header h1::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #c8a951, #f0d78c);
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
  border-radius: 3px;
}

.section-header p {
  font-size: 17px;
  color: #555;
  line-height: 1.9;
  max-width: 750px;
  margin: 0 auto;
}

/* Grid layout */
.activities-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}

/* Activity Card */
.activity-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 30px 25px;
  flex: 1 1 calc(33% - 30px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}

/* Scroll reveal */
.activity-card.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.6s ease-out, opacity 0.6s ease-out;
}

/* Hover effect */
.activity-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(200,169,81,0.05), rgba(240,215,140,0.05));
  opacity: 0;
  transition: opacity 0.35s ease;
  border-radius: 16px;
}

.activity-card:hover::before {
  opacity: 1;
}

.activity-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

/* Card Typography */
.activity-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: #1a1a1a;
}

.activity-card p,
.activity-card ul {
  color: #555;
  line-height: 1.8;
  font-size: 15.5px;
  margin-bottom: 12px;
}

.activity-card ul {
  padding-left: 22px;
  list-style-type: disc;
}

/* Subtle accent for list items */
.activity-card ul li::marker {
  color: #c8a951;
  font-weight: bold;
}

/* Responsive */
@media (max-width: 992px) {
  .activity-card {
    flex: 1 1 calc(48% - 20px);
    padding: 25px 20px;
  }
}

@media (max-width: 600px) {
  .activity-card {
    flex: 1 1 100%;
    padding: 20px 15px;
  }
}

/* Optional: soft floating animation for luxury feel */
@keyframes floatUp {
  0% { transform: translateY(8px); }
  50% { transform: translateY(0); }
  100% { transform: translateY(8px); }
}

.activity-card:hover {
  animation: floatUp 0.6s ease forwards;
}
/* ================= SUNDAY SCHOOL SLIDESHOW FULL WIDTH ================= */

.slideshow-container {
  width: 100%;             /* full width */
  margin: 80px 0;          /* vertical spacing only */
  position: relative;
  background: #f9fafc;
  padding: 40px 0;         /* top & bottom padding */
  overflow: hidden;
  font-family: 'Open Sans', sans-serif;
}

/* Header - Centered */
.ty h1 {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: #1a1a1a;
  margin-bottom: 15px;
  margin-left: 40%;
  position: relative;
  display: inline-block;
}

.ty h1::after {
  content: "";
  position: absolute;
  bottom: -10px;
 
  transform: translateX(-50%);
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #c8a951, transparent);
  transition: width 0.6s ease;
}

.ty h1:hover::after {
  width: 100%;
}

.slideshow-container p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  font-size: 16px;
  line-height: 1.8;
  color: #666;
}

/* Slides - full width */
.mySlides {
  display: none;
  position: relative;
  overflow: hidden;
  animation: fadeIn 0.8s ease-in-out;
}

.mySlides img {
  width: 100%;      /* full width of section */
  height: auto;     /* auto height to preserve aspect ratio */
  object-fit: cover;
  display: block;
  border-radius: 0; /* remove rounding for full-width effect */
  transition: transform 0.4s ease, filter 0.4s ease;
}

.mySlides img:hover {
  transform: scale(1.03);
  filter: brightness(1.05);
}

/* Number text */
.numbertext {
  position: absolute;
  top: 10px;
  left: 15px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  background: rgba(0,0,0,0.5);
  padding: 4px 10px;
  border-radius: 8px;
}

/* Caption text */
.text {
  color: #fff;
  font-size: 18px;
  padding: 12px 24px;
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  font-weight: 500;
}

/* Prev/Next buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  padding: 16px;
  color: #fff;
  font-weight: bold;
  font-size: 25px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  user-select: none;
  transform: translateY(-50%);
  transition: 0.3s ease;
}

.prev:hover, .next:hover {
  background: #c8a951;
  color: #000;
}

.next { right: 30px; }
.prev { left: 30px; }

/* Dots */
.dot {
  cursor: pointer;
  height: 14px;
  width: 14px;
  margin: 0 4px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.active, .dot:hover {
  background-color: #c8a951;
}

/* Fade animation */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  .mySlides img {
    height: auto;
  }

  .ty h1{
    margin-left: 30%;
  }

  .prev, .next {
    margin-top:30% ;
  }

  .text {
    font-size: 16px;
  }

  .prev, .next {
    font-size: 22px;
    padding: 12px;
  }
}

@media (max-width: 600px) {
  .mySlides img {
    height: auto;
  }

  .prev, .next {
    font-size: 18px;
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .text {
    font-size: 14px;
    padding: 8px 16px;
  }

  .prev, .next {
    padding: 8px;
    font-size: 16px;
  }
}



/* Our history */
/* ================= History================= */
.heroo {
    min-height: 100vh;
    width: 100%;
    background: url("./building/building5.jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 8%;
    color: #fff;
    position: relative;
    overflow: hidden;
    animation: bgZoom 20s ease-in-out infinite alternate;
}



/* LEFT SIDE GRADIENT FADE */
.heroo::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        90deg,
        rgba(15,23,42,0.95) 0%,
        rgba(15,23,42,0.85) 35%,
        rgba(15,23,42,0.5) 60%,
        rgba(15,23,42,0.1) 80%,
        rgba(15,23,42,0) 100%
    );
    z-index:1;
}

/* SOFT GLOW ACCENT */
.heroo::after{
    content:"";
    position:absolute;
    width:500px;
    height:500px;
    background:#38bdf8;
    filter:blur(160px);
    opacity:0.25;
    top:20%;
    left:10%;
    animation:floatGlow 6s ease-in-out infinite alternate;
    z-index:1;
}

/* GLASSMORPHISM CONTENT CARD */
.heroo-content{
    max-width:600px;
    position:relative;
    z-index:2;
    padding:50px;
    border-radius:20px;

    background:rgba(255,255,255,0.05);
    backdrop-filter:blur(20px);
    -webkit-backdrop-filter:blur(20px);

    border:1px solid rgba(255,255,255,0.1);
    box-shadow:0 20px 60px rgba(0,0,0,0.5);

    animation:fadeUp 1s ease forwards;
}

/* HEADLINE */
.heroo h1{
    font-size:56px;
    margin-bottom:20px;
    line-height:1.2;
    font-weight:700;
}

.heroo h1 span{
    color:#38bdf8;
}

/* PARAGRAPH */
.heroo p{
    font-size:18px;
    margin-bottom:40px;
    color:#cbd5e1;
}

/* BUTTONS */
.heroo-buttons{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
}

.btn-primary,
.btn-secondary{
    text-decoration:none;
    padding:14px 30px;
    border-radius:8px;
    font-weight:bold;
    transition:0.3s ease;
}

.btn-primary{
    background:#38bdf8;
    color:#fff;
    box-shadow:0 10px 25px rgba(56,189,248,0.4);
}

.btn-primary:hover{
    background:#0ea5e9;
    transform:translateY(-4px);
}

.btn-secondary{
    border:2px solid #38bdf8;
    color:#38bdf8;
}

.btn-secondary:hover{
    background:#38bdf8;
    color:#fff;
    transform:translateY(-4px);
}


/* BACKGROUND ZOOM ANIMATION */
@keyframes bgZoom{
    0%{
        background-size:100%;
        background-position:center;
    }
    100%{
        background-size:130%;
        background-position:center;
    }
}


/* FADE UP */
@keyframes fadeUp{
    from{
        opacity:0;
        transform:translateY(40px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* FLOATING GLOW */
@keyframes floatGlow{
    from{ transform:translateY(0px); }
    to{ transform:translateY(40px); }
}

/* RESPONSIVE */
@media(max-width:768px){

    .heroo{
        justify-content:center;
        padding:0 20px;
        text-align:center;
    }

    .heroo-content{
        padding:35px;
    }

    .heroo h1{
        font-size:34px;
    }

    .heroo-buttons{
        justify-content:center;
    }
}



/* ================= CONTACT HERO SECTION ================= */
.contact-hero {
  position: relative;
  width: 100vw;
  min-height: 80vh;
  margin-left: calc(-50vw + 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.contact-hero::before,
.contact-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.contact-hero::before {
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.4)),
              url("../Otherimages/contact1.jpg") center/cover no-repeat;
  z-index: -2;
}

.contact-hero::after {
  background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.55));
  z-index: -1;
}

/* ================= CONTAINER ================= */
.contact-hero-container {
  width: 90%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

/* ================= GLASS CARD ================= */
.contact-glass-card {
  background: rgba(0, 0, 0, 0.45); /* dark glass for readability */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 40px 30px;
  max-width: 700px;
  width: 100%;
  text-align: center;
  color: #fff;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}

/* ================= TEXT ================= */
.contact-glass-card h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.contact-glass-card p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #fff;
}

/* ================= BUTTON ================= */
.contact-btn {
  padding: 14px 40px;
  border-radius: 50px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  transition: background 0.3s;
}

.contact-btn:hover {
  background: #0A2940;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 950px) {
  .contact-glass-card h1 {
    font-size: 32px;
  }

  .contact-glass-card p {
    font-size: 16px;
  }

  .contact-glass-card {
    padding: 30px 20px;
  }
}

@media (max-width: 600px) {
  .contact-glass-card h1 {
    font-size: 28px;
  }

  .contact-glass-card p {
    font-size: 14px;
  }

  .contact-btn {
    padding: 12px 30px;
    font-size: 16px;
  }
}




/* 🌸 Wrapper */
    .mu-wrapper {
      max-width: 1100px;
      margin: 60px auto;
      padding: 24px;
      text-align: left;
    }

    /* 🌸 Full Card Container */
    .mu-card.mu-full {
      background: var(--card-bg);
      border-radius: var(--radius);
      padding: 30px;
      box-shadow: 0 8px 20px rgba(20, 20, 20, 0.05);
    }

    /* 🌸 Intro Section */
    .mu-intro-card {
      display: grid;
      grid-template-columns: 360px 1fr;
      gap: 24px;
      align-items: center;
      margin-bottom: 30px;
    }

    .mu-intro-image {
      width: 100%;
      min-height: 220px;
      border-radius: 10px;
      overflow: hidden;
      background: var(--muted);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .mu-intro-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .mu-intro-text h2 {
      color: var(--warm);
      margin-top: 0;
      text-align: left;
    }

    .mu-meta-list {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 12px;
    }

    .mu-meta-item {
      background: #fff;
      border-radius: 10px;
      padding: 10px 12px;
      border: 1px solid #f0e6df;
    }

    .mu-meta-item strong {
      display: block;
      font-size: 0.9rem;
    }

    .mu-meta-item span {
      font-size: 0.85rem;
      color: #666;
    }

    /* 🌸 Content Headings */
    .mu-card h3 {
      color: var(--warm);
      margin-top: 28px;
      margin-bottom: 10px;
      text-align: left;
    }

    .mu-card .co h3{
      text-align: center;
    }

    .mu-card p,
    .mu-card li,
    .mu-card ol,
    .mu-card ul {
      text-align: left;
      color: var(--text);
    }

    /* 🌸 Contacts Section */
    .mu-contacts {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 40px;
      margin-top: 20px;
    }

    .mu-contact-card {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      width: 220px;
      background: #fff;
      padding: 16px;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .mu-contact-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    }

    .mu-contact-card img {
      width: 100%;
      height: 220px;
      border-radius: 10px;
      object-fit: cover;
      margin-bottom: 12px;
    }

    .mu-contact-card h4 {
      margin: 6px 0 4px;
      color: var(--warm);
      font-size: 1rem;
      font-weight: 600;
    }

    .mu-contact-card p {
      margin: 0 0 10px;
      font-size: 0.9rem;
      color: #555;
    }

    /* 🌸 WhatsApp Font Awesome Icon */
    .mu-whatsapp {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: #25d366;
      color: white;
      width: 42px;
      height: 42px;
      border-radius: 50%;
      font-size: 1.4rem;
      text-decoration: none;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .mu-whatsapp:hover {
      transform: scale(1.15);
      box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
    }


    @media (max-width: 880px) {
      .mu-intro-card {
        grid-template-columns: 1fr;
      }

      .mu-intro-image {
        min-height: 260px;
      }

      .mu-contacts {
        flex-direction: column;
        align-items: center;
      }
    }





    /* ================= Mother union Hero ================= */
.herooom {
     min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between; /* ✅ FIXED */
    padding: 0 8%;
    color: #fff;
    background: url("../Otherimages/matherunion.jpeg") center/cover no-repeat;
    animation: bgZoom 20s ease-in-out infinite alternate;
    margin-left: calc(-50vw + 50%);
    width: 100vw;
}

/* DARK OVERLAY */
.herooom::before{
    content:"";
    position:absolute;
    inset:0;
    background: linear-gradient(
        120deg,
        rgba(15,23,42,0.9),
        rgba(15,23,42,0.8),
        rgba(15,23,42,0.7)
    );
    z-index:1;
}

/* BLUE GLOW */
.herooom::after{
    content:"";
    position:absolute;
    width:450px;
    height:450px;
    background:#38bdf8;
    filter:blur(160px);
    opacity:0.2;
    top:15%;
    right:10%;
    animation:floatGlow 6s ease-in-out infinite alternate;
    z-index:1;
}

/* ================= LEFT CONTENT ================= */
.herooom-content{
    max-width:600px;
    position:relative;
    z-index:2;
    animation:fadeUp 1s ease forwards;
}

.main-hero-title{
    font-size:50px;
    margin-bottom:20px;
    line-height:1.2;
    font-weight:700;
    text-align: left;
}

.main-hero-title span{
    color:#38bdf8;
}

.main-hero-text{
    font-size:18px;
    margin-bottom:40px;
    color:#cbd5e1;
    text-align:justify;
}

/* BUTTONS */
.herooom-buttons{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
}

.btn-primary,
.btn-secondary{
    text-decoration:none;
    padding:14px 30px;
    border-radius:8px;
    font-weight:bold;
    transition:0.3s ease;
    display:inline-block;
}

.btn-primary{
    background:#38bdf8;
    color:#fff;
    box-shadow:0 10px 25px rgba(56,189,248,0.4);
}

.btn-primary:hover{
    background:#0ea5e9;
    transform:translateY(-4px);
}

.btn-secondary{
    border:2px solid #38bdf8;
    color:#38bdf8;
}

.btn-secondary:hover{
    background:#38bdf8;
    color:#fff;
    transform:translateY(-4px);
}

/* ================= RIGHT SIDE ================= */
.herooom-right{
    position:relative;
    z-index:2;
    max-width:400px;
}

.herooom-right img{
    width:100%;
    max-width:450px;
    border-radius:20px;
    box-shadow:0 25px 60px rgba(0,0,0,0.6);
    display:block;
}

/* ================= IMAGE OVERLAY ================= */

/* TITLE + NAME ROW */
.overlay-top-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:15px;
    margin-bottom:15px;
}
/* ================= IMAGE OVERLAY ================= */
.image-overlay{
    position:absolute;
    inset:0;
    border-radius:20px;

    display:flex;
    align-items:flex-end;      /* push to bottom */
    justify-content:flex-start; /* align left */

    padding:20px;

    background:linear-gradient(
        to top,
        rgba(0,0,0,0.85),
        rgba(0,0,0,0.4),
        transparent
    );
}

/* SINGLE ROW: TITLE + NAME + WHATSAPP */
.overlay-row{
    display:flex;
    align-items:center;
    gap:20px;
    flex-wrap:wrap;
}

/* Overlay Title */
.overlay-title{
    font-size:20px;
    font-weight:600;
    margin:0;
}

.overlay-title span{
    color:#38bdf8;
}

/* Overlay Name */
.overlay-name{
    font-size:18px;
    color:#38bdf8;
    margin:0;
}

/* Overlay WhatsApp */
.overlay-whatsapp{
    width:45px;
    height:45px;
    background:#25D366;
    color:#fff;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:20px;
    text-decoration:none;
    transition:0.3s ease;
}

.overlay-whatsapp:hover{
    transform:scale(1.1);
    box-shadow:0 10px 25px rgba(37,211,102,0.6);
}

/* ================= ANIMATIONS ================= */
@keyframes bgZoom{
    0%{ background-size:100%; }
    100%{ background-size:110%; }
}

@keyframes floatGlow{
    from{ transform:translateY(0); }
    to{ transform:translateY(30px); }
}

@keyframes fadeUp{
    from{
        opacity:0;
        transform:translateY(40px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* ================= RESPONSIVE ================= */
@media(max-width:992px){
    .herooom{
        flex-direction:column;
        gap:50px;
        padding:80px 20px;
    }

    .herooom-right img{
        max-width:300px;
    }
}

@media(max-width:600px){
    .main-hero-title{
        font-size:34px;
    }

    .main-hero-text{
        font-size:16px;
    }

    .overlay-top-row{
        flex-direction:column;
        align-items:flex-start;
    }

    .overlay-title{
        font-size:18px;
    }

    .overlay-name{
        font-size:16px;
    }

    .herooom-right img{
        max-width:250px;
    }
}









/* ================= Alpha Hero ================= */
.heroooa {
     min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between; /* ✅ FIXED */
    padding: 0 8%;
    color: #fff;
    background: url("../Otherimages/alpha2.png") center/cover no-repeat;
    animation: bgZoom 20s ease-in-out infinite alternate;
    margin-left: calc(-50vw + 50%);
    width: 100vw;
}

/* DARK OVERLAY */
.heroooa::before{
    content:"";
    position:absolute;
    inset:0;
    background: linear-gradient(
        120deg,
        rgba(15,23,42,0.9),
        rgba(15,23,42,0.8),
        rgba(15,23,42,0.7)
    );
    z-index:1;
}

/* BLUE GLOW */
.heroooa::after{
    content:"";
    position:absolute;
    width:450px;
    height:450px;
    background:#38bdf8;
    filter:blur(160px);
    opacity:0.2;
    top:15%;
    right:10%;
    animation:floatGlow 6s ease-in-out infinite alternate;
    z-index:1;
}

/* ================= LEFT CONTENT ================= */
.heroooa-content{
    max-width:600px;
    position:relative;
    z-index:2;
    animation:fadeUp 1s ease forwards;
}

.main-hero-title{
    font-size:50px;
    margin-bottom:20px;
    line-height:1.2;
    font-weight:700;
    text-align: left;
}

.main-hero-title span{
    color:#38bdf8;
}

.main-hero-text{
    font-size:18px;
    margin-bottom:40px;
    color:#cbd5e1;
    text-align:justify;
}

/* BUTTONS */
.heroooa-buttons{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
}

.btn-primary,
.btn-secondary{
    text-decoration:none;
    padding:14px 30px;
    border-radius:8px;
    font-weight:bold;
    transition:0.3s ease;
    display:inline-block;
}

.btn-primary{
    background:#38bdf8;
    color:#fff;
    box-shadow:0 10px 25px rgba(56,189,248,0.4);
}

.btn-primary:hover{
    background:#0ea5e9;
    transform:translateY(-4px);
}

.btn-secondary{
    border:2px solid #38bdf8;
    color:#38bdf8;
}

.btn-secondary:hover{
    background:#38bdf8;
    color:#fff;
    transform:translateY(-4px);
}

/* ================= RIGHT SIDE ================= */
.heroooa-right{
    position:relative;
    z-index:2;
    max-width:400px;
}

.heroooa-right img{
    width:100%;
    max-width:450px;
    border-radius:20px;
    box-shadow:0 25px 60px rgba(0,0,0,0.6);
    display:block;
}

/* ================= IMAGE OVERLAY ================= */

/* TITLE + NAME ROW */
.overlay-top-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:15px;
    margin-bottom:15px;
}
/* ================= IMAGE OVERLAY ================= */
.image-overlay{
    position:absolute;
    inset:0;
    border-radius:20px;

    display:flex;
    align-items:flex-end;      /* push to bottom */
    justify-content:flex-start; /* align left */

    padding:20px;

    background:linear-gradient(
        to top,
        rgba(0,0,0,0.85),
        rgba(0,0,0,0.4),
        transparent
    );
}

/* SINGLE ROW: TITLE + NAME + WHATSAPP */
.overlay-row{
    display:flex;
    align-items:center;
    gap:20px;
    flex-wrap:wrap;
}

/* Overlay Title */
.overlay-title{
    font-size:20px;
    font-weight:600;
    margin:0;
}

.overlay-title span{
    color:#38bdf8;
}

/* Overlay Name */
.overlay-name{
    font-size:18px;
    color:#38bdf8;
    margin:0;
}

/* Overlay WhatsApp */
.overlay-whatsapp{
    width:45px;
    height:45px;
    background:#25D366;
    color:#fff;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:20px;
    text-decoration:none;
    transition:0.3s ease;
}

.overlay-whatsapp:hover{
    transform:scale(1.1);
    box-shadow:0 10px 25px rgba(37,211,102,0.6);
}

/* ================= ANIMATIONS ================= */
@keyframes bgZoom{
    0%{ background-size:100%; }
    100%{ background-size:110%; }
}

@keyframes floatGlow{
    from{ transform:translateY(0); }
    to{ transform:translateY(30px); }
}

@keyframes fadeUp{
    from{
        opacity:0;
        transform:translateY(40px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* ================= RESPONSIVE ================= */
@media(max-width:992px){
    .heroooa{
        flex-direction:column;
        gap:50px;
        padding:80px 20px;
    }

    .heroooa-right img{
        max-width:300px;
    }
}

@media(max-width:600px){
    .main-hero-title{
        font-size:34px;
    }

    .main-hero-text{
        font-size:16px;
    }

    .overlay-top-row{
        flex-direction:column;
        align-items:flex-start;
    }

    .overlay-title{
        font-size:18px;
    }

    .overlay-name{
        font-size:16px;
    }

    .heroooa-right img{
        max-width:250px;
    }
}


/* ================= FAQ PREMIUM ================= */

.faq-section {
  padding: 100px 8%;
  background: linear-gradient(135deg, #0f172a, #1e293b);
}

.faq-container {
  max-width: 900px;
  margin: auto;
}

.faq-title {
  text-align: center;
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 40px;
}

/* Search */
.faq-search {
  text-align: center;
  margin-bottom: 40px;
}

.faq-search input {
  width: 100%;
  max-width: 400px;
  padding: 12px 20px;
  border-radius: 30px;
  border: none;
  outline: none;
  font-size: 1rem;
}

/* Glass Card */
.faq-item {
  margin-bottom: 20px;
  border-radius: 15px;
  backdrop-filter: blur(15px);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  overflow: hidden;
  transition: 0.3s ease;
}

/* Question */
.faq-question {
  width: 100%;
  padding: 20px 25px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.1rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

/* Arrow */
.faq-question::after {
  content: "+";
  position: absolute;
  right: 25px;
  font-size: 1.5rem;
  transition: 0.3s ease;
}

.faq-item.active .faq-question::after {
  content: "−";
}

/* Answer */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}

.faq-answer p {
  padding: 0 25px 20px;
  color: #e2e8f0;
  line-height: 1.7;
}

/* When Active */
.faq-item.active .faq-answer {
  opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .faq-title {
    font-size: 2rem;
  }

  .faq-question {
    font-size: 1rem;
  }
}



/* ===== Scroll to Top Button ===== */
.scroll-top-btn {
  position: fixed;              /* stay in place */
  bottom: 30px;                 /* distance from bottom */
  right: 30px;                  /* distance from right */
  z-index: 1000;                /* above everything */
  background-color: #038b0e;    /* green background */
  color: #fff;                  /* white arrow */
  border: none;                 /* remove default border */
  border-radius: 50%;           /* circular button */
  width: 50px;                  /* width */
  height: 50px;                 /* height */
  font-size: 24px;              /* arrow size */
  cursor: pointer;              /* pointer on hover */
  box-shadow: 0 4px 10px rgba(0,0,0,0.3); /* subtle shadow */
  transition: background 0.3s, transform 0.3s;
  display: flex;                /* center arrow */
  align-items: center;
  justify-content: center;
}

/* Hover effect */
.scroll-top-btn:hover {
  background-color: #026100;    /* darker green */
  transform: translateY(-3px);  /* slight lift */
}

/* Responsive for mobile */
@media (max-width: 600px) {
  .scroll-top-btn {
    width: 45px;
    height: 45px;
    font-size: 20px;
    bottom: 20px;
    right: 20px;
  }
}

/* Optional: make AOS fade/slide even smoother */
[data-aos] {
  transition-property: transform, opacity;
  transition-timing-function: ease-in-out;
  transition-duration: 1.5s; /* match JS duration */
}





































