    /* Reset & Base */
    * { margin: 0; padding: 0; box-sizing: border-box;  font-family: 'Poppins', sans-serif; }
    html {
      scroll-behavior: smooth;
    }
    body { color: #1f2937; line-height: 1.6; }
    a { text-decoration: none; color: inherit; }
    ul { list-style: none; }


/* --------------------------all page navbar----------------------------- */
    /* Top Contact Bar */
    .top-bar { border-bottom:1px solid #a9a9a9;  color: #858688; padding: 0.5rem 2rem; display: flex; justify-content: flex-end; font-size: 0.9rem; gap: 2rem; }
    .top-bar a { color: #057981; }
/* Top Contact Bar */

/* Navbar */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: white;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.logo img {
  width: 100px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  font-weight: 400;
  color: #858688;  
}

.nav-links a {
  text-decoration: none;
  color: #858688;  
}

.nav-links a:hover {
  color:#057981;
}

.menu-btn {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: white;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 2rem;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.5s ease;
  pointer-events: none;
  z-index: 2000;
}

.close-btn {
  font-size: 2.5rem;
  font-weight: bold;
  align-self: flex-end;
  cursor: pointer;
  color: #858688;  
  transition: color 0.3s;
}

.close-btn:hover {
  color: #057981;
}

.mobile-menu.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu a {
  font-size: 1.2rem;
  text-decoration: none;
  color: #858688;  
  font-weight: 500;
  transition: color 0.3s;
  border-bottom:#a9a9a9 1px solid;
}

.mobile-menu a:hover {
  color: #057981;
}
/* Navbar */
/* --------------------------all page navbar----------------------------- */

/* --------------------------Home page----------------------------- */
/* hero */
#hero {
  position: relative;
  width: 100%;
  height: 80vh;
}

.carousel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}

.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.slide-text {
  position: relative;
  z-index: 1;
  text-align: center;
}

.slide h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.slide p {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.btn-primary {
  background-color: #057981;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 1.5rem;
}

.dots {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
  z-index: 2;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: rgba(255,255,255,0.5);
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
}

.dot.active {
  background-color: #057981;
}
/* Hero */
/* About */
.about{
  margin: 5rem auto;
  text-align: center;
}
.about h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1f2937;
  letter-spacing: 1px;
  padding-bottom: 0.5rem;            /* Space between text and border */
  border-bottom: 4px solid #057981;  /* Blue underline for accent */
  display: inline-block;             /* So border only spans the text */
}
.about h2 {
  position: relative;
}



.about p {
  font-size: 1.125rem;      /* Slightly larger than default for readability */
  line-height: 1.8;         /* Comfortable spacing between lines */
  color: #858688;            /* Soft dark gray for professional feel */
  text-align: center;        /* Centered under the heading */
  max-width: 700px;          /* Prevents overly long lines */
  margin: 1rem auto 0 auto;  /* Space above and auto horizontal centering */
}

/* About */
/* Core Values */
.core-values {
  width: 90%;
  margin: 5rem auto;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.core-values h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 3rem;
  display: inline-block;
  padding-bottom: 0.5rem;
  border-bottom: 4px solid #057981;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2.5rem;
}
.card {
  background: #ffffff;
  padding: 2rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #057981;
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #1f2937;
}

.card p {
  font-size: 1rem;
  color:#858688;
  line-height: 1.6;
}
.card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #057981;
}

/* Core Values */


/* services */
.services-section {
  padding: 3rem 2rem;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  width: 100%;
  margin: 5rem auto;
}

.services-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 3rem;
  border-bottom: 4px solid #057981;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
}

.service-card {
  background: white;
  padding: 2rem 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 25px rgba(0,0,0,0.15);
}

.service-icon {
  font-size: 3rem;
  color: #057981;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 1rem;
  color: #4b5563;
}
.services-footer {
  margin-top: 3rem;
  text-align: center;
}

.btn-primary {
  display: inline-block;
  background-color: #057981;
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-primary:hover {
  background-color: #025f63;
  transform: translateY(-3px);
}

/* services */

/* clients */
.clients-section {
  background-image: url('../images/client-bg.webp'); /* Correct relative path */
  background-size: cover;       /* Make the image cover the entire section */
  background-position: center;  /* Center the image */
  background-repeat: no-repeat; /* Do not repeat the image */
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  color: #fff; /* Optional: make text white if image is dark */
}


/* Optional: add overlay for better contrast */
.clients-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8); /* semi-transparent overlay */
  z-index: 0;
}

.clients-section > * {
  position: relative;
  z-index: 1; /* make sure text and slider appear above overlay */
}


