* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* Main Unified Desktop Header */
.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 30px;
  background: #121212;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

/* Left side: Logo image + text inside rounded container */
.header-left {
  display: flex;
  align-items: center;
  background: #1E1E1E;
  padding: 8px 16px;
  border-radius: 40px;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-link img {
  width: 36px;
  height: auto;
  margin-right: 10px;
}

.logo-link .nav-middle-logo {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #fff;
  text-transform: uppercase;
}

/* Right side: nav links inside curved pill */
.header-right {
  display: flex;
  gap: 20px;
  background: #1E1E1E;
  padding: 10px 24px;
  border-radius: 40px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.header-right a {
  text-decoration: none;
  color: #f0f0f0;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.header-right a:hover {
  color: #007aff;
}

/* Mobile Header */
.mobile-header {
  display: none;
  justify-content: space-between;
  align-items: center;
  background: #121212;
  padding: 14px 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* Mobile logo wrapper with text */
.mobile-logo-link {
  text-decoration: none;
}

.mobile-logo {
  background: #1E1E1E;
  padding: 6px 12px;
  border-radius: 40px;
  display: flex;
  align-items: center;
}
.mobile-logo img {
  width: 33px;
  height: 12px;
  margin-right: 5px;
}

.mobile-text-logo {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #f0f0f0;
}

/* Mobile menu icon */
.mobile-menu-icon {
  font-size: 26px;
  cursor: pointer;
  color: #f0f0f0;
  padding: 6px 12px;
  background: #1E1E1E;
  border-radius: 40px;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: linear-gradient(135deg, #1E1E1E, #2a2a2a);
  padding: 16px 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border-radius: 0 0 20px 20px;
}

.mobile-menu a {
  text-decoration: none;
  color: #f0f0f0;
  font-size: 16px;
  margin: 12px 0;
  font-weight: 500;
  transition: color 0.3s ease;
}

.mobile-menu a:hover {
  color: #007aff;
}

/* Responsive display for mobile header */
@media (max-width: 768px) {
  .mobile-header { display: flex; }
  .main-header {
    display: none;
  }
  .mobile-header {
    display: flex;
  }
}


/* Hero Section */
.hero-clients {
  padding: 80px 20px 60px;
  text-align: center;
  background: #121212;
}

.hero-clients h1 {
  font-size: 52px;
  color: #fff;
  margin-bottom: 20px;
}

.hero-clients p {
  font-size: 18px;
  color: #ccc;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Clients Grid */
.clients-grid {
  display: flex;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  flex-direction: column;
  padding: 60px 20px;
  background: #1A1A1A;
}

.clients-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 3fr));
  gap: 30px;
}

.clients-row.centered {
  display: flex;
  justify-content: center;
}

.clients-row.centered .client-card {
  width: 100%;
  max-width: 360px; /* Same as 1 card in grid */
}

.client-card {
  background: #121212;
  border-radius: 14px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.client-logo img {
  max-width: 160px;
  margin-bottom: 20px;
  border-radius: 8px;
}

.client-card h3 {
  font-size: 22px;
  color: #fff;
  margin-bottom: 14px;
}

.client-card p {
  font-size: 16px;
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* CTA Button */
.cta-button {
  display: inline-block;
  padding: 14px 30px;
  background: linear-gradient(135deg, #F5F5F7, #e0e0e0);
  color: #121212;
  border-radius: 40px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.cta-button:hover {
  background: #ffffff;
  color: #121212;
  box-shadow: 0 6px 14px rgba(0,0,0,0.2);
  transform: translateY(-1px);
}

/* CTA Section */
.cta-section {
  padding: 80px 20px;
  text-align: center;
  background: #121212;
  border-top: 1px solid #1A1A1A;
}

.cta-section h2 {
  font-size: 42px;
  color: #fff;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 18px;
  color: #ccc;
  max-width: 700px;
  margin: 0 auto 30px;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .hero-clients h1 {
    font-size: 36px;
  }

  .cta-section h2 {
    font-size: 30px;
  }
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .footer-brand h2 { font-size: 22px; }
  .social-icons a img {
    width: 18px;
    height: 18px;
  }
}

/* Footer */
.footer {
  background: #1A1A1A;
  padding: 60px 20px 30px;
  color: #ccc;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand h2 {
  font-size: 24px;
  color: #fff;
  margin-bottom: 10px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links a {
  text-decoration: none;
  color: #ccc;
  font-size: 14px;
}

.footer-links a:hover {
  color: #fff;
}

.social-icons a img {
  width: 22px;
  height: 22px;
  background-color: white;
  margin-right: 10px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #333;
  margin-top: 30px;
  color: #666;
}



/*Animations*/
@keyframes zoomInImage {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes fadeUpCard {
  0% {
    transform: translateY(40px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
.animate-image {
  animation: zoomInImage 0.8s ease-out forwards;
}

.animate-card {
  animation: fadeUpCard 1s ease-out forwards;
}
/* Animation Keyframes */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInFromLeft {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes slideInFromBottom {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

/* Keyframes for continuous scroll in projects section */
@keyframes scrollCarousel {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); /* Adjust this value based on the number of duplicated items */
  }
}
