/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* outline: 1px solid orange; */
}

body {
  font-family: 'Inter', sans-serif;
  color: white;
  background-color: white;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* HOmePAge - About Section */
/* Section Styling */
.our-stories {
  background: white;
  color: #000;
  padding: 4rem 1.5rem;
}

.stories-container {
  max-width: 1200px;
  margin: 0 auto;
}

.stories-heading {
  text-align: center;
  margin-bottom: 2.5rem;
}

.stories-heading h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stories-heading p {
  font-size: 1.1rem;
  font-weight: 500;
}

.stories-heading p span {
  font-weight: 600;
}

/* Flex row on desktop */
.stories-content {
  display: flex;
  gap: 2rem;
  align-items: stretch;
  flex-wrap: wrap;
}

/* Left: Images container */
.stories-images {
  flex: 1;
  display: flex;
  gap: 1rem;
  min-width: 300px;
 
}

.left-image,
.right-images {
  flex: 1;
}



.left-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
}

.left-image img,
.right-images img {
  width: 100%;
  object-fit: cover;
  border-radius: 2px;
}

/* Right images stacked vertically */
.right-images {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.right-images img {
  height: calc(50% - 0.5rem);
}

/* Right: Text container */
.stories-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: justify;
  gap: 1.25rem;
  min-width: 300px;
}

.stories-text p {
  font-size: 1rem;
  line-height: 1.6;
}

.btn-outline {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.4rem;
  border: 2px solid black;
  color: black;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  width: fit-content;
}

.btn-outline:hover {
  background: black;
  color: white;
}

/*  Full Mobile & Tablet Responsive */
@media (max-width: 1024px) {
  .stories-content {
    flex-direction: column;
  }

  .stories-images,
  .stories-text {
    flex: 1 1 100%;
  }

  .stories-images {
    flex-direction: column;
    gap: 1rem;
  }

  .right-images {
   
    flex-direction: column;
  
  }

  .right-images img {
    height: auto;
  }

  .btn-outline {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 480px) {
  .our-stories {
    padding: 2rem 1rem;
  }

  .stories-heading h2 {
    font-size: 1.6rem;
  }

  .stories-heading p {
    font-size: 1rem;
  }

  .stories-text p {
    font-size: 0.95rem;
    margin-top: 60%;
 
  }

  .right-images {
    flex-direction: column;
  }

  .right-images img {
    width: 100%;
  }
}





/* HomePAge - Services Section */

.services-section {
  max-width: 1300px;
  margin: auto;
  margin-top: -4%;
  padding: 60px 20px;
}

.header-text {
  text-align: center;
  margin-bottom: 40px;
}

.header-text h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #111;
}

.header-text h1 span {
  color: #d32f2f;
}

.header-text p {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.5;
}

.slider-wrapper {
  position: relative;
  overflow: hidden;
}

.slider-container {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
  will-change: transform;
}

.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0px 2px 10px rgba(0,0,0,0.1);
  padding: 30px;
  width: calc(100% / 3 - 14px);
  box-sizing: border-box;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card:hover {
  transform: translateY(-10px);
  /* box-shadow: 0px 4px 20px rgba(0,0,0,0.15); */
}

.card img {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #111;
}

.card p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 20px;
}

.card-footer {
  background: #fafafa;
  margin: -30px;
  margin-top: 20px;
  padding: 20px 30px;
  border-radius: 0 0 16px 16px;
}

.card-footer a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
  font-size: 0.95rem;
}

.card-footer span {
  font-size: 1.1rem;
}

.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10;
  color: #333;
  padding: 10px;
}

.nav.prev {
  left: 0;
}

.nav.next {
  right: 0;
}

@media (max-width: 992px) {
  .card {
    width: 100%;
  }

  .slider-container {
    flex-wrap: nowrap;
  }
}