.clients-section h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.clients-section p {
  font-size: 1.1rem;
  margin-bottom: 3rem;
  color: #fff;
}
.client img{
  width: 100%;
}
/* Clients Slider Wrapper */
.clients-slider-wrapper {
  overflow: hidden;       /* hides scrollbars */
  position: relative;
  max-width: 90%;        /* full width */
  margin: 2rem auto;
  padding: 1rem 0;
}

/* Slider Row */
.clients-slider {
  display: flex;
  gap: 2rem;
  width: max-content;     /* prevents shrink */
  animation: slide 120s linear infinite; /* auto scroll */
}

/* Each Client Logo Card */
.client {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 100px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* Logo Images */
.client img {
  max-width: 100%;
  max-height: 80px;
}

/* Animation */
@keyframes slide {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .client {
    width: 140px;
    height: 80px;
  }
  .clients-slider {
    gap: 1rem;
    animation-duration: 80s; /* faster on small screens */
  }
}

@media (max-width: 480px) {
  .client {
    width: 120px;
    height: 70px;
  }
  .clients-slider {
    gap: 0.5rem;
    animation-duration: 80s;
  }
}

/* clients */

/* client top */
.contact-top {
  padding: 2rem 2rem;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  width: 80%;
  margin: 5rem auto;
}

.contact-top h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 3rem;
  border-bottom: 4px solid #057981;
  display: inline-block;
  padding-bottom: 0.5rem;
}


.contact-top p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.contact-top .btn-primary {
  background-color:#025f63;
  color: #fff;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-top .btn-primary:hover {
  background-color: #10b981;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
/* client top */
/* --------------------------Home page----------------------------- */
/* --------------------------all page footer----------------------------- */
/* Footer*/
/* Footer Section */
.footer-section {
  background-color: #414040; /* dark background */
  color: #fff;
  padding: 4rem 2rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col {
  flex: 1 1 300px;
}

.footer-col h3 {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #fff; /* accent color */
  border-bottom:#025f63 1px solid;
}

.footer-col p, 
.footer-col a {
  font-size: 0.95rem;
  color: #fff;
  line-height: 30px;
  text-decoration: none;
}

.footer-col a:hover {
  color: #10b981;
}
.footer-bottom {
  background-color: #fff;
  color: #414040;
  padding: 1.5rem 2rem;
  font-size: 0.9rem;
}

.footer-bottom-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-bottom .social-icons a {
  color: #414040;
  margin-left: 1rem;
  font-size: 1.2rem;
  transition: color 0.3s;
}

.footer-bottom .social-icons a:hover {
  color: #057981;
}

.footer-bottom-text {
  text-align: center;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #414040;
}

/* footer */
/* --------------------------all page footer----------------------------- */

/* --------------------------all page responsiveness----------------------------- */
/* Responsive */
@media (max-width: 768px) {
  .menu-btn { display: block; }
  .nav-links { display: none; }
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    flex-direction: column;
    text-align: center;
  }

  .footer-grid {
    flex-direction: column;
    gap: 2.5rem;
  }

  .footer-col {
    flex: 1 1 100%;
  }

  .footer-bottom-top {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-bottom .social-icons {
    margin-top: 0.5rem;
  }

  .footer-bottom .social-icons a {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
  }

  .footer-bottom-text {
    margin-top: 1rem;
  }
  .why-choose-us .container {
    flex-direction: column;
  }
  .why-choose-us .text-content,
  .why-choose-us .image-content {
    flex: 1 1 100%;
  }
  .why-choose-us h2 {
    font-size: 2rem;
  }
  .fleet-section h2 {
    font-size: 1.8rem;
  }
  .fleet-card {
    padding: 20px 15px;
  }
  .service-card, .fleet-card{
    width:300px!important
  }
}

@media (max-width: 480px) {
  .footer-col h3 {
    font-size: 0.95rem;
  }
  .slide h1, .slide p, .about {
padding:0 20px;
  }
  .image-content{
    display:none
  }
  .footer-col p,
  .footer-col a {
    font-size: 0.9rem;
    line-height: 25px;
  }

  .footer-bottom {
    font-size: 0.85rem;
    padding: 1rem 1.5rem;
  }

  .footer-bottom .social-icons a {
    font-size: 1rem;
  }
  .fleet-section h2 {
    font-size: 1.5rem;
  }
  .fleet-card h3 {
    font-size: 1.2rem;
  }
  .fleet-card p,
  .fleet-card ul li {
    font-size: 0.85rem;
  }
  .truck-gallery-card img {
    height: 150px;
  }
  .service-card{
    width:350px!important
  }
  .fleet-card{
    width:330px!important;
    margin:0 auto 0 -25px;
  }
}
/* Responsive */
/* --------------------------all page responsiveness----------------------------- */
/* --------------------------About Page----------------------------- */
/* mini hero */
.mini-hero {
  width: 100%;
  height: 300px; /* adjust height as needed */
  background-image: url('../images/hero-image.webp'); /* replace with your image path */
  background-size: cover;       /* makes image cover the entire section */
  background-position: center;  /* centers the image */
  background-repeat: no-repeat; /* prevents repeating */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff; /* text color */
}

.mini-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* optional overlay for readability */
  z-index: 0;
}

.mini-hero .hero-content {
  position: relative;
  z-index: 1; /* ensures content appears above overlay */
}

.mini-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.mini-hero p {
  font-size: 1.25rem;
}
/* mini hero */
/* why choose us */
.why-choose-us {
  padding: 3rem 2rem;
  margin:0 auto;
}

.why-choose-us .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.why-choose-us .text-content {
  flex: 1 1 500px;
}

.why-choose-us h2 {
  font-size: 2.3rem;
  color: #1f2937;
  margin-bottom: 1.5rem;
  border-bottom: 4px solid #057981;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.why-choose-us p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #555;
}

.why-choose-us .image-content {
  flex: 1 1 500px;
  text-align: center;
}

.why-choose-us .image-content img {
  max-width: 100%;
  border-radius: 12px;
}
/* why choose us */


/* --------------------------About Page----------------------------- */
/* --------------------------Services Page----------------------------- */
.service-card ul {
  padding-left: 0; /* remove default padding */
  margin-top: 1rem;
  list-style:square; /* remove default bullets */
  text-align: left;
  padding-left:15px ;
}

.service-card ul li {
  position: relative;
  margin-bottom: 0.6rem;       /* space between items */
  font-size: 0.8rem;
  color: #4b5563;
  line-height: 1.5;
  text-align: left;
  
        /* space for icon */
}

/* why choose us */


.why-choose-uss .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: 60%;
  margin: 0 auto;
  flex-wrap: wrap;
}



