/* =========================================================
   JEEVA NADI MINISTRIES
   MAIN STYLESHEET
   ---------------------------------------------------------
   Theme:
   Navy  : #001f54
   Dark  : #061a40
   Blue  : #0d47a1
   Gold  : #d4af37
   Light : #f8f9fc
   White : #ffffff
   Text  : #333333
========================================================= */


/* =========================================================
   1. ROOT VARIABLES
========================================================= */

:root {
  --navy: #001f54;
  --dark-navy: #061a40;
  --blue: #0d47a1;
  --gold: #d4af37;
  --gold-light: #ffd700;
  --gold-soft: #ffdf70;

  --white: #ffffff;
  --light: #f8f9fc;
  --light-blue: #eef5ff;
  --gray: #555555;
  --dark-gray: #333333;

  --danger: #e53935;
  --whatsapp: #25d366;

  --glass: rgba(255, 255, 255, 0.12);

  --shadow-sm: 0 8px 20px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 15px 35px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 25px 60px rgba(0, 0, 0, 0.20);

  --radius-sm: 10px;
  --radius-md: 20px;
  --radius-lg: 25px;
  --radius-xl: 30px;

  --transition: 0.35s ease;
}


/* =========================================================
   2. GLOBAL RESET
========================================================= */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  background: var(--white);
  color: var(--dark-gray);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

section {
  width: 100%;
}

hr {
  margin: 20px 0;
  border: 0;
  border-top: 1px solid #ddd;
}


/* =========================================================
   3. COMMON BUTTONS
========================================================= */

.btn,
.primary-btn,
.contact-btn,
.quiz-register-btn,
#registerBtn,
#payButton {
  display: inline-block;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-weight: 700;
  border-radius: 50px;
  transition: var(--transition);
}

.btn {
  padding: 14px 32px;
}

.primary-btn,
#registerBtn {
  padding: 15px 40px;
  background: linear-gradient(
    45deg,
    var(--gold),
    var(--gold-soft)
  );
  color: #000;
}

.primary-btn:hover,
#registerBtn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5);
}

#registerBtn:disabled {
  background: #777;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}


/* =========================================================
   4. HEADER / NAVIGATION
========================================================= */

header {
  display: flex;
  justify-content: space-between;
  align-items: center;

  position: sticky;
  top: 0;
  z-index: 1000;

  padding: 18px 50px;

  background: rgba(0, 31, 84, 0.94);
  backdrop-filter: blur(10px);

  color: var(--white);

  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);

  transition: var(--transition);
}

header:hover {
  background: rgba(0, 31, 84, 0.98);
}

header .logo {
  display: flex;
  align-items: center;
}

header .logo img {
  width: auto;
  height: 50px;
  margin-right: 10px;
  transition: var(--transition);
}

header .logo img:hover {
  transform: scale(1.1) rotate(5deg);
}

header .logo h2 {
  margin: 0;
  font-family: "Cinzel", serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 2px;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

header nav ul {
  display: flex;
  align-items: center;
  gap: 20px;

  list-style: none;
  margin: 0;
  padding: 0;
}

header nav ul li {
  position: relative;
}

header nav ul li a {
  position: relative;

  display: inline-block;
  padding: 8px 5px;

  color: var(--white);
  text-decoration: none;

  font-size: 17px;
  font-weight: 600;
  letter-spacing: 1px;

  transition: var(--transition);
}

header nav ul li a::after {
  content: "";

  position: absolute;
  left: 0;
  bottom: -5px;

  width: 0;
  height: 3px;

  background: var(--gold-light);
  border-radius: 50px;

  transition: var(--transition);
}

header nav ul li a:hover {
  color: var(--gold-light);
  text-shadow: 0 0 10px var(--gold-light);
}

header nav ul li a:hover::after {
  width: 100%;
}


/* =========================================================
   5. HERO SECTION
========================================================= */

.hero {
  min-height: 100vh;

  display: flex;
  justify-content: center;
  align-items: center;

  position: relative;
  overflow: hidden;

  padding: 80px 20px;

  text-align: center;
  color: var(--white);

  background:
    linear-gradient(
      rgba(0, 0, 0, 0.55),
      rgba(0, 0, 0, 0.55)
    ),
    url("../images/hero-banner.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::before {
  content: "";

  position: absolute;

  width: 400px;
  height: 400px;

  top: 10%;
  left: 10%;

  background: var(--gold-light);
  opacity: 0.15;

  border-radius: 50%;
  filter: blur(100px);

  animation: glowMove 8s infinite alternate;
}

.hero-content {
  max-width: 900px;

  position: relative;
  z-index: 2;

  padding: 60px;

  border-radius: var(--radius-lg);

  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);

  border: 1px solid rgba(255, 255, 255, 0.2);

  box-shadow: var(--shadow-lg);

  animation: heroAppear 1.2s ease;
}

.hero-content h1 {
  font-family: "Cinzel", serif;
  font-size: 55px;
  font-weight: 700;

  line-height: 1.2;
  letter-spacing: 4px;

  background:
    linear-gradient(
      90deg,
      var(--gold-light),
      var(--white),
      var(--gold-light)
    );

  background-size: 200%;

  -webkit-background-clip: text;
  background-clip: text;

  -webkit-text-fill-color: transparent;

  text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);

  animation:
    slideDown 1s ease,
    textGlow 5s infinite;
}

.hero-content p {
  max-width: 800px;
  margin: 20px auto 35px;

  font-size: 20px;
  line-height: 1.8;

  color: var(--white);

  animation: fadeUp 1.2s ease;
}

.hero-buttons {
  animation: slideUp 1.5s ease;
}

.hero-buttons .btn {
  margin: 8px;

  background: linear-gradient(
    45deg,
    var(--gold-light),
    #ffb300
  );

  color: var(--navy);

  box-shadow: 0 10px 25px rgba(255, 193, 7, 0.4);
}

.hero-buttons .btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(255, 193, 7, 0.45);
}

.hero-buttons .btn-secondary {
  background: linear-gradient(
    90deg,
    var(--navy),
    var(--blue)
  );

  color: var(--white);
}

.hero-buttons .btn-secondary:hover {
  background: linear-gradient(
    45deg,
    var(--gold-light),
    #ffb300
  );

  color: var(--navy);
}


/* =========================================================
   6. WELCOME SECTION
========================================================= */

.welcome {
  position: relative;
  overflow: hidden;

  padding: 80px 8%;

  text-align: center;

  background: var(--light);
}

.welcome h2,
.about-text h2,
.sermons h2,
.testimonies h2,
.books h2,
.events h2,
.contact h2 {
  position: relative;

  font-family: "Cinzel", serif;
  font-size: 42px;
  font-weight: 700;

  text-transform: uppercase;
  letter-spacing: 3px;

  margin-bottom: 40px;
}

.welcome h2,
.events h2 {
  color: var(--gold);
}

.welcome h2::after,
.about-text h2::after,
.sermons h2::after,
.testimonies h2::after,
.books h2::after,
.events h2::after,
.contact h2::after {
  content: "";

  display: block;

  width: 90px;
  height: 4px;

  margin: 15px auto 0;

  background: linear-gradient(
    90deg,
    var(--gold-light),
    var(--blue)
  );

  border-radius: 50px;
}

.welcome p {
  max-width: 850px;

  margin: 0 auto;

  font-size: 19px;
  line-height: 1.9;

  color: var(--gray);
}

.welcome::before {
  content: "";

  position: absolute;

  width: 250px;
  height: 250px;

  top: -100px;
  right: -80px;

  background: var(--gold);
  opacity: 0.08;

  border-radius: 50%;
}

.welcome::after {
  content: "";

  position: absolute;

  width: 200px;
  height: 200px;

  bottom: -80px;
  left: -50px;

  background: var(--blue);
  opacity: 0.05;

  border-radius: 50%;
}


/* =========================================================
   7. ABOUT SECTION
========================================================= */

.about {
  position: relative;
  overflow: hidden;

  padding: 80px 8%;

  background: #f9f9f9;
}

.about-container {
  max-width: 1100px;
  margin: auto;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 50px;

  flex-wrap: wrap;
}

.about-text,
.about-image {
  flex: 1;
  min-width: 300px;
}

.about-text {
  padding: 20px;
}

.about-text h2 {
  color: var(--blue);
}

.about-text h2::after {
  margin-left: 0;
}

.about-text p {
  margin-bottom: 15px;

  font-size: 18px;
  line-height: 1.9;

  color: var(--gray);
}

.about-image {
  text-align: center;
}

.about-image img {
  width: 100%;

  border-radius: var(--radius-xl);

  box-shadow: var(--shadow-lg);

  transition: 0.5s ease;
}

.about-image img:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 35px 70px rgba(13, 71, 161, 0.35);
}

.about::after {
  content: "";

  position: absolute;

  width: 300px;
  height: 300px;

  right: -100px;
  bottom: -100px;

  background: var(--blue);
  opacity: 0.06;

  border-radius: 50%;
}
/* =========================================================
   8. PASTOR SECTION
   ---------------------------------------------------------
   • White background
   • Section heading above pastor content
   • Pastor image on left
   • Pastor information on right
   • Gold Learn More button
   • Responsive layout
========================================================= */

.pastor-section {
    position: relative;
    overflow: hidden;

    width: 100%;
    padding: 90px 8% 100px;

    background: #ffffff;
    color: var(--navy);
}


/* =========================================================
   SECTION HEADING
========================================================= */

.pastor-section > h2 {
    width: 100%;

    margin: 0 auto 65px;

    text-align: center;

    font-family: "Cinzel", serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;

    line-height: 1.2;

    color: var(--navy);
}


/* GOLD LINE UNDER HEADING */

.pastor-section > h2::after {
    content: "";

    display: block;

    width: 90px;
    height: 4px;

    margin: 18px auto 0;

    background: var(--gold-light);

    border-radius: 50px;
}


/* =========================================================
   MAIN PASTOR CONTAINER
========================================================= */

.pastor-container {
    width: 100%;
    max-width: 1300px;

    margin: 0 auto;

    display: flex;
    align-items: center;

    gap: 75px;

    flex-wrap: nowrap;
}


/* =========================================================
   IMAGE SIDE
========================================================= */

.pastor-image {
    flex: 1 1 50%;

    min-width: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;
}


.pastor-image img {
    display: block;

    width: 100%;
    max-width: 430px;
    height: auto;

    margin: 0 auto;

    border-radius: var(--radius-xl);

    box-shadow: var(--shadow-lg);

    object-fit: cover;

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}


.pastor-image img:hover {
    transform: scale(1.025);

    box-shadow: var(--shadow-lg);
}


/* =========================================================
   CONTENT SIDE
========================================================= */

.pastor-content {
    flex: 1 1 50%;

    min-width: 0;

    display: flex;
    flex-direction: column;

    align-items: flex-start;

    text-align: left;
}


/* =========================================================
   SENIOR PASTOR BADGE
========================================================= */

.pastor-content .badge {
    display: inline-flex;

    align-items: center;

    margin: 0 0 20px;

    padding: 10px 22px;

    background:
        linear-gradient(
            45deg,
            var(--gold-light),
            #ffb300
        );

    color: var(--navy);

    border-radius: 40px;

    font-weight: 700;

    letter-spacing: 0.8px;

    box-shadow: var(--shadow-sm);
}


