/* ============================================================
   GLOBAL THEME VARIABLES
   ============================================================ */
:root {
  --primary: #04AA6D;
  --primary-soft: #0e6bb8;
  --accent: #ffb300;
  --bg: #ffffff;
  --bg-card: #ffffff;
  --text: #1a1a1a;
  --muted: #6c757d;
  --radius: 12px;
  --shadow-soft: 0 3px 10px rgba(0,0,0,0.08);
  --max-width: 1200px;
  --section-padding: 60px;
  --section-padding-mobile: 35px;
}

/* Dark Mode */
[data-theme="dark"] {
  --bg: #111827;
  --bg-card: #1f2933;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --shadow-soft: 0 3px 10px rgba(0,0,0,0.6);
}

/* ============================================================
   GLOBAL RESET  #04AA6D
   ============================================================ */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  padding-top: 80px;;
  /*For MOBILE: Prevent "Mobile White Bars"On some mobile browsers, a white bar can appear during scroll-up because of "overscroll" behavior. Adding this to your CSS can stop the page from "bouncing" and showing a white background behind your nav:*/
  overscroll-behavior-y: none;
}



/* ================================
   NAVIGATION (FINAL CLEAN VERSION)
================================ */

/* MAIN NAV WRAPPER */
#mainNav {
  background: var(--primary);
  color: white;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99999;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Hide on scroll */
#mainNav.hide {
  transform: translateY(-100%);
}

/* Shadow when scrolling */
#mainNav.scrolled {
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

/* NAV INNER CONTAINER */
.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* LOGO */
.nav-logo img {
  display: block;
}

.logo-desktop {
  height: 48px;
  width: auto;
}

.logo-mobile {
  display: none;
  height: 40px;
  width: auto;
}

/* ORG NAME */
.org-name {
  font-size: 20px;
  font-weight: 700;
  color: #eae402;
 text-decoration: none !important;  /* Remove text underline */
    border: none !important;           /* Remove any border */
    border-bottom: none !important;    /* Remove bottom border */
    box-shadow: none !important;       /* Remove shadow lines */
    background-image: none !important; /* Remove gradient/line backgrounds */
    outline: none !important;          /* Remove focus outline */
}


@media (max-width: 680px) {
.org-name {
  font-size: 16px;
  font-weight: 800;
  color: rgb(236, 221, 0);
  text-decoration: none !important;  /* Remove text underline */
    border: none !important;           /* Remove any border */
    border-bottom: none !important;    /* Remove bottom border */
    box-shadow: none !important;       /* Remove shadow lines */
    background-image: none !important; /* Remove gradient/line backgrounds */
    outline: none !important;          /* Remove focus outline */
  }
}

/* MENU */
.nav-menu {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.nav-menu li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 5px;
  display: block;
  transition: 0.2s;
}

.nav-menu li a:hover {
  opacity: 0.7;
}

/* DROPDOWN */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 40px;
  left: 0;
  background: white;
  color: black;
  min-width: 180px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  display: none;
  flex-direction: column;
  padding: 10px 0;
  z-index: 100;
}

.dropdown-menu li a {
  color: black;
  padding: 10px 15px;
}

.dropdown-menu li a:hover {
  background: #f0f0f0;
}

/* SHOW DROPDOWN ON HOVER (DESKTOP) */
.dropdown:hover .dropdown-menu {
  display: flex;
}

/* MOBILE NAV TOGGLE */
.nav-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: white;
}

/* ================================
   MOBILE RESPONSIVE NAVIGATION
================================ */
@media (max-width: 768px) {

  /* Show mobile logo */
  .logo-desktop {
    display: none;
  }
  .logo-mobile {
    display: block;
  }

  /* Mobile menu layout */
  .nav-menu {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--primary);
    flex-direction: column;
    display: none;
    padding: 20px 0;
    gap: 0;
  }

  .nav-menu li {
    text-align: center;
    padding: 10px 0;
  }

  /* Show toggle button */
  .nav-toggle {
    display: block;
  }

  /* MOBILE DROPDOWN */
  .dropdown-menu {
    position: static;
    background: rgba(255,255,255,0.1);
    box-shadow: none;
    display: none;
  }

  .dropdown.open .dropdown-menu {
    display: block;
  }
}




.top-donation-bar{
    border-bottom: 0px solid #691313;
    background-color: rgb(255, 255, 255);
    padding: .5em 1em;
    overflow: hidden;
    padding: 0px 0px;
}
.top-donation-bar a{
    float: left;
    color: black;
    text-align: center;
    padding: 0px 0px 0px 0px;
    text-decoration: none;
    font-size: 18px; 
    line-height: 25px;
    border-radius: 4px;
}
  .top-donation-bar-address{
    float: left;
    font-size: 14px;
    padding: 4px 0px 0px 30px;

  }
  .top-donation-bar-phone{
    float: left;
    font-size: 14px;
    padding: 4px 0px 0px 10px;

  }
  




  .top-donation-bar-button {
    overflow: hidden;
    /*background-color: #19ad37;*/
    background-image: linear-gradient(to right, #19ad37, rgb(119, 3, 71));
    float: right;
  }
  
  .top-donation-bar-button a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 05px 32px;
    text-decoration: none;
    font-size: 20px;
  }
  
  .top-donation-bar-button a:hover {
    background-color: #ddd;
    color: black;
  }
  
  .top-donation-bar-button a.active {
    background-color: #04AA6D;
    color: white;
  }
  
  .top-donation-bar-button .icon {
    display: none;
  }






/* ============================================================
   HERO SECTION [HOME]
   ============================================================ */
/* RESPONSIVE HERO SLIDER FIX */
.home-hero-slider {
  position: relative;
  width: 100%;
  height: 50vh; /* responsive height */
  max-height: 650px;
  min-height: 380px;
  overflow: hidden;
  margin-bottom: 60px;
}

/* Each slide */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;        /* makes image responsive */
  background-position: center;   /* centers image */
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  height: 480px;
}

.hero-slide.active {
  opacity: 1;
}

/* Text container */
.home_hero {
  position: absolute;
  top: 40%;
  left: 41%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  width: 90%;
  max-width: 700px;
}
/* MOBILE FIX */
@media (max-width: 768px) {
.home_hero {
  position: absolute;
  top: 35%;
  left: 50%;

}
}

/* Responsive text */
.home_hero h1 {
  font-size: clamp(28px, 5vw, 48px);
  margin-bottom: 10px;
}

.home_hero p {
  font-size: clamp(16px, 2.5vw, 20px);
  margin-bottom: 20px;
}

/* Buttons */
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 26px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
}

.btn-primary {
  background: #f1c40f;
  color: #000;
}

.btn-outline {
  border: 2px solid #fff;
  color: #fff;
}

/* MOBILE FIX */
@media (max-width: 768px) {
  .home-hero-slider {
    height: 35vh;
    min-height: 350px;
  }
}

/* ================================
   ABOUT + PRAYER SECTION
================================ */
.about-support-section {
  display: flex;
  gap: 40px;
  padding: 0px 20px;
  max-width: 1200px;
  margin: auto;
}

/* LEFT SIDE (75%) */
.about-left {
  flex: 3;
}

.about-left h2 {
    font-size: 35px;
    color: #0c0754;
    margin-bottom: 20px;
    font-weight: 700;
}

.about-left p {
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.about-points {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.about-points li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  font-size: 16px;
}

.about-points li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #19ad37;
  font-weight: bold;
}

.learn-more-btn {
  display: inline-block;
  padding: 12px 28px;
  background: #0a3d62;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.learn-more-btn:hover {
  background: #07405a;
}

/* RIGHT SIDE (25%) */
.about-right {
  flex: 1;
}

