/* ======================================================================
   GLOBAL RESET & BASE STYLES
====================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #faf9f5;
    font-family: 'Poppins', sans-serif;
    color: #222;
    line-height: 1.6;
}

html { scroll-behavior: smooth; }

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* ======================================================================
   HEADER SECTION
====================================================================== */
#header {
    background: url('assets/') center/cover no-repeat;
    border-bottom: 3px solid #d4c5a8;
    padding: 25px 0;
}

.header-inner {
    width: 90%;
    max-width: 1300px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 25px;
}

.logo-img {
    width: 170px;
    height: 170px;
    object-fit: cover;
    background: #fff;
    padding: 12px;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.18);
}

.title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: #d4af37; /* Gold */
}



/* HEADER MOTTO BLOCK */
.header-motto {
    margin-top: 6px;
    margin-bottom: 6px;
}

.motto-main {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 600;
    color: #0d1b2a;
    margin-bottom: 4px;
}

.motto-line {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 600;
    color: #4d3b1f;
    letter-spacing: 0.5px;
}

.motto-sub {
    font-family: 'Cormorant Garamond', serif;
    font-size: 17px;
    color: #555;
    font-style: italic;
    margin-top: 2px;
}

.motto-highlight {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    font-weight: 600;
    color: #c9a227;
    margin-top: 3px;
}


@media(max-width: 768px) {

    .motto-main {
        font-size: 18px;
    }

    .motto-line {
        font-size: 17px;
    }

    .motto-sub {
        font-size: 15px;
    }

    .motto-highlight {
        font-size: 16px;
    }
}


/* FORCE SINGLE LINE ON DESKTOP */
.title {
    white-space: nowrap;
}

/* MOBILE BREAK INTO 2 LINES */
@media(max-width: 768px) {
    .title {
        white-space: normal;
        display: block;
        text-align: center;
        line-height: 1.3;
    }
}


.subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px; /* increased from 25px */
    margin-bottom: 6px;
    color: #4d3b1f;
}

.tagline {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px; /* increased from 20px */
    color: #2f2f2f;
    margin-bottom: 10px;
}


.header-btns {
    display: flex;
    gap: 12px;
}

.header-btns button {
    background: #1b263b;
    color: white;
    border: none;
    padding: 9px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Poppins';
    transition: 0.3s;
}
.header-btns button:hover { background: #162032; }



/* ======================================================================
   HERO SECTION
====================================================================== */
#hero {
    height: 340px;
    background: url('assets/herobg2.jpeg') center/cover no-repeat;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

#hero .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
}

.hero-content {
    text-align: center;
    color: white;
    position: relative;
}

.hero-title {
    font-family: 'Playfair Display';
    font-size: 28px;
}

.hero-verse {
    margin-top: 8px;
    font-family: 'Cormorant Garamond';
    font-size: 18px;
}

