/* style.css */

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-image: linear-gradient(
      to right,
      rgb(243, 210, 144),
      rgb(244, 242, 237),
      rgb(195, 251, 195)
    );
  color: #000000;
  cursor: grab;
}

.navbar-brand {
  font-weight: bold;
  font-size: 1.5rem;
}

header {
  background: url('https://via.placeholder.com/1200x400') no-repeat center center/cover;
  color: white;
}

.card {
  transition: transform 0.3s ease-in-out;
}

.card:hover {
  transform: scale(1.05);
}

footer {
  background-color: #0056b3;
}


.nav-item {
  padding: 9px;
}


.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center;
  background: linear-gradient(135deg, #ff9800, #ff5722);
  position: relative;
  overflow: hidden;
}
.slider {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  animation: slideAnimation 10s infinite;
}
@keyframes slideAnimation {
  0% { background-image: url('img/hero1.jpg'); }
  33% { background-image: url('img/hero2.jpg'); }
  66% { background-image: url('img/hero3.jpg'); }
  100% { background-image: url('img/logo.jpg'); }
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  padding: 20px;
}
.hero-content h1 {
  font-size: 48px;
  margin-bottom: 10px;
  color: #ffffff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}
.hero-content p {
  font-size: 18px;
  margin-bottom: 20px;
  color: #ffffff;
}
.cta-button {
  background-color: #ffffff;
  padding: 12px 24px;
  text-decoration: none;
  color: #ff5722;
  font-weight: bold;
  border-radius: 5px;
  transition: 0.3s;
}
.cta-button:hover {
  background-color: #f0f0f0;
}

.logo img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 10px;
}

.navbar.navbar-custom {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(151, 96, 96, 0.3); /* Semi-transparent */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); /* Safari Support */
  z-index: 1000;
  transition: background 0.3s ease-in-out;
  padding: 12px 0;
}

/* Ensure navbar items are visible */
.navbar-custom .navbar-nav .nav-link {
  color: rgb(0, 0, 0) !important;
  font-weight: 500;
  transition: color 0.3s;
  font-size: larger;
}

.navbar-custom .navbar-nav .nav-link:hover {
  color: #3e0df0 !important; /* Highlight effect */
}

/* Prevent content from being hidden behind the navbar */
body {
  padding-top: 80px; /* Adjust if needed */
}

.carousel-item {
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
}

.carousel-caption {
  top: 50%;
  transform: translateY(-50%);
  position: absolute;
}



.initiatives {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.initiatives h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5rem;
  color: #333;
}

