* {
  font-family: "Poppins";
  font-optical-sizing: auto;
  font-style: normal;
}

.lora {
  font-family: "lora", sans;
}



/* navbar */
.my-nav {
  box-shadow: 0 0 10px black;
}

.collapse {
  /* background-color: #f8f9fa; */
  /* border-radius: 1rem; */
  /* padding: .5rem; */
  z-index: 10;
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
  /* height: auto !important; */
  /* overflow: visible !important; */
  /* transition: none !important; */
}

/* .navbar-collapse.collapse.show {
  background-color: #f8f9fa !important;
} */

.navbar-nav {
  font-size: 1.15rem;
}

.navbar-nav> :first-child {
  padding-left: 24px;
  padding-right: 24px;
}

#custom-dropdown {
  /* position: absolute; */
  /* width: auto; */
  /* max-width: 10rem; */
  width: 290px;
  border-radius: 0.5rem;
}

.nav-item.dropdown {
  position: relative;
}

@media (max-width: 991px) {
  .navbar-nav .dropdown-menu {
    position: static !important;
    display: none;
    width: 100%;
    margin-top: 0;
    border-radius: 0 0 1rem 1rem;
  }

  .navbar-nav .dropdown.show .dropdown-menu {
    display: block;
    /* show when parent li has .show */
  }
}

/* @media (max-width: 991px) {
  .navbar .dropdown-menu {
    position: absolute !important;
    transition: all .3s ease;
    width: 100%;
  }
}

.dropdown-menu {
  border-radius: 1rem;
} */


.dropdown-menu {
  left: 0 !important;
  /* position: absolute; */
  top: 100% !important;
}

@media (min-width: 992px) {
  .dropdown:hover .dropdown-menu {
    display: block;
  }
}



/* .dropdown:focus .dropdown-menu {
  display: block;
} */

.dropdown-toggle {
  color: blue;
}

@media (max-width: 3000px) {

  html,
  body {
    overflow-x: hidden;
  }
}

/* enquiry button */
.btn-style5112 {
  position: relative !important;
  border-color: white !important;
  background-color: #198754 !important;
  color: white !important;
  overflow: hidden !important;

  span {
    position: relative !important;
    z-index: 2 !important;
  }

  &::before,
  &::after {
    width: 100% !important;
    height: 50% !important;
    position: absolute !important;
    left: 0 !important;
    background-color: #198754 !important;
    transition: all 0.25s !important;
    content: "" !important;
    z-index: 1 !important;
  }

  &::before {
    top: 0 !important;
    transform: translate(-100%, 0) !important;
  }

  &::after {
    bottom: 0 !important;
    transform: translate(100%, 0) !important;
  }

  &:hover {
    color: #fff !important;

    &::before,
    &::after {
      transform: translate(0, 0) !important;
    }
  }
}

.click-btn2 {
  width: 150px !important;
  border-top-left-radius: 30px !important;
  border-bottom-left-radius: 30px !important;
  border-top-right-radius: 25px !important;
  border-bottom-right-radius: 25px !important;
  transform: translateY(-80%) rotate(-90deg);
  transform-origin: right center;
  box-shadow: 0 0 6px black !important;
  background-color: #1d1dff !important;
  font-size: 16px !important;
  color: white !important;
  text-decoration: none;
  font-size: large !important;
  font-weight: bold !important;
  position: fixed !important;
  /* bottom: 15rem; */
  top: 50%;
  right: 0;
  /* width: 180px; */
  transition: all 0.35s;
  /* box-sizing: border-box; */
  z-index: -1000;
}

/* hero section */
.hero-section-2 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #f5f5f5;
  padding: 60px 0;
  position: relative;
}

.slider-container {
  position: relative;
  width: 100%;
  padding: 20px 0;
  margin: 10px;
}

.card-slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
  margin-right: 50px;
}

.card-item {
  display: flex;
  flex-direction: column;
  flex: 0 0 40%;
  justify-content: center;
  align-items: start;
  margin-right: 30px;
  padding: 20px;
  border-radius: 10px;
  background-color: #eee;
  color: #000;
  transition: all 0.3s ease;
  min-height: 220px;
  transform: scale(1);
  z-index: 1;
}

