/* === GLOBAL RESET === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

section {
  padding: 60px 8%;
}

h1, h2, h3 {
  color: #003344;
  margin-bottom: 15px;
}

.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary {
  background: #FFAE45;
  color: #fff;
  border: none;
}

.btn-primary:hover {
  background: #004466;
}

.btn-outline {
  border: 2px solid #006699;
  color: #006699;
  background: transparent;
}

.btn-outline:hover {
  background: #a2c830;
  color: #fff;
}

/* HERO SECTION */
.hero {
  position: relative;
  height: 100vh; /* Full screen hero */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: #fff;
}


.hero-image {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures image covers container */
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(145, 123, 241, 0.411); /* Dark overlay */
  z-index: 2;
}

.hero-inner {
  position: relative;
  z-index: 3; /* Above overlay */
  max-width: 800px;
  padding: 20px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  line-height: 1.2;
  color: #FFAE45;
  z-index: 99;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

.hero .btn {
  margin: 8px;
  background: rgba(255, 255, 0, 0.548);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .hero {
    padding: 100px 20px;
    height: auto; /* Smaller height for mobile */
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }
}


/* === ABOUT === */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-content p {
  margin-bottom: 20px;
}

.about-image img {
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

/* === PROGRAMMES & PROJECTS === */
.programmes {
  background: linear-gradient(#c0ca30, #eb0000);
  height: 100%;
  border-radius: 10px;
}


.programmes-grid,
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
  
}

.programme1{
  background: #f2a900;
}

.programme2{
  background: #c833a5;
}

.programme3{
  background: #68b042;
}


.programme-card,
.project-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.programme-card:hover,
.project-card:hover {
  transform: translateY(-5px);
}

.card-body {
  padding: 20px;
}

/* Maintain 9:16 aspect ratio */
.img-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.ratio-9-16 {
  padding-top: 100.78%;
}

.img-wrap img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* === STATISTICS === */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  text-align: center;
}

.stat-card {
  background: #f1f1f1;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
}

.statistics1 {
  background: linear-gradient(rgba(0, 0, 255, 0.233),rgba(0, 128, 0, 0.445));
}
.statistics2 {
  background: linear-gradient(rgba(0, 255, 13, 0.233),rgba(128, 0, 0, 0.445));
}
.statistics3 {
  background: linear-gradient(rgba(0, 0, 255, 0.233),rgba(0, 128, 0, 0.445));
}

.stat-icon {
  font-size: 2rem;
  color: #006699;
  margin-bottom: 10px;
}

.stat-number {
  font-size: 2rem;
  font-weight: bold;
  color: #003344;
  margin-bottom: 5px;
}

.stat-label {
  color: #666;
}

/* === CTA === */
.cta {
  background: #ff3546;
  color: #fff;
  text-align: center;
  border-radius: 12px;
}

.cta h2 {
  color: #fff;
  margin-bottom: 15px;
}

.cta p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

/* === PARTNERS === */
.partners-marquee {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 80px;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 20s linear infinite;
}

.marquee-track img {
  height: 150px;
  margin: 0 40px;
  filter: grayscale(100%);
  transition: filter 0.3s;
}

.marquee-track img:hover {
  filter: grayscale(0);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* === ANIMATIONS === */
.animate-fade {
  animation: fadeIn 1.5s ease forwards;
}

.animate-zoom {
  animation: zoomIn 1s ease forwards;
}

.animate-up {
  animation: fadeUp 1.5s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes zoomIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes fadeUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* === RESPONSIVENESS === */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-image {
    order: -1; /* image goes on top */
  }
  .hero h1 {
    font-size: 2rem;
  }
}

@media (max-width: 600px) {
  section {
    padding: 40px 5%;
  }
  .hero {
    padding: 80px 20px;
  }
  .hero h1 {
    font-size: 1.6rem;
  }
}


/* === ABOUT US GRID === */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 80px;
  margin-top: 60px;
}

.about-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.about-content h2 {
  margin-bottom: 20px;
  font-size: 2rem;
  color: #003344;
}

.about-content p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #555;
}

