/**
 * WEBSITE: https://factumradioscape.com
 * TWITTER: https://twitter.com/factumradioscap
 * FACEBOOK: https://www.facebook.com/profile.php?id=100070021906970
 * LINKEDIN: https://www.linkedin.com/company/radioscape/
 */

/*=== MEDIA QUERY ===*/
@import url("https://fonts.googleapis.com/css2?family=Hind:wght@400;500;600;700&family=Montserrat:wght@400;700&family=Poppins:wght@300;400;600;700&display=swap");
html {
  overflow-x: hidden;
}

body {
  line-height: 1.5;
  font-family: "Hind", serif;
  -webkit-font-smoothing: antialiased;
  font-size: 17px;
  color: rgba(0, 0, 0, 0.65);
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: #242424;
}

h1, .h1 {
  font-size: 2.5rem;
}

h2, .h2 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 42px;
}

h3, .h3 {
  font-size: 1.5rem;
}

h4, .h4 {
  font-size: 1.3rem;
  line-height: 30px;
}

h5, .h5 {
  font-size: 1.25rem;
}

h6, .h6 {
  font-size: 1rem;
}

p {
  line-height: 30px;
}

.p1 {
  font-size: 150%;
  line-height: 60px;
}

.navbar-toggle .icon-bar {
  background: rgb(247, 87, 87);
}

input[type=email], input[type=password], input[type=text], input[type=tel] {
  box-shadow: none;
  height: 45px;
  outline: none;
  font-size: 14px;
}
input[type=email]:focus, input[type=password]:focus, input[type=text]:focus, input[type=tel]:focus {
  box-shadow: none;
  border: 1px solid rgb(247, 87, 87);
}

.form-control {
  box-shadow: none;
  border-radius: 0;
}
.form-control:focus {
  box-shadow: none;
  border: 1px solid rgb(247, 87, 87);
}

.py-7 {
  padding: 7rem 0px;
}

.btn {
  display: inline-block;
  font-size: 14px;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 1rem 2.5rem 0.8rem;
  text-transform: uppercase;
  border-radius: 0;
  transition: 0.3s;
}
.btn.btn-icon i {
  font-size: 16px;
  vertical-align: middle;
  margin-right: 5px;
}
.btn:focus {
  outline: 0px;
  box-shadow: none;
}

.btn-main, .btn-small, .btn-transparent {
  background: rgb(247, 87, 87);
  color: #fff;
  transition: all 0.2s ease;
}
.btn-main:hover, .btn-small:hover, .btn-transparent:hover {
  background: rgb(244.6818181818, 38.3181818182, 38.3181818182);
  color: #fff;
}

.btn-solid-border {
  border: 2px solid rgb(247, 87, 87);
  font-size: 12px;
  background: transparent;
  color: #242424;
  white-space: nowrap;
}
.btn-solid-border:hover {
  border: 2px solid rgb(247, 87, 87);
  background: rgb(247, 87, 87);
}

.btn-transparent {
  background: transparent;
  padding: 0;
  color: rgb(247, 87, 87);
}
.btn-transparent:hover {
  background: transparent;
  color: rgb(247, 87, 87);
}

.btn-large {
  padding: 10px 23px;
}
.btn-large.btn-icon i {
  font-size: 16px;
  vertical-align: middle;
  margin-right: 5px;
}

.btn-small {
  padding: 7px 13px 5px;
  font-size: 12px;
}

.btn-round {
  border-radius: 4px;
}

.btn-round-full {
  border-radius: 50px;
}

.btn.active:focus, .btn:active:focus, .btn:focus {
  outline: 0;
}

.bg-gray {
  background: #f5f8f9;
}

.bg-primary {
  background: rgb(247, 87, 87);
}

.bg-primary-dark {
  background: rgb(244.6818181818, 38.3181818182, 38.3181818182);
}

.bg-primary-darker {
  background: rgb(221.4545454545, 10.5454545455, 10.5454545455);
}

.bg-dark {
  background: #242424;
}

.bg-gradient {
  background-image: linear-gradient(145deg, rgba(19, 177, 205, 0.95) 0%, rgba(152, 119, 234, 0.95) 100%);
  background-repeat: repeat-x;
}

.section {
  padding: 4% 0;
}

.section-sm {
  padding: 70px 0;
}

.section-title {
  margin-bottom: 70px;
}
.section-title .title {
  font-size: 50px;
  line-height: 50px;
}
.section-title p {
  color: #666;
  font-family: "Poppins", sans-serif;
}

.subtitle {
  color: rgb(247, 87, 87);
  font-size: 14px;
  letter-spacing: 1px;
}

.overly, .hero-img, .cta, .slider, .page-title {
  position: relative;
}
.overly:before, .hero-img:before, .cta:before, .slider:before, .page-title:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  background: #000;
}

.overly-2, .latest-blog, .cta-block, .bg-counter {
  position: relative;
}
.overly-2:before, .latest-blog:before, .cta-block:before, .bg-counter:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
}

.text-color {
  color: rgb(247, 87, 87);
}

.text-black {
  color: #242424;
}

.text-color2 {
  color: #c54041;
}

.text-color2 {
  color: #b99769;
}

.text-sm {
  font-size: 14px;
}

.text-md {
  font-size: 2.25rem;
}

.text-lg {
  font-size: 3.75rem;
}

.no-spacing {
  letter-spacing: 0px;
}

/* Links */
a {
  color: #242424;
  text-decoration: none;
}

a:focus, a:hover {
  color: rgb(247, 87, 87);
  text-decoration: none;
}

a:focus {
  outline: none;
}

.content-title {
  font-size: 40px;
  line-height: 50px;
}

.page-title {
  padding: 100px 0;
}
.page-title .block h1 {
  color: #fff;
}
.page-title .block p {
  color: #fff;
}

.page-wrapper {
  padding: 70px 0;
}

#wrapper-work {
  overflow: hidden;
  padding-top: 100px;
}
#wrapper-work ul li {
  width: 50%;
  float: left;
  position: relative;
}
#wrapper-work ul li img {
  width: 100%;
  height: 100%;
}
#wrapper-work ul li .items-text {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  padding-left: 44px;
  padding-top: 140px;
}
#wrapper-work ul li .items-text h2 {
  padding-bottom: 28px;
  padding-top: 75px;
  position: relative;
}
#wrapper-work ul li .items-text h2:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 75px;
  height: 3px;
  background: #fff;
}
#wrapper-work ul li .items-text p {
  padding-top: 30px;
  font-size: 16px;
  line-height: 27px;
  font-weight: 300;
  padding-right: 80px;
}

/*--
	features-work Start 
--*/
#features-work {
  padding-top: 50px;
  padding-bottom: 75px;
}
#features-work .block ul li {
  width: 19%;
  text-align: center;
  display: inline-block;
  padding: 40px 0px;
}

