@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Open Sans", sans-serif;
}

section {
  margin: 0;
  padding: 0;
  gap: 0;
}

html,
body {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
}

.slider {
  display: flex;
  transition: transform 0.5s ease;
}

.slide {
  position: relative;
  min-width: 100%;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.caption {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 0);
  color: white;
  font-size: 1.5rem;
  text-align: center;
  opacity: 0;
  transition: top 0.8s ease, opacity 0.8s ease, transform 0.8s ease;
}

.slide.active .caption {
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 1;
}

.caption p {
  width: 500px;
  font-weight: 300;
  letter-spacing: 1px;
  visibility: visible;
  font-size: 40px;
  margin-bottom: 10px;
}
.caption a {
  text-decoration: none;
  background-color: rgb(34, 34, 34);
  color: white;
  padding: 10px 14px;
  font-size: 8px;
  letter-spacing: 2px;
  font-weight: 800;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.185);
  color: white;
  border: none;
  padding: 40px;
  cursor: pointer;
  z-index: 2;
  opacity: 0.8;
  transition: background-color 0.3s;
}

.slider-btn:hover {
  background-color: white;
  color: gray;
}

.prev {
  left: 0;
  font-size: 20px;
}

.next {
  right: 0;
  font-size: 20px;
}

.prev-img,
.next-img {
  position: absolute;
  top: 50%;
  transform: translateY(-50%) scale(0.8);
  width: 110px;
  height: 110px;
  display: none;
  z-index: 1;
  object-fit: cover;
  transition: transform 0.3s ease, opacity 0.3s ease;
  animation: fadeIn 0.5s ease forwards; /* New animation */
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-50%) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
}

.prev-img {
  left: 100px;
}

.next-img {
  right: 100px;
}

.slider-btn:hover + .prev-img {
  display: block;
  transform: translateY(-50%) translateX(-50px);
  opacity: 1;
}

.slider-btn:hover + .next-img {
  display: block;
  transform: translateY(-50%) translateX(50px);
  opacity: 1;
}

.slide.active .caption {
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 1;
}
@media only screen and (max-width: 1024px) {
  .slider-container {
    height: 450px;
  }

  .caption p {
    font-size: 2rem;
    width: 80%;
    margin: 10px auto;
  }

  .slider-btn {
    padding: 20px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
  }

  .slider-btn.prev,
  .slider-btn.next {
    font-size: 18px;
    padding: 12px;
  }

  .slider-btn.prev {
    left: 10px;
  }

  .slider-btn.next {
    right: 10px;
  }

  .prev-img,
  .next-img {
    width: 90px;
    height: 90px;
  }

  .caption a {
    font-size: 14px;
    padding: 8px 12px;
  }

  .slider-btn {
    padding: 15px;
  }

  .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .caption {
    visibility: hidden;
  }

  .slide.active .caption {
    visibility: visible;
  }
}

@media only screen and (max-width: 768px) {
  .slider-container {
    height: 350px;
  }

  .caption p {
    font-size: 1.5rem;
    width: 90%;
    margin: 10px auto;
  }

  .slider-btn {
    padding: 15px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
  }

  .slider-btn.prev,
  .slider-btn.next {
    font-size: 16px;
    padding: 10px;
  }

  .slider-btn.prev {
    left: 10px;
  }

  .slider-btn.next {
    right: 10px;
  }

  .prev-img,
  .next-img {
    width: 70px;
    height: 70px;
  }

  .caption a {
    font-size: 12px;
    padding: 6px 10px;
  }

  .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .caption {
    visibility: hidden;
  }

  .slide.active .caption {
    visibility: visible;
  }
}

@media only screen and (max-width: 480px) {
  .slider-container {
    height: 300px;
  }

  .caption p {
    font-size: 1rem;
    width: 300px;
    font-weight: 300;
  }

  .caption a {
    font-size: 2px;
  }

  .slider-btn {
    padding: 12px;
    position: absolute;
    top: 30%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
  }

  .slider-btn.prev,
  .slider-btn.next {
    font-size: 14px;
    padding: 8px;
  }

  .slider-btn.prev {
    left: 5px;
  }

  .slider-btn.next {
    right: 5px;
  }

  .prev-img,
  .next-img {
    width: 60px;
    height: 60px;
  }

  .caption a {
    font-size: 10px;
    padding: 5px 8px;
  }

  .slider-btn {
    padding: 8px;
  }
}

