/* Reset Default Styles */
body, h1, h2, p, ul, li, a, form, input, button, img {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  
}

/* Body Styling */
body {
  font-family: 'Poppins', sans-serif;
  background-color:rgb(243, 229, 229);
  color: rgb(9, 176, 76);
  line-height: 1.6;
  overflow-x: hidden;
  transform: translate(-20px, 0px);
   
  
}


html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

section, div, footer {
  border: none; /* Border */
  box-shadow: none; /* Box-shadow */
}

/* Loader Container */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #1e2a38; /* Loader Background Color */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999; /* Ensure it stays on top */
}

/* Spinner Animation */
.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3; /* Light Border */
  border-top: 5px solid #64b5f6; /* Spinner Color */
  border-radius: 50%;
  animation: spin 1s linear infinite; /* Spin Animation */
}

/* Spin Keyframes */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.sticky-header {
   background: linear-gradient(135deg, #050c0f, #24404a, #021018);
   
 /* Header background color */
  /*background: linear-gradient(90deg, #827b4a, #61614e);*/
  
  
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2); 
  transition: all 0.3s ease;
  color: #7b8665; /* Text color */
  padding: 50px 10px; /* Adjust padding */
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 110px; /* Header height */
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 999;
  transform: translate(20px, 0px);
  
}

.sticky-header.shrink {
  height: 85px; 
  padding: 10px 20px;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 10px;
  transform: translate(-20px, 20px);
}

nav a {
  font-family: 'Montserrat', 'Roboto', sans-serif;
  color: #59f89e;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  padding: 5px 10px;
  transition: background-color 0.3s ease;
}

nav a:hover {
  background-color: #f2f7f3; /* Background color on hover */
  color: #4708f5; /* Text color on hover */
  border-radius: 4px; /* Optional: Rounded corners on hover */
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  width: 16px;
  height: auto;
}

.header-contact-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  position: absolute;
  top: 10px;
  right: 50px; /* Adjust this as needed */
}


.header-contact-info .contact-line {
  display: flex;
  align-items: center;
  gap: 5px;
}

.header-contact-info .contact-line i {
  font-size: 12px;
  color: #6af989;
}

.header-contact-info .contact-line a {
  color:white;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  transition: color 0.3s ease;
}

.header-contact-info .contact-line a:hover {
  color: #70b7ff;
}




/* Welcome Section */
#welcome {
  background: linear-gradient(120deg, #508bbc, #03303d);
  padding: 60px 20px;
  width: 100%;
  height: 100%;
  transform: translate(20px, -10px);
}

.welcome-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px; /* Space between image and text */
  max-width: 1200px;
  margin: 0 auto;
}
.welcome-image-slider {
  position: relative; /* Keep it relative or adjust based on parent */
  width: 600px;
  height: 450px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0px 4px 15px rgba(136, 155, 241, 0.2);
  margin-top: -40px; /* Instead of translate */
  margin-left: -10px;
  margin-left: auto;
  margin-right: auto; 
}


.slider-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  opacity: 0;
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

.slider-image.active {
  opacity: 1;
}
/* Text Description */
.image-description {
  position: absolute; /* Place text in a fixed location */
  bottom: 20px; /* Position at the bottom of the slider */
  width: 100%; /* Ensure it spans the slider width */
  text-align: center; /* Center-align the text */
  z-index: 2; /* Ensure it appears above the images */
  min-height: 50px; /* Reserve height to prevent layout shifts */
}

.image-description h3 {
  font-size: 15px;
  color: #f8f169;
  margin: 0;
  padding: 10px;
  border-radius: 5px;
  margin-left: 150px;  /* bam theke 20px gap */
  margin-top: -40px;  /* upore tule anar jonno */
  font-family: 'Poppins', 'Inter', sans-serif;
  /* remove flex */
  display: block;              /* default h3 display */
  text-align: left;            /* confirm left alignment */
}