#navbar {
  background: rgba(34, 35, 40, 0.95);
  padding: 1% 15%; /* Large padding which will shrink on scroll (using JS) */
  transition: 0.6s ease-in; /* Adds a transition effect when the padding is decreased */
  position: fixed; /* Sticky/fixed navbar */
  width: 100%;
  top: 0; /* At the top */
  z-index: 1000;
  float: left;
  overflow: visible;
  /* Small Logo Styles */
  /* Shrink the font size of menu items */
}
#navbar li {
  padding-left: 10px;
}
@media (max-width: 992px) {
  #navbar li {
    padding-left: 0;
  }
}
#navbar #logoImg {
  transition: src 0.8s ease-in-out; /* Smooth transition for the 'src' property */
}
#navbar #smallLogo {
  margin-right: 10px; /* Adjust margin as needed */
}
#navbar #smallLogoImg {
  max-height: 40px; /* Adjust max-height as needed */
}
#navbar .nav-link {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  color: #fff;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.1px;
  transition: all 0.9s ease-in;
  float: left;
  text-align: center;
  padding: 12px;
  text-decoration: none;
  border-radius: 4px;
}
#navbar #navbar.shrink .nav-link {
  font-size: 12px; /* Adjusted font size when scrolled */
}
#navbar .nav-link:hover, #navbar .nav-link:focus,
#navbar .active .nav-link {
  color: rgb(247, 87, 87);
}
#navbar .btn {
  padding: 0.7rem 1.5rem 0.5rem;
  color: #fff;
}
@media (max-width: 992px) {
  #navbar .btn {
    margin: 15px 0 20px;
  }
}

/* Toggle Button Styles */
.navbar-toggler {
  padding: 3%;
  font-size: 1rem;
  color: #fff; /* Set text color */
  background-color: rgba(51, 51, 51, 0.1921568627); /* Set background color */
  justify-content: center; /* Center the lines horizontally */
}

.navbar-toggler:hover,
.navbar-toggler:focus {
  background-color: #555; /* Adjust color for hover/focus */
}

/* Show Small Logo and Toggle Button under 768px */
@media (max-width: 768px) {
  #logo {
    display: none; /* Hide large logo */
  }
  #smallLogo {
    display: inline-block; /* Show small logo */
  }
}
.navbar-brand {
  color: #fff;
  font-weight: 600;
  letter-spacing: 1px;
}
.navbar-brand span {
  color: rgb(247, 87, 87);
}

.navbar-collapse {
  box-shadow: none !important;
  border: none !important;
}

.dropdown-menu {
  padding: 0px;
  border: 0;
  border-radius: 0px;
}
@media (max-width: 992px) {
  .dropdown-menu {
    text-align: center;
    float: left !important;
    width: 100%;
    margin: 0;
  }
}
.dropdown-menu li:first-child {
  margin-top: 5px;
}
.dropdown-menu li:last-child {
  margin-bottom: 5px;
}

.dropdown-toggle::after {
  display: none;
}

.dropleft .dropdown-menu,
.dropright .dropdown-menu {
  margin: 0;
}

.dropleft .dropdown-toggle::before,
.dropright .dropdown-toggle::after {
  font-weight: bold;
  font-family: "Font Awesome 5 Free";
  border: 0;
  font-size: 10px;
  vertical-align: 1px;
}

.dropleft .dropdown-toggle::before {
  content: "\f053";
  margin-right: 5px;
}

.dropright .dropdown-toggle::after {
  content: "\f054";
  margin-left: 5px;
}

.dropdown-item {
  padding: 0.8rem 1.5rem 0.55rem;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 500;
}
@media (max-width: 992px) {
  .dropdown-item {
    padding: 0.6rem 1.5rem 0.35rem;
  }
}

.dropdown-submenu.active > .dropdown-toggle,
.dropdown-submenu:hover > .dropdown-item,
.dropdown-item.active,
.dropdown-item:hover {
  background: rgb(247, 87, 87);
  color: #fff;
}

ul.dropdown-menu li {
  padding-left: 0px !important;
}

.bg-1 {
  background: url("../images/bg/home-9.jpg") fixed;
  background-position: 50% 0%;
  padding: 23% 0;
  background-size: cover;
  position: relative;
  background-size: cover;
}
@media (max-width: 768px) {
  .bg-1 {
    padding: 50% 0;
  }
}
@media (max-width: 480px) {
  .bg-1 {
    padding: 50% 0;
  }
}

.bg-2 {
  background: url("../images/bg/home-11.jpg") fixed 50% 50%;
  background-position: 10% 100%;
  padding: 5% 0;
  position: relative;
  background-size: cover;
}
@media (max-width: 768px) {
  .bg-2 {
    padding: 40% 0;
  }
}
@media (max-width: 480px) {
  .bg-2 {
    padding: 50% 0;
  }
}

.bg-3 {
  background: url("../images/bg/home-10.jpg") fixed 50px 50px;
  background-position: 10% 100%;
  padding: 20% 0;
  position: relative;
  background-size: cover;
}
@media (max-width: 768px) {
  .bg-3 {
    padding: 40% 0;
  }
}
@media (max-width: 480px) {
  .bg-3 {
    padding: 50% 0;
  }
}

.bg-4 {
  background: url("../images/MM_test.png") no-repeat 50% 50%;
  background-position: 10% 100%;
  padding: 15% 0;
  position: relative;
  background-size: cover;
}
@media (max-width: 768px) {
  .bg-4 {
    padding: 20% 0;
  }
}

.bg-5 {
  position: absolute;
  content: "";
  left: 0px;
  top: 0px;
  width: 45%;
  min-height: 650px;
  background-size: cover;
  background: url("../images/radio-scaled.jpg") no-repeat;
  background-size: cover;
}
@media (max-width: 768px) {
  .bg-5 {
    padding: 40% 0;
  }
}
@media (max-width: 480px) {
  .bg-5 {
    padding: 50% 0;
  }
}

.bg-6 {
  position: absolute;
  content: "";
  left: 0px;
  top: 0px;
  width: 45%;
  min-height: 650px;
  background: url("../images/basingstoke.jpg") no-repeat;
  background-size: cover;
}

.bg-7 {
  position: absolute;
  content: "";
  left: 0px;
  top: 0px;
  width: 45%;
  min-height: 650px;
  background: url("../images/drone.jpg") no-repeat;
  background-size: cover;
}

.bg-8 {
  position: absolute;
  content: "";
  left: 0px;
  top: 0px;
  width: 45%;
  min-height: 650px;
  background: url("../images/car-scaled.jpg") no-repeat;
  background-size: cover;
}

.bg-9 {
  position: absolute;
  content: "";
  left: 0px;
  top: 0px;
  min-height: 650px;
  background: url("../images/Cadenza-hero-2.png") no-repeat;
  background-size: cover;
}

