/* General */
 body.ghana-bg {
  background: linear-gradient(to bottom, #ce1126 0%, #fcd116 50%, #006b3f 100%);
  min-height: 100vh; 
  padding-top: 80px;
  font-family: Arial, sans-serif;
} 

.main-content {
  max-width: 1200px;
  margin: 0 auto;
  background-color: #fcd116;
  padding: 40px 30px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}



/* 🔹 Sticky Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 10px 0;
    transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* 🔹 Navbar Shadow on Scroll */
.navbar.scrolled {
    background-color: rgba(0, 0, 0, 1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}



/* Accordion Header Background */
.accordion-button {
    background-color: #006b3f; /* Dark green (Ghana) */
    color: rgb(248, 243, 243);
}

/* Change text color and add hover effect */
.accordion-button:not(.collapsed):hover,
.accordion-button:hover {
    background-color: #ce1126; /* Red (Ghana) */
    color: rgb(81, 71, 71);
}

/* Accordion Body Background */
.accordion-body {
    background-color: #fcd116; /* Yellow (Ghana) */
    color: #000; /* Black text */
}

/* Optional: Border around each accordion item */
.accordion-item {
    border: 2px solid #006b3f;
    border-radius: 5px;
    margin-bottom: 10px;
}



/* 🔹 Improve Navbar for Mobile */
@media (max-width: 768px) {
    .navbar {
        padding: 8px 10px;
    }
}

/* 🔹 Hero Section - Sliding Background */
#hero-slider {
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 1s ease-in-out;
    /* background-image: url("ahfgh.com/assets/images/hero1.jpg"); Default image */
}

/* 🔹 Mission Section */
.mission img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* 🔹 Top Donors Section */
.list-group-item {
    font-size: 18px;
    padding: 15px;
}

/* 🔹 Buttons */
.btn-lg {
    padding: 15px 30px;
}

/* 🔹 Fade-in & Slide-in Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

.slide-in {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.visible {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

/* 🔹 Carousel (Image Slider) Styling */
.carousel-inner img {
    width: 100%;
    height: 550px; /* Adjust for better horizontal layout */
    object-fit: cover;
    border-radius: 10px;
}

/* 🔹 Gallery Section */
.gallery-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.gallery-img:hover {
    transform: scale(1.05);
    cursor: pointer;
}

/* Ensure images return to normal size smoothly */
.gallery-img:not(:hover) {
    transform: scale(1);
}

/* 🔹 Responsive Design - Mobile Improvements */
@media (max-width: 768px) {
  body.ghana-bg {
    padding-top: 60px;
  }

  .main-content {
    padding: 20px 15px;
    border-radius: 0;
    box-shadow: none;
  }

  .navbar {
    padding: 6px 8px;
  }

  .hero {
    height: 300px;
    padding: 20px;
    text-align: center;
  }

  .hero h1 {
    font-size: 20px;
  }

  .hero p {
    font-size: 14px;
  }

  .carousel-inner img {
    height: 180px;
  }

  .gallery-img {
    height: 150px;
  }

  .list-group-item {
    font-size: 15px;
    padding: 6px 10px;
  }

  .btn-lg {
    font-size: 14px;
    padding: 10px 16px;
  }

  .container {
    padding: 0 10px;
  }


  .gallery-img {
        height: 180px; /* Adjust gallery image size for mobile */
    }

    .list-group-item {
        font-size: 16px;
        padding: 8px 12px;
    }

    .container {
        padding: 10px 15px;
    }
}
@media (max-width: 768px) {
  .accordion-button {
    font-size: 14px;
    padding: 10px;
    background-color: #006b3f;
    color: white;
  }

  .accordion-button:not(.collapsed):hover,
  .accordion-button:hover {
    background-color: #ce1126;
    color: white;
  }

  .accordion-body {
    background-color: #fcd116;
    color: #000;
    font-size: 14px;
    padding: 12px;
  }

  .accordion-item {
    border: 2px solid #006b3f;
    border-radius: 5px;
    margin-bottom: 12px;
  }
}

.list-group-item {
    border: none;
    font-size: 1.1rem;
    padding: 12px;
}
