/* Custom Purple Theme */
:root {
    --purple: #6a1b9a;
    --light-purple: #9c27b0;
  }
  
  .bg-purple {
    background-color: var(--purple) !important;
  }
  
  .btn-purple {
    background-color: var(--purple);
    color: white;
  }
  
  .btn-purple:hover {
    background-color: var(--light-purple);
  }
  

/*hero section*/

  /* Hero Section Styles */
.hero-section {
  background: url('../images/children1.jpg') no-repeat center center;
  background-size: cover;
  background-position: center top;
  height: 100vh; /* Full viewport height */
  display: flex;
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
  text-align: center;
  color: white;
  position: relative; /* Needed for the overlay */
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5); /* Dark translucent tint */
  z-index: 1;
}

.hero-section h1, .hero-section p, .hero-section .btn-purple {
  position: relative;
  z-index: 2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Add shadow to make text stand out */
}

.hero-section h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.hero-section p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.hero-section .btn-purple {
  display: block; /* Ensure the button is always below the texts */
  font-size: 1.25rem;
  padding: 0.5rem 1rem; /* Reduce padding to make the button smaller */
  border-radius: 20px;
  margin: 0 auto; /* Center the button */
  width: 25vh; /* Make the button size fit the text */
  white-space: nowrap; /* Prevent text from wrapping */
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2rem;
  }
  .hero-section p {
    font-size: 1.25rem;
  }
}



  
  
  /* Contact Page Styles */
.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .card h4 {
    color: var(--purple);
  }
  
  /* About Us Page Styles */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .card h4 {
    color: var(--purple);
  }
  
  .card-img-top {
    border-radius: 10px 10px 0 0;
  }
  
  .card-body {
    padding: 20px;
  }
  
  .card-title {
    font-size: 1.25rem;
    color: var(--purple);
  }
  
  .card-text {
    font-size: 0.9rem;
    color: #555;
  }
  
/* Gallery Page Styles */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .gallery-item img {
    transition: transform 0.3s ease;
  }
  
  .gallery-item:hover img {
    transform: scale(1.1);
  }
  
  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(106, 27, 154, 0.7); /* Purple overlay */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 10px;
  }
  
  .gallery-item:hover .overlay {
    opacity: 1;
  }
  
  .overlay .text {
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
  }

/* Donation Page Styles */
.btn-purple {
    background-color: var(--purple);
    color: white;
    border: none;
  }
  
  .btn-purple:hover {
    background-color: var(--light-purple);
  }
  
  .form-control, .form-select {
    border-radius: 5px;
    border: 1px solid #ddd;
    padding: 10px;
  }
  
  .form-control:focus, .form-select:focus {
    border-color: var(--purple);
    box-shadow: 0 0 5px rgba(106, 27, 154, 0.5);
  }
  
  .form-check-input:checked {
    background-color: var(--purple);
    border-color: var(--purple);
  }

/* Basic styling for the donors section */
.donors-section {
    background-color: #f9f9f9;
    padding: 20px;
    text-align: center;
}

.donors-section h2 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

.donors-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.donor {
    text-align: center;
    width: 150px;
}

.donor img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

.donor p {
    font-size: 16px;
    color: #555;
    margin: 0;
}

/* Donor List Section Styles */
.donor-list {
  background-color: #f8f9fa; /* Light grey background */
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.donor-list .badge {
  font-size: 1rem;
  font-weight: normal;
}

/* Footer Styles */
footer {
  background-color: var(--purple);
  color: white;
  padding: 1rem 0;
  margin-top: auto; /* Ensures footer sticks to the bottom */
}

/* Body Styles */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Ensures the body takes up at least the full viewport height */
}



/* Modal Styles */
.modal-content {
    border-radius: 10px;
    border: none;
  }
  
  .modal-header {
    background-color: var(--purple);
    color: white;
    border-radius: 10px 10px 0 0;
  }
  
  .modal-title {
    font-weight: bold;
  }
  
  .modal-body h5 {
    color: var(--purple);
    margin-top: 1rem;
  }
  
  .modal-body ul {
    padding-left: 20px;
  }
  
  .modal-body ul li {
    margin-bottom: 0.5rem;
  }
  
  .modal-footer .btn-purple {
    background-color: var(--purple);
    color: white;
  }
  
  .modal-footer .btn-purple:hover {
    background-color: var(--light-purple);
  }



  

  /* Responsive Design */
  @media (max-width: 768px) {
    .hero-section h1 {
      font-size: 2rem;
    }
    
  }