.slider {
  background: url("../images/bg/home-1.jpg") fixed 50% 50%;
  background-size: cover;
  background-position: 0% 0%;
  padding: 15% 0;
  position: relative;
}
@media (max-width: 768px) {
  .slider {
    padding: 40% 0;
  }
}
@media (max-width: 480px) {
  .slider {
    padding: 50% 0;
  }
}
.slider .block h1 {
  font-size: 70px;
  line-height: 80px;
  font-weight: 600;
  color: #fff;
}
.slider .block p {
  margin-bottom: 30px;
  color: #b9b9b9;
  font-size: 18px;
  line-height: 27px;
  font-weight: 300;
}
.slider .block span {
  letter-spacing: 1px;
}

.intro-item i {
  font-size: 60px;
  line-height: 60px;
}

.color-one {
  color: rgb(247, 87, 87);
}

.color-two {
  color: #00d747;
}

.color-three {
  color: #9262ff;
}

.color-four {
  color: #088ed3;
}

.bg-about {
  position: absolute;
  content: "";
  left: 0px;
  top: 0px;
  width: 45%;
  min-height: 650px;
  background: url("../images/about/home-9.jpg") no-repeat;
  background-size: cover;
}

.about-content {
  padding: 20px 0px 0px 80px;
}
.about-content h4 {
  font-weight: 600;
}
.about-content h4:before {
  position: absolute;
  content: "\f576";
  font-family: "Font Awesome 5 Free";
  font-size: 30px;
  position: absolute;
  top: 8px;
  left: -65px;
  font-weight: 700;
}

.counter-item .counter-stat {
  font-size: 50px;
}
.counter-item p {
  margin-bottom: 0px;
}

.bg-counter {
  background: url("../images/bg/counter.jpg") no-repeat;
  background-size: cover;
}

.team-img-hover .team-social li a.facebook {
  background: #6666cc;
}

.team-img-hover .team-social li a.twitter {
  background: #3399cc;
}

.team-img-hover .team-social li a.instagram {
  background: #cc66cc;
}

.team-img-hover .team-social li a.linkedin {
  background: #3399cc;
}

.team-img-hover {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.6);
  opacity: 0;
  transition: all 0.2s ease-in-out;
  transform: scale(0.8);
}

.team-img-hover li a {
  display: inline-block;
  color: #fff;
  width: 50px;
  height: 50px;
  font-size: 20px;
  line-height: 50px;
  border: 2px solid transparent;
  border-radius: 2px;
  text-align: center;
  transform: translateY(0);
  backface-visibility: hidden;
  transition: all 0.3s ease-in-out;
}

.team-img-hover:hover li a:hover {
  transform: translateY(4px);
}

.team-item:hover .team-img-hover {
  opacity: 1;
  transform: scale(1);
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
}

.service-item {
  position: relative;
  padding-left: 8vw; /* Adjust the percentage for fluid padding */
}
.service-item i {
  position: absolute;
  left: 0;
  top: 0.5vw; /* Adjust the percentage for fluid top position */
  font-size: 1vw; /* Adjust the percentage for fluid font size */
  opacity: 0.4;
}

.service-item h4,
.service-item p {
  word-wrap: break-word;
}

.pr-section-right {
  display: flex;
  flex-direction: column; /* Change to column for smaller screens */
  align-items: center;
  padding: 2vw; /* Adjust the percentage for fluid padding */
  margin-bottom: 2vw; /* Adjust the percentage for fluid margin */
  padding-left: 10%;
  padding-right: 10%;
}
@media screen and (min-width: 768px) {
  .pr-section-right {
    flex-direction: row; /* Revert to row for tablets and larger screens */
  }
}

.pr-text-container-right {
  flex: 1;
  padding: 2vw; /* Adjust the percentage for fluid padding */
}

.pr-image-container-right,
.pr-image-container-left {
  flex: 1;
  text-align: center; /* Center the image for smaller screens */
}
@media screen and (min-width: 768px) {
  .pr-image-container-right,
  .pr-image-container-left {
    text-align: right; /* Revert to right alignment for tablets and larger screens */
  }
}

.pr-image-right,
.pr-image-left {
  max-width: 100%;
  height: auto;
  border-radius: 1vw; /* Adjust the percentage for fluid border-radius */
  box-shadow: 0 0.8em 1em rgba(209, 71, 71, 0.5), 0 2em 4em rgba(0, 0, 0, 0.1);
  transition-property: box-shadow, transform;
  transition-duration: 350ms;
  transition-timing-function: ease;
}
@media screen and (min-width: 768px) {
  .pr-image-right,
  .pr-image-left {
    text-align: right; /* Revert to right alignment for tablets and larger screens */
  }
}

.image-container img {
  height: 295px; /* Adjust to match image size */
  overflow: hidden; /* Prevents pushing down */
}

.pr-image-left:is(:hover, :focus),
.pr-image-right:is(:hover, :focus) {
  box-shadow: 0px 1.6vw 2vw 0.2vw rgba(0, 0, 0, 0.2); /* Adjust the percentage for fluid box-shadow */
  transform: translateY(-1.6vw); /* Adjust the percentage for fluid translateY */
}

.pr-section-right .centre {
  text-align: center; /* Centre the text */
}

.img-rotate {
  transition: transform 40s ease-in-out;
  border-radius: 50%;
}

img:hover {
  transform: rotate(-360deg);
}

.cta {
  background: url("../images/bg/home-10.jpg") fixed 50% 50%;
  background-size: cover;
  padding: 120px 0px;
}

.cta-block {
  background: url("../images/bg/home-3.jpg") no-repeat;
  background-size: cover;
}

.cta-block-2 {
  background: url("../images/dataflow.png") no-repeat;
  border: 1px solid #ccc;
  border-radius: 25px;
  background-size: cover;
  transition-property: box-shadow, transform;
  transition-duration: 350ms;
  transition-timing-function: ease;
  box-shadow: 0 0.2em 5em rgba(209, 71, 71, 0.5), 0 2em 4em rgba(0, 0, 0, 0.1);
}

.cta-block-2:is(:hover, :focus) {
  box-shadow: 0px 8px 10px 1px rgba(0, 0, 0, 0.2);
  transform: translateY(-8px);
}

.cta-block-3 {
  background: url("../images/mm_bg.png") no-repeat;
  border: 1px solid #ccc;
  border-radius: 25px;
  background-size: cover;
  transition-property: box-shadow, transform;
  transition-duration: 350ms;
  transition-timing-function: ease;
  box-shadow: 0 0.2em 5em rgba(209, 71, 71, 0.5), 0 2em 4em rgba(0, 0, 0, 0.1);
}

.cta-block-3:is(:hover, :focus) {
  box-shadow: 0px 8px 10px 1px rgba(0, 0, 0, 0.2);
  transform: translateY(-8px);
}

