/* 
 * ABOUT PAGE - Complete Green/Teal Theme
 * All sections with updated color scheme
 */

:root {
  /* Primary Color Palette (Teal/Green) */
  --primary-50: #f0fdf9;
  --primary-100: #ccfbf1;
  --primary-200: #99f6e4;
  --primary-300: #5eead4;
  --primary-400: #2dd4bf;
  --primary-500: #14b8a6;
  --primary-600: #0d9488;
  --primary-700: #0f766e;
  --primary-800: #115e59;
  --primary-900: #134e4a;

  /* Accent Colors */
  --accent-50: #fff7ed;
  --accent-100: #ffedd5;
  --accent-200: #fed7aa;
  --accent-300: #fdba74;
  --accent-400: #fb923c;
  --accent-500: #f97316;
  --accent-600: #ea580c;
  
  /* Secondary Colors */
  --secondary-300: #fcd34d;
  --secondary-400: #fbbf24;
  
  /* Neutral Colors */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  
  --white: #ffffff;
  --black: #000000;
  
  /* Border Radius */
  --border-radius-sm: 0.25rem;
  --border-radius: 0.5rem;
  --border-radius-lg: 0.75rem;
  --border-radius-xl: 1rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  
  /* Transitions */
  --transition: all 0.3s ease;
}

/* ===== Breadcrumb Navigation ===== */
.breadcrumb-section {
  background: linear-gradient(90deg, var(--primary-700) 0%, var(--primary-600) 100%);
  padding: 1.5rem 0;
  color: var(--white);
  box-shadow: var(--shadow);
}

.breadcrumb {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
}

.breadcrumb-link {
  color: var(--white);
  transition: var(--transition);
  opacity: 0.8;
  text-decoration: none;
}

.breadcrumb-link:hover {
  opacity: 1;
  color: var(--primary-200);
  text-decoration: underline;
}

.breadcrumb-separator {
  margin: 0 0.75rem;
  color: var(--white);
  opacity: 0.6;
}

.breadcrumb-current {
  color: var(--white);
  font-weight: 600;
}

/* ===== About Hero Section ===== */
.about-hero-section {
  background-color: var(--primary-50);
  background-image: linear-gradient(135deg, var(--primary-50) 0%, var(--white) 100%);
  color: var(--gray-800);
  padding: 4rem 0;
  text-align: center;
  border-bottom: 1px solid var(--primary-100);
  position: relative;
  overflow: hidden;
}

.about-hero-section::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-color: rgba(20, 184, 166, 0.05);
  z-index: 0;
}

.about-hero-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background-color: rgba(20, 184, 166, 0.05);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.about-title {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--primary-700);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-subtitle {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--primary-700);
  line-height: 1.2;
  position: relative;
  display: inline-block;
}

.about-subtitle::after {
  content: '';
  position: absolute;
  bottom: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-400);
  border-radius: 2px;
}

.about-description {
  max-width: 800px;
  margin: 1.5rem auto 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-600);
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .about-subtitle {
    font-size: 3.5rem;
  }
  
  .about-description {
    font-size: 1.125rem;
  }
}

@media (max-width: 480px) {
  .about-subtitle {
    font-size: 1.75rem;
  }
  
  .about-description {
    font-size: 0.9375rem;
    line-height: 1.5;
  }
}

/* ===== Team Image Section ===== */
.team-image-section {
  padding: 3rem 0;
  background-color: var(--white);
}

.team-image-container {
  max-width: 1200px;
  margin: 0 auto;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.team-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.8s ease;
}

.team-image-container:hover .team-image {
  transform: scale(1.02);
}

.team-image-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 70%, rgba(0,0,0,0.3) 100%);
  pointer-events: none;
}

/* ===== About Content Section ===== */
.about-content-section {
  background-color: var(--primary-50);
  padding: 4rem 0;
}

.about-content-wrapper {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2.5rem;
  padding: 2rem;
  position: relative;
  border-bottom: 1px solid var(--gray-200);
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

.rating-bubble {
  background-color: var(--white);
  border: 2px solid var(--primary-500);
  border-radius: var(--border-radius);
  padding: 1rem;
  margin-right: 1.5rem;
  position: relative;
  flex-shrink: 0;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.rating-bubble:hover {
  transform: translateY(-5px);
}

.rating-bubble:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 20px;
  width: 20px;
  height: 20px;
  background-color: var(--white);
  border-right: 2px solid var(--primary-500);
  border-bottom: 2px solid var(--primary-500);
  transform: rotate(45deg);
}

.stars {
  display: flex;
  gap: 0.25rem;
}

.stars i {
  color: var(--accent-500);
  font-size: 1.25rem;
}

.about-content {
  font-size: 1.125rem;
  color: var(--gray-700);
  margin: 0;
  line-height: 1.6;
}

.about-text {
  margin-bottom: 3rem;
  padding: 0 1.5rem;
}

.about-text p {
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  color: var(--gray-700);
  line-height: 1.6;
}

/* ===== Stats Cards ===== */
.stats-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
  padding: 0 1.5rem;
}

