/* about.css */

/* Header Section (Hero) */
header[role="banner"] {
  position: relative;
  min-height: 75vh;
  max-width: 90%;
  margin: 0 auto;
  margin-top: 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: url('header images/about.png') no-repeat center/cover;
  color: var(--light);
  padding: 4rem 2rem;
  border-radius: 30px;
  overflow: hidden;
  text-align: center;
  z-index: 1;
  box-shadow: var(--shadow-dark);
}

.header-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

/* Header Content Styling */
.header-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 3rem 1.5rem;
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  backdrop-filter: blur(5px);
  box-shadow: var(--shadow-light);
  animation: fadeInUp 1.5s ease-in-out;
}

.header-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.4);
  animation: pulse 2s infinite alternate;
}

@keyframes pulse {
  from { transform: scale(1); }
  to { transform: scale(1.03); }
}

.typewriter {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  margin: 0.5rem 0;
  color: var(--accent);
}

.header-content p {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Call-to-Action Buttons */
.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--dark);
  background: var(--accent);
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: var(--shadow-light);
}

.cta-button:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-dark);
}

.cta-button:active {
  transform: translateY(0);
}

/* Journey Timeline */
.journey-timeline {
  max-width: 800px;
  margin: 5rem auto;
  padding: 0 3rem;
  position: relative;
}

.journey-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--tertiary), var(--secondary));
  z-index: -1;
}

.journey-item {
  background: var(--light);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: var(--shadow-light);
  margin: 2rem 0;
  position: relative;
  width: 45%;
  transition: var(--transition-default);
}

.journey-item:nth-child(odd) {
  margin-left: 0;
  margin-right: auto;
}

.journey-item:nth-child(even) {
  margin-left: auto;
  margin-right: 0;
}

.journey-item::before {
  content: '';
  position: absolute;
  top: 50%;
  width: 20px;
  height: 20px;
  background: var(--tertiary);
  border-radius: 50%;
  border: 4px solid var(--light);
  z-index: 1;
}

.journey-item:nth-child(odd)::before {
  right: -40px;
}

.journey-item:nth-child(even)::before {
  left: -40px;
}

.journey-item h3 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
  transition: var(--transition-default);
}

.journey-item p {
  font-size: 1.15rem;
  color: var(--dark);
  transition: var(--transition-default);
}

.journey-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-dark);
}

.journey-item:hover h3,
.journey-item:hover p {
  color: var(--accent);
}

/* Learn more button */
.learn-more {
  max-width: 250px;
}

/* Values List Styling */
.values-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.values-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--dark);
  background: var(--light);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.values-list li i {
  font-size: 1.5rem;
  color: var(--accent);
  transition: color 0.3s ease;
}

.values-list li:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-dark);
  background: var(--accent-light);
}

.values-list li:hover i {
  color: var(--primary);
}

/* Meet the Team Section */
#meet-the-team {
  padding: 8rem 8%;
  background: linear-gradient(135deg, var(--neutral), var(--light));
  position: relative;
  overflow: hidden;
}

.team-lead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  transition: var(--transition-default);
}

.team-lead-content {
  flex: 1;
  padding: 1rem;
}

.team-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards 0.2s;
}

.position {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--secondary);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards 0.4s;
}

.team-description {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--dark);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards 0.6s;
}

.team-lead-image {
  flex: 0 0 40%;
  max-width: 400px;
}

.team-lead-image img {
  width: 80%;
  height: auto;
  object-fit: cover;
  transition: var(--transition-default);
}

.team-lead-image img:hover {
  transform: scale(1.03);
}

.team-lead:hover {
  transform: translateY(-5px);
}

/* Our Clients */
.clients-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.client-item {
  position: relative;
  width: 100%;
  max-width: 300px;
  height: 150px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
  background: #fff;
}

.client-item:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.clients-note {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  text-align: center;
  margin-top: 2rem;
  color: var(--dark);
}

/* About Content */
.about-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 4rem;
  max-width: 1500px;
  margin: 5rem auto;
  padding: 0 3rem;
  position: relative;
}

.about-text {
  position: relative;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  box-shadow: var(--shadow-light);
}

.about-text::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(78, 205, 196, 0.2), transparent);
  z-index: -1;
}

.about-text p {
  font-size: 1.25rem;
  line-height: 1.9;
}