/* Text Section Styling */
.welcome-text {
  flex: 1;
  width: 600px; /* Text width limit */
  
}
@keyframes fadeInSlideVertical {
  0% {
    opacity: 0;
    transform: translateY(-30px); /* Start above */
  }
  100% {
    opacity: 1;
    transform: translateY(0); /* End at original position */
  }
}

/* Keyframes for span (Horizontal Movement) */
@keyframes fadeInSlideHorizontal {
  0% {
    opacity: 0;
    transform: translateX(50px); /* Start to the right */
  }
  100% {
    opacity: 1;
    transform: translateX(0); /* End at original position */
  }
}






.welcome-text h2 {
  font-size: 28px;
  font-weight: bold;
  color: rgb(187, 252, 163);
  margin-bottom: 100px;
  margin-left: 190px;
  position: relative;
  animation: fadeInSlideVertical 2s ease-in-out; /* Vertical animation */
  opacity: 0;
  animation-fill-mode: forwards;
}
.welcome-text h2 span {
  color: #eefa40; /* Different color for the company name */
  font-size: 28px;
  font-weight: bold;
  position: relative; /* Enable independent movement */
  left: -90px; /* Move span independently */
}


.welcome-text h3 {
  font-size: 20px;
  color: rgb(228, 255, 254);
  margin-bottom: 15px;
  transform: translate(160px, -70px);
}

.welcome-text p {
  font-size: 16px;
  line-height: 1.8;
  color: white;
  margin-bottom: 20px;
  transform: translate(20px, -50px);
  font-family: 'Poppins', 'Inter', sans-serif;
}

.pagination {
  position: absolute;
  bottom: 15px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: white;
  transition: background 0.3s ease;
  transform: translate(-20px, 10px);
}

.dot.active {
  background: rgb(238, 245, 102);
}


/* Responsive Design */
@media (max-width: 568px) {
  .welcome-container {
    flex-direction: column;
    text-align: center;
  }

  .welcome-image img {
    width: 100px;
    margin-bottom: 20px;
  }

  

  .welcome-text p {
    font-size: 14px;
  }
}











/* Services Section */
#services {
  padding: 50px 20px;
  background-color:rgb(219, 222, 220);
  
  width: 100%;
  height: 100%;
  transform: translate(20px, -10px);
}

.services-header {
  text-align: center;
  margin-bottom: 40px;
}

.services-header h2 {
  font-size: 16px;
  font-weight: bold;
  color: #41fefe;
  margin-bottom: 10px;
  transform: translate(20px, -10px);
  background: linear-gradient(135deg, #252f218a, #151d13); /* Modern dark gradient */
  border: 1px solid rgba(255, 255, 255, 0.831); /* Softer semi-transparent border */
  border-radius: 15px; /* Rounded edges for a polished feel */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.8); /* Stronger shadow for depth */
  display: inline-block; /* Restrict background to text only */
  text-transform: uppercase; /* Uppercase text for formality */
  transition: all 0.3s ease; /* Smooth hover effect */
  margin: 0 auto; /* Center alignment */
  width: 150px; /* Fixed width for the text container */
  height: 35px; /* Fixed height for the text container */
  line-height: 35px; /* Vertically center the text */
  padding: 0; /* Remove extra padding since height/line-height is fixed */
}

.services-header p {
  font-size: 16px;
  color: #141313;
  max-width: 800px;
  margin: 0 auto;
  transform: translate(20px, 20px);
}

/* Services Grid */
.services-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  transform: translate(0px, 50px);
}

.service-card {
  background:  #2c3e50;
  border-radius: 8px;
  border: 1px solid #64b5f6;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 600px;
  text-align: center;
  transform: translate(0px, 0px);
  
  

}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.service-card-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.service-card-content {
  padding: 20px;
}

.service-card-content h3 {
  font-size: 20px;
  color: #75bcfe;
  margin-bottom: 15px;
}

.service-card-content p {
  font-size: 15px;
  color: #fbf9f9;
  margin-bottom: 20px;
  font-family: 'Poppins', 'Inter', sans-serif;
}

.service-card-content .service-link {
  display: inline-block;
  color: #1a73e8;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  border: 2px solid #1a73e8;
  border-radius: 20px;
  padding: 8px 16px;
  transition: background 0.3s ease, color 0.3s ease;
}

