* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-image: url("../images/bgimg.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  min-height: 100vh;
  width: 100%;
}

@media (max-width: 1024px) {
  body {
    background-color: #ffffff;
    /* white background on mobile/tablet */
    color: #000;
    
  }
}

.bodybg {
  background-color: rgba(0, 0, 0, 0.7);
  min-height: 100vh;
  width: 100%;
}

h3 {
  font-family: 'Alfa Slab One', cursive;
  font-size: 20px;
  margin: 0;
}



.navbar {
  background-color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 60px;
  flex-wrap: wrap;
  position: relative;
  z-index: 10;
}

.navlogo h3 {
  font-family: 'Alfa Slab One', cursive;
  font-size: 24px;
  font-weight: 3rem;
  margin: 0;
  color: #02944e;
}

.navmenu {
  display: flex;
  align-items: center;
}

.navmenu ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.navmenu ul li {
  font-family: 'Alegreya SC', serif;
  font-weight: 700;
  font-size: 18px;
}

.navmenu ul li a {
  text-decoration: none;
  color: #02944e;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background 0.3s ease, color 0.3s ease;
  cursor: pointer;
}

.navmenu ul li a:hover {
  background-color: rgba(154, 198, 242, 0.2);
  color: #2630f5;
}

.nav-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: #02944e;
  background: none;
  border: none;
}



@media (max-width: 768px) {
  .navbar {
    padding: 15px 20px;
  }

  .navlogo h3 {
    font-size: 20px;
  }

  .nav-toggle {
  display: block; 
  font-size: 24px;
  cursor: pointer;
  color: #02944e;
  background: none;
  border: none;
  z-index: 1001; 
  position: relative; 
}


  /* Mobile sliding menu */
  .navmenu {
    position: fixed;
    top: 0;
    right: -100%; /* Hide by default */
    width: 75%;
    height: 100vh;
    background-color: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 60px 20px 20px 20px;
    transition: right 0.3s ease-in-out;
    z-index: 999;
  }

  .navmenu.active {
    right: 0; /* Slide in when active */
  }

  .navmenu ul {
    flex-direction: column;
    width: 100%;
    padding: 0;
    gap: 20px;
  }

  .navmenu ul li {
    width: 100%;
    font-size: 16px;
  }

  .navmenu ul li a {
    width: 100%;
    display: block;
    padding: 12px 10px;
    border-bottom: 1px solid #eee;
  }
}


.homepage {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4rem 2rem;
  flex-wrap: wrap;
}

/* Section 1 (Desktop only) */
.section1 {
  flex: 1 1 45%;
  padding: 1rem;
}

.section1 .c1 {
  color: rgb(6, 158, 77);
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 1rem;
}

