/* About Page Optimized Styles */

:root {
  --primary-navy: #0a1849;
  --secondary-navy: #1a2a5e;
  --primary-gold: #cc9933;
  --secondary-gold: #f4d03f;
  --text-light: #ffffff;
  --text-dark: #333333;
  --text-muted: #6c757d;
  --bg-light: #f8f9fa;
  --bg-dark: #0a1849;
  --transition: all 0.3s ease;
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 6px 12px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 15px 30px rgba(0, 0, 0, 0.2);
  --border-radius-sm: 5px;
  --border-radius-md: 10px;
  --border-radius-lg: 20px;
  --border-radius-xl: 30px;
}

/* Main Container */
.about-page {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
}

body {
  padding-top: 0; /* Adjust based on your breadcrumbs height */
}

.breadcrumbs-banner.scrolled {
  padding: 40px 0;
}

/* Modern Breadcrumbs - ENHANCED */
.breadcrumbs-banner {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  width: 100%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: padding 0.3s ease;
}

.breadcrumbs-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/images/pattern-dots.svg');
  opacity: 0.1;
}

.breadcrumbs-banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(90deg, var(--primary-gold) 0%, var(--secondary-gold) 100%);
}

.breadcrumbs-banner h1 {
  color: var(--primary-gold);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.breadcrumb {
  background: rgba(255, 255, 255, 0.1);
  display: inline-flex;
  padding: 10px 20px;
  margin: 0;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-sm);
}

.breadcrumb-item a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
  font-weight: 500;
}

.breadcrumb-item.active a {
  color: var(--primary-gold);
  font-weight: 600;
}

.breadcrumb-item a:hover {
  color: var(--primary-gold);
  text-decoration: none;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: '→';
  color: rgba(255, 255, 255, 0.5);
  margin: 0 10px;
}

/* Hero Section */
.about-hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%);
  padding: 100px 0 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.about-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/images/pattern-dots.svg');
  opacity: 0.1;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  background: linear-gradient(135deg, var(--primary-gold) 0%, #b88a2c 100%);
  color: white;
  padding: 8px 20px;
  border-radius: var(--border-radius-xl);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
  display: inline-block;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-light);
  line-height: 1.2;
}

.hero-text {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.hero-btn {
  display: inline-block;
  padding: 12px 28px;
  font-weight: 600;
  font-size: 16px;
  border-radius: var(--border-radius-xl);
  background-color: var(--primary-gold);
  border: 2px solid var(--primary-gold);
  color: white;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.hero-btn:hover {
  background-color: #b78829;
  border-color: #b78829;
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.hero-btn-outline {
  display: inline-block;
  background-color: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 12px 28px;
  font-weight: 600;
  font-size: 16px;
  border-radius: var(--border-radius-xl);
  text-decoration: none;
  transition: var(--transition);
}

.hero-btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
}

/* Impact Section - UPDATED LAYOUT */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* Section Styling */
.section {
  padding: 100px 0;
  position: relative;
}

.section-alt {
  background-color: var(--bg-light);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  background: linear-gradient(135deg, var(--primary-gold) 0%, #b88a2c 100%);
  color: white;
  padding: 8px 20px;
  border-radius: var(--border-radius-xl);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
  display: inline-block;
  margin-bottom: 15px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 15px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
}

/* About Content Cards */
.content-card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  padding: 40px;
  margin-bottom: 30px;
  transition: var(--transition);
}

.content-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Mission & Vision */
.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.mission-card, .vision-card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
}

.mission-card:hover, .vision-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 2rem;
  color: white;
  box-shadow: var(--shadow-sm);
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 15px;
}

.card-text {
  color: var(--text-muted);
  line-height: 1.6;
}

/* Core Values - UPDATED LAYOUT */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.value-card:nth-child(4),
.value-card:nth-child(5) {
  grid-column: span 1.5;
}

@media (max-width: 992px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .value-card:nth-child(4),
  .value-card:nth-child(5) {
    grid-column: span 1;
  }
}

@media (max-width: 576px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

.value-card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  padding: 30px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.value-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-navy), var(--secondary-navy));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  color: white;
  box-shadow: var(--shadow-sm);
}

.value-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 15px;
}

.value-text {
  color: var(--text-muted);
  line-height: 1.6;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 40px auto 0;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary-gold), var(--secondary-navy));
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
  display: flex;
  justify-content: flex-end;
  padding-right: 50%;
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: 50%;
}

.timeline-content {
  background-color: white;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  padding: 25px;
  width: 80%;
  position: relative;
  transition: var(--transition);
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.timeline-year {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 10px;
}

.timeline-text {
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.timeline-dot {
  position: absolute;
  top: 20px;
  left: 50%;
  width: 20px;
  height: 20px;
  background: var(--primary-gold);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: var(--shadow-sm);
  z-index: 1;
}

/* Statistics Section */
.stats-section {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  color: white;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/images/pattern-dots.svg');
  opacity: 0.1;
}

/* Stats grid styles are defined above */

.stat-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius-lg);
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(204, 153, 51, 0.5);
}

.stat-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 2rem;
  color: white;
  box-shadow: 0 10px 30px rgba(204, 153, 51, 0.3);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
  display: block;
}

.stat-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Features Grid - FIXED ICON SHAPE */
.feature-card .value-icon {
  min-width: 70px;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-navy), var(--secondary-navy));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  font-size: 1.8rem;
  color: white;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature-card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  padding: 30px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .timeline::before {
    left: 30px;
  }
  
  .timeline-item,
  .timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 80px;
  }
  
  .timeline-dot {
    left: 30px;
  }
  
  .timeline-content {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .section {
    padding: 70px 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.8rem;
  }
  
  .section {
    padding: 50px 0;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .card-icon,
  .value-icon,
  .stat-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .feature-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}