.service-card-content .service-link:hover {
  background: #1a73e8;
  color: #fff;
}


#products {
 
  
    padding: 50px 20px;
    background-color:rgb(219, 222, 220);
    
    width: 100%;
    height: 120%;
    transform: translate(20px, -10px);
  }


#products h2 {
  font-size: 16px;
  font-weight: bold;
  color: #41fefe;
  margin-bottom: 10px;
  transform: translate(00px, 20px);
  background: linear-gradient(135deg, #252f218a, #151d13); /* Modern dark gradient */
  border: 1px solid rgba(255, 255, 255, 0.831); /* Softer semi-transparent border */
  border-radius: 15px; /* Rounded edges for a polished feel */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.8); /* Stronger shadow for depth */
  text-transform: uppercase; /* Uppercase text for formality */
  transition: all 0.3s ease; /* Smooth hover effect */
  margin: 0 auto; /* Center alignment */
  width: 180px; /* Fixed width for the text container */
  height: 35px; /* Fixed height for the text container */
  display: flex; /* Enable Flexbox for alignment */
  justify-content: center; /* Horizontally center the text */
  align-items: center; /* Vertically center the text */
  line-height: 35px; /* Vertically center the text */
  padding: 0; /* Remove extra padding since height/line-height is fixed */
}




:root {
  --product-width: 320px; /* Default width of the container */
  --product-height: 350px; /* Default height of the container */
  --border-radius: 15px; /* Default border radius */
  --vertical-gap: 20px; /* Vertical gap between rows */
  --horizontal-gap: 10px; /* Horizontal gap between columns */
}

.product-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(var(--product-width), 1fr));
  row-gap: var(--vertical-gap);
  column-gap: var(--horizontal-gap);
  padding: 30px;
  transform: translate(0px, 40px);
}

.product {
  perspective: 1500px; /* Create the 3D flip effect */
  width: var(--product-width);
  height: var(--product-height);
  border-radius: var(--border-radius);
  margin: 0 auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease-in-out, box-shadow 0.6s ease-in-out;
  overflow: hidden;
}

.product:hover {
  transform: scale(1.05); /* Slight zoom effect */
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.product-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d; /* Preserve 3D space for flipping */
  transition: transform 0.4s ease-in-out;
}

.product:hover .product-inner {
  transform: rotateY(180deg); /* Flip effect */
}

.product-front,
.product-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden; /* Hide the backface */
  border-radius: var(--border-radius);
  display: flex;
  flex-direction: column; /* Stack content vertically */
  justify-content: flex-end; /* Align text and content to the bottom */
  text-align: center;
  overflow: hidden;
  border: none;
}

/* Product front styling */
.product-front {
  background:white;
  border: 1px solid #ac1c02;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.product-front img {
  width: 100%; /* Base width */
  height: 100%; /* Base height */
  object-fit: cover; /* Cover the container */
  position: absolute; /* Ensure it fills the container */
  top: 0;
  left: 0;
  z-index: 1; /* Position below the text */
  transform: scale(1.0); /* Adjust zoom level (1 = original size, >1 = zoom in, <1 = zoom out) */
  transform-origin: center; /* Set the zoom origin to the center of the image */
  transform: translate(0px, 0px);
}


.product-front h3 {
  font-size: 16px;
  font-weight: bold;
  color: #045db0;
 
  z-index: 2; /* Ensure text appears above the image */
 
  padding: 5px 10px;
  border-radius: 5px;
  position: relative; /* Stay above the image */
  margin-bottom: 10px; /* Space from the bottom */
  transform: translate(0px, 15px);
  font-family: 'Poppins', 'Inter', sans-serif;
}

/* Product back styling */
.product-back {
 
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  color: #ffffff;
  padding: 20px;
  font-size: 13px;
  line-height: 1.6;
  transform: rotateY(180deg); /* Rotate the back face */
  border-radius: var(--border-radius);
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #934393;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);

}




/* Clients Section Styling */