/* HOMEPAGE - Companies */

    .logo-section {
      background: url('../Images/companies.png') no-repeat center center/cover;
      padding: 60px 20px;
      color: #1a1a1a;
      text-align: center;
    }

    .logo-section h2 {
      font-size: 1.8rem;
      margin-bottom: 15px;
    }

    .logo-section h2 span {
      color: orange;
    }

    .logo-section p {
      font-size: 1rem;
      max-width: 1200px;
      margin: 0 auto 40px;
      line-height: 1.6;
      color: #333;
    }

    .logo-carousel {
      width: 100%;
      overflow: hidden;
      position: relative;
    }

    .logo-track {
      display: flex;
      gap: 50px;
      width: max-content;
      animation: scrollLoop 40s linear infinite;
    }

    .logo-track:hover {
      animation-play-state: paused;
    }

    .logo-track img {
      max-height: 100px;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      cursor: pointer;
    }

    .logo-track img:hover {
      transform: scale(1.3);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }

    @keyframes scrollLoop {
      0% {
        transform: translateX(0);
      }
      100% {
        transform: translateX(-50%);
      }
    }

    @media (max-width: 768px) {
      .logo-track {
        gap: 30px;
      }

      .logo-track img {
        max-height: 60px;
      }

      .logo-section h2 {
        font-size: 1.4rem;
      }

      .logo-section p {
        font-size: 0.95rem;
      }
    }


    /* HOMEPAGE - WHY CHOOSE US SECTION */
    
    .why-choose-us {
      position: relative;
      background: url('../Images/whychooseus_banner.png') no-repeat center center/cover;
      color: white;
      text-align: center;
      padding: 80px 20px;
      overflow: hidden;
      background-attachment: fixed;
    }

    .why-choose-us::before {
      content: '';
      position: absolute;
      top: 0; left: 0;
      width: 100%;
       height: 100%;
      backdrop-filter: blur(5px);
      /* background: rgba(0, 0, 0, 0.6);  */
      z-index: 1;
    }

    .why-choose-us-content {
      position: relative;
      z-index: 2;
      max-width: 1200px;
      margin: 0 auto;
    }

    .why-choose-us h2 {
      font-size: 2rem;
      margin-bottom: 10px;
    }

    .why-choose-us p {
      font-size: 1.1rem;
      margin-bottom: 40px;
      color: #ccc;
    }

    .stats {
      display: flex;
      justify-content: center;
      gap: 190px;
      flex-wrap: wrap;
    }

    .stat {
      text-align: center;
    }

    .stat-number {
      font-size: 3rem;
      font-weight: bold;
      color: #00aaff;
    }

    .stat-label {
      font-size: 0.9rem;
      color: #ddd;
      margin-top: 5px;
    }

    .stat-label span {
      display: block;
      font-weight: bold;
      color: #fff;
      margin-top: 5px;
      font-size: 1.4rem;
    }

    @media (max-width: 768px) {
      .why-choose-us h2 {
        font-size: 1.5rem;
      }

      .stat-number {
        font-size: 2.2rem;
      }

      .stats {
        gap: 30px;
      }
    }


    /*HOme page - Testimonial Section  */
    
 .testimonial-section {
      backdrop-filter: blur(5px);
      background-color: rgba(255, 255, 255, 0.8);
      padding: 60px 20px;
      text-align: center;
      position: relative;
      overflow: hidden;
      z-index: 1;
      /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); */
      border-radius: 15px;
      margin: 0px auto;
      max-width: 1200px;
      /* color: #333; */

    }

    .testimonial-section h2 {
      font-size: 2rem;
      font-weight: bold;
      margin-bottom: 10px;
      color: black;
    }

    .testimonial-section p {
      font-size: 1rem;
      color: #444;
      margin-bottom: 40px;
    }

    .carousel-container {
      max-width: 100%;
      overflow: hidden;
      position: relative;
      
    }

    .carousel-track {
      display: flex;
      transition: transform 0.6s ease-in-out;
    }

    .testimonial-card {
      min-width: 100%;
      display: flex;
      flex-direction: row;
      align-items: center;
      background: white;
      border-radius: 15px;
      border: 1px solid rgb(206, 205, 205);
      padding: 20px;
      margin: auto;
      /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); */
      transition: transform 0.3s ease;
    }

    .testimonial-card:hover {
      transform: scale(1.02);
      border: 1px solid rgba(206, 205, 205, 0.368);

    }

    .testimonial-logo {
      flex: 0 0 160px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .testimonial-logo img {
      max-width: 100%;
      height: auto;
    }

    .testimonial-content {
      flex: 1;
      text-align: left;
      padding-left: 20px;
    }

    .testimonial-date {
      font-size: 0.85rem;
      color: #777;
      margin-bottom: 6px;
    }

    .testimonial-title {
      font-size: 1.1rem;
      font-weight: 600;
      margin-bottom: 10px;
      color: #222;
    }

    .testimonial-message {
      font-size: 1rem;
      color: #333;
      line-height: 1.5;
    }

    @media screen and (max-width: 768px) {
      .testimonial-card {
        flex-direction: column;
        text-align: center;
      }

      .testimonial-logo {
        margin-bottom: 15px;
      }

      .testimonial-content {
        padding-left: 0;
      }
    }

    @media screen and (max-width: 480px) {
      .testimonial-title {
        font-size: 1rem;
      }

      .testimonial-message {
        font-size: 0.95rem;
      }
    }


/* Home Page - Project Banner */
.project-banner {
  position: relative;
  background-image: url('../Images/banner.png'); 
  background-size: cover;
  background-position: center;
  height: auto;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.project-overlay {
  background: rgba(255, 255, 255, 0.75);
  padding: 2rem 3rem;
  width: 100%;
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  border-radius: 8px;
}

.project-overlay h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #000;
}

.project-overlay p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: #111;
  line-height: 1.5;
  max-width: 800px;
  width: 100%;
}

.cta-button1 {
  align-self: flex-end;
  background: transparent;
  border: 2px solid #000;
  padding: 0.6rem 1.2rem;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  color: black;
  margin-top: -8%;
}

.cta-button1:hover {
  background-color: #000;
  color: #fff;
}

/* Tablets and below */
@media (max-width: 1024px) {
  .project-overlay {
    padding: 1.5rem 2rem;
    align-items: flex-start;
  }

  .cta-button1 {
    align-self: flex-start;
    width: auto;
  }
}

/* Mobile devices */
@media (max-width: 768px) {
  .project-overlay {
    align-items: center;
    text-align: center;
  }

  .project-overlay p {
    max-width: 100%;
  }

  .cta-button1 {
    align-self: center;
    width: 100%;
    margin-top: 1rem;
  }
}



