/* --------------------- General Styles --------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body,
html {
  height: 100%;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f2f2f2;
}

/* --------------------- Navbar --------------------- */
.navbar-brand {
  font-weight: bold;
}

.nav-link {
  font-size: 1rem;
}

.dropdown-menu {
  font-size: 0.95rem;
}

/* --------------------- Carousel --------------------- */
.carousel-item {
  height: 500px;
}

/* --------------------- Devotion Cards --------------------- */
.card {
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

/* --------------------- Section Headings --------------------- */
.section-heading {
  font-size: 2.5rem;
  font-weight: bold;
  color: #222;
  text-align: center;
  margin: 40px 0 20px;
}

/* --------------------- Hero Section --------------------- */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.hero-overlay h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero-overlay p {
  font-size: 1.2rem;
  max-width: 600px;
}

/* --------------------- Image Scroller --------------------- */
.auto-scroll-wrapper {
  position: relative;
  overflow: hidden;
}

.auto-scroll {
  display: flex;
  animation: scroll-loop 40s linear infinite;
}

@keyframes scroll-loop {
  0% {
    transform: translateX(0);
  }
  100% {
    /* scroll only the first half (original images) */
    transform: translateX(-50%);
  }
}

.auto-scroll:hover {
  animation-play-state: paused;
}

/* Hide scrollbar (cross‑browser) */
.auto-scroll {
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE */
}

.auto-scroll::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

/* Individual Card */
.modern-card {
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 0 4px; /* replaces Bootstrap gap */
  flex: 0 0 auto;
}

.modern-card:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.image-hover {
  transition: transform 0.4s ease;
}

.modern-card:hover .image-hover {
  transform: scale(1.05);
}

/* Tag‑style Captions */
.caption-tag {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0.5rem;
  padding: 0.25rem 0.75rem;
  background: #ffc107;
  color: #212529;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  pointer-events: none;
  user-select: none;
  opacity: 0.9;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

/* --------------------- Countdown Section --------------------- */
.event-countdown-section {
  position: relative;
  text-align: center;
  padding: 60px 20px;
  color: #fff;
  background: transparent;
}

.countdown-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 30px;
  text-shadow: 0 0 5px #000;
}

#countdown {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin: 0 auto;
  max-width: 100%;
  padding: 10px;
}

#countdown div {
  min-width: 80px;
  padding: 20px 15px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  backdrop-filter: blur(4px);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
}

#countdown span {
  display: block;
  font-size: 2rem;
  font-weight: bold;
}

#countdown small {
  display: block;
  margin-top: 5px;
  font-size: 0.85rem;
}

/* --------------------- Social Links --------------------- */
.social-links {
  margin-top: 30px;
}

.social-links a {
  font-size: 1.5rem;
  margin: 0 10px;
  color: royalblue;
  transition: transform 0.3s, color 0.3s;
}

.social-links a:hover {
  color: goldenrod;
  transform: scale(1.2);
}

.social-links a:active {
  color: red;
}

/* --------------------- Back to Top Button --------------------- */
#backToTopBtn {
  position: fixed;
  bottom: 30px;
  right: 20px;
  z-index: 999;
  padding: 14px;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  background-color: #007bff;
  color: #fff;
  cursor: pointer;
  display: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

#backToTopBtn:hover {
  background-color: #0056b3;
  transform: scale(1.1);
}

