:root {
  --accent: #0d6efd;
  --card-bg: #ffffff;
  --muted: #6c757d;
  --shadow: 0 6px 18px rgba(0,0,0,.08);
}
/* About Us section styles */
.about-us {
  background: linear-gradient(135deg, #f8fafc 0%, #fffbe6 100%);
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  padding: 32px 36px 24px 36px;
  margin-bottom: 36px;
  border: none;
  position: relative;
  overflow: hidden;
}
.about-us::before {
  content: "";
  position: absolute;
  top: -40px; left: -40px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, #ffe066 0%, transparent 70%);
  opacity: 0.25;
  z-index: 0;
}
.about-us h2 {
  color: #218838;
  font-size: 1.6rem;
  font-weight: 800;
  margin-top: 0;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1;
}
.about-us ul {
  margin-bottom: 18px;
  margin-top: 0;
  position: relative;
  z-index: 1;
}
.about-us strong {
  color: #218838;
  display: block;
  margin-bottom: 8px;
  font-size: 1.12em;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.about-us .languages-list {
  columns: 2;
  column-gap: 40px;
  list-style-type: disc;
  margin-top: 10px;
  margin-bottom: 0;
  padding-left: 22px;
  font-size: 1.08em;
}
.about-us .languages-list li {
  margin-bottom: 4px;
  font-weight: 500;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans";
  background: #f6f9ff;
  color: #1c2733;
}
.container {
  max-width: 1080px;
  padding: 0 16px;
}
header h1 { font-size: 1.8rem; margin: 0 0 8px; }
header p { margin: 0 0 18px; color: var(--muted); }

/* Poster card */
.poster {
  max-width: 520px;
  margin: 10px 0 22px;
  background: var(--card-bg);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid rgba(13,110,253,.12);
}
.poster .frame {
  width: 100%;
  aspect-ratio: auto;
  display: grid;
  place-items: center;
  background: #e9eefc;
  color: #4662d4;
  position: relative;
}
.poster .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* change to 'contain' if preferred */
  display: block;
}
.poster .placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 2px dashed rgba(13,110,253,.35);
  border-radius: 12px;
  font-weight: 600;
  letter-spacing: .3px;
  background: repeating-linear-gradient(-45deg,#f3f6ff,#f3f6ff 12px,#eef2ff 12px,#eef2ff 24px);
}

/* Services list */
.services { display: grid; gap: 10px; margin: 8px 0 40px; }
.services a {
  display: block;
  background: var(--card-bg);
  padding: 14px 16px;
  border-radius: 12px;
  color: #123;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.services a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(13,110,253,.12);
  border-color: rgba(13,110,253,.25);
}

/* Partner Logos Section */
.partner-logos-section {
  
  background: transparent;
}

.logos-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.logo-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo {
  max-height: 150px;
  max-width: 150px;
   object-fit: contain;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  filter: none !important;
  transition: transform 0.2s;
}

.partner-logo:hover {
  transform: scale(1.07);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.hotlines-text {
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.hotlines-text h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #333;
}

.hotlines-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.hotlines-table th,
.hotlines-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.hotlines-table th {
  background-color: #f5f5f5;
  font-weight: bold;
  color: #333;
}

.hotlines-table tr:hover {
  background-color: #f9f9f9;
}

.government-hotline {
  text-align: center;
  padding-top: 20px;
  border-top: 2px solid #eee;
}

.government-hotline h3 {
  margin-bottom: 5px;
  color: #333;
}

.government-hotline p {
  margin: 5px 0;
  color: #666;
}

.hotline-number {
  font-size: 1.5em;
  font-weight: bold;
  color: #d32f2f;
  margin-top: 10px;
}
.hotlines-text {
  padding: 25px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  color: #000000; /* Ensure all text is black */
}

.hotlines-text h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #000000;
  font-size: 1.5em;
}

.hotlines-text h3 {
  color: #000000;
  text-align: center;
  margin-bottom: 8px;
  font-size: 1.1em;
}

.hotlines-text p {
  color: #000000;
  text-align: center;
  margin: 5px 0;
}

/* NGO Hotline Section */
.ngo-hotline-section {
  margin-bottom: 20px;
}

.ngo-subtitle {
  font-size: 0.95em;
  margin-bottom: 15px !important;
}

/* Table Styles */
.hotlines-table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
  color: #000000;
}

.hotlines-table th,
.hotlines-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #ddd;
  color: #000000;
}

.hotlines-table th {
  background-color: #f5f5f5;
  font-weight: bold;
  color: #000000;
  border-top: 1px solid #ddd;
}

.hotlines-table tr:hover {
  background-color: #f9f9f9;
}

/* Divider between sections */
.section-divider {
  height: 1px;
  background-color: #ddd;
  margin: 20px 0;
}

/* Hotline numbers */
.hotline-number {
  font-size: 1.8em;
  font-weight: bold;
  color: #000000;
  margin-top: 10px;
  text-align: center;
}

/* Government Hotline */
.government-hotline {
  padding-top: 20px;
  border-top: 2px solid #eee;
   margin-bottom: 30px;
}

/* WhatsApp Community Links */
.whatsapp-community-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 15px 0;
}

.community-link {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 15px;
  border: 1px solid #e0e0e0;
}

.community-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.language-flag {
  font-size: 24px;
  margin-right: 10px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.language-name {
  font-weight: 600;
  color: #000;
  font-size: 1em;
}

.whatsapp-join-button {
  display: block;
  background-color: #25D366;
  color: white;
  text-decoration: none;
  padding: 10px 15px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9em;
  transition: background-color 0.2s ease;
  text-align: center;
  border: none;
  cursor: pointer;
  width: 100%;
}

.whatsapp-join-button:hover {
  background-color: #1da851;
  color: white;
}

/* Responsive layout for larger screens */
@media (min-width: 768px) {
  .whatsapp-community-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }
  
  .community-link {
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  
  .whatsapp-join-button {
    margin-top: auto;
  }
}

.pdf-thumb { width: 100%; height: auto; max-height: 360px; object-fit: contain; border: 1px solid #eee; border-radius: 8px; display: block; }

.pdf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }

@media (max-width: 992px) {
  .pdf-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) { .pdf-grid { grid-template-columns: 1fr; } }

@media (min-width: 900px) 
{
  .layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
  }
  .poster { margin: 0; }
  .about-us {
    padding: 18px 10px 14px 10px;
    border-radius: 12px;
  }
  .about-us h2 {
    font-size: 1.15rem;
    margin-bottom: 10px;
  }
  .about-us .languages-list {
     columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2;
    column-gap: 2rem;
    margin: 0;
    padding: 0;
    list-style-position: inside;
  }
   .languages-list {
    columns: 1;
  }
 .logos-container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
  }

  /* Each group (left: HOPE, right: HAD+GFP) stacks with its label */
  .logos-container > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  /* The right-side row of two logos stays side-by-side but centered */
  .logos-container > div > div[style*="display: flex"] {
    justify-content: center;
    gap: 1rem;
    width: 100%;
  }

  /* Tame logo size on mobile */
  .partner-logo {
    max-width: 120px;
    max-height: 60px;
  }
}