
 body {
  font-family: Arial, sans-serif;
  color: #333;
  line-height: 1.6;
}
.header {
  position: relative;
  width: 100%;
  height: 500px;
  background-image: url("/images/about.png");
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.header-text {
  position: absolute;
  color: white;
  text-align: center;
}

.header-text h1 {
  font-size: 3rem;
  margin: 0;
}

.info-block-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 20px 0;
}

.info-item {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 5px;
  padding: 10px;
  margin-top: 20px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.info-item img {
  width: 50px;
  height: 50px;
}

.info-item div {
  display: flex;
  flex-direction: column;
}

p {
  margin: 0;
}

p.bold {
  font-weight: bold;
  margin-top: 5px;
}

.section {
  width: 80%;
  margin: auto;
  padding: 40px 0;
}

.section h1 {
  text-align: center;
}

.section h2 {
  color: rgb(77, 77, 76);
  text-align: center;
  margin-top: 25px;
  line-height: 35px;
}

.main-div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
  margin-top: 30px;
  gap: 20px;
}

.main-div > div {
  width: 45%;
}

.main-div img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Chairman Section Styling */
.chairman-section {
  background-color: #02c0ff;
  color: white;
  padding: 20px 0;
  text-align: left;
}

.chairman-section .main-div {
  width: 80%;
  margin: auto;
}

.chairman-section img {
  width: 400px;
  height: 400px;
  background-color: white;
  padding: 1px;
  object-fit: cover;
}

.chairman-section p {
  margin-top: 10px;
  color: rgb(0, 0, 0);
  margin-bottom: 30px;
  line-height: 25px;
}

 
  
  /* Header Styling */
  .head {
    text-align: center;
  
    color: #fff;
    padding: 2rem 1rem;
  }
  
  .head h1 {
    font-size: 2rem;
    margin-left: 40px;
    text-align: center;
    margin-bottom: 0.5rem;
  }
  
  .head p {
    font-size: 1rem;
    max-width: 800px;
    margin: 0 auto;
  }
  
  /* Solutions Grid */
  .solutions {
    display: grid;
    background: #f7cc0c;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 100%;
    margin: 2rem auto;
    padding: 1rem 1rem;
  }
  
  /* Solution Card Styling */
  .solution-card {
    background: hsl(0, 0%, 100%);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    opacity: 0; /* Initially hidden */
    transform: translateX(-100px); /* Positioned off-screen to the left */
    transition: transform 0.5s ease-out, opacity 0.5s ease-out;
  }
  
  .solution-card img {
    width: 50px;
    margin-bottom: 1rem;
  }
  
  .solution-card h3 {
    font-size: 1.2rem;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
  }
  
  .solution-card p {
    font-size: 0.9rem;
    color: #666;
  }
  
  /* Active Card Styling */
  .solution-card.active {
    opacity: 1;
    transform: translateX(0); /* Moves to the original position */
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .head h1 {
      font-size: 1.5rem;
    }
  }
  
/* team section css */

#team-section {
  padding: 20px 20px; /* Reduced padding from all sides */
  text-align: center;
  background-color: #fff;
  max-width: 1200px; /* Added max-width to limit width */
  margin: 0 auto; /* Center the section horizontally */
}

#team-section h2 {
  font-size: 36px;
  color: #333;
  margin-bottom: 20px;
}

#team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0px;
  justify-items: center;
  margin-top: 50px;
  padding: 30px;
}

.team-card {
  /* width: auto; */
  height: 400px;
  border-radius: 50%;
  overflow: hidden;
  transition: transform 0.3s ease-in-out;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.team-card:hover {
  transform: scale(1.05);
}

.team-card img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  object-position: center;
}

.team-info {
  padding-top: 10px;
  text-align: center;
}

.team-info h3 {
  font-size: 20px;
  margin-bottom: 5px;
  color: #333;
}

.team-info p {
  font-size: 15px;
  margin: 0;
  color: #777;
}

/* Responsive Design */
@media (max-width: 1024px) {
  #team-grid {
      grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  #team-grid {
      grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  #team-grid {
      grid-template-columns: 1fr;
  }

  #team-section h2 {
      font-size: 28px;
  }

  .team-card img {
      width: 150px;
      height: 150px;
  }

  .team-info h3 {
      font-size: 20px;
  }

  .team-info p {
      font-size: 16px;
  }
}


/* Grid Container Styling */
.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  justify-content: center;
  text-align: center; 

}

.grid-item {
  background-color: #f5f5f5;
  padding: 20px;
  width: 400px;
  border-radius: 10px;
  margin: auto;
  transition: transform 0.3s;
}

.grid-item img {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
}

.grid-item h3 {
  margin-bottom: 8px;
}

.grid-item:hover {
  transform: scale(1.05);
}

/* Media Queries for Responsive Design */
@media (max-width: 1200px) {
  .info-block-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .main-div > div {
    width: 50%;
  }

  .grid-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .info-block-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-text h1 {
    font-size: 2rem;
  }

  .main-div {
    flex-direction: column;
    align-items: center;
  }

  .main-div > div {
    width: 90%;
  }

  .chairman-section img {
    width: 150px;
    height: 150px;
  }

  .grid-container {
    grid-template-columns: 1fr;
  }

  .grid-item {
    width: 90%;
    padding: 20px;
  }

  .grid-item img {
    width: 80px;
  }
}

@media (max-width: 600px) {
  .info-block-grid {
    grid-template-columns: 1fr;
  }

  .info-item {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .info-item img {
    margin: 0 auto;
    margin-bottom: 10px;
  }

  .info-item div {
    align-items: center;
  }

  .header-text h1 {
    font-size: 1.75rem;
  }

  .section {
    width: 95%;
  }

  .main-div > div {
    width: 100%;
  }

  .main-div img {
    width: 100%;
    height: 100%;
  }
}

@media (max-width: 480px) {
  .header-text h1 {
    font-size: 1.5rem;
  }

  .section {
    width: 95%;
  }

  .chairman-section img {
    width: 120px;
    height: 120px;
  }

  .main-div img {
    width: 100%;
    height: 100%;
  }
}