/* =========================================================
   PASTOR NAME
========================================================= */

.pastor-content h3 {
    margin: 0 0 22px;

    font-family: "Poppins", sans-serif;

    font-size: clamp(34px, 4vw, 48px);

    font-weight: 700;

    line-height: 1.25;

    background:
        linear-gradient(
            90deg,
            var(--navy),
            var(--blue),
            var(--gold)
        );

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;
}


/* =========================================================
   BIBLE VERSE
========================================================= */

.pastor-content .verse {
    width: 100%;

    margin: 0 0 25px;

    padding: 16px 20px;

    background: #f8f9fc;

    border-left: 5px solid var(--gold-light);

    border-radius: var(--radius-sm);

    box-shadow: var(--shadow-sm);

    font-style: italic;

    font-size: 18px;

    line-height: 1.7;

    color: #555555;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.pastor-content > p:not(.verse) {
    width: 100%;

    margin: 0;

    font-size: 17px;

    line-height: 1.85;

    color: #444444;
}


/* =========================================================
   PASTOR FEATURES
========================================================= */

.pastor-features {
    width: 100%;

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 16px;

    margin: 32px 0 25px;
}


.pastor-features div {
    position: relative;

    overflow: hidden;

    padding: 17px 18px 17px 22px;

    background: #f8f9fc;

    border-radius: 15px;

    color: var(--navy);

    font-weight: 600;

    line-height: 1.4;

    box-shadow: var(--shadow-sm);

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        color 0.3s ease,
        box-shadow 0.3s ease;
}


/* GOLD LEFT ACCENT */

.pastor-features div::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 5px;
    height: 100%;

    background: var(--gold-light);

    border-radius: 15px 0 0 15px;
}


/* FEATURE HOVER */

.pastor-features div:hover {
    background: var(--blue);

    color: #ffffff;

    transform: translateY(-5px);

    box-shadow: var(--shadow-md);
}


/* =========================================================
   LEARN MORE BUTTON
========================================================= */

.pastor-content .btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    margin-top: 10px;

    padding: 14px 30px;

    border: none;

    border-radius: 50px;

    background:
        linear-gradient(
            45deg,
            var(--gold-light),
            #ffb300
        );

    color: var(--navy);

    font-family: "Poppins", sans-serif;

    font-size: 16px;

    font-weight: 700;

    text-decoration: none;

    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.12);

    cursor: pointer;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        color 0.3s ease,
        box-shadow 0.3s ease;
}


/* LEARN MORE HOVER */

.pastor-content .btn:hover {
    background: var(--navy);

    color: #ffffff;

    transform: translateY(-3px);

    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.18);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .pastor-section {
        padding: 75px 6% 85px;
    }


    .pastor-section > h2 {
        margin-bottom: 50px;
    }


    .pastor-container {
        gap: 50px;
    }


    .pastor-content h3 {
        font-size: 38px;
    }


    .pastor-content > p:not(.verse) {
        font-size: 16px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .pastor-section {
        padding: 65px 5% 75px;
    }


    .pastor-section > h2 {
        margin-bottom: 40px;

        font-size: 32px;
    }


    .pastor-container {
        flex-direction: column;

        gap: 40px;

        align-items: center;
    }


    .pastor-image,
    .pastor-content {
        width: 100%;
        flex: none;
    }


    .pastor-image img {
        max-width: 380px;
    }


    .pastor-content {
        align-items: center;

        text-align: center;
    }


    .pastor-content h3 {
        font-size: 34px;
    }


    .pastor-content .verse {
        text-align: left;
    }


    .pastor-content > p:not(.verse) {
        text-align: center;
    }


    .pastor-features {
        grid-template-columns: 1fr;

        width: 100%;
    }


    .pastor-content .btn {
        margin-top: 10px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .pastor-section {
        padding: 55px 20px 65px;
    }


    .pastor-section > h2 {
        font-size: 28px;
    }


    .pastor-image img {
        max-width: 100%;
    }


    .pastor-content h3 {
        font-size: 30px;
    }


    .pastor-content .verse {
        font-size: 16px;

        padding: 14px 16px;
    }


    .pastor-content > p:not(.verse) {
        font-size: 15px;

        line-height: 1.75;
    }


    .pastor-features div {
        padding: 15px 16px 15px 21px;

        font-size: 15px;
    }


    .pastor-content .btn {
        padding: 13px 27px;

        font-size: 15px;
    }

}


/* =========================================================
   9. SERMONS
========================================================= */

.sermons {
  position: relative;
  overflow: hidden;

  padding: 90px 8%;

  background: var(--white);
}

.sermons h2,
.books h2,
.testimonies h2,
.contact h2 {
  text-align: center;
  color: var(--blue);
}

.sermons-container,
.books-container,
.testimonies-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;

  gap: 30px;
}

.sermon-card,
.book-card,
.testimony-card {
  position: relative;
  overflow: hidden;

  background: var(--white);

  border-radius: 22px;

  box-shadow: var(--shadow-md);

  transition: 0.4s ease;
}

.sermon-card {
  width: 350px;
  cursor: pointer;

  text-decoration: none;
  color: var(--dark-gray);
}

.sermon-card::before,
.book-card::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 6px;

  background: linear-gradient(
    90deg,
    var(--gold-light),
    var(--blue)
  );

  z-index: 2;
}

.sermon-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.sermon-card img {
  width: 100%;
  height: 220px;

  object-fit: cover;

  border-radius: 15px;

  transition: 0.5s ease;
}

.sermon-card:hover img {
  transform: scale(1.08);
}

.sermon-card h3 {
  margin: 20px 20px 10px;

  font-family: "Cinzel", serif;
  font-size: 24px;

  color: var(--navy);
}

.sermon-card p {
  margin: 0 20px 20px;

  font-size: 16px;

  color: var(--gray);
}


/* =========================================================
   10. SERMON PAGE
========================================================= */

.sermon-hero {
  padding: 120px 8% 80px;

  text-align: center;

  background:
    linear-gradient(
      135deg,
      #0b1d3a,
      var(--navy)
    );

  color: var(--white);
}

.sermon-hero h1 {
  font-family: "Cinzel", serif;

  font-size: 52px;

  letter-spacing: 1px;

  margin-bottom: 20px;
}

.sermon-hero p {
  max-width: 750px;
  margin: auto;

  font-size: 18px;
  line-height: 1.8;

  opacity: 0.9;
}

.sermon-tools {
  padding: 50px 8%;

  text-align: center;

  background: var(--light);
}

#sermonSearch {
  width: 70%;
  max-width: 600px;

  padding: 18px 25px;

  border: 1px solid #ddd;
  border-radius: 50px;

  outline: none;

  font-size: 16px;

  transition: 0.3s;
}

#sermonSearch:focus {
  border-color: var(--gold);

  box-shadow:
    0 0 15px rgba(201, 162, 39, 0.3);
}

.category-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;

  gap: 15px;

  margin-top: 30px;
}

.filter-btn {
  padding: 12px 25px;

  border: none;
  border-radius: 30px;

  background: #0b1d3a;

  color: var(--white);

  cursor: pointer;

  transition: 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gold);
  color: #0b1d3a;
}

.sermon-section {
  padding: 80px 7%;

  background: var(--white);
}

.sermon-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 35px;
}

.sermon-image {
  position: relative;

  aspect-ratio: 1 / 1;

  overflow: hidden;
}

.sermon-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: 0.6s;
}

.play-overlay {
  position: absolute;
  inset: 0;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  background: rgba(0, 0, 0, 0.45);

  opacity: 0;

  transition: 0.4s;
}

.sermon-card:hover .play-overlay {
  opacity: 1;
}

.play-circle {
  width: 85px;
  height: 85px;

  display: flex;
  justify-content: center;
  align-items: center;

  padding-left: 6px;

  border-radius: 50%;

  background: var(--gold);

  color: var(--white);

  font-size: 35px;

  animation: pulse 1.5s infinite;
}

.play-overlay span {
  margin-top: 15px;

  color: var(--white);

  font-size: 18px;
  font-weight: 600;
}

.sermon-content {
  padding: 25px;
}

.sermon-tag {
  display: inline-block;

  padding: 6px 15px;

  background: var(--gold);

  color: #0b1d3a;

  border-radius: 20px;

  font-size: 13px;
  font-weight: 600;

  margin-bottom: 15px;
}

.sermon-content h3 {
  font-family: "Cinzel", serif;

  color: #0b1d3a;

  font-size: 25px;

  margin-bottom: 15px;
}

.speaker {
  color: #b71c1c;

  font-weight: 600;
}

.date {
  margin-top: 10px;

  color: #777;

  font-size: 14px;
}


/* =========================================================
   11. TESTIMONIES
========================================================= */

.testimonies {
  position: relative;
  overflow: hidden;

  padding: 90px 8%;

  background: linear-gradient(
    135deg,
    #f9fbff,
    var(--light-blue)
  );
}

.testimony-card {
  width: 350px;

  padding: 35px;

  border-radius: var(--radius-lg);
}

.testimony-card::before {
  content: "“";

  position: absolute;

  top: -25px;
  left: 20px;

  font-family: Georgia, serif;

  font-size: 100px;
  font-weight: bold;

  color: var(--gold-light);

  opacity: 0.8;
}

.testimony-card::after {
  content: "";

  position: absolute;

  bottom: 0;
  left: 0;

  width: 100%;
  height: 5px;

  background: linear-gradient(
    90deg,
    var(--gold-light),
    var(--blue)
  );
}

.testimony-card p {
  margin-top: 25px;

  font-style: italic;

  font-size: 17px;
  line-height: 1.9;

  color: var(--gray);
}

.testimony-card h4 {
  margin-top: 25px;

  font-family: "Cinzel", serif;

  color: var(--blue);

  font-size: 20px;
}

.testimony-card:hover {
  transform: translateY(-12px);

  box-shadow:
    0 30px 60px rgba(13, 71, 161, 0.25);
}


/* =========================================================
   12. BOOKS
========================================================= */

.books {
  position: relative;
  overflow: hidden;

  padding: 90px 8%;

  background: linear-gradient(
    135deg,
    var(--white),
    #f3f7ff
  );
}

.book-card {
  width: 330px;

  padding: 28px;
}

.book-card img {
  width: 100%;
  height: 330px;

  object-fit: contain;

  padding: 20px;

  margin-bottom: 15px;

  border-radius: 15px;

  background: #fafafa;

  transition: 0.5s ease;
}

.book-card h3 {
  margin-bottom: 10px;

  font-family: "Cinzel", serif;

  color: var(--navy);

  font-size: 24px;
}

.book-card p {
  margin-bottom: 15px;

  color: var(--gray);

  font-size: 16px;

  line-height: 1.8;
}

.book-card .btn {
  background: linear-gradient(
    45deg,
    var(--gold-light),
    #ffb300
  );

  color: var(--navy);
}

.book-card:hover {
  transform: translateY(-15px);

  box-shadow:
    0 30px 60px rgba(13, 71, 161, 0.25);
}

.book-card:hover img {
  transform: scale(1.08);
}

.youtube-link {
  display: inline-block;

  margin-top: 40px;

  padding: 14px 32px;

  border-radius: 30px;

  background: linear-gradient(
    45deg,
    var(--gold-light),
    #ffb300
  );

  color: var(--navy);

  font-size: 18px;
  font-weight: 600;

  text-decoration: none;

  box-shadow: var(--shadow-sm);

  transition: 0.3s;
}

