/* === GENERAL RESET === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: #fff;
  color: #333;
  line-height: 1.6;
}

/* === CONTAINER === */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* === HEADER === */
header {
  background-color: #ffffff;
  border-bottom: 3px solid #6CB33F;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

.logo-img {
  height: 60px;
  width: auto;
  margin-right: 10px;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: #6CB33F;
}

/* === NAVIGATION === */
nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
  color: #C1272D;
}

/* === HAMBURGER MENU === */
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* === HERO SECTION === */
.hero {
  background: url('images/cjpdhero.jpg') no-repeat center center/cover;
  color: #fff;
  text-align: center;
  padding: clamp(80px, 12vw, 160px) 20px; /* responsive padding */
  position: relative;
  overflow: hidden; /* prevent horizontal scrolling */
  width: 100%;
  min-height: 70vh; /* ensures good vertical height */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Dark overlay for text readability */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

/* Hero content container */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Headline styling */
.hero h2 {
  font-size: clamp(1.8rem, 5vw, 3rem); /* adjusts automatically */
  margin-bottom: 15px;
  color: #fff;
  line-height: 1.2;
  font-weight: 700;
}

/* Paragraph styling */
.hero p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  margin-bottom: 25px;
  color: #f1f1f1;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Optional call-to-action button */
.hero .btn {
  display: inline-block;
  background: #ff7a59;
  color: #fff;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.hero .btn:hover {
  background: #ff633d;
}

/* === RESPONSIVE STYLING === */
@media (max-width: 768px) {
  .hero {
    min-height: 60vh;
    padding: 80px 15px;
  }

  .hero h2 {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
  }

  .hero p {
    font-size: 1rem;
  }

  .hero .btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.95rem;
  }
}


/* === COUNTDOWN === */
.countdown {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
}

.countdown div {
  background: #6CB33F;
  color: #fff;
  padding: 10px 15px;
  border-radius: 8px;
  font-weight: bold;
  min-width: 70px;
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 10px 22px;
  background: #69b33b;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
  font-weight: 600;
}

.btn:hover {
  background: #C1272D;
}

/* === SECTION HEADINGS === */
section h2 {
  text-align: center;
  color: #C1272D;
  margin-bottom: 10px;
}

section p {
  text-align: center;
  margin-bottom: 15px;
}

/* === ABOUT PREVIEW === */
.about-preview {
  padding: 60px 0;
  background-color: #f8f9f9;
}

/* === SERVICES / PROJECTS PREVIEW === */
.services-preview {
  padding: 60px 0;
}

.services-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card h3 {
  color: #6CB33F;
  margin: 15px 0 10px;
}

.card p {
  padding: 0 10px;
  font-size: 0.95rem;
}

/* === EDUCATION PREVIEW === */
.education-preview {
  background-color: #f1f1f1;
  padding: 60px 0;
}

/* === BLOG PREVIEW === */
.blog-preview {
  padding: 60px 0;
  background-color: #fff;
}

.blog-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 25px;
}

/* === GALLERY PREVIEW === */
.gallery-preview {
  background-color: #f8f8f8;
  padding: 60px 0;
}

.gallery-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin: 20px 0;
}

.gallery-images img {
  width: 100%;
  border-radius: 8px;
  height: 140px;
  object-fit: cover;
}

/* === FOOTER === */
footer {
  background: #6CB33F;
  color: #fff;
  text-align: center;
  padding: 20px 10px;
  font-size: 0.9rem;
}

footer a {
  color: #fff;
  text-decoration: underline;
}

/* === FLOATING BUTTONS === */
.call-float, .whatsapp-float {
  position: fixed;
  bottom: 20px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  z-index: 999;
}

.call-float {
  right: 90px;
}

.whatsapp-float {
  right: 20px;
}

.call-float img, .whatsapp-float img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
  nav ul {
    position: absolute;
    top: 75px;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    width: 200px;
    display: none;
    border: 1px solid #ddd;
  }

  nav ul.active {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .hero h2 {
    font-size: 1.6rem;
  }
}

/* ABOUT PAGE SECTIONS */
.about-main {
  padding: 60px 0;
}

.about-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  margin-top: 30px;
}

.about-text {
  flex: 1 1 55%;
}

.about-text ul {
  margin-left: 20px;
  list-style-type: disc;
  color: #333;
}

.about-image {
  flex: 1 1 40%;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
}

