/* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

/* Background Video */
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: -2;
}

/* Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: -1;
}

/* Content */
.hero-content {
  height: 100%;
  max-width: 900px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #ffffff;
}

/* Slides */
.hero-slide {
  display: none;
  animation: fade 1s ease-in-out;
}

.hero-slide.active {
  display: block;
}

.hero-slide h1 {
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.hero-slide p {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Buttons */
.hero-buttons {
  margin-top: 30px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-buttons .btn {
  padding: 12px 26px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: 0.3s;
}

/* Primary Button */
.btn-primary {
  background: #542120;
  border: 2px solid white;
  color: #ffffff;
}

.btn-primary:hover {
  background: #c29a2d;
}

/* Outline Button */
.btn-outline {
  border: 2px solid #ffffff;
  color: #ffffff;
}

.btn-outline:hover {
  background: #ffffff;
  color: #000;
}

/* Animation */
@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-slide h1 {
    font-size: 2.1rem;
  }

  .hero-slide p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-section {
    height: 90vh;
  }

  .hero-buttons {
    flex-direction: column;
  }
}



/* ================= WELCOME SECTION ================= */
.welcome-section {
  background: #8b0000;
  padding: 80px 0;
  color: #fff;
}

.welcome-image img {
  max-width: 100%;
  height: auto;
}

/* Content */
.welcome-content h2 {
  font-size: 36px;
  letter-spacing: 3px;
  margin-bottom: 20px;
  color: #f5e1a4;
}

.welcome-content p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 40px;
  color: #f7f2e8;
}

/* Quick links */
.quick-links .quick-box {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  cursor: pointer;
  transition: 0.3s ease;
}

.quick-links .quick-box:hover {
  transform: translateX(5px);
}

.quick-box .icon {
  font-size: 34px;
  margin-right: 15px;
  color: #f5e1a4;
}

.quick-box h4 {
  margin: 0;
  font-size: 20px;
  color: #ffffff;
}

.quick-box span {
  font-size: 14px;
  color: #f1e6c9;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .welcome-section {
    text-align: center;
  }

  .quick-links .quick-box {
    justify-content: center;
  }

  .quick-box .icon {
    margin-right: 10px;
  }
}


/* ===== ABOUT SECTION ===== */
.about-section {
  padding: 90px 0;
  background: #ffffff;
}

.about-content {
  padding-right: 30px;
}

.about-subtitle {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #8b0000;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  position: relative;
}

.about-subtitle::before {
  content: "";
  width: 40px;
  height: 2px;
  background: #8b0000;
  display: inline-block;
  margin-right: 10px;
  vertical-align: middle;
}

.about-title {
  font-size: 38px;
  font-weight: 600;
  color: #111;
  margin-bottom: 20px;
}

.about-text {
  font-size: 15.5px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 16px;
}

/* Button */
.about-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 12px 28px;
  background: #8b0000;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.about-btn span {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.about-btn:hover {
  background: #d4af37;
  color: #000;
}

.about-btn:hover span {
  transform: translateX(5px);
}

/* Image */
.about-image {
  text-align: right;
}

.about-image img {
  max-width: 85%;
  height: auto;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .about-section {
    padding: 60px 0;
  }

  .about-content {
    padding-right: 0;
    margin-bottom: 40px;
    text-align: center;
  }

  .about-subtitle::before {
    display: none;
  }

  .about-image {
    text-align: center;
  }

  .about-image img {
    max-width: 70%;
  }
}

@media (max-width: 576px) {
  .about-title {
    font-size: 28px;
  }

  .about-text {
    font-size: 14.5px;
  }
}



/* ===== MASS TIMINGS SECTION ===== */
.mass-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #DFA285, #EEC35D);
}

.mass-image {
  text-align: left;
}

.mass-image img {
  width: 100%;
  max-width: 520px;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(84, 33, 32, 0.25);
}

.mass-content {
  padding-left: 40px;
}

.mass-subtitle {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 2px;
  font-weight: 600;
  color: #542120;
  margin-bottom: 10px;
}

.mass-title {
  font-size: 40px;
  font-weight: 600;
  color: #542120;
  margin-bottom: 18px;
}

.mass-description {
  font-size: 15.5px;
  color: #542120;
  line-height: 1.8;
  margin-bottom: 25px;
}

/* Timing Box */
.mass-timing-box {
  background: #ffffff;
  border-left: 5px solid #C47926;
  padding: 25px 30px;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(84, 33, 32, 0.15);
  margin-bottom: 30px;
}

.timing-item {
  margin-bottom: 15px;
}

.timing-item:last-child {
  margin-bottom: 0;
}

