
:root {
  --primary-color: #1A1F2C;
  --secondary-color: #186b1a;
  --text-color: #333333;
  --light-gray: #f8f9fa;
  --dark-gray: #6c757d;
}
/* Top Info Bar */
.info-bar {
  background-color: var(--secondary-color);
  color: white;
  padding: 8px 0;
  font-size: 14px;
}

.info-bar span {
  display: inline-block;
  margin: 2px 0;
}

.info-bar i {
  font-size: 16px;
  vertical-align: middle;
  margin-right: 5px;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

.text-primary-custom {
  color: var(--primary-color) !important;
}

.text-secondary-custom {
  color: var(--secondary-color) !important;
}

.bg-primary-custom {
  background-color: var(--primary-color) !important;
}

.bg-secondary-custom {
  background-color: var(--secondary-color) !important;
}

.btn-primary-custom {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: white;
  transition: all 0.3s;
}

.btn-primary-custom:hover {
  background-color: #e85d00;
  border-color: #e85d00;
  color: white;
}

.btn-outline-primary-custom {
  background-color: transparent;
  border-color: var(--primary-color);
  color: var(--primary-color);
  transition: all 0.3s;
}

.btn-outline-primary-custom:hover {
  background-color: var(--primary-color);
  color: white;
}

.nav-link {
  color: var(--primary-color);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--secondary-color);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  width: 100%;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

/* Hero Text Fade-in After Image */
.carousel-item.active .hero-content .col-lg-7 {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1s ease-out 0.8s, transform 1s ease-out 0.8s;
}

.txt-white{
  color: white;
}
.txt-yellow{
  color: red;
}

.hero-content .col-lg-7 {
  opacity: 0;
  transform: translateY(30px);
}


/* Service Cards */



.service-card {
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.service-image {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.service-card .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Vertically center */
  align-items: center;     /* Horizontally center */
  text-align: center;
  padding: 20px;
}

.service-card .card-body i {
  font-size: 30px;
  margin-bottom: 10px;
  color: #f97316; /* Optional: orange */
}

.service-card .card-body h5 {
  font-weight: 600;
  margin-bottom: 10px;
}

.service-card .card-body p {
  margin-bottom: 10px;
}

.service-card .card-body a {
  color: #f97316;
  font-weight: 500;
  text-decoration: none;
}


/* Gallery Items */
#workCarousel .gallery-item {
  overflow: hidden;
  position: relative;
  height: 250px;
  margin-bottom: 1.5rem;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.gallery-item:hover .gallery-image {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: white;
  padding: 15px;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-preview-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  flex-direction: column;
}

.gallery-preview-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.gallery-preview-content img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.gallery-preview-close {
  position: absolute;
  top: -30px;
  right: 0;
  font-size: 28px;
  font-weight: bold;
  color: white;
  cursor: pointer;
}

.gallery-preview-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 20px;
}

.gallery-nav-btn {
  background: rgba(255,255,255,0.2);
  color: white;
  border: none;
  font-size: 36px;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.3s;
}

.gallery-nav-btn:hover {
  background: rgba(255,255,255,0.5);
}

/* Testimonials */
.testimonial-card {
  transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Contact Info Box */
.contact-info-box {
  background-color: var(--primary-color);
  color: white;
  height: 100%;
}

/* Social Icons */
.social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--secondary-color);
  color: white;
  border-radius: 50%;
  transition: background-color 0.3s;
}

.social-icon:hover {
  background-color: #e85d00;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: white;
}



footer a {
  color: #adb5bd;
  text-decoration: none;
  transition: color 0.3s;
}

footer a:hover {
  color: var(--secondary-color);
  text-decoration: none;
}

.footer-icon {
  color: var(--secondary-color);
  margin-right: 10px;
}

/* Preloader */
/* #preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: #fff;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid var(--secondary-color);
  border-top-color: #fff;
  border-bottom-color: #fff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  -webkit-animation: animate-preloader 1s linear infinite;
  animation: animate-preloader 1s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
} */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 9999;
}

.logo {
  width: 120px;
  height: 120px;
  background-image: url('/assets/img/images/logo8.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  animation: swing 1.5s ease-in-out infinite;
}

@keyframes swing {
  0% { transform: rotate(0deg); }
  50% { transform: rotate(5deg); }
  100% { transform: rotate(0deg); }
}

.dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 20px;
}

