/* ======= BANNER SECTION ======= */

/* ======= HOME PAGE STYLES ======= */

/* ========== HERO OVERLAY (text on slider) ========== */
.hero-overlay {
    color: #fff !important; /* force white */
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8); /* strong shadow for contrast */
    position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  max-width: 800px;
  padding: 1rem;
  z-index: 2;
}

.hero-overlay h1 {
      color: #fff !important; /* force white */
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8); /* strong shadow for contrast */
  font-size: 2.75rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
}

.hero-overlay p {
    color: #fff !important; /* force white */
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8); /* strong shadow for contrast */
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.hero-overlay .btn.primary {
  background-color: #ff9900;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
  box-shadow: 0 4px 8px rgba(255, 153, 0, 0.5);
}

.hero-overlay .btn.primary:hover,
.hero-overlay .btn.primary:focus {
  background-color: #e68200;
  outline: none;
  box-shadow: 0 6px 12px rgba(230, 130, 0, 0.8);
}

/* ========== ABOUT PREVIEW SECTION ========== */
/* ========== ABOUT PREVIEW SECTION ========== */
.about-preview {
  position: relative;
  margin-top: -4rem; /* overlaps slider */
  z-index: 5;
  padding: 0 2rem 4rem;
  background: transparent;
}

.about-preview .container {
  background-color: #fff;
  border-top-left-radius: 1.5rem;
  border-top-right-radius: 1.5rem;
  padding: 1.2rem 2rem;
  max-width: 60%;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 15;
}

.about-preview h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #005fa3; /* your brand blue */
}

.about-preview h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #444;
}

.about-preview p,
.about-preview .about-content {
  max-width: 100%;
  margin: 0 auto 2rem auto;
  color: #333;
  line-height: 1.6;
  font-size: 1rem;
}

/* Optional image styling */
.about-preview .about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 0;
}

.about-preview .btn {
  background-color: #005fa3;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.about-preview .btn:hover,
.about-preview .btn:focus {
  background-color: #004a7a;
  outline: none;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .about-preview {
    margin-top: 0;
    padding: 0 1rem 3rem;
  }

  .about-preview .container {
    max-width: 100%;
    border-radius: 0;
    padding: 3rem 1rem;
  }

  .about-preview .about-content {
    padding: 0 1rem;
  }

  .about-preview .about-image img {
    margin: 0 auto;
    display: block;
  }
}

/* ========== HIGHLIGHTS SECTION ========== */
/* ========== HIGHLIGHT BANNER SECTION ========== */
.highlight-banner {
  width: 100%;
  background-size: cover;
  background-position: right top;
  background-repeat: no-repeat;
  padding: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden; /* ensures right side can be hidden */
  border-top: solid 5px darkgoldenrod;
}

.highlight-banner__overlay {
  width: 100%;
  background: rgba(0, 0, 0, 0.5); /* semi-transparent overlay */
  padding: 4rem 2rem;
}

.highlight-banner__content {
  max-width: 700px;
  color: #fff;
  margin-left: 5%;
  text-align: left;
  background-color: rgba(255, 255, 255, 0.7); /* white with 70% opacity */
  padding: 2rem;
  border-radius: 0.5rem;
  border-top: solid 5px darkgoldenrod;
}

.highlight-banner__content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: darkgoldenrod;
  border-top: 1px solid goldenrod;
  border-right: 5px solid goldenrod;
  border-bottom: 5px solid goldenrod;
  border-left: 1px solid goldenrod;
  padding: 2%;
}

.highlight-banner__content p {
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.highlight-banner__content .btn {
  background-color: #ff9900;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.highlight-banner__content .btn:hover {
  background-color: #e68500;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .highlight-banner {
    background-position: left top;
    background-size: 200%;
  }

  .highlight-banner__content {
    margin-left: 0;
    max-width: 100%;
    padding: 1rem;

    padding: 2rem;
    border-radius: 0.5rem;
  }

  .highlight-banner__overlay {
    padding: 2rem 1rem;
  }

  .highlight-banner__content h2 {
    font-size: 2rem;
  }

  .highlight-banner__content p {
    font-size: 1rem;
  }
}


