/* projects.css */

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #f9f9f9;
  color: #333;
}

header {
  background-color: #333;
  padding: 10px 5%;
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 70px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 15px;
}

nav ul li a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
  color: #f15a22;
}

.hero {
  background: url('../images/pp.jpg') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 100px 20px;
  background-blend-mode: overlay;
  background-color: rgba(0, 0, 0, 0.6);
}

.hero h1 {
  font-size: 2.5rem;
  animation: fadeInDown 1s ease;
}
.hero h1 span {
    color: #ff4b2b;
}

.hero p {
  font-size: 1.2rem;
  margin-top: 10px;
  animation: fadeInUp 1s ease;
}

.logo-gallery {
  background: #f9f9f9;
  padding: 60px 20px;
  text-align: center;
}

.logo-gallery h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #d92323;
}

.logo-slider {
  overflow: hidden;
  position: relative;
}

.logos-track {
  display: flex;
  width: max-content;
  animation: scrollLoop 15s linear infinite;
}

.logo-slide {
  display: flex;
  align-items: center;
  gap: 5px;
}

.logo-slide img {
  height: 60px;
  width: auto;
  margin: 0 30px; /* Ensures equal spacing between logos */
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.logo-slide img:hover {
  transform: scale(1.1);
}

@keyframes scrollLoop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .logo-slide {
    gap: 30px;
  }
  .logo-slide img {
    height: 40px;
  }
}


footer {
  background-color: #444;
  color: white;
  text-align: center;
  padding: 15px;
  font-size: 14px;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .logos {
    gap: 20px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