/* Contact Section */
#contact {
  background-color: #1e2a38;
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
  width: 100%;
  height: 100%;
  transform: translate(20px, -10.5px);
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
  
}

.contact-info {
  flex: 1 1 45%;
}

.contact-info h2 {
  font-size: 20px;
  color: #64b5f6;
  margin-bottom: 15px;
}

.contact-info p {
  font-size: 16px;
  margin-bottom: 20px;
  color: #d1d9e6;
}

.contact-info ul {
  list-style: none;
  padding: 0;
  line-height: 2;
}

.contact-info ul li {
  font-size: 16px;
  color: #d1d9e6;
}

.contact-info ul li i {
  margin-right: 10px;
  color: #ffcc00;
}

.contact-info ul li a {
  color: #64b5f6;
  text-decoration: none;
}

.contact-info ul li a:hover {
  color: #ffcc00;
}

.contact-form {
  flex: 1 1 45%;
}

.contact-form form {
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #64b5f6;
  border-radius: 5px;
  background: #2c3e50;
  color: #ffffff;
}

.contact-form button {
  padding: 10px;
  background-color: #64b5f6;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #ffcc00;
}

.contact-logo img {
  max-width: 50px; /* Ensure proper size */
  height: auto; /* Maintain aspect ratio */
  margin-bottom: 10px; /* Adjust spacing */
  display: block; /* Make sure it's displayed */
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  background-color: #1d2b3a;
  color: #ffffff;
  border: 1px solid #5caeff;
  border-radius: 8px;
  font-size: 16px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #b3c2d3;
}

.contact-form button {
  background-color: #5caeff;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s ease-in-out;
}

.contact-form button:hover {
  background-color: #3c8ed9;
}

/* ✅ Overlay */
#overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9998;
}

/* ✅ Fancy Popup */
.auto-reply-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: #012d73;
  padding: 30px 25px 20px 25px;
  border-radius: 15px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
  z-index: 9999;
  width: 90%;
  max-width: 450px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  color: #fcfcfcs;
  animation: fadeInPopup 0.5s ease forwards;
}

/* ✅ Mail Icon Animation */
.auto-reply-popup .icon {
  font-size: 50px;
  color: #4caf50;
  animation: pop 0.6s ease-out;
  margin-bottom: 10px;
}

@keyframes pop {
  0% { transform: scale(0.4); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* ✅ Fade-in */
@keyframes fadeInPopup {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.7); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* ✅ Close Button */
.close-btn {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 20px;
  color: #666;
  background: #eee;
  width: 28px;
  height: 28px;
  line-height: 28px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
}
.close-btn:hover {
  background: #ccc;
}
.contact-form textarea {
  background-color: #1d2b3a;  /* dark background */
  color: white;               /* ✅ visitor typing text will be white */
  padding: 12px 20px;
  border: 1px solid #5caeff;
  border-radius: 8px;
  font-size: 16px;
}







/* Footer Styling */
footer {
  background-color: #1e2a38;
  color: #ffffff;
  padding: 40px 20px;
  font-family: 'Poppins', sans-serif;
  width: 100%;
  height: 100%;
  transform: translate(20px, -10px);
  margin: 0;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-container > div {
  flex: 1 1 calc(33.333% - 20px);
}

.footer-about h3,
.footer-links h3,
.footer-social h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #d99a42;
  transform: translate(220px, 0px);
}

.footer-about p,
.footer-links ul li,
.footer-social a {
  font-size: 14px;
  line-height: 1.6;
  color: #d1d9e6;
  text-decoration: none;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  transform: translate(250px, 0px);
}

.footer-links ul li a {
  color: #d1d9e6;
  text-decoration: none;
}

.footer-links ul li a:hover {
  color: #ffcc00;
}

.footer-social a {
  color: #ffffff;
  margin-right: 10px;
  font-size: 18px;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #ffcc00;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #3a4856;
  padding-top: 10px;
  font-size: 12px;
  color: #9fa8b8;
  margin-top: 20px;
}


/* Footer Container */
footer {
  background-color: #1e2a38;
  color: #ffffff;
  padding: 40px 0px;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Footer Sections */
.footer-container > div {
  flex: 1 1 calc(25% - 20px); /* Responsive grid layout */
  min-width: 200px;
}

.footer-container h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #a6f2f3;
}

.footer-container p,
.footer-container a {
  font-size: 14px;
  line-height: 1.6;
  color: #e6dad1;
  text-decoration: none;
}

.footer-container a:hover {
  color: #ffcc00;
  text-decoration: underline;
}

/* Quick Links */
.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
  
}

.footer-links a {
  color: #d1d9e6;

}

/* Social Media Icons */
.footer-social .social-icons {
  display: flex;
  gap: 10px;
}

.footer-social .social-icons a {
  color: #ffffff;
  font-size: 18px;
  transition: color 0.3s ease;
}

.footer-social .social-icons a:hover {
  color: #ffcc00;
}

/* Copyright Section */
.footer-bottom {
  text-align: center;
  margin-top: 20px;
  border-top: 1px solid #3a4856;
  padding-top: 10px;
  font-size: 12px;
  color: #9fa8b8;
}


.logo {
  width: 650px;
  height: 190px;
  object-fit: contain;
  position: absolute;
  top: -20px;
  left: -220px;  /* Left aligned and responsive */
  transition: width 0.3s ease, height 0.3s ease;
}

.logo.shrink-logo {
  width: 600px;
  height: 150px;
  top: -20px;
  left: -220px; /* Same left position for consistency */
}


/* General Reset for Consistency */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border: none;
}


