@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body,html{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: "poppins","sans-seriff ";
  /* background-color: #c6c6c6; */
}  
  
  .navbar-nav {
      flex-direction: row;
    }
    .navbar-nav li {
      margin-left: 20px;
    }
    .carousel-item {
      height: 100vh;
      position: relative;
  }
  .carousel-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
  }

  .navbar-brand{
    display: flex;
    align-items: center;
    gap: 4px;
  }
 
  .carousel-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.6);
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      color: #fff;
      padding: 20px;
  }
  .carousel-overlay h1 {
      font-size: 3rem;
      font-weight: bold;
      margin-bottom: 1rem;
  }
  .carousel-overlay p {
      font-size: 1.2rem;
      margin-bottom: 2rem;
  }
  .about-section {
    padding: 60px 0;
    }
    .about-section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    }
    .tab-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    }
    .tab-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    }
    /* Custom styles for services section */
.services-section .service-box {
  background-color: #e0e0e0;
  transition: transform 0.3s ease-in-out;
}

.services-section .service-box:hover {
  transform: translateY(-10px);
}

.services-section .icon {
  color: #007bff;
}

.service-box{
  text-align: start;
}

.services-section .btn-primary {
  background-color: #007bff;
  border-color: #007bff;
  margin-top: 10px;
}
.project-card {
  position: relative;
  overflow: hidden;
}

.project-card img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.project-card:hover img {
  transform: scale(1.1);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.project-card:hover .overlay {
  opacity: 1;
}

.nav-pills .nav-link {
  border-radius: 50px;
}

.row .col-md-4:nth-child(1) img {
  transform: translateY(10px);
}

.row .col-md-4:nth-child(2) img {
  transform: translateY(-10px);
}

.row .col-md-4:nth-child(3) img {
  transform: translateY(10px);
}

@media (max-width: 768px) {
  .row .col-md-4 {
      margin-bottom: 20px;
  }
}
/* Educator Section Styling */

  .educators-section {
    padding: 20px;
  }

  .educators-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .educator {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
  }

  .educator-image img {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: cover;
    border-radius: 0; /* rectangle */
  }

  .educator-info .name {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0 5px;
  }

  .educator-info .social-id {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
  }

  .social-links {
    display: flex;
    gap: 10px;
    justify-content: center;
  }

  .social-icon {
    width: 24px;
    height: 24px;
  }

  .divider {
    height: 1px;
    background-color: #ccc;
    margin: 10px 0;
  }
  /* Desktop View */
  @media (min-width: 768px) {
    .educators-container {
      flex-direction: row;
      justify-content: space-between;
      flex-wrap: wrap;
    }

    .educator {
      width: calc(33.333% - 1rem);
      text-align: center;
    }
  }


/* Styles for Contact Form */
#contact {
  background-color: #f9f9f9;
  padding-top: 50px;
  padding-bottom: 50px;
}

.card {
  border-radius: 8px;
}

.card-body {
  background-color: white;
  padding: 30px;
}

.card-title {
  font-size: 1.5rem;
  font-weight: bold;
}

.form-control {
  border-radius: 5px;
  box-shadow: none;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.btn-primary {
  background-color: #007bff;
  border-color: #007bff;
  border-radius: 5px;
  padding: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}

.embed-responsive {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: transparent;
}

.embed-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

ul.list-unstyled {
  font-size: 1.2rem;
}

ul.list-unstyled li {
  margin-bottom: 10px;
}

ul.list-unstyled li strong {
  color: #007bff;
}
<!-------------------educators sections --------------->
.educators-section {
  text-align: center;
  margin: 50px 0;
}

.educators-section h2 {
  font-size: 28px;
  margin-bottom: 40px;
  color: #333; /* Dark color for title */
}

.educators-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px; /* Space between each educator */
}

.educator {
  text-align: center;
  width: 250px; /* Slightly wider for better display */
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  transition: transform 0.3s ease; /* Add smooth zoom effect */
}

.educator:hover {
  transform: scale(1.05); /* Slight zoom effect on hover */
}

.educator-image {
  width: 150px;
  height: 150px;
  overflow: hidden;
  margin-bottom: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Light shadow around the image */
  border-radius: 8px; /* Rounded corners for the image box */
}

.educator-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease; /* Add smooth transition for the image */
}

.educator:hover .educator-image img {
  transform: scale(1.05); /* Zoom effect for the image */
}

.educator-info .name {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0;
  color: #333; /* Dark color for the name */
}

.educator-info .social-id {
  font-size: 14px;
  color: #777; /* Light grey color for Instagram ID */
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
}

.social-icon {
  width: 25px;
  height: 25px;
  transition: transform 0.3s ease; /* Add transition for social icons */
}

.social-links a {
  text-decoration: none;
}

.social-links a:hover .social-icon {
  transform: scale(1.2); /* Slight zoom effect on hover over the social icons */
}



/* Footer Styling */
.footer {
  background-color: black;
  color: white;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.footer-left a {
  color: white;
  text-decoration: none;
  margin-right: 15px;
}

.footer-left a:hover {
  text-decoration: underline;
}

.footer-right {
  font-size: 12px;
}

/* Responsive Padding */
@media (max-width: 768px) {
  .footer {
      text-align: center;
  }
  
  .footer .container {
      flex-direction: column;
  }
  
  .footer .container > div {
      margin-top: 10px;
  }
}

