@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #f2f2f2;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 5;
  width: 100%;
  display: flex;
  justify-content: center;
  background: #333;
}

.navbar {
  display: flex;
  padding: 0 10px;
  max-width: 1200px;
  width: 100%;
  align-items: center;
  justify-content: space-between;
}

.navbar input#menu-toggler {
  display: none;
}

.navbar #hamburger-btn {
  cursor: pointer;
  display: none;
}

.navbar .all-links {
  display: flex;
  align-items: center;
}

.navbar .all-links li {
  position: relative;
  list-style: none;
}

.navbar .logo a {
  display: flex;
  align-items: center;
  margin-left: 0;
}

header a {
  margin-left: 40px;
  text-decoration: none;
  color: #fff;
  height: 100%;
  padding: 20px 0;
  display: inline-block;
}

header a:hover, footer a:hover {
  color: #ddd;
}

.homepage {
  height: 100vh;
  width: 100%;
  position: relative;
  background: url("images/Untitled\ design.jpg");
  background-position: center 65%;
  background-size: cover;
}

.homepage::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
}

.homepage .content {
  display: flex;
  height: 85%;
  z-index: 3;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.homepage .content h1 {
  font-size: 60px;
  font-weight: 700;
  margin-bottom: 10px;
}

.homepage .content .text {
  margin-bottom: 50px;
  color: #fff;
  font-size: 20px;
  text-align: center;
  text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}

.content a {
  color: #000;
  display: block;
  text-transform: uppercase;
  font-size: 18px;
  margin: 0 10px;
  padding: 10px 30px;
  border-radius: 5px;
  background: #fff;
  border: 2px solid #fff;
  transition: 0.4s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  text-decoration: none;
}

.content a:hover {
  color: #fff;
  background: rgba(255,255,255,0.3);
}

section {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 80px 0 0;
}

section h2 {
  font-size: 2rem;
}

section > p {
  text-align: center;
}

section .cards {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin-top: 50px;
  padding: 0 10px;
  justify-content: space-between;
}

.about-section {
  background: #f3f7fb;
  padding: 50px 20px;
  font-family: 'Arial', sans-serif;
  text-align: center;
}

.about-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.about-section .header {
  margin-bottom: 30px;
}

.about-section .badge {
  display: inline-block;
  background: #dce6f3;
  color: #003366;
  font-size: 12px;
  font-weight: bold;
  padding: 5px 15px;
  border-radius: 20px;
  letter-spacing: 1px;
}

.about-section h2 {
  font-size: 32px;
  margin: 10px 0;
}

.about-section .highlight {
  color: #0047ab;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: center;
}

.about-content .image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.about-content .image {
  flex: 1 1 400px;
}

.about-content .text {
  flex: 1 1 500px;
  text-align: left;
}

.about-content h3 {
  font-size: 24px;
  margin-bottom: 15px;
  font-weight: bold;
}

.about-content p {
  margin-bottom: 15px;
  font-size: 16px;
  color: #333;
  line-height: 1.6;
}

.history h4 {
  font-size: 20px;
  margin-top: 20px;
  font-weight: bold;
  color: #0047ab;
}

@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .about-content .text {
    text-align: center;
  }
}

/*CLIENT SECTION*/
 .stats-clients-section {
    background: #f5f9ff;
    padding: 60px 20px;
    text-align: center;
  }

  .counters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 60px;
  }

  .counter-box {
    background: #eef4ff;
    border-radius: 12px;
    padding: 20px 30px;
    width: 200px;
  }

  .counter-number {
    font-size: 2.2rem;
    font-weight: bold;
    color: #222;
  }

  .counter-label {
    font-size: 1rem;
    margin-top: 10px;
    color: #555;
  }

  /* Client slider */
  .stats-clients-section {
    background: #f5f9ff;
    padding: 60px 20px;
    text-align: center;
  }

  .counters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
  }

  .counter-box {
    background: #eef4ff;
    border-radius: 12px;
    padding: 20px 30px;
    width: 200px;
  }

  .counter-number {
    font-size: 2.2rem;
    font-weight: bold;
    color: #222;
  }

  .counter-label {
    font-size: 1rem;
    margin-top: 10px;
    color: #555;
  }

  /* Centered client slider */
  .client-slider-wrapper {
  overflow: hidden;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  background-color: #f5f9ff;
  padding: 20px 0;
  border-radius: 12px;
}

.slider-track {
  display: flex;
  gap: 50px;
  animation: scrollLeft 30s linear infinite;
  width: fit-content;
}