.dot {
  width: 8px;
  height: 8px;
  background: #008000;
  border-radius: 50%;
  animation: bounce 1.2s infinite ease-in-out;
}

.dot:nth-child(2) { animation-delay: 0.15s; }
.dot:nth-child(3) { animation-delay: 0.3s; }
.dot:nth-child(4) { animation-delay: 0.45s; }
.dot:nth-child(5) { animation-delay: 0.6s; }

@keyframes bounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}




/* Back to Top Button */
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: var(--secondary-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.4s;
}

.back-to-top:hover {
  background: #e85d00;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/* Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.active {
  opacity: 1;
  transform: translateY(0);
}

.section-title-animation {
  position: relative;
  display: inline-block;
}

.section-title-animation::after {
  content: '';
  width: 0;
  height: 3px;
  background: var(--secondary-color);
  position: absolute;
  left: 0;
  bottom: -10px;
  transition: width 0.6s ease;
}

.section-title-animation.active::after {
  width: 80px;
}

/* Navbar Scrolled Effect */
.navbar.scrolled {
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  background: white;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .hero-section {
    min-height: 400px;
    
  }
  
  #workCarousel .gallery-item {
    height: 200px;
  }
  
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    height: 35px;
    width: 35px;
  }
  .info-bar {
    font-size: 13px;
  }
}

@media (max-width: 767px) {
  .hero-section {
    min-height: 300px;
  }
  .info-bar span {
    font-size: 12px;
  }
  .animate-on-scroll {
    transform: translateY(20px);
  }
  
  #preloader:before {
    width: 40px;
    height: 40px;
    top: calc(50% - 20px);
    left: calc(50% - 20px);
  }
  
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    height: 30px;
    width: 30px;
  }
  
  /* Make sure only one item shows on mobile */
  #workCarousel .carousel-item .row {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    /* color: red */
  }
  
  #workCarousel .carousel-item .col-md-6,
  #workCarousel .carousel-item .col-lg-4 {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  #workCarousel .carousel-item .col-md-6:not(:first-child),
  #workCarousel .carousel-item .col-lg-4:not(:first-child) {
    display: none;
  }
}

@media (max-width: 576px) {
  .hero-section {
    min-height: 250px;
  }
  .info-bar {
    font-size: 11px;
  }
  
  #workCarousel .gallery-item {
    height: 180px;
  }
  
  .back-to-top {
    width: 35px;
    height: 35px;
  }
  
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    height: 25px;
    width: 25px;
  }
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 50px;
  left: 40px;
  background-color: #25D366;
  color: white;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 100;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-float:hover {
  background-color: #128C7E;
}



/* WhatsApp Popup */
.whatsapp-popup {
  position: fixed;
  bottom: 150px;
  left: 25px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  padding: 20px;
  z-index: 1000;
  text-align: center;
  max-width: 300px;
}

.whatsapp-popup .popup-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* About us */

.about-banner {
  position: relative;
  height: 500px;
  background-image: url('public/lovable-uploads/3a73ec26-390b-4e01-98de-6750b2d57985.png');
  background-size: cover;
  background-position: center;
  color: white;
  margin-bottom: 10px;
}

.about-banner .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.banner-title {
  font-size: 4rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 2;
}
.btn.btn-primary{
  background-color: #186b1a;
    border-color: #186b1a;
}

/* Products Banner */
.products-banner {
  position: relative;
  height: 300px;
  background-image: url('public/lovable-uploads/c6a9cf33-787c-4581-b745-fb7cfe19edf0.png');
  background-size: cover;
  background-position: center;
  color: white;
  margin-bottom: 30px;
}

.products-banner .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

.banner-title {
  font-size: 4rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 2;
}

/* Product Card Styles */
.product-card {
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  margin-bottom: 20px;
}

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

.product-image {
  height: 200px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-body {
  padding: 15px;
}

.product-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #1A1F2C;
}