.timing-item h5 {
  font-size: 16px;
  font-weight: 600;
  color: #C47926;
  margin-bottom: 4px;
}

.timing-item p {
  font-size: 15px;
  color: #542120;
  margin: 0;
}

/* Button */
.mass-btn {
  display: inline-block;
  padding: 13px 32px;
  background: #542120;
  color: #fff;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.mass-btn:hover {
  background: #C47926;
  color: #fff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .mass-section {
    padding: 70px 0;
  }

  .mass-content {
    padding-left: 0;
    margin-top: 40px;
    text-align: center;
  }

  .mass-image {
    text-align: center;
  }

  .mass-image img {
    max-width: 90%;
  }

  .mass-timing-box {
    text-align: left;
  }
}

@media (max-width: 576px) {
  .mass-title {
    font-size: 30px;
  }

  .mass-description {
    font-size: 14.5px;
  }
}


/* ===== EVENTS SECTION ===== */
.events-section {
  padding: 90px 0;
  background: #ffffff;
}

/* Section Header */
.section-header {
  margin-bottom: 60px;
}

.section-subtitle {
  font-size: 13px;
  font-weight: 600;
  color: #C47926;
  letter-spacing: 1.5px;
}

.section-title {
  font-size: 38px;
  color: #542120;
  margin: 10px 0;
  font-weight: 600;
}

.section-desc {
  font-size: 15px;
  color: #666;
  max-width: 650px;
  margin: 0 auto;
}

/* Event Card */
.event-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  margin-bottom: 30px;
  transition: all 0.4s ease;
}

.event-card:hover {
  transform: translateY(-8px);
}

/* Image */
.event-img {
  position: relative;
  overflow: hidden;
}

.event-img img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.event-card:hover .event-img img {
  transform: scale(1.08);
}

/* Date Badge */
.event-date {
  position: absolute;
  top: 15px;
  left: 15px;
  background: linear-gradient(135deg, #EEC35D, #C47926);
  color: #542120;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
}

/* Content */
.event-content {
  padding: 22px;
}

.event-content h4 {
  font-size: 18px;
  color: #542120;
  margin-bottom: 10px;
  font-weight: 600;
}

.event-time {
  font-size: 14px;
  color: #777;
}

.event-time i {
  color: #C47926;
  margin-right: 6px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .section-title {
    font-size: 30px;
  }
}

@media (max-width: 576px) {
  .event-img img {
    height: 200px;
  }
}



/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
  padding: 90px 0;
  background: linear-gradient(180deg, #f9f2e9, #ffd4d4);
}

/* Testimonial Card */
.testimonial-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 35px 30px;
  position: relative;
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
  margin-bottom: 30px;
  transition: all 0.4s ease;
  border-top: 4px solid #EEC35D;
}

.testimonial-card:hover {
  transform: translateY(-8px);
}

/* Highlight middle card */
.testimonial-card.highlight {
  border-top-color: #C47926;
}

/* Quote Icon */
.quote-icon {
  font-size: 60px;
  color: #DFA285;
  position: absolute;
  top: 15px;
  right: 25px;
  line-height: 1;
}

/* Text */
.testimonial-text {
  font-size: 15.5px;
  color: #555;
  line-height: 1.9;
  margin-bottom: 25px;
  font-style: italic;
}

/* Author */
.testimonial-author h5 {
  font-size: 16px;
  color: #542120;
  margin-bottom: 2px;
  font-weight: 600;
}

.testimonial-author span {
  font-size: 13px;
  color: #C47926;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .testimonial-card {
    padding: 30px 25px;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 28px;
  }

  .testimonial-text {
    font-size: 14.5px;
  }
}


/* ===== SOCIAL MEDIA SECTION ===== */
.social-section {
  padding: 80px 0;
  background: #ffffff;
}

/* Social Card */
.social-card {
  display: block;
  text-align: center;
  background: #fff;
  border-radius: 18px;
  padding: 25px 15px;
  margin-bottom: 30px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  text-decoration: none;
  transition: all 0.4s ease;
}

.social-card img {
  width: 100%;
  max-width: 160px;
  border-radius: 14px;
  margin-bottom: 15px;
  transition: transform 0.4s ease;
}

.social-card span {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #542120;
}

/* Hover Effects */
.social-card:hover {
  transform: translateY(-8px);
}

.social-card:hover img {
  transform: scale(1.05);
}

.social-card:hover span {
  color: #C47926;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 576px) {
  .social-card img {
    max-width: 120px;
  }

  .social-card span {
    font-size: 14px;
  }
}


/* ===== QUICK DONATION SECTION ===== */
.donation-section {
  padding: 80px 0;
  background: linear-gradient(
    135deg,
    #EEC35D,
    #DFA285
  );
}