.youtube-link:hover {
  transform: translateY(-4px);

  background: linear-gradient(
    45deg,
    var(--navy),
    var(--blue)
  );

  color: var(--white);
}


/* =========================================================
   13. EVENTS
========================================================= */

.events {
  position: relative;
  overflow: hidden;

  width: 100%;

  padding: 90px 8% 70px;

  background: var(--navy);

  color: var(--white);
}

.events h2 {
  color: var(--gold-light);
}

.events-container {
  max-width: 1200px;

  margin: auto;

  display: flex;
  justify-content: center;
  align-items: stretch;

  gap: 35px;

  flex-wrap: wrap;
}

.event-card {
  position: relative;
  overflow: hidden;

  width: 320px;

  padding: 35px 30px;

  text-align: center;

  background: var(--white);

  color: var(--navy);

  border-radius: var(--radius-lg);

  box-shadow: var(--shadow-md);

  transition: 0.5s ease;
}

.event-card::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 7px;

  background: linear-gradient(
    90deg,
    var(--gold-light),
    var(--blue)
  );
}

.event-card h3 {
  margin: 15px 0 10px;

  font-family: "Cinzel", serif;

  font-size: 26px;

  color: var(--navy);
}

.event-card p {
  font-size: 16px;

  color: var(--gray);

  line-height: 1.9;
}

.event-card:hover {
  transform: translateY(-15px);

  background: var(--blue);

  color: var(--gold-light);

  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.3);
}

.event-card:hover h3,
.event-card:hover p {
  color: var(--white);
}

.events::after {
  content: "";

  position: absolute;

  bottom: 0;
  left: 50%;

  transform: translateX(-50%);

  width: 90%;
  height: 4px;

  background: linear-gradient(
    90deg,
    var(--gold-light),
    var(--gold)
  );

  border-radius: 50px;

  box-shadow:
    0 0 10px rgba(255, 215, 0, 0.5);
}

.bible-quiz::after {
  content: "❓";

  display: block;

  margin-top: 20px;

  font-size: 45px;
}

.sunday-worship::after {
  content: "⛪";

  display: block;

  margin-top: 20px;

  font-size: 45px;
}

.youth-meeting::after {
  content: "👥";

  display: block;

  margin-top: 20px;

  font-size: 45px;
}


/* =========================================================
   14. LIVE STREAM
========================================================= */

.live-stream {
  padding: 80px 8%;

  background: var(--white);

  overflow: hidden;
}

.live-container {
  max-width: 1200px;

  margin: auto;

  padding: 50px;

  text-align: center;

  background: var(--white);

  box-shadow: var(--shadow-sm);
}

.live-header {
  margin-bottom: 40px;
}

.live-badge {
  display: inline-block;

  padding: 10px 25px;

  border-radius: 50px;

  background: var(--danger);

  color: var(--white);

  font-weight: 700;
  letter-spacing: 1px;
}

.live-header h2 {
  margin: 25px 0 15px;

  font-family: "Cinzel", serif;

  font-size: 45px;

  color: var(--blue);
}

.live-header p {
  max-width: 700px;

  margin: auto;

  color: var(--gray);

  font-size: 18px;
}

.video-container {
  position: relative;

  width: 100%;

  aspect-ratio: 16 / 9;

  margin-top: 40px;

  overflow: hidden;

  background: var(--white);

  border-radius: var(--radius-lg);

  box-shadow: var(--shadow-lg);
}

.video-container iframe {
  width: 100%;
  height: 100%;

  display: block;

  border: none;
}

.live-info {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;

  gap: 30px;

  margin-top: 45px;
}

.live-info div {
  width: 220px;

  padding: 25px;

  background: var(--white);

  border-radius: var(--radius-md);

  box-shadow: var(--shadow-sm);

  transition: 0.3s;

  cursor: pointer;
}

.live-info div:hover {
  transform: translateY(-8px);

  background: var(--blue);
}

.live-info h4,
.live-info p,
.live-info span {
  color: var(--navy);
}

.live-info div:hover h4,
.live-info div:hover p,
.live-info div:hover span {
  color: var(--gold-light);
}

.live-info h4 {
  margin: 10px 0;

  font-size: 20px;
}


/* =========================================================
   15. CONTACT PAGE
========================================================= */

.contact {
  position: relative;
  overflow: hidden;

  padding: 90px 8%;

  text-align: center;

  background: linear-gradient(
    135deg,
    var(--white),
    var(--light-blue)
  );
}

.contact h2 {
  color: var(--blue);
}

.contact > p {
  max-width: 850px;

  margin: 20px auto;

  text-align: center;

  color: var(--gray);

  font-size: 18px;
  line-height: 1.8;
}

.contact h3 {
  margin-top: 45px;

  font-family: "Cinzel", serif;

  color: var(--blue);

  font-size: 28px;
}

.contact a {
  color: var(--navy);

  text-decoration: none;

  font-weight: 700;

  transition: 0.3s;
}

.contact a:hover {
  color: var(--gold-light);
}

.contact address {
  display: inline-block;

  width: 300px;
  min-height: 140px;

  margin: 20px;

  padding: 30px;

  background: var(--white);

  border-radius: var(--radius-lg);

  border-top: 6px solid var(--gold-light);

  box-shadow: var(--shadow-md);

  font-style: normal;

  line-height: 1.8;

  transition: 0.4s;
}

.contact address:hover {
  transform: translateY(-12px);

  box-shadow:
    0 30px 60px rgba(13, 71, 161, 0.25);
}

.contact address strong {
  color: var(--navy);

  font-family: "Cinzel", serif;

  font-size: 18px;
}


/* =========================================================
   16. CONTACT PAGE HERO
========================================================= */

.contact-hero {
  padding: 120px 20px;

  text-align: center;

  color: var(--white);

  background:
    linear-gradient(
      rgba(0, 31, 84, 0.75),
      rgba(0, 31, 84, 0.75)
    ),
    url("../images/church-banner.jpg");

  background-size: cover;
  background-position: center;
}

.contact-hero h1 {
  margin-bottom: 15px;

  font-size: 3rem;
}

.contact-hero p {
  max-width: 750px;

  margin: auto;

  font-size: 1.15rem;

  line-height: 1.8;

  opacity: 0.95;
}


/* =========================================================
   17. CONTACT CARDS
========================================================= */

.contact-section {
  width: 100%;
  max-width: 1300px;

  margin: 70px auto;

  padding: 40px 60px;

  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;

  gap: 20px;

  background: var(--white);

  border-radius: 12px;
}

.contact-card {
  flex: 1 1 250px;

  padding: 35px;

  text-align: center;

  background: var(--white);

  border-top: 5px solid var(--gold);

  border-radius: 18px;

  box-shadow: var(--shadow-md);

  opacity: 0;

  transform: translateY(30px);

  animation: fadeUp 0.8s ease forwards;

  transition: 0.35s ease;
}

.contact-card:hover {
  transform: translateY(-12px);

  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.14);
}

.contact-card h2 {
  margin-bottom: 20px;

  color: var(--navy);

  font-size: 1.6rem;
}

.contact-card p {
  margin-bottom: 15px;

  color: var(--gray);

  line-height: 1.8;
}

.contact-card strong {
  color: var(--navy);
}

.contact-card a {
  color: var(--blue);

  font-weight: 600;
}

.contact-card a:hover {
  color: var(--gold);
}

.contact-btn {
  margin-top: 20px;

  padding: 14px 28px;

  background: var(--navy);

  color: var(--white);

  box-shadow: var(--shadow-sm);
}

.contact-btn:hover {
  background: var(--gold);

  color: var(--navy);

  transform: translateY(-3px);

  box-shadow:
    0 12px 25px rgba(212, 175, 55, 0.4);
}

.contact-card:nth-child(3) .contact-btn {
  background: #ff0000;
  color: var(--white);
}

.contact-card:nth-child(4) .contact-btn {
  background:
    linear-gradient(
      45deg,
      #e1306c,
      #f77737,
      #ffdc80
    );

  color: var(--white);
}


/* =========================================================
   18. CONTACT INFORMATION
========================================================= */

.phone-number {
  display: flex;
  align-items: center;

  gap: 12px;

  margin: 18px 0;

  font-size: 1.05rem;
}

.phone-icon {
  width: 48px;
  height: 48px;

  display: flex;
  justify-content: center;
  align-items: center;

  flex-shrink: 0;

  border-radius: 50%;

  background: var(--navy);

  color: var(--white);

  font-size: 1.3rem;
}

.email-box {
  margin-top: 20px;

  padding: 18px;

  background: #f5f8fc;

  border-left: 5px solid var(--gold);

  border-radius: 10px;
}

.address {
  margin-top: 15px;

  padding: 22px;

  background: #f8f9fa;

  border-radius: 12px;
}

.office-hours {
  margin-top: 20px;

  padding: 18px;

  background: #f5f8fc;

  border-radius: 12px;
}

.office-hours p {
  display: flex;
  justify-content: space-between;

  padding: 10px 0;

  border-bottom: 1px solid #ddd;
}

.office-hours p:last-child {
  border-bottom: none;
}

.active {
  color: var(--gold-light);

  font-weight: bold;
}

.map-container {
  margin-top: 60px;

  overflow: hidden;

  border-radius: var(--radius-md);

  box-shadow: var(--shadow-md);
}

.social-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;

  gap: 20px;

  margin-top: 30px;
}

.social-links a {
  width: 60px;
  height: 60px;

  display: flex;
  justify-content: center;
  align-items: center;

  border-radius: 50%;

  background: var(--navy);

  color: var(--white);

  font-size: 1.4rem;

  transition: 0.35s;
}

.social-links a:hover {
  background: var(--gold);

  color: var(--navy);

  transform: rotate(8deg) scale(1.08);
}


/* =========================================================
   19. PRAYER BANNER
========================================================= */

.prayer-banner {
  margin-top: 70px;

  padding: 60px 25px;

  text-align: center;

  background:
    linear-gradient(
      135deg,
      var(--navy),
      var(--blue)
    );

  color: var(--white);

  border-radius: var(--radius-md);
}

.prayer-banner h2 {
  margin-bottom: 20px;

  font-size: 2rem;
}

.prayer-banner p {
  max-width: 700px;

  margin: 0 auto 30px;

  line-height: 1.8;
}

.prayer-banner .contact-btn {
  background: var(--gold);

  color: var(--navy);
}

.prayer-banner .contact-btn:hover {
  background: var(--white);
}


/* =========================================================
   20. PASTORS GRID
========================================================= */

.pastors-section {
  padding: 90px 8% 50px;

  text-align: center;

  background: var(--white);
}

.pastors-section h2 {
  margin-bottom: 50px;

  font-family: "Cinzel", serif;

  font-size: 42px;

  color: var(--gold-light);

  text-transform: uppercase;
}

.pastors-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;

  gap: 40px;
}

.pastor-card {
  width: 320px;

  padding: 30px;

  background: var(--white);

  border-radius: var(--radius-lg);

  box-shadow: var(--shadow-md);

  transition: 0.3s;
}

.pastor-card:hover {
  transform: translateY(-8px);

  box-shadow:
    0 25px 50px rgba(255, 215, 0, 0.25);
}

