/* Hero Section */

.hero-stats {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2rem);
  flex-wrap: wrap;
}

.stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.stat .icon {
  font-size: 1.25rem;
  color: var(--surface-100);
}

.stat span {
  color: var(--surface-100);
}

@media (max-width: 768px) {
  .hero-stats {
      flex-direction: column;
      align-items: center;
  }

  .stat {
      width: 100%;
      justify-content: center;
  }
}

.about-page {
  background: var(--bg-oxford-blue-2);
}

.about-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section-header {
  max-width: 800px;
  margin: 0 auto 4rem;
  text-align: center;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.section-header h2 .title-span {
  background: var(--linear-gradient-main); 
  position: relative;
   -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent; 
   /* animation: changeBackgroundColor 5s infinite ease;  */
}

.section-header h2 .title-span::after {
  content: '';
  background: url(../assets/css/images/needle-underline.svg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  width: 100%;
  bottom: -12px;
  left: -0.5rem;
  right: 5px;
  height: 0.75rem; 
  z-index: 1;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--surface-100);
}

/* Header */
.header {
  z-index: 1;
}

.logo {
  display: flex;
  align-items: center;
}

.logo svg {
  color: var(--primary);
}

.logo span {
  margin-left: 0.5rem;
  font-weight: 700;
  font-size: 1.25rem;
}

.nav {
  display: none;
}

.nav a {
  margin-left: 2rem;
  color: var(--gray-600);
  transition: color 0.3s;
}

.nav a:hover {
  color: var(--primary);
}

.nav a.active {
  color: var(--primary);
  font-weight: 500;
}

.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-700);
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }
  
  .menu-toggle {
    display: none;
  }
}

/* Hero Section */
.hero {
  background: linear-gradient(to right, var(--primary), var(--secondary));
  color: var(--white);
  padding: 5rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  background-color: var(--white);
  color: var(--primary);
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-primary:hover {
  background-color: var(--gray-100);
}

.btn-primary svg {
  margin-left: 0.5rem;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }
}

/* Mission Section */
.mission {
  padding: 5rem 0;
}

.values {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.value-card {
  background-color: var(--bg-oxford-blue);
  padding: 1.6rem;
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 15px 25px, rgba(0, 0, 0, 0.05) 0px 5px 10px;
  text-align: center;
}

.icon-circle {
  background-image: url(../assets/images/blob/splash_1.svg);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.3rem;
}

.icon-circle svg {
  color: var(--primary-190);
}

.value-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--primary-190)
}

.value-card p {
  color: var(--surface-100);
}

@media (min-width: 768px) {
  .values {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Team Section */
.team {
  padding: 5rem 0;
  background-color: var(--gray-50);
}

.team-members {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.team-card {
  background-color: var(--white);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.team-card img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
}

.team-info {
  padding: 1.5rem;
}

.team-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.team-info p {
  color: var(--primary);
}

@media (min-width: 768px) {
  .team-members {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .team-members {
    grid-template-columns: repeat(4, 1fr);
  }
}

.about-page .sambz-team {
  background-color: var(  --bg-oxford-blue);
  padding-top: 80px;
  margin-top: 50px;
}

/* Timeline Section */
.timeline-section {
  padding: 5rem 0;
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  width: 4px;
  background-color: var(--primary-190);
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  width: 100%;
}

.timeline-content {
  position: relative;
  width: calc(50% - 2rem);
  background: var(--bg-oxford-blue);
  box-shadow: rgba(0, 0, 0, 0.15) 0px 15px 25px, rgba(0, 0, 0, 0.05) 0px 5px 10px;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.timeline-item .timeline-content {
  float: left;
  text-align: right;
}

.timeline-item.right .timeline-content {
  float: right;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  width: 25px;
  height: 25px;
  background-color: var(--primary-190);
  border-radius: 50%;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid rgba(22, 21, 21, 0.19);
  z-index: 1;
}

.year {
  display: block;
  font-weight: 700;
  color: var(--primary-190);
  margin-bottom: 0.25rem;
}

.timeline-content h3 {
  margin-bottom: 0.5rem;
  font-size: var(--font-h5);
  color: var(--surface-100);
  font-family: "Inter", sans-serif !important;
  opacity: .8;
}

.timeline-content p {
  color: var(--surface-100);
}

.timeline-item::after {
  content: '';
  display: table;
  clear: both;
}

@media (max-width: 768px) {
  .timeline-line {
    left: 2rem;
  }
  
  .timeline-content {
    width: calc(100% - 4rem);
    float: right;
    text-align: left;
  }
  
  .timeline-item .timeline-content,
  .timeline-item.right .timeline-content {
    float: right;
    text-align: left;
  }
  
  .timeline-dot {
    left: 2rem;
  }
}

/* Stats Section */
.stats {
  background-color: var(--primary-200);
  color: var(--white);
  padding: 5rem 0;
}

.stats .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  text-align: center;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 768px) {
  .stats .container {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* CTA Section */
.cta {
  padding: 5rem 0;
  text-align: center;
}

.cta h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.cta p {
  font-size: 1.125rem;
  color: var(--surface-100);
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cta .btn-primary {
  background-color: var(--primary-190);
  color: var(--white);
}

.cta .btn-primary:hover {
  background-color: var(--primary-dark);
  border: var(--border-main);
  color: var(--surface-100);
}



/* Animation for timeline */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.timeline-item {
  opacity: 0;
  animation: fadeIn 0.6s ease-out forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.3s; }
.timeline-item:nth-child(3) { animation-delay: 0.5s; }
.timeline-item:nth-child(4) { animation-delay: 0.7s; }
.timeline-item:nth-child(5) { animation-delay: 0.9s; }
.timeline-item:nth-child(6) { animation-delay: 1.1s; }