/* Gallery Banner */
.gallery-banner {
  position: relative;
  height: 300px;
  background-image: url('https://images.unsplash.com/photo-1518639192441-8fce0a366e2e?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
  background-size: cover;
  background-position: center;
  color: white;
  margin-bottom: 30px;
}

.gallery-banner .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

.filter-scroll-wrapper {
  display: flex;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  white-space: nowrap;
  justify-content: center;
  padding: 10px;
  gap: 10px;
  scrollbar-width: none; /* Firefox */
}

.filter-scroll-wrapper::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

/* Optional: Smooth scroll on mobile */
.filter-scroll-wrapper {
  scroll-behavior: smooth;
}

/* Responsive tweak for very small screens */
@media (max-width: 576px) {
  .filter-scroll-wrapper {
    justify-content: flex-start;
  }
}

/* Contact Banner */
.contact-banner {
  position: relative;
  height: 300px;
  background-image: url('https://images.unsplash.com/photo-1560264280-88b68371db39?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
  background-size: cover;
  background-position: center;
  color: white;
  margin-bottom: 30px;
}

.contact-banner .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

.banner-title {
  font-size: 4rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 2;
}

.gallery-item {
  margin-bottom: 30px;
}

.gallery-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  height: 300px;
  cursor: pointer;
  transition: all 0.3s ease;
  
}
.gallery-container {
  padding-left: 35px;
  padding-right: 35px;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-card:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
  color: white;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
  transform: translateY(0);
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.filter-btn.active {
  background-color: #0d6efd;
  color: white;
}

/* Contact Page Styles */
.contact-info {
  background-color: #f8f9fa;
  border-left: 4px solid #186b1a;
}

.contact-item {
  margin-bottom: 20px;
}

.form-message {
  min-height: 25px;
}

.social-links .btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-links .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Get it touch icon  */
.txt-green{
  color: #186b1a;
}


/* Responsive adjustments */
@media (max-width: 992px) {
  .about-experience {
      bottom: 10px;
      left: 10px;
  }
  
  .banner-title {
      font-size: 3rem;
  }
  
  .filter-buttons {
      flex-direction: column;
      align-items: center;
  }
  
  .filter-btn {
      width: 100%;
      max-width: 200px;
  }
}

@media (max-width: 768px) {
  #about .btn-primary {
      display: block;
      width: 100%;
    
    transform: translateY(-2px);
  }
  
  .banner-title {
      font-size: 2.5rem;
  }
  
  .about-banner, .products-banner, .gallery-banner, .contact-banner {
      height: 200px;
  }
  
  .product-card, .gallery-card {
      margin-bottom: 20px;
  }
}

/* Book Home Service - Enhanced Floating Button */
.floating-btn {
  position: fixed;
  bottom: 50px;
  right: 20px;
  background: rgb(187, 12, 12);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.4s ease;
  animation: floatButton 2s ease-in-out infinite;
}

/* Hover effect */
.floating-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  /* background: linear-gradient(135deg, #00B4DB, #3CDF84); */
}

/* Floating animation */
@keyframes floatButton {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5px);
  }
}


.service-title {
  margin-top: 10px;
  font-size: 24px;
  color: #186b1a;
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.service-title i {
  margin-right: 10px;
}

.service-description {
  font-size: 16px;
  color: #6c757d;
  margin-top: 5px;
  display: flex;
  align-items: center;
}
.service-description i {
  margin-right: 10px;
  margin-bottom: 20px;
}
.close-btn {
  margin-top: 10px;
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  color: #555;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  line-height: 36px;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.close-btn:hover {

  color: red;
}

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
}

.modal-content {
  background-color: #fefefe;
  margin: 10% auto;
  padding: 20px;
  border-radius: 10px;
  width: 80%;
  max-width: 500px;
}
.modal-content form {
  display: flex;
  flex-direction: column;
}

.modal-content input,
.modal-content select,
.modal-content textarea {
  margin: 10px 0;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.modal-content button[type="submit"] {
  background-color: #186b1a;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
}

.map-container {
  height: 300px;
  margin: 10px 0;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  /* margin-top: 20px;
  position: relative; */
}

/* Lightbox overlay */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 10px;
    right: 10px;
    color: white;
    font-size: 28px;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 50%;
    cursor: pointer;
}

/* Image Preview Modal */
.image-preview-box {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.image-preview-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.image-preview-content img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.image-preview-close {
  position: absolute;
  top: -15px;
  right: -15px;
  background: white;
  color: black;
  font-size: 24px;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