.sticky-header {
  position: sticky;
  top: 0;
  z-index: 10;
}
.nav_container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgb(34, 34, 34);
  height: 80px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo-heading {
  padding-left: 30px;
  color: white;
  font-weight: 900;
  font-size: 16px;
}

.logo-heading h1 {
  font-weight: bold;
}

.nav-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-right: 5rem;
}

.nav-bar a {
  text-decoration: none;
  margin: 20px;
  color: rgb(76, 85, 67);
  font-size: 14px;
}


.menu-toggle {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  height: 25px;
  width: 30px;
  margin-right: 20px;
  background: transparent;
  border: none;
}

.menu-toggle span {
  width: 30px;
  height: 3px;
  background-color: white;
}

.nav-bar a:hover,
.nav-bar a.active {
  color:white;
}



@media (max-width: 768px) {
  .nav-bar {
    display: none;
    width: 100%;
    position: absolute;
    top: 80px;
    left: 0;
    background-color: rgb(34, 34, 34);
    flex-direction: column;
    align-items: center;
  }

  .nav-bar a {
    margin: 10px;
    font-size: 18px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-bar.active {
    display: flex;
  }
}

.back-image{
  width: 100%;
  height: 300px;
  background-image: url('assets/imagebg.jpg');
  filter:opacity(0.9);
}

.back-image p{
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 90px;
  font-size: 55px;
  font-weight: 900;
  color: white;
  letter-spacing: 2px;
}


@media (max-width: 768px) {
  .back-image {
    height: 150px;
    background-size: cover;
  }

  .back-image p {
    font-size: 40px;
    padding-top: 40px;
  }
}

@media (max-width: 480px) {
  .back-image {
    height: 120px;
    background-size: cover;
  }

  .back-image p {
    font-size: 28px;
    padding-top: 30px;
    text-align: center;
  }
}




.service {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  
  .heading-service {
    color: white;
    margin-top: 40px;
    width: 250px;
    text-align: center;
  }
  .heading-service h2 {
    background-color: rgb(34, 34, 34);
    font-weight: 200;
    font-size: 30px;
    letter-spacing: 1px;
    padding: 5px 0px 5px 0px;
  }
  
  .service-card-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-left: 40px;
    padding-right: 40px;
  }
  .service-card-container1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 40px;
    padding-right: 40px;
  }
  
  .service-card1,
  .service-card2,
  .service-card3 {
    width: 400px;
    height: 300px;
    padding: 20px;
  }
  .service-card1 h3,
  .service-card2 h3,
  .service-card3 h3 {
    padding: 10px;
    font-weight: 400;
    font-size: 20px;
  }
  .service-card1 p,
  .service-card2 p,
  .service-card3 p {
    color: rgb(116, 118, 128);
    font-size: 14px;
    line-height: 1.5;
    padding-left: 10px;
    padding-right: 10px;
    text-align: center;
  }
  .service-card1 img,
  .service-card2 img,
  .service-card3 img {
    height: 120px;
    width: 120px;
    padding: 20px;
  }
  .service-card-container1 .service-card1 img,
  .service-card-container1 .service-card2 img,
  .service-card-container1 .service-card3 img {
    height: 130px;
    width: 130px;
    padding: 20px;
  }
  
  .v1 {
    background-color: gray;
    height: 280px;
    width: 1px;
    margin: 0 10px;
  }
  
  .v2 {
    background-color: gray;
    height: 1px;
    width: 90%;
    margin: 20px auto;
  }
  
  @media (max-width: 768px) {
    .service-card-container,
    .service-card-container1 {
      flex-direction: column;
      justify-content: center;
      align-items: center;
      padding: 20px;
      gap: 20px;
    }
  
    .service-card1,
    .service-card2,
    .service-card3 {
      width: 90%;
      height: auto;
    }
  
    .v1 {
      display: none;
    }
  
    .v2 {
      width: 100%;
    }
  }
  
  @media (max-width: 480px) {
    .heading-service h2 {
      font-size: 24px;
      padding: 10px 0;
    }
  
    .service-card1 img,
    .service-card2 img,
    .service-card3 img {
      height: 60px;
      width: 60px;
      padding: 10px;
    }
  
    .service-card1 h3,
    .service-card2 h3,
    .service-card3 h3 {
      font-size: 18px;
    }
  
    .service-card1 p,
    .service-card2 p,
    .service-card3 p {
      font-size: 12px;
      padding: 0 10px;
    }
  }
