.pastor-card img {
  width: 100%;
  height: 280px;

  object-fit: cover;

  margin-bottom: 20px;

  border-radius: 20px;

  box-shadow: var(--shadow-sm);

  transition: 0.4s;
}

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

.pastor-card h3 {
  margin-bottom: 10px;

  font-family: "Cinzel", serif;

  font-size: 24px;

  color: var(--navy);
}

.pastor-card .role {
  margin-bottom: 10px;

  color: var(--gold);

  font-size: 18px;
  font-weight: 600;
}

.pastor-card .verse {
  margin-bottom: 15px;

  font-size: 16px;

  color: var(--gray);
}


/* =========================================================
   21. QUIZ EVENT PAGE
========================================================= */

.event-header {
  height: 80px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 15px 8%;

  background: rgba(0, 0, 0, 0.7);

  backdrop-filter: blur(10px);

  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo-area {
  display: flex;
  align-items: center;

  gap: 15px;
}

.logo-area img {
  width: 55px;
  height: 55px;

  object-fit: cover;

  border-radius: 50%;
}

.logo-area h2 {
  font-family: "Cinzel", serif;

  color: var(--gold);

  font-size: 22px;
}

.logo-area p {
  font-size: 13px;
}

.home-btn {
  padding: 10px 25px;

  border: 1px solid var(--gold);

  border-radius: 30px;

  color: var(--white);

  text-decoration: none;

  transition: 0.3s;
}

.home-btn:hover {
  background: var(--gold);

  color: #000;
}

.quiz-hero {
  min-height: 90vh;

  display: flex;
  justify-content: center;
  align-items: center;

  position: relative;

  overflow: hidden;

  padding: 80px 20px;

  text-align: center;

  background:
    linear-gradient(
      135deg,
      var(--navy),
      var(--blue),
      #002b6b
    );

  color: var(--white);
}

.quiz-hero::before {
  content: "";

  position: absolute;

  width: 450px;
  height: 450px;

  top: -120px;
  right: -120px;

  background: var(--gold-light);

  opacity: 0.15;

  border-radius: 50%;

  filter: blur(120px);
}

.event-badge {
  display: inline-block;

  padding: 8px 25px;

  margin-bottom: 20px;

  background: var(--gold);

  color: #000;

  font-weight: 700;

  border-radius: 50px;

  animation: pulse 2s infinite;
}

.countdown {
  display: flex;
  justify-content: center;

  gap: 20px;

  margin: 35px 0;
}

.countdown div {
  min-width: 90px;

  padding: 20px;

  background: rgba(255, 255, 255, 0.15);

  backdrop-filter: blur(15px);

  border-radius: 15px;

  font-size: 14px;
}

.countdown span {
  display: block;

  color: var(--gold);

  font-size: 35px;
  font-weight: 700;
}


/* =========================================================
   22. QUIZ CONTENT
========================================================= */

.section {
  padding: 80px 8%;

  text-align: center;
}

.section h2,
.dark-section h2,
.registration-section h2 {
  margin-bottom: 40px;

  font-family: "Cinzel", serif;

  font-size: 38px;

  color: var(--gold);
}

.event-grid,
.prize-container {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 25px;
}

.glass-card {
  padding: 35px;

  background: var(--glass);

  border: 1px solid rgba(255, 255, 255, 0.2);

  border-radius: 20px;

  backdrop-filter: blur(15px);

  transition: 0.4s;
}

.glass-card:hover {
  transform: translateY(-10px);
}

.glass-card h3 {
  margin-bottom: 15px;

  color: var(--gold);
}

.dark-section {
  padding: 100px 12%;

  text-align: center;

  background: #111827;
}

.rules {
  max-width: 700px;

  margin: auto;

  text-align: left;

  font-size: 18px;

  line-height: 2;
}

.prize-card {
  padding: 40px;

  background:
    linear-gradient(
      135deg,
      #111827,
      #1e3a8a
    );

  border: 1px solid var(--gold);

  border-radius: 25px;
}

.prize-card h3 {
  color: var(--gold);

  font-size: 25px;
}


/* =========================================================
   23. REGISTRATION
========================================================= */

.registration-section {
  padding: 80px 10%;

  background:
    linear-gradient(
      135deg,
      var(--dark-navy),
      #020617
    );
}

#quizForm {
  max-width: 700px;

  margin: auto;
}

.input-group {
  margin-bottom: 25px;

  text-align: left;
}

.input-group label {
  display: block;

  margin-bottom: 8px;

  color: var(--gold-light);
}

.input-group input,
.input-group select {
  width: 100%;

  padding: 15px;

  border: none;

  outline: none;

  border-radius: 10px;

  font-size: 16px;
}

.fee-box {
  margin: 25px 0;

  padding: 20px;

  background: #000;

  border-radius: 15px;

  color: var(--gold);

  font-size: 22px;
}

.payment-box {
  margin-top: 30px;

  padding: 30px;

  background: rgba(255, 255, 255, 0.1);

  border-radius: 20px;
}

.qr {
  width: 220px;

  margin: 20px auto;

  border-radius: 15px;
}

.check {
  display: flex;
  justify-content: center;

  gap: 10px;

  margin: 20px;
}

#payButton {
  margin-top: 25px;

  padding: 14px 45px;

  background:
    linear-gradient(
      135deg,
      var(--gold),
      #f5d76e
    );

  color: #000;

  font-size: 18px;

  box-shadow:
    0 8px 20px rgba(212, 175, 55, 0.35);
}

#payButton:hover {
  transform: translateY(-3px);

  box-shadow:
    0 12px 30px rgba(212, 175, 55, 0.5);
}

#payButton:active {
  transform: scale(0.95);
}


/* =========================================================
   24. FAQ / DETAILS
========================================================= */

.faq {
  max-width: 800px;

  margin: auto;
}

.faq h3 {
  margin-top: 25px;

  color: var(--gold);
}

.details {
  padding: 60px 0;

  text-align: center;

  background: #f9f9f9;
}

.details ul {
  display: flex;
  justify-content: center;
  align-items: center;

  gap: 40px;

  list-style: none;

  flex-wrap: wrap;
}

.details ul li {
  width: 250px;

  padding: 40px 30px;

  background: var(--white);

  border-radius: 20px;

  box-shadow: var(--shadow-sm);

  transition: 0.3s;
}

.details ul li:hover {
  transform: translateY(-5px);

  box-shadow:
    0 6px 25px rgba(0, 0, 0, 0.15);
}

.details ul li h3 {
  margin-top: 15px;

  color: #002366;

  font-weight: 700;
}


/* =========================================================
   25. QUIZ POPUP
========================================================= */

.quiz-popup {
  position: fixed;
  inset: 0;

  display: none;

  justify-content: center;
  align-items: center;

  z-index: 9999;

  background: rgba(0, 0, 0, 0.65);
}

.quiz-popup.show {
  display: flex;
}

.quiz-popup-content {
  width: 90%;
  max-width: 520px;

  position: relative;

  padding: 35px;

  overflow: hidden;

  text-align: center;

  background:
    linear-gradient(
      135deg,
      var(--dark-navy),
      var(--blue)
    );

  color: var(--white);

  border: 2px solid var(--gold-light);

  border-radius: 25px;

  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(255, 215, 0, 0.4);

  animation: popupShow 0.5s ease;
}

.quiz-popup h2 {
  margin-bottom: 10px;

  font-family: "Cinzel", serif;

  color: var(--gold-light);
}

.quiz-tagline {
  margin-bottom: 25px;

  color: rgba(255, 255, 255, 0.8);
}

.quiz-details p {
  margin: 12px 0;

  font-size: 17px;
}

.quiz-register-btn {
  margin-top: 20px;

  padding: 15px 35px;

  background:
    linear-gradient(
      45deg,
      var(--gold-light),
      #ffb300
    );

  color: var(--navy);
}

.quiz-register-btn:hover {
  transform: translateY(-3px);
}

.quiz-close {
  position: absolute;

  top: 15px;
  right: 20px;

  color: var(--white);

  font-size: 32px;
  font-weight: bold;

  cursor: pointer;

  transition: 0.3s;
}

.quiz-close:hover {
  color: #ff5252;

  transform: scale(1.2);
}


/* =========================================================
   26. ANNOUNCEMENT BAR
========================================================= */

.announcement-bar {
  width: 100%;

  position: sticky;
  top: 0;
  z-index: 10000;

  padding: 12px 20px;

  text-align: center;

  background:
    linear-gradient(
      90deg,
      #b71c1c,
      #d32f2f
    );

  color: var(--white);

  font-size: 16px;
  font-weight: 600;

  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.25);
}

.announcement-bar a {
  color: var(--gold-light);

  font-weight: bold;

  text-decoration: none;
}

.announcement-bar a:hover {
  text-decoration: underline;
}


/* =========================================================
   27. WHATSAPP FLOATING BUTTON
========================================================= */

.whatsapp {
  position: fixed;

  right: 25px;
  bottom: 25px;

  width: 60px;
  height: 60px;

  display: flex;
  justify-content: center;
  align-items: center;

  z-index: 999;

  border-radius: 50%;

  background: var(--whatsapp);

  color: var(--white);

  font-size: 28px;

  text-decoration: none;

  box-shadow: var(--shadow-md);

  transition: 0.3s ease;
}

.whatsapp:hover {
  transform: scale(1.1);
}


/* =========================================================
   28. FOOTER
========================================================= */

footer {
  position: relative;

  margin-top: auto;

  overflow: hidden;

  padding: 50px 40px;

  text-align: center;

  background: var(--navy);

  border-top: 4px solid var(--gold);

  color: var(--white);
}

footer::before {
  content: "";

  position: absolute;

  width: 350px;
  height: 350px;

  top: -150px;
  left: 50%;

  transform: translateX(-50%);

  background: var(--gold-light);

  opacity: 0.08;

  border-radius: 50%;
}

footer p {
  position: relative;
  z-index: 2;

  max-width: 900px;

  margin: 20px auto;

  font-size: 16px;

  line-height: 1.8;
}

footer strong,
footer h3 {
  font-family: "Cinzel", serif;

  color: var(--gold-light);
}

footer p:first-child strong {
  font-size: 32px;

  letter-spacing: 2px;
}

footer p:nth-child(3) {
  font-size: 20px;

  font-style: italic;
}

footer p:last-child {
  margin-top: 35px;

  padding-top: 20px;

  border-top:
    1px solid rgba(255, 255, 255, 0.3);

  font-size: 14px;
}


/* =========================================================
   29. LIVE BUTTON
========================================================= */

.btn-live {
  background:
    linear-gradient(
      45deg,
      #ff0000,
      #ff5252
    );

  color: var(--white);

  box-shadow:
    0 10px 30px rgba(255, 0, 0, 0.4);
}

.btn-live:hover {
  transform: translateY(-5px);

  box-shadow:
    0 20px 40px rgba(255, 0, 0, 0.6);
}


/* =========================================================
   30. FADE-IN
========================================================= */

.fade-in {
  opacity: 0;

  transform: translateY(20px);

  transition:
    opacity 1s ease,
    transform 1s ease;
}

.fade-in.visible {
  opacity: 1;

  transform: translateY(0);
}


