/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #f8f9fa;
  color: #333;
  line-height: 1.6;
}

/* Navigation Bar - Fixed and Initially Transparent */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  background-color: transparent !important;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background-color: whitesmoke !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem 5%;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  height: 60px;
  width: auto;
  transition: all 0.3s ease;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: white !important;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease;
  text-transform: uppercase;
}

.navbar.scrolled .nav-links a {
  color: #333 !important;
}

.nav-links a:hover {
  color: #e63946 !important;
}

.burger {
  display: none;
  cursor: pointer;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: white !important;
  margin: 5px;
  transition: all 0.3s ease;
}

.navbar.scrolled .burger div {
  background-color: #333 !important;
}

/* Clients Hero Section */
.clients-hero {
  height: 100vh;
  background: url("forklifts,cranes.jpg") no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
}

.clients-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.4) 100%
  );
}

.clients-hero-content {
  max-width: 800px;
  padding: 0 2rem;
  z-index: 1;
  margin-top: 80px; /* Added to account for fixed navbar */
}

.clients-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: whitesmoke;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Clients Intro Section */
.clients-intro {
  padding: 4rem 5%;
  background-color: white;
  text-align: center;
}

.clients-intro .container {
  max-width: 800px;
  margin: 0 auto;
}

.clients-intro h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #333;
}

.clients-intro p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #666;
}

/* Clients Testimonials Section */
.clients-testimonials {
  padding: 4rem 5%;
  background-color: #f8f9fa;
}

.client-card {
  display: flex;
  max-width: 1200px;
  margin: 0 auto 3rem;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  align-items: center;
}

.client-logo {
  width: 400px;
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f0f0f0;
}

.client-logo img {
  max-width: 100%;
  max-height: 200px;
  object-fit: contain;
}

.client-info {
  flex: 1;
  padding: 3rem;
  text-align: center;
}

.client-name {
  font-weight: bold;
  color: #333;
  font-size: 1.5rem;
  margin: 1rem 0;
  line-height: 1.4;
}

.divider {
  height: 1px;
  background-color: #eee;
  margin: 2rem auto;
  width: 80%;
}

/* Footer */
.footer {
  background-color: #222;
  color: white;
  padding: 4rem 5% 2rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-contact {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-contact .contact-item {
  background-color: transparent;
  box-shadow: none;
  color: white;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-contact .contact-item i {
  color: white;
}

.footer-contact .contact-item:hover {
  transform: none;
  box-shadow: none;
}

.copyright {
  font-size: 0.9rem;
  text-align: center;
  margin-top: 1rem;
}

/* Responsive Design */
@media screen and (max-width: 992px) {
  .client-logo {
    width: 300px;
    padding: 2rem;
  }

  .client-logo img {
    max-height: 150px;
  }
}

@media screen and (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    clip-path: circle(0px at 90% -10%);
    transition: all 0.5s ease-out;
    pointer-events: none;
  }

  .nav-links.active {
    clip-path: circle(1500px at 90% -10%);
    pointer-events: all;
  }

  .nav-links li {
    margin: 1.5rem 0;
  }

  .burger {
    display: block;
    z-index: 1001;
  }

  .logo {
    height: 50px;
    z-index: 1001;
  }

  .clients-hero h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.5rem;
  }

  .client-card {
    flex-direction: column;
  }

  .client-logo {
    width: 100%;
    padding: 2rem;
  }

  .client-logo img {
    max-height: 150px;
  }

  .client-info {
    padding: 2rem;
  }
}

@media screen and (max-width: 480px) {
  .clients-hero h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .logo {
    height: 40px;
  }

  .clients-intro h2 {
    font-size: 2rem;
  }

  .client-name {
    font-size: 1.3rem;
  }
}

/* Burger animation when clicked */
.burger.toggle .line1 {
  transform: rotate(-45deg) translate(-5px, 6px);
}
.burger.toggle .line2 {
  opacity: 0;
}
.burger.toggle .line3 {
  transform: rotate(45deg) translate(-5px, -6px);
}