/* LEADERS SECTION */
.bishop-section, .coordinator-section {
  padding: 60px 0;
  background: #f9f9f9;
}

.leader {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.circle-img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 4px solid #6CB33F;
  object-fit: cover;
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

.speech {
  flex: 1 1 400px;
}

.leader-name {
  margin-top: 10px;
  color: #C1272D;
  font-weight: 600;
}

/* LENTEN CAMPAIGN */
.lenten-section {
  background-color: #fff;
  padding: 60px 0;
}

.lenten-section p {
  margin: 15px 0;
  text-align: justify;
  color: #333;
}

/* RESPONSIVE FIXES */
@media (max-width: 768px) {
  .leader {
    flex-direction: column;
  }

  .about-columns {
    flex-direction: column;
  }

  .circle-img {
    width: 130px;
    height: 130px;
  }
}

/* About Page Styles */
.about-main {
  padding: 4rem 1rem;
  background: #fff;
  text-align: center;
}

.leader-container {
  display: flex;
  justify-content: center;
  text-align: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.leader {
  max-width: 600px;
  margin: 1rem;
  background: #f9f9f9;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.leader-img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 5px solid #6CB33F; /* Green outline */
  object-fit: cover;
  margin-bottom: 1rem;
}

.lenten-campaign {
  background: #6CB33F;
  color: white;
  padding: 4rem 1rem;
  text-align: center;
  border-top: 5px solid #C1272D;
}


.mission-vision {
  background: #f7f7f7;
  padding: 4rem 1rem;
  text-align: center;
}
.mv-box {
  margin: 2rem auto;
  max-width: 700px;
}
.mv-box ul {
  list-style: none;
  padding: 0;
}
.mv-box ul li {
  padding: 0.4rem 0;
}

.leader-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem 1rem;
  background: #fff;
}
.leader-section.alt {
  background: #f9f9f9;
}
.leader-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  max-width: 1000px;
}
.leader-img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 5px solid #6CB33F;
  object-fit: cover;
  margin: 1rem auto;
}
.leader-text {
  flex: 1;
  padding: 1rem 2rem;
}
.leader-name {
  color: #C1272D;
  font-weight: bold;
  margin-top: 1rem;
}

.projects-section,
.future-plans {
  padding: 4rem 1rem;
  background: #fff;
}
.projects-section ul,
.future-plans ul {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
  line-height: 1.8;
}

.lenten-campaign {
  background: #6CB33F;
  color: white;
  padding: 4rem 1rem;
  text-align: center;
  border-top: 5px solid #C1272D;
}

.team-section {
  background: #fff;
  padding: 4rem 1rem;
  text-align: center;
}
.team-section h2 {
  color: #6CB33F;
  margin-bottom: 1rem;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.team-member img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 5px solid #C1272D;
  object-fit: cover;
  margin-bottom: 1rem;
}
.team-member h4 {
  margin: 0.5rem 0;
  color: #6CB33F;
}
.team-member p {
  color: #555;
  font-size: 0.95rem;
}


/* ===============================
   GLOBAL STYLES
=============================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  color: #333;
  line-height: 1.7;
  background-color: #fafafa;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* ===============================
   HEADER
=============================== */
header {
  background-color: #003366; /* deep blue */
  color: #fff;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

nav ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
  color: #ffcc00; /* gold highlight */
}

.hamburger {
  display: none;
  font-size: 30px;
  cursor: pointer;
  color: #fff;
}

/* ===============================
   HERO SECTION
=============================== */
.about-hero {
  position: relative;
  height: 70vh;
  overflow: hidden;
}

.about-hero .hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(60%);
}

.about-hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.about-hero .overlay h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
}

.about-hero .overlay p {
  font-size: 1.2rem;
  max-width: 700px;
}

/* ===============================
   SECTION HEADINGS
=============================== */
section h2 {
  text-align: center;
  color: #003366;
  margin-bottom: 15px;
  font-size: 2rem;
  margin-top: 40px;
  position: relative;
}

section h2::after {
  content: '';
  width: 80px;
  height: 3px;
  background: #ffcc00;
  display: block;
  margin: 10px auto 0;
  border-radius: 5px;
}

/* ===============================
   ABOUT INTRO
=============================== */
.about-intro p {
  margin-bottom: 15px;
  text-align: justify;
  font-size: 1.05rem;
}

/* ===============================
   HISTORY SECTION
=============================== */
.history p {
  margin-bottom: 15px;
  text-align: justify;
  font-size: 1.05rem;
}