.card-item-heading {
  font-size: 1rem;
}

.card-item-content {
  font-size: .8rem;
}

.card-item-button {
  font-size: .8rem;
}

.card-item a {
  color: white;
  background-color: #0000ff;
  padding: 3px;
  border-radius: 10px;
  text-decoration: none;
}

.card-item a:hover {
  background-color: #198754;
}

.card-item.active {
  background-color: blue;
  color: white;
  transform: scale(1.25);
  z-index: 2;
}

.card-item.active:hover a {
  transform: scale(1.1);
}

.card-item.active a {
  color: blue;
  background-color: white;
}

.slider-buttons button {
  width: 40px;
  height: 40px;
  margin: 0 10px;
  border: none;
  border-radius: 50%;
  background-color: white;
  color: black;
  font-size: 20px;
  cursor: pointer;
}

.prevBtn:hover,
.nextBtn:hover {
  color: white;
  background-color: #1d1dff;
}

.km-btn {
  background-color: #198754 !important;
  color: antiquewhite !important;
  width: 280px;
}

.km-btn:hover {
  background-color: #2de001d5 !important;
  /* color: #000 !important; */
  box-shadow: 0 4px 6px -1px #23af006c;
}

/* km button hover effects */

.btn-style511 {
  position: relative;
  border-color: white;
  background-color: #198754;
  color: white;
  overflow: hidden;

  span {
    position: relative;
    z-index: 2;
  }

  &::before,
  &::after {
    width: 100%;
    height: 50%;
    position: absolute;
    left: 0;
    background-color: #1d1dff;
    transition: all 0.25s;
    content: "";
    z-index: 1;
  }

  &::before {
    top: 0;
    transform: translate(-100%, 0);
  }

  &::after {
    bottom: 0;
    transform: translate(100%, 0);
  }

  &:hover {
    color: #fff;

    &::before,
    &::after {
      transform: translate(0, 0);
    }
  }
}

.click-btn {
  display: flex;
  width: 200px;
  justify-content: center;
  align-items: center;
  margin: 0.5rem;
  /* line-height: 35px; */
  /* border: 1px solid; */
  border-radius: 10px;
  text-align: center;
  font-size: 16px;
  color: white;
  text-decoration: none;
  transition: all 0.35s;
  box-sizing: border-box;
}

/* hover effects :end */

/* Enhanced responsive styles */
@media (max-width: 768px) {
  .card-item {
    flex: 0 0 80%;
    margin-right: 15px;
    padding: 18px;
    min-height: 200px;
  }

  .card-item.active {
    transform: scale(1.12);
  }

  .slider-container {
    margin: 5px;
    padding: 15px 0;
  }
}

@media (max-width: 576px) {
  .card-item {
    flex: 0 0 82%;
    margin-right: 10px;
    padding: 15px;
    min-height: 180px;
  }

  .card-item.active {
    transform: scale(1.08);
  }

  /* .card-item h5 {
    font-size: 1.1rem;
  } */

  /* .card-item p {
    font-size: 0.9rem;
  } */

  .slider-buttons button {
    width: 35px;
    height: 35px;
    font-size: 18px;
    margin: 0 8px;
  }
}

@media (max-width: 400px) {
  .card-item {
    flex: 0 0 100%;
    margin-right: 8px;
    padding: 12px;
    min-height: 160px;
  }

  .card-item.active {
    transform: scale(1.05);
  }
}

/* Prevent horizontal scrolling */
.slider-container {
  overflow-x: hidden;
  padding-left: 10px;
  padding-right: 10px;
}

/* Hero section end*/

/* overview section start */
.act-container {
  background-color: #1d1dff;
  border-radius: 30px;
  color: white;
  overflow: visible;
}

.overview-img {
  height: 400px !important;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.612);
  /* aspect-ratio: 1; */
  object-fit: cover;
  max-width: 450px;
  border-radius: 15px;
  transition: all 0.5s ease;
}

.overview-img:hover {
  transform: scale(1.03);
}

/* Remove negative margins */
.content-section {
  padding: 1.2rem 1rem;
}