.pelletimg {
  display: flex;
  justify-content: left;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.pentagon-img {
  width: 130px;
  height: 100px;
  object-fit: cover;
  clip-path: polygon(50% 0%,
      100% 38%,
      82% 100%,
      18% 100%,
      0% 38%);
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

/* SECTION 1 ANIMATIONS */
.section1 {
  padding: 4rem 1rem;
  text-align: center;
  overflow: hidden;
}

.section1 .c1,
.section1 .c2,
.section1 .c3 {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease forwards;
}

.section1 .c1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0a944f;
  animation-delay: 0.2s;
}

.section1 .c2 {
  font-size: 2rem;
  font-weight: 600;
  color: #333;
  margin-top: 0.5rem;
  animation-delay: 0.5s;
}

.section1 .c3 {
  font-size: 1.1rem;
  color: #666;
  margin-top: 1rem;
  line-height: 1.6;
  animation-delay: 0.8s;
}

/* Animate images */
.pelletimg {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.pelletimg .pentagon-img {
  width: 150px;
  height: 150px;
  border-radius: 12px;
  object-fit: cover;
  opacity: 0;
  transform: scale(0.8);
  animation: zoomIn 0.8s ease forwards;
}

.pelletimg .pentagon-img:nth-child(1) {
  animation-delay: 1.1s;
}

.pelletimg .pentagon-img:nth-child(2) {
  animation-delay: 1.3s;
}

.pelletimg .pentagon-img:nth-child(3) {
  animation-delay: 1.5s;
}

/* SECTION 2 ANIMATION */
.section2 {
  text-align: center;
  margin-top: 5rem;
  opacity: 0;
  transform: translateY(50px);
  animation: fadeUp 1s ease 2s forwards;
}

.section2 img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* ANIMATION KEYFRAMES */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes zoomIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Optional: Add hover effect */
.pentagon-img:hover {
  transform: scale(1.05);
}


.section1 .c2 {
  color: #fdfafa;
  font-family: 'Archivo Black', sans-serif;
  font-style: italic;
  font-size: 3rem;
  margin: 1rem 0;
}

.section1 .c3 {
  color: #ffffff;
  font-family: 'Ubuntu', sans-serif;
  font-weight: 500;
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.5;
}

/* Section 2 (Desktop only) */
.section2 {
  flex: 1 1 45%;
  padding: 1rem;
  text-align: center;
}

.section2 img {
  max-width: 100%;
  height: 70vh;
  border-radius: 8px;
  margin-bottom: 1rem;
}

/* Section 3 (Slider - Mobile only) */
.section3 {
  display: none;
  width: 100%;
  padding: 0;
 
}

.slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  gap: 0;
}

.slider::-webkit-scrollbar {
  display: none;
}

.slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  position: relative;
}

.slide img {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: cover;
  display: block;
}

/* Responsive Styles (Tablet and below) */
@media (max-width: 1024px) {

  .section1,
  .section2 {
    display: none;
  }

  .section3 {
    display: block;
  }

  .homepage {
    flex-direction: column;
    padding: 2rem 1rem;
  }
}


@media (max-width: 1024px) {
  .section3 {
   
    color: #000;
  }

  .slide {
   
    color: #000;
  }
}
@media (max-width: 600px) {
  .slide img {
    max-height: 60vh;
  }

  .slide {
    padding: 1rem;
  }

  .slider {
    gap: 0.5rem;
  }
}


.section4 {
  max-width: 100vw;
  margin: 0 auto;
  padding: 2rem 1rem;
  background-color: #fff;
  text-align: center;
}

.section4 h3 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  color: #0a944f;
  font-weight: 700;
}

/* Service card base */
.service {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 320px;
  height: 360px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeSlideUp 0.7s forwards;
}

/* Animation delay for staggered effect */
.service:nth-child(1) {
  animation-delay: 0s;
}

.service:nth-child(2) {
  animation-delay: 0.1s;
}

.service:nth-child(3) {
  animation-delay: 0.2s;
}

.service:nth-child(4) {
  animation-delay: 0.3s;
}

.service:nth-child(5) {
  animation-delay: 0.4s;
}

.service:nth-child(6) {
  animation-delay: 0.5s;
}

.service:nth-child(7) {
  animation-delay: 0.6s;
}

.service:nth-child(8) {
  animation-delay: 0.7s;
}

.service:nth-child(9) {
  animation-delay: 0.8s;
}

.service:nth-child(10) {
  animation-delay: 0.9s;
}

.service {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}


@keyframes fadeSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 14px 35px rgba(0, 153, 80, 0.3);
  border: 1px solid #0a944f;
}