.donation-box {
  max-width: 850px;
  margin: auto;
  background: #ffffff;
  padding: 55px 40px;
  border-radius: 22px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.12);
}

/* Subtitle */
.donation-subtitle {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: #C47926;
  margin-bottom: 12px;
}

/* Title */
.donation-title {
  font-size: 36px;
  font-weight: 600;
  color: #542120;
  margin-bottom: 18px;
}

/* Text */
.donation-text {
  font-size: 15.5px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 30px;
}

/* Donate Button */
.donate-btn {
  display: inline-block;
  padding: 14px 40px;
  background: #542120;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.35s ease;
}

.donate-btn:hover {
  background: #C47926;
  color: #ffffff;
  transform: translateY(-3px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .donation-box {
    padding: 40px 25px;
  }

  .donation-title {
    font-size: 28px;
  }

  .donation-text {
    font-size: 14.5px;
  }
}



/* ===== GALLERY SECTION ===== */
.gallery-section {
  padding: 90px 0;
  background: #ffffff;
}

/* Gallery Item */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  margin-bottom: 30px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}

.gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* Hover Effect */
.gallery-item:hover img {
  transform: scale(1.08);
}

/* Soft Overlay */
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(84,33,32,0.0),
    rgba(84,33,32,0.25)
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .gallery-item img {
    height: 230px;
  }
}

@media (max-width: 576px) {
  .gallery-item img {
    height: 200px;
  }
}



.contact-section {
    background-color: #f1e6e6;
}

.contact-title {
    font-weight: 700;
    color: #222;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-item i {
    font-size: 22px;
    color: #542120;
    margin-top: 4px;
}

.contact-item h6 {
    margin-bottom: 3px;
    font-weight: 600;
}

.contact-item p {
    margin: 0;
    color: #555;
    font-size: 15px;
}

.map-box {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.map-box iframe {
    width: 100%;
    height: 300px;
    border: 0;
}


/* ===== FOOTER ===== */
.site-footer {
  background: #542120;
  padding: 70px 0 30px;
  color: #f3e9df;
}

/* Footer Columns */
.footer-col {
  margin-bottom: 40px;
}

.footer-title {
  font-size: 18px;
  font-weight: 600;
  color: #EEC35D;
  margin-bottom: 20px;
  position: relative;
}

.footer-title::after {
  content: "";
  width: 35px;
  height: 2px;
  background: #C47926;
  display: block;
  margin-top: 8px;
}

/* Text */
.footer-text {
  font-size: 14.5px;
  line-height: 1.8;
  color: #e6d7c8;
}

.footer-text.small {
  margin-top: 15px;
  font-size: 13.5px;
}

/* Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #e6d7c8;
  font-size: 14.5px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: #EEC35D;
  padding-left: 5px;
}

/* Social Icons */
.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #EEC35D;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: #EEC35D;
  color: #542120;
}

/* Bottom Footer */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px;
  margin-top: 20px;
}

.footer-bottom p {
  font-size: 13.5px;
  color: #e6d7c8;
  margin: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .site-footer {
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }
}


/* Inner Banner */
.inner-banner {
  position: relative;
  width: 100%;
  min-height: 320px;
  background: url('../images/pqeGsSLpeccEsfEjkDxgFVCcoUeKb5dkONaNwOvE.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
}

.inner-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(84, 33, 32, 0.705),
    rgba(84, 33, 32, 0.452)
  );
}

/* Content */
.inner-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

.page-title {
  font-size: 48px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.breadcrumb-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.breadcrumb-nav a {
  color: #EEC35D;
  text-decoration: none;
  transition: 0.3s;
}

.breadcrumb-nav a:hover {
  color: #DFA285;
}

.breadcrumb-nav span {
  color: #fff;
}

.breadcrumb-nav .active {
  color: #DFA285;
}

/* Responsive */
@media (max-width: 768px) {
  .inner-banner {
    min-height: 240px;
  }

  .page-title {
    font-size: 32px;
  }

  .breadcrumb-nav {
    font-size: 13px;
  }
}


/* ===== ABOUT SHRINE SECTION ===== */
.about-shrine {
  padding: 90px 0;
  background: #fff;
}

/* Content */
.about-content {
  padding-right: 30px;
}

.about-subtitle {
  display: inline-block;
  color: #C47926;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.about-title {
  font-size: 42px;
  font-weight: 600;
  color: #542120;
  margin-bottom: 20px;
}

.about-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 15px;
}

/* Button */
.about-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 32px;
  background: linear-gradient(135deg, #EEC35D, #C47926);
  color: #542120;
  font-weight: 600;
  text-decoration: none;
  border-radius: 30px;
  transition: all 0.4s ease;
}

