/* ========================================
   HOMEPAGE.CSS - CLEANED & OPTIMIZED
   Quest Leadership Academy Homepage Styles
   ======================================== */

/* ===== CSS VARIABLES ===== */
:root {
  --primary-blue: #081a42;
  --secondary-blue: #4e75ca;
  --text-dark: #1a1a1a;
  --text-gray: #666;
  --text-light: #999;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --bg-section: #f0f4f8;
}

/* ===== GLOBAL RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

.super_container {
  width: 100%;
  overflow: hidden;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero-section {
  position: relative;
  min-height: 85vh;
  height: 90vh;
  max-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: white;
}

/* Background Image Layer - Optimized for hero sections */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../images/Homepage2-hero-optimized.png?v=20250205');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #081a42;
  z-index: 0;
}

/* Tablet and Desktop - Perfect fill with optimized image */
@media (min-width: 768px) {
  .hero-section {
    min-height: 90vh;
    height: 90vh;
  }
  
  .hero-section::before {
    background-size: cover;
    background-position: center center;
  }
}

/* Large screens - Maintain perfect display */
@media (min-width: 1400px) {
  .hero-section {
    height: 90vh;
  }
  
  .hero-section::before {
    background-size: cover;
    background-position: center center;
  }
}

/* Hero Content - Properly Contained */
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  padding: 195px 20px 60px;
  margin-left: 5%;
  margin-right: auto;
  color: white;
}

.hero-title {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 1.5rem;
  letter-spacing: -0.8px;
  text-shadow: 0 3px 12px rgba(0,0,0,0.5);
}

.hero-subtitle {
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 1.3rem;
  opacity: 0.92;
  max-width: 620px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
}

.btn-hero {
  padding: 12px 24px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  border-radius: 10px;
  transition: all 0.35s ease;
  text-decoration: none;
  background: transparent;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-outline-gold {
  color: #ffffff;
  border: 2px solid #f4c430;
}

.btn-outline-gold:hover {
  background: #f4c430;
  color: #081a42;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(244, 196, 48, 0.35);
}

.btn-outline-white {
  color: #ffffff;
  border: 2px solid #ffffff;
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.18);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255,255,255,0.25);
}

/* ========================================
   PROGRAMS SECTION
   ======================================== */

.section-programs {
  padding: 100px 0;
  background: var(--bg-section);
}

.section-heading {
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.section-text {
  color: var(--text-gray);
  text-align: justify;
}

.btn-learn-more {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-blue);
  text-decoration: none;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-learn-more:hover {
  color: var(--secondary-blue);
  transform: translateX(5px);
}

/* Program card wrapper – background card with blue accents */
.program-card-wrapper {
  padding: 14px;
  border-radius: 16px;
  background: rgba(8, 26, 66, 0.03);
  border-left: 4px solid var(--primary-blue);
  box-shadow: 0 8px 24px rgba(8, 26, 66, 0.06);
  transition: box-shadow 0.3s ease;
  height: 100%;
}

.program-card-wrapper:hover {
  box-shadow: 0 12px 32px rgba(8, 26, 66, 0.1);
  transform: translateY(-4px);
}

.program-card-wrapper:hover .program-card {
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* Inner card hover lift reduced when wrapped so wrapper drives the motion */
.program-card-wrapper .program-card:hover {
  transform: none;
}

/* Inner program card sits inside wrapper */
.program-card-wrapper .program-card {
  height: 100%;
}

/* Program Cards */
.program-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.program-image {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: linear-gradient(135deg, #0A1628 0%, #2C5F5F 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px 12px 0 0;
}

.program-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.program-card:hover .program-image img {
  transform: scale(1.05);
}

.program-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.program-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.program-description {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-gray);
  margin-bottom: 16px;
  flex: 1;
  text-align: justify;
}

.btn-program {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-blue);
  text-decoration: none;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  align-self: flex-start;
}

.btn-program:hover {
  color: var(--secondary-blue);
  transform: translateX(5px);
}

/* Blue Program Card Variant */
.program-card-blue {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
  color: white;
}

.program-card-blue:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(8, 26, 66, 0.3);
}

/* Join Our Community card: image unbound from default card height */
.program-card-blue .program-image {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px 12px 0 0;
  height: 420px;
  min-height: 420px;
}

.program-card-blue .program-image img {
  object-fit: contain;
  object-position: top center;
}