.team {
    background-color: rgb(242,242,242);
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
  }
  
  .heading-team {
    margin-top: 60px;
    color: white;
    width: 250px;
    text-align: center;
  }
  .heading-team h2 {
    background-color: rgb(34, 34, 34);
    font-weight: 200;
    font-size: 30px;
    letter-spacing: 1px;
    padding: 5px 0px 5px 0px;
  }
  
  .container {
    position: relative;
    width: 100%;
    max-width: 400px;
  }
  
  .image {
    display: block;
    width: 100%;
    border-radius: 50%;
    height: auto;
  }
  .team-container{
    margin-top: 40px;
    width: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .overlay {
    position: absolute;
    border-radius: 50%;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: 0.3s ease;
    background-color: rgb(87, 86, 86);
  }
  
  .container:hover .overlay {
    opacity: 0.3;
  }
  .social-icon4 {
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 100px;
    position: absolute;
    top: 50%;
    gap: 15px;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
  }
  
  .social-icon4 a {
    background-color: rgb(0, 0, 0);
    border-radius: 50%;
    color: white;
    font-size: 20px;
    padding: 10px;
  }
  
  .social-icon4 a:hover {
    color: white;
  }
  .team-card1{
    padding: 30px;
  }
  .team-card1 .card-info p{
    text-align: center;
    color: rgb(116, 118, 128);
    padding-top: 10px;
  }
  
  .team-card1 .card-info h3{
    font-weight: 200;
    text-align: center;
  }


  @media (max-width: 1024px) {
    .team-container {
      flex-wrap: wrap; /* Enable wrapping for team cards */
      justify-content: center;
      gap: 20px;
    }
  
    .team-card1 {
      padding: 20px;
      width: 45%; /* Reduce width for medium screens */
    }
  
    .container {
      max-width: 300px; /* Adjust container width for medium screens */
    }
  
    .overlay {
      display: block; /* Ensure the overlay is displayed */
    }
  }
  
  @media (max-width: 768px) {
    .team-container {
      flex-direction: column; /* Stack team cards vertically */
      align-items: center;
    }
  
    .team-card1 {
      width: 90%; /* Full width for smaller screens */
      margin-bottom: 20px;
    }
  
    .container {
      max-width: 100%; /* Allow full-width images */
    }
  
    .overlay {
      display: block; /* Ensure the overlay is displayed */
    }
  }
  
  @media (max-width: 480px) {
    .heading-team h2 {
      font-size: 24px; /* Adjust heading size */
    }
  
    .social-icon a {
      font-size: 16px; /* Reduce social icon size for smaller screens */
      padding: 8px;
    }
  
    .card-info p, .card-info h3 {
      font-size: 14px; /* Adjust text size */
    }
  
    .overlay {
      display: block; /* Ensure the overlay is displayed */
    }
  }
  



  



/* General Footer Styling */
footer {
  background-color: rgb(42, 42, 42);
  color: white;
  padding: 20px 0;
}

.footer-cards {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  margin: 0 auto;
  max-width: 1200px;
}

.footer-card2{
  margin-left: 40px;
}
.footer-card1,
.footer-card2 {
  width: 300px;
  padding: 20px;
  margin-top: 30px;
  box-sizing: border-box;
}


.n1{
  background-color: white;
  height: 4px;
  margin-left: 0px;
  margin-top: 10px;
  margin-bottom: 20px;
  width: 80px;
}
.n2{
  background-color: white;
  height: 4px;
  margin-left: 100px;
  margin-top: 10px;
  margin-bottom: 20px;
  width: 80px;
}
.footer-card3 {
  width: 400px;
  padding: 20px;
  margin-top: 25px;
  margin-left: 50px;
  box-sizing: border-box;
}

/* Heading Styling */
.footer-card1 .heading h2,
.footer-card2 .heading h2,
.footer-card3 .heading h2 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 2px;
}

