@import url("https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700");

* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
  font-family: "Poppins" !important;
  cursor: default;
}

:root {
  --lightgolden: #f3dfba !important;
  /* --secondary: #51C2E6; */
  --secondary: #2493b2;
  --primary: #000;
  --dark: #212529;
}

a {
  text-decoration: none;
}

h2,
h3,
h4,
h5,
h6 {
  color: var(--primary);
}

body {
  /* background-color: #F2FDF1; */
  background-color: #f9f9f9;
  color: #000;
}

.btn {
  background-color: #fff;
  color: var(--secondary); /* Use your secondary color */
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.btn:hover {
  background-color: #eee;
  color: var(--primary);
}

.pulse-button {
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.9);
  }
  50% {
    transform: scale(1);
    box-shadow: 0 0 25px 25px #007bff00;
  }
  100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
  }
}

.btn1 {
  padding: 8px 16px;
  border: 2px solid var(--secondary);
  background-color: var(--secondary);
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 30px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn1:hover {
  background: var(--primary);
  color: #fff;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
  padding: 3rem 1rem;
  text-shadow: 2px 2px #000;
}
@media (max-width: 767px) {
  .banner-content {
  padding: 0rem 1rem;
}
}

.heading {
  font-weight: 700;
  margin-bottom: 1rem;
}
/**************** counter section  ******************/
.icon-box {
  flex: 0 0 25%;
  max-width: 25%;
  padding: 10px;
}

.icon-img {
  width: 80px;
  border-radius: 50%;
  border: 1px solid;
  padding: 5px; /* <-- this adds space between image and border */
  background: #fff; /* optional: background color to fill padding space */
  box-sizing: border-box; /* important to make padding not mess with width */
}
.icon-text {
  font-weight: 600;
  font-size: 14px;
  line-height: 1.3;
}

/* On mobile screens */
@media (max-width: 767px) {
  .icon-box {
    flex-basis: 50%; /* Each icon takes 50% of the width */
    max-width: 50%; /* Ensure max-width is 50% for two columns */
  }

  .icon-img {
    width: 60px;
    border-radius: 50%;
    border: 2px var(--primary);
    padding: 5px; /* <-- this adds space between image and border */
    background: #fff; /* optional: background color to fill padding space */
    box-sizing: border-box; /* important to make padding not mess with width */
  }

  .icon-text {
    font-size: 11px; /* slightly smaller text */
  }
}

/*************** iterior solution*****************/
.carousel-wrapper {
  position: relative;
  padding: 40px 0;
}

.card-item {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.card-item:hover {
  transform: translateY(-5px);
}

.card-img {
  width: 100%;
  height: auto;
  display: block;
}

.card-text-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 20px;
  border-top: 1px solid #eee;
  text-align: center;
}

.card-text-row h4 {
  font-size: 1rem;
  margin: 0;
  font-weight: 600;
  color: #333;
}

.card-text-row p {
  font-size: 0.875rem;
  color: #666;
  margin: 8px 0 12px; /* Add some space between p and button */
}

/* Optional: Center the button */
.card-text-row .btn1 {
  margin-top: 8px;
}

/* Custom Nav Buttons */
.custom-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  width: 48px;
  height: 48px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.custom-nav:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.left-nav {
  left: -20px;
}

.right-nav {
  right: -20px;
}

.arrow {
  font-size: 22px;
  color: #1a1a1a;
  display: block;
  line-height: 48px;
  text-align: center;
}

/* Hide elements on screens smaller than 768px */
@media (max-width: 767.98px) {
  .left-nav,
  .right-nav,
  .arrow {
    display: none !important;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .card-body {
    padding: 16px;
  }

  .card-text-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .custom-nav {
    width: 40px;
    height: 40px;
  }

  .arrow {
    font-size: 18px;
    line-height: 40px;
  }

  .left-nav,
  .right-nav {
    top: auto;
    bottom: -20px;
    transform: none;
  }
}
/**************** how it works ***************/
.how-it-works .step {
  position: relative;
  margin-bottom: 40px;
}
.how-it-works .icon-wrap {
  position: relative;
  display: inline-block;
}
.how-it-works .icon-wrap img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #fff;
  z-index: 2;
}
.how-it-works .line {
  border-bottom: 1px dashed grey;
  position: absolute;
  width: 2px;
  height: 65px;
  background: #ccc;
  top: 125px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

/* Remove line from last item */
.how-it-works .step:last-child .line {
  display: none;
}

/* Desktop: horizontal layout */
@media (min-width: 768px) {
  .how-it-works .row {
    flex-wrap: nowrap;
  }

  .how-it-works .step {
    margin-bottom: 0;
  }

  .how-it-works .icon-wrap {
    display: block;
    margin-bottom: 10px;
  }

  .how-it-works .line {
    border-bottom: 2px dashed grey;
    width: 15vw; /* Responsive width */
    height: 2px;
    background: transparent;
    top: 50%;
    left: 70%;
    transform: translateY(-50%);
  }

  .how-it-works .step:last-child .line {
    display: none;
  }
}
/************** service section ******************/
.services-section {
  padding: 60px 20px;
  text-align: center;
}

.services-section h2 {
  font-weight: bold;
  margin-bottom: 40px;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Mobile view: 2 per row */
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr); /* Desktop: 4 per row */
  }
}

.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: transform 0.3s ease;
}

.service-item:hover {
  transform: translateY(-6px);
}

.service-item img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.service-item h3 {
  font-size: 16px;
  font-weight: 600;
  color: #222;
  margin: 0;
}
/***************** cta 3 ********************/
.cta-section {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)),
    url("assets/cta-03.jpg") center/cover no-repeat fixed;
  height: 250px;
  display: flex;
  align-items: center;
}

.cta-heading {
  color: #fff;
  text-shadow: 2px 2px #000;
  font-weight: bold;
  margin-bottom: 20px;
}

.cta-buttons a.btn1 {
  background-color: #fff;
  color: var(--secondary); /* Use your secondary color */
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-buttons a.btn1:hover {
  background-color: #eee;
  color: #000;
}

.cta-buttons svg {
  margin-right: 8px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .cta-section {
    height: auto;
    padding: 40px 0;
    background-attachment: scroll;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons a.btn1 {
    width: 100%;
    margin: 8px 0;
  }
}
/******************** recent work ******************/
#recent-work {
  padding: 60px 0;
}

#recent-work h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
}

#recentWorkCarousel {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

#recentWorkCarousel .owl-item {
  display: flex;
  justify-content: center;
}

#recentWorkCarousel img {
  max-width: 500px;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Optional: Adjust column stacking on smaller screens */
@media (max-width: 991px) {
  #recent-work .row {
    flex-direction: column;
  }
  #recent-work .col-lg-6 {
    width: 100%;
    margin-bottom: 30px;
  }
}

img {
  transition: transform 0.4s ease;
}
img:hover {
  transform: scale(1.05);
}

#about-carousel .item img {
  border-radius: 12px;
  max-width: 100%;
  height: auto;
}
.owl-theme .owl-nav {
  display: none;
}
.owl-theme .owl-dots,
.owl-theme .owl-nav {
  margin-top: 10px;
}