.about-btn:hover {
  background: linear-gradient(135deg, #DFA285, #C47926);
  color: #542120;
  transform: translateY(-2px);
}

/* Image */
.about-image {
  position: relative;
  text-align: center;
}

.about-image img {
  max-width: 100%;
  border-radius: 18px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

/* Decorative Border */
.about-image::before {
  
  position: absolute;
  inset: -15px;
  border-radius: 22px;
  z-index: -1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .about-content {
    padding-right: 0;
    margin-bottom: 40px;
    text-align: center;
  }

  .about-title {
    font-size: 34px;
  }
}

@media (max-width: 576px) {
  .about-title {
    font-size: 28px;
  }

  .about-content p {
    font-size: 15px;
  }
}


/* ===== PARISH COUNCIL SECTION ===== */
.parish-council {
  padding: 90px 0;
  background: linear-gradient(180deg, #fff, #f9f5ef);
}

/* Heading */
.section-heading span {
  color: #C47926;
  font-weight: 600;
  letter-spacing: 1px;
}

.section-heading h2 {
  font-size: 40px;
  color: #542120;
  margin-top: 10px;
  margin-bottom: 40px;
}

/* Table Wrapper */
.council-table-wrap {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  padding: 20px;
}

/* Table */
.council-table {
  margin-bottom: 0;
  border-collapse: separate;
  border-spacing: 0;
}

.council-table thead {
  background: linear-gradient(135deg, #EEC35D, #DFA285);
}

.council-table thead th {
  color: #542120;
  font-weight: 600;
  border: none;
  padding: 15px;
}

.council-table tbody tr {
  transition: all 0.3s ease;
}

.council-table tbody tr:hover {
  background: rgba(238, 195, 93, 0.15);
}

.council-table td {
  padding: 15px;
  color: #333;
  border-top: 1px solid #eee;
  vertical-align: middle;
}

/* Number Column */
.council-table td:first-child {
  font-weight: 600;
  color: #C47926;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .section-heading h2 {
    font-size: 30px;
  }

  .council-table th,
  .council-table td {
    font-size: 14px;
    padding: 12px;
  }
}



/* ===== CONTACT PAGE ===== */
.contactpage {
  padding: 100px 0;
  background: #fff;
}

/* Header */
.contact-header span {
  color: #C47926;
  font-weight: 600;
  letter-spacing: 1px;
}

.contact-header h2 {
  color: #542120;
  font-size: 36px;
  margin: 10px 0;
}

.contact-header p {
  color: #555;
  max-width: 650px;
  margin: 0 auto 60px;
}

/* Contact Info Box */
.contact-info {
  background: linear-gradient(135deg, #DFA285, #EEC35D);
  padding: 40px;
  border-radius: 20px;
  height: 100%;
  box-shadow: 0 25px 60px rgba(0,0,0,0.08);
}

.info-box {
  margin-bottom: 25px;
}

.info-box h5 {
  font-size: 16px;
  color: #542120;
  margin-bottom: 6px;
  font-weight: 600;
}

.info-box p,
.info-box a {
  color: #3a1f1f;
  font-size: 15px;
  text-decoration: none;
  line-height: 1.6;
}

/* Emergency Highlight */
.info-box.highlight {
  background: rgba(84,33,32,0.08);
  padding: 15px;
  border-radius: 12px;
}

/* WhatsApp Button */
.contact-actions {
  margin-top: 30px;
}

.btn-whatsapp {
  display: inline-block;
  background: #542120;
  color: #EEC35D;
  padding: 14px 26px;
  border-radius: 30px;
  font-weight: 600;
  transition: 0.4s;
}

.btn-whatsapp:hover {
  background: #C47926;
  color: #fff;
  text-decoration: none;
}

/* Map */
.contact-map {
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,0.08);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 450px;
  border: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .contact-info {
    margin-bottom: 30px;
  }
}

@media (max-width: 575px) {
  .contact-header h2 {
    font-size: 28px;
  }

  .contact-info {
    padding: 30px;
  }
}

/* ===== PRELOADER ===== */
#preloader {
  position: fixed;
  inset: 0;
  background: #542120;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

.preloader-content {
  position: relative;
  text-align: center;
  padding: 20px;
}

/* Divine Light */
.divine-light {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(238,195,93,0.6), rgba(238,195,93,0.2), transparent 70%);
  transform: translate(-50%, -50%);
  filter: blur(10px);
  animation: glow 2.5s ease-in-out infinite;
}

/* Logo */
.preloader-logo {
  position: relative;
  max-width: 140px;
  opacity: 0;
  transform: scale(0.8);
  animation: logoAppear 2.5s ease forwards;
  animation-delay: 0.5s;
  z-index: 2;
}

/* Text */
.preloader-content h2 {
  margin-top: 25px;
  color: #EEC35D;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 1px;
  opacity: 0;
  animation: textFade 1.5s ease forwards;
  animation-delay: 2s;
}

/* Animations */
@keyframes logoAppear {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes textFade {
  to {
    opacity: 1;
  }
}

@keyframes glow {
  0% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(0.9);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.05);
  }
  100% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(0.9);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 576px) {
  .divine-light {
    width: 200px;
    height: 200px;
  }

  .preloader-logo {
    max-width: 110px;
  }

  .preloader-content h2 {
    font-size: 18px;
  }
}




/* ===== SPIRITUAL SPACES ===== */
.spiritual-spaces {
  padding: 100px 0;
  background: #fdf8f2;
}

.scroll-wrapper {
  background: linear-gradient(to bottom, #fff7e6, #f3e2c7);
  border-radius: 30px;
  padding: 60px 40px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.08);
  position: relative;
}

/* Scroll edges effect */
.scroll-wrapper::before,
.scroll-wrapper::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 18px;
  background: #e6cda3;
  left: 0;
}