.program-title-blue {
  font-size: 20px;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.program-description-blue {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 16px;
  flex: 1;
}

.btn-program-blue {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  align-self: flex-start;
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 2px;
}

.btn-program-blue:hover {
  color: #fbbf24;
  border-bottom-color: #fbbf24;
  transform: translateX(5px);
}

/* ========================================
   WHY CHOOSE US SECTION
   ======================================== */

.section-why-choose {
  padding: 100px 0 50px;
  background: var(--bg-section);
}

.feature-card {
  text-align: center;
  padding: 40px 25px;
  background: linear-gradient(135deg, rgba(8, 26, 66, 0.95), rgba(78, 117, 202, 0.9));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  box-shadow: 0 8px 32px 0 rgba(8, 26, 66, 0.15);
  color: #ffffff;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 45px rgba(8, 26, 66, 0.3);
  border-color: rgba(255, 255, 255, 0.4);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #ffffff;
  font-size: 32px;
  transition: all 0.4s ease;
  backdrop-filter: blur(5px);
}

.feature-card:hover .feature-icon {
  background: #ffffff;
  color: var(--primary-blue);
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.feature-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.feature-text {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
}

/* ========================================
   OUR COMMUNITY SECTION
   ======================================== */

.section-community {
  padding: 0;
  background: var(--bg-white);
  overflow: hidden;
}

.community-container {
  max-width: 100%;
}

.community-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 600px;
  overflow: visible;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.community-image {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 24px;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset,
    0 8px 32px rgba(8, 26, 66, 0.2);
  position: relative;
  overflow: hidden;
}

/* Glassmorphism overlay effect removed to preserve image sharpness */

/* Decorative edge accent for community image */
.community-image-wrapper::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  pointer-events: none;
  z-index: 2;
  box-shadow: 
    inset 0 0 20px rgba(255, 255, 255, 0.1),
    0 0 40px rgba(8, 26, 66, 0.1);
}

/* Terna & Enanya blocks: remove overlay for sharp photo */
.student-terna-block .community-image-wrapper::after,
.student-enanya-block .community-image-wrapper::after {
  display: none;
}

.community-content {
  padding: 80px 60px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.community-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-blue);
  margin-bottom: 30px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.community-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-gray);
  margin-bottom: 20px;
}

.community-subtitle {
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 16px !important;
}

.community-stats {
  padding-top: 20px;
}

.stat-item {
  text-align: left;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-blue);
  margin-bottom: 5px;
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  margin: 0;
}

.btn-community {
  display: inline-block;
  padding: 14px 32px;
  background: var(--primary-blue);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 4px;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.btn-community:hover {
  background: var(--secondary-blue);
  color: #fff;
  transform: translateX(5px);
}

/* ========================================
   WHO WE ARE SECTION
   ======================================== */

.section-who-we-are {
  background: var(--bg-section);
  border-top: 1px solid rgba(8, 26, 66, 0.08);
}

.who-we-are-image-wrap {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(8, 26, 66, 0.12);
  position: relative;
}

.who-we-are-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.who-we-are-content {
  padding-left: 0;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 992px) {
  .who-we-are-content {
    padding-left: 1.5rem;
  }
}

.who-we-are-heading {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.who-we-are-underline {
  width: 48px;
  height: 4px;
  background: #fbbf24;
  border-radius: 2px;
  margin-bottom: 1.25rem;
}

.who-we-are-text {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-gray);
  margin-bottom: 1.5rem;
  width: 100%;
  max-width: 100%;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}

.section-who-we-are .btn-learn-more {
  margin-top: 0.25rem;
}

@media (max-width: 991px) {
  .section-who-we-are .row {
    flex-direction: column;
  }
  .who-we-are-image-wrap {
    max-width: 400px;
    margin: 0 auto;
  }
}

/* ========================================
   IMPACT & TRANSFORMATION SECTION
   ======================================== */

.section-impact {
  padding: 0;
  background: var(--bg-light);
  overflow: hidden;
}

.impact-container {
  max-width: 100%;
}

.impact-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 600px;
  overflow: visible;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.impact-image {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 24px;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset,
    0 8px 32px rgba(8, 26, 66, 0.2);
  position: relative;
  overflow: hidden;
}

/* Glassmorphism overlay effect removed to preserve image sharpness */

/* Decorative edge accent */
.impact-image-wrapper::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  pointer-events: none;
  z-index: 2;
  box-shadow: 
    inset 0 0 20px rgba(255, 255, 255, 0.1),
    0 0 40px rgba(8, 26, 66, 0.1);
}

.impact-content {
  padding: 80px 60px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg-white);
}

