/* Updated About Page CSS with improved responsiveness */

* {
  font-family: "Outfit", sans-serif;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary-color: rgb(198, 4, 4);
  --secondary-color: #f9f9f9;
  --bodyColor: #f8f6f4;
  --boxColor: #eff0ef;
  --dark-brand-color: #202020;
  --border-radius: 5px;
}

.about-section {
  padding: 1rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.about-label {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.about-heading {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: #000;
  margin-bottom: 1.25rem;
}

.about-heading .year {
  color: var(--primary-color);
}

.about-text,.about-text-responsive{
  font-size: 1rem;
  line-height: 1.7;
  color: #5e5e5e;
}
.about-text-responsive{
  display: none;
}
.illustration {
  max-width: 100%;
  height: auto;
}

.experience-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.container2 {
  width: 85%;
  max-width: 1300px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.content {
  width: 50%;
}


/* Progress Bars */
.progress-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.progress-item {
  font-size: 14px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
}

.progress-item span {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}

.progress-bar {
  height: 8px;
  background-color: #ddd;
  border-radius: 4px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background-color: var(--primary-color);
  border-radius: 4px;
}

/* Progress Widths */
.full { width: 100%; }
.eighty { width: 80%; }
.ninetyfive { width: 95%; }

.image-container {
  width: 45%;
  display: flex;
  justify-content: center;
}

.image-container img {
  width: 100%;
  max-width: 1000px;
}

/* Responsive adjustments */
@media screen and (max-width: 1024px) {
  .container2 {
      margin-top: -30%;
  }
  .content, .image-container {
      width: 100%;
  }
  .image-container {
      margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .about-heading {
      font-size: 2rem;
  }
  .about-text {
      display: none;
  }
}

@media (max-width: 480px) {
  .about-heading {
      font-size: 1.5rem;
  }
  .about-text {
      display: none;
  }
  .about-text-responsive{
    display: block;
    font-size: 0.85rem;
  }
}


.leadership-section {
  padding: 50px 0;
  background: var(--boxColor);
  
}

.section-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 25px;
  color: #1a1a1a;
}

.section-subtitle2{
  font-size: 15px;
  color: #666;
  max-width: 850px;
  margin: 0 auto 60px;
}
.section-sub-title1 {
  color:#ababab;
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  line-height: 1.43;
  font-weight: bold;
}
.team-member {
  position: relative;
  margin-bottom: 30px;
  transition: all 0.3s;
  border-radius: 10px;
  overflow: hidden;
  background: white;

}

.team-member:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.member-image {
  position: relative;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
}

.member-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: all 0.3s;
}

.member-info {
  padding: 25px;
  text-align: center;
}

.member-name {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 5px;
}

.member-position {
  color: #666;
  font-size: 14px;
  margin-bottom: 0;
}

.social-links {
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  transition: all 0.3s;
  opacity: 0;
}

.team-member:hover .social-links {
  bottom: 20px;
  opacity: 1;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 5px;
  color: #333;
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: all 0.3s;
}

.social-links a:hover {
  background: var(--primary-color);
  color: #fff;
}