.cta-block-4 {
  position: relative; /* Ensure the overlay is positioned relative to this container */
  background: url("../images/infini.png") no-repeat;
  border: 1px solid #ccc;
  border-radius: 25px;
  background-size: cover;
  transition-property: box-shadow, transform;
  transition-duration: 350ms;
  transition-timing-function: ease;
  box-shadow: 0 0.2em 5em rgba(209, 71, 71, 0.5), 0 2em 4em rgba(0, 0, 0, 0.1);
}

/* Add overlay */
.cta-block-4::before {
  content: ""; /* Required for the pseudo-element */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Black with 50% opacity */
  border-radius: inherit; /* Inherit border-radius from parent */
  opacity: 1; /* Initially hidden */
  transition: opacity 0.3s ease; /* Smooth transition for opacity */
}

/* Show overlay on hover/focus */
.cta-block-4:hover::before,
.cta-block-4:focus::before {
  opacity: 1;
}

.cta-block-4:is(:hover, :focus) {
  box-shadow: 0px 8px 10px 1px rgba(0, 0, 0, 0.2);
  transform: translateY(-8px);
}

@media (max-width: 767px) {
  .cta-item {
    padding: 8vw; /* Adjust the percentage for fluid padding on smaller screens */
  }
  .cta-item .h6 {
    font-size: 3vw; /* Adjust the percentage for fluid font size on smaller screens */
  }
  .cta-item h2 {
    font-size: 6vw; /* Adjust the percentage for fluid font size on smaller screens */
  }
  .cta-item p.lead {
    font-size: 4vw; /* Adjust the percentage for fluid font size on smaller screens */
  }
  .cta-item h3,
  .cta-item h4 {
    font-size: 4vw; /* Adjust the percentage for fluid font size on smaller screens */
    margin-bottom: 2vw; /* Adjust the percentage for fluid margin on smaller screens */
  }
}
.testimonial-item {
  padding: 50px 30px;
}
.testimonial-item i {
  font-size: 40px;
  position: absolute;
  left: 30px;
  top: 30px;
  z-index: 1;
}
.testimonial-item .testimonial-text {
  font-size: 20px;
  line-height: 38px;
  color: #242424;
  margin-bottom: 30px;
  font-style: italic;
}
.testimonial-item .testimonial-item-content {
  padding-left: 65px;
}
.testimonial-item img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

.slick-slide:focus, .slick-slide a {
  outline: none;
}

.hero-img {
  background: url("../images/bg/home-5.jpg");
  position: absolute;
  content: "";
  background-size: cover;
  width: 100%;
  height: 100%;
  top: 0px;
}

.h70 {
  height: 55%;
}

.lh-45 {
  line-height: 45px;
}

.pricing-header h1 {
  font-size: 70px;
  font-weight: 300;
}

.pricing .btn-solid-border {
  border-color: #dedede;
}
.pricing .btn-solid-border:Hover {
  border-color: rgb(247, 87, 87);
}

.portflio-item {
  box-shadow: 0 0.8em 1em rgba(209, 71, 71, 0.5), 0 2em 4em rgba(0, 0, 0, 0.1);
  /* Add relative positioning to establish a positioning context */
}
.portflio-item .portfolio-item img {
  width: 50%; /* Adjust the percentage for fluid width */
  height: auto; /* Maintain aspect ratio */
  max-height: 50vh; /* Set a maximum height if needed */
  -o-object-fit: cover;
     object-fit: cover;
}
.portflio-item .portfolio-item-content {
  position: absolute;
  content: "";
  bottom: 50%;
  left: 50%;
  transform: translate(-50%, 15%);
  opacity: 1;
  transition: all 1.35s ease;
}
.portflio-item:before {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(194, 194, 194, 0.747);
  opacity: 1;
  transition: all 1.35s ease;
  overflow: hidden;
}
.portflio-item:hover:before {
  opacity: 0;
}
.portflio-item:hover .portfolio-item-content {
  opacity: 1;
  box-shadow: 0px 1.6% 2% 0.1% rgba(0, 0, 0, 0.2);
  transform: translateX(-0.5%);
}
.portflio-item .overlay-item {
  position: absolute;
  content: "";
  left: 0px;
  top: 0px;
  bottom: 0px;
  right: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  color: rgb(247, 87, 87);
  opacity: 0;
  transition: all 1.35s ease;
}
.portflio-item:hover .overlay-item {
  opacity: 0;
}

.contact-form-wrap .form-group {
  padding-bottom: 15px;
  margin: 0px;
}
.contact-form-wrap .form-group .form-control {
  background: #f5f8f9;
  height: 48px;
  border: 1px solid #EEF2F6;
  box-shadow: none;
  width: 100%;
}
.contact-form-wrap .form-group-2 {
  margin-bottom: 13px;
}
.contact-form-wrap .form-group-2 textarea {
  background: #f5f8f9;
  height: 135px;
  border: 1px solid #EEF2F6;
  box-shadow: none;
  width: 100%;
}

.address-block li {
  margin-bottom: 10px;
}
.address-block li i {
  font-size: 20px;
  width: 20px;
}

.social-icons li {
  margin: 0 6px;
}
.social-icons i {
  margin-right: 15px;
  font-size: 25px;
}

.google-map {
  position: relative;
}

.google-map #map {
  width: 100%;
  height: 450px;
}

/*=================================================================
  Latest Posts
==================================================================*/
.blog-item-content {
  text-align: justify;
}
.blog-item-content h3 {
  line-height: 36px;
}
.blog-item-content h3 a {
  transition: all 0.4s ease 0s;
}
.blog-item-content h3 a:hover {
  color: rgb(247, 87, 87) !important;
}

.lh-36 {
  line-height: 36px;
}

.tags a {
  background: #f5f8f9;
  display: inline-block;
  padding: 8px 23px;
  border-radius: 38px;
  margin-bottom: 10px;
  border: 1px solid #eee;
  font-size: 14px;
  text-transform: capitalize;
}