/* ========== DONATE CALL TO ACTION ========== */
.cta-donate {
  background: url('../assets/images/donate-bg.jpg') no-repeat center center/cover;
  color: #fff;
  text-align: center;
  padding: 5rem 2rem;
  position: relative;
  border-top: 15px solid #05052c;
}

.cta-donate::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5); /* dark overlay */
  z-index: 0;
}

.cta-donate h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  color: #fee890;
}

.cta-donate p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
  color: #fdfeff;
}

.cta-donate .btn.secondary {
  background-color: #df0d0d;
  color: #fdfeff;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid #fff;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.cta-donate .btn.secondary:hover,
.cta-donate .btn.secondary:focus {
  background-color: #0f0f10;
  color: #fff;
  border-color: #fff;
  outline: none;
}

/* ========== TESTIMONIALS SECTION ========== */
.testimonials-section {
  padding: 4rem 2rem;
  background-color: #c4c4c4;
  border-top: 5px solid #4c0035;
  border-bottom: 1px solid #4c0035;
}

.testimonials-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-left: 5px solid #000;
}

.testimonial-image {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.testimonial-image img {
  width: 80px;               /* Thumbnail size */
  height: 80px;
  object-fit: contain;
  border-radius: 8px;
}

.testimonial-text {
  padding: 1.5rem;
  text-align: left;
}

.testimonial-text h3 {
  color: #005fa3;
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
  padding: 2%;
}

.testimonial-text p {
  color: #333;
  line-height: 1.6;
  font-size: 1rem;
}

/* Responsive for tighter viewports */
@media (max-width: 768px) {
  .testimonial-text h3 {
    font-size: 1.25rem;
  }

  .testimonial-text p {
    font-size: 0.95rem;
  }
}

/* =====  Blogs  ===== */

.blogs-preview {
  padding: 4rem 2rem;
}

.blogs-preview .section-title {
  text-align: center;
  font-size: 2.25rem;
  color: #4c004e;
  margin-bottom: 3rem;
  border-top: solid 1px #4c004e;
  border-bottom: solid 1px #4c004e;
}

.blogs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease;
  border: solid 5px #4c0035;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-image img {
  width: 100%;
  height: auto;
  display: block;
}

.blog-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.blog-content h3 {
  font-size: 1.5rem;
  color: #222;
  margin-bottom: 0.5rem;
}

.blog-content .blog-subtitle {
  font-size: 0.875rem;
  color: #777;
  margin-bottom: 1rem;
}

.blog-snippet {
  font-size: 1rem;
  color: #444;
  flex-grow: 1;
}

.blog-meta {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #ffcdf6;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  background-color: #790069;
  padding: 5px;
}

.blog-meta i {
  margin-right: 0.5rem;
  color: #ffc7f2;
}

/* ========== RESPONSIVE BREAKPOINTS ========== */

@media (max-width: 768px) {
  .blogs-preview {
    padding: 3rem 1.5rem;
  }

  .blogs-preview .section-title {
    font-size: 1.75rem;
    margin-bottom: 2rem;
  }

  .blog-content h3 {
    font-size: 1.25rem;
  }

  .blog-snippet {
    font-size: 0.95rem;
  }

  .blog-content {
    padding: 1.25rem;
  }
}

@media (max-width: 480px) {
  .blogs-preview {
    padding: 2rem 1rem;
  }

  .blogs-grid {
    grid-template-columns: 1fr;
  }

  .blog-meta {
    flex-direction: row;
    gap: 1rem;
  }
}


/* ========== PARTNERS SECTION ========== */
.partners {
  padding: 3rem 2rem;
  background-color: #fff;
  text-align: center;
}