.scroll-wrapper::before {
  top: -10px;
  border-radius: 20px 20px 0 0;
}

.scroll-wrapper::after {
  bottom: -10px;
  border-radius: 0 0 20px 20px;
}

/* Header */
.scroll-header {
  text-align: center;
  margin-bottom: 60px;
}

.scroll-header h2 {
  color: #542120;
  font-size: 36px;
  margin-bottom: 10px;
}

.scroll-header p {
  color: #6a4b2c;
  max-width: 700px;
  margin: auto;
}

/* Space Item */
.space-item {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  gap: 40px;
}

.space-item.reverse {
  flex-direction: row-reverse;
}

.space-text {
  flex: 1;
}

.space-text h3 {
  color: #542120;
  font-size: 24px;
  margin-bottom: 10px;
}

.space-text p {
  color: #5b3b2e;
  line-height: 1.7;
}

.space-image {
  flex: 1;
}

.space-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  transition: transform 0.5s ease;
}

.space-item:hover img {
  transform: scale(1.04);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .space-item,
  .space-item.reverse {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 575px) {
  .scroll-wrapper {
    padding: 40px 20px;
  }

  .scroll-header h2 {
    font-size: 28px;
  }

  .space-text h3 {
    font-size: 20px;
  }
}



/* ===== CALENDAR SECTION ===== */
.church-calendar {
  padding: 90px 0;
  background: #fff;
}

/* Header */
.calendar-header {
  text-align: center;
  margin-bottom: 50px;
}

.calendar-header h2 {
  color: #542120;
  font-size: 36px;
  margin-bottom: 8px;
}

.calendar-header p {
  color: #666;
  margin-bottom: 15px;
}

.calendar-month {
  color: #C47926;
  font-weight: 600;
  letter-spacing: 1px;
}

/* Calendar Grid */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

/* Day Card */
.calendar-day {
  background: linear-gradient(135deg, #fff8ea, #f3e1c5);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  transition: 0.4s ease;
  position: relative;
}

.calendar-day:hover {
  transform: translateY(-6px);
}

/* Date */
.calendar-day .date {
  font-size: 28px;
  font-weight: 700;
  color: #542120;
  display: block;
  margin-bottom: 8px;
}

/* Event */
.calendar-day .event {
  font-size: 15px;
  color: #5b3b2e;
  line-height: 1.5;
}

/* Highlight Sundays / Important */
.calendar-day.special {
  border-left: 6px solid #C47926;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .calendar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .calendar-header h2 {
    font-size: 28px;
  }

  .calendar-grid {
    grid-template-columns: 1fr;
  }

  .calendar-day {
    text-align: center;
  }

  .calendar-day .date {
    font-size: 32px;
  }
}



/* ===== PROGRAMS SECTION ===== */
.church-programs {
  padding: 100px 0;
  background: #fdf8f2;
}

/* Header */
.programs-header h2 {
  font-size: 36px;
  color: #542120;
  margin-bottom: 10px;
}

.programs-header p {
  color: #666;
  margin-bottom: 60px;
}

/* Subsection */
.program-block {
  text-align: center;
  margin-bottom: 70px;
}

.program-block h3 {
  font-size: 26px;
  color: #C47926;
  margin-bottom: 30px;
}

/* Grid */
.program-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
}