/* Pause animation on hover */
.client-slider-wrapper:hover .slider-track {
  animation-play-state: paused;
}

/* Logo images with zoom on hover */
.slider-track img {
  height: 80px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.slider-track img:hover {
  transform: scale(1.2);
}

/* Scroll animation */
@keyframes scrollLeft {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .slider-track {
    gap: 30px;
  }
  .slider-track img {
    height: 40px;
  }
}
  
section .cards .card {
  background: #fff;
  padding: 40px 15px;
  list-style: none;
  border-radius: 5px;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.04);
  margin-bottom: 40px;
  width: calc(100% / 3 - 30px);
  text-align: center;
}

.portfolio .cards .card {
  padding: 0 0 20px;
}

.services .card img {
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
  border-radius: 100%;
  object-fit: cover;
}
/* TESTIMONIAL START*/
  .testimonial-slider {
      position: relative;
      background: url('images/AA.jpg') center/cover no-repeat;
      color: white;
      height: 50vh;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 20px;
   
    }

    .overlay {
      position: absolute;
      top: 0; left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.6);
      z-index: 1;
    }

    .testimonial-content {
      position: relative;
      z-index: 2;
      max-width: 700px;
      padding: 20px;
      opacity: 0;
   transition: opacity 0.8s ease-in-out;
    }
   .testimonial-content.show {
  opacity: 1;
  }

    .testimonial-content img {
      width: 100px;
      height: 100px;
      object-fit: cover;
      border-radius: 50%;
      border: 3px solid #fff;
      margin-bottom: 10px;
    }

    .testimonial-name {
      font-size: 1.5rem;
      font-weight: bold;
    }

    .testimonial-role {
      font-size: 1rem;
      margin-bottom: 10px;
    }

    .stars {
      color: gold;
      margin: 10px 0;
    }

    .quote {
      font-size: 1.1rem;
      font-style: italic;
      line-height: 1.6;
      margin-top: 10px;
    }

    .dots {
      margin-top: 20px;
    }

    .dot {
      height: 12px;
      width: 12px;
      margin: 0 5px;
      background-color: white;
      border-radius: 50%;
      display: inline-block;
      cursor: pointer;
      opacity: 0.5;
      transition: opacity 0.3s;
    }

    .dot.active {
      opacity: 1;
    }

    @media (max-width: 600px) {
      .testimonial-content {
        padding: 10px;
      }

      .quote {
        font-size: 1rem;
      }

      .testimonial-name {
        font-size: 1.2rem;
      }
    }
/* END TESTIMONIAL START*/

.portfolio .card img {
  width: 100%;
  padding-bottom: 10px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 7px;
}

.cards .card p {
  padding: 0 15px;
  margin-top: 5px;
}
/* TEAM SECTION*/
.team-section {
  background-color: #f3f7fe;
  padding: 60px 20px;
  text-align: center;
}

.team-section h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
}

.team-section h2 span {
  color: #000;
  font-weight: 500;
}
.team-a{
  display: inline-block;
  background: #dce6f3;
  color: #0a0a0a;
  font-size: 18px;
  font-weight: bold;
  padding: 5px 15px;
  border-radius: 20px;
  letter-spacing: 1px;
}

.container {
  max-width: 1200px;
  margin: auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Four in one line */
  gap: 30px;
  justify-items: center;
}

.team-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
}

.team-img {
  position: relative;
  overflow: hidden;
}

.team-img img {
  width: 100%;
  display: block;
  height: 300px;
  object-fit: cover;
}

.social-icons {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 10px;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.team-img:hover .social-icons {
  transform: translateY(0);
}

.social-icons a {
  color: #333;
  font-size: 18px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #007bff;
}

.team-info {
  padding: 20px 10px;
}

.team-info h4 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.team-info p {
  margin: 4px 0 0;
  font-size: 0.9rem;
  color: #777;
}
@media (max-width: 992px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 on tablets */
  }
}

@media (max-width: 576px) {
  .team-grid {
    grid-template-columns: 1fr; /* 1 on mobile */
  }
}
/*END TEAM SECTION*/

.about .row {
  padding: 0 10px;
}

.contact .row {
  margin: 60px 0 90px;
  display: flex;
  max-width: 1200px;
  width: 100%;
  align-items: center;
  justify-content: space-between;
}

.contact .row .col {
  padding: 0 10px;
  width: calc(100% / 2 - 50px);
}

.contact .col p {
  margin-bottom: 10px;
}

.contact .col p i {
  color: #7a7a7a;
  margin-right: 10px;
}