.prayer-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 25px rgba(0,0,0,0.12);
  padding: 0;
  animation: fadeIn 0.6s ease;
   /* Shadow: x-offset, y-offset, blur, color */
    box-shadow: 0px 3px 15px rgba(0, 0, 0, 0.3);
}
.prayer-header {
background: linear-gradient(135deg, #ffa3a3, #edf49c);
padding: 15px;
text-align: center;
padding-top: 30px;
box-shadow: aqua;
}
.prayer-header h3 {
  color: white;
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}
.prayer-list {
  padding: 20px;
}
.prayer-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  font-size: 16px;
}

.prayer-item:last-child {
  border-bottom: none;
}

.prayer-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.prayer-left i {
  color: #0a3d62;
  font-size: 18px;
}

/* Highlight next prayer */
.next-prayer {
  background: rgba(26, 188, 156, 0.08);
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 10px;
  border-left: 4px solid #1abc9c;
}
.prayer-more-btn {
  display: block;
  text-align: center;
  padding: 12px;
  background: #19ad37;
  color: white;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 16px 16px;
  transition: 0.3s;
}
.prayer-more-btn:hover {
  background: #148a2c;
}

/* Fade animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}


.prayer-card h3 {
  text-align: center;
  font-size: 22px;
  margin-bottom: 20px;
  color: #0a3d62;
}

.prayer-time {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  font-size: 16px;
}

.prayer-time:last-child {
  border-bottom: none;
}

.more-prayers-btn {
  display: block;
  margin-top: 20px;
  text-align: center;
  padding: 10px;
  background: #19ad37;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.more-prayers-btn:hover {
  background: #148a2c;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .about-support-section {
    flex-direction: column;
  }

  .about-right {
    width: 100%;
  }
}

/* ================================
   SECTION TITLE BLOCK (Philosopher)
================================ */
.section-title-block {
  margin-bottom: 25px;
}

.section-subtitle-home {
  font-family: 'Philosopher', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 1px;
  display: block;
}

.section-title {
  font-family: 'Philosopher', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  margin-top: 5px;
  color: #0a3d62;
  line-height: 1.2;
}

/* Body text (Montserrat) */
.about-left p,
.about-points li {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  line-height: 1.75rem;
  color: #555;
}




/* ============================================================
   HERO SECTION [ABOUT US]
   ============================================================ */
.about-hero {
  background: url('/nonprofit/assets/img/about-hero.jpg') center/cover no-repeat;
  padding: 120px 20px;
  text-align: center;
  color: white;
}

.about-hero-content h1 {
  font-size: 48px;
  margin-bottom: 10px;
}

.about-hero-content p {
  font-size: 20px;
  opacity: 0.9;
}


@media (max-width: 768px) {
  .about-hero {
    padding: 80px 20px;
  }
  .about-hero h1 {
    font-size: 32px;
  }
  .about-hero p {
    font-size: 16px;
  }
  .about-hero-buttons {
    flex-direction: column;
  }
}




/* GENERAL SECTIONS */
.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
  padding: 60px 0;
}

.about-intro p {
  font-size: 18px;
  line-height: 1.7;
}

/* MISSION + VISION */
.two-column {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.two-column .box {
  flex: 1;
  min-width: 280px;
  background: #f7f7f7;
  padding: 25px;
  border-radius: 10px;
}

/* VALUES GRID */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  
    margin-top: 30px;
}

.value-card {
  background: #164e9f;
  color: white;
  padding: 20px;
  text-align: center;
  border-radius: 8px;
  font-size: 18px;
}



/* TEAM SECTION */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.team-card {
  text-align: center;
}

.team-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
}

.team-card h4 {
  margin: 5px 0;
}
/* ============================================================
   LAYOUT SYSTEM
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: var(--section-padding) 0;
}

/* GRID SYSTEM */
.grid {
  display: grid;
  gap: 25px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--bg-card);
  padding: 25px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary-soft);
  color: white;
}

.btn-primary:hover {
  background: var(--primary);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.7);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
}

/* ============================================================
   FORMS
   ============================================================ */
.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 9px 10px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-size: 14px;
  background: var(--bg-card);
  color: var(--text);
}

textarea.form-control {
  min-height: 120px;
}

/* ============================================================
   ALERTS
   ============================================================ */
.alert {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 16px;
}

.alert-info {
  background: #e0f2fe;
  color: #075985;
}

.alert-success {
  background: #dcfce7;
  color: #166534;
}

.alert-danger {
  background: #fee2e2;
  color: #991b1b;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1 { font-size: 42px; margin-bottom: 15px; }
h2 { font-size: 32px; margin-bottom: 10px; }
h3 { font-size: 22px; margin-bottom: 8px; }
p  { line-height: 1.6; font-size: 16px; }

.section-subtitle {
  margin-top: 0;
  color: var(--muted);
  font-size: 14px;
}
  


/* Back to Top Button */
#backToTop {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #e60000; /* Red */
  color: white;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 999999;
  animation: pulse 1.5s infinite;
}

/* Show when scrolling */
#backToTop.show {
  opacity: 1;
  visibility: visible;
}

/* Glow / Pulse Animation */
@keyframes pulse {
  0% {
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.6);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 0, 0, 1);
  }
  100% {
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.6);
  }
}



/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; margin-top: 40px; margin-bottom: 40px; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }

/* ============================================================
   RESPONSIVE (MOBILE-FIRST)
   ============================================================ */
@media (max-width: 900px) {
  .grid-3, .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  /* Logo swap */
  .logo-desktop { display: none; }
  .logo-mobile { display: block; }

  /* Mobile nav */
  .nav-toggle { display: block; }

  .nav-menu {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--primary);
    flex-direction: column;
    display: none;
    padding: 20px 0;
  }

  .nav-menu li {
    text-align: center;
  }

  .dropdown-menu {
    position: static;
    background: rgba(255,255,255,0.1);
    box-shadow: none;
    display: none;
  }

  .dropdown.open .dropdown-menu {
    display: block;
  }




  /* Grid */
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }

  /* Section */
  .section {
    padding: var(--section-padding-mobile) 0;
  }

  /* Buttons */
  .btn {
    width: 100%;
    text-align: center;
  }

  /* Container */
  .container {
    padding: 0 15px;
  }
}

/*
===================================
MOON and STARs
==================================
*/
 /* Moon */
    .moon {
        position: absolute;
        top: 50px;
        right: 50px;
        width: 100px;
        height: 100px;
        background: radial-gradient(circle at 30% 30%, #fff, #ddd);
        border-radius: 50%;
        box-shadow: 0 0 30px #fff;
    }

    /* Stars */
    .star {
        position: absolute;
        background: white;
        border-radius: 50%;
        opacity: 0.8;
        animation: twinkle 2s infinite ease-in-out;
    }

    @keyframes twinkle {
        0%, 100% { opacity: 0.8; }
        50% { opacity: 0.2; }
    }


/* ================================
   DONATION SECTION BACKGROUND (FIXED)
================================ */
.donation-section-bg {
    width: 100%;
    position: relative;
    padding: 70px 0 110px; /* balanced spacing */
    background: linear-gradient(180deg, #eef0a3 0%, #f569fa 100%);
   /* background-image: url("");*/
    overflow: hidden;
}
.donation-card-title {
    margin-bottom: var(--bs-card-title-spacer-y);
    color: var(--bs-card-title-color);
}


/* Optional soft pattern */
.donation-section-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('/nonprofit/assets/images/background_donation.jpg');
    opacity: 0.20;
    pointer-events: none;
    z-index: 1;
}

/* Cards container */
.donation-cards-section {
    position: relative;
    z-index: 5;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

/* Bottom wave */
.wave-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 2;
}
/* Smooth curve */
.curve-top {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 140px;
    z-index: 1;
}
/* .curve-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 140px;
    background: url("data:image/svg+xml;utf8,<svg viewBox='0 0 1440 320' xmlns='http://www.w3.org/2000/svg'><path fill='%23eef3f8' d='M0,288 C240,256 480,224 720,240 C960,256 1200,320 1440,288 L1440,320 L0,320 Z'></path></svg>") no-repeat;
    background-size: cover;
}
.curve-bottom02 {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 160px;
    background: url("data:image/svg+xml;utf8,<svg viewBox='0 0 1440 320' xmlns='http://www.w3.org/2000/svg'><path fill='%23eef3f8' d='M0,256 C300,300 600,200 900,240 C1200,280 1440,200 1440,200 L1440,320 L0,320 Z'></path></svg>") no-repeat;
    background-size: cover;
}
.curve-bottom03 {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 120px;
    background: url("data:image/svg+xml;utf8,<svg viewBox='0 0 1440 320' xmlns='http://www.w3.org/2000/svg'><path fill='%23eef3f8' d='M0,320 L1440,160 L1440,320 Z'></path></svg>") no-repeat;
    background-size: cover;
}
.curve-bottom04 {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 160px;
    background: url("data:image/svg+xml;utf8,<svg viewBox='0 0 1440 320' xmlns='http://www.w3.org/2000/svg'><path fill='%23eef3f8' d='M0,256 C300,300 600,200 900,240 C1200,280 1440,200 1440,200 L1440,320 L0,320 Z'></path></svg>") no-repeat;
    background-size: cover;
} */






/* ================================
   DONATION CARDS GRID
================================ */
.donation-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* CARD */
.donation-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    padding: 20px;
    transition: 0.3s ease;
    cursor: pointer;
}