@media (min-width: 640px) {
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .stats-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat-card {
  background: linear-gradient(135deg, var(--white) 0%, var(--primary-50) 100%);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid var(--primary-100);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: rgba(20, 184, 166, 0.05);
  z-index: 0;
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-600);
  margin-bottom: 0.75rem;
  line-height: 1;
  position: relative;
  z-index: 1;
}

.stat-text {
  color: var(--gray-700);
  font-weight: 500;
  line-height: 1.4;
  position: relative;
  z-index: 1;
}

/* ===== CTA Button ===== */
.cta-container {
  display: flex;
  justify-content: center;
  margin: 2.5rem 0;
}

.cta-button {
  background: linear-gradient(90deg, var(--primary-600) 0%, var(--primary-700) 100%);
  color: var(--white);
  font-weight: 600;
  padding: 1rem 2.5rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.cta-button:hover {
  background: linear-gradient(90deg, var(--primary-700) 0%, var(--primary-800) 100%);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

.cta-button i {
  margin-left: 0.75rem;
  transition: transform 0.3s ease;
}

.cta-button:hover i {
  transform: translateX(5px);
}

/* ===== Team Section ===== */
.team-section {
  padding: 5rem 0;
  background-color: var(--white);
  text-align: center;
  position: relative;
}

.team-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-200), transparent);
}

.section-subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--primary-700);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-400);
  border-radius: 2px;
}

.team-description {
  max-width: 800px;
  margin: 1.5rem auto 3.5rem;
  color: var(--gray-700);
  font-size: 1.125rem;
  line-height: 1.6;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
  opacity: 0;
}

.team-member:hover {
  transform: translateY(-8px);
}

.team-member-image {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 3px solid transparent;
}

.team-member:hover .team-member-image {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-300);
}

.team-member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-member:hover .team-member-image img {
  transform: scale(1.08);
}

.team-member-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-600);
  margin-bottom: 0.25rem;
  transition: color 0.3s ease;
}

.team-member:hover .team-member-name {
  color: var(--accent-500);
}

.team-member-title {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-bottom: 0.75rem;
  font-weight: 500;
  position: relative;
  padding-bottom: 0.75rem;
}

.team-member-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background-color: var(--primary-300);
  border-radius: 1px;
}

.team-member-bio {
  font-size: 0.875rem;
  color: var(--gray-700);
  text-align: center;
  max-width: 250px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ===== Values Section ===== */
.values-section {
  padding: 5rem 0;
  background-color: var(--primary-50);
  text-align: center;
  position: relative;
}

.values-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-200), transparent);
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 640px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.value-card {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem 1.5rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.value-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--white);
  font-size: 1.75rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.value-card:hover .value-icon {
  transform: scale(1.1);
}

.value-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-700);
  margin-bottom: 1rem;
}

.value-description {
  font-size: 0.9375rem;
  color: var(--gray-700);
  line-height: 1.6;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 767px) {
  .about-content-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
  }
  
  .rating-bubble {
    margin-right: 0;
    margin-bottom: 2rem;
  }
  
  .rating-bubble:after {
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
  }
  
  .team-member {
    max-width: 300px;
    margin: 0 auto;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .value-card {
    max-width: 300px;
    margin: 0 auto;
  }
}

/* ===== Animations ===== */
.animate-in {
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Staggered animation for team members */
.team-member:nth-child(1) { animation: fadeInUp 0.6s ease forwards 0.1s; }
.team-member:nth-child(2) { animation: fadeInUp 0.6s ease forwards 0.2s; }
.team-member:nth-child(3) { animation: fadeInUp 0.6s ease forwards 0.3s; }
.team-member:nth-child(4) { animation: fadeInUp 0.6s ease forwards 0.4s; }
.team-member:nth-child(5) { animation: fadeInUp 0.6s ease forwards 0.5s; }

/* Value cards animation */
.value-card {
  opacity: 0;
}

.value-card:nth-child(1) { animation: fadeInUp 0.6s ease forwards 0.1s; }
.value-card:nth-child(2) { animation: fadeInUp 0.6s ease forwards 0.2s; }
.value-card:nth-child(3) { animation: fadeInUp 0.6s ease forwards 0.3s; }
.value-card:nth-child(4) { animation: fadeInUp 0.6s ease forwards 0.4s; }

/* Pulse animation for CTA button */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(13, 148, 136, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(13, 148, 136, 0);
  }
}

.cta-button {
  animation: pulse 2s infinite;
}

.cta-button:hover {
  animation: none;
}