.why-choose-uss h2 {
  font-size: 2.3rem;
  color: #1f2937;
  margin-bottom: 1.5rem;
  border-bottom: 4px solid #057981;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.why-choose-uss p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #555;
}



.why-choose-uss .image-content img {
  max-width: 100%;
  border-radius: 12px;
}

/* --------------------------Services Page----------------------------- */
/* --------------------------vehicles Page----------------------------- */
/* Fleet Section */
.fleet-section {
  margin: 5rem auto;
  text-align: center;
}

.fleet-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 3rem;
  border-bottom: 4px solid #057981;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.fleet-section p {
  max-width: 800px;
  margin: 0 auto 30px auto;
  line-height: 1.7;
  color: #555;
  font-size: 1rem;
  text-align: center;
}

/* Fleet Grid */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 70%;
  margin: 0 auto 70px auto;
}

/* Fleet Cards */
.fleet-card {
  background-color: #fff;
  padding: 25px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.fleet-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.fleet-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center!important;
  gap: 10px;
  text-align: center!important;
}

.fleet-card p {
  font-size: 0.95rem;
  margin-bottom: 15px;
  color: #555;
}

.fleet-card ul {
  list-style-type: none;
  padding-left: 20px;
  color: #444;
  font-size: 0.9rem;
}

.fleet-card ul li {
  margin-bottom: 8px;
}

/* Truck Gallery Section */
.truck-gallery-section {
  margin: 5rem auto;
  text-align: center;
}

.truck-gallery-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 3rem;
  border-bottom: 4px solid #057981;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.truck-gallery-section p {
  max-width: 700px;
  margin: 0 auto 40px auto;
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
}

/* Gallery Grid */
.truck-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  max-width: 70%;
  margin: 0 auto;
}

/* Gallery Cards */
.truck-gallery-card {
  background-color: #f9f9f9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.truck-gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.truck-gallery-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.truck-gallery-card p {
  margin: 15px 0;
  font-size: 1rem;
  color: #333;
}



/* --------------------------vehicles Page----------------------------- */

/* --------------------------contact Page----------------------------- */

/* Contact Hero */
.contact-hero {
  background: url('../images/contact-hero.webp') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 6rem 2rem;
}
.contact-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.contact-hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Contact Section */
.contact-section {
  padding: 4rem 2rem;
}
.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
}
.contact-info, .contact-form {
  flex: 1 1 300px;
}
.contact-info h2 {
  margin-top: 1rem;
  font-size: 1.2rem;
  border-bottom: 2px solid #025f63;
  display: inline-block;
  margin-bottom: 0.5rem;
}
.contact-info p, 
.contact-info a {
  font-size: 1rem;
  color: #333;
  line-height: 1.8;
  display: block;
}
.contact-info i {
  color: #025f63;
  margin-right: 0.5rem;
}