.donation-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.15);
}

/* SUBTITLE */
.card-subtitle {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 700;
    font-family: 'Philosopher', sans-serif;
}

/* TITLE */
.card-title {
    font-size: 1.6rem;
    margin: 8px 0 15px;
    font-family: 'Philosopher', sans-serif;
    color: #0a3d62;
}

/* IMAGE */
.card-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* DESCRIPTION */
.card-desc {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 15px;
}

/* ARROW */
.card-arrow {
    font-size: 24px;
    color: var(--primary);
    font-weight: bold;
    transition: 0.3s;
}

.donation-card:hover .card-arrow {
    transform: translateX(6px);
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .donation-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .donation-card-grid {
        grid-template-columns: 1fr;
    }
}




/* ================================
   FADE-IN ON SCROLL
================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================
   ACTIVITY SECTION
================================ */

.activity-section {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 20px;
}
/*
.activity-quote {
    position: relative;
    padding-left: 18px;
    border-left: 4px solid var(--primary);
    font-family: 'Philosopher', sans-serif;
    font-size: 1.2rem;
    color: #0a3d62;
    margin-top: 20px;
}
*/
.activity-quote {
    position: relative;
    padding-left: 18px;
    border-left: 4px solid transparent;
    border-image: linear-gradient(#d40aa2, var(--primary));
    border-image-slice: 1;
    font-family: 'Philosopher', sans-serif;
    font-size: 1.2rem;
    color: #0a3d62;
    margin-top: 20px;
}

/* LEFT COLUMN */
/*
.activity-left {
    flex: 1;
}
*/
/* MAIN GALLERY */
.activity-gallery {
    width: 100%;
    height: 320px; /* square-ish */
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    Background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(239, 66, 245, 0.6));
}

/* Auto Slider */
.gallery-slider {
    display: flex;
    width: 400%;
    animation: slideGallery 16s infinite linear;
}

.gallery-slider img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

/* Overlay Text */
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 0, 0, 0.1), rgba(0, 255, 114, 0.63));
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: white;
    z-index: 3;
}

/* Play Button Overlay */
/* Play Button Overlay (Bottom Right) */
/* Play button bottom-right */
.video-play-overlay {
    position: absolute;
    bottom: 12px;
    right: 12px;
    z-index: 4;
}

.play-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(255,255,255,0.85);
    position: relative;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.play-btn::before {
    content: "";
    position: absolute;
    left: 22px;
    top: 17px;
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent #0a3d62;
}

.play-btn:hover {
    transform: scale(1.1);
}


/* SECOND ROW THUMBNAILS */
/*
.gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.gallery-thumbs img {
    width: 25%;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}
    
    .gallery-thumbs img {
    height: 70px;
    border-radius: 6px;
}
*/

.gallery-thumbs {
    display: flex;
    flex-direction: row;
    gap: 10px;
    width: 100%;
    overflow-x: auto;       
    overflow-y: hidden;
    white-space: nowrap;    
    padding-bottom: 5px;
    scrollbar-width: thin; 
     .gallery-thumbs {
    transition: transform 0.6s ease; /* slower, smoother */
}

}

.gallery-thumbs::-webkit-scrollbar {
    height: 6px;
}

.gallery-thumbs::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.gallery-thumbs img {
    flex: 0 0 auto;         /* prevents stretching */
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}


.gallery-thumbs img:hover {
    transform: scale(1.05);
}

/* RIGHT COLUMN */
.activity-right {
    flex: 3;
}

.activity-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.activity-gallery,
.gallery-thumbs {
    width: 100%;
    background-image: url(/nonprofit/assets/images/img011.png);
}


/* Wrapper keeps reel aligned with main gallery */
.gallery-thumbs-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 15px;
}

/* Reel shows EXACTLY 4 images */
.gallery-thumbs {
    display: flex;
    gap: 10px;
    transition: transform 0.4s ease;
}



/* Simple arrow button */
.thumb-next-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffffcc;
    border: none;
    font-size: 28px;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: 0.2s;
}

.thumb-next-btn:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
}



/* Slider Animation */
@keyframes slideGallery {
    0% { transform: translateX(0); }
    25% { transform: translateX(-100%); }
    50% { transform: translateX(-200%); }
    75% { transform: translateX(-300%); }
    100% { transform: translateX(0); }
}

/* Responsive */
@media (max-width: 992px) {
    .activity-section {
        flex-direction: column;
    }

    .gallery-thumbs img {
        height: 70px;
    }
}



/* ================================
   SERVICES SECTION BACKGROUND
================================ */
.services-section-bg {
    width: 100%;
    padding: 100px 0;
    background: linear-gradient(180deg, #f3f7fb 0%, #508fff 100%);
    position: relative;
    overflow: hidden;
    background-image: url('/nonprofit/assets/images/services_background.avif'); /* Replace with your image path */
        background-size: cover;       /* Scale image to cover entire area */
        background-position: center;  /* Center the image */
        background-repeat: no-repeat; /* Prevent tiling */
       /* background-attachment: fixed; */ /* Optional: keeps image fixed on scroll */
}

.services-section-bg::before {
    content: "";
    inset: 0;
   /* background-image: url('/nonprofit/assets/images/services_background.avif'); */
    opacity: 0.85;
    pointer-events: none;
}

.services-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
    position: relative;
    z-index: 5;
}

/* ================================
   SERVICES GRID
================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

/* ================================
   SERVICE CARD
================================ */
.service-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    padding: 0 0 20px;
    transition: 0.3s ease;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.15);
}

/* IMAGE */
.service-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 14px 14px 0 0;
}

/* TITLE */
.service-title {
    font-family: 'Philosopher', sans-serif;
    font-size: 1.4rem;
    margin: 15px 20px 10px;
    color: #0a3d62;
}

/* DESCRIPTION */
.service-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5rem;
    margin: 0 20px 15px;
}

/* ARROW */
.service-arrow {
    font-size: 24px;
    color: var(--primary);
    font-weight: bold;
    margin-left: 20px;
    transition: 0.3s;
}

.service-card:hover .service-arrow {
    transform: translateX(6px);
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}