/* Card */
.program-card {
  background: linear-gradient(135deg, #fff8ea, #f3e1c5);
  border-radius: 20px;
  padding: 30px 25px;
  max-width: 300px;
  text-align: center;
  box-shadow: 0 18px 45px rgba(0,0,0,0.08);
  transition: 0.4s ease;
}

.program-card:hover {
  transform: translateY(-6px);
}

/* Date */
.program-date {
  font-size: 42px;
  font-weight: 700;
  color: #542120;
  display: block;
  margin-bottom: 10px;
}

/* Title */
.program-card h4 {
  font-size: 18px;
  color: #542120;
  margin-bottom: 10px;
}

/* Description */
.program-card p {
  font-size: 14px;
  color: #5b3b2e;
  margin-bottom: 15px;
  line-height: 1.6;
}

/* Time */
.program-card small {
  font-size: 13px;
  color: #7a5a3a;
}

/* Highlight */
.program-card.highlight {
  border-top: 5px solid #C47926;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 575px) {
  .programs-header h2 {
    font-size: 28px;
  }

  .program-block h3 {
    font-size: 22px;
  }

  .program-card {
    max-width: 100%;
  }
}


/* ===== ANNOUNCEMENTS & NEWS ===== */
.announcements-news {
  padding: 100px 0;
  background: #fdf8f2;
}

/* Header */
.notice-header h2 {
  color: #542120;
  font-size: 36px;
  margin-bottom: 8px;
}

.notice-header p {
  color: #666;
  margin-bottom: 40px;
}

/* Menu */
.notice-menu {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 60px;
}

.notice-menu button {
  background: #EEC35D;
  color: #542120;
  border: none;
  padding: 12px 22px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.notice-menu button:hover {
  background: #C47926;
  color: #fff;
}

/* Notice Board */
.notice-board {
  max-width: 900px;
  margin: auto;
}

/* Section */
.notice-section {
  margin-bottom: 70px;
}

.notice-section h3 {
  font-size: 26px;
  color: #542120;
  margin-bottom: 25px;
  border-left: 6px solid #C47926;
  padding-left: 15px;
}

/* Card */
.notice-card {
  background: #fff;
  padding: 18px 22px;
  border-radius: 14px;
  margin-bottom: 15px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  position: relative;
}

.notice-card p {
  color: #5b3b2e;
  margin: 0;
  line-height: 1.6;
}

/* Date Label */
.notice-date {
  font-size: 13px;
  font-weight: 600;
  color: #C47926;
  display: block;
  margin-bottom: 6px;
}

/* Emergency */
.notice-section.emergency h3 {
  color: #8b1e1e;
  border-color: #8b1e1e;
}

.notice-card.urgent {
  background: #fff0f0;
  border-left: 6px solid #8b1e1e;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 575px) {
  .notice-header h2 {
    font-size: 28px;
  }

  .notice-section h3 {
    font-size: 22px;
  }

  .notice-menu button {
    width: 100%;
    text-align: center;
  }
}


/* ===== BISHOP MESSAGE ===== */
.bishop-message {
  padding: 100px 0;
  background: #fdf8f2;
}

.bishop-wrapper {
  display: flex;
  align-items: center;
  gap: 50px;
}

/* Text */
.bishop-content {
  flex: 1;
}

.bishop-label {
  display: inline-block;
  color: #C47926;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.bishop-name {
  font-size: 34px;
  color: #542120;
  margin-bottom: 5px;
}

.bishop-designation {
  font-size: 18px;
  color: #7a5a3a;
  margin-bottom: 20px;
}

.bishop-content p {
  color: #5b3b2e;
  line-height: 1.8;
  margin-bottom: 15px;
  max-width: 650px;
}

/* Image */
.bishop-photo {
  flex: 0 0 320px;
}

.bishop-photo img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .bishop-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .bishop-photo {
    order: -1; /* Image comes on top */
    margin-bottom: 30px;
  }

  .bishop-content p {
    max-width: 100%;
  }
}

@media (max-width: 575px) {
  .bishop-name {
    font-size: 26px;
  }

  .bishop-designation {
    font-size: 16px;
  }
}


/* ===== MASS TIMING POPUP ===== */
.mastime {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.mastime.active {
  display: block;
}

/* Overlay */
.mastime-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  animation: fadeIn 0.4s ease;
}

/* Popup Box */
.mastime-box {
  position: relative;
  max-width: 900px;
  margin: 60px auto;
  background: #fff;
  border-radius: 20px;
  padding: 40px 30px;
  z-index: 2;
  animation: slideUp 0.5s ease;
}

/* Close Button */
.mastime-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 32px;
  background: none;
  border: none;
  color: #542120;
  cursor: pointer;
}

/* Logo */
.mastime-logo {
  text-align: center;
  margin-bottom: 15px;
}

.mastime-logo img {
  max-width: 90px;
}

