/* ------------Banner Section ------------ */

.hero-banner {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  max-height: 820px;
}

.hero-banner picture,
.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.banner-content-container {
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  max-width: 40%;
  color: #000;
  z-index: 10;
  text-align: left;
}

.banner-header-text,
.banner-header-sites {
  font-size: 35px;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
}
.banner-header-sites {
  font-size: 18px;
  letter-spacing: 0.02em;
}
.banner-content {
  padding: 43px 39px 30px;
  color: #fff;
  background-color: hsla(0, 7%, 4%, 0.3);
  position: absolute;
  top: 50%;
  left: -390px;
  max-width: 53%;
}
.banner-content-third {
  max-width: 46%;
  left: -505px;
}
.banner-content-fourth {
  max-width: 45%;
  left: -510px;
}
.banner-content-fifth {
  right: -970px;
  max-width: 45%;
}

.banner-header-text .highlight {
  color: #e63946;
  font-weight: bold;
}
@media (min-width: 768px) and (max-width: 991px) {
  .banner-content-container {
    position: absolute !important;
    top: 20%;
    left: 1%;
    max-width: 80% !important;
  }
  .banner-header-text,
  .banner-header-sites {
    text-align: center;
  }
  .banner-content {
    max-width: 90% !important;
    left: 4%;
  }
  .banner-content-fifth {
    left: -960px;
  }
}

@media (max-width: 767px) {
  .banner-content-container {
    max-width: 100%;
    top: 30%;
    left: 1%;
  }

  .banner-header-text,
  .banner-header-sites {
    text-align: center;
    font-size: 22px;
  }
  .banner-header-sites {
    font-size: 16px;
  }
  .banner-content-fifth {
    right: 200px;
  }
}
@media (min-width: 992px) and (max-width: 1200px) {
  .banner-content-container {
    position: absolute !important;
    top: 15%;
    left: 7%;
    max-width: 80% !important;
  }
  .banner-header-text,
  .banner-header-sites {
    text-align: center;
    font-size: 28px;
  }
  .banner-header-sites {
    font-size: 20px;
    text-align: center;
  }
  .banner-content-fifth {
    right: 90px;
  }
}

/* -------------------Product section----------------- */

.desktop-wrapper {
  display: block;
  pointer-events: auto;
  visibility: visible;
  height: auto;
  overflow: visible;
}
.mobile-wrapper {
  pointer-events: none;
  visibility: hidden;
  height: 0;
  overflow: hidden;
}
.section-spacing {
  padding: 0 0 70px;
}

.section-header {
  margin-bottom: 40px;
}

.section-title {
  font-size: 28px;
  font-weight: 600;
  margin: 0;
  text-align: left;
}

.view-all-wrapper {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

@media (max-width: 767px) {
  .section-title {
    text-align: center;
  }
  .view-all-wrapper {
    justify-content: center;
    margin-top: 1rem;
  }
}

.view-all-link {
  color: #dc3545;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.view-all-link:hover {
  color: #a71d2a;
  text-decoration: underline;
}

.circle-sizing {
  font-size: 20px;
}

.card {
  background-color: #f3f3f366;
  border: none;
  border-radius: 0;
  padding: 20px;
}

.card h2,
.card-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
}

.card p,
.card-text {
  font-size: 0.95rem;
  color: #555;
  margin: 0;
}

.card-body {
  padding: 7px;
}
.card-body-1 {
  margin-left: 20px;
}

.card-first-small {
  padding-top: 21px;
  padding-bottom: 20px;
}

.product-button,
.product-mobile-button,
.support-button {
  font-weight: 500;
  font-size: 14px;
  padding: 8px 40px;
  transition: transform 0.8s ease-in-out;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  outline: none;
  border-radius: 0;
}

.product-button::before,
.product-mobile-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100px;
  height: 100%;
  background-image: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0) 70%
  );
  opacity: 0.6;
  transform: translateX(-120%);
  transition: transform 1.2s ease-in-out;
}