/* ================================
   GLOSSY BACKGROUND
================================ */
.glossy-bg {
    background: linear-gradient(135deg, #eef3f8 0%, #8cd9bf 100%);
    padding: 35px 0;
    position: relative;
}

.glossy-bg-2 {
    background: linear-gradient(135deg, #ffffff 0%, #f3f7fb 100%);
    padding: 80px 0;
}

/* ================================
   HERO SECTION
================================ */
.donation-hero-title {
    font-family: 'Philosopher', sans-serif;
    font-size: 3rem;
    color: #0a3d62;
    text-align: center;
}

.donation-hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    text-align: center;
    margin-top: 10px;
    color: #555;
}

/* ================================
   DONATION CHOICE CARDS
================================ */
.donation-choice-grid {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.donation-choice-card {
    background: #fff;
    border-radius: 14px;
    padding: 25px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.donation-choice-card:hover {
    transform: translateY(-6px);
}

.choice-title {
    font-family: 'Philosopher', sans-serif;
    font-size: 1.4rem;
    color: #0a3d62;
}

.choice-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    margin: 10px 0 20px;
    color: #555;
}

.choice-link {
    font-size: 26px;
    color: var(--primary);
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}

.choice-link:hover {
    transform: translateX(6px);
}

/* ================================
   DONATION FORM
================================ */
.donation-form-container {
    max-width: 700px;
    margin: auto;
    background: #fff;
    padding: 40px;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.form-title {
    font-family: 'Philosopher', sans-serif;
    font-size: 2rem;
    color: #0a3d62;
    text-align: center;
}

.form-subtitle {
    text-align: center;
    margin-bottom: 20px;
    color: #555;
}

/* Amount Buttons */
.donation-amount-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}
.donation-amount-grid button {
    background: #f1f1f1;
    color: #333; /* <-- makes text visible */
    border: 1px solid #ccc;
    font-weight: 600;
}



.amount-btn {
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ddd;
    background: #88d4f1;
    cursor: pointer;
    transition: 0.3s;
    color: gray;
}

.amount-btn:hover {
    background: #e9eef5;
}

.amount-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.custom-amount-field {
    display: none;
}


.custom-amount-wrapper {
    display: none;
    margin-top: 15px;
   padding-bottom: 25px;
}

.custom-amount-wrapper label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 6px;
    display: block;
}

#customAmountInput {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 1rem;
    transition: 0.3s ease;
        border: solid 1.5px green;
}

#customAmountInput:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
}




/* Form */
.donation-form input,
.donation-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid #ddd;
}

.donate-submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: #fff;
    border-radius: 10px;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.3s;
}

.donate-submit-btn:hover {
    opacity: 0.9;
}

/* ================================
   INFO CARDS
================================ */
.donation-info-grid {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.donation-info-card {
    background: #fff;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.info-title {
    font-family: 'Philosopher', sans-serif;
    font-size: 1.3rem;
    color: #0a3d62;
}

.info-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    margin-top: 10px;
    color: #555;
}





/*
==========================================
Donation_Home Page [FORM section]
==========================================
*/

.form-row-1 {
    margin-bottom: 15px;
}

/* .form-row-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 15px;
} */

.donation-form label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 6px;
    display: block;
}

.donation-form input,
.donation-form textarea {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 1rem;
    transition: 0.3s ease;
}

.donation-form input:focus,
.donation-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
}

.recurring-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: #444;
}






/*
==========================================
PROGRAMS
==========================================
*/

.program-activity-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 per row */
    gap: 20px;
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 20px;
}

.program-card {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
  /*  box-shadow: 0 4px 8px rgba(0,0,0,0.1); */
    text-align: center;
    transition: transform 0.3s ease;
}

.program-card:hover {
    transform: translateY(-5px);
}

.program-card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.program-card p {
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.program-card a {
    text-decoration: none; /* ✅ Removes underline */
    color: #007BFF;
    font-weight: bold;
}

.program-card a:hover {
    color: #0056b3;
}

/* Fade-in animation */
.program-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.program-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments */
/* Mobile layout: 1 card per row */
@media (max-width: 900px) {
    .program-activity-section {
        grid-template-columns: 1fr; /* One column */
    }
}




/*
==========================================
The Pillars of Islam
==========================================
*/



/* Small category icon */
.category-icon {
    margin-bottom: 8px;
}

/* Category title */
.category-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 12px;
    opacity: 0.85;
}

.artwork svg {
    stroke: #ffd700; /* gold */
}


/* Artwork title */
.pillar-card h3 {
   font-size: 1.8rem;
    margin: 5px 0;
}

/* Subtitle */
.pillar-card p {
    font-size: 0.9rem;
    opacity: 0.85;
}

/* Hover animation: tap + soft flash */
.pillar-card:hover {
    transform: scale(0.97);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}


/* Import Philosopher font 
@import url('https://fonts.googleapis.com/css2?family=Philosopher:wght@400;700&display=swap');
*/
/* Section styling */
.pillar-section {
    font-family: 'Philosopher', sans-serif;
background: /* Subtle Islamic geometric pattern overlay */ url(https://www.transparenttextures.com/patterns/islamic.png) repeat, linear-gradient(135deg, #110f75, #90b832);
    background-size: auto, cover;
    padding: 60px 20px;
    color: #fff;
}

/* Container */
.pillar-container {
    max-width: 1200px;
    margin: 0 auto;
}


/* Section header - icon above title */
.pillar-header {
    display: flex;
    flex-direction: column; /* Stack vertically */
    align-items: center;
    justify-content: center;
    gap: 12px; /* Space between icon and title */
    margin-bottom: 40px;
}

.pillar-header svg {
    width: 50px;
    height: 50px;
}

.pillar-header h2 {
    font-size: 3rem;
    font-weight: bold;
    margin: 0;
    text-align: center;
}


/* Grid layout */
.pillar-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

/* Card styling */
.pillar-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* Desktop: double size */
.pillar-card .artwork svg {
    width: 160px;
    height: 160px;
}



/* Hide category icon & title */
.pillar-card .category-icon,
.pillar-card .category-title {
    display: none;
}

/* Artwork container */
.artwork {
    position: relative;
    display: inline-block;
    margin-bottom: 12px;
}

/* Ripple glow effect */
.artwork::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 70%);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
}

.artwork:hover::after {
    animation: rippleGlow 0.8s ease-out forwards;
}

@keyframes rippleGlow {
    0% { width: 0; height: 0; opacity: 0.8; }
    50% { width: 120px; height: 120px; opacity: 0.4; }
    100% { width: 200px; height: 200px; opacity: 0; }
}

/* Bounce effect on hover */
.artwork:hover svg {
    animation: bounceTap 0.4s ease;
}