/* =========================================================
   31. ANIMATIONS
========================================================= */

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroAppear {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pastorReveal {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glowMove {
  from {
    transform: translate(0, 0);
  }

  to {
    transform: translate(200px, 100px);
  }
}

@keyframes textGlow {
  from {
    background-position: 0%;
  }

  to {
    background-position: 200%;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.12);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes popupShow {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}


/* =========================================================
   32. RESPONSIVE DESIGN
========================================================= */

@media (max-width: 1100px) {

  .sermon-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-content {
    max-width: 800px;
  }

  .hero-content h1 {
    font-size: 48px;
  }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

  header {
    flex-direction: column;

    padding: 20px;
  }

  header .logo h2 {
    font-size: 22px;
  }

  header nav ul {
    flex-wrap: wrap;

    justify-content: center;

    gap: 15px;

    margin-top: 20px;
  }

  header nav ul li a {
    font-size: 14px;
  }

  .hero {
    min-height: 100vh;

    padding: 80px 20px;
  }

  .hero-content {
    padding: 40px 25px;
  }

  .hero-content h1 {
    font-size: 38px;
  }

  .hero-content p {
    font-size: 18px;
  }

  .hero-buttons .btn {
    display: block;

    width: 80%;

    margin: 15px auto;
  }

  .about-container,
  .pastor-container {
    flex-direction: column;

    text-align: center;
  }

  .about-text h2::after {
    margin-left: auto;
  }

  .pastor-content h3 {
    font-size: 34px;
  }

  .pastor h2 {
    font-size: 38px;
  }

  .pastor-features {
    grid-template-columns: 1fr;
  }

  .event-grid,
  .prize-container {
    grid-template-columns: 1fr;
  }

  .sermon-grid {
    grid-template-columns: 1fr;
  }

  .contact-section {
    padding: 30px 20px;
  }

  .countdown {
    gap: 10px;
  }

  .countdown div {
    min-width: 70px;

    padding: 12px;
  }

  .countdown span {
    font-size: 25px;
  }

  .event-header {
    padding: 15px 5%;
  }

  .logo-area h2 {
    font-size: 16px;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

  .welcome,
  .about,
  .sermons,
  .testimonies,
  .books,
  .events,
  .contact,
  .pastor {
    padding-left: 20px;
    padding-right: 20px;
  }

  .welcome h2,
  .about-text h2,
  .sermons h2,
  .testimonies h2,
  .books h2,
  .events h2,
  .contact h2 {
    font-size: 32px;
  }

  .hero-content h1 {
    font-size: 32px;

    letter-spacing: 2px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .sermon-card,
  .book-card,
  .event-card,
  .testimony-card,
  .pastor-card {
    width: 100%;

    max-width: 380px;
  }

  .live-container {
    padding: 30px 20px;
  }

  .live-header h2 {
    font-size: 32px;
  }

  .video-container {
    aspect-ratio: 16 / 9;
  }

  .live-info div {
    width: 100%;
  }

  #sermonSearch {
    width: 100%;
  }

  .contact address {
    width: 90%;

    margin: 15px auto;
  }

  .contact-hero {
    padding: 90px 20px;
  }

  .contact-hero h1 {
    font-size: 2.2rem;
  }

  .pastor {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .pastor h2 {
    font-size: 34px;
  }

  .pastor-content h3 {
    font-size: 30px;
  }

  .pastor-features {
    grid-template-columns: 1fr;
  }

  .countdown {
    flex-wrap: wrap;
  }

  .countdown div {
    min-width: 65px;
  }

  .countdown span {
    font-size: 22px;
  }

  .qr {
    width: 180px;
  }

  footer {
    padding: 40px 20px;
  }

  footer p:first-child strong {
    font-size: 24px;
  }

  footer p:nth-child(3) {
    font-size: 17px;
  }

  .whatsapp {
    right: 18px;
    bottom: 18px;

    width: 55px;
    height: 55px;

    font-size: 25px;
  }

}


/* =========================================================
   VERY SMALL DEVICES
========================================================= */

@media (max-width: 450px) {

  header {
    padding: 15px;
  }

  header .logo h2 {
    font-size: 18px;
  }

  header .logo img {
    height: 42px;
  }

  header nav ul {
    gap: 8px;
  }

  header nav ul li a {
    font-size: 12px;
  }

  .hero-content {
    padding: 30px 18px;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .welcome h2,
  .about-text h2,
  .sermons h2,
  .testimonies h2,
  .books h2,
  .events h2,
  .contact h2 {
    font-size: 27px;
  }

  .countdown {
    gap: 6px;
  }

  .countdown div {
    min-width: 58px;

    padding: 10px 6px;
  }

  .countdown span {
    font-size: 20px;
  }

  .event-card,
  .book-card,
  .sermon-card,
  .testimony-card,
  .pastor-card {
    padding: 22px;
  }

}


@media (max-width: 600px) {
  header {
    padding: 15px 20px;
  }

  header .logo img {
    height: 40px;
  }

  header .logo h2 {
    font-size: 20px;
  }

  header nav ul {
    gap: 10px;
  }

  header nav ul li a {
    font-size: 13px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-buttons .btn {
    width: 90%;
    padding: 14px;
  }

  .welcome h2, .about-text h2, .sermons h2, .testimonies h2, .books h2, .events h2, .contact h2, .pastor h2 {
    font-size: 32px;
  }

  .sermon-card, .book-card, .event-card, .testimony-card {
    width: 100%;
  }

  .pastor-container {
    gap: 40px;
  }

  .pastor-content h3 {
    font-size: 32px;
  }

  .contact address {
    width: 100%;
    margin: 15px 0;
  }

  .video-container {
    aspect-ratio: 16/9;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    padding: 60px 20px;
  }

  .contact-hero h1 {
    font-size: 2.2rem;
  }

  .contact-card {
    padding: 25px;
  }


  .social-links {
    gap: 15px;
  }
}

@media (max-width: 1000px) {
  .sermon-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .sermon-grid {
    grid-template-columns: 1fr;
  }

  .sermon-hero h1 {
    font-size: 35px;
  }

  #sermonSearch {
    width: 95%;
  }
}

/* ===================================================
   PAYMENT SECTION
=================================================== */

.payment-box{

    margin-top:30px;

    background:#ffffff;

    padding:25px;

    border-radius:15px;

    box-shadow:0 10px 25px rgba(0,0,0,0.12);

    text-align:center;

}

.payment-box h3{

    font-size:28px;

    color:#1b5e20;

    margin-bottom:15px;

}

.payment-box p{

    color:#555;

    margin-bottom:20px;

    font-size:16px;

}

.fee-box{

    margin:20px auto;

    background:#f8f9fa;

    padding:15px;

    border-radius:10px;

    font-size:20px;

    font-weight:600;

    width:fit-content;

}

#registrationFee,
#amountPayable,
#verifyAmount{

    color:#d32f2f;

    font-size:26px;

    font-weight:bold;

}

#payButton{

    background:#1b5e20;

    color:white;

    border:none;

    padding:14px 35px;

    font-size:18px;

    border-radius:8px;

    cursor:pointer;

    transition:0.3s;

}

#payButton:hover{

    background:#145214;

    transform:translateY(-2px);

}



/* ===================================================
   PAYMENT VERIFICATION
=================================================== */
.payment-verification{

    display:block;

    margin-top:40px;

    background:#ffffff;

    padding:35px;

    border-radius:15px;

    box-shadow:0 10px 25px rgba(0,0,0,0.15);

}
.payment-verification h2{

    text-align:center;

    color:#1b5e20;

    margin-bottom:10px;

    font-size:32px;

}

.payment-verification p{

    text-align:center;

    color:#555;

    margin-bottom:20px;

}

.qr-image{

    display:block;

    width:260px;

    max-width:100%;

    margin:20px auto;

    border-radius:12px;

    border:5px solid #eeeeee;

    box-shadow:0 5px 15px rgba(0,0,0,0.15);

}

.qr-image{

    display:block;

    width:260px;

    max-width:100%;

    margin:20px auto;

    border-radius:12px;

    border:5px solid #eeeeee;

    box-shadow:0 5px 15px rgba(0,0,0,0.15);

}

/* ================= PAYMENT AMOUNT ================= */

.payment-amount{

    text-align:center;

    margin:20px 0 30px;

}

.amount-title{

    font-size:18px;

    font-weight:600;

    color:#666;

    margin-bottom:8px;

}

#verifyAmount{

    font-size:42px;

    color:#d32f2f;

    font-weight:700;

    margin:0;

}

.payment-verification .input-group{

    margin-top:18px;

}

.payment-verification label{

    display:block;

    margin-bottom:8px;

    font-weight:600;

}

.payment-verification .input-group{

    margin-top:18px;

}

.payment-verification label{

    display:block;

    margin-bottom:8px;

    font-weight:600;

}

.payment-verification input{

    width:100%;

    padding:14px;

    border:1px solid #cccccc;

    border-radius:8px;

    font-size:16px;

    transition:0.3s;

}

.payment-verification input:focus{

    outline:none;

    border-color:#1b5e20;

    box-shadow:0 0 8px rgba(27,94,32,0.25);

}

.checkbox-area{

    display:flex;

    align-items:center;

    gap:10px;

    margin:25px 0;

}

.checkbox-area input{

    width:18px;

    height:18px;

}

.checkbox-area label{

    margin:0;

    font-weight:500;

}

#continueButton{

    width:100%;

    background:#1565c0;

    color:white;

    border:none;

    padding:16px;

    font-size:18px;

    border-radius:8px;

    cursor:pointer;

    transition:0.3s;

}

#continueButton:hover{

    background:#0d47a1;

    transform:translateY(-2px);

}



/* ===================================================
   MOBILE RESPONSIVE
=================================================== */

@media(max-width:768px){

.payment-box,
.payment-verification{

    padding:20px;

}

.payment-box h3{

    font-size:24px;

}

.payment-verification h2{

    font-size:26px;

}

.qr-image{

    width:220px;

}

#payButton,
#continueButton{

    width:100%;

}

}
/* ================= ABOUT EVENT ================= */

.about-event {
  background: #21499a; /* same deep blue background */
  padding: 120px 8%;
  position: relative;
  overflow: hidden;
}


/* Heading */

.about-event h2 {
  font-family: "Cinzel", serif;
  font-size: 44px;
  font-weight: 700;
  color: #d4af37; /* gold heading */
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 60px;
  text-align: center;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}


/* Boxes container */

.about-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 40px;
  flex-wrap: wrap;
}


/* Individual cards */

.about-box {

  background: rgba(255,255,255,0.95);
  border-radius: 25px;

  padding: 40px;

  flex: 1;
  min-width: 320px;

  box-shadow:
  0 15px 35px rgba(0,0,0,0.25);

  border: 2px solid rgba(212,175,55,0.4);

  transition: all 0.3s ease;
}


/* Hover effect */

.about-box:hover {

  transform: translateY(-10px);

  box-shadow:
  0 25px 50px rgba(0,0,0,0.35);

  border-color:#d4af37;
}


/* Card heading */

.about-box h3 {

  font-family: "Cinzel", serif;

  font-size: 24px;

  color:#0d47a1;

  margin-bottom:15px;

}


/* Card paragraph */

.about-box p {

  font-size:17px;

  color:#333;

  line-height:1.8;

}

/* ==========================================
   CONFIRM PAYMENT BUTTON
========================================== */