/* ===============================
   VISION & MISSION
=============================== */
.vision-mission {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.vision-mission .card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  padding: 25px;
  text-align: center;
}

.vision-mission .card h3 {
  color: #003366;
  margin-bottom: 10px;
}

.vision-mission .card ul {
  text-align: left;
  margin-top: 10px;
  padding-left: 20px;
}

.vision-mission .card ul li {
  margin-bottom: 8px;
}

/* ===============================
   LEADERSHIP
=============================== */
.leaders {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 30px;
}

.leader {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  padding: 20px;
  max-width: 400px;
  text-align: center;
}

.circle-img {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #ffcc00;
  margin-bottom: 15px;
}

.leader h3 {
  color: #003366;
  margin-bottom: 5px;
}

.leader p {
  color: #666;
  font-weight: 500;
}

blockquote {
  font-style: italic;
  background: #f7f9fb;
  border-left: 4px solid #003366;
  padding: 10px 15px;
  margin-top: 10px;
  border-radius: 5px;
}

/* ===============================
   PROGRAMS
=============================== */
.programs ul {
  margin-top: 10px;
  padding-left: 25px;
}

.programs ul li {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

/* ===============================
   LENTEN CAMPAIGN
=============================== */
.lenten p {
  margin-bottom: 15px;
  text-align: justify;
  font-size: 1.05rem;
}

/* ===============================
   FOOTER
=============================== */
footer {
  background: #003366;
  color: #fff;
  text-align: center;
  padding: 25px 10px;
  margin-top: 40px;
  font-size: 0.95rem;
}

footer a {
  color: #ffcc00;
  text-decoration: none;
}

/* ===============================
   RESPONSIVE DESIGN
=============================== */
@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    background: #13aa45;
    position: absolute;
    top: 80px;
    right: 20px;
    width: 200px;
    border-radius: 8px;
    text-align: center;
  }

  nav ul.active {
    display: flex;
  }

  nav ul li {
    margin: 10px 0;
  }

  .hamburger {
    display: block;
  }

  .about-hero .overlay h1 {
    font-size: 2rem;
  }

  .leaders {
    flex-direction: column;
    align-items: center;
  }
}

/* ===== Projects page styles (CJPD brand colors) ===== */
.projects-hero .hero-image {
  width: 100%;
  height: 60vh;
  object-fit: cover;
  filter: brightness(55%);
}
.projects-hero .overlay h1 { color: #FFFFFF; font-size: 2.6rem; }
.projects-hero .overlay p { color: #fff; max-width: 800px; }

/* Intro + filters */
.projects-intro { padding: 40px 0; background: #fff; }
.project-filters { margin-top: 20px; display:flex; flex-wrap:wrap; gap:10px; justify-content:center; }
.filter-btn {
  background: #FFFFFF;
  color: #6CB33F;
  border: 2px solid #6CB33F;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-weight:600;
}
.filter-btn.active {
  background: #6CB33F;
  color: #fff;
  border-color: #6CB33F;
  box-shadow: 0 6px 18px rgba(108,179,63,0.12);
}
.filter-btn:hover { transform: translateY(-2px); transition: 0.18s ease; }

/* Projects list & cards */
.projects-list { padding: 30px 0 60px; background: #f8f8f8; }
.project-card {
  background: #fff;
  border-left: 6px solid #6CB33F;
  margin-bottom: 18px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(15,23,42,0.06);
}
.project-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 18px 20px;
}
.project-head h3 { margin:0; color:#C1272D; font-size:1.15rem; }
.project-head .toggle {
  background:#6CB33F;
  color:#fff;
  border:0;
  padding:8px 12px;
  border-radius:8px;
  cursor:pointer;
  font-weight:600;
}
.project-head .toggle[aria-expanded="true"] { background:#C1272D; }
.project-body {
  padding: 18px 22px 26px;
  border-top:1px solid #f1f1f1;
}
.project-body h4 { margin-top:12px; color:#6CB33F; }
.project-body ul { margin-left: 18px; margin-bottom:12px; }
.project-body .lead { font-weight:700; color:#333; margin-bottom:10px; }

/* Responsive */
@media (max-width: 900px) {
  .project-head { flex-direction:column; align-items:flex-start; gap:10px; }
  .project-head .toggle { align-self:flex-end; }
  .projects-hero .overlay h1 { font-size:2rem; }
}

/* Small touches */
ol, ul { line-height: 1.7; color:#333; }