.pagination .nav-links a,
.pagination .nav-links span.current {
  font-size: 20px;
  font-weight: 500;
  color: #c9c9c9;
  margin: 0 10px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.pagination .nav-links span.current,
.pagination .nav-links a.next,
.pagination .nav-links a.prev {
  color: #242424;
}

h3.quote {
  font-size: 24px;
  line-height: 40px;
  font-weight: normal;
  padding: 0px 25px 0px 85px;
  margin: 65px 0 65px 0 !important;
  position: relative;
}
@media (max-width: 768px) {
  h3.quote {
    padding: 0;
    padding-left: 20px;
  }
}

h3.quote::before {
  content: "";
  width: 55px;
  height: 2px;
  background: rgb(247, 87, 87);
  position: absolute;
  top: 25px;
  left: 0;
}
@media (max-width: 768px) {
  h3.quote::before {
    top: 5px;
    width: 2px;
    height: 35px;
  }
}

.nav-posts-title {
  line-height: 25px;
  font-size: 18px;
}

.latest-blog {
  position: relative;
  padding-bottom: 150px;
}

.mt-70 {
  margin-top: -70px;
}

.border-1 {
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.blog-item {
  border: 5px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.blog-card {
  width: 100%; /* Set a fixed width for the cards */
  height: 75%;
}

.blog-card .img-fluid {
  width: 100%; /* Make sure the image fills the card */
  height: 250px; /* Maintain the image's aspect ratio */
}

/*=================================================================
  Single Blog Page
==================================================================*/
.post.post-single {
  border: none;
}
.post.post-single .post-thumb {
  margin-top: 30px;
}

.post-sub-heading {
  border-bottom: 1px solid #dedede;
  padding-bottom: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 16px;
  margin-bottom: 20px;
}

.post-social-share {
  margin-bottom: 50px;
}

.post-comments {
  margin: 30px 0;
}
.post-comments .media {
  margin-top: 20px;
}
.post-comments .media > .pull-left {
  padding-right: 20px;
}
.post-comments .comment-author {
  margin-top: 0;
  margin-bottom: 0px;
  font-weight: 500;
}
.post-comments .comment-author a {
  color: rgb(247, 87, 87);
  font-size: 14px;
  text-transform: uppercase;
}
.post-comments time {
  margin: 0 0 5px;
  display: inline-block;
  color: #808080;
  font-size: 12px;
}
.post-comments .comment-button {
  color: rgb(247, 87, 87);
  display: inline-block;
  margin-left: 5px;
  font-size: 12px;
}
.post-comments .comment-button i {
  margin-right: 5px;
  display: inline-block;
}
.post-comments .comment-button:hover {
  color: rgb(247, 87, 87);
}

.post-excerpt {
  margin-bottom: 60px;
}
.post-excerpt h3 a {
  color: #000;
}
.post-excerpt p {
  margin: 0 0 30px;
}
.post-excerpt blockquote.quote-post {
  margin: 20px 0;
}
.post-excerpt blockquote.quote-post p {
  line-height: 30px;
  font-size: 20px;
  color: rgb(247, 87, 87);
}

.single-blog {
  background-color: #fff;
  margin-bottom: 50px;
  padding: 20px;
}

.blog-subtitle {
  font-size: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #dedede;
  margin-bottom: 25px;
  text-transform: uppercase;
}

.next-prev {
  border-bottom: 1px solid #dedede;
  border-top: 1px solid #dedede;
  margin: 20px 0;
  padding: 25px 0;
}
.next-prev a {
  color: #000;
}
.next-prev a:hover {
  color: rgb(247, 87, 87);
}
.next-prev .prev-post i {
  margin-right: 10px;
}
.next-prev .next-post i {
  margin-left: 10px;
}

.social-profile ul li {
  margin: 0 10px 0 0;
  display: inline-block;
}
.social-profile ul li a {
  color: #4e595f;
  display: block;
  font-size: 16px;
}
.social-profile ul li a i:hover {
  color: rgb(247, 87, 87);
}

.comments-section {
  margin-top: 35px;
}

.author-about {
  margin-top: 40px;
}

.post-author {
  margin-right: 20px;
}

.post-author > img {
  border: 1px solid #dedede;
  max-width: 120px;
  padding: 5px;
  width: 100%;
}

.comment-list ul {
  margin-top: 20px;
}
.comment-list ul li {
  margin-bottom: 20px;
}

.comment-wrap {
  border: 1px solid #dedede;
  border-radius: 1px;
  margin-left: 20px;
  padding: 10px;
  position: relative;
}
.comment-wrap .author-avatar {
  margin-right: 10px;
}
.comment-wrap .media .media-heading {
  font-size: 14px;
  margin-bottom: 8px;
}
.comment-wrap .media .media-heading a {
  color: rgb(247, 87, 87);
  font-size: 13px;
}
.comment-wrap .media .comment-meta {
  font-size: 12px;
  color: #888;
}
.comment-wrap .media p {
  margin-top: 15px;
}

.comment-reply-form {
  margin-top: 80px;
}
.comment-reply-form input, .comment-reply-form textarea {
  height: 35px;
  border-radius: 0;
  box-shadow: none;
}
.comment-reply-form input:focus, .comment-reply-form textarea:focus {
  box-shadow: none;
  border: 1px solid rgb(247, 87, 87);
}
.comment-reply-form textarea, .comment-reply-form .btn-main, .comment-reply-form .btn-transparent, .comment-reply-form .btn-small {
  height: auto;
}

.widget {
  margin-bottom: 30px;
  padding-bottom: 35px;
}
.widget .widget-title {
  margin-bottom: 15px;
  padding-bottom: 10px;
  font-size: 16px;
  color: #333;
  font-weight: 500;
  border-bottom: 1px solid #dedede;
}
.widget.widget-latest-post .media .media-object {
  width: 100px;
  height: auto;
}
.widget.widget-latest-post .media .media-heading a {
  color: #242424;
  font-size: 16px;
}
.widget.widget-latest-post .media p {
  font-size: 12px;
  color: #808080;
}
.widget.widget-category ul li {
  margin-bottom: 10px;
}
.widget.widget-category ul li a {
  color: #837f7e;
  transition: all 0.3s ease;
}
.widget.widget-category ul li a:before {
  padding-right: 10px;
}
.widget.widget-category ul li a:hover {
  color: rgb(247, 87, 87);
  padding-left: 5px;
}
.widget.widget-tag ul li {
  margin-bottom: 10px;
  display: inline-block;
  margin-right: 5px;
}
.widget.widget-tag ul li a {
  color: #837f7e;
  display: inline-block;
  padding: 8px 15px;
  border: 1px solid #dedede;
  border-radius: 30px;
  font-size: 14px;
  transition: all 0.3s ease;
}
.widget.widget-tag ul li a:hover {
  color: #fff;
  background: rgb(247, 87, 87);
  border: 1px solid rgb(247, 87, 87);
}

.overlay-ribbon {
  position: fixed;
  width: 8.5em;
  height: 7em;
  z-index: 9999;
  top: -110px;
  left: 1%;
  background: #c54041;
  padding: 5px 1px;
  /* IE10 Consumer Preview */
  /* Mozilla Firefox */
  /* Opera */
  /* Webkit (Safari/Chrome 10) */
  /* Webkit (Chrome 11+) */
  /* W3C Markup, IE10 Release Preview */
  background-image: radial-gradient(circle farthest-side at center top, #812929 0%, #c54041 100%);
  box-shadow: -5px 21px 28px -4px rgba(0, 0, 0, 0.43);
  border-radius: 8px;
  animation: slidein 3s ease-in-out forwards;
}

.ribbon-content {
  z-index: 99999;
  position: relative;
  margin: 5px 2px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), -2px -2px 4px rgba(255, 255, 255, 0.3);
}

.ribbon-content h5 {
  margin: 0;
  padding: 5px 0 5px 0;
  line-height: 22px;
  font-weight: lighter;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
  color: rgba(255, 255, 255, 0.3882352941);
  text-align: center;
}

.ribbon-content > p,
.ribbon-content > p span {
  color: #ffffff;
  margin: 0;
  padding: 0;
}

.ribbon-content p span {
  display: block;
}

.close-x {
  position: absolute;
  top: 5px;
  border-radius: 10%;
  right: 5px;
  z-index: 99;
}

.close-x a:link,
.close-x a:visited {
  background: #c54041;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.4862745098);
  padding: 0 5px;
  font-weight: lighter;
  text-decoration: none;
}

.close-x a:hover {
  background: #ad4343;
}

.overlay-ribbon:before,
.overlay-ribbon:after {
  content: none;
}

.slideout {
  animation: slideout 1s ease-in-out forwards;
}
@keyframes slidein {
  from {
    transform: translate(0, -400px);
  }
  to {
    transform: translate(0, 100px);
  }
}
@keyframes slideout {
  from {
    transform: translate(0, 100px);
  }
  to {
    transform: translate(0, -400px);
  }
}
.footer {
  padding-top: 3vw; /* Adjust as needed */
  padding-bottom: 0; /* No need to adjust */
}
.footer li a {
  margin-left: 0.5vw; /* Adjust as needed */
}
.footer .copyright a {
  font-weight: 200;
}

.lh-35 {
  line-height: 2.5vw; /* Adjust as needed */
}

.logo {
  color: #242424;
  font-weight: 600;
  letter-spacing: 1vw; /* Adjust as needed */
}
.logo span {
  color: rgb(247, 87, 87);
}

.sub-form {
  position: relative;
}
.sub-form .form-control {
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #f5f8f9;
}

.footer-btm {
  border-top: 0.2vw solid rgba(0, 0, 0, 0.1); /* Adjust as needed */
  padding-top: 0; /* No need to adjust */
  padding-bottom: 1vw; /* Adjust as needed */
}

.footer-socials li a {
  margin-left: 0.5vw; /* Adjust as needed */
}

.scroll-to-top {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 20px; /* Place the button at the bottom of the page */
  right: 30px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  background-color: red; /* Set a background color */
  color: white; /* Text color */
  cursor: pointer; /* Add a mouse pointer on hover */
  padding: 15px; /* Some padding */
  border-radius: 10px; /* Rounded corners */
  font-size: 18px; /* Increase font size */
}
.scroll-to-top:hover {
  background-color: #333;
}

/*=== MEDIA QUERY ===*/
@media (max-width: 992px) {
  .slider .block h1 {
    font-size: 56px;
    line-height: 70px;
  }
  .bg-about {
    display: none;
  }
  section.about {
    border: 1px solid #dee2e6;
    border-left: 0;
    border-right: 0;
  }
  .footer-socials {
    margin-top: 20px;
  }
  .footer-socials li a {
    margin-left: 0px;
  }
}
@media (max-width: 768px) {
  .navbar-toggler {
    color: #fff;
  }
  .bg-about {
    display: none;
  }
  .slider .block h1 {
    font-size: 48px;
    line-height: 62px;
  }
  .blog-item-meta span {
    margin: 6px 0px;
  }
  .widget {
    margin-bottom: 30px;
    padding-bottom: 0px;
  }
}
@media (max-width: 480px) {
  .header-top .header-top-info a {
    margin-left: 10px;
    margin-right: 10px;
  }
  .navbar-toggler {
    color: #fff;
  }
  .slider .block h1 {
    font-size: 38px;
    line-height: 50px;
  }
  .content-title {
    font-size: 28px;
    line-height: 46px;
  }
  .p-5 {
    padding: 2rem !important;
  }
  h2, .h2 {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 36px;
  }
  .testimonial-item .testimonial-item-content {
    padding-left: 0px;
    padding-top: 30px;
  }
  .widget {
    margin-bottom: 30px;
    padding-bottom: 0px;
  }
}
@media (max-width: 400px) {
  .header-top .header-top-info a {
    display: block;
  }
  .navbar-toggler {
    color: #fff;
  }
  .content-title {
    font-size: 28px;
    line-height: 46px;
  }
  .bg-about {
    display: none;
  }
  .p-5 {
    padding: 2rem !important;
  }
  h2, .h2 {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 36px;
  }
  .testimonial-item .testimonial-item-content {
    padding-left: 0px;
    padding-top: 30px;
  }
  .text-lg {
    font-size: 3rem;
  }
  .widget {
    margin-bottom: 30px;
    padding-bottom: 0px;
  }
}
.timeline {
  position: relative;
  padding: 4px 0 0 0;
  margin-top: 22px;
  list-style: none;
}

.timeline > li:nth-child(even) {
  position: relative;
  margin-bottom: 50px;
  height: 180px;
  right: -100px;
}

.timeline > li:nth-child(odd) {
  position: relative;
  margin-bottom: 50px;
  height: 180px;
  left: -100px;
}

.timeline > li:before,
.timeline > li:after {
  content: " ";
  display: table;
}

.timeline > li:after {
  clear: both;
  min-height: 170px;
}

.timeline > li .timeline-panel {
  position: relative;
  float: left;
  width: 41%;
  padding: 0 20px 20px 30px;
  text-align: right;
}

.timeline > li .timeline-panel:before {
  right: auto;
  left: -15px;
  border-right-width: 15px;
  border-left-width: 0;
}

.timeline > li .timeline-panel:after {
  right: auto;
  left: -14px;
  border-right-width: 14px;
  border-left-width: 0;
}

.timeline > li .tim-img-circle {
  z-index: 100;
  position: absolute;
  left: 50%;
  border: 7px solid #ff0000;
  border-radius: 100%;
  background-color: #ffffff;
  box-shadow: 0 0 5px #000000;
  width: 200px;
  height: 200px;
  margin-left: -100px;
  transition-property: box-shadow, transform;
  transition-duration: 350ms;
  transition-timing-function: ease;
}

.timeline > li .tim-img-circle-green {
  z-index: 100;
  position: absolute;
  left: 50%;
  border: 7px solid #14b814;
  border-radius: 100%;
  background-color: #ffffff;
  box-shadow: 0 0 5px #000000;
  width: 200px;
  height: 200px;
  margin-left: -100px;
  transition-property: box-shadow, transform;
  transition-duration: 350ms;
  transition-timing-function: ease;
}

.tim-img-circle2 {
  z-index: 99;
  position: absolute;
  left: 0%;
  background-color: #ffffff;
  box-shadow: 0 0 5px #000000;
  width: 450px;
  height: 50px;
  border-radius: 10px;
}

.tim-img-circle:is(:hover, :focus) {
  box-shadow: 0px 8px 10px 1px rgba(0, 0, 0, 0.2);
  transform: translateY(-25px);
}

.tim-img-circle-green:is(:hover, :focus) {
  box-shadow: 0px 8px 10px 1px rgba(0, 0, 0, 0.2);
  transform: translateY(25px);
}

.timeline > li .timeline-image h4 {
  margin-top: 12px;
  font-size: 10px;
  line-height: 14px;
}

.timeline > li.timeline-inverted > .timeline-panel {
  float: right;
  padding: 0 30px 20px 20px;
  text-align: left;
}

.timeline > li.timeline-inverted > .timeline-panel:before {
  right: auto;
  left: -15px;
  border-right-width: 15px;
  border-left-width: 0;
}

.timeline > li.timeline-inverted > .timeline-panel:after {
  right: auto;
  left: -14px;
  border-right-width: 14px;
  border-left-width: 0;
}

.timeline > li:last-child {
  margin-bottom: 0;
}

.timeline .timeline-heading h4 {
  margin-top: 22px;
  margin-bottom: 4px;
  padding: 0;
  color: #b3b3b3;
}

.timeline .timeline-heading h3 {
  margin-top: 22px;
  margin-bottom: 4px;
  padding: 0;
  color: #ff0000;
}

.timeline .timeline-heading-green h3 {
  margin-top: 22px;
  margin-bottom: 4px;
  padding: 0;
  color: #14b814;
}

.timeline .timeline-heading h4.subheading {
  margin: 0;
  padding: 0;
  text-transform: none;
  font-size: 18px;
  color: #333333;
}

.timeline .timeline-body > p,
.timeline .timeline-body > ul {
  margin-bottom: 0;
  color: #808080;
}

/*Style for even div.line*/
.timeline > li:nth-child(odd) .line:before {
  content: "";
  position: absolute;
  top: 60px;
  bottom: 0;
  left: 690px;
  width: 4px;
  height: 340px;
  background-color: #000000; /* IE 9 */ /* Safari */
  transform: rotate(-44deg);
  box-shadow: 0 0 5px #000000;
}

/*Style for odd div.line*/
.timeline > li:nth-child(even) .line:before {
  content: "";
  position: absolute;
  top: 60px;
  bottom: 0;
  left: 450px;
  width: 4px;
  height: 340px;
  background-color: #000000; /* IE 9 */ /* Safari */
  transform: rotate(44deg);
  box-shadow: 0 0 5px #000000;
}

/* Hide timeline section on small devices (mobile and tablet) */
@media (max-width: 1024px) {
  .timeline {
    display: none;
  }
}
.circle {
  padding: 13px 20px;
  border-radius: 50%;
  background-color: #ED8D8D;
  color: #fff;
  max-height: 50px;
  z-index: 2;
}

.how-it-works.row .col-2 {
  align-self: stretch;
}

.how-it-works.row .col-2::after {
  content: "";
  position: absolute;
  border-left: 3px solid #ED8D8D;
  z-index: 1;
}

.how-it-works.row .col-2.bottom::after {
  height: 50%;
  left: 50%;
  top: 50%;
}

.how-it-works.row .col-2.full::after {
  height: 100%;
  left: calc(50% - 3px);
}

.how-it-works.row .col-2.top::after {
  height: 50%;
  left: 50%;
  top: 0;
}

.timeline div {
  padding: 0;
  height: 40px;
}

.timeline hr {
  border-top: 3px solid #ED8D8D;
  margin: 0;
  top: 17px;
  position: relative;
}

.timeline .col-2 {
  display: flex;
  overflow: hidden;
}

.timeline .corner {
  border: 3px solid #ED8D8D;
  width: 100%;
  position: relative;
  border-radius: 15px;
}

.timeline .top-right {
  left: 50%;
  top: -50%;
}

.timeline .left-bottom {
  left: -50%;
  top: calc(50% - 3px);
}

.timeline .top-left {
  left: -50%;
  top: -50%;
}

.timeline .right-bottom {
  left: 50%;
  top: calc(50% - 3px);
}

.slick-slider {
  margin: 10px 20px;
}

.slick-slider img {
  max-width: 75%;
  max-height: 100%;
  padding-top: 3%;
  padding-bottom: 1%;
}

.slick-slider {
  position: relative;
  display: block;
  box-sizing: border-box;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -khtml-user-select: none;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
  margin: 0 auto; /* Center the slider in its container */
}

.slick-list {
  position: relative;
  display: block;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.slick-list:focus {
  outline: none;
}

.slick-list.dragging {
  cursor: pointer;
  cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list {
  transform: translate3d(0, 0, 0);
}

.slick-track {
  position: relative;
  top: 0;
  left: 0;
  display: flex;
}

.slick-track:before,
.slick-track:after {
  display: table;
  content: "";
}

.slick-track:after {
  clear: both;
}

.slick-loading .slick-track {
  visibility: hidden;
}

.slick-slide {
  display: none;
  float: left;
  height: 100%;
  min-height: 1px;
}

[dir=rtl] .slick-slide {
  float: right;
}

.slick-slide.slick-loading img {
  display: none;
}

.slick-slide.dragging img {
  pointer-events: none;
}

.slick-initialized .slick-slide {
  display: block;
}

.slick-loading .slick-slide {
  visibility: hidden;
}

.slick-vertical .slick-slide {
  display: block;
  height: auto;
  border: 1px solid transparent;
}

.slick-arrow.slick-hidden {
  display: none;
}

.flip-card {
  background-color: transparent;
  width: 450px;
  height: 300px;
  perspective: 1000px;
  /* Remove this if you don't want the 3D effect */
  transition-property: box-shadow, transform;
  transition-duration: 350ms;
  transition-timing-function: ease;
}

/* This container is needed to position the front and back side */
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 1s;
  transform-style: preserve-3d;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
  box-shadow: 0px 8px 10px 1px rgba(0, 0, 0, 0.2);
}

/* Position the front and back side */
.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  /* Safari */
  backface-visibility: hidden;
}

/* Style the back side */
.flip-card-back {
  background-color: rgb(255, 255, 255);
  color: rgb(0, 0, 0);
  transform: rotateY(180deg);
}

/* Media query for smaller screens */
@media (max-width: 768px) {
  .flip-card {
    width: 100%;
    max-width: none; /* Reset max-width */
    height: auto;
    margin-bottom: 300px; /* Adjust as needed for spacing between cards */
  }
}
.container-multimuxa {
  position: relative;
  text-align: center;
  display: inline;
}

.image-container {
  position: relative;
  height: 300px; /* Set your desired height */
}

.fluid-image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover; /* Ensures the image covers the entire container */
}

.products-item {
  box-shadow: 0 0.8em 1em rgba(209, 71, 71, 0.5), 0 2em 4em rgba(0, 0, 0, 0.1);
}
.products-item .products-item img {
  width: 300px;
  /* Set a fixed width */
  height: 200px;
  /* Set a fixed height */
  -o-object-fit: cover;
     object-fit: cover;
  /* Maintain aspect ratio */
}
.products-item .products-item-content {
  position: absolute;
  content: "";
  right: 0px;
  bottom: 0px;
  opacity: 0;
  transition: all 0.35s ease;
}
.products-item:before {
  position: absolute;
  content: "";
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  opacity: 0;
  transition: all 0.35s ease;
  overflow: hidden;
}
.products-item:hover:before {
  opacity: 1;
}
.products-item:hover .products-item-content {
  opacity: 1;
  bottom: 20px;
  right: 30px;
  box-shadow: 0px 8px 10px 1px rgba(0, 0, 0, 0.2);
  transform: translateY(-8px);
}
.products-item .overlay-item {
  position: absolute;
  content: "";
  left: 0px;
  top: 0px;
  bottom: 0px;
  right: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  color: rgb(247, 87, 87);
  opacity: 0;
  transition: all 0.35s ease;
}
.products-item:hover .overlay-item {
  opacity: 1;
}

/* Custom styling for carousel controls */
#carouselContent .carousel-control-prev,
#carouselContent .carousel-control-next {
  color: #000;
  /* Set your desired dark color */
  background-color: rgba(255, 0, 0, 0.404);
  /* Set a semi-transparent background color if needed */
  border: 0px solid #000;
  /* Set a border color if needed */
  border-radius: 30px;
  top: 20%;
  /* Adjust the vertical position */
  transform: translateY(-50%);
  /* Center the controls vertically */
}

#carouselContent .carousel-control-prev {
  left: -20%;
  /* Adjust the horizontal position for the left control */
}

