/* Phumelela Special Care Centre Stylesheet */
/* General styles for the Phumelela Special Care Centre website */
/* Import Poppins font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700&display=swap');

/* Reset some default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f0f8f8;
  color: #333;
  line-height: 1.6;
  min-height: 100vh;
  margin-bottom: 10px;
 
}

/* Container to center content and limit width */
section, header, footer {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
}

/* Header */
header {
  background: #daf1f0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
}

.logo {
  height: 50px;
  width: auto;
}

.site-title {
  font-weight: 700;
  font-size: 1.8rem;
  color: #1a5959;
  flex-grow: 1;
  margin-left: 15px;
  min-width: 200px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
}

.hamburger-line {
  width: 25px;
  height: 3px;
  background-color: #1a5959;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.mobile-menu-btn.menu-open .hamburger-line:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-btn.menu-open .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.menu-open .hamburger-line:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Responsive navigation menu */
.main-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  flex-grow: 2;
}

.main-nav a {
  text-decoration: none;
  color: #1a5959;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background-color 0.3s, color 0.3s;
}

.main-nav a:hover,
.main-nav a:focus,
.main-nav a[aria-current="page"] {
  background-color: #1a5959;
  color: #daf1f0;
  outline: none;
}
 
/* Hero Section */
.hero {
      background: url(background-image.png) center/cover no-repeat;
      height: 80vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      color: white;
      text-align: center;
      border-radius: 15px;
      margin: 40px auto;
      box-shadow: 0 8px 20px rgba(0,0,0,0.3);
      padding: 2rem;
    }
    .hero h1 {
      font-size: 2.5rem;
      margin-bottom: 1rem;
    }
    .hero p {
      font-size: 1.2rem;
      max-width: 600px;}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26, 89, 89, 0.6);
  border-radius: 15px;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero h2 {
  font-size: 2.6rem;
  margin-bottom: 15px;
  font-weight: 700;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.7);
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 25px;
  font-weight: 300;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.7);
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-cta {
  display: inline-block;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 30px;
  transition: all 0.3s ease;
  cursor: pointer;
  user-select: none;
  box-shadow: 0 4px 10px rgba(26,89,89,0.3);
  text-align: center;
}

.btn-primary {
  background-color: #1a5959;
  color: #daf1f0;
  border: none;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #145353;
  color: #e0f6f6;
  outline: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(26,89,89,0.4);
}

.btn-secondary {
  background-color: #daf1f0;
  color: #1a5959;
  border: 2px solid #1a5959;
  margin-right: 15px;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: #1a5959;
  color: #daf1f0;
  outline: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(26,89,89,0.4);
}

/* Call to Action Button */
.btn-cta {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
  border: none;
  font-size: 1.2rem;
  padding: 16px 32px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
  animation: pulse-cta 2s infinite;
}

.btn-cta:hover,
.btn-cta:focus {
  background: linear-gradient(135deg, #c0392b, #a93226);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(231, 76, 60, 0.6);
  outline: none;
}

@keyframes pulse-cta {
  0% {
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
  }
  50% {
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.7);
  }
  100% {
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
  }
}

/* FIXED Wishlist Section - Now properly centered */
.wishlist {
  background: #def3f3;
  text-align: center;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(26,89,89,0.1);
  padding: 40px 20px;
  margin: 40px auto;
  max-width: 800px;
}

.wishlist h2 {
  font-size: 2rem;
  color: #145353;
  margin-bottom: 15px;
}

.wishlist p {
  font-size: 1.1rem;
  margin-bottom: 25px;
  font-weight: 400;
  color: #274c4c;
}

.wishlist-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

/* About Section */
.about {
  text-align: center;
  padding-bottom: 60px;
}

.about h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #1a5959;
}

.about p {
  max-width: 800px;
  margin: auto;
  font-weight: 400;
  font-size: 1.1rem;
  color: #364e4e;
}

/* Features Section */
.features {
  display: flex;
  justify-content: space-around;
  gap: 30px;
  flex-wrap: wrap;
  padding: 20px 0 60px 0;
}

.feature {
  background: #def3f3;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(26,89,89,0.1);
  flex: 1 1 280px;
  max-width: 350px;
  text-align: center;
  transition: transform 0.3s ease;
  cursor: default;
}

.feature:hover,
.feature:focus-within {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(26,89,89,0.25);
}

.feature-icon {
  width: 70px;
  margin-bottom: 15px;
}

/* Donors Section */
.donors {
  text-align: center;
  padding-bottom: 60px;
}

.donors h2 {
  font-size: 2rem;
  color: #145353;
  margin-bottom: 20px;
}

.donors p {
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
  color: #364e4e;
}

/* Animated Donor Logos */
.donor-logos-container {
  overflow: hidden;
  width: 100%;
  white-space: nowrap;
  background: linear-gradient(90deg, transparent, rgba(218, 241, 240, 0.2), transparent);
  padding: 20px 0;
  margin: 20px 0;
}

.donor-logos {
  display: inline-flex;
  animation: scroll-logos 60s linear infinite;
  gap: 40px;
  align-items: center;
}