/* Image container */
.service-img {
  width: 100%;
  height: 180px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service:hover .service-img img {
  transform: scale(1.1);
}

/* Title */
.service-title {
  font-size: 1.25rem;
  color: #0a944f;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

/* Description */
.service-desc {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1.2rem;
  flex-grow: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 3.6em;
  /* approx 2 lines */
  line-height: 1.8em;
}

/* Button */
.service-btn {
  padding: 0.55rem 1.8rem;
  background-color: #0a944f;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  flex-shrink: 0;
  user-select: none;
}

.service-btn:hover {
  background-color: #08783f;
}

/* First service full width on mobile */
.first-service {
  margin-bottom: 2rem;
}


/* Services slider common styling */
.services-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 1rem;
  padding-bottom: 1rem;
  max-width: 100%;
}

.services-slider::-webkit-scrollbar {
  display: none;
}

.services-slider {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

.services-slider .service {
  flex: 0 0 80%;
  max-width: 320px;
  scroll-snap-align: start;
}

/* DESKTOP & LAPTOP: show only 2 slider rows */
@media (min-width: 768px) {
  .slider-row-3 {
    display: none;
  }

  .slider-row-1,
  .slider-row-2 {
    display: flex;
  }
}

/* MOBILE: show all 3 slider rows */
@media (max-width: 767px) {

  .slider-row-1,
  .slider-row-2,
  .slider-row-3 {
    display: flex;
  }
}

/* Tablet and smaller desktops */
@media (min-width: 768px) and (max-width: 1023px) {
  .first-service .service {
    max-width: 100%;
    margin: 0 auto 2rem;
    height: 380px;
  }

  .services-slider {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    overflow: visible !important;
    max-width: 700px;
    margin: 0 auto;
  }

  .services-slider .service {
    max-width: 100%;
    height: 360px;
  }
}

/* Mobile view */
@media (max-width: 767px) {
  .first-service .service {
    width: 100%;
    max-width: 100%;
    height: 360px;
    margin-bottom: 2rem;
  }

  .services-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    padding-bottom: 1rem;
    max-width: 100%;
  }

  /* Hide scrollbar */
  .services-slider::-webkit-scrollbar {
    display: none;
  }

  .services-slider {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .services-slider .service {
    flex: 0 0 80%;
    max-width: 300px;
    height: 320px;
    scroll-snap-align: start;
  }
}


.services-slider {
  display: contents !important;
  overflow: visible !important;
  scroll-snap-type: none !important;
}

/* Parent grid container */
.all-services {
  display: grid;
  gap: 1.5rem;
  justify-items: center;
}

/* Desktop: 3 rows × 4 columns */
@media (min-width: 1024px) {
  .all-services {
    grid-template-columns: repeat(4, 1fr);
  }

  .service {
    flex: none !important;
    max-width: 100%;
    height: 360px;
  }
}


@media (min-width: 768px) and (max-width: 1023px) {
  .all-services {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile: 6 rows × 2 columns */
@media (max-width: 767px) {
  .all-services {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }

  .service {
    max-width: 100%;
    padding: 0.8rem;
  }

  .service-title {
    font-size: 0.9rem;
  }

  .service-btn {
    padding: 0.5rem;
    font-size: 0.85rem;
  }
}

.about_us {
  background: linear-gradient(135deg, #e9f5ec, #ffffff);
  padding: 5rem 1rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  /* Add subtle fade-in animation */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate {
  opacity: 1 !important;
  transform: translateY(0) !important;
}


@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }

  from {
    opacity: 0;
    transform: translateY(20px);
  }
}

.about.container {
  max-width: 1100px;
  margin: 0 auto;
  background: #fff;
  padding: 3rem 2rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about h3 {
  font-size: 2.5rem;
  color: #0a944f;
  font-weight: 800;
  margin-bottom: 2.5rem;
  text-align: center;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3rem;
  justify-content: center;
}

.about-text {
  flex: 1 1 450px;
  font-size: 1.15rem;
  line-height: 1.7;
  color: #444;
  font-weight: 500;
}

.about-text p {
  margin-bottom: 1.4rem;
}

.btn-primary {
  display: inline-block;
  background-color: #0a944f;
  color: white;
  padding: 0.9rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 6px 15px rgba(10, 148, 79, 0.4);
  transition: all 0.4s ease;
  user-select: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: #08783f;
  box-shadow: 0 10px 25px rgba(8, 120, 63, 0.6);
  transform: translateY(-3px);
}

.about-image {
  flex: 1 1 400px;
  max-width: 450px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(10, 148, 79, 0.2);
  transition: transform 0.4s ease;
}

.about-image img {
  width: 100%;
  height: auto;           
  max-height: 500px;        
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.about-image:hover {
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    gap: 2rem;
  }

  .about-text,
  .about-image {
    flex: 1 1 100%;
    max-width: 100%;
  }
.about-image img{
  height: auto;
  max-height: 300px;
}
  .about h3 {
    font-size: 2rem;
  }
}

/*footer */
.footer {
  background-color: #fff; /* white background */
  color: #333;
  text-align: center;
  padding: 3rem 1rem 2rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.05);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.footer.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Social media icons with original brand colors */
.footer .socialmedia {
  margin-bottom: 1.5rem;
}

.footer .socialmedia i {
  font-size: 1.75rem;
  margin: 0 0.75rem;
  cursor: pointer;
  transition: transform 0.3s ease;
  display: inline-block;
}

/* Brand colors for icons */
.footer .socialmedia i.fa-facebook-f {
  color: #1877F2; /* Facebook blue */
}

.footer .socialmedia i.fa-twitter {
  color: #1DA1F2; /* Twitter blue */
}

.footer .socialmedia i.fa-instagram {
  color: #E1306C; /* Instagram pink */
}

.footer .socialmedia i:hover {
  transform: scale(1.2);
}

.footer p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
  color: #444;
}

.footer .headerlogo h3 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 1.5rem;
  color: #0a944f;
}

.footer .copyright {
  background-color: #0a944f; /* green background */
  padding: 1rem 0;
}

.footer .copyright p {
  color: #e9f5ec;
  font-size: 0.9rem;
  margin: 0;
}

/* Responsive - Mobile */
@media (max-width: 600px) {
  .footer {
    padding: 2rem 1rem 1rem;
  }

  .footer .socialmedia i {
    font-size: 1.5rem;
    margin: 0 0.5rem;
  }

  .footer p {
    font-size: 0.9rem;
    max-width: 90%;
  }

  .footer .headerlogo h3 {
    font-size: 1.5rem;
  }

  .footer .copyright p {
    font-size: 0.8rem;
  }
}

/* Container */
.contact_us {
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem;
  color: rgb(244, 202, 17);
  flex-wrap: wrap; /* For mobile responsiveness */
  align-items: flex-start;
}
.ourclient {
  flex: 1 1 50%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 1rem;
  margin-top: 2rem;
 
}

.contact {
  flex: 1 1 40%;
  display: flex;
  justify-content: center;
}

.formcont {
  width: 100%;
  max-width: 500px;
  padding: 2rem;
}
/* Our Clients Section */

.clientH1{
  width: 40%;
}
.clientH1 h3 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fafafa;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.ourclient h3 {
  margin-bottom: 1rem;
  font-size: 2rem;
  text-align: center;
}

/* Client boxes in 2x2 grid */
.ourclient {
  margin-top: 5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 1rem;

}

.ourclient .box1, .ourclient .box2, .ourclient .box3, .ourclient .box4 {
  background-color: rgb(95 93 93 / 50%);
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 0 8px rgba(0,0,0,0.4);
  transition: transform 0.3s ease;
  cursor: default;
}

.ourclient .box1:hover, .ourclient .box2:hover, .ourclient .box3:hover, .ourclient .box4:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.5);
}

/* Icon and text inline */
.ourclient div span {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ourclient i {
  font-size: 1.5rem;
  color: #00ff00; /* green icons */
}

/* Company name below the testimonial text */
.ourclient div > span:last-child {
  display: block;
  margin-top: 0.5rem;
  font-weight: 600;
  font-style: italic;
  color: #a3ffa3;
  text-align: right;
}

/* Contact Form */
.contact {
  display: flex;
  justify-content: center;
  width: 50%;
}

.formcont {
  flex: 1 1 320px; /* Reduced width */
  max-width: 60%;
  padding: 2rem ;
  border-radius: 10px;
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
  background-color: rgba(0, 0, 0, 0.5);
  margin: 0 auto;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .formcont {
    flex: 1 1 100%;
    padding: 1.5rem;
  }
}
.contact form {
  display: flex;
  flex-direction: column;
}

.form-group {
  margin-bottom: 1.2rem;
}

/* Transparent inputs with subtle white border */
.form-control {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  padding: 0.75rem 1rem;
  border-radius: 5px;
  color: white;
  font-size: 1rem;
  transition: border-color 0.3s ease;

}
input.form-control {
  color: #f7f7f7;  
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.form-control:focus {
  outline: none;
  border-color: white;
  background-color: rgba(248, 244, 244, 0.1);
}

/* Submit button - transparent with white border */
.btn-submit {
  background-color: rgb(232, 41, 41);
  color: white;
  padding: 10px 15px;
  border: 2px solid white;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-submit:hover {
  background-color: white;
  color: #0e0d0d; /* dark text on hover */
}

/* Animation Keyframes */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll Animation */
.scroll-animation {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease-out;
}

.scroll-animation.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
/* Ensure contact form and clients section stack on mobile */
@media (max-width: 768px) {
  .contact_us {
    flex-direction: column;
    padding: 1rem;
  }

  .ourclient, .contact {
    flex: 1 1 100%;
  }

  .ourclient {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 2rem;
  }

  .formcont {
    width: 100%;
    max-width: 100%;
    padding: 1rem;
    margin-top: 2rem;
  }
}
@media (max-width: 480px) {
  .ourclient {
    grid-template-columns: 1fr;
  }
}


/* Improve Our Clients heading */
.clientH1 {
  width: 100%;
  text-align: center;
  margin-bottom: 1rem;
}

.clientH1 h3 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #fafafa;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.5rem;
}

/* Add spacing between boxes and heading */
.ourclient {
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 1rem;
}

/* Ensure .contact is always centered properly */
.contact {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.scroll-animation {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease-out;
}

.scroll-animation.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Container */
.supllierdetail {
  background-color: rgb(245, 245, 245);
  padding: 3rem;
  width: 100%;
  height: auto;
}

.productspage {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  height: auto;
  padding-bottom: 2rem;
}

/* Image Section */
.machineimages {
  background-color: #f0f0f0;
  flex: 1 1 48%;
  padding: 1rem;
  border-radius: 10px;
}

.machineimages h3 {
  text-align: center;
  margin-bottom: 1rem;
}

/* Image slider */
.images-slider {
  overflow: hidden;
  border-radius: 10px;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease;
}

.slider-track img {
  width: 100%;
  max-width: 100%;
  object-fit: cover;
  height: 300px;
  margin-right: 1rem;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.slider-track img:hover {
  transform: scale(1.05);
  cursor: pointer;
}

/* Description Section */
.machinedescription {
  background-color: #fafafa;
  flex: 1 1 48%;
  padding: 1rem;
  border-radius: 10px;
}

.machinedescription h3 {
  text-align: center;
  margin-bottom: 1rem;
}

.description-text {
  font-size: 1rem;
  line-height: 1.6;
  padding: 0 1rem;
}

.description-text ul {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

.description-text ul li {
  margin-bottom: 0.5rem;
}

/* Button */
/* ======== Main Section Styling ======== */
.supllierdetail {
  background-color: #fff;
  padding: 2rem;
  width: 100%;
  height: auto;
}

/* Flex Container */
.productspage {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

/* ======== Image Section ======== */
.machineimages {
  flex: 1 1 48%;
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 1rem;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.machineimages h3 {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #333;
}

/* Slider Container */
.slider {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.slider-wrapper {
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.slider-track img {
  flex: 0 0 100%;
  max-width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}


.slider-track img:hover {
  transform: scale(1.02);
  cursor: pointer;
}

/* Slider Buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.3s ease;
}

.slider-btn:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.slider-btn.prev {
  left: 15px;
}

.slider-btn.next {
  right: 15px;
}

/* ======== Description Section ======== */
.machinedescription {
  flex: 1 1 48%;
  background-color: #f0f7f4;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}


.machinedescription h3 {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.description-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  padding: 0 1rem;
}

/* .description-text ul {
  padding-left: 1rem;
  margin-top: 1rem;
  list-style: none;
} */

/* .description-text ul li::before {
  content: "✔️ ";
  margin-right: 0.5rem;
  color: green;
} */

/* Enquire Button */
.supplierbtn {
  text-align: center;
  margin-top: 2rem;
}

.enquire-btn {
  padding: 0.75rem 2rem;
  background-color: #007bff;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.enquire-btn:hover {
  background-color: #0056b3;
  transform: scale(1.05);
  cursor: pointer;
}

/* ======== Responsive Design ======== */
@media (max-width: 992px) {
 .slider-track img {
    height: 280px;
  }
}

@media (max-width: 768px) {
  .productspage {
    flex-direction: column;
  }

  .machineimages, .machinedescription {
    flex: 1 1 100%;
  }

  .slider-track img {
    height: 250px;
  }

  .description-text {
    padding: 0;
  }

  .enquire-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .slider-track img {
    height: 200px;
  }
  .machineimages h3,
  .machinedescription h3 {
    font-size: 1.2rem;
  }

  .enquire-btn {
    font-size: 0.95rem;
  }
}
/* Supplier List Section */
.supplierList {
  padding: 4rem 2rem;
  background-color: #f8f9fa;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-align: center;
}

.supplierList h3 {
  font-size: 2rem;
  color: #0a944f;
  margin-bottom: 2rem;
  font-weight: 700;
}

/* Supplier Table Container */
.suppliertable {
  max-width: 1200px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  height: auto;
  transition: all 0.3s ease-in-out;
}

/* Optional loading animation or placeholder */
.suppliertable::before {
  content: "Loading suppliers...";
  display: block;
  color: #888;
  font-style: italic;
  font-size: 1rem;
}

/* If data is loaded, you can remove this via JS: */
.suppliertable.loaded::before {
  content: "";
}
/* readmore readless style*/
/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px; /* You can change to left: 20px for left side */
  z-index: 9999;
  background-color: #25d366;
  border-radius: 50%;
  padding: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.whatsapp-float img {
  width: 40px;
  height: 40px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}
 /* Map */
 .map-container {
  position: relative;
  width: 100%;
  padding-bottom: 30%;
  overflow: hidden;
  border-radius: 10px;
  margin-top: 2rem;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  border: 0;
}

/* Tablet */
@media (max-width: 1024px) {
  .map-container {
    padding-bottom: 45%; 
  }
}

/* Mobile */
@media (max-width: 767px) {
  .map-container {
    padding-bottom:45%;
    border-radius: 8px;
  }
}

/* 🌿 MOBILE OPTIMIZATION FIXES (SAFE, NON-INTRUSIVE) */
@media (max-width: 767px) {

  /* General scaling */
  body {
    font-size: 14px;
    overflow-x: hidden;
  }

  h1, h2, h3, h4, h5 {
    font-size: clamp(1rem, 4vw, 1.4rem);
  }

  p, li, a, span {
    font-size: 0.9rem;
  }

  img, video, iframe {
    max-width: 100%;
    height: auto;
  }

  /* Navbar */
  .navbar {
    padding: 10px 15px;
  }
  .navmenu ul li a {
    font-size: 1rem;
    padding: 10px;
  }

  /* Hero & Section spacing */
  
  .about_us,
  .contact_us,
  .supllierdetail,
  .supplierList {
    padding: 1rem 1rem;
  }

  /* Service cards */

  .service-desc {
    font-size: 0.85rem;
  }

  /* About section */
  .about-text {
    font-size: 0.9rem;
  }
  .about h3 {
    font-size: 1.5rem;
  }

  .clientH1 h3 {
    font-size: 1.8rem;
  }
  .formcont {
    max-width: 100%;
    padding: 1rem;
  }

  /* Supplier detail page */
  .machineimages h3,
  .machinedescription h3 {
    font-size: 1.1rem;
  }
  
  .enquire-btn {
    font-size: 0.9rem;
    width: 100%;
  }

  /* Footer */
  .footer p {
    font-size: 0.85rem;
  }
  .footer .headerlogo h3 {
    font-size: 1.2rem;
  }

  /* WhatsApp button */
  .whatsapp-float {
    bottom: 15px;
    right: 15px;
  }
  .whatsapp-float img {
    width: 35px;
    height: 35px;
  }
}