.nav-pills .nav-link {
  background-color: #ddd;
  color: #333;
  margin: 0 10px;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-pills .nav-link.active {
  background-color: #333;
  color: #fff;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.image {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  flex: 1 1 calc(33.33% - 15px);
}

.image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.image:hover img {
  transform: scale(1.1);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image:hover .overlay {
  opacity: 1;
}

.overlay h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.overlay p {
  font-size: 1rem;
  text-align: center;
}

@media (max-width: 768px) {
  .image {
    flex: 1 1 calc(50% - 15px);
  }
}

@media (max-width: 480px) {
  .image {
    flex: 1 1 100%;
  }
}


.contact-section {
  background: white;
  padding: 50px;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}
.contact-info h3, .map h3 {
  color: #007bff;
  padding: 5px;
}
.contact-info p, .map p {
  font-size: 1.2rem;
  color: #555;
}
@media (max-width: 768px) {
  .contact-info, .map {
      text-align: center;
  }
}

.con {
  padding: 8px;
}
footer {
  background-color: #343a40;
  color: white;
  padding: 40px 0;
  margin-bottom: -85px;
}
footer a {
  color: #f8f9fa;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}
.social-icons a {
  font-size: 1.5rem;
  margin-right: 10px;
}
.card {
  background-image: linear-gradient(to bottom right, rgb(180, 197, 243), rgb(223, 183, 242));
}

@media (max-width: 768px) {
  .about-content {
      flex-direction: column;
      text-align: center;
  }
  .about-image img {
      width: 100%;
      height: auto;
  }
}

/* Custom Styles */
:root {
  --primary-color: #2c3e50;
  --secondary-color: #3498db;
  --accent-color: #e74c3c;
  --light-bg: #f8f9fa;
}

.faq-header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 3rem 0;
  margin-bottom: 2rem;
  text-align: center;
}

.faq-header h1 {
  font-weight: 700;
  margin-bottom: 1rem;
}

.faq-header p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto;
}

.accordion-button {
  font-weight: 600;
  padding: 1.25rem 1.5rem;
}

.accordion-button:not(.collapsed) {
  background-color: rgba(var(--secondary-color), 0.1);
  color: var(--primary-color);
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(var(--secondary-color), 0.25);
}

.accordion-body {
  padding: 1.5rem;
}

.faq-icon {
  margin-right: 10px;
  color: var(--secondary-color);
}

.contact-card {
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin-top: 3rem;
  background: white;
}

.contact-btn {
  background-color: var(--accent-color);
  border: none;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
}

.contact-btn:hover {
  background-color: #c0392b;
}

/* Media Queries */
@media (max-width: 768px) {
  .faq-header {
      padding: 2rem 0;
  }
  
  .faq-header h1 {
      font-size: 2rem;
  }
  
  .faq-header p {
      font-size: 1rem;
      padding: 0 1rem;
  }
  
  .accordion-button {
      padding: 1rem;
      font-size: 1rem;
  }
  
  .contact-card {
      margin: 2rem 1rem 0;
      padding: 1.5rem;
  }
}

@media (max-width: 576px) {
  .faq-header {
      padding: 1.5rem 0;
  }
  
  .faq-header h1 {
      font-size: 1.75rem;
  }
  
  .accordion-button {
      font-size: 0.95rem;
  }
  
  .accordion-body {
      padding: 1rem;
      font-size: 0.9rem;
  }
}




.button {
  font-size: 19px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgb(56, 56, 56) 0%, rgb(36, 36, 36) 66%, rgb(41, 41, 41) 100%);
  color: rgb(218, 218, 218);
  border: none;
  padding: 2px;
  font-weight: 800;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.button span {
  border-radius: 10px;
  padding: 0.8em 1.3em;
  padding-right: 1.2em;
  text-shadow: 0px 0px 20px #4b4b4b;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s;
  background-image: linear-gradient(to right, #00F260, #f79dee, #0575E6, #64f38c,#e9e93e);
  -webkit-background-clip: text;
  color: transparent;
  background-size: 300%;
  background-position: -100%;
  animation: animatedText 3s infinite alternate-reverse;
}

.button-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-conic-gradient(rgb(48, 47, 47) 0.0000001%, rgb(51, 51, 51) 0.000104%) 60% 60%/600% 600%;
  filter: opacity(10%) contrast(105%);
  -webkit-filter: opacity(10%) contrast(105%);
}

@keyframes animatedText {
  to {
    background-position: 100%;
  }
}


.donate {
  padding: 0.5rem 2.5rem 0.5rem 2.5rem;
  border: 1px solid black;
  border-radius: 0.5rem;
  font-size: 0.9rem;
   background-image: linear-gradient(
      to right,
      rgb(252, 116, 5),
      rgb(255, 254, 251),
      rgb(4, 250, 4)
    );
  color: black;
  font-weight: bolder;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  position: relative;
  transition: all .9s ease-in-out;
  text-transform: uppercase;
  height: 50px;
}

.donate:hover {
  background-image: linear-gradient(
      to right,
      rgb(248, 236, 3),
      rgb(245, 2, 209),
      rgb(1, 46, 247)
    );
  color: white;
}

.donate::before {
  content: "🙏";
  position: absolute;
  left: -0rem;
  top: 0rem;
  opacity: 1;
  font-size: 1.55rem;
  transition: all .9s ease-in-out;
  transform: rotate(0deg);
}

.donate:hover::before {
  content: "❤️";
  opacity: 1;
  visibility: visible;
  transform: rotate(40deg);
  font-size: 2.5rem;
  top: -0.75rem;
  transition: all .9s ease-in-out;
  animation: rightRun 2s forwards;
}

.donate:active::before {
  content: "💝";
}

@keyframes rightRun {
  100% {
    transform: translateX(100px);
  }
}

.volunteer {
  outline: 0;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background: #04843b;
  min-width: 80px;
  border: 0;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
  box-sizing: border-box;
  padding: 16px 20px;
  color: #000000;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  overflow: hidden;
  cursor: pointer;
  margin-left: 10px;
}

.volunteer:hover {
  opacity: .95;
}

.volunteer .animation {
  border-radius: 100%;
  animation: ripple 0.6s linear infinite;
}

@keyframes ripple {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.1), 0 0 0 20px rgba(255, 255, 255, 0.1), 0 0 0 40px rgba(255, 255, 255, 0.1), 0 0 0 60px rgba(255, 255, 255, 0.1);
  }

  100% {
    box-shadow: 0 0 0 20px rgba(255, 255, 255, 0.1), 0 0 0 40px rgba(255, 255, 255, 0.1), 0 0 0 60px rgba(255, 255, 255, 0.1), 0 0 0 80px rgba(255, 255, 255, 0);
  }
}