#carouselContent .carousel-control-next {
  right: 0;
  /* Adjust the horizontal position for the right control */
}

#carouselContent .carousel-control-prev:hover,
#carouselContent .carousel-control-next:hover {
  color: #fff;
  /* Set a different color for the controls on hover if desired */
  background-color: rgba(0, 0, 0, 0.7);
  /* Set a different background color on hover if desired */
  border: 1px solid #000;
  /* Set a different border color on hover if desired */
}

#custom-carousel {
  background: url("../images/bg/home-1.jpg") fixed 50% 50%;
  background-size: cover;
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero-slides {
  padding-top: 20%; /* Adjust depending on your navbar height */
}

.carousel-fade .carousel-item {
  transition: opacity 0.1s ease-in-out;
  opacity: 0;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding-top: 20%;
  /* adjust to match actual header height */
}

/* Limit content width and align items side-by-side */
#custom-carousel .carousel-item .d-flex {
  max-width: 1100px;
  margin: 0 auto;
  justify-content: center;
  align-items: center;
  gap: 40px; /* space between image and text */
}

/* Optional: control image size */
#custom-carousel .carousel-item img {
  max-width: 350px;
  height: auto;
  border-radius: 8px;
}

/* Optional: control text container width */
#custom-carousel .carousel-item .flex-grow-1 {
  max-width: 600px;
}