.impact-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-blue);
  margin-bottom: 30px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.impact-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-gray);
  margin-bottom: 20px;
}

.impact-features {
  padding-top: 20px;
}

.impact-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
}

.impact-feature-item i {
  color: var(--secondary-blue);
  font-size: 18px;
  flex-shrink: 0;
}

.impact-feature-item span {
  font-size: 15px;
  color: var(--text-dark);
  font-weight: 500;
}

.btn-impact {
  display: inline-block;
  padding: 14px 32px;
  background: var(--primary-blue);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 4px;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.btn-impact:hover {
  background: var(--secondary-blue);
  color: #fff;
  transform: translateX(5px);
}

/* ========================================
   MEET OUR STUDENTS SECTION
   ======================================== */

.section-meet-students {
  background: var(--bg-section);
  padding: 75px 0 100px;
}

.empowering-box {
  position: relative;
  background: #ffffff;
  /* Subtle radial glow from top center */
  background: radial-gradient(circle at 50% 0%, rgba(251, 191, 36, 0.08) 0%, rgba(255, 255, 255, 0) 60%), #ffffff;
  border-radius: 24px;
  padding: 80px 60px;
  box-shadow: 
    0 20px 60px -10px rgba(8, 26, 66, 0.08), 
    0 10px 20px -5px rgba(8, 26, 66, 0.04),
    0 0 0 1px rgba(8, 26, 66, 0.03); /* Subtle stroke */
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}

/* The Visionary Top Line Gradient */
.empowering-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--primary-blue) 0%, #fbbf24 50%, var(--primary-blue) 100%);
  opacity: 1;
}

.empowering-box:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 30px 70px -10px rgba(8, 26, 66, 0.12), 
    0 15px 30px -5px rgba(8, 26, 66, 0.06),
    0 0 0 1px rgba(251, 191, 36, 0.15); /* Gold hint on hover */
}

.empowering-box .section-heading {
  color: var(--primary-blue);
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .empowering-box {
    padding: 50px 30px;
  }
}

.students-header {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}


.students-title-underline {
  width: 64px;
  height: 4px;
  background: #fbbf24;
  margin: 0 auto;
  border-radius: 2px;
}

.students-intro {
  font-size: 17px;
  line-height: 1.85;
  color: var(--text-gray);
  max-width: 100%;
}

.students-subtitle {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin: 0;
  letter-spacing: -0.02em;
}

.student-card {
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-white);
  box-shadow: 0 4px 24px rgba(8, 26, 66, 0.08);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  border-left: 4px solid var(--primary-blue);
}

.student-card:hover {
  box-shadow: 0 12px 40px rgba(8, 26, 66, 0.14);
  transform: translateY(-2px);
}

.student-card-body {
  padding: 1.75rem 1.5rem;
  min-height: 220px;
}

.student-photo-wrap {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid rgba(8, 26, 66, 0.12);
  box-shadow: 0 8px 24px rgba(8, 26, 66, 0.12);
}

.student-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.student-quote-wrap {
  position: relative;
  min-width: 0;
}

.student-quote-wrap::before {
  content: '"';
  position: absolute;
  top: -0.15em;
  left: -0.02em;
  font-size: 2.5rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: rgba(8, 26, 66, 0.15);
  font-style: normal;
}

.student-quote {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-dark);
  margin: 0;
  padding-left: 1.25rem;
  font-style: italic;
  text-align: justify;
  hyphens: none;
  -webkit-hyphens: none;
  -moz-hyphens: none;
  -ms-hyphens: none;
}

.student-meta {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(8, 26, 66, 0.08);
}

.student-name {
  color: var(--primary-blue);
  font-size: 1rem;
  font-weight: 700;
}

.student-role {
  font-size: 13px;
  color: var(--text-gray);
  margin-top: 0.25rem;
}

.students-cta {
  margin-top: 2.5rem;
}