/* Heading */
.mastime h2 {
  text-align: center;
  color: #542120;
  margin-bottom: 30px;
}

/* Content */
.mastime-content {
  display: flex;
  gap: 30px;
}

.mastime-section {
  flex: 1;
  background: #fdf5ea;
  padding: 25px;
  border-radius: 15px;
}

.mastime-section h3 {
  color: #C47926;
  margin-bottom: 5px;
}

.mastime-section span {
  font-size: 14px;
  color: #777;
}

.mastime-section ul {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}

.mastime-section li {
  padding: 6px 0;
  color: #542120;
}

/* Responsive */
@media (max-width: 768px) {
  .mastime-content {
    flex-direction: column;
  }

  .mastime-box {
    margin: 30px 15px;
  }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}



/* ===== CHURCH LEADERSHIP ===== */
.church-leadership {
  padding: 80px 0;
  background: #fdf6ec;
  text-align: center;
}

.section-title {
  font-size: 36px;
  color: #542120;
  margin-bottom: 50px;
}

.leadership-group {
  margin-bottom: 60px;
}

.group-title {
  font-size: 26px;
  color: #C47926;
  margin-bottom: 35px;
}

/* Card */
.leader-card {
  background: #ffffff;
  padding: 25px 20px 30px;
  border-radius: 18px;
  margin-bottom: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.leader-card:hover {
  transform: translateY(-6px);
}

/* Featured First Priest */
.leader-card-featured {
  transform: scale(1.08);
  border: 2px solid #EEC35D;
}

/* Current Priest */
.leader-card-current {
  border: 2px solid #C47926;
}

/* Image */
.leader-card img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 18px;
}

/* Name */
.leader-card h4 {
  font-size: 20px;
  color: #542120;
  margin-bottom: 6px;
}

/* Years */
.leader-card .years {
  font-size: 15px;
  color: #777;
}

/* Responsive */
@media (max-width: 768px) {
  .leader-card-featured {
    transform: none;
  }

  .leader-card img {
    width: 140px;
    height: 140px;
  }
}


/* ===== VISION & MISSION ===== */
.vision-mission {
  padding: 90px 0;
  background: linear-gradient(180deg, #fffaf3, #fdf3e6);
  text-align: center;
}

.vision-mission .section-title {
  font-size: 36px;
  color: #542120;
  margin-bottom: 60px;
}

/* Card */
.vm-card {
  background: #ffffff;
  padding: 45px 30px;
  border-radius: 20px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.08);
  height: 100%;
  transition: all 0.4s ease;
}

.vm-card:hover {
  transform: translateY(-8px);
}

/* Icon */
.vm-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
}

/* Vision */
.vision-card .vm-icon {
  background: #EEC35D;
  color: #542120;
}

/* Mission */
.mission-card .vm-icon {
  background: #DFA285;
  color: #542120;
}

/* Headings */
.vm-card h3 {
  font-size: 26px;
  color: #C47926;
  margin-bottom: 18px;
}

/* Text */
.vm-card p {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
}

/* Responsive */
@media (max-width: 768px) {
  .vision-mission {
    padding: 60px 0;
  }

  .vision-mission .section-title {
    font-size: 30px;
    margin-bottom: 40px;
  }

  .vm-card {
    margin-bottom: 30px;
  }
}

/* ===== WORSHIP & SACRAMENTS ===== */
.worship-sacraments {
  padding: 90px 0;
  background: #fffaf3;
  text-align: center;
}

.worship-sacraments .section-title {
  font-size: 36px;
  color: #542120;
  margin-bottom: 60px;
}

.ws-subsection {
  margin-bottom: 70px;
}

.sub-title {
  font-size: 26px;
  color: #C47926;
  margin-bottom: 40px;
}

/* Card */
.ws-card {
  display: block;
  background: #ffffff;
  border-radius: 18px;
  padding: 20px;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  height: 100%;
}

.ws-card:hover {
  transform: translateY(-6px);
}

/* Image */
.ws-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 18px;
}

/* Title */
.ws-card h4 {
  font-size: 20px;
  color: #542120;
  margin-bottom: 10px;
}

/* Text */
.ws-card p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .worship-sacraments {
    padding: 60px 0;
  }

  .ws-card img {
    height: 190px;
  }
}


/* ===== DEVOTIONS TO INFANT JESUS ===== */
.devotions-infant-jesus {
  padding: 90px 0;
  background: #fffaf3;
  text-align: center;
}

.devotions-infant-jesus .section-title {
  font-size: 36px;
  color: #542120;
  margin-bottom: 60px;
}

/* Devotion Block */
.devotion-block {
  max-width: 900px;
  margin: 0 auto 60px;
  padding: 0 15px;
}

