/* Navbar */

.logo-image {
  /* width: 40px; */
  height: 50px;
  /* animation: pulse 2s infinite; */
}
.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
nav {
  background: rgba(255, 255, 255, 0.95);
  padding: 1rem 5%;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  position: fixed;
  width: 100%;
  z-index: 1000;
}

@media (max-width: 768px) {
  .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    gap: 2rem;
    align-items: center;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    flex-direction: column;
    text-align: center;
    backdrop-filter: blur(5px);
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    padding-top: 6rem;
  }
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background: var(--primary-color);
  transition: all 0.3s ease;
}

.nav-links a:hover::after {
  width: 80%;
  left: 10%;
}
.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: #1b1b1b;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  color: #40e0d0;
  transform: scale(1.05);
}

.dropdown {
  display: flex;
  align-items: center;
}

.dropdown-toggle {
  padding: 0.5rem 1rem;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background: white;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  top: 100%;
  left: 0;
  min-width: 150px;
}

@media (max-width: 768px) {
  .dropdown-menu {
    position: static;
    display: none;
    width: 100%;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }
}
.dropdown-menu a {
  display: block;
  padding: 10px;
  color: black;
  text-decoration: none;
}

.dropdown-menu a:hover {
  background: #f4f4f4;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--dark-color);
  margin: 2px 0;
  transition: all 0.3s ease;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    padding: 2rem;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a,
  .dropdown-toggle {
    width: 100%;
    text-align: center;
  }

  .dropdown {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .dropdown-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    margin-top: 0.5rem;
    display: none;
    background: transparent;
  }

  .dropdown-menu a {
    text-align: center;
    padding: 0.75rem;
  }

  .dropdown.active .dropdown-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Hamburger animation when active */
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

/* clioent logo */

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.client-logos {
  padding: 4rem 5%;
  background: var(--light-color);
  overflow: hidden;
}

.logo-track {
  display: flex;
  animation: scroll 25s linear infinite;
  gap: 4rem;
}
.logo-track:hover {
  animation-play-state: paused;
}

.logo-item {
  flex: 0 0 auto;
  width: 150px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-item img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
.client-logos h2 {
  margin-bottom: 2rem; /* Ensure space below heading */
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .client-logos h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }

  .logo-track {
    display: flex;
    animation: scroll 15s linear infinite;
    gap: 2rem;
  }
  nav {
    position: absolute !important;
  }
  .about-us {
    position: relative !important;
  }
}

.timeline-section {
  padding: 6rem 5%;
  background: var(--background-light);
  position: relative;
}

.timeline {
  max-width: 1000px;
  margin: 4rem auto;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  width: 4px;
  height: 100%;
  background: var(--primary-color);
  left: 50%;
  transform: translateX(-50%);
}

.timeline-item {
  width: 50%;
  padding: 2rem;
  position: relative;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-content {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  position: relative;
}

.timeline-content::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  border: 4px solid white;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-content::after {
  right: -47px;
}

.timeline-item:nth-child(even) .timeline-content::after {
  left: -46px;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .timeline::before {
    left: 31px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 80px;
    padding-right: 1rem;
  }

  .timeline-item:nth-child(odd) {
    text-align: left;
  }

  .timeline-item:nth-child(even) {
    left: 0;
  }

  .timeline-item:nth-child(odd) .timeline-content::after,
  .timeline-item:nth-child(even) .timeline-content::after {
    left: -60px;
  }
}

/* footer_style */

footer {
  background: #243447;
  color: #ccc;
  padding: 1rem 2%;
  text-align: center;
  font-size: 0.9rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  align-items: center;
  flex-wrap: wrap;
}

.copyright {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Testimonials Section */
.testimonials {
  padding: 6rem 5%;
  background: #f9f9f9;
  text-align: center;
}

.testimonials .section-title {
  font-size: 2rem;
  color: #2c3e50;
  position: relative;
  display: inline-block;
  margin-bottom: 3rem;
}

.testimonials .section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #40e0d0;
  margin: 0.8rem auto 0;
  border-radius: 2px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.testimonial-text {
  font-style: italic;
  color: #555;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.testimonial-author strong {
  color: #2c3e50;
  font-weight: 600;
}

.testimonial-author span {
  font-size: 0.9rem;
  color: #777;
}