.btn-students-cta {
  display: inline-block;
  padding: 14px 32px;
  background: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.btn-students-cta:hover {
  background: var(--primary-blue);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(8, 26, 66, 0.25);
}

@media (max-width: 767px) {
  .section-meet-students {
    padding: 50px 0;
  }
  .section-meet-students .students-title {
    font-size: 1.85rem;
  }
  .student-card-body {
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 0;
  }
  .student-quote-wrap::before {
    left: 50%;
    transform: translateX(-50%);
  }
  .student-quote {
    padding-left: 0;
    text-align: center;
  }
  .student-photo-wrap {
    margin: 0 auto;
  }
  .student-meta {
    text-align: center;
  }
}

/* Mobile Responsive */
@media (max-width: 991px) {
  .community-content {
    padding: 60px 30px;
  }
  
  .community-title {
    font-size: 2rem;
  }
  
  .impact-content {
    padding: 60px 30px;
  }
  
  .impact-title {
    font-size: 2rem;
  }
  
    .impact-image-wrapper {
    min-height: 400px;
    padding: 30px;
  }
  
  .impact-image {
    min-height: 340px;
    border-radius: 20px;
  }
  
  .impact-image-wrapper::after {
    border-radius: 20px;
  }
  
  .community-image-wrapper {
    min-height: 400px;
    padding: 30px;
  }
  
  .community-image {
    min-height: 340px;
    border-radius: 20px;
  }
  
  .community-image-wrapper::after {
    border-radius: 20px;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
}

@media (max-width: 767px) {
  .community-content {
    padding: 40px 20px;
  }
  
  .community-title {
    font-size: 1.75rem;
  }
  
  .community-image-wrapper {
    padding: 20px;
    min-height: 300px;
  }
  
  .community-image {
    min-height: 260px;
    border-radius: 16px;
  }
  
  .community-image-wrapper::after {
    border-radius: 16px;
  }
  
  .impact-content {
    padding: 40px 20px;
  }
  
  .impact-title {
    font-size: 1.75rem;
  }
  
  .impact-image-wrapper {
    min-height: 300px;
    padding: 20px;
  }
  
  .impact-image {
    min-height: 260px;
    border-radius: 16px;
  }
  
  .impact-image-wrapper::after {
    border-radius: 16px;
  }
  
  .community-image-wrapper {
    min-height: 300px;
  }
}

/* ========================================
   PARTNERS SECTION
   ======================================== */

.partners-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.brand-carousel .item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-carousel .item img {
  max-height: 200px;
  height: 100px;
  width: auto;
  opacity: 1.2;
  transition: all 0.3s ease;
}

.brand-carousel .item:hover img {
  opacity: 1;
  transform: scale(1.05);
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

/* Desktop (1200px and up) */
@media (max-width: 1199px) {
  .hero-content {
    margin-left: 6%;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .program-image {
    height: 260px;
  }
}

/* Tablet (992px and down) */
@media (max-width: 991px) {
  .hero-section {
    min-height: 50vh;
    max-height: 90px;
  }


  .hero-content {
    margin-left: 5%;
    max-width: 650px;
  }
  
  .hero-title {
    font-size: 1.9rem;
  }
  
  .hero-subtitle {
    font-size: 0.7rem;
  }
  
  .program-image {
    height: 300px;
  }
  
  .program-image img {
    object-fit: contain;
  }
}

/* Mobile (768px and down) */
@media (max-width: 767px) {
  .hero-section {
    min-height: 300px !important;
    height: 300px !important;
  }
  
  .hero-section::before {
    background-size: contain !important;
    min-height: 350px !important;
  }
  
  .hero-content {
    padding-top: 100px;
    padding-bottom: 40px;
  }
  
  .hero-title {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
  }
  
  .hero-subtitle {
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
  }
  
  .btn-hero {
    padding: 10px 24px;
    font-size: 0.8rem;
  }
  
  .hero-cta {
    gap: 0.8rem;
  }
  
  .program-image {
    height: 280px;
  }
}

/* Small Mobile (576px and down) */
@media (max-width: 575px) {
  .hero-section {
    min-height: 250px !important;
    height: 250px !important;
    background-attachment: scroll;
  }
  
  .hero-section::before {
    min-height: 200px !important;
  }
  
  .hero-content {
    margin-left: 0;
    max-width: 100%;
    padding: 110px 20px 40px;
    text-align: center;
  }
  
  .hero-title {
    font-size: 1.6rem;
    margin-bottom: 0.3rem;
  }
  
  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
  }
  
  .btn-hero {
    padding: 10px 20px;
    font-size: 0.85rem;
  }
  
  .hero-cta {
    gap: 0.8rem;
    justify-content: center;
  }
  
  .program-image {
    height: 240px;
  }
  
  .program-image img {
    object-fit: cover;
  }
}

/* Mobile - Optimized display on smaller screens */
@media (max-width: 767px) {
  .hero-section {
    min-height: 70vh;
    height: 80vh;
  }
  
  .hero-section::before {
    background-size: cover;
    background-position: center 30%;
  }
}

/* Extra Small Mobile (399px and down) */
@media (max-width: 399px) {
  .hero-section {
    min-height: 60vh;
    height: 70vh;
  }
}