.carousel-fade .carousel-item.active {
  opacity: 1;
  position: relative;
  z-index: 2;
}

#custom-carousel .carousel-inner,
#custom-carousel .carousel-item {
  height: 100%;
}

#custom-carousel .caption {
  animation-duration: 0.6s;
  animation-delay: 1s;
}

#custom-carousel .caption h1,
#custom-carousel .caption h2 {
  font-size: 60px;
  font-weight: 600;
  color: #fff;
  animation-duration: 0.6s;
  animation-delay: 1s;
}

#custom-carousel .caption p {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 20px;
  color: #fff;
  animation-duration: 1s;
  animation-delay: 1.2s;
}

#custom-carousel .caption a {
  animation-duration: 1s;
  animation-delay: 1.4s;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  #custom-carousel {
    height: auto;
    padding: 40px 0;
  }
  #custom-carousel .caption h1,
  #custom-carousel .caption h2 {
    font-size: 32px;
    line-height: 40px;
    text-align: center;
  }
  #custom-carousel .caption p {
    font-size: 16px;
    text-align: center;
  }
  #custom-carousel .caption a {
    display: inline-block;
    margin: 0 auto;
  }
  #custom-carousel img {
    max-width: 100%;
    max-height: 300px;
    height: auto;
  }
}
#custom-carousel .carousel-item .row {
  display: flex;
  justify-content: center;
  /* horizontal centering */
  align-items: center;
  /* vertical centering */
  height: 100%;
  /* ensure full height is used */
}