@keyframes bounceTap {
    0% { transform: scale(1); }
    30% { transform: scale(0.9); }
    60% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Glow animation for the line */
@keyframes glowMove {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* Responsive for tablets */
@media (max-width: 900px) {
    .pillar-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive for mobile */
@media (max-width: 600px) {
    /*.pillar-grid {
        grid-template-columns: 1fr;
        */
        .pillar-card {
        background: none !important;
        box-shadow: none !important;
        padding: 10px 0; /* Reduce padding for mobile */
    }

    /* Add horizontal line between cards */
    .pillar-card:not(:last-child) {
        border-bottom: 2px solid transparent; /* fallback */
        position: relative;
    }

    /* Animated gradient line */
    .pillar-card:not(:last-child)::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 10%;
        width: 80%;
        height: 2px;
        background: linear-gradient(90deg, #ffd700, #fff, #ffd700);
        background-size: 200% auto;
        animation: glowMove 3s linear infinite;
    }

    /*
    ================================
    One Column
    ==============================

    .pillar-grid {
        grid-template-columns: 1fr !important;
    }

    .pillar-card {
        background: none !important;
        box-shadow: none !important;
        padding: 10px 0;
    }

    .pillar-card:not(:last-child) {
        position: relative;
    }

    .pillar-card:not(:last-child)::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 10%;
        width: 80%;
        height: 2px;
        background: linear-gradient(90deg, #ffd700, #fff, #ffd700);
        background-size: 200% auto;
        animation: glowMove 3s linear infinite;
    }
*/

}

/* Mobile: smaller for better fit */
@media (max-width: 600px) {
    .pillar-card .artwork svg {
        width: 100px;
        height: 100px;
    }
}











    /*
    ================================
    Latest news
    ==============================


/* Section Styling */
.latest-news-section {
    padding: 60px 20px;
    background: #f9f9f9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Subtitle */
/* .section-subtitle {
    text-align: center;
    font-size: 1rem;
    color: #888;
    margin-bottom: 5px;
} */

/* Title */
/*
.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 40px;
}
    */

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* News Item Layout */
.news-item {
    display: flex;
    gap: 15px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
}

.news-item:hover {
    transform: translateY(-3px);
}

/* Image */
.news-item img {
    width: 150px;
    height: 100%;
    object-fit: cover;
}

/* Content */
.news-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin: 0 0 8px;
}

.news-excerpt {
    font-size: 0.95rem;
    color: #555;
    margin: 0;
}

.read-more {
    color: #d4af37; /* gold accent */
    text-decoration: none;
    font-weight: bold;
    margin-left: 5px;
}

.read-more:hover {
    text-decoration: underline;
}


.read-more-symbol {
    font-weight: 900;       /* Extra bold */
    font-size: 1.4rem;      /* Bigger size */
    color: #008528;         /* Gold color */
    text-decoration: none;  /* Remove underline */
    margin-left: 6px;       /* Space from text */
    transition: color 0.3s ease, transform 0.2s ease;
}

.read-more-symbol:hover {
    color: #5d0ae2;         /* Darker gold on hover */
    transform: translateX(3px); /* Slight slide right */
}



/* Responsive: Tablet & Mobile */
@media (max-width: 900px) {
    .news-grid {
        grid-template-columns: 1fr; /* One column on mobile/tablet */
    }

    .news-item {
        flex-direction: column;
    }

    .news-item img {
        width: 100%;
        height: 200px;
    }
}

.more-news-btn-wrapper {
    text-align: center;
    margin-top: 30px;
}

.more-news-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #d4af37; /* gold */
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.more-news-btn:hover {
    background-color: #b8902f; /* darker gold */
    transform: translateY(-2px);
}




/*
===========================================
GALLARY
============================================
*/
/* ===== GALLERY SECTION ===== *//* ===== GALLERY SECTION ===== */



.section-header {
    font-size: 2.2rem;
    font-weight: bold;
    text-align: center;
    color: #ffcc00; /* Accent color */
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
}

/* Optional decorative underline */
.section-header::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #ffcc00;
    margin: 8px auto 0;
    border-radius: 2px;
}




/* ===== GALLERY SECTION ===== */
.gallery-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364); /* Dark gradient */
    background-size: cover;
    position: relative;
    overflow: hidden;
}

/* Optional: subtle animated pattern overlay */
.gallery-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.05;
    pointer-events: none;
}

/* ===== CONTAINER ===== */
.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* ===== GALLERY COLUMNS ===== */
.gallery-column {
    flex: 1;
    background: rgba(255, 255, 255, 0.08); /* Glass effect */
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-column:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.4);
}

/* ===== INNER LAYOUT ===== */
.gallery-inner {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 15px;
    align-items: center;
}

/* ===== VERTICAL TITLES ===== */
.vertical-title {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 1.3rem;
    font-weight: bold;
    color: #ffcc00;
    letter-spacing: 2px;
    text-shadow: 0 0 5px rgba(0,0,0,0.5);
}

/* ===== GRID LAYOUT ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.gallery-grid img,
.gallery-grid video,
.gallery-grid iframe {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect for media */
.gallery-grid img:hover,
.gallery-grid video:hover,
.gallery-grid iframe:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0,0,0,0.5);
}

/* ===== MORE LINKS ===== */
.more-link {
    display: block;
    margin-top: 15px;
    text-align: right;
    color: #ffcc00;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.more-link:hover {
    color: #ffd633;
    text-decoration: underline;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .gallery-container {
        flex-direction: column;
        gap: 30px;
    }

    /* Remove background box on mobile */
    .gallery-column {
        background: none;
        backdrop-filter: none;
        box-shadow: none;
        padding: 0;
    }

    /* Title above content */
    .gallery-inner {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .vertical-title {
        writing-mode: horizontal-tb;
        transform: none;
        margin-bottom: 10px;
        text-align: center;
        color: #ffcc00;
        font-size: 1.4rem;
    }

    /* Make media full width */
    .gallery-grid {
        grid-template-columns: 1fr; /* 1 per row */
        gap: 15px;
    }

    .gallery-grid img,
    .gallery-grid video,
    .gallery-grid iframe {
        width: 100%;
        height: auto; /* Keep aspect ratio */
        border-radius: 0; /* Remove rounded corners for edge-to-edge look */
        box-shadow: none;
    }

    /* More link styling for mobile */
    .more-link {
        text-align: center;
        display: block;
        margin-top: 10px;
    }
}






/*
===========================================
CONTACT US
============================================
*/
/* ===== GALLERY SECTION ===== *//* ===== GALLERY SECTION ===== */



.contact-section {
    background: #f8f9fa;
    padding: 50px 20px;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: auto;
}

.contact-info h2,
.contact-form h2 {
    margin-bottom: 15px;
    color: #333;
}

.contact-info p {
    margin: 8px 0;
    font-size: 1rem;
    color: #555;
}

.contact-form p {
    margin-bottom: 20px;
    color: #666;
}

form {
    display: flex;
    flex-direction: column;
}

.form-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

input, select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

textarea {
    resize: vertical;
}

button {
    background: #007BFF;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

button:hover {
    background: #0056b3;
}

/* Responsive */
@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    .form-group {
        flex-direction: column;
    }
}







/*
======================================================================
ABOUT US PAGE
======================================================================
*/
/* Hero Section */
.about-hero {
    background: url('about-bg.jpg') center/cover no-repeat;
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.about-hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.about-hero p {
    font-size: 1.2rem;
}

/* About Content */
.about-content {
    padding: 50px 20px;
    background: #f8f9fa;
}

.about-content .container {
    max-width: 1200px;
    margin: auto;
}

.about-content h2 {
    margin-top: 0px;
    color: #333;
    font-family: 'Philosopher', sans-serif;
    font-size: 24px;
}

.about-content p {
    color: #555;
}

/* Team Section */
.team-section {
        padding-top: 2px;
    padding-bottom: 50px;
    background-color: #adecff;
        margin-bottom: 45px;
}

.team-section .container {
    max-width: 1200px;
    margin: auto;
    text-align: center;
}







.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.team-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-card img {
    width: 100%;
    border-radius: 50%;
    max-width: 150px;
    margin-bottom: 15px;
}

.team-card h3 {
    margin-bottom: 5px;
    color: #007BFF;
}

.team-card p {
    color: #555;
}

/* Responsive */
@media (max-width: 900px) {
    .team-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}


/*
======================================================================
ABOUT US CARD
======================================================================
*/


/* Section Container */
.about-cards-section {
        padding-top: 1px;
    padding-bottom: 75px;
}

.about-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: auto;
        font-family: 'Philosopher', sans-serif;

}


/* Card Styling */
.about-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.about-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #007BFF;
    color: #0a3d62;
}


.about-card p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
}

/* Read More Link */
.read-more {
    font-weight: bold;
    color: #007BFF;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #0056b3;
}

/* Responsive */
@media (max-width: 900px) {
    .about-cards-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .about-cards-container {
        grid-template-columns: 1fr;
    }
}




/* ============================================================
   FOOTER
   ============================================================ */
/* Section Styling */
.our-projects {
    padding: 60px 20px;
    background: #ffe2cb;
}

/* .section-title {
    text-align: center;
    font-family: 'Philosopher', sans-serif;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 40px;
    color: #333;
} */

/* Grid Layout */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Project Item */
.project-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Force all images to same height */
.project-item img {
    width: 100%;
    height: 220px; /* Fixed height for all images */
    object-fit: cover; /* Crop to fit without distortion */
    display: block;
    transition: transform 0.3s ease;
}