.devotion-block h3 {
  font-size: 26px;
  color: #C47926;
  margin-bottom: 15px;
}

.devotion-block p {
  font-size: 16px;
  color: #555;
  line-height: 1.8;
}

/* Image Section */
.devotion-image img {
  width: 80%;
  max-height: auto;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 25px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

/* Responsive */
@media (max-width: 768px) {
  .devotions-infant-jesus {
    padding: 60px 0;
  }

  .devotions-infant-jesus .section-title {
    font-size: 30px;
  }

  .devotion-block h3 {
    font-size: 22px;
  }

  .devotion-image img {
    max-height: 300px;
  }
}


/* ===== PRAYER INTENTIONS ===== */
.prayer-intentions {
  padding: 90px 0;
  background: linear-gradient(180deg, #fffaf3, #fdf1e3);
  text-align: center;
}

.prayer-intentions .section-title {
  font-size: 36px;
  color: #542120;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 16px;
  color: #666;
  margin-bottom: 50px;
}

/* Form */
.prayer-form {
  background: #ffffff;
  padding: 40px 35px;
  border-radius: 22px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  text-align: left;
}

/* Labels */
.prayer-form label {
  font-weight: 600;
  color: #542120;
  margin-bottom: 6px;
}

/* Inputs */
.prayer-form .form-control {
  border-radius: 10px;
  border: 1px solid #ddd;
  padding: 12px 14px;
  font-size: 15px;
}

.prayer-form .form-control:focus {
  border-color: #C47926;
  box-shadow: none;
}

/* Checkbox */
.form-check-label {
  color: #555;
  font-size: 14px;
}

/* Faith Note */
.faith-note {
  background: #fdf5ea;
  padding: 15px;
  border-radius: 12px;
  margin: 25px 0;
  text-align: center;
}

.faith-note p {
  font-style: italic;
  color: #542120;
  margin: 0;
}

/* Button */
.prayer-btn {
  background: linear-gradient(135deg, #C47926, #EEC35D);
  color: #fff;
  border: none;
  padding: 14px 40px;
  font-size: 16px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.prayer-btn:hover {
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
  .prayer-form {
    padding: 30px 20px;
  }

  .prayer-intentions .section-title {
    font-size: 30px;
  }
}

#loadertoo {
  position: fixed;
  inset: 0;
  background: #542120;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: hideLoader 0.15s ease forwards;
  animation-delay: 0.15s;
}

.loader-inner {
  width: 42px;
  height: 42px;
  border: 3px solid rgba(255,255,255,0.2);
  border-top: 3px solid #EEC35D;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

/* Spin */
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Auto-hide */
@keyframes hideLoader {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .loader-inner {
    width: 34px;
    height: 34px;
  }
}

/* Default (Desktop & Tablet) */
.bishop-photo p {
  margin: 6px 0;
  text-align: center;
  color: #542120;
}

.bishop-name {
  font-size: 18px;
  font-weight: 600;
}

.bishop-designation {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.4px;
  color: #6b4a2f;
}

/* ===== MOBILE VIEW ===== */
@media (max-width: 576px) {

  .bishop-photo p {
    white-space: nowrap;        /* single line */
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .bishop-name {
    font-weight: 700;            /* bold name */
    font-size: 16px;
  }

  .bishop-designation {
    font-weight: 400;            /* normal but professional */
    font-size: 14px;
    letter-spacing: 0.3px;
  }
}


/* ===== NOTICE POPUP ===== */
.notice-popup {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 99999;
  font-family: "Poppins", "Segoe UI", sans-serif;
}

.notice-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}

/* Popup Box */
.notice-box {
  position: relative;
  max-width: 600px;
  width: 90%;
  background: #fffdf8;
  margin: 80px auto;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,.25);
  overflow: hidden;
  animation: popupFade 0.5s ease;
}

/* Header */
.notice-headere {
  background: #5a1f1f;
  color: #fff;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.notice-logo img {
  width: 45px;
  height: auto;
}

.notice-headere h3 {
  flex: 1;
  margin: 0;
  font-size: 20px;
  letter-spacing: 1px;
}

.notice-close {
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}

/* Content */
.notice-content {
  padding: 20px;
  max-height: 300px;
  overflow-y: auto;
}

.notice-content ul {
  padding-left: 20px;
  margin: 0;
}

.notice-content li {
  margin-bottom: 12px;
  font-size: 15px;
  color: #333;
}

/* Animation */
@keyframes popupFade {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ===== MOBILE ===== */
@media (max-width: 576px) {
  .notice-box {
    margin: 40px auto;
  }

  .notice-content {
    max-height: 240px;
  }

  .notice-headere h3 {
    font-size: 18px;
  }
}