.footer-card2 .heading h2{
  text-align: center;
}

/* Social Icon Styling */
.social-icon {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
}

.footer-card1 a {
  text-decoration: none;
  border-radius: 50%;
  padding: 4px;
  border: 2px solid white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-card1 a i {
  color: white;
  padding: 10px;
  font-size: 20px;
}


.footer-card2 .links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-card2 .links a {
  text-decoration: none;
  text-align: left;
  margin-left: 100px;
  color: white;
  font-size: 16px;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}
.footer-card1 .social-icon a:hover{
  background-color: white;
}

.footer-card1 .social-icon a i:hover{
  color: black;
}

.footer-card2 .links a:hover {
  color: rgb(116, 118, 128);
}

/* Contact Info Section */
.footer-card3 .footer-contact-info {
  margin-bottom: 20px;
}

.footer-card3 .footer-contact-info .address,
.footer-card3 .footer-contact-info .contact {
  display: flex;
  align-items: center;
}

.footer-card3 .footer-contact-info h2 {
  margin: 0;
  font-size: 16px;
  color: rgb(248, 245, 245);
}

.footer-card3 .address-main,
.footer-card3 .contact-main,
.footer-card3 .email-main {
  padding-top: 10px;
  font-size: 16px;
  color: #adadad;
  margin-left: 30px;
}

.footer-card3 .address-main a,
.footer-card3 .contact-main a,
.footer-card3 .email-main a {
  text-decoration: none;  
  font-size: 16px;
  color: white;
  padding-top: 0;
  transition: color 0.3s ease;
}

.footer-card3 .address-main a:hover,
.footer-card3 .contact-main a:hover,
.footer-card3 .email-main a:hover {
  color: rgb(73, 76, 92);
}

/* Tablet Devices (768px and below) */
@media (max-width: 768px) {
  .footer-cards {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 0 20px;
  }

  .footer-card1,
  .footer-card2,
  .footer-card3 {
    width: 100%;
    margin: 0;
    padding: 20px 10px;
    text-align: center; /* Central alignment for tablet devices */
  }

  .footer-card2 .links a {
    margin-left: 10px;
    font-size: 14px;
    text-align: center;
  }

  .footer-card3 .address-main,
  .footer-card3 .contact-main,
  .footer-card3 .email-main {
    margin-left: 0;
    padding-top: 5px;
    text-align: left;
    font-size: 14px;
  }

  .footer-card1 a i {
    font-size: 16px;
    padding: 8px;
  }

  .footer-card3 .footer-contact-info h2 {
    font-size: 14px;
  }

  .n1, .n2 {
    width: 50px;
    margin-top: 10px;
    margin-left: 0;
  }
}

/* Mobile Devices (480px and below) */
@media (max-width: 480px) {
  .footer-cards {
    gap: 10px;
  }

  .footer-card1,
  .footer-card2,
  .footer-card3 {
    padding: 10px;
    text-align: center;
  }

  .footer-card1 a i {
    font-size: 14px;
    padding: 6px;
  }

  .footer-card1 .heading h2,
  .footer-card2 .heading h2,
  .footer-card3 .heading h2 {
    text-align: center;
    padding: 15px;
  }

  .footer-card2 .links a {
    margin-left: 0;
    text-align: center;
    font-size: 12px;
  }

  .social-icon {
    justify-content: center;
    gap: 15px;
  }

  .footer-card3 .footer-contact-info h2 {
    font-size: 12px;
  }

  .footer-card3 .address-main,
  .footer-card3 .contact-main,
  .footer-card3 .email-main {
    font-size: 12px;
  }

  .footer-contact{
    margin-left: 20px;
  }

  .footer-card3 i {
    padding-right: 20px;
  }

  .n1 {
    width: 50px;  
    margin: auto;
    margin-bottom: 15px;/* Center alignment for n1 */
  }

  .n2 {
    width: 50px;
    margin: auto; 
    margin-bottom: 15px;
  }
}