.project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.project-item:hover img {
    transform: scale(1.05);
}


/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr); /* iPad/tablet view */
    }
}

@media (max-width: 600px) {
    .projects-grid {
        grid-template-columns: 1fr; /* Mobile view */
    }
}




/* ============================================================
   EVENT HIGHLIGHTS
   ============================================================ */

.events-highlights {
    padding: 60px 20px;
    background: #f8f9fa;
}

/* .section-title {
    text-align: left;
    font-family: 'Philosopher', sans-serif;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 40px;
    color: #333;
} */

.category-title {
    font-family: 'Philosopher', sans-serif;
    font-size: 1.5rem;
    margin: 30px 0 20px;
    color: #007BFF;
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.event-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

/* FIX: Uniform image size */
.event-card img {
    width: 100%;
    height: 200px; /* same height for all */
    object-fit: cover; /* crop proportionally */
    display: block;
}

.event-card h4 {
    font-size: 1.2rem;
    margin: 15px;
    color: #333;
}

.event-card p {
    font-size: 0.95rem;
    color: #555;
    margin: 0 15px 15px;
}

.read-more {
    display: inline-block;
    margin: 0 15px 15px;
    font-weight: bold;
    color: #007BFF;
    text-decoration: none;
}

.read-more:hover {
    color: #0056b3;
}

/* Responsive */
@media (max-width: 1024px) {
    .event-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .event-grid {
        grid-template-columns: 1fr;
    }
    .event-card img {
        height: 180px; /* slightly smaller on mobile */
    }
}


/*
===================================
about us /mision
====================================
*/

/* Section Background */
.our-mission {
    background: linear-gradient(135deg, #f8d8d8, #d1fffb);
    padding: 60px 20px;
    font-family: 'Philosopher', sans-serif;
}

.mission-container {
    display: flex;
    align-items: stretch; /* Make both columns equal height */
    max-width: 1200px;
    margin: auto;
    gap: 30px;
}

/* Left Column: Image fills height */
.mission-image {
    flex: 0 0 35%;
}

.mission-image img {
    width: 100%;
    height: 100%; /* Fill full height of container */
    object-fit: cover; /* Crop proportionally */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Right Column: Text */
.mission-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically center text */
}


/* Responsive Design */
@media (max-width: 1024px) {
    .mission-container {
        flex-direction: column;
        text-align: center;
    }
    .mission-image {
        flex: 0 0 auto;
        max-width: 300px;
        margin: auto;
    }
    .mission-header {
        padding-left: 0;
    }
    .mission-header::before {
        display: none; /* Hide vertical line on small screens if needed */
    }
}





/*
==========================================
MEMBERSHIP SELECTIONN
=========================================
*/

.membership-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 40px 0;
}

.membership-card {
    width: 260px;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
    border: 3px solid transparent;
}

.membership-card:hover {
    transform: translateY(-5px);
}

.membership-card.selected {
    border-color: #000;
    box-shadow: 0 0 12px rgba(0,0,0,0.2);
}

.life { background: #f7e9a0; }
.general { background: #cfe2ff; }
.honorable { background: #d4f8d4; }
.guest { background: #e6e6e6; }

.price {
    font-size: 28px;
    font-weight: bold;
    margin: 10px 0;
}

.select-btn {
    margin-top: 15px;
    padding: 10px 20px;
    background: #000;
    color: #fff;
    border-radius: 6px;
    display: inline-block;
}





/*
==========================================
MEMBER LOGIN
=========================================
*/
/* MAIN WRAPPER */
/* LOGIN CARD MATCHES DONATION CARD */

/*
===================================
login page _ Member login hero section
===================================



/* -----------------------------------------
   LOGIN FORM — BASE STYLES
----------------------------------------- */

.form-input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    background: #fff;
}

.form-input:focus {
    border-color: #0077cc;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0,119,204,0.15);
}

.form-group.stacked {
    margin-bottom: 14px;
}

/* Checkbox row */
.remember-row label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.remember-row input[type="checkbox"] {
    margin: 0;
    width: 16px;
    height: 16px;
}


.forgot-link a {
    color: #0077cc;
    text-decoration: none;
}

.forgot-link a:hover {
    text-decoration: underline;
}

/* Math captcha */
.math-captcha-box {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 6px;
}

.captcha-question {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

/* Login button */
.login-btn {
    width: 100%;
    padding: 14px;
    background: #0077cc;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
}

.login-btn:hover {
    background: #005fa3;
}

/* -----------------------------------------
   GRID LAYOUT (DESKTOP)
----------------------------------------- */
.donation-choice-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Login card stays as ONE item */
.login-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
    grid-column: span 1;
    padding: 40px;
}

/* Right-side info box */
.donation-choice-grid > div:last-child {
    grid-column: span 1;
}

/* -----------------------------------------
   TABLET (iPad)
----------------------------------------- */
@media (max-width: 1023px) {
    .donation-choice-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .login-card {
        max-width: 500px;
        margin: 0 auto;
        padding: 30px;
    }

    .donation-choice-grid > div:last-child {
        max-width: 600px;
        margin: 0 auto;
    }
}

/* -----------------------------------------
   MOBILE
----------------------------------------- */
@media (max-width: 599px) {
    .donation-choice-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .login-card {
        padding: 20px;
        gap: 16px;
    }

    .form-input {
        font-size: 16px;
        padding: 12px;
    }

    .math-captcha-box {
        justify-content: space-between;
    }

    .math-captcha-box .form-input {
        width: 90px;
    }

    .remember-row label {
        font-size: 14px;
        gap: 6px;
    }
}









.forgot-link,
.login-links {
    margin: 6px 0 0;      /* remove big gap */
    padding: 0;           /* remove inherited padding */
    line-height: 1.3;
}

.login-links {
    margin-top: 4px;      /* tighten spacing between the two lines */
}



/* Remove ALL default spacing inside login card */
.login-card p {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2;
}

/* Tight spacing between the two lines */
.forgot-link {
    margin-top: 4px !important;
}

.login-links {
    margin-top: 2px !important;
}

/* Remove flex gap pushing them apart */
.login-card {
    gap: 10px !important; /* or 6px if you want it even tighter */
}






























































*/
/* TWO COLUMN GRID */
/* SECTION #1 — HERO GRID */
/* HERO WRAPPER */
/* HERO WRAPPER */
.member-login-hero {
    position: relative;
    width: 100%;
}

/* FIX SLIDER FOR NORMAL FLOW */
.member-slider-fix {
    position: relative !important;
    height: 550px !important;
    overflow: hidden;
}

/* SLIDES */
.member-slider-fix .hero-slide {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 550px;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.member-slider-fix .hero-slide.active {
    opacity: 1;
}

/* LOGIN CARD OVERLAY (LEFT SIDE) */
.login-overlay-left {
    position: left;
    top: 50%;
    left: 60px;
    transform: translateY(-50%);
    z-index: 10;
}

.login-card {
    width: 350px;
    background: #ffffffee;
    backdrop-filter: blur(4px);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

/* FORM INPUTS */
.login-form input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

/* BUTTON */
.login-btn {
    width: 100%;
    padding: 12px;
    background: #0077cc;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
}


/* RESPONSIVE  overly right*/
@media (max-width: 900px) {
    .login-overlay-right {
        position: static;
        transform: none;
        padding: 20px;
    }

    .login-card {
        margin: 20px auto;
        width: 90%;
    }
}


/* LOGIN CARD OVERLAY (RIGHT SIDE) */
.login-overlay-right {
    position: absolute;
    top: 50%;
    right: 60px;
    transform: translateY(-50%);
    z-index: 10;
}

.login-card {
    width: 350px;
    background: #ffffffee;
    backdrop-filter: blur(4px);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

/* RESPONSIVE overly lefft*/
@media (max-width: 900px) {
    .login-overlay-left {
        position: static;
        transform: none;
        padding: 20px;
    }

    .login-card {
        margin: 20px auto;
        width: 90%;
    }

    .member-slider-fix {
        height: 400px !important;
    }

    .member-slider-fix .hero-slide {
        height: 400px;
    }
}




/*
=======================
member login container
====================
*/
/* MAIN WRAPPER */
.member-login-wrapper {
    padding: 60px 20px;
    display: flex;
    justify-content: center;
}

/* CARD LAYOUT */
.member-login-card {
    display: flex;
    gap: 40px;
    max-width: 1100px;
    width: 100%;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* LEFT SIDE */
.login-left {
    flex: 1;
}

.login-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.login-subtitle {
    color: #666;
    margin-bottom: 25px;
}

/* FORM */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    font-weight: 600;
    display: block;
    margin-bottom: 1%;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 15px;
}

.captcha-placeholder {
    background: #f1f1f1;
    padding: 12px;
    text-align: center;
    border-radius: 6px;
    margin-bottom: 15px;
    color: #666;
    font-size: 14px;
}

.login-btn {
    width: 100%;
    padding: 14px;
    background: #0077cc;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
}

.login-btn:hover {
    background: #005fa3;
}

/* RIGHT SIDE */
.login-right {
    flex: 1;
}

.info-box {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.info-box h3 {
    margin-bottom: 10px;
}

.info-box ul {
    list-style: none;
    padding: 0;
}

.info-box ul li {
    margin-bottom: 8px;
}

/* ERROR */
.login-error {
    background: #ffdddd;
    padding: 10px;
    border-left: 4px solid #ff4444;
    margin-bottom: 15px;
}

/* LINKS 
.login-links {
    margin-top: 20px;
    font-size: 14px;
}
*/
/* RESPONSIVE */
@media (max-width: 900px) {
    .member-login-card {
        flex-direction: column;
        padding: 30px;
    }
}




/*
=======================
member login form
===================
*/
/* Match donation page form styling */


.form-label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

.form-input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    background: #fff;
}

.form-input:focus {
    border-color: #0077cc;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0,119,204,0.15);
}

/* Checkbox row */
.remember-row {
    margin: 10px 0 15px;
    font-size: 14px;
}

/* FORCE LABEL ABOVE INPUT */
.login-form .form-group {
    display: block !important;
    width: 100% !important;
    margin-bottom: 18px !important;
}

.login-form .form-label {
    display: block !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    margin-bottom: 6px !important;
    color: #333 !important;
}

/* INPUT STYLE */
.login-form .form-input {
    width: 100% !important;
    padding: 12px 14px !important;
    border: 1px solid #ccc !important;
    border-radius: 6px !important;
    font-size: 15px !important;
    background: #fff !important;
}


/* FORCE LABEL ABOVE INPUT */
.form-group.stacked {
    display: block !important;
    width: 100% !important;
    margin-bottom: 12px !important;
}

.form-group.stacked .form-label {
    display: block !important;
    margin-bottom: 6px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #333 !important;
}

/* INPUT STYLE */
.form-group.stacked .form-input {
    width: 100% !important;
    padding: 12px 14px !important;
    border: 1px solid #ccc !important;
    border-radius: 6px !important;
    font-size: 15px !important;
    background: #fff !important;
}

.remember-row label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.remember-row input[type="checkbox"] {
    margin: 0 !important;
    width: 16px;
    height: 16px;
}


.forgot-link a {
    color: #0077cc;
    text-decoration: none;
    font-size: 13px;
}

.forgot-link a:hover {
    text-decoration: underline;
}
.math-captcha-box {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 6px;
}

.captcha-question {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}


/* MAIN LOGIN CARD RESPONSIVE */
.member-login-card,
.donation-choice-card.login-card {
    display: flex;
    gap: 40px;
    padding: 40px;
}

/* STACK ON MOBILE */
@media (max-width: 900px) {
    .member-login-card,
    .donation-choice-card.login-card {
        flex-direction: column;
        padding: 25px;
    }
}

/* PAGE CONTAINER RESPONSIVE */
@media (max-width: 1200px) {
    .page-container {
        width: 100%;
        padding: 0 20px;
    }
}

@media (max-width: 600px) {
    .form-group.stacked {
        margin-bottom: 14px !important;
    }

    .form-input {
        font-size: 16px !important;
        padding: 12px !important;
    }

    .form-label {
        font-size: 14px !important;
    }
}

@media (max-width: 600px) {
    .remember-row label {
        font-size: 14px;
        gap: 6px;
    }
}

@media (max-width: 600px) {
    .math-captcha-box {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }

    .captcha-question {
        font-size: 15px;
    }

    .math-captcha-box .form-input {
        width: 100px !important;
    }
}




/* ------------------------------
   BASE GRID LAYOUT (DESKTOP)
------------------------------ */

.donation-choice-grid {
    display: grid;
    grid-template-columns: 3fr 1fr; /* 2 columns on desktop */
    gap: 40px;
    align-items: start;
}

/* Force login card to be ONE grid item */
.login-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
    grid-column: span 1 !important;
}

/* Right-side info box */
.donation-choice-grid > div:last-child {
    grid-column: span 1;
}

/* ------------------------------
   TABLET (iPad)
------------------------------ */
@media (max-width: 1023px) {
    .donation-choice-grid {
        grid-template-columns: 1fr; /* stack */
        gap: 30px;
    }

    .login-card {
        max-width: 500px;
        margin: 0 auto;
    }

    .donation-choice-grid > div:last-child {
        max-width: 600px;
        margin: 0 auto;
    }
}







/* ------------------------------
   MOBILE
------------------------------ */
@media (max-width: 599px) {
    .donation-choice-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .login-card {
        padding: 20px;
        gap: 16px;
    }

    .form-group.stacked {
        margin-bottom: 12px !important;
    }

    .form-input {
        font-size: 16px;
        padding: 12px;
    }

    .math-captcha-box {
        flex-direction: row;
        justify-content: space-between;
    }

    .math-captcha-box .form-input {
        width: 90px;
    }

    .remember-row label {
        font-size: 14px;
        gap: 6px;
    }
}





/*
=================================================
MEMBERRSHIP FORM
=================================================
*/

        .membership-page-hero {
           
            background-color: #027007;
            background-size: cover;
            background-repeat: no-repeat;
            background-position: center;
            padding: 40px 20px 40px;
            color: #fff;
            text-align: center;
            position: relative;
        }

        .membership-page-hero::before {
            content: "";
            position: absolute;
            inset: 0;
            background: rgba(0, 0, 0, 0.45);
        }

        .membership-page-hero-inner {
            position: relative;
            max-width: 1200px;
            margin: 0 auto;
        }

        .membership-page-hero h1 {
            font-size: 36px;
            margin-bottom: 10px;
        }

        .membership-page-hero p {
            font-size: 18px;
            max-width: 700px;
            margin: 0 auto;
        }

        /* Main container */
        .membership-page-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 30px 20px 60px;
            background: rgba(255,255,255,0.85);
        border-radius: 12px;
        }

        .membership-page-card {
            background: #fff;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
            padding: 30px;
            border: 1px solid #e5e5e5;
            box-shadow: 0 4px 20px rgba(0,0,0,0.05);
            animation: fadeIn 0.4s ease;
        }

            @keyframes fadeIn {
                from { opacity: 0; transform: translateY(10px); }
                to   { opacity: 1; transform: translateY(0); }
            }

        .section-page-title {
            font-size: 20px;
            font-weight: 700;
            margin: 30px 0 12px;
            padding-bottom: 6px;
            color: #333;
            border-bottom: 1px linear-gradient(to right, #e773f7, #e9bc3f);
            background-image: linear-gradient(to right, #e773f7, #e9bc3f);
            background-size: 100% 1px;
            background-position: bottom left;
            background-repeat: no-repeat;

        }

        .error {
            background: #ffe5e5;
            border-left: 4px solid #e53935;
            padding: 10px 12px;
            margin-bottom: 15px;
            color: #b71c1c;
            border-radius: 4px;
        }

        .form-row {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 16px;
            margin-bottom: 16px;
        }



        .form-group {
            display: flex;
            flex-direction: column;
        }

        .form-input,
        .form-select {
            padding: 10px 12px;
            border-radius: 6px;
            border: 1px solid #ccc;
            font-size: 14px;
            width: 100%;
            box-sizing: border-box;
        }

        .form-input:focus,
        .form-select:focus {
            border-color: #0077cc;
            outline: none;
            box-shadow: 0 0 0 2px rgba(0,119,204,0.15);
        }

        .help-text {
            font-size: 12px;
            color: #777;
            margin-top: 2px;
        }

        /* membership-page type display */
        .membership-page-type-row {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            gap: 16px;
            margin-bottom: 16px;
            align-items: end;
        }

        .membership-page-fee-display {
            font-weight: 700;
            font-size: 15px;
        }

        .membership-page-mode {
            display: flex;
            gap: 12px;
            font-size: 14px;
        }

        .membership-page-mode label {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            cursor: pointer;
        }

        .membership-page-type-highlight {
            font-weight: 700;
        }

       

/* Break out of grid and force full-width row */
#consent-section {
    grid-column: 1 / -1 !important;
    width: 100%;
    display: block;
}
/* BREAK OUT OF ANY GRID LAYOUT */
.consent-wrapper {
    width: 100%;
    display: block !important;
    grid-column: 1 / -1 !important; /* if inside grid, span full width */
    justify-self: start !important; /* align left */
    text-align: left !important;
}

/* ALIGN CHECKBOX + TEXT LEFT */
.consent-label {
    display: flex !important;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
}

/* CHECKBOX ALIGNMENT */
.consent-checkbox {
    margin-top: 4px;
}

/* TEXT ALIGNMENT */
.consent-text {
    display: block;
    text-align: left;
    line-height: 1.4;
}

/* ERROR STYLE */

.consent-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 10px;
}

.consent-row label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.consent-row input[type="checkbox"] {
    margin-top: 4px; /* aligns checkbox with first line of text */
}

.consent-error {
    border: 2px solid #e53935;
    padding: 10px;
    border-radius: 6px;
    background: #ffecec;
}

    .field-error {
        color: red;
        font-weight: bold;
        font-size: 0.9rem;
        margin-top: 4px;
    }
.js-error-field {
    border: 2px solid red !important;
    outline: 2px solid red !important;
    font-weight: bold !important;
}


/* Pulse animation */
/* Red border highlight */
.pulse-error {
    border: 2px solid red !important;
    outline: 2px solid red !important;
    animation: pulse 0.8s ease-in-out infinite;
}

/* Pulse animation */
@keyframes pulse {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.15); }
    100% { transform: scale(1); }
}



/* Mobile responsive */
@media (max-width: 600px) {
    .consent-label {
        flex-direction: row;
        align-items: flex-start;
    }
}



/*
-=================================
PDF file at Membership form page
==============================
*/

.membership-page-pdf-button {
           
            background-color: white;
            background-size: cover;
            background-repeat: no-repeat;
            background-position: center;
            padding: 40px 20px 40px;
            color: #fff;
            text-align: center;
            position: relative;
            margin-top: 80px;
            margin-bottom: 80px;
        }

        .membership-page-pdf-button-inner {
            position: relative;
            max-width: 1200px;
            margin: 0 auto;
            color: black;
        }

        .membership-page-pdf-button h1 {
            font-size: 36px;
            margin-bottom: 10px;
        }

        .membership-page-pdf-button p {
            font-size: 18px;
            max-width: 700px;
            margin: 0 auto;
        }

.pdf-card-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;              /* centers the whole block */
    justify-content: center;     /* centers cards inside */
}

.pdf-card {
    background: #027d43;
    border: 1px solid #ddd;
    padding: 20px;
    width: 30%;
    min-width: 250px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    box-sizing: border-box;
    color:white;
}

/* Tablet: 2 cards per row */
@media (max-width: 900px) {
    .pdf-card {
        width: 45%;
    }
}

/* Mobile: 1 card per row */
@media (max-width: 600px) {
    .pdf-card {
        width: 100%;
    }
}

.pdf-card-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 16px;
    background: #1976d2;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
}

.pdf-card-btn:hover {
    background: #0d47a1;
}




        /* Signature */
        .signature-row {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 16px;
            margin-bottom: 20px;
        }

        .submit-btn {
            width: 100%;
            padding: 14px;
            background: #0077cc;
            color: #fff;
            border: none;
            border-radius: 6px;
            font-size: 16px;
            cursor: pointer;
        }

        .form-row-3 {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 16px;
            margin-bottom: 5px;
        }

.membership-fee-box {
    background: #d8fffd;
    border: 1px solid #527a66;
    padding: 16px 20px;
    border-radius: 8px;
    margin-top: 6px;
    margin-right: 30px;
}

.membership-fee-box h4 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 700;
    color: #333;
}
.form-title-center {
    text-align: center;
    border-bottom: none; /* keep it clean */
    margin-bottom: 25px;
}
.membership-fee-box p {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #0077cc;
}

        .submit-btn:hover {
            background: #005fa3;
        }

        .login-link {
            margin-top: 15px;
            font-size: 14px;
            text-align: center;
        }

        .login-link a {
            color: #0077cc;
            text-decoration: none;
        }

        .login-link a:hover {
            text-decoration: underline;
        }

        /* Responsive */
        @media (max-width: 900px) {
            .form-row,
            .form-row-3,
            .membership-page-type-row,
            .signature-row {
                grid-template-columns: 1fr;
            }

            .membership-page-card {
                padding: 20px;
            }

            .membership-page-pdf-button {
                padding: 60px 20px 30px;
            }

            .membership-page-pdf-button h1 {
                font-size: 28px;
            }

            .membership-page-pdf-button p {
                font-size: 16px;
            }
        }

        @media (max-width: 600px) {
            .membership-page-card {
                padding: 16px;
            }
        }



   
