/* Global Styles */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
  scroll-behavior: smooth;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  color: #6a1b9a;
}

/* Header */
header {
  background-color: #9B59B6;
  color: white;
  padding: 1rem 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  flex-wrap: wrap;
}

header h1 {
  font-size: 1.5rem;
  margin: 0;
}

header h1 a {
  text-decoration: none;
  color: #fff;
}

header nav {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}

header nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

header nav a:hover {
  color: #f1e7ff;
}

.branding {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.branding h1 {
  font-size: 1.8rem;
  margin: 0;
  color: white;
}

.logo {
  width: 60px;
  height: auto;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

nav a {
  color: white;
  margin-left: 20px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

nav a:hover {
  color: #ffd9fa;
  text-decoration: underline;
}

/* Navigation Toggle (Mobile) */
nav {
  display: flex;
  gap: 20px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  nav {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #9B59B6;
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 10px;
  }

  nav a {
    margin: 10px 0;
    display: block;
  }

  nav.active {
    display: flex;
  }

  header .container {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Hero Section */
.hero-slider {
  background-size: cover;
  background-position: center;
  position: relative;
  height: auto;
  padding: 6rem 2rem 4rem;
  margin-top: 0;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .hero-slider {
    padding-top: 7rem;
  }
}

.slide {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  text-align: center;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  padding: 2rem;
  border-radius: 10px;
}

.hero-content h2 {
  font-size: 2.5rem;
  color: #FFD700;
  margin-top: 0;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

@media (max-width: 600px) {
  .hero-content h2 {
    font-size: 1.6rem;
    line-height: 1.3;
  }

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

.btn {
  padding: 0.7rem 1.5rem;
  background-color: white;
  color: #9B59B6;
  text-decoration: none;
  font-weight: 600;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #f1d9f9;
}

/* Section Styling */
.section {
  padding: 3rem 2rem;
  max-width: 1000px;
  margin: auto;
  background-color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border-radius: 10px;
  margin-bottom: 2rem;
}

.section.highlight {
  background-color: #f3ecfa;
}

/* Focus Section */
#focus ul {
  padding-left: 1.5rem;
}

/* Tab Styling */
.about-col-2 {
  max-width: 800px;
  margin: auto;
}

.sub-title {
  font-size: 2rem;
  margin-bottom: 10px;
}

.tab-titles {
  display: flex;
  margin: 20px 0;
}

.tab-links {
  margin-right: 20px;
  cursor: pointer;
  position: relative;
  font-weight: 600;
  color: #9B59B6;
  transition: color 0.3s ease;
}

.tab-links:hover {
  color: #6a1b9a;
}

.tab-links::after {
  content: '';
  width: 0;
  height: 2px;
  background: #6a1b9a;
  position: absolute;
  left: 0;
  bottom: -5px;
  transition: 0.3s;
}

.tab-links.active-link::after {
  width: 100%;
}

.tab-contents {
  display: none;
  animation: fade 0.5s ease-in;
}

.tab-contents.active-tab {
  display: block;
}

@keyframes fade {
  from {opacity: 0;}
  to {opacity: 1;}
}

/* Card Grid for Strategic Objectives */
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}

.card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  max-width: 300px;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 1.5rem;
  flex-grow: 1;
}

.card-content h3 {
  margin-top: 0;
  color: #6a1b9a;
}

.card-content p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.card-btn {
  display: inline-block;
  background-color: #9B59B6;
  color: white;
  padding: 0.6rem 1.2rem;
  text-decoration: none;
  border-radius: 20px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.card-btn:hover {
  background-color: #6a1b9a;
}

/* Contact Form */
.contact form {
  display: flex;
  flex-direction: column;
}

.contact label {
  margin-top: 1rem;
}

.contact input,
.contact textarea {
  padding: 0.6rem;
  margin-top: 0.3rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.contact input:focus,
.contact textarea:focus,
.contact button:focus {
  outline: 2px solid #6a1b9a;
  border-color: #9B59B6;
}

.contact button {
  margin-top: 1.5rem;
  padding: 0.75rem;
  background-color: #9B59B6;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  font-size: 1rem;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.contact button:hover {
  background-color: #6a1b9a;
}

/* Carousel */
.carousel-section {
  position: relative;
  text-align: center;
  padding: 3rem 0;
  background-color: #f3ecfa;
}

.carousel-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: auto;
  overflow: hidden;
}

.carousel-slide {
  display: flex;
  width: 800%;
  transition: transform 0.6s ease-in-out;
}

.carousel-item {
  flex: 0 0 12.5%;
  height: 400px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.carousel-item.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.carousel-caption {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.5);
  padding: 1.5rem 2rem;
  border-radius: 8px;
  color: white;
  text-align: center;
}

.carousel-caption h3 {
  margin: 0;
  font-size: 1.8rem;
  color: #FFD700; /* Matches the hero section text */
}

.carousel-item.justice-slide {
  background-size: cover;
  background-position: top center; /* Shift focus to top */
  transform: scale(0.9); /* Slightly zoom out */
}



.carousel-caption p {
  font-size: 1rem;
  margin-top: 0.5rem;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: white;
  color: #9B59B6;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.carousel-arrow.left {
  left: 10px;
}

.carousel-arrow.right {
  right: 10px;
}

.carousel-dots {
  margin-top: 1rem;
}

.carousel-dots .dot {
  height: 12px;
  width: 12px;
  margin: 0 6px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background 0.3s;
  cursor: pointer;
}

.carousel-dots .dot.active {
  background-color: #9B59B6;
}

/* Founders Section */
.founders-section {
  background: #fff;
  padding: 4rem 1rem;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #9B59B6;
}

.founder-profile {
  max-width: 600px;
  margin: 0 auto;
  transition: all 0.5s ease-in-out;
  opacity: 1;
}

.founder-profile.fade-out {
  opacity: 0;
  transform: translateY(10px);
}

.founder-profile img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #9B59B6;
  margin-bottom: 1rem;

  /* NEW IMPROVEMENTS */
  box-shadow: none; /* remove extra shine */
  filter: brightness(0.95) contrast(0.95) saturate(0.9);
  background-color: #f8f8f8; /* helps on transparent or light edges */
}


.founder-text h3 {
  font-size: 1.5rem;
  color: #444;
}

.founder-text p {
  font-style: italic;
  font-size: 1.1rem;
  color: #666;
}

.founder-nav {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.founder-btn {
  background-color: #9B59B6;
  color: #fff;
  border: none;
  font-size: 1.5rem;
  padding: 0.5rem 0.9rem;
  border-radius: 50%;
  cursor: pointer;
}

.founder-btn:hover {
  background-color: #8e44ad;
}




/* Contact CTA Section */
.contact-cta {
  background-color: #f3ecfa;
  text-align: center;
  padding: 3rem 2rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.contact-cta h2 {
  color: #6a1b9a;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-cta p {
  max-width: 700px;
  margin: 0 auto 2rem auto;
  font-size: 1.1rem;
}

.contact-btn {
  background-color: #9B59B6;
  color: white;
  padding: 0.8rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.contact-btn:hover {
  background-color: #6a1b9a;
}

/* Donate Section Styling */
.donate-section {
  background: linear-gradient(to right, #f6e9ff, #e6d1f2);
  text-align: center;
  padding: 3rem 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.donate-section h2 {
  font-size: 2rem;
  color: #6a1b9a;
  margin-bottom: 1rem;
}

.donate-section p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 2rem auto;
}

.donate-btn {
  background-color: #9B59B6;
  color: white;
  padding: 0.8rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.donate-btn:hover {
  background-color: #6a1b9a;
}


@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.footer {
  background-color: #9B59B6;
  color: #fff;
  padding: 3rem 1.5rem 1rem;
  font-size: 0.95rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
}

.footer-col {
  flex: 1 1 200px;
}

.footer-col h3,
.footer-col h4 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
  color: #f3f3f3;
}

.footer-col ul li a {
  color: #f1f1f1;
  text-decoration: none;
}

.footer-col ul li a:hover {
  color: #ffd9fa;
  text-decoration: underline;
}

.footer-col i {
  margin-right: 8px;
  color: #FFD700;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: #eee;
  border-top: 1px solid #a66bc7;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 2rem;
  }
}
