/* Responsive styles.css */

body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Responsive Header */
header {
  background: #0078d7;
  color: #fff;
  padding: 10px 0;
  position: sticky;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
header .logo img {
  max-height: 100px;
}
header nav ul {
  list-style: none;
  display: flex;
  gap: 15px;
}
header nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}
header nav ul li a:hover {
  color: #ffcc00;
}

@media (max-width: 768px) {
  header .container {
    flex-direction: column;
  }
  header nav ul {
    flex-direction: column;
    text-align: center;
  }
}

/* Hero Section */
#hero {
  background-color: #eef6ff;
  text-align: center;
  padding: 60px 20px;
}
#hero h1 {
  font-size: 2.5rem;
  color: #0078d7;
  margin-bottom: 20px;
}
#hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}
#hero img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* About Us Section */
#about {
  padding: 40px 20px;
  background-color: #fff;
}
#about h2 {
  color: #0078d7;
  text-align: center;
  margin-bottom: 20px;
}
#about p {
  text-align: center;
  margin-bottom: 20px;
}
#about img {
  display: block;
  max-width: 100%;
  margin: 20px auto;
  border-radius: 10px;
}

/* Services Section */
#services {
  /* background-color: #ffcc00;  */
  /* background-color: #FFCE32; */
  /* background-color: #FAD707; */
  background-color: #eef6ff;
  padding: 40px 20px;
}
#services h2 {
  /* color: #0078d7; */
  /* color: #553111; */
  color: #0078d7;
  text-align: center;
  margin-bottom: 30px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.service-item {
  background-color: #fff; 
  /* background-color: #D0A51D; */
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  font-family: 'Arial', Helvetica;
  font-weight: bold;
  
}
.service-item:hover {
  transform: translateY(-5px);
}
.service-item img {
  max-width: 80px;
  margin-bottom: 15px;
}

/* clients Section */
#clients {
  /* background-color: #ffcc00; */
  /* background-color: #fff; */
  background-color:  #0078d7;
  padding: 40px 20px;
  overflow: hidden; /* Ensure the scroll effect stays within the container */
}
#clients h2 {
  color: #eef6ff;;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold; /* Make the heading bold */
  font-size: x-large;
  
}
.clients-grid {
  display: flex; /* Use flexbox for horizontal scrolling */
  gap: 20px;
  animation: scrollLeft 45s linear infinite; /* Add horizontal scroll animation */
}
.clients-item {
  /* background-color: transparent;  Make the background invisible */
  /* background-color: #ffe18f; */
  background-color: #eef6ff;;
  padding: 10px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  /*  Make the text bold */
  font-weight: bold;
  font-size: 1.5rem; /* Increase font size */
  flex-shrink: 0; /* Prevent items from shrinking */
  /* font-family: 'Courier', monospace; */
  color: black;
}
.clients-item img {
  max-width: 80px;
  margin-bottom: 15px;
}

/* Keyframe animation for horizontal scroll */
@keyframes scrollLeft {
  0% {
    transform: translateX(100%); /* Start from the far right */
  }
  100% {
    transform: translateX(-100%); /* End at the far left */
  }
}

/* Team Section */
#team {
  padding: 40px 20px;
  background-color: #eef6ff;
}
#team h2 {
  color: #0078d7;
  text-align: center;
  margin-bottom: 30px;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.team-member {
  background-color: #fff;
  padding: 20px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.team-member img {
  max-width: 100px;
  border-radius: 50%;
  margin-bottom: 10px;
}
.team-member h3 {
  color: #0078d7;
  margin-bottom: 5px;
}
.team-member p {
  color: #333;
}

/* Contact Section */
#contact {
  padding: 40px 20px;
  background-color: #fff;
}
#contact h2 {
  color: #0078d7;
  text-align: center;
  margin-bottom: 20px;
}
#contact p {
  text-align: center;
  margin-bottom: 10px;
}
#contact form {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#contact form input, #contact form textarea {
  width: 100%;
  max-width: 500px;
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
#contact form button {
  padding: 10px 20px;
  background-color: #0078d7;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}
#contact form button:hover {
  background-color: #005bb5;
}

/* Footer */
footer {
  background-color: #0078d7;
  color: #fff;
  text-align: center;
  padding: 10px 0;
}
