.portfolio {
  padding: 55px 0px 23px;
  text-align: center;
  background-color: #000000;
  overflow: hidden;
  /* margin-top: 22px; */
  color: white !important;

}

.portfolio h2 {
  font-family: "Gilroy-Bold ☞", sans-serif !important;
  text-align: center;
  font-size: 32.29px;
  line-height: 24.22px;
  /* margin: 5px 0px; */
  margin-bottom: 16px;
}

.portfolio p {
  font-family: "Gilroy-Medium ☞", sans-serif;
  font-size: 18.16px;
  line-height: 26.24px;
  margin-bottom: 30px;
  text-align: center;
}

.sld {
  overflow: hidden;
}


/* Remove will-change from individual sliders */
.slider,
.slider2,
.slider3 {
  will-change: auto;
}

.slider-track {
  will-change: transform;
}

.slider-track img {
  image-rendering: -webkit-optimize-contrast;
  transform: translateZ(0);
}

.slider {
  display: inline-flex;
  overflow: visible;
  width: 100%;
}

.slider2 {
  display: -webkit-box;
}

.slider3 {
  display: -webkit-box;
}

.slider-track {
  display: flex;
  gap: 13px;
  will-change: transform;
  transform: translateZ(0);
  animation: scroll 50s linear infinite;
  -webkit-animation: scroll 50s linear infinite;
  -moz-animation: scroll 50s linear infinite;
  -o-animation: scroll 50s linear infinite;
  -ms-animation: scroll 50s linear infinite;
}



.slider .slider-track {
  animation: port-scroll-right-left 65s linear infinite;
  animation-timing-function: linear;
}

.slider2 .slider-track {
  animation: port-scroll-left-right 65s linear infinite;
  animation-timing-function: linear;
}

.slider3 .slider-track {
  animation: port-scroll-right-left 65s linear infinite;
  animation-timing-function: linear;
}



.slider-track img {
  /* width: 395px;
  max-width: 395px;
  object-fit: cover;
  -o-object-fit: cover; */

  width: 395px;      /* Keep your fixed width if needed */
  max-width: 395px;  /* Limit the maximum width */
  height: auto;      /* Let the height adjust automatically */
  object-fit: contain;  /* Show the entire image without cropping */
}
.section-titlee p {
  max-width: 80%; 
  margin: 0 auto;
}

.uza-about-us-area {
  margin-top: 364px !important;
}

.slider:hover {
  animation-play-state: paused;
}
.slider-track {
  animation: scroll 50s linear infinite;
}

@keyframes port-scroll-right-left {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-100%, 0, 0);
  }
}

@keyframes port-scroll-left-right {
  0% {
    transform: translate3d(-100%, 0, 0);
  }

  100% {
    transform: translate3d(0, 0, 0);
  }
}



.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for better readability */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0; /* Initially hidden */
  transition: opacity 0.5s ease-in-out;
}

.overlay-text {
  color: white;  /* Ensure text is white */
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  max-width: 90%;
  opacity: 1;  /* Ensure text is fully visible */
}

.gallery-item:hover .overlay {
  opacity: 1; /* Show overlay on hover */
}

/* Gallery Item Container */
.gallery-item {
  position: relative;
  overflow: hidden;
}

/* Show overlay on hover */
.gallery-item:hover .overlay {
  opacity: 0.8;
  cursor: pointer;
}

/* Media Queries */
/* Responsive Styles */
@media (max-width: 1200px) {
  .portfolio h2 {
    font-size: 28px;
    line-height: 32px;
  }

  .portfolio p {
    font-size: 16px;
    line-height: 24px;
  }

  .slider-track img {
    width: 360px;
    /* height: 216px; */
  }
}

@media (max-width: 992px) {
  .portfolio h2 {
    font-size: 24px;
    line-height: 28px;
  }

  .portfolio p {
    font-size: 14px;
    line-height: 20px;
  }

  .slider-track img {
    width: 300px;
    /* height: 180px; */
  }
}

@media (max-width: 768px) {
 

  .portfolio h2 {
    font-size: 20px;
    line-height: 24px;
  }

  .portfolio p {
    font-size: 14px;
    line-height: 20px;
  }

  .slider-track img {
    width: 250px;
    /* height: 150px; */
  }

  

  .slider-track {
    gap: 7px;
  }

  .sld {
    margin: 10px 0px;
  }
}