.product-button:hover::before,
.product-mobile-button:hover::before {
  transform: translateX(220%);
}

.button-alignment {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.button-alignment a {
  text-decoration: none;
}

.carousel-wrapper {
  max-width: 200px;
  margin: 0 auto;
  text-align: center;
}

.carousel-wrapper-1 {
  max-width: 200px;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  position: relative;
  top: 15px;
}

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ccc;
  border: none;
  transition: all 0.3s ease;
}

.carousel-indicators .active {
  background-color: #dc3545;
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px #dc3545;
}
.indicators {
  margin-top: 0 !important;
}

.text-style {
  font-size: 28px;
  font-weight: 600;
}

@media (max-width: 576px) {
  .desktop-wrapper {
    pointer-events: none;
    visibility: hidden;
    height: 0;
    overflow: hidden;
  }
  .mobile-wrapper {
    display: block;
    pointer-events: auto;
    visibility: visible;
    height: auto;
    overflow: visible;
  }
  .section-spacing {
    padding: 50px 0;
  }

  .section-title {
    font-size: 24px;
    text-align: center;
  }

  .view-all-link {
    justify-content: center;
    font-size: 14px;
  }

  .card {
    padding: 16px;
    border-radius: 8px;
    background-color: #f9f9f9;
  }

  .card-title {
    font-size: 18px;
    margin-bottom: 12px;
  }
  .carousel-img {
    width: 174px;
    height: 154px;
  }

  .card-text {
    font-size: 14px;
    color: #444;
    text-align: center;
  }

  .product-button,
  .product-mobile-button {
    font-size: 12px !important;
    padding: 9px 30px !important;
    margin-top: 10px !important;
  }

  .carousel-inner img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
  }

  .carousel-indicators {
    margin-top: 12px;
    top: 10px;
  }

  .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
  }

  .carousel-indicators .active {
    box-shadow: 0 0 0 2px #fff, 0 0 0 3px #dc3545;
  }

  .text-center {
    text-align: center !important;
  }

  .d-flex.align-items-center {
    flex-direction: column;
    gap: 8px;
  }

  .card .d-flex {
    align-items: center;
  }

  .card img[alt="Icon"] {
    width: 16px;
    height: 16px;
    margin-right: 6px;
  }
}
@media (min-width: 768px) and (max-width: 992px) {
  .card-lfp-body {
    margin: 0 !important;
    padding: 0 !important;
  }
}
/* ---------------------purchase form----------------- */
.custom-dropdown-wrapper {
  position: relative;
}
.custom-dropdown {
  position: relative;
  border: 1px solid #ced4da;
  background-color: white;
  padding: 10px 16px;
  cursor: pointer;
  font-size: 14px;
  color: #393939;
  font-weight: 500;
  height: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dropdown-arrow {
  font-size: 14px;
}
.custom-options {
  display: none;
  max-height: 240px;
  overflow-y: auto;
  border: 1px solid #ced4da;
  position: absolute;
  width: 100%;
  background: #fff;
  z-index: 999;
}
.accordion-options {
  padding-left: 16px;
  background: #fafafa;
}

.accordion-arrow {
  margin-left: 8px;
  display: inline-block;
  transition: transform 0.3s ease;
}
.accordion-arrow i {
  display: inline-block;
  transition: transform 0.3s ease;
}

.custom-option {
  padding: 8px 16px;
  cursor: pointer;
}

.custom-option:hover {
  background-color: #dd1f4d;
  color: white;
}
.selected,
textarea::placeholder,
input::placeholder {
  color: #b3b8c6;
  font-weight: 500;
  font-size: 14px;
}
.selected-filled {
  color: #393939 !important;
}

.purchase-form h1 {
  font-size: 24px;
  font-weight: 600;
  color: hsla(230, 12%, 19%, 1);
  text-align: center;
}
.purchase-button {
  margin: 70px auto;
  width: 60%;
  padding: 11px 30px !important;
  border-radius: 0;
  display: grid;
  place-content: center;
}
.overlay {
  position: fixed;
  z-index: 1040;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
}

body.modal-open {
  overflow: hidden;
}

.popup-wrapper {
  position: fixed;
  z-index: 1050;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.4s ease-in-out;
}

.purchase-form {
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s ease-in-out;
  background: #fff;
  position: relative;
  max-width: 430px;
  width: 100%;
  padding: 0 !important;
  height: 700px;
}
.form-section {
  width: 100%;
  height: 100%;
  padding: 20px 24px 24px 24px;
}

.popup-wrapper.show .purchase-form {
  transform: translateY(0);
  opacity: 1;
}
.close-button {
  font-size: 32px;
  background: none !important;
  border: none !important;
  outline: none !important;
  color: #000;
  line-height: 1;
  padding: 0;
  cursor: pointer;
}

.form-label {
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: #393939;
}
form input {
  border-radius: 0 !important;
}
body.modal-open {
  height: 100vh;
  position: fixed;
  width: 100%;
}

/*--------------------- Second Banner  ---------------------------*/
.customer-support-section {
  background-image: url("../images/second-banner.svg");
  background-repeat: no-repeat;
  height: 310px;
  background-size: cover;
}

.support-text {
  font-size: 2.8975em;
  font-weight: 700;
  color: #fff;
}

.support-text-alignment {
  margin-top: 80px;
  margin-bottom: 80px;
}

.number-text {
  font-weight: 500;
  font-size: 1.1875em;
  color: #fff;
  text-transform: lowercase;
}

.support-button {
  border-radius: 0;
}
.support-button:hover {
  background-color: #fff;
  color: #dd1f4d;
  border: none;
}
.contact-icon {
  width: 20px;
  height: 20px;
}
.contact-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact-links a {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
}

.contact-links a:hover .number-text {
  color: #dd1f4d;
}
@media (max-width: 1200px) {
  .customer-support-section {
    height: auto;
    background-position: center;
    text-align: center;
  }

  .customer-support-second {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .support-text-alignment {
    margin: 20px 0;
  }

  .support-text {
    font-size: 1.8em;
    margin-top: 15px;
  }

  .contact-links {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
  }

  .contact-links a {
    gap: 10px;
    justify-content: center;
  }

  .number-text {
    font-size: 1em;
    margin-left: 8px;
  }

  .support-image {
    width: 345px;
    height: auto;
    margin-top: 20px;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .support-text {
    text-align: center;
  }
}
@media (max-width: 768px) {
  .support-image {
    margin-right: 12px;
  }
}

/*------------------Portfolio----------------------*/
.portfolio-categories .category {
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
  color: #aaa;
}
.portfolio-categories {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: nowrap;
  padding: 0 15px;
  gap: 2rem;
  margin: 0 48px 48px 48px;
}

.portfolio-categories .category-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
}

.portfolio-categories .category img {
  margin-bottom: 0.5rem;
}

.portfolio-categories .category.active {
  color: #e63946;
}
#portfolio-images {
  min-height: 300px;
  transition: all 0.4s ease;
}

.portfolio-categories .category p {
  font-size: 14px;
  margin: 0;
}
.portfolio-images .col-md-4,
.portfolio-images .col-sm-6 {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.portfolio-images .fade-in {
  opacity: 1;
  transform: translateY(0);
}

.project-card {
  position: relative;
  overflow: hidden;
  height: 240px;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#portfolio-images {
  min-height: auto;
}
.project-info {
  position: absolute;
  top: 8px;
  left: 8px;
  cursor: pointer;
  right: 8px;
  bottom: 8px;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  opacity: 0;
  transform: translateY(100px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  padding: 1rem;
  text-align: center;
}
.project-info h5 {
  font-size: 18px;
  margin-bottom: 10px;
}
.project-info p {
  font-size: 14px;
}
.project-info ul li {
  font-size: 14px;
}

.project-card:hover .project-info {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 577px) {
  .portfolio-categories {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    justify-items: center;
    margin: 0 auto;
  }
  .portfolio-categories .category-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .portfolio-categories .category {
    width: 100%;
    text-align: center;
    margin-bottom: 24px;
  }
  .portfolio-categories .category-content img {
    max-width: 48px;
    height: auto;
    margin-bottom: 8px;
  }

  .portfolio-categories .category p {
    font-size: 14px;
    margin: 0;
  }
  .project-card {
    height: 240px;
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: end;
  }
  .project-card img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  .project-card .project-info {
    display: flex !important;
    justify-content: center !important;
    align-items: flex-start !important;
    text-align: left !important;
  }
  .project-info {
    position: absolute;
    top: 40%;
    left: 8px;
    cursor: pointer;
    right: 8px;
    bottom: 0px !important;
    background-color: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 12px 16px !important;
    max-height: 130px !important;
    font-size: 14px;
    overflow: hidden;
    text-align: left;

    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: none;
  }
  .project-card a {
    pointer-events: auto;
  }

  .project-info h5 {
    font-size: 9px !important;
  }

  .project-info p {
    font-size: 9px !important;
  }
  .project-info ul li {
    font-size: 12px !important;
  }
  .project-info ul {
    padding-left: 0;
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  .portfolio-categories {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    margin-left: 0;
    margin-right: 0;
  }

  .portfolio-categories .category {
    flex: 0 0 48%;
  }

  .portfolio-categories .category-content {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
  }

  .portfolio-categories .category p {
    font-size: 14px;
    text-align: left;
  }

  .project-card {
    height: auto;
  }

  .project-card img {
    height: auto;
  }

  .project-info h5 {
    font-size: 16px;
  }

  .project-info p {
    font-size: 13px;
  }
  .project-info ul li {
    font-size: 11px;
  }
}

/* ---------------------------Ecosystem by livaah ----------------------------*/

.ecosystem {
  background-color: #f3f3f366;
  overflow: hidden;
}

.ecosystem-container {
  position: relative;
}

.ecosystem-media {
  position: relative;
  width: 100%;
  height: 500px;
}

.ecosystem-media img,
.ecosystem-media video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#ecosystemImage {
  z-index: 1;
}

#desktopVideo,
#mobileVideo {
  z-index: 2;
  display: none;
  pointer-events: none;
}

.positioning-text {
  position: absolute;
  top: 30px;
  left: 30px;
  font-size: 28px;
  z-index: 3;
  font-weight: 600;
  color: #000;
  padding: 6px 0;
}
@media (min-width: 768px) and (max-width: 992px) {
  .ecosystem-media img,
  .ecosystem-media video {
    width: 100%;
    object-fit: contain !important;
  }
  .positioning-text {
    font-size: 28px;
    top: 42px;
    left: 1px;
  }
}

@media (max-width: 767px) {
  #mobileVideo {
    display: block;
  }

  .ecosystem-media {
    height: 800px;
    width: 100%;
  }

  .ecosystem-media img,
  .ecosystem-media video {
    object-fit: contain;
  }

  .positioning-text {
    top: 10px;
    left: 16px;
    font-size: 18px;
    text-align: left;
  }
}

/* -------------------------------Screens and pages---------------------------------- */

.border-style {
  border: 10px solid #dd1f4d;
  border-radius: 67px;
  border-bottom: none;
  padding: 40px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.portal-text {
  font-size: 25px;
  font-weight: 600;
  line-height: 1.6;
  margin-left: 28px;
}
.portal-text span {
  font-weight: 400;
  font-size: 22px;
}
.content-alignment {
  margin-left: 28px;
}
.avatar-section {
  min-width: 135px;
}
.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid white;
  position: relative;
  z-index: 3;
}
.login-button {
  padding: 6px 28px !important;
  font-size: 10px;
}

.avatar-position,
.avatar-position-1 {
  margin-left: -15px;
  z-index: 2;
}
.screen-text {
  margin-top: 20px;
}

.screen-text h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 0;
}

