/* Global */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: 'Poppins', sans-serif; 
    background: #fef8f2; 
    color: #333; 
    line-height: 1.6;
}

:root {
  --primary-text: #333333;
  --secondary-text: #555555;
  --accent: #d06a3b;
  --bg: #fef8f2;
}

h1, h2, h3 { font-weight: 600; }

/* Navbar */
.navbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 15px 40px; background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 100;
  min-height: 70px;
}

.logo-area { display: flex; align-items: center; gap: 12px; }
.logo { width: 55px; }
.ngo-title { font-size: 1.8rem; color: #d06a3b; }
.ngo-title span { color: #f2a564; }

nav a {
  margin: 0 15px; text-decoration: none; color: #333;
  font-weight: 500; transition: .3s;
}
nav a:hover, nav a.active { color: #d06a3b; }

/* Hero */
.hero {
  background: linear-gradient(rgba(102, 51, 153, 0.6), rgba(255, 145, 104, 0.6)), 
              url("images/hero-image.jpg") center/cover no-repeat;
  color: white; text-align: center; padding: 100px 20px;
}
.hero h1 { font-size: 2.8rem; margin-bottom: 12px; }
.hero p { font-size: 1.2rem; }


/* Sections */
.section {
  padding: 45px 40px; 
  text-align: center;
}
.section h2 {
  font-size: 2rem;
  margin-bottom: 18px; 
  color: #d06a3b;
}
.section-text {
  max-width: 850px; 
  margin: auto; 
  font-size: 1.05rem;
  color: #555;
}

/* TEAM GRID */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 25px;
}

.member-card {
  background: #fff;
  padding: 25px;
  border-radius: 18px;
  text-align: center;
  border: 2px solid #f0d0c9;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: .3s;
}
.member-card:hover {
  transform: translateY(-5px);
  border-color: #d06a3b;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.member-img {
  width: 100%;
  height: 185px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 12px;
}

.member-card h3 { font-size: 1.1rem; color: #d06a3b; margin-bottom: 5px; }
.member-card p { color: #555; font-size: 0.95rem; }

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 25px;
}

.project-card {
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: .3s;
}
.project-card:hover { transform: translateY(-6px); }

/* Footer */
footer {
  text-align: center; padding: 25px;
  background: #d06a3b; color: white;
  margin-top: 40px;
}

/* Buttons */
.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 26px;
  background: #d06a3b;
  color: #fff;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 500;
  transition: 0.3s;
}

.btn:hover {
  background: #b8582f;
}

/* CTA alignment */
.section-cta {
  margin-top: 25px;
  text-align: center;
}


.page-intro {
  background: #fff6ee;
  padding: 80px 40px 70px;
  text-align: center;
}

.page-intro h2 {
  font-size: 2.2rem;
  color: #d06a3b;
  margin-bottom: 14px;
}

.page-intro .section-text {
  max-width: 850px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: #555;
}


/* About Page Layout */
.about-flex {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 25px;
}

.about-flex.reverse {
  flex-direction: row-reverse;
}

.about-img {
  width: 280px;
  border-radius: 18px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.about-text {
  max-width: 500px;
  text-align: left;
}

/* COMMITTEE SLIDER */
.committee-slider {
  position: relative;
  max-width: 1100px;
  margin: 30px auto;
  display: flex;
  align-items: center;
}

.committee-window {
  overflow: hidden;
  width: 100%;
}

.committee-track {
  display: flex;
  gap: 30px;
  transition: transform 0.5s ease;
}

/* CARD – borrowed proportions from reference */
.member-img {
  width: 160px;
  height: 160px;
  object-fit: cover;          /* fills square nicely */
  object-position: center;    /* keeps face centered */
  border-radius: 14px;        /* soft rounded square */
  margin: 0 auto 14px auto;   /* center horizontally */
  display: block;
  background: #f6f1ed;        /* fallback if image loads slow */
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  transition: .3s;
}


.member-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

/* IMAGE */
.member-img {
  width: 160px;
  height: 160px;
  object-fit: cover;          /* fills square nicely */
  object-position: center;    /* keeps face centered */
  border-radius: 14px;        /* soft rounded square */
  margin: 0 auto 14px auto;   /* center horizontally */
  display: block;
  background: #f6f1ed;        /* fallback if image loads slow */
}


.member-card h3 {
  font-size: 1.05rem;
  color: #c65a2e;
  margin-bottom: 6px;
}

.member-card p {
  font-size: 0.92rem;
  color: #555;
  line-height: 1.4;
}


/* SLIDER BUTTONS */
.slider-btn {
  background: #fff;
  border: 2px solid #f2c7b8;
  color: #c65a2e;
  font-size: 26px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .3s;
}

.slider-btn:hover {
  background: #c65a2e;
  color: #fff;
}

.slider-btn.left { margin-right: 15px; }
.slider-btn.right { margin-left: 15px; }


.page-title {
  text-align: center;
  font-size: 2.2rem;
  color: #c65a2e;
  margin-bottom: 6px;
}

.page-subtitle {
  text-align: center;
  font-size: 1rem;
  color: #666;
  margin-bottom: 30px;
}

.search-container {
  text-align: center;
  margin-bottom: 18px;
}

.search-container input {
  width: 60%;
  padding: 12px 20px;
  border-radius: 30px;
  border: 1.8px solid #f0b7a1;
  font-size: 1rem;
  outline: none;
  transition: 0.3s;
}

.search-container input:focus {
  border-color: #c65a2e;
  box-shadow: 0 0 8px rgba(198, 90, 46, 0.25);
}

.no-results {
  display: none;
  width: 60%;
  margin: 10px auto 28px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #fff3ee;
  border: 1px solid #f0b7a1;
  color: #8a3b2b;
  text-align: center;
}

.dept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}

.dept-card {
  background: #ffffff;
  padding: 22px;
  border-radius: 18px;
  border: 1.5px solid #f3c6b4;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  transition: 0.3s;
  text-align: center;
}

.dept-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.12);
}

.dept-card h3 {
  font-size: 1.25rem;
  color: #c65a2e;
  margin-bottom: 8px;
}

.dept-desc {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 18px;
}


/* EVENTS PAGE */

.event-dept {
  margin-bottom: 55px;
}

.dept-title {
  text-align: left;
  font-size: 1.6rem;
  color: #c65a2e;
  margin-bottom: 18px;
  padding-left: 6px;
}


/* EVENT CARDS */

.event-card {
  text-align: left; /* better for content-heavy cards */
}

/* Event Image */
.event-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 14px;
  background: #f6f1ed;
}

/* Event Meta Info */
.event-meta {
  margin-top: 12px;
  font-size: 0.9rem;
  color: #777;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.event-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ================= CONTACT PAGE ================= */

.contact-section {
  width: 90%;
  max-width: 900px;
  margin: 70px auto;
  padding: 45px;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.contact-section h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 14px;
  color: var(--primary-text);
}

.contact-section p {
  text-align: center;
  margin-bottom: 35px;
  color: var(--secondary-text);
}

/* Info Cards */
.contact-card {
  background: #faf7f4;
  padding: 20px 24px;
  border-radius: 16px;
  margin-bottom: 18px;
  border-left: 4px solid var(--accent);
}

.contact-card strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--primary-text);
}

.contact-card span {
  font-size: 0.95rem;
  color: var(--secondary-text);
}

/* Responsive */
@media (max-width: 600px) {
  .contact-section {
    padding: 30px 22px;
  }
}