/* --------------------- WhatsApp Floating Button --------------------- */
.whatsapp-float {
  position: fixed;
  bottom: 100px; /* keep above back‑to‑top */
  right: 20px;
  z-index: 1000;
  padding: 16px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  font-size: 26px;
  text-align: center;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* --------------------- Animations --------------------- */
@keyframes fadeBounceIn {
  0% {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
  }
  60% {
    opacity: 1;
    transform: translateY(-10px) scale(1.05);
  }
  80% {
    transform: translateY(5px) scale(1);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

.animated-fade-bounce {
  animation: fadeBounceIn 1s ease-out forwards;
}

/* --------------------- Subscribe Form --------------------- */
.subscribe-form {
  max-width: 600px;
  margin: 0 auto;
  border: 1px solid #e0e0e0;
  background: #f9f9f9;
  border-radius: 12px;
  transition: box-shadow 0.3s ease-in-out;
}

.subscribe-form:hover {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.subscribe-form input[type="email"] {
  min-width: 240px;
  border-radius: 8px;
}

.subscribe-form button {
  border-radius: 8px;
  transition: background-color 0.3s ease-in-out;
}

.subscribe-form button:hover {
  background-color: #0056b3;
}

/* --------------------- Responsive --------------------- */
@media (max-width: 768px) {
  .hero-overlay h1 {
    font-size: 2rem;
  }
  .hero-overlay p {
    font-size: 1rem;
  }
  .section-heading {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  #countdown div {
    min-width: 70px;
    padding: 15px 10px;
  }
  #countdown span {
    font-size: 1.5rem;
  }
  #countdown small {
    font-size: 0.75rem;
  }
  .countdown-title {
    font-size: 1.5rem;
  }
}
/* Glass-style Navbar */
.glass-navbar {
  background: rgba(0, 0, 0, 0.7) !important;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Navbar Links */
.nav-link {
  position: relative;
  color: #f8f9fa !important;
  transition: all 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  background: goldenrod;
  bottom: -4px;
  left: 0;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Dropdown Animation */
.animate-dropdown {
  animation: fadeInDown 0.3s ease both;
  border-radius: 12px;
  background-color: #1f1f1f;
}

.dropdown-item {
  color: #fff;
}

.dropdown-item:hover {
  background-color: #343a40;
  color: goldenrod;
}

@keyframes fadeInDown {
  0% { opacity: 0; transform: translateY(-10px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Hero Text Enhancements */
.hero-caption-box h1,
.hero-caption-box p {
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
}

/* Responsive Tweaks */
@media (max-width: 768px) {
  .hero-caption-box h1 {
    font-size: 1.8rem;
  }

  .hero-caption-box p {
    font-size: 1rem;
  }

  .navbar-toggler {
    padding: 0.6rem;
  }
}
.event-countdown-section {
  background: linear-gradient(to right, #0c1e61, #1e3c72);
  overflow: hidden;
  position: relative;
}

.image-tile-grid {
  opacity: 0.05;
  z-index: 0;
  background-size: contain;
  background-repeat: repeat;
}

.countdown-boxes .countdown-box {
  background-color: rgba(255, 255, 255, 0.1);
  border: 2px solid #d4af37;
  border-radius: 10px;
  padding: 20px;
  width: 100px;
  transition: transform 0.3s ease;
}

.countdown-box:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.countdown-box span {
  display: block;
  font-size: 2.5rem;
  font-weight: bold;
  color: #fff;
  text-shadow: 2px 2px 5px #000;
}

.countdown-box small {
  font-size: 1rem;
  color: #f8f9fa;
}

.text-shadow {
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

/* Social Media Icons */
.social-icons .icon-link {
  color: #d4af37;
  font-size: 1.5rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons .icon-link:hover {
  color: #fff;
  transform: scale(1.2);
}

.event-countdown-section {
  position: relative;
  background: linear-gradient(to right top, #0c1e61, #1a2a6c, #1c4670);
  overflow: hidden;
  padding: 5rem 1rem;
}

.floating-layers::before,
.floating-layers::after {
  content: '';
  position: absolute;
  width: 150%;
  height: 150%;
  background: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.05) 1px,
    transparent 1px,
    transparent 20px
  );
  animation: floatGrid 20s linear infinite;
  z-index: 0;
  top: -25%;
  left: -25%;
}

.floating-layers::after {
  animation-direction: reverse;
  opacity: 0.1;
}

@keyframes floatGrid {
  0% { transform: rotate(0deg) translate(0, 0); }
  100% { transform: rotate(360deg) translate(0, 0); }
}

/* Countdown boxes */
.countdown-box {
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid #d4af37;
  border-radius: 12px;
  padding: 1.5rem 1rem;
  min-width: 90px;
  text-align: center;
  backdrop-filter: blur(8px);
  color: white;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}
.countdown-box:hover {
  transform: translateY(-6px);
}

.countdown-box span {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
}

.countdown-box small {
  font-size: 0.9rem;
  color: #f8f9fa;
}

/* Social Icons */
.social-icons a {
  color: #d4af37;
  font-size: 1.5rem;
  transition: 0.3s ease;
}
.social-icons a:hover {
  color: #fff;
  transform: scale(1.2);
}
.testimonial-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.star-rating {
  color: #FFD700; /* Golden color */
  font-size: 1.5rem; /* Adjust size as needed */
  letter-spacing: 2px; /* Optional: space out stars a bit */
}

.fb-video,
.fb-video > span,
.fb-video iframe {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}