#submitButton{

    width:100%;

    padding:16px 30px;

    margin-top:30px;

    background:linear-gradient(
        135deg,
        #d4af37,
        #f5d76e
    );

    color:#1a1a1a;

    font-size:18px;

    font-weight:700;

    border:none;

    border-radius:12px;

    cursor:pointer;

    letter-spacing:0.5px;

    box-shadow:
    0 8px 20px rgba(212,175,55,0.35);

    transition:0.3s ease;

}



#submitButton:hover{

    transform:translateY(-3px);

    background:linear-gradient(
        135deg,
        #f5d76e,
        #d4af37
    );

    box-shadow:
    0 12px 30px rgba(212,175,55,0.55);

}

/* ==========================================
   REGISTRATION SUCCESS PAGE
========================================== */


.success-page{

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    background:
    linear-gradient(
    135deg,
    #07182e,
    #102b4c
    );

    padding:30px;

}



.success-card{

    max-width:650px;

    text-align:center;

    background:white;

    padding:50px 40px;

    border-radius:25px;

    border-top:8px solid #d4af37;

    box-shadow:
    0 20px 50px rgba(0,0,0,0.35);

    animation:successPop 0.8s ease;

}



.success-icon{

    font-size:70px;

    margin-bottom:15px;

}



.success-card h1{

    color:#d4af37;

    font-size:32px;

    font-weight:800;

}



.success-card h2{

    color:#1b2b45;

    margin-top:25px;

}



.success-card p{

    color:#444;

    font-size:17px;

    line-height:1.8;

}



.success-card .blessing{

    font-weight:600;

    color:#b8860b;

}



.success-card .home-btn{

    display:inline-block;

    margin-top:30px;

    padding:15px 35px;

    background:#d4af37;

    color:#111;

    text-decoration:none;

    border-radius:12px;

    font-weight:700;

}



.success-card .home-btn:hover{

    transform:translateY(-3px);

}



@keyframes successPop{

from{

transform:scale(0.8);

opacity:0;

}

to{

transform:scale(1);

opacity:1;

}

}
/* ==========================================
   ELIGIBILITY & VENUE SIDE BY SIDE
========================================== */


.info-container{

    display:flex;

    justify-content:center;

    gap:40px;

    flex-wrap:wrap;

    margin-top:40px;

}



.info-card{

    width:420px;

    background:white;

    padding:35px;

    border-radius:20px;

    text-align:center;

    border-top:6px solid #d4af37;

    box-shadow:
    0 15px 35px rgba(0,0,0,0.2);

    transition:0.3s ease;

}



.info-card:hover{

    transform:translateY(-8px);

}



.info-card h3{

    color:#d4af37;

    font-family:'Cinzel',serif;

    font-size:25px;

}



.info-card p{

    color:#333;

    font-size:17px;

    line-height:1.7;

}

.info-section{

    padding:80px 20px;

}

.info-section h2{

    text-align:center;

    font-size:38px;

    color:#001f54;

    font-family:'Cinzel',serif;

    margin-bottom:50px;

}