/* Contact Form */
.contact-form h2 {
  margin-bottom: 1rem;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.4rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}
.contact-form button {
  background: #025f63;
  color: #fff;
  border: none;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  margin-top:-20px
}
.contact-form button:hover {
  background: #038b92;
}

/* Map Section */
.map-section iframe {
  display: block;
  width: 100%;
  border: none;
  margin-top: 2rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }
}

/* --------------------------contact Page----------------------------- */
/* --------------------------back to top----------------------------- */
/* Back to Top Button */
#backToTop {
  position: fixed;
  bottom: 90px; /* just above WhatsApp */
  right: 30px;
  z-index: 1000;
  background-color: #057981;
  color: #fff;
  border: none;
  outline: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: none; /* hidden by default */
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: background 0.3s, transform 0.3s;
}

#backToTop:hover {
  background-color: #025f63;
  transform: translateY(-3px);
}
/* --------------------------back to top----------------------------- */
/* --------------------------page loader----------------------------- */


/* Full-screen overlay */
#page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff; /* loader background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Spinner */
.loader {
  border: 8px solid #f3f3f3; /* light gray */
  border-top: 8px solid #057981; /* main color */
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
}

/* Spin animation */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Fade out effect */
#page-loader.fade-out {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s, visibility 0.5s;
}
/* --------------------------page loader----------------------------- */
/* --------------------------cookies banner----------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(50px);
  background: #057981;
  color: white;
  padding: 1rem 2rem;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s;
  max-width: 90%;   /* Prevents banner from overflowing */
  flex-wrap: wrap;  /* Allows text + button to stack if needed */
}

.cookie-banner.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.cookie-banner.hide {
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(50px);
}

.cookie-banner p {
  margin: 0;
  font-size: 0.9rem;
  flex: 1;  /* Make text take remaining space */
}

.btn-cookie {
  background: #fff;
  color: #057981;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  white-space: nowrap; /* Prevents button text breaking */
}

.btn-cookie:hover {
  background: #e0e0e0;
}

/* ✅ Mobile optimization */
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column; /* Stack text & button */
    text-align: center;
    padding: 1rem;
    gap: 0.8rem;
  }

  .cookie-banner p {
    font-size: 0.85rem;
  }

  .btn-cookie {
    width: 100%; /* Full width button for mobile */
    padding: 0.7rem;
  }
}


/* --------------------------cookies banner----------------------------- */
/* --------------------------terms----------------------------- */
.terms-section {
  padding: 4rem 2rem;
  color: #1f2937;
  font-family: Arial, sans-serif;
  line-height: 1.7;
  text-align: center;
}

.terms-section h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #057981;
}

.terms-section h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #025f63;
}

.terms-section p {
  margin-bottom: 1rem;
  font-size: 1rem;
}



/* --------------------------terms----------------------------- */

/* --------------------------404----------------------------- */
.error-404-section {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100vh;
  padding: 2rem;
  background: #f9f9f9;
  color: #1f2937;
  font-family: Arial, sans-serif;
}

.error-content h1 {
  font-size: 8rem;
  font-weight: 700;
  color: #057981;
  margin: 0;
}

.error-content h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin: 1rem 0;
  color: #025f63;
}

.error-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn-primary {
  display: inline-block;
  background-color: #057981;
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background-color: #025f63;
}

.error-links {
  margin-top: 1.5rem;
}

.error-links a {
  color: #057981;
  text-decoration: none;
  margin: 0 0.5rem;
}

.error-links a:hover {
  text-decoration: underline;
}

/* --------------------------404----------------------------- */

/* --------------------------whatsapp----------------------------- */
.whatsapp-float {
  position: fixed;
  width: 50px;
  height: 50px;
  bottom: 30px; /* at bottom */
  right: 30px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 26px;
  line-height: 50px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  z-index: 1000;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  opacity: 0.9;
}

/* --------------------------whatsapp----------------------------- */


/* --------------------------blog posts----------------------------- */
.blog-section {
  margin: 5rem auto;
  text-align: center;
  width:80%;
}

.blog-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #1f2937;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.blog-post {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s;
}

.blog-post:hover {
  transform: translateY(-5px);
}

.blog-post img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-post h3 {
  font-size: 1.5rem;
  margin: 1rem;
  color: #1f2937;
}

.blog-post p {
  padding: 0 1rem 1rem;
  color: #374151;
}

.read-more {
  display: inline-block;
  margin: 0 1rem 1rem;
  color: #057981;
  text-decoration: none;
  font-weight: 600;
}

.read-more:hover {
  text-decoration: underline;
}
/* --------------------------blog posts----------------------------- */