/* ======================================================================
   CONTENT SECTIONS
====================================================================== */
.content-section { padding: 40px 0; }
.content-section.alt { background: #f3efe7; }

.section-heading {
    font-family: 'Playfair Display';
    font-size: 26px;
    margin-bottom: 12px;
    color: #c9a227;
}

.center-text {
    text-align: center;
    font-family: 'Cormorant Garamond';
    font-size: 18px;
    margin-top: 10px;
}

.quote-block {
    border-left: 4px solid #c9a227;
    padding: 10px 18px;
    margin: 20px 0;
    background: rgba(201,162,39,0.08);
    font-family: 'Cormorant Garamond';
    font-size: 18px;
}

ul { margin-left: 18px; }

.bullet-bold li {
    font-family: 'Cormorant Garamond';
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.board-btn {
    display: inline-block;
    background: #1b263b;
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 15px;
    text-decoration: none;
    transition: .3s;
}
.board-btn:hover { background: #0e1524; }

/* VISION SECTION IMAGE */
.vision-container {
    text-align: center;
    margin-top: 20px;
}

.vision-img-block {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.vision-img {
    width: 72%;
    max-width: 720px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* MOBILE RESPONSIVE */
@media(max-width: 600px) {
    .vision-img {
        width: 92%;
        max-width: 390px;
    }
}

/* ================= MISSION IMAGE SECTION ================= */
.mission-img-block {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 18px 0 22px;
}

.mission-img {
    width: 70%;
    max-width: 650px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* MOBILE RESPONSIVE */
@media(max-width: 600px) {
    .mission-img {
        width: 90%;
        max-width: 380px;
    }
}



/* ================= COUNSELLING SLIDER ================= */
.counselling-slider {
    width: 100%;
    max-width: 750px;
    margin: 20px auto 30px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.15);
}

.counselling-slider .slides {
    display: flex;
    width: 200%;
    animation: slide 7s infinite alternate ease-in-out;
}

.counselling-slider img {
    width: 100%;
    height: 350px;  /* bigger but not too big */
    object-fit: cover;
}

/* MOBILE TWEAK */
@media(max-width: 600px) {
    .counselling-slider img {
        height: 240px;
    }
}

/* SLIDE ANIMATION */
@keyframes slide {
    0%   { transform: translateX(0%); }
    50%  { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}


/* MARRIAGE & FAMILY COUNSELLING SECTION */
#marriage-family {
    padding: 40px 0;
}

.marriage-family-container {
    text-align: center;
}

.marriage-family-img-block {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.marriage-family-img {
    width: 100%;
    max-width: 750px;   /* increased like slider */
    height: 350px;      /* increased height */
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 22px rgba(0,0,0,0.15);
}

/* MOBILE RESPONSIVE */
@media(max-width: 600px) {
    .marriage-family-img {
        width: 100%;
        height: 240px;   /* matches mobile slider */
        max-width: 100%;
    }
}

/* STRESS SECTION */
#stress-section {
    padding: 40px 0;
}

.stress-container {
    text-align: center;
}

.stress-img-block {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.stress-img {
    width: 100%;
    max-width: 750px;   /* increased width */
    height: 350px;      /* added height */
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 22px rgba(0,0,0,0.15);
}

/* MOBILE RESPONSIVE */
@media(max-width: 600px) {
    .stress-img {
        width: 100%;
        height: 240px;   /* mobile size */
        max-width: 100%;
    }
}


/* CONNECTING GOD'S LOVE SLIDER (MANUAL SCROLL) */
.love-slider-block {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 20px 0 10px;
    overflow-x: auto;          /* Enable horizontal scroll */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Hide scrollbar (optional premium look) */
.love-slider-block::-webkit-scrollbar {
    display: none;
}

.love-slider {
    display: flex;
    gap: 18px;
    padding: 5px 10px;
}

/* IMAGE STYLE */
.love-slider img {
    flex: 0 0 auto;
    width: 65%;
    max-width: 600px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* MOBILE RESPONSIVE */
@media(max-width: 600px) {
    .love-slider img {
        width: 85%;
        max-width: 360px;
    }
}


/* DEVELOPING DISCIPLES SECTION */
#disciples-section {
    padding: 40px 0;
}

.disciples-container {
    text-align: center;
}

.disciples-img-block {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.disciples-img {
    width: 100%;
    max-width: 750px;   /* increased width */
    height: 350px;      /* added height */
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 22px rgba(0,0,0,0.15);
}

/* MOBILE RESPONSIVE */
@media(max-width: 600px) {
    .disciples-img {
        width: 100%;
        height: 240px;   /* mobile size */
        max-width: 100%;
    }
}




/* ======================================================================
   BIBLE VERSE STYLE
====================================================================== */
.bible-verse {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 600;
    color: #2c2c2c;
    border-left: 4px solid #c9a227;
    padding-left: 14px;
    margin-top: 6px;
    margin-bottom: 15px;
    line-height: 1.5;
}
.bible-verse span {
    font-weight: 600;
    color: #5a4a2c;
}

@media(max-width: 600px) {
    .bible-verse { font-size: 18px; padding-left: 10px; }
}

/* ======================================================================
   MOTTO SECTION
====================================================================== */
#motto {
    background: #fff8e8;
    padding: 35px 0;
    border-top: 3px solid #d4c5a8;
    border-bottom: 3px solid #d4c5a8;
    text-align: center;
}

.motto-box { max-width: 900px; margin: auto; }

.motto-line {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    color: #0d1b2a;
    margin-bottom: 10px;
}

.motto-sub {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 600;
    color: #3d2b1f;
    line-height: 1.4;
}

@media(max-width: 600px) {
    .motto-line { font-size: 22px; }
    .motto-sub { font-size: 18px; }
}

/* HELP MISSION IMAGE MANUAL SCROLL SLIDER */

.help-slider-block {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 25px 0 10px;
    overflow: hidden;
}

.help-slider {
    display: flex;
    gap: 16px;

    /* MANUAL SCROLL */
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 6px;

    /* Touch scrolling */
    -webkit-overflow-scrolling: touch;
}

/* Hide scrollbar (optional premium look) */
.help-slider::-webkit-scrollbar {
    height: 6px;
}

.help-slider::-webkit-scrollbar-thumb {
    background: #c9a227;
    border-radius: 10px;
}

.help-slider::-webkit-scrollbar-track {
    background: transparent;
}

/* Images */
.help-slider img {
    flex: 0 0 auto;

    width: 50%;
    max-width: 480px;

    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 6px 18px rgba(0,0,0,0.14);

    transition: transform .3s ease;
}

/* Hover effect */
.help-slider img:hover {
    transform: scale(1.03);
}

/* MOBILE */
@media(max-width: 600px) {
    .help-slider img {
        width: 80%;
        max-width: 300px;
    }
}


/* ======================================================================
   COUNSELLING IMAGE BLOCK
====================================================================== */
.counselling-img-block {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 18px 0 30px;
}

.counselling-img {
    width: 65%;
    max-width: 550px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    object-fit: cover;
}

@media(max-width: 600px) {
    .counselling-img { width: 90%; max-width: 360px; }
}

/* ======================================================================
   GALLERY SECTION
====================================================================== */
.gallery-section { padding: 40px 0; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: #e8e8e8;
    box-shadow: 0 4px 10px rgba(0,0,0,0.07);
    transition: 0.3s;
}

.gallery-item img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    transition: 0.5s;
    filter: brightness(92%);
}

.gallery-item:hover img {
    transform: scale(1.06);
    filter: brightness(100%);
}

.gallery-hidden { display: none; }

.gallery-btn-wrapper { text-align: center; margin-top: 18px; }

#galleryToggle {
    display: none;
}

.gallery-hidden {
    display: none;
}

#galleryToggle:checked ~ .gallery-grid .gallery-hidden {
    display: block;
}

.gallery-toggle-btn {
    background: #1b263b;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    display: inline-block;
    font-size: 15px;
    transition: .3s;
}

.gallery-toggle-btn:hover {
    background: #0e1524;
}


.contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 500px;
  margin: 20px auto;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  font-family: 'Poppins';
}

.contact-form button {
  background: #1b263b;
  color: #fff;
  padding: 10px;
  border-radius: 6px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background: #0e1524;
}


/* ======================================================================
   FOOTER SECTION
====================================================================== */
#footer {
    background: #0c1424;
    color: #e8e8e8;
    padding: 50px 0 0;
    margin-top: 40px;
    border-top: 3px solid #c9a227;
}

.footer-container {
    width: 90%;
    max-width: 1300px;
    margin: auto;
    display: grid;
    gap: 35px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.footer-col h4 {
    font-family: 'Playfair Display';
    font-size: 20px;
    margin-bottom: 15px;
}

.footer-col p {
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-links { list-style: none; }

.footer-links a {
    text-decoration: none;
    color: #dcdcdc;
    font-size: 15px;
    transition: 0.3s;
}
.footer-links a:hover { color: #c9a227; padding-left: 4px; }

.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    transition: 0.3s;
}
.social-btn svg { transition: 0.3s ease; }
.social-btn:hover svg { opacity: 0.85; }

.qr-small-img {
    width: 90px;
    height: 90px;
    border-radius: 6px;
    margin-top: 8px;
    object-fit: cover;
    border: 1px solid #ccc;
}
@media(max-width: 480px) {
    .qr-small-img { width: 80px; height: 80px; }
}

/* ======================================================================
   DONATE MODAL
====================================================================== */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-card {
    background: white;
    width: 90%;
    max-width: 350px;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    animation: fadeIn .3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.modal-close {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 26px;
    cursor: pointer;
}

.qr-image {
    width: 200px;
    max-width: 85%;
    border-radius: 8px;
    border: 2px solid #eee;
}

.bank-section {
    margin: 10px 0 12px;
    font-size: 14px;
    line-height: 1.4;
    color: #333;
}

.upi-section {
    margin-top: 10px;
    font-size: 14px;
    color: #222;
}

.qr-wrapper {
    margin: 12px 0;
    display: flex;
    justify-content: center;
}

/* ======================================================================
   TYPING ANIMATION
====================================================================== */
.typing, .typing2 {
    white-space: nowrap;
    overflow: hidden;
    border-right: 3px solid #c9a227;
    width: 0;
    animation: typing 4s steps(50, end) forwards, blink .7s infinite;
}
.typing2 {
    border-right-color: #1b263b;
    animation: typing2 4s steps(40, end) 1s forwards, blink .7s infinite 1s;
}
@keyframes typing { from {width: 0;} to {width: 100%;} }
@keyframes typing2 { from {width: 0;} to {width: 100%;} }
@keyframes blink { 50% { border-color: transparent; } }

/* ======================================================================
   SCROLL REVEAL
====================================================================== */
.reveal, .reveal-up, .reveal-left, .reveal-right, .reveal-zoom {
    opacity: 0;
    transition: 0.9s ease;
}
.reveal-up { transform: translateY(40px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-zoom { transform: scale(0.9); }

.active {
    opacity: 1 !important;
    transform: none !important;
}

/* ======================================================================
   MOBILE (<= 600px) — Larger Title & Subtitle, Centered Layout
====================================================================== */
@media(max-width: 600px) {

    #header {
        padding: 12px 0;
    }

    .header-inner {
        width: 100%;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
        padding: 0 10px;
    }

    .header-right {
        width: 100%;
        text-align: center;
    }

    .logo-img {
        width: 90px;
        height: 90px;
        padding: 5px;
        margin-bottom: 6px;
    }

    /* TITLE - Larger */
    .title {
        font-size: 28px;       /* increased from 24px */
        font-weight: 600;
        line-height: 1.3;
    }

    /* SUBTITLE - Larger but clean */
    .subtitle {
        font-size: 18px;       /* increased from 15px */
        font-weight: 500;
        margin-top: 2px;
    }

    /* TAGLINE slightly bigger */
    .tagline {
        font-size: 15px;       /* increased from 13px */
        margin-top: 3px;
    }

    /* BUTTON SECTION */
    .header-btns {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        margin-top: 8px;
    }

    .header-btns button {
        width: 85%;
        max-width: 240px;
        padding: 10px 12px;
        font-size: 15px;
        white-space: nowrap;
        border-radius: 6px;
        margin: auto;
    }
}


/* ======================================================================
   BOARD MEMBERS PAGE
====================================================================== */

/* ============================
   MEMBER IMAGE SAFE CIRCLE FIX
============================ */

.member-card {
  text-align: center;
  cursor: pointer;
}

/* Circle Container */
.member-card .member-img-wrapper {
  width: 170px;
  height: 170px;
  margin: auto;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
  background: #eee;
}

/* Image Inside */
.member-card .member-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top; /* KEY FIX */
  transition: .3s ease;
}

.member-card:hover img {
  transform: scale(1.05);
}

/* IMAGE POPUP */
.img-popup {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

/* SHOW WHEN TARGETED */
.img-popup:target {
  display: block;
}

/* DARK BG */
.popup-bg {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.75);
}

/* POPUP BOX */
.popup-box {
  position: relative;
  width: 90%;
  max-width: 400px;
  margin: 8% auto;
  background: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  animation: popupFade .3s ease;
}

.popup-box img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
}

.popup-close {
  position: absolute;
  right: 14px;
  top: 10px;
  font-size: 26px;
  text-decoration: none;
  color: #333;
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* Mobile: force 2 members per row */
@media (max-width: 640px) {
  .member-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ANIMATION */
@keyframes popupFade {
  from { transform: scale(.8); opacity:0; }
  to { transform: scale(1); opacity:1; }
}



/* ============================
   MODAL FIX
============================ */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
}

.modal-card {
  background: #fff;
  width: 90%;
  max-width: 420px;
  border-radius: 10px;
  text-align: center;
  padding: 18px;
  position: relative;
}

.modal-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 26px;
  cursor: pointer;
}

.floating-home-btn {
  position: fixed;
  bottom: 15px;
  right: 15px;
  background: #1b263b;
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
}



<!----financial h>
   .financial-img {
    width: 100%;
    border-radius: 8px;
    margin: 15px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.policy-text {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    margin-top: 10px;
}

.qr-image {
    width: 220px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
    margin: 12px 0 18px;
}

.bank-details {
    font-size: 16px;
    line-height: 1.6;
    color: #222;
    margin-top: 10px;
}