.partners h2 {
  margin-bottom: 2rem;
  font-size: 1.8rem;
  color: #005fa3;
}

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.partner-logos img {
  max-height: 60px;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.partner-logos img:hover,
.partner-logos img:focus {
  filter: none;
  outline: none;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animate key elements */
.hero-overlay h1,
.hero-overlay p,
.hero-overlay .btn,
.about-preview h2,
.about-preview p,
.about-preview .btn,
.highlight,
.cta-donate h2,
.cta-donate p,
.cta-donate .btn {
  animation: fadeInUp 0.8s ease both;
}

/* Utility */
a:focus,
button:focus {
  outline: 3px solid #ff9900;
  outline-offset: 2px;
  
}

/* Base style (mobile-first, optional) */
.partner-logos img {
  max-width: 100px;
  height: auto;
  margin: 1rem;
  transition: transform 0.3s ease;
}

/* Larger images on wide screens */
@media (min-width: 1024px) {
  .partner-logos img {
    max-width: 300px; /* You can adjust this size */
  }
}

/* == BOOKS  == */

.books-carousel {
  padding: 50px 0;
  background-color: #f9f9f9;
  text-align: center;
}

.books-carousel .carousel-wrapper {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.books-carousel .carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.book-slide {
  min-width: 100%;
  box-sizing: border-box;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.book-image img {
  max-height: 350px;
  width: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.book-info {
  margin-top: 20px;
  max-width: 500px;
}

.book-author {
  font-style: italic;
  color: #555;
}

.book-description {
  margin: 15px 0;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 10px;
  z-index: 2;
}

.carousel-nav.prev {
  left: 10px;
}
.carousel-nav.next {
  right: 10px;
}


.ambassadors-section {
    padding: 40px 0;
    background-color: #f9f9f9;
}

.ambassadors-section .section-title {
    text-align: center;
    margin-bottom: 30px;
}

.ambassador-marquee {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: scroll-left 30s linear infinite;
}

.ambassador-card {
    flex: 0 0 auto;
    width: 200px;
    margin: 0 15px;
    text-align: center;
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.ambassador-card img {
    width: 100%;
    border-radius: 50%;
    margin-bottom: 10px;
}

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


.ambassadors-section {
    padding: 40px 0;
    background-color: #f9f9f9;
}

.ambassadors-section .section-title {
    text-align: center;
    margin-bottom: 30px;
}

.ambassador-carousel {
    position: relative;
    overflow: hidden;
}

.carousel-track-container {
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    list-style: none;
    padding: 0;
    margin: 0;
}

.carousel-slide {
    min-width: 20%; /* 5 slides visible at a time */
    box-sizing: border-box;
    padding: 10px;
    text-align: center;
}

.carousel-slide img {
    width: 100%;
    border-radius: 50%;
    margin-bottom: 10px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.3);
    border: none;
    color: #fff;
    font-size: 2rem;
    padding: 5px 10px;
    cursor: pointer;
    z-index: 10;
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
}

.ambassadors-section {
    padding: 50px 0;
    background: #f9f9f9;
}

.ambassadors-section .section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
}

.ambassador-carousel {
    position: relative;
    overflow: hidden;
}

.carousel-track-container {
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    list-style: none;
    padding: 0;
    margin: 0;
}

.carousel-slide {
    min-width: 200px;  /* adjust for number of visible slides */
    margin-right: 20px;
    flex-shrink: 0;
    text-align: center;
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.carousel-slide img {
    max-width: 100%;
    height: auto;
    border-radius: 50%;
    margin-bottom: 10px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    border: none;
    color: #fff;
    font-size: 2rem;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 2;
    border-radius: 50%;
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

@media (max-width: 768px) {
    .carousel-slide {
        min-width: 150px;
    }
}

@media (max-width: 480px) {
    .carousel-slide {
        min-width: 120px;
        margin-right: 10px;
    }
}

.ambassadors-section {
  padding: 50px 0;
  background: #f9f9f9;
}

.ambassadors-section .section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
}

.carousel-track-container {
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  list-style: none;
  padding: 0;
  margin: 0;
}

.carousel-slide {
  min-width: 200px;  /* width of one visible slide */
  margin-right: 20px;
  flex-shrink: 0;
  text-align: center;
  background: #fff;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.carousel-slide img {
  max-width: 100%;
  height: auto;
  border-radius: 50%;
  margin-bottom: 10px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 2;
  border-radius: 50%;
}

.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

@media (max-width: 1024px) {
  .carousel-slide { min-width: 180px; margin-right: 15px; }
}

@media (max-width: 768px) {
  .carousel-slide { min-width: 150px; margin-right: 10px; }
}

@media (max-width: 480px) {
  .carousel-slide { min-width: 120px; margin-right: 10px; }
}