@media (max-width: 576px) {
  .portfolio h2 {
    font-size: 23px;
    line-height: 24px;
  }

  .slider-track {
    gap: 7px;
  }

  .portfolio p {
    font-size: 15px;
    line-height: 24px;
  }

  .slider-track img {
    width: 200px;
    /* height: 120px; */
  }


  

  .slider,
  .slider2,
  .slider3 {
    overflow: visible;
    width: 100%;
  }

  .slider2 .slider3 {
    transform: rotate(-17.26deg);
    margin-top: 11px;
  }
}

/* numbers section media  */
@media (max-width: 1200px) {
  .Number h2 {
    font-size: 28px;
    line-height: 32px;
  }

  .Number .para {
    font-size: 16px;
    line-height: 24px;
  }

  .stat .text {
    font-size: 70px;
  }

  .stat .txt2 {
    font-size: 22px;
  }
}

@media (max-width: 992px) {
  .Number h2 {
    font-size: 24px;
    line-height: 28px;
  }

  .Number .para {
    font-size: 14px;
    line-height: 20px;
  }

  .stat {
    height: 270px;
  }

  .stat .text {
    font-size: 60px;
  }

  .stat .txt2 {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .Number h2 {
    font-size: 20px;
    line-height: 24px;
  }

  .Number .para {
    font-size: 14px;
    line-height: 20px;
  }

  .stat {
    height: 230px;
  }

  .stat .text {
    font-size: 50px;
  }

  .stat .txt2 {
    font-size: 18px;
  }
}

@media (max-width: 576px) {
  .Number {
    padding: 30px;
    height: auto;
  }

  .containor {
    padding: 20px;
    height: auto;
  }

  .Number h2 {
    font-size: 18px;
    line-height: 22px;
  }

  .Number .para {
    font-size: 12px;
    line-height: 18px;
  }

  .stats {
    display: block;
  }

  .stat {
    height: auto;
    margin: 20px 0;
    padding: 20px;
  }

  .stat .text {
    margin-top: 30px;
    font-size: 40px;
  }

  .stat .txt2 {
    font-size: 16px;
  }
}


.contact-section {
  background: #ffffff;
  /* padding: 82px 93px; */
}


.contact-form{
  
  background: #5097C51F;
  padding: 25px;
}
.forms{
    display: flex;
    padding: 77px 15px;
    justify-content: space-around;
    flex-direction: row;

}
.contact-form-wrapper {
  padding: 2rem;
  background: #ffffff;
  border-radius: 15px;
}

.section-title {
  font-size: 2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1.5rem;
}

.form-control {
  border: 1px solid #e0e0e0;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0,123,255,0.25);
}

.btn-primary {
  background-color: #007bff;
  border: none;
  padding: 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

@media (max-width: 992px) {
  .contact-image {
      margin-bottom: 2rem;
  }
  
  .contact-form-wrapper {
      padding: 1.5rem;
  }
}
.footer-section {
  padding: 40px;
  background: #000000;

}

.footer-about{
  padding: 0em 3.75em 0em 0em;
}
.list-icon{
  display: flex;
      gap: 13px;
}
.footer-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: #ffffff;
}
.g{
  gap: 40px;
}
.footer-text {
  color: #b1b1b1;
 

  font-family: "Space Grotesk", serif;
font-weight: 400;
font-size: 18px;
line-height: 26px;
letter-spacing: 0%;

}

.footer-subtitle {
  font-size: 1.25rem;
  font-weight: 500;
  color: #ffffff;
  border-bottom: 2px solid #007bff;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #b1b1b1;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: #007bff;
  padding-left: 5px;
}

.copyright-text {
  color: #b1b1b1;
  font-size: 0.9rem;
  padding-top: 2rem;
  border-top: 1px solid #333;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .footer-title {
      font-size: 1.5rem;
  }
  
  .footer-subtitle {
      font-size: 1.1rem;
  }
  
  .footer-links li {
      margin-bottom: 0.5rem;
  }
}