.image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.img-offset-left {
  transform: translateX(-80px) translateY(20px);
}

.img-offset-right {
  transform: translateX(80px) translateY(-20px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .overview-img {
    height: 350px !important;
  }

  .content-section {
    padding: 1.5rem 0.5rem;
    text-align: center !important;
  }

  .act-container {
    margin: 0 10px;
  }

  /* h2 {
    font-size: 1.8rem !important;
  } */

  .fs-3 {
    font-size: 1.2rem !important;
  }

  .img-offset-left {
    transform: translateX(0px) translateY(0px);
    height: auto;
  }

  .img-offset-right {
    transform: translateX(0px) translateY(0px);
    height: auto;
  }

  body {
    overflow-x: hidden;
  }
}

@media (max-width: 576px) {
  .overview-img {
    max-width: 90%;
    height: 300px !important;
  }

  .overview-content {
    max-width: 95%;
    text-align: left;
    padding-left: 2rem;
  }

  .content-section {
    padding: 1rem 0.5rem;
  }

  /* h2 {
    font-size: 1.5rem !important;
  } */

  .fs-3 {
    font-size: 1.1rem !important;
  }

  body {
    overflow-x: hidden;
  }

  .img-offset-left {
    transform: translateX(0px) translateY(0px);
  }

  .img-offset-right {
    transform: translateX(0px) translateY(0px);
  }
}

/* for better mobile experience */
@media (max-width: 768px) {
  .mobile-reverse {
    flex-direction: column-reverse;
    display: flex;
  }
}

.overview-container {
  width: 65% !important;
}

@media (max-width: 768px) {
  .overview-container {
    width: 100% !important;
  }
}

/* trust section */
.trust-card {
  color: white;
  height: 400px;
  padding: 40px;
  /* border: 2px solid black; */
  border-radius: 20px;
}

.card-1 {
  background-image: url(../Images/Trust-1.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.card-2 {
  background-image: url(../Images/Trust-2.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.card-3 {
  background-image: url(../Images/Trust-3.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.card-4 {
  background-image: url(../Images/Trust-4.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#myBtn {
  background-color: #198754;
}

.myBtn2 {
  color: azure !important;
  width: 350px !important;
  height: auto !important;
  background-color: #1d1dff !important;
}

@media (max-width: 768px) {
  .trust-card {
    width: 80%;
    display: flex;
    justify-self: center;
  }

  .card-1,
  .card-3 {
    margin-bottom: 20px;
  }
}

/* connection section */
.connection-img {
  height: 360px;
  /* width: 400px; */
}

/* .connection-img:hover{

} */
.connection-img-container:hover {
  transform: scale(1.03);
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .connection-img {
    height: 400px;
  }
}

@media (max-width: 1800px) {
  body {
    overflow-x: hidden !important;
  }
}

/* property and legal section */
.pandl-container {
  padding: 60px;
}

.card-text {
  /* color: #1d1dff; */
  color: black !important;
}

.pl-card {
  height: 260px !important;
  width: 220px !important;
  color: black;
  border-radius: 20px !important;
}

.card-Img {
  /* height: 300px; */
  width: 200px;
}

.pl-card:hover {
  background-color: #198754;
  /* color: white !important; */
  transition: all 0.3s ease !important;
  border-radius: 20px;
  transform: scale(1.07);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.pl-card:hover .card-text {
  color: white !important;
}

/* Journey with us */
.overAllContainer {
  padding: 30px;
}

.image-box-1 {
  border-top: 10px solid #00ff00;
  border-left: 10px solid #00ff00;
  position: relative;
  padding-bottom: 10px;
  display: inline-block;
}

.image-box-1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 205.5%;
  height: 10px;
  background-color: #00ff00;
}

.image-box-2 {
  position: relative;
  padding-right: 10px;
  padding-bottom: 10px;
  display: inline-block;
}

/* vertical */
.image-box-2::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 10px;
  height: 101%;
  background-color: #00ff00;
}

/* horizontal */
.image-box-2::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 200%;
  height: 10px;
  background-color: #00ff00;
}

.image-box-3 {
  border-left: 10px solid #00ff00;
  position: relative;
  padding-bottom: 10px;
  display: inline-block;
}

.image-box-3::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 205%;
  height: 10px;
  background-color: #00ff00;
}

.image-box-4 {
  border-right: 10px solid #00ff00;
  position: relative;
  padding-bottom: 10px;
  display: inline-block;
}

.image-box-4::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 205%;
  height: 10px;
  background-color: #00ff00;
}

.image-box-5 {
  border-left: 10px solid #00ff00;
  position: relative;
  padding-bottom: 10px;
  display: inline-block;
  border-bottom: 10px solid #00ff00;
}

/* @media (max-width: 400px) {

  .image-box-1::after,
  .image-box-2::after,
  .image-box-2::before,
  .image-box-3::before,
  .image-box-4::before {
    border-top: none;
    border-left: none;
  }
} */

/* @media (min-width: 1200px) and (max-width: 1400px) {

  .image-box-1::before,
  .image-box-2::before,
  .image-box-3::before,
  .image-box-4::before {
    width: 168.3% !important;
  }
} */

@media (max-width: 1400px) {

  .image-box-1::after,
  .image-box-2::after,
  .image-box-2::before,
  .image-box-3::before,
  .image-box-4::before {
    content: none;
  }

  .image-box-1 {
    border-top: 7px solid #00ff00;
    border-left: 7px solid #00ff00;
  }

  .image-box-2 {
    border-right: 7px solid #00ff00;
    border-bottom: none;
  }

  .image-box-3 {
    border-left: 7px solid #00ff00;
    border-top: none;
  }

  .image-box-4 {
    border-right: 7px solid #00ff00;
    border-bottom: none;
  }

  .image-box-5 {
    border-left: 7px solid #00ff00;
    border-top: none;
    border-bottom: 7px solid #00ff00;
  }
}

/* lets talk section */
.lets-talk-container {
  width: 70% !important;
}

@media (max-width: 768px) {
  .lets-talk-container {
    width: 100% !important;
  }
}

/* .lets-talk-h {
  font-size: 3.5rem;
} */
/* .lets-talk-h2 {
  font-size: 3.5rem;
} */
.lets-btn {
  background-color: #00000091 !important;
  color: white !important;
}

.lets-btn:hover {
  background-color: #000000c7 !important;
  transform: scale(1.03);
  box-shadow: 0 3px 12px #0000007a;
}

/* for cards */
.card-lt {
  display: flex;
  flex-direction: column;
  justify-content: start;
  background: #198754;
  color: white;
  border-radius: 0.75rem;
  padding: 1rem;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card-lt:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 32px black;
}

/* .card:hover .card-icon {
  background-color:#92E394;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  margin: 0 auto 1rem;
  padding: 10px;
} */

.card-icon {
  width: 3rem;
  color: #000;
  padding: 10px;
  background: #5bc422;
  border-radius: 20%;
  display: flex;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: center;
}

.card p {
  text-align: center;
  color: #4b5563;
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .lets-talk-h {
    font-size: 3rem;
    font-weight: bold;
  }

  .lets-btn {
    width: 100%;
    margin-left: -15px;
  }

  .lets-talk-p {
    margin-bottom: 20px;
  }
}

/* form section */

/* .my-form{
    height: 95vh;
    padding: 30px;
    border-radius: 20px;
    background-color: #dddddd;
} */
.img-container:hover {
  transform: scale(1.05);
  transition: all 0.3s ease;
}

textarea:focus {
  border: none !important;
}

textarea:focus {
  border: none !important;
}

.form-btn {
  background-color: #1d1dff;
  color: white;
  border: none;
  border-radius: 30px;
  padding: 20px;
  width: 100%;
}

@media (max-width: 945px) {
  .my-form {
    padding: 15px;
    margin-left: 5px;
    margin-right: 5px;
  }

  .form-col {
    margin-top: 30px !important;
  }

  .new-form {
    margin: 15px;
  }
}

@media (max-width: 1025px) {
  .my-form {
    padding: 45px;
  }

  .form-img {
    height: 10px !important;
  }
}

@media (max-width: 768px) {
  .my-form {
    padding: 0;
  }
}

/* slider section */
.wrapper {
  width: 90%;
  max-width: 1536px;
  margin-inline: auto;
  position: relative;
  height: 200px;
  margin-top: 5rem;
  overflow: hidden;
  mask-image: linear-gradient(to right,
      hsla(0, 0%, 0%, 0),
      hsl(0, 0%, 0%) 20%,
      hsl(0, 0%, 0%) 80%,
      hsla(0, 0%, 0%, 0));
}

@keyframes scrollLeft {
  to {
    left: -200px;
  }
}

@keyframes scrollRight {
  to {
    right: -200px;
  }
}

.item {
  display: block;
  width: 200px;
  height: 200px;
  position: absolute;
  left: max(calc(200px * 8), 100%);
  animation: scrollLeft 30s linear infinite;
}

.item-2 {
  display: block;
  width: 200px;
  height: 200px;
  position: absolute;
  right: max(calc(200px * 8), 100%);
  animation: scrollRight 30s linear infinite;
}

.logo-img {
  height: 180px;
}

/* .logo-img {
width: 420px !important;
height: 280px !important;
object-fit: contain;
object-position: center;
} */

.item1 {
  animation-delay: calc(30s / 8 * (8 - 1) * -1);
  /* margin-left: -80px; */
}

.item2 {
  animation-delay: calc(30s / 8 * (8 - 2) * -1);
}

.item3 {
  animation-delay: calc(30s / 8 * (8 - 3) * -1);
}

.item4 {
  animation-delay: calc(30s / 8 * (8 - 4) * -1);
}

.item5 {
  animation-delay: calc(30s / 8 * (8 - 5) * -1);
  /* margin-left: -100px; */
}

.item6 {
  animation-delay: calc(30s / 8 * (8 - 6) * -1);
}

.item7 {
  animation-delay: calc(30s / 8 * (8 - 7) * -1);
}

.item8 {
  animation-delay: calc(30s / 8 * (8 - 8) * -1);
}

/* footer */
footer {
  background-color: #1d1dff;
}

.gray-txt {
  color: hsl(0, 0%, 85%) !important;
}

/* .logo {
  height: 80px;
  width: 180px;
  background-color: blanchedalmond !important;
  color: black;
  margin-left: 1rem;
} */

.a-tag-link {
  transition: all 0.3s ease !important;
}

.a-tag-link:active,
.a-tag-link:focus {
  color: white !important;
}

.a-tag-link:hover {
  color: white;
  filter: drop-shadow(0px 0px 5px white);
}

/* hover effects */

/* .hover-underline {
  font-size: 2rem;
  color: #000000;
  position: relative;
  display: inline-block;
}
.hover-underline::after,
.hover-underline::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, #ff0000, #00ffff);
  bottom: -5px;
  left: 0;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease-out;
}

.hover-underline::before {
  top: -5px;
  transform-origin: left;
}

.hover-underline:hover::after,
.hover-underline:hover::before {
  transform: scaleX(1);
} */




/* pop menu for enquiry */
/* popup menu ⬇️⬇️ */
.warning-message {
  display: none;
}

.popup {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0px;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.708);
}

/* Popup box */
.popup-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 2rem;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  position: relative;
  top: 100px;
}

.close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
}

.form-input {
  border-radius: 0.5rem;
  outline: none;
  border: 2px solid hsla(0, 0%, 0%, 0.555);
  padding: 0.5rem;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: var(--blue-color);
  border: 2px solid var(--blue-color);
  box-shadow: 0px 0px 10px var(--blue-color);
}

/* enquiry button 2 */
/* .contact-icon {
  position: absolute;
  top: 50px;
  left: 0;
  z-index: 9999;
  display: none;
  transition: all 0.3s ease;
} */

/* enquiry button  */
.phone-icon {
  transition: all .3s ease;
  background-color: blue;
}

.phone-icon:hover {
  background-color: #198754;
}

.whatsapp-icon {
  transition: all .3s ease;
  background-color: #198754;
}

.whatsapp-icon:hover {
  background-color: #198754;
}

/* blur for home hero */
.hero-section-2::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  backdrop-filter: blur(3px);
  background-color: hsla(0, 0%, 100%, 0);
  z-index: 1;
}