.about-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: var(--shadow-light);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.about-image:hover img {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.about-gallery {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.about-gallery img {
  width: 250px;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow-light);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.about-gallery img:hover {
  transform: scale(1.1);
  filter: brightness(1.1);
}

/* Responsive Adjustments */
@media (min-width: 768px) {
  .values-list {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }
  .values-list li {
    flex: 1 1 30%;
    min-width: 200px;
  }
}

@media (max-width: 1024px) {
  .about-content,
  .team-lead {
    flex-direction: column;
    gap: 2rem;
  }
  .about-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  /* Header */
  header[role="banner"] {
    min-height: 60vh;
    max-width: 94%;
    margin-top: 4rem;
    padding: 3rem 1rem;
  }
  .header-content {
    padding: 2rem 1rem;
    max-width: 600px;
  }
  .header-content h1 {
    font-size: 2.5rem;
  }
  .typewriter {
    font-size: 1.3rem;
  }
  .header-content p {
    font-size: 1rem;
  }
  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  .cta-button {
    padding: 0.7rem 1.4rem;
    font-size: 1rem;
  }

  /* Journey Timeline */
  .journey-timeline {
    padding: 0 1.5rem;
    margin: 3rem auto;
  }
  .journey-timeline::before {
    left: 30px;
  }
  .journey-item {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 1.5rem;
  }
  .journey-item::before {
    left: -10px;
    right: auto;
  }
  .journey-item h3 {
    font-size: 1.6rem;
  }
  .journey-item p {
    font-size: 1rem;
  }

  /* Values List */
  .values-list {
    padding: 0 1rem;
    margin: 1.5rem 0;
    gap: 1rem;
  }
  .values-list li {
    font-size: 1.1rem;
    padding: 0.8rem 1.2rem;
  }
  .values-list li i {
    font-size: 1.3rem;
  }

  /* Meet the Team */
  #meet-the-team {
    padding: 4rem 4%;
  }
  .team-lead {
    flex-direction: column-reverse;
    text-align: center;
    gap: 2rem;
    padding: 1.5rem;
  }
  .team-lead-image {
    flex: 0 0 100%;
    max-width: 300px;
    margin-bottom: 2rem;
  }
  .team-lead-image img {
    width: 100%;
  }
  .team-name {
    font-size: 2.5rem;
  }
  .position {
    font-size: 1.3rem;
  }
  .team-description {
    font-size: 1.1rem;
  }

  /* Our Clients */
  .clients-container {
    gap: 1.5rem;
  }
  .client-item {
    max-width: 250px;
    height: 130px;
  }
  .clients-note {
    font-size: 1rem;
  }

  /* About Content */
  .about-content {
    padding: 0 1.5rem;
    margin: 3rem auto;
    gap: 2rem;
  }
  .about-text {
    padding: 1.5rem;
  }
  .about-text p {
    font-size: 1.1rem;
  }
  .about-gallery {
    gap: 1.5rem;
  }
  .about-gallery img {
    width: 200px;
    height: 150px;
  }
}

@media (max-width: 480px) {
  /* Header */
  header[role="banner"] {
    min-height: 50vh;
    max-width: 96%;
    margin-top: 3rem;
    padding: 2rem 0.8rem;
  }
  .header-content {
    padding: 1.5rem 0.8rem;
    max-width: 100%;
  }
  .header-content h1 {
    font-size: 2rem;
  }
  .typewriter {
    font-size: 1.1rem;
  }
  .header-content p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }
  .cta-button {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }

  /* Journey Timeline */
  .journey-timeline {
    padding: 0 1rem;
    margin: 2rem auto;
  }
  .journey-item {
    padding: 1rem;
  }
  .journey-item h3 {
    font-size: 1.4rem;
  }
  .journey-item p {
    font-size: 0.9rem;
  }
  .journey-item::before {
    width: 16px;
    height: 16px;
    left: -8px;
  }

  /* Values List */
  .values-list {
    margin: 1rem 0;
    gap: 0.8rem;
  }
  .values-list li {
    font-size: 1rem;
    padding: 0.6rem 1rem;
  }
  .values-list li i {
    font-size: 1.2rem;
  }

  /* Meet the Team */
  #meet-the-team {
    padding: 3rem 3%;
  }
  .team-lead {
    gap: 1.5rem;
    padding: 1rem;
  }
  .team-lead-image {
    max-width: 250px;
  }
  .team-name {
    font-size: 2rem;
  }
  .position {
    font-size: 1.2rem;
  }
  .team-description {
    font-size: 1rem;
  }

  /* Our Clients */
  .client-item {
    max-width: 200px;
    height: 120px;
  }
  .clients-note {
    font-size: 0.9rem;
  }

  /* About Content */
  .about-content {
    padding: 0 1rem;
    margin: 2rem auto;
  }
  .about-text {
    padding: 1rem;
  }
  .about-text p {
    font-size: 1rem;
  }
  .about-gallery img {
    width: 160px;
    height: 120px;
  }
}

/* Animations */
@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}