.popup h2 {
  font-family: "Cinzel", serif;
  font-size: 36px;
  font-weight: 700;
  color: #ffffff; /* white text */
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.info-section h2 {
    color: white !important;
    font-family: "Cinzel", serif;
    font-size: 42px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 3px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

/* ================= SECTION DIVIDER ================= */

.section-divider {
    width: 95%;
    height: 2px;
    margin: 70px auto 60px auto;
    background: linear-gradient(
        90deg,
        transparent,
        #d4af37,
        transparent
    );
}

.section-divider {
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.15);
    margin: 0;
}

/* Welcome Paragraph Visibility Fix */
.welcome p {
  color: #000 !important;   /* pure black text */
  font-weight: 500;         /* slightly bolder for readability */
}

/* Upcoming Events Text Visibility Fix */
.events {
  background: #0d47a1; /* keep your blue background */
  color: #fff !important; /* make all text white */
}

.events h2 {
  color: #ffd700 !important; /* gold heading stays visible */
}

.events .event-card {
  background: white !important; /* white cards */
  color: #000 !important; /* black text inside cards */
  border: 2px solid #ffd700; /* gold border for elegance */
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.events .event-card h3,
.events .event-card p {
  color: #000 !important; /* black text inside cards */
}
/* Space Between Upcoming Events and Footer */
.events {
  margin-bottom: 60px; /* adds space below the events section */
}

footer {
  margin-top: 40px; /* optional: adds space above footer */
}
/* Hover Gold Effect for All Event Cards */
.event-card:hover {
  background: #fff8dc !important; /* light gold background */
  border: 2px solid #d4af37 !important; /* gold border */
  color: #d4af37 !important; /* gold text */
  transform: translateY(-5px);
  transition: all 0.3s ease;
}

/* Hover Gold Effect for Live Section Blocks */
.live-info div {
  background: white;
  padding: 25px;
  border: 2px solid #0d47a1;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-align: center;
  margin: 15px;
}

.live-info div:hover {
  background: #fff8dc !important;   /* light gold background */
  border: 2px solid #d4af37 !important; /* gold border */
  color: #d4af37 !important;        /* gold text */
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Ensure headings and text also turn gold */
.live-info div:hover h4,
.live-info div:hover p,
.live-info div:hover span {
  color: #d4af37 !important;
}
/* Eligibility & Venue Section Background Fix */
.info-section {
  background: #0d47a1; /* same blue as other sections */
  color: #fff; /* white text for contrast */
  padding: 60px 0;
}

/* Cards inside Eligibility & Venue */
.info-card {
  background: white;
  color: #000;
  border: 2px solid #d4af37;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 25px;
  margin: 15px;
}

/* Headings inside cards */
.info-card h3 {
  color: #003366;
  font-weight: 700;
}

/* Section heading */
.info-section h2 {
  color: #ffd700; /* gold heading */
  text-transform: uppercase;
  margin-bottom: 40px;
}
/* Prizes & Awards Section Background Fix */
.prizes-section {
  background: #0d47a1; /* same blue tone as other sections */
  color: #fff; /* white text for contrast */
  padding: 60px 0;
}

/* Cards inside Prizes & Awards */
.prize-card {
  background: white;
  color: #000;
  border: 2px solid #d4af37; /* gold border */
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 25px;
  margin: 15px;
  transition: all 0.3s ease;
}

/* Headings inside prize cards */
.prize-card h3 {
  color: #537ba2;
  font-weight: 700;
}

/* Section heading */
.prizes-section h2 {
  color: #ffd700; /* gold heading */
  text-transform: uppercase;
  margin-bottom: 40px;
}

/* Hover effect for prize cards */
.prize-card:hover {
  background: #fff8dc; /* light gold background */
  border: 2px solid #d4af37;
  color: #d4af37;
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Payment Confirmation Text Color Fix */
.checkbox-area label {
  color: #000 !important; /* sets text to black */
  font-weight: 500;       /* optional: makes it slightly bold */
}


/* Fix background color for registration section */
.registration-section {
  background-color: #0a1a3a; /* dark navy tone */
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  border-radius: 12px;
}


/* Page background */
body {
  background-color: #0a1a3a !important; /* dark navy */
}

/* Registration section background */
.registration-section {
  background-color: #0a1a3a !important; /* dark navy */
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Add spacing between Registration and FAQ sections */
.registration-section {
  margin-bottom: 80px; /* space below the form */
}


.faq-section {
  margin-top: 80px;              /* space above FAQ */
  padding-top: 40px;
  background-color: #0d47a1;     /* navy background */
}

.faq-section h2 {
  text-align: center;
  color: #ffd700;                /* gold heading */
  margin-bottom: 30px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

.faq-section h3 {
  text-align: center;
  color: #e0f2fe;                /* light blue for questions */
  font-size: 20px;
  margin-bottom: 15px;
}

.faq-section p {
  text-align: center;
  color: #b3e5fc;                /* softer blue for answers */
  font-size: 16px;
  line-height: 1.8;
}


/* =========================
   BIBLE QUIZ POPUP
========================= */

.quiz-popup {

    display: none;

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(0,0,0,0.7);

    z-index: 9999;

    justify-content: center;
    align-items: center;

}


.quiz-popup.show {

    display: flex;

}

.payment-verification {

    display: block;
    margin-top: 30px;
    padding: 25px;

}

.registration-section {
  width: 90%;                /* wider section */
  max-width: 1200px;         /* consistent with other pages */
  margin: 0 auto;            /* centers horizontally */
  background: #001f54;       /* same navy background */
  padding: 60px 5%;          /* balanced spacing */
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.registration-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;                 /* space between inputs */
}

.registration-form input,
.registration-form select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
}

.hero {
  background: url("images/hero-banner.jpg") no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  min-height: 100vh;
}


.payment-btn {
  background: linear-gradient(45deg, #ff9800, #ff5722); /* eye-catching gradient */
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  padding: 15px 30px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.payment-btn:hover {
  background: linear-gradient(45deg, #ff5722, #e91e63); /* hover color shift */
  transform: scale(1.05); /* slight zoom */
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
}

.contact-card {
    width: 100%;
    min-height: 250px;
    box-sizing: border-box;
}

.contact-card h3 {
    color: #ffd700;
    margin-bottom: 15px;
}

.youtube-icon{
    color:#FF0000;
    font-size:48px;
    vertical-align:middle;
    margin-right:15px;
}

.instagram-icon{
    font-size:48px;
    vertical-align:middle;
    margin-right:15px;

    background: linear-gradient(
        45deg,
        #feda75,
        #fa7e1e,
        #d62976,
        #962fbf,
        #4f5bd5
    );

    -webkit-background-clip:text;
    background-clip:text;
    -webkit-text-fill-color:transparent;
}

.contact-card h2 i {
  font-size: 1.6rem;          /* consistent size for all icons */
  vertical-align: middle;     /* aligns icon with text baseline */
  margin-right: 8px;          /* space between icon and text */
  color: #001f54;             /* default navy color */
}

.contact-card h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  color: #001f54;
}

.contact-section h2 i {
  font-size: 1.8rem;
  vertical-align: middle;
  margin-right: 10px;
  color: #d4af37; /* gold accent */
}
.contact-section h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #001f54;
  font-weight: 700;
}

.contact-card:nth-child(1) i { color: #e91e63; }   /* Phone - pinkish red */
.contact-card:nth-child(2) i { color: #001f54; }   /* Email - navy */
.contact-card:nth-child(3) i { color: #FF0000; }   /* YouTube - red */
.contact-card:nth-child(4) i { color: #E1306C; }   /* Instagram - magenta */

.map-container {
  width: 100%;
  display: flex;
  flex-direction: column;      /* stack heading above map */
  justify-content: center;
  align-items: center;         /* centers horizontally */
  text-align: center;
  padding: 40px 60px;
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.map-container iframe {
  width: 100%;
  max-width: 900px;
  height: 500px;
  border: none;
  border-radius: 15px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  display: block;
  margin: 0 auto;
}



.map-container {
  padding: 60px 60px; /* increased vertical padding */
}


.map-container h2 {
  flex: 1;
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: #001f54;
  margin-bottom: 40px; /* adds proper gap between heading and map */
}


.map-container iframe {
  width: 100%;
  max-width: 900px;            /* larger map */
  height: 500px;               /* taller map for balance */
  border-radius: 15px;
  border: 3px solid #d4af37;   /* gold border for elegance */
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  display: block;
  margin: 0 auto;
}



.map-container iframe:hover {
  transform: scale(1.02);
  transition: 0.4s ease;
  box-shadow: 0 25px 60px rgba(13, 71, 161, 0.25);
}


.ministry-section {
  text-align: center;
  padding: 60px 60px;
  background-color: #fff;
  border-radius: 12px;
  margin: 70px auto;
  max-width: 1300px;
}

.ministry-section h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #001f54;
  margin-bottom: 40px;
}

.ministry-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
}

.ministry-card {
  flex: 1 1 280px;
  background: #ffffff;
  border-radius: 18px;
  padding: 25px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
  border-top: 5px solid #d4af37;
  transition: 0.35s ease;
}

.ministry-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.14);
  background: #0d47a1;
  color: #ffd700;
}

.visit-church {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  text-align: center;
}
.visit-church iframe {
  width: 100%;
  height: 400px; /* or use 100% if the parent has fixed height */
  border-radius: 10px;
  border: none;
}

.ministry-family {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.church-card {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.section-box {
  padding: 40px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border-radius: 10px;
  background-color: #f9f9f9;
}

.church-card {
  margin: 0 auto;
}

.section-box {
  margin: 0 auto;
  max-width: 1200px;
}

/* ===============================
   MINISTRY FAMILY TITLE
================================ */

.ministry-title {
    text-align: center;
    color: var(--gold);
    font-family: "Cinzel", serif;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 35px;
}

/* =====================================================
   MEMORY VERSE — LANGUAGE SELECTOR
   ===================================================== */

.memory-verse-container {
    position: relative;
}


/* =====================================================
   LANGUAGE BUTTON
   ===================================================== */

.verse-language-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    margin-top: 25px;
    padding: 14px 28px;

    border: 1px solid #d4af37;
    border-radius: 50px;

    background: #001f54;
    color: #d4af37;

    font-family: "Poppins", sans-serif;
    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

    transition: all 0.3s ease;
}

.verse-language-btn:hover {
    background: #d4af37;
    color: #001f54;

    transform: translateY(-3px);

    box-shadow:
        0 10px 25px rgba(212, 175, 55, 0.25);
}


/* =====================================================
   LANGUAGE PANEL
   ===================================================== */

.language-selector {
    display: none;

    width: min(720px, 92%);
    margin: 22px auto 0;
    padding: 22px;

    background: #ffffff;

    border: 2px solid #d4af37;
    border-radius: 20px;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.25);

    position: relative;
    z-index: 20;

    box-sizing: border-box;
}


/* =====================================================
   OPEN STATE
   ===================================================== */

.language-selector.active {
    display: block;

    animation:
        languagePanelIn 0.35s ease;
}

@keyframes languagePanelIn {

    from {
        opacity: 0;
        transform: translateY(-12px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* =====================================================
   SEARCH BOX
   ===================================================== */

.language-search-box {
    margin-bottom: 18px;
}

.language-search-box input {
    width: 100%;
    box-sizing: border-box;

    padding: 14px 18px;

    border: 2px solid #e5e5e5;
    border-radius: 35px;

    outline: none;

    font-family: "Poppins", sans-serif;
    font-size: 14px;

    color: #001f54;
    background: #f8f8f8;

    transition: all 0.3s ease;
}

.language-search-box input::placeholder {
    color: #888;
}

.language-search-box input:focus {
    border-color: #d4af37;

    background: #ffffff;

    box-shadow:
        0 0 0 4px rgba(212, 175, 55, 0.15);
}


/* =====================================================
   LANGUAGE LIST
   ===================================================== */

.language-list {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 10px;

    max-height: 320px;

    overflow-y: auto;

    padding: 5px;

    scrollbar-width: thin;
}


/* =====================================================
   LANGUAGE BUTTONS
   ===================================================== */

.language-list button {
    border: 1px solid #e2e2e2;

    background: #f8f8f8;
    color: #001f54;

    padding: 12px 14px;

    min-height: 45px;

    border-radius: 12px;

    cursor: pointer;

    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 500;

    text-align: left;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


/* =====================================================
   LANGUAGE BUTTON — HOVER
   ===================================================== */

.language-list button:hover {
    background: #001f54;
    color: #ffffff;

    border-color: #d4af37;

    transform: translateY(-2px);

    box-shadow:
        0 6px 15px rgba(0, 31, 84, 0.18);
}


/* =====================================================
   SELECTED LANGUAGE
   ===================================================== */

.language-list button.active {
    background: #d4af37;
    color: #001f54;

    border-color: #d4af37;

    font-weight: 700;

    box-shadow:
        0 6px 15px rgba(212, 175, 55, 0.25);
}


/* =====================================================
   SCROLLBAR
   ===================================================== */

.language-list::-webkit-scrollbar {
    width: 7px;
}

.language-list::-webkit-scrollbar-track {
    background: #eeeeee;
    border-radius: 10px;
}

.language-list::-webkit-scrollbar-thumb {
    background: #d4af37;
    border-radius: 10px;
}

.language-list::-webkit-scrollbar-thumb:hover {
    background: #001f54;
}


/* =====================================================
   TABLET
   ===================================================== */

@media (max-width: 800px) {

    .language-selector {
        width: 92%;
        padding: 18px;
    }

    .language-list {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        max-height: 300px;
    }
}


/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 600px) {

    .language-selector {
        width: 94%;
        margin-top: 18px;
        padding: 15px;

        border-radius: 16px;
    }

    .language-search-box input {
        padding: 13px 15px;
        font-size: 13px;
    }

    .language-list {
        grid-template-columns: 1fr;

        gap: 8px;

        max-height: 330px;
    }

    .language-list button {
        width: 100%;

        text-align: center;

        padding: 12px;

        font-size: 13px;
    }
}


/* =====================================================
   VERY SMALL MOBILE
   ===================================================== */

@media (max-width: 380px) {

    .language-selector {
        width: 96%;
        padding: 12px;
    }

    .language-list {
        max-height: 300px;
    }

    .language-list button {
        font-size: 12px;
    }
}

/* =====================================================
   MEMORY VERSE SECTION
===================================================== */
/* =====================================================
   MEMORY VERSE SECTION
===================================================== */

.memory-verse-section {
    background: linear-gradient(135deg, #f9fbff, #eef5ff);
    padding: 80px 8%;
    text-align: center;
    position: relative;
}

.memory-verse-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 40px;

    background: #ffffff;
    border-radius: 25px;

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.12);

    box-sizing: border-box;
    text-align: center;
}

.memory-verse-label {
    display: inline-block;

    color: #d4af37;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;

    margin-bottom: 18px;
}

.memory-verse-icon {
    font-size: 38px;
    color: #d4af37;
    margin-bottom: 10px;
}

.memory-verse-container h2 {
    margin: 0 0 20px;

    color: #001f54;
    font-family: "Cinzel", serif;
    font-size: 32px;
    font-weight: 700;

    text-align: center;
}

.memory-verse-text {
    width: 100%;
    max-width: 750px;
    margin: 0 auto;

    color: #001f54;
    font-family: "Poppins", sans-serif;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.7;

    text-align: center;
}

.memory-verse-reference {
    display: block;

    margin-top: 15px;

    color: #d4af37;
    font-family: "Poppins", sans-serif;
    font-size: 17px;
    font-weight: 700;

    text-align: center;
}

.verse-divider {
    width: 80px;
    height: 3px;

    margin: 25px auto;

    background: #d4af37;
    border-radius: 10px;
}

.memory-verse-message {
    width: 100%;
    max-width: 650px;
    margin: 0 auto 25px;

    color: #555;
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    line-height: 1.7;

    text-align: center;
}

.language-section {
    margin-top: 30px;
    text-align: center;
}

.language-section h3 {
    margin-bottom: 18px;

    color: #001f54;
    font-family: "Poppins", sans-serif;
    font-size: 17px;

    text-align: center;
}

@media (max-width: 600px) {
    .memory-verse-container {
        width: 100%;
        padding: 40px 20px;
    }

    .memory-verse-container h2 {
        font-size: 26px;
    }

    .memory-verse-text {
        font-size: 18px;
    }
}

/* =========================================================
   MEMORY VERSE — WHITE BACKGROUND
   ========================================================= */

.memory-verse {
    position: relative;

    /* CHANGE NAVY TO WHITE */
    background: #ffffff !important;

    color: #001f54;

    overflow: hidden;
}


/* =========================================================
   MEMORY VERSE CARD
   ========================================================= */

.memory-verse-container {
    position: relative;
    z-index: 2;

    background: #ffffff;

    border-radius: 24px;

    box-shadow:
        0 15px 40px rgba(0, 31, 84, 0.10);
}


/* =========================================================
   DECORATIVE WHITE CURVES
   ========================================================= */

.memory-verse::before {
    content: "";

    position: absolute;

    width: 210px;
    height: 380px;

    left: 9%;
    top: 50%;

    transform:
        translateY(-50%)
        rotate(8deg);

    border: 4px solid #ffffff;

    border-radius: 50%;

    background: transparent;

    opacity: 0.95;

    pointer-events: none;
}


.memory-verse::after {
    content: "";

    position: absolute;

    width: 150px;
    height: 270px;

    right: 10%;
    top: 50%;

    transform:
        translateY(-50%)
        rotate(-18deg);

    border: 4px solid #ffffff;

    border-radius: 50%;

    background: transparent;

    opacity: 0.95;

    pointer-events: none;
}


/* =========================================================
   MEMORY VERSE TEXT
   ========================================================= */

.memory-verse h2,
.memory-verse-text {
    color: #001f54;
}


.memory-verse-reference {
    color: #d4af37;
}


.memory-verse-message {
    color: #333333;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .memory-verse::before {
        width: 120px;
        height: 260px;

        left: -35px;

        border-width: 3px;
    }

    .memory-verse::after {
        width: 100px;
        height: 210px;

        right: -30px;

        border-width: 3px;
    }

}

/* =========================================================
   FORCE PASTOR SECTION TO WHITE
========================================================= */

section.pastor {
    background: #ffffff !important;
    color: #001f54 !important;
}

section.pastor h2 {
    color: #0d47a1 !important;
}

section.pastor .pastor-content p {
    color: #444444 !important;
}

section.pastor .pastor-features div {
    background: #ffffff !important;
    color: #001f54 !important;
}
/* =====================================================
   JEEVA NADI BOOKS STORE POPUP
===================================================== */

/* -----------------------------------------------------
   POPUP OVERLAY
----------------------------------------------------- */

.books-popup {

    position: fixed;
    inset: 0;

    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    padding: 20px;

    background: rgba(0, 15, 40, 0.78);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;

}


/* -----------------------------------------------------
   HIDDEN STATE
----------------------------------------------------- */

.books-popup[hidden] {

    display: none !important;

}


/* -----------------------------------------------------
   OPEN STATE
----------------------------------------------------- */

.books-popup.books-popup-visible {

    display: flex !important;

    opacity: 1;
    visibility: visible;
    pointer-events: auto;

}


/* -----------------------------------------------------
   POPUP CONTENT
----------------------------------------------------- */

.books-popup-content {

    position: relative;

    width: min(520px, 100%);
    max-height: calc(100vh - 40px);

    overflow-y: auto;

    padding: 45px 38px 35px;

    text-align: center;

    background: #ffffff;

    border-radius: 20px;

    border-top: 5px solid #d4af37;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.35);

    transform:
        translateY(30px)
        scale(0.96);

    transition:
        transform 0.35s ease;

}


/* -----------------------------------------------------
   POPUP OPEN ANIMATION
----------------------------------------------------- */

.books-popup.books-popup-visible
.books-popup-content {

    transform:
        translateY(0)
        scale(1);

}


/* -----------------------------------------------------
   BOOK ICON
----------------------------------------------------- */

.books-popup-icon {

    width: 75px;
    height: 75px;

    margin: 0 auto 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 38px;

    border-radius: 50%;

    background: #001f54;

    box-shadow:
        0 10px 25px rgba(0, 31, 84, 0.25);

}


/* -----------------------------------------------------
   TITLE
----------------------------------------------------- */

.books-popup-content h2 {

    margin: 0;

    color: #001f54;

    font-family: "Cinzel", serif;

    font-size: 28px;
    font-weight: 700;

    line-height: 1.3;

}


/* -----------------------------------------------------
   GOLD DIVIDER
----------------------------------------------------- */

.books-popup-divider {

    width: 70px;
    height: 3px;

    margin: 16px auto;

    background: #d4af37;

    border-radius: 5px;

}


/* -----------------------------------------------------
   TAGLINE
----------------------------------------------------- */

.books-popup-tagline {

    margin: 0 0 15px;

    color: #001f54;

    font-family: "Poppins", sans-serif;

    font-size: 17px;
    font-weight: 600;

    line-height: 1.6;

}


/* -----------------------------------------------------
   DESCRIPTION
----------------------------------------------------- */

.books-popup-description {

    max-width: 430px;

    margin: 0 auto 22px;

    color: #555555;

    font-family: "Poppins", sans-serif;

    font-size: 14px;
    font-weight: 400;

    line-height: 1.7;

}


/* -----------------------------------------------------
   HIGHLIGHTS
----------------------------------------------------- */

.books-popup-highlights {

    display: flex;
    flex-direction: column;

    gap: 10px;

    margin: 20px 0 25px;

    text-align: left;

}


/* -----------------------------------------------------
   INDIVIDUAL HIGHLIGHT
----------------------------------------------------- */

.books-popup-highlight {

    display: flex;
    align-items: center;

    gap: 12px;

    padding: 11px 15px;

    background: #f7f9fc;

    border-left: 3px solid #d4af37;

    border-radius: 8px;

    color: #001f54;

    font-family: "Poppins", sans-serif;

    font-size: 13px;
    font-weight: 600;

}


/* -----------------------------------------------------
   ACTION AREA
----------------------------------------------------- */

.books-popup-actions {

    display: flex;
    flex-direction: column;

    gap: 10px;

}


/* -----------------------------------------------------
   EXPLORE BOOKS BUTTON
----------------------------------------------------- */

.books-explore-btn {

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    width: 100%;

    padding: 14px 20px;

    background: #001f54;

    color: #ffffff;

    text-decoration: none;

    border: 2px solid #001f54;

    border-radius: 8px;

    font-family: "Poppins", sans-serif;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;

}


.books-explore-btn:hover {

    background: #d4af37;

    border-color: #d4af37;

    color: #001f54;

    transform: translateY(-2px);

}


/* -----------------------------------------------------
   MAYBE LATER BUTTON
----------------------------------------------------- */

.books-later-btn {

    padding: 8px;

    border: none;

    background: transparent;

    color: #666666;

    font-family: "Poppins", sans-serif;

    font-size: 13px;
    font-weight: 400;

    cursor: pointer;

    transition:
        color 0.2s ease;

}


.books-later-btn:hover {

    color: #001f54;

}


/* -----------------------------------------------------
   CLOSE BUTTON
----------------------------------------------------- */

.books-popup-close {

    position: absolute;

    top: 12px;
    right: 15px;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: none;

    border-radius: 50%;

    background: #f2f4f8;

    color: #001f54;

    font-family: Arial, sans-serif;

    font-size: 25px;
    font-weight: 400;

    line-height: 1;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;

}


.books-popup-close:hover {

    background: #001f54;

    color: #ffffff;

    transform: rotate(90deg);

}


/* -----------------------------------------------------
   FOOTER MESSAGE
----------------------------------------------------- */

.books-popup-footer {

    margin: 20px 0 0;

    color: #777777;

    font-family: "Poppins", sans-serif;

    font-size: 11px;
    font-style: italic;

    line-height: 1.5;

}


/* -----------------------------------------------------
   PREVENT BACKGROUND SCROLL
----------------------------------------------------- */

body.books-popup-open {

    overflow: hidden;

}


/* =====================================================
   MOBILE RESPONSIVE
===================================================== */

@media (max-width: 600px) {

    .books-popup {

        padding: 15px;

    }


    .books-popup-content {

        width: 100%;
        max-height: calc(100vh - 30px);

        padding: 40px 22px 25px;

        border-radius: 16px;

    }


    .books-popup-content h2 {

        font-size: 23px;

    }


    .books-popup-tagline {

        font-size: 15px;

    }


    .books-popup-description {

        font-size: 13px;

    }


    .books-popup-icon {

        width: 65px;
        height: 65px;

        font-size: 32px;

    }


    .books-popup-close {

        top: 10px;
        right: 10px;

        width: 35px;
        height: 35px;

        font-size: 22px;

    }

}


/* =====================================================
   VERY SMALL SCREENS
===================================================== */

@media (max-width: 380px) {

    .books-popup {

        padding: 10px;

    }


    .books-popup-content {

        padding:
            38px
            18px
            22px;

    }


    .books-popup-content h2 {

        font-size: 21px;

    }


    .books-popup-highlight {

        padding: 10px 12px;

        font-size: 12px;

    }


    .books-explore-btn {

        padding: 13px 16px;

    }

}



/* =========================================================
   MINISTRY SERVICES
   CLEAN WHITE PREMIUM SECTION
========================================================= */

.ministry-services {

    position: relative;

    width: 100%;

    padding: 85px 6% 95px;

    /* IMPORTANT:
       NO DARK BLUE BACKGROUND */
    background: #ffffff;

    color: #0b1f4b;

    overflow: hidden;

    box-sizing: border-box;
}


/* =========================================================
   SECTION HEADER
========================================================= */

.ministry-services-header {

    width: 100%;

    max-width: 850px;

    margin: 0 auto 55px;

    text-align: center;
}


/* Small gold label */

.ministry-eyebrow {

    display: inline-block;

    margin-bottom: 12px;

    color: #c99700;

    font-family: "Poppins", sans-serif;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2px;

}


/* Main heading */

.ministry-services-header h2 {

    margin: 0;

    font-family: "Cinzel", serif;

    font-size: clamp(34px, 4vw, 48px);

    font-weight: 700;

    letter-spacing: 1px;

    color: #164c97;

}


/* Gold underline */

.ministry-services-header h2::after {

    content: "";

    display: block;

    width: 70px;

    height: 3px;

    margin: 16px auto 0;

    background:
        linear-gradient(
            90deg,
            #d4af37,
            #f4c542
        );

    border-radius: 50px;

}


/* Description */

.ministry-services-header p {

    max-width: 700px;

    margin: 20px auto 0;

    color: #666666;

    font-family: "Poppins", sans-serif;

    font-size: 15px;

    line-height: 1.8;

}


/* =========================================================
   FOUR CARD CONTAINER
========================================================= */

.ministry-services-container {

    width: 100%;

    max-width: 1100px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 24px;

    align-items: stretch;

    justify-content: center;

}


/* =========================================================
   INDIVIDUAL CARD
========================================================= */

.ministry-service-card {

    position: relative;

    min-height: 300px;

    padding: 28px 20px 22px;

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

    box-sizing: border-box;

    background: #ffffff;

    border: 1px solid #eeeeee;

    border-radius: 12px;

    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.08);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;

}


/* =========================================================
   CARD HOVER
========================================================= */

.ministry-service-card:hover {

    transform: translateY(-7px);

    border-color: #e0bd42;

    box-shadow:
        0 15px 32px rgba(0, 0, 0, 0.12);

}


/* =========================================================
   GOLD TOP LINE
========================================================= */

.ministry-service-card::before {

    content: "";

    position: absolute;

    top: 0;
    left: 50%;

    width: 0;

    height: 3px;

    background: #d4af37;

    transform:
        translateX(-50%);

    transition:
        width 0.3s ease;

}


.ministry-service-card:hover::before {

    width: 65%;

}


/* =========================================================
   ICON CIRCLE
========================================================= */

.ministry-service-icon {

    width: 82px;

    height: 82px;

    margin-bottom: 20px;

    display: flex;

    align-items: center;

    justify-content: center;

    position: relative;

    background: #ffffff;

    border: 2px solid #d4af37;

    border-radius: 50%;

    font-size: 38px;

    box-shadow:
        0 5px 15px rgba(212, 175, 55, 0.12);

    transition:
        transform 0.3s ease,
        background 0.3s ease;

}


.ministry-service-card:hover
.ministry-service-icon {

    transform: scale(1.06);

    background: #fffaf0;

}


/* =========================================================
   CRICKET ICON
========================================================= */

.cricket-icon {

    gap: 0;

}


/* Bat */

.cricket-bat {

    position: relative;

    z-index: 2;

    font-size: 35px;

    transform:
        rotate(-18deg);

}


/* Ball */

.cricket-ball {

    position: absolute;

    right: 15px;

    bottom: 16px;

    font-size: 20px;

}


/* =========================================================
   CARD TITLE
========================================================= */

.ministry-service-card h3 {

    margin: 0 0 15px;

    color: #164c97;

    font-family: "Cinzel", serif;

    font-size: 16px;

    font-weight: 700;

    line-height: 1.4;

    text-transform: uppercase;

}


/* =========================================================
   CARD DESCRIPTION
========================================================= */

.ministry-service-card p {

    margin: 0;

    color: #555555;

    font-family: "Poppins", sans-serif;

    font-size: 13px;

    line-height: 1.8;

}


/* =========================================================
   CARD GOLD DIVIDER
========================================================= */

.ministry-card-divider {

    width: 38px;

    height: 2px;

    margin-top: auto;

    padding-top: 20px;

    position: relative;

}


.ministry-card-divider::before {

    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 38px;

    height: 2px;

    background:
        linear-gradient(
            90deg,
            #d4af37,
            #f4c542
        );

}


/* =========================================================
   CRICKET CARD SPECIAL ACCENT
========================================================= */

.cricket-card {

    border-top: 3px solid #d4af37;

}


/* =========================================================
   REMOVE OLD EVENTS LOOK
========================================================= */

/*
   These overrides make sure the old dark-blue
   Upcoming Events styling cannot affect this area.
*/

.events {

    background: #ffffff !important;

    color: #0b1f4b !important;

}


/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 1000px) {

    .ministry-services-container {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        max-width: 760px;

    }

}


/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 600px) {

    .ministry-services {

        padding:
            65px 5% 75px;

    }


    .ministry-services-header {

        margin-bottom: 40px;

    }


    .ministry-services-header h2 {

        font-size: 32px;

    }


    .ministry-services-header p {

        font-size: 14px;

    }


    .ministry-services-container {

        grid-template-columns: 1fr;

        max-width: 380px;

        gap: 20px;

    }


    .ministry-service-card {

        min-height: 280px;

    }

}