/* Responsive Design for Mobile */
@media (max-width: 768px) {
  
  /* Header Section */
  .sticky-header {
    height: 150px;
    padding: 10px;
    display: flex;
    align-items: center;
    text-align: center;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    
  }

  /* Adjust Logo for Mobile */
  .logo {
    width: 200px;
    height: 180px;
    margin-left: 200px;
    margin-top: 20px;
  }

  /* Navigation Adjustments */
 nav ul {
  display: flex;
  justify-content: center;  /* keeps menu centered */
  align-items: center;
  text-align: center;
  gap: 1px;                /* more space between menu items */
  list-style: none;
  padding: 0;
 margin-top: 80px;
  width: 100%;
}

  

 nav a {
  font-size: 14px;
  padding: 20px 8px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 80px; /* nav link গুলো নিচে নামবে */
}
  
 .header-contact-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px; /* use positive spacing */
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  position: absolute;     /* or relative if needed */
  right: 30px;            /* instead of transform */
  top: 20px;
}

/* Responsive Welcome Section */
#welcome {
  background: linear-gradient(120deg, #508bbc, #03303d);
  padding: 60px 20px;
  width: 100%;
  height: 100%;
  transform: translate(20px, -10px);
}

.welcome-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px; /* Space between image and text */
  max-width: 1200px;
  margin: 0 auto;
}

/* Image Slider */
.welcome-image-slider {
  position: relative;
  width: 380px;
  height: 380px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0px 4px 15px rgba(136, 155, 241, 0.2);
  transform: translate(00px, 00px);
}



.slider-image.active {
  opacity: 1;
}
/* Text Description */
.image-description {
  position: absolute; /* Place text in a fixed location */
  bottom: 20px; /* Position at the bottom of the slider */
  width: 100%; /* Ensure it spans the slider width */
  text-align: center; /* Center-align the text */
  z-index: 2; /* Ensure it appears above the images */
  min-height: 50px; /* Reserve height to prevent layout shifts */
}
.image-description h3 {
  font-size: 15px;
  color: #f8f169;
  margin: 0;
  padding: 10px;
  border-radius: 5px;
  margin-top: -510px;
  margin-left: 80px;/* একদম -500px না, responsive thakar jonno */
  font-family: 'Poppins', 'Inter', sans-serif;

}
/* Text Section Styling */
.welcome-text {
  flex: 1;
  width: 300px; /* Text width limit */
  
}
@keyframes fadeInSlideVertical {
  0% {
    opacity: 0;
    transform: translateY(-30px); /* Start above */
  }
  100% {
    opacity: 1;
    transform: translateY(0); /* End at original position */
  }
}