.contact form input {
  height: 45px;
  margin-bottom: 20px;
  padding: 10px;
  width: 100%;
  font-size: 16px;
  outline: none;
  border: 1px solid #bfbfbf;
}

.contact form textarea {
  padding: 10px;
  width: 100%;
  font-size: 16px;
  height: 150px;
  outline: none;
  resize: vertical;
  border: 1px solid #bfbfbf;
}

.contact form button {
  margin-top: 10px;
  padding: 10px 20px;
  font-size: 17px;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  background: #333;
  transition: 0.2s ease;
}

.contact form button:hover {
  background: #525252;
}
.map-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* Maintains 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


/*FOOTER MODIFY*/
.newsletter {
  padding: 40px 20px;
  background: #f8f9fa;
  text-align: center;
}
.newsletter form {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.newsletter input {
  padding: 10px;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}
.newsletter button {
  padding: 10px;
  width: 150px;
  margin: 0 auto;
  background: #106eea;
  color: #fff;
  border: none;
}
.footer {
  background: #f8f9fa;
  padding: 30px 0;
  font-size: 14px;
}

.footer .container {
  max-width: 1200px;
  margin: auto;
  padding: 0 15px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.footer-info,
.footer-links,
.footer-gallery,
.footer-social {
  flex: 1 1 150px;
  min-width: 220px;
}

.footer h4 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #000000;
}

.footer p,
.footer a {
  color: #050505;
}

.footer a:hover {
  color: #37cb4d;
  text-decoration: underline;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
  display: block;
  transition: transform 0.2s ease;
}

.gallery-grid img:hover {
  transform: scale(1.02);
}

/* Social icons */
.footer-social a {
  margin-right: 10px;
  font-size: 16px;
  color: #333;
}

/* Bottom */
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  font-size: 13px;
  color: #444;
}
.fancybox-button--close {
  display: inline-block !important;
  opacity: 1 !important;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-info,
  .footer-links,
  .footer-gallery,
  .footer-social {
    width: 100%;
  }

 .gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Always 2 per row */
  gap: 8px;
}
}

@media (max-width: 300px) {
  .gallery-grid {
    grid-template-columns: 1fr; /* ❌ This causes only 1 image per row */
  }
}



/*end small instagram images light box*/


@media screen and (max-width: 860px) {
  .navbar .all-links {
    position: fixed;
    left: -100%;
    width: 300px;
    display: block;
    height: 100vh;
    top: 75px;
    background: #333;
    transition: left 0.3s ease;
  }

  .navbar #menu-toggler:checked ~ .all-links {
    left: 0;
    
  }

  .navbar .all-links li {
    font-size: 18px;
  }

  .navbar #hamburger-btn {
    display: block;
    cursor: pointer;
  }
  

  section > p {
    text-align: center;
  }

  section .cards .card {
    width: calc(100% / 2 - 15px);
    margin-bottom: 30px;
  }

  .homepage .content h1 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 10px;
  }

  .homepage .content .text {
    font-size: 17px;
  }

  .content a {
    font-size: 17px;
    padding: 9px 20px;
  }

  .contact .row {
    flex-direction: column;
  }

  .contact .row .col {
    width: 100%;
  }

  .contact .row .col:last-child {
    margin-top: 40px;
  }

 
}

@media screen and (max-width: 560px) {
  section .cards .card {
    width: 100%;
    margin-bottom: 30px;
  }
}
/*scroll bottom to top*/
.scroll-top {
  position: fixed;
  bottom: 80px; /* Increased from 20px to 80px */
  right: 20px;
  width: 40px;
  height: 40px;
  background-color: black;
  border: 2px solid black;
  display: none;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  cursor: pointer;
  z-index: 9999;
}

/* Show only on desktop */
@media screen and (min-width: 992px) {
  .scroll-top.show {
    display: flex;
  }
}

/* Optional: Add hover effect */
.scroll-top:hover {
  background-color: #111;
}


/*end scroll bottom to top*/
/*WHATSAPP */
.whatsapp-help {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    padding: 10px 15px;
    border-radius: 50px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-family: Arial, sans-serif;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 9999;
    transition: background-color 0.3s ease;
  }

  .whatsapp-help:hover {
    background-color: #1ebe5d;
  }

  .whatsapp-help img {
    width: 24px;
    height: 24px;
  }
 

  /* Mobile adjustments */
  @media (max-width: 480px) {
    .whatsapp-help {
      font-size: 14px;
      padding: 8px 12px;
      bottom: 15px;
      right: 15px;
    }

    .whatsapp-help img {
      width: 20px;
      height: 20px;
    }
  }
/*END WHATSAPP */