@keyframes scroll-logos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.donor-logo {
  max-width: 120px;
  max-height: 70px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  cursor: default;
  flex-shrink: 0;
  background: white;
  padding: 10px;
}

.donor-logo:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(26,89,89,0.3);
  animation-play-state: paused;
}

/* Pause animation on container hover */
.donor-logos-container:hover .donor-logos {
  animation-play-state: paused;
}

/* Contact Section */
.contact {
  background: #daf1f0;
  border-radius: 15px;
  padding: 40px 20px;
  max-width: 600px;
  margin: 40px auto 80px;
  box-shadow: 0 8px 20px rgba(26,89,89,0.15);
  text-align: center;
}

.contact h2 {
  color: #145353;
  font-size: 2rem;
  margin-bottom: 20px;
}

.contact p {
  font-size: 1.1rem;
  color: #364e4e;
  margin-bottom: 30px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 15px;
  font-size: 1rem;
  border-radius: 8px;
  border: 1.5px solid #aacccc;
  transition: border-color 0.3s ease;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #1a5959;
  outline: none;
  box-shadow: 0 0 5px #1a5959;
}

.contact-form button {
  background-color: #1a5959;
  color: #daf1f0;
  border: none;
  padding: 14px;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover,
.contact-form button:focus {
  background-color: #145353;
  outline: none;
}

/* Footer */
footer {
  background: #def3f3;
  padding: 20px 0;
  text-align: center;
  font-size: 1rem;
  color: #1a5959;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3);
}

.footer a {
  display: inline-block;
  margin: 0 15px;
  vertical-align: middle;
}

.social-icon {
  width: 40px;
  height: auto;
  filter: brightness(0.25);
  transition: filter 0.3s ease;
}

.social-icon:hover,
.social-icon:focus {
  filter: brightness(1);
  outline: none;
}

/* UPDATED GALLERY STYLES */

/* Gallery introduction section */
.gallery-intro {
  background: #def3f3;
  padding: 30px;
  border-radius: 15px;
  margin: 30px 0;
  box-shadow: 0 4px 12px rgba(26,89,89,0.1);
  text-align: center;
}

.gallery-intro p {
  font-size: 1.1rem;
  color: #274c4c;
  margin-bottom: 20px;
  line-height: 1.7;
}

.gallery-intro p:last-child {
  margin-bottom: 0;
}

/* Gallery sections container */
.gallery-sections {
  margin: 40px 0;
}

/* Individual gallery section */
.gallery-section {
  margin-bottom: 50px;
}

/* Gallery section titles */
.gallery-section-title {
  font-size: 2.2rem;
  color: #145353;
  margin-bottom: 15px;
  font-weight: 700;
  text-align: center;
}

/* Gallery subsection titles */
.gallery-subsection-title {
  font-size: 1.8rem;
  color: #1a5959;
  margin-bottom: 15px;
  margin-top: 30px;
  font-weight: 600;
  text-align: center;
}

/* Gallery section descriptions */
.gallery-section-description {
  font-size: 1.1rem;
  color: #364e4e;
  text-align: center;
  margin-bottom: 25px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Gallery grid layout */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin: 30px 0;
  justify-items: center;
}

/* Individual gallery item */
.gallery-item {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(26,89,89,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 350px;
  width: 100%;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(26,89,89,0.2);
}

/* Gallery images */
.gallery-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 0;
  display: block;
}

/* Gallery image captions */
.gallery-caption {
  padding: 15px;
  text-align: center;
  font-size: 1rem;
  color: #1a5959;
  font-weight: 600;
  margin: 0;
  background: white;
}

/* ENHANCED DONATION PAGE STYLING */
.donation-page {
  padding: 20px;
  max-width: 1000px;
  margin: 0 auto;
  background: #f0f8f8;
  color: #145353;
}

.donation-hero {
  text-align: center;
  background: #def3f3;
  padding: 40px 30px;
  border-radius: 20px;
  margin-bottom: 40px;
  box-shadow: 0 8px 20px rgba(26,89,89,0.1);
}

.donation-hero h2 {
  color: #1a5959;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.donation-hero p {
  font-size: 1.2rem;
  color: #274c4c;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
}

.donation-methods {
  background: white;
  padding: 30px;
  border-radius: 15px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(26,89,89,0.1);
}

.donation-methods h3 {
  color: #1a5959;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
}

.bank-details {
  background: #f8fffe;
  padding: 25px;
  border-radius: 10px;
  border-left: 5px solid #1a5959;
  margin: 20px 0;
}

.bank-detail-item {
  font-size: 1.1rem;
  margin: 10px 0;
  padding: 8px 0;
  border-bottom: 1px solid #e0f2f1;
}

.bank-detail-item:last-child {
  border-bottom: none;
}

.donation-note {
  background: #daf1f0;
  padding: 15px;
  border-radius: 8px;
  font-style: italic;
  color: #1a5959;
  text-align: center;
  margin-top: 20px;
}

.donation-impact {
  background: #def3f3;
  padding: 30px;
  border-radius: 15px;
  margin-bottom: 30px;
}

.donation-impact h3 {
  color: #1a5959;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 25px;
  text-align: center;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.impact-item {
  background: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(26,89,89,0.1);
}

.impact-item h4 {
  color: #e74c3c;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.donation-sponsors,
.donation-volunteers,
.donation-transparency {
  background: white;
  padding: 30px;
  border-radius: 15px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(26,89,89,0.1);
}

.donation-sponsors h3,
.donation-volunteers h3,
.donation-transparency h3 {
  color: #1a5959;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
}

.donation-sponsors p,
.donation-volunteers p,
.donation-transparency p {
  font-size: 1.1rem;
  color: #364e4e;
  line-height: 1.7;
  margin-bottom: 15px;
}

.donation-transparency ul {
  padding-left: 2rem;
  margin: 20px 0;
}

.donation-transparency li {
  font-size: 1.1rem;
  color: #364e4e;
  margin-bottom: 10px;
  line-height: 1.6;
}

.volunteer-cta {
  text-align: center;
  margin-top: 25px;
}

/* Responsive */

@media (max-width: 900px) {
  .features {
    flex-direction: column;
    align-items: center;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
  
  .gallery-section-title {
    font-size: 1.8rem;
  }
  
  .gallery-subsection-title {
    font-size: 1.5rem;
  }
  
  .impact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  /* Show mobile menu button */
  .mobile-menu-btn {
    display: flex;
  }
  
  /* Hide/show navigation */
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #daf1f0;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 0 0 15px 15px;
  }
  
  .main-nav.nav-open {
    display: flex;
  }
  
  .main-nav a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(26, 89, 89, 0.1);
    text-align: center;
  }
  
  .main-nav a:last-child {
    border-bottom: none;
  }
  
  /* Adjust header container */
  .header-container {
    flex-wrap: wrap;
  }
  
  .site-title {
    order: -1;
    flex-basis: 100%;
    text-align: center;
    margin: 10px 0;
  }
  
  /* Adjust donor logos for mobile */
  .donor-logos {
    animation-duration: 40s;
  }
  
  .donor-logo {
    max-width: 80px;
    max-height: 50px;
  }
  
  /* CTA button responsive */
  .btn-cta {
    font-size: 1rem;
    padding: 14px 24px;
  }
  
  .wishlist-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .wishlist-actions .btn-secondary,
  .wishlist-actions .btn-cta {
    margin: 5px 0;
    width: 100%;
    max-width: 300px;
  }
  
  /* Donation page responsive */
  .donation-hero h2 {
    font-size: 2rem;
  }
  
  .donation-page {
    padding: 10px;
  }
  
  .donation-hero,
  .donation-methods,
  .donation-sponsors,
  .donation-volunteers,
  .donation-transparency {
    padding: 20px;
  }
}

@media (max-width: 600px) {
  .site-title {
    font-size: 1.4rem;
  }

  .hero h2 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .contact {
    width: 90%;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .gallery-intro {
    padding: 20px;
  }
  
  .gallery-section-title {
    font-size: 1.6rem;
  }
  
  .gallery-subsection-title {
    font-size: 1.3rem;
  }
  
  /* Smaller donor logos on very small screens */
  .donor-logo {
    max-width: 60px;
    max-height: 40px;
  }
  
  .donation-hero h2 {
    font-size: 1.6rem;
  }
}

/* Tablet responsive */
@media (max-width: 768px) and (min-width: 601px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

   ul {
  padding-left: 1.5rem; /* Controls indentation from the left */
  list-style-position: outside; /* Or use 'inside' if you want bullet points to be inline with text */
}
li {
  margin-bottom: 0.5rem; /* Adds spacing between items (optional) */
}

/* Add spacing between headings and paragraphs */
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

/* Wishlist table styles */
.wishlist-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
   margin-bottom: 20px;
  border: 1px solid #145353;
}

.wishlist-table th,
.wishlist-table td {
  border: 1px solid #145353;
  padding: 10px;
  text-align: left;
}

.wishlist-table thead {
  background-color: #daf1f0;
  color: #145353;
}
.programmes {
  max-width: 1200px;
  margin: auto;
  padding: 2rem;
}

.programme-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid #eee;
}

.programme-section.alt {
  flex-direction: row-reverse;
  background-color: #f9f9f9;
  padding: 3rem 1rem;
}

.programme-text {
  flex: 1;
  min-width: 280px;
}

.programme-image {
  flex: 1;
  min-width: 280px;
}

.programme-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.heading-2.red {
  color: #cc0000;
  margin-bottom: 1rem;
}

.heading-2.green {
  color: #2c8a00;
  margin-bottom: 1rem;
}

.bullet-list {
  margin: 1rem 0;
  padding-left: 1.2rem;
}

.bullet-list li {
  margin-bottom: 0.5rem;
  list-style-type: disc;
  font-size: 1rem;
  line-height: 1.6;
}

.npo-info {
  background-color: #f5f5f5;
  text-align: center;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: #555;
  border-top: 1px solid #ddd;
}
.npo-info p {
  margin: 0;
}