/* 
===================================
About Our Masjid
===================================
*/

/* FULL SECTION */
.masjid-info-section {
    width: 100%;
    height: 100%;
    position: relative;
    background-image: url(/nonprofit/assets/images/pattern-background.png);
    background-size: cover;
    background-position: center;
    padding-bottom: 25px;
    margin-bottom: 80px;
    color: white;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* DARK OVERLAY (80%) */
.masjid-info-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.65);
    z-index: 1;
}

/* CONTAINER */
.masjid-info-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: auto;
    display: flex;
    gap: 40px;
    padding: 0 20px;
}

/* LEFT COLUMN (67%) */
.masjid-info-left {
    flex: 0 0 67%;
}

.masjid-info-left h2 {
    margin-bottom: 15px;
    font-size: 2rem;
}

.masjid-info-left p {
    line-height: 1.4;
    margin-bottom: 15px;
    text-align: justify;
}

.note-501c {
    margin-top: 20px;
    font-style: italic;
    color: #ffd;
}

/* RIGHT COLUMN (30%) */
.masjid-info-right {
    flex: 0 0 30%;
}

.masjid-info-right h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* ACTIVITIES LIST */
.activities-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.activities-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    font-size: 1rem;
}

.activities-list .icon {
    margin-right: 10px;
    font-size: 1.2rem;
}

/* ============================
   MOBILE RESPONSIVE
   ============================ */
@media (max-width: 768px) {

    .masjid-info-container {
        flex-direction: column;
    }

    .masjid-info-left,
    .masjid-info-right {
        flex: 0 0 100%;
    }

    .masjid-info-left h2 {
        text-align: center;
    }

    .masjid-info-right h3 {
        text-align: center;
        margin-top: 20px;
    }
}