/* === TEAM GRID === */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.team-card {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.team-card img {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  margin-bottom: 15px;
  object-fit: cover;
}

.team-card h4 {
  margin-bottom: 5px;
  font-size: 1.2rem;
  color: #003344;
}

.team-card p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 10px;
}

.team-social a {
  margin: 0 5px;
  color: #006699;
  transition: color 0.3s;
}

.team-social a:hover {
  color: #004466;
}

.team1, .team2 , .team3 , .team4 , .team5 , .team6
, .team7, .team8 , .team9 , .team10 , .team11{
  background: linear-gradient(#fc6c4f,#66d2e0);
}


/* === HISTORY GRID === */
.history-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}

.history-content h2 {
  font-size: 2rem;
  color: #003344;
  margin-bottom: 20px;
}

.history-content p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
}

.history-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* === MISSION & VISION CARDS === */

#mission-vision{
  background: #c0ca30;
  border-radius: 10px;
}

.mv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.mv-card {
  background: #f1f9ff;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 3px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.mv-card:hover {
  transform: translateY(-5px);
}

.mv-card i {
  color: #006699;
  margin-bottom: 10px;
}

.mv1{
  background: #f2a900;
}


.mv2{
  background: #68b042;
}

/* === ANIMATIONS === */
.animate-fade,
.animate-zoom,
.animate-up {
  opacity: 0;
}

.animate-fade.visible { animation: fadeIn 1.5s forwards; }
.animate-zoom.visible { animation: zoomIn 1s forwards; }
.animate-up.visible { animation: fadeUp 1.5s forwards; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes zoomIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes fadeUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* === RESPONSIVENESS === */
@media (max-width: 900px) {
  .about-grid, .history-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-image, .history-image {
    order: -1; /* Image on top for mobile */
  }
  .team-card img {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 600px) {
  section {
    padding: 40px 5%;
  }
  h2 {
    font-size: 1.6rem;
  }
  p {
    font-size: 1rem;
  }
}



/* === CORE VALUES GRID === */
#core-values{
  background:  #ff3546;;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 25px;
  margin-top: 30px;
  cursor: pointer;
}

.value-card {
  background: #f1f9ff;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.value-card:hover {
  background-color: #006699;
  color: #fff;
  transform: translateY(-5px);
}

.value-card h4 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.value-card p {
  font-size: 0.9rem;
  color: #333;
}

.value-card:hover p {
  color: #fff;
}

/* === RESPONSIVENESS FIX === */
@media (max-width: 768px) {
  .values-grid {
    grid-template-columns: 1fr; /* Make it one column on mobile */
  }
}



/* OUR PROGRAMMES */

#our-programmes .container h2{
  margin-top: 20px;
}
.programme {
  display: flex;
  align-items: center;
  gap: 40px;
  margin: 20px 0;
  
}

.programme.reverse {
  flex-direction: row-reverse;
}

.programme-image {
  position: relative;
}

.programme-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.programme-image img:hover {
  transform: scale(1.05);
}

.programme-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(255, 204, 0, 0.9);
  color: #003344;
  padding: 10px;
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.programme-badge:hover {
  transform: scale(1.2);
}

.programme-content {
  max-width: 500px;
}

.programme-content h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #003344;
}

.programme-content p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #555;
}

#mentalhealth{
  background: #fc6c4f;
  border-radius: 20px;
}
#support{
  background: #66d2e0;
  border-radius: 20px;
}
#study{
  background: #c833a5;
  border-radius: 20px;
}

/* Animations */
.animate-zoom {
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.8s ease;
}

.animate-fade {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}

.animate-zoom.visible,
.animate-fade.visible {
  opacity: 1;
  transform: none;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .programme, .programme.reverse {
    flex-direction: column;
    text-align: center;
  }

  .programme-image img {
    max-width: 100%;
  }

  .programme-badge {
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
  }
}