/* Basic styling for the container */
.container_map {
  position: relative;
  width: 100%;
  max-width: 1600px; /* Maximum width for the image container */
  display: flex;
}

/* Style the image */
.image_map {
  width: 100%;
  height: auto;
}

/* Tooltip styling */
.tooltip_map {
  display: none;
  position: absolute;
  background-color: #ffffff; /* Light grey background */
  color: black; /* Black text */
  padding: 5px;
  border-radius: 5px;
  font-size: 14px;
  max-width: 150px;
  text-align: center;
  border: 1px solid #A9A9A9; /* Darker grey border */
}

/* Style for the overlay areas */
.overlay_map {
  position: absolute;
  background-color: rgba(255, 0, 0, 0.65); /* Red with 65% opacity */
  box-shadow: 0 0 15px 15px rgba(255, 0, 0, 0.4); /* Blur effect around the edges */
  cursor: pointer;
}

/* Info box styling */
.info_box_map {
  display: none;
  position: absolute;
  top: 20%;
  right: 20%;
  width: -moz-fit-content;
  width: fit-content;
  padding: 10px;
  background-color: #D3D3D3;
  color: black;
  border: 1px solid #A9A9A9;
  border-radius: 5px;
  font-size: 16px;
  z-index: 1;
}

/* Responsive overlays using percentage-based positioning */
/* Channel Islands */
.overlay1_map {
  top: 85%;
  left: 50.5%;
  width: 5%;
  height: 5%;
  border-radius: 50%;
}

/* Winchester */
.overlay2_map {
  top: 75%;
  left: 55%;
  width: 3%;
  height: 3%;
  border-radius: 50%;
}

/* NE Wales */
.overlay3_map {
  top: 62%;
  left: 46.5%;
  width: 7%;
  height: 5%;
  border-radius: 50%;
}

/* Stoke */
.overlay4_map {
  top: 65%;
  left: 49%;
  width: 4%;
  height: 4%;
  border-radius: 50%;
}

/* Sheffield */
.overlay5_map {
  top: 62%;
  left: 53%;
  width: 4%;
  height: 4%;
  border-radius: 50%;
}

/* Salisbury */
.overlay6_map {
  top: 75%;
  left: 52.5%;
  width: 3%;
  height: 3%;
  border-radius: 50%;
}

/* Portsmouth */
.overlay7_map {
  top: 77%;
  left: 54%;
  width: 3%;
  height: 3%;
  border-radius: 50%;
}

/* South Shields */
.overlay8_map {
  top: 49%;
  left: 53%;
  width: 4%;
  height: 4%;
  border-radius: 50%;
}

/* Aberystwyth */
.overlay9_map {
  top: 67%;
  left: 47%;
  width: 3%;
  height: 3%;
  border-radius: 50%;
}
/*# sourceMappingURL=style.css.map */