/* Keyframes for span (Horizontal Movement) */
@keyframes fadeInSlideHorizontal {
  0% {
    opacity: 0;
    transform: translateX(50px); /* Start to the right */
  }
  100% {
    opacity: 1;
    transform: translateX(0); /* End at original position */
  }
}






.welcome-text h2 {
  font-size: 23px;
  font-weight: bold;
  color: rgb(187, 252, 163);
  margin-bottom: 10px;
  margin-left: 00px;
  position: relative;
  animation: fadeInSlideVertical 2s ease-in-out; /* Vertical animation */
  opacity: 0;
  animation-fill-mode: forwards;
  transform: translate(00px, -530px);
}
.welcome-text h2 span {
  color: #eefa40; /* Different color for the company name */
  font-size: 23px;
  font-weight: bold;
  position: relative; /* Enable independent movement */
  left: 0px; /* Move span independently */
  transform: translate(-100px, -620px);
}


.welcome-text h3 {
  font-size: 18px;
  color: rgb(228, 255, 254);
  margin-bottom: 15px;
  transform: translate(00px, 00px);
}

.welcome-text p {
  font-size: 14px;
  line-height: 1.4;
  color: white;
  margin-bottom: 20px;
  transform: translate(00px, 00px);
  font-family: 'Poppins', 'Inter', sans-serif;
}

.pagination {
  position: absolute;
  bottom: 15px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: white;
  transition: background 0.3s ease;
  transform: translate(-20px, 10px);
}

.dot.active {
  background: rgb(238, 245, 102);
}


/* Responsive Design */
@media (max-width: 568px) {
  .welcome-container {
    flex-direction: column;
    text-align: center;
  }

  .welcome-image img {
    width: 100px;
    margin-bottom: 20px;
  }

  

  .welcome-text p {
    font-size: 14px;
  }
}




  /* Services Section */
  .services-grid {
    flex-direction: column;
    align-items: center;
  }

  .service-card {
    width: 100%;
  }

.services-header h2{ 
    transform: translate(0px, -20px);
}



.services-header p {
  font-size: 16px;
  color: #141313;
  max-width: 800px;
  margin: 0 auto;
  transform: translate(00px, 20px);
}
    
  /* Product Section */
  .product-container {
    grid-template-columns: 1fr;
  }

  .product {
    width: 100%;
  }

  /* Clients Section */
  .clients-container {
    grid-template-columns: 1fr;
  }

  .client img {
    width: 80px;
  }

  /* Team Section */
  .team-container {
    flex-direction: column;
  }

  .team-member {
    width: 100%;
  }

  /* Contact Section */
  .contact-container {
    flex-direction: column;
  }

  .contact-info, .contact-form {
    width: 100%;
    text-align: center;
  }

  /* Footer Section */
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-about h3,
.footer-links h3,
.footer-social h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #d99a42;
  transform: translate(00px, 00px);
}

.footer-about p,
.footer-links ul li,
.footer-social a {
  font-size: 12px;
  line-height: 1.6;
  color: #d1d9e6;
  text-decoration: none;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  transform: translate(00px, 00px);
}

.footer-about p {
  font-size: 12px;
  line-height: 1.6;
  color: #d1d9e6;
  text-decoration: none;
  white-space: normal; /* Ensure Normal Text Wrapping */
  word-wrap: break-word; /* Break Long Words */
  overflow-wrap: break-word; /* Ensure Wrapping Works */
  max-width: 90%; /* Ensure It Stays Within The Footer */
  margin: 0 auto; /* Center the Text */
  text-align: justify; /* Proper Alignment */
}

/* Body Styling */
body, html {
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* Horizontal Scroll বন্ধ করবে */
  overflow-y: auto; /* Vertical Scroll চালু রাখবে */
  width: 105%;
  box-sizing: border-box;
  touch-action: manipulation; /* Touch Scroll Issue Fix */
}
}