.screen-text p {
  font-size: 16px;
  font-weight: 400;
  color: #6b748c;
  margin-bottom: 0;
}

.mySwiper {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  box-sizing: border-box;
}

.mySwiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 320px;
  width: 100%;
  border-radius: 15px;
  overflow: hidden;
  transform: scale(0.1);
  transition: transform 0.5s ease-in-out, z-index 0.3s ease;
  z-index: 1;
}

.mySwiper .swiper-slide-active {
  max-width: 700px;
  transform: scale(1);
  z-index: 3;
}

.mySwiper .swiper-slide img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  border: 2px solid #e2e2e2;
  border-radius: 15px;
}

.mySwiper .swiper-pagination {
  margin-top: 30px !important;
  text-align: center;
}

.swiper-pagination-bullet {
  background-color: #dc3545 !important;
}
@media (min-width: 992px) and (max-width: 1200px) {
  .content-alignment {
    flex-wrap: nowrap !important;
    gap: 10px;
  }

  .avatar-section {
    flex: 0 0 auto;
    max-width: 100px;
  }

  .screen-text {
    flex: 1;
  }

  .screen-text h4 {
    font-size: 18px;
  }

  .screen-text p {
    font-size: 14px;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .login-button {
    margin-top: 15px !important;
  }
  .avatar,
  .avatar-position,
  .avatar-position-1 {
    width: 40px;
    height: 40px;
    margin-left: -10px;
  }
  .avatar-section {
    margin-top: 20px;
    margin-bottom: 20px;
  }
}
@media (max-width: 577px) {
  .border-style {
    flex-direction: column;
    border-width: 5px;
    border-radius: 30px;
    padding: 40px 15px;
    margin: 0 5px;
  }

  .portal-text,
  .content-alignment {
    margin-left: 0;
    text-align: center;
  }

  .portal-text {
    font-size: 18px;
    line-height: 1.5;
    margin-top: 48px;
  }
  .portal-text {
    font-size: 22px;
  }

  .content-alignment {
    flex-direction: column;
  }

  .avatar,
  .avatar-position,
  .avatar-position-1 {
    width: 40px;
    height: 40px;
    margin-left: -10px;
  }
  .avatar-section {
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .screen-text h4 {
    font-size: 18px;
    text-align: center;
  }

  .screen-text p {
    font-size: 14px;
    text-align: center;
  }

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

  .mySwiper {
    max-width: 100%;
  }

  .mySwiper .swiper-slide {
    height: 280px;
    padding: 20px;
  }

  .mySwiper .swiper-pagination {
    margin-top: 20px !important;
  }
}

/* --------------------Blogs session--------------------- */
.blog-section {
  background-color: #fafafa;
}
.blog-card {
  border-radius: 45px 45px 45px 0;
  background-color: #fff;
  border: none;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.blog-card .card-title {
  font-size: 1.1rem;
}

.blog-card .card-text {
  font-size: 0.95rem;
}

.arrow-btn {
  width: 56px;
  height: 56px;
  background-color: #111;
  color: #fff;
  border-radius: 50%;
  display: flex;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: background-color 0.3s ease;
  margin-top: 48px;
}

.arrow-btn:hover {
  background-color: #dc3545;
}
@media (max-width: 992px) {
  .blog-scroll-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding-bottom: 10px;
  }

  .blog-scroll-container::-webkit-scrollbar {
    display: none;
  }

  .blog-scroll-container > .col-md-4 {
    flex: 0 0 auto;
    width: 400px !important;
    max-width: 400px !important;
  }
  .blog-container {
    padding-left: 16px;
    padding-right: 16px;
  }
}
