/* Fonts */
:root {
  --font-default: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --font-primary: "Inter", sans-serif;
  --font-secondary: "Poppins", sans-serif;
}

/* Colors */
:root {
  --color-default: #fafafa;
  --color-primary: #1e68f6;
  --color-secondary: #161718;
}

/* Smooth scroll behavior */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: "Hedvig Letters Sans", sans-serif;
  color: var(--color-default);
  background-color: black;
  padding-inline: 4rem;
  background-image: url("/assets/img/background-v3.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100dvh;
  width: 100%;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  color: #32cf93;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Hedvig Letters Sans", sans-serif;
}

/*--------------------------------------------------------------
# Sections & Section Header
--------------------------------------------------------------*/
.section-header {
  padding-bottom: 40px;
}

.section-header h2 {
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  line-height: 1px;
  margin: 0 0 5px 0;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-primary);
}

.section-header h2::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: #5b8bd9;
  margin: 4px 10px;
}

.section-header p {
  margin: 0;
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  font-family: var(--font-secondary);
  color: #fff;
}

@media (max-width: 768px) {
  .section-header p {
    font-size: 26px;
  }
}

/*--------------------------------------------------------------
# Page Header
--------------------------------------------------------------*/
.page-header {
  padding: 120px 0 60px 0;
  min-height: 30vh;
  position: relative;
}

.page-header h2 {
  font-size: 56px;
  font-weight: 500;
  color: #fff;
  font-family: var(--font-secondary);
}

@media (max-width: 768px) {
  .page-header h2 {
    font-size: 36px;
  }
}

.page-header p {
  color: rgba(255, 255, 255, 0.8);
}

.page-header .cta-btn {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 14px;
  display: inline-block;
  padding: 12px 40px;
  border-radius: 4px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: 0.3s;
  color: #fff;
  background: var(--color-primary);
}

.page-header .cta-btn:hover {
  background: #2cbc85;
}

/*--------------------------------------------------------------
# Scroll top button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background: var(--color-primary);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: #fff;
  line-height: 0;
}

.scroll-top:hover {
  background: rgba(39, 167, 118, 0.8);
  color: #fff;
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  display: flex;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  z-index: 99999;
}

#preloader:before,
#preloader:after {
  content: "";
  background-color: var(--color-secondary);
  position: absolute;
  inset: 0;
  width: 50%;
  height: 100%;
  transition: all 0.3s ease 0s;
  z-index: -1;
}

#preloader:after {
  left: auto;
  right: 0;
}

#preloader .line {
  position: relative;
  overflow: hidden;
  margin: auto;
  width: 1px;
  height: 280px;
  transition: all 0.8s ease 0s;
}

#preloader .line:before {
  content: "";
  position: absolute;
  background-color: #fff;
  left: 0;
  top: 50%;
  width: 1px;
  height: 0%;
  transform: translateY(-50%);
  animation: lineincrease 1000ms ease-in-out 0s forwards;
}

#preloader .line:after {
  content: "";
  position: absolute;
  background-color: #999;
  left: 0;
  top: 0;
  width: 1px;
  height: 100%;
  transform: translateY(-100%);
  animation: linemove 1200ms linear 0s infinite;
  animation-delay: 2000ms;
}

#preloader.loaded .line {
  opacity: 0;
  height: 100% !important;
}

#preloader.loaded .line:after {
  opacity: 0;
}

#preloader.loaded:before,
#preloader.loaded:after {
  animation: preloaderfinish 300ms ease-in-out 500ms forwards;
}

@keyframes lineincrease {
  0% {
    height: 0%;
  }

  100% {
    height: 100%;
  }
}

@keyframes linemove {
  0% {
    transform: translateY(200%);
  }

  100% {
    transform: translateY(-100%);
  }
}

@keyframes preloaderfinish {
  0% {
    width: 5 0%;
  }

  100% {
    width: 0%;
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header {
  width: 100dvw;
  transition: all 0.5s;
  z-index: 997;
  padding: 30px 0;
  background-color: #000;
}

.header .logo {
  transition: 0.3s;
}

.header .logo img {
  max-height: 40px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 32px;
  margin: 0;
  font-weight: 400;
  color: #fff;
  font-family: var(--font-secondary);
}

.header .logo i {
  font-size: 32px;
  margin-right: 8px;
  line-height: 0;
}

@media (max-width: 575px) {
  .header .logo h1 {
    font-size: 26px;
  }

  .header .logo i {
    font-size: 24px;
  }
}

.header .header-social-links {
  padding-right: 15px;
}

.header .header-social-links a {
  color: rgba(255, 255, 255, 0.5);
  padding-left: 15px;
  display: inline-block;
  line-height: 0px;
  transition: 0.3s;
  font-size: 16px;
}

.header .header-social-links a:hover {
  color: #fff;
}

@media (max-width: 575px) {
  .header .header-social-links a {
    padding-left: 5px;
  }
}

/*--------------------------------------------------------------
# Desktop Navigation
--------------------------------------------------------------*/
@media (min-width: 1280px) {
  .navbar {
    padding: 0;
  }

  .navbar ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navbar li {
    position: relative;
  }

  .navbar a,
  .navbar a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0 10px 30px;
    font-family: var(--font-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
    transition: 0.3s;
  }

  .navbar a i,
  .navbar a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
  }

  .navbar a:hover,
  .navbar .active,
  .navbar .active:focus,
  .navbar li:hover > a {
    color: #fff;
  }

  .navbar .dropdown ul {
    display: block;
    position: absolute;
    left: 14px;
    top: calc(100% + 30px);
    margin: 0;
    padding: 10px 0;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    background: var(--color-secondary);
    transition: 0.3s;
    border-radius: 4px;
  }

  .navbar .dropdown ul li {
    min-width: 200px;
  }

  .navbar .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    font-weight: 400;
  }

  .navbar .dropdown ul a i {
    font-size: 12px;
  }

  .navbar .dropdown ul a:hover,
  .navbar .dropdown ul .active:hover,
  .navbar .dropdown ul li:hover > a {
    color: #fff;
  }

  .navbar .dropdown:hover > ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navbar .dropdown .dropdown ul {
    top: 0;
    left: calc(100% - 30px);
    visibility: hidden;
  }

  .navbar .dropdown .dropdown:hover > ul {
    opacity: 1;
    top: 0;
    left: 100%;
    visibility: visible;
  }
}

@media (min-width: 1280px) and (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }

  .navbar .dropdown .dropdown:hover > ul {
    left: -100%;
  }
}

@media (min-width: 1280px) {
  .mobile-nav-show,
  .mobile-nav-hide {
    display: none;
  }
}

/*--------------------------------------------------------------
# Mobile Navigation
--------------------------------------------------------------*/
@media (max-width: 1279px) {
  .navbar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    bottom: 0;
    transition: 0.3s;
    z-index: 9997;
  }

  .navbar ul {
    position: absolute;
    inset: 0;
    padding: 50px 0 10px 0;
    margin: 0;
    background: rgba(0, 0, 0, 0.9);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  .navbar a,
  .navbar a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    font-family: var(--font-primary);
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navbar a i,
  .navbar a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
  }

  .navbar a:hover,
  .navbar .active,
  .navbar .active:focus,
  .navbar li:hover > a {
    color: #fff;
  }

  .navbar .dropdown ul,
  .navbar .dropdown .dropdown ul {
    position: static;
    display: none;
    padding: 10px 0;
    margin: 10px 20px;
    transition: all 0.5s ease-in-out;
    border: 1px solid black;
  }

  .navbar .dropdown > .dropdown-active,
  .navbar .dropdown .dropdown > .dropdown-active {
    display: block;
  }

  .mobile-nav-show {
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    line-height: 0;
    transition: 0.5s;
    z-index: 9999;
    margin: 0 10px 0 10px;
  }

  .mobile-nav-hide {
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    line-height: 0;
    transition: 0.5s;
    position: fixed;
    right: 20px;
    top: 20px;
    z-index: 9999;
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .navbar {
    right: 0;
  }

  .mobile-nav-active .navbar:before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(22, 23, 24, 0.8);
    z-index: 9996;
  }
}

.navbar .nav-item {
  color: (255, 255, 255, 0.5);
  cursor: pointer;
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h2 {
  font-weight: 700;
  font-size: 24px;
  color: var(--color-primary);
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.about .content ul strong {
  margin-right: 10px;
}

.about .content ul i {
  font-size: 16px;
  margin-right: 5px;
  color: var(--color-primary);
  line-height: 0;
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials {
  margin-top: 80px;
}

.testimonials .testimonial-item {
  box-sizing: content-box;
  padding: 30px;
  margin: 40px 30px;
  background: var(--color-secondary);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: 0.3s;
}

.testimonials .testimonial-item .stars {
  margin-bottom: 15px;
}

.testimonials .testimonial-item .stars i {
  color: rgba(255, 255, 255, 0.5);
  margin: 0 8px;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50%;
  border: 5px solid #474a4d;
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 0;
  color: #fff;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 auto 15px auto;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.2);
  opacity: 1;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: rgba(255, 255, 255, 0.5);
}

.testimonials .swiper-slide {
  opacity: 0.3;
}

@media (max-width: 1199px) {
  .testimonials .swiper-slide-active {
    opacity: 1;
  }

  .testimonials .swiper-pagination {
    margin-top: 0;
  }

  .testimonials .testimonial-item {
    margin: 40px 20px;
  }
}

@media (min-width: 1200px) {
  .testimonials .swiper-slide-next {
    opacity: 1;
    transform: scale(1.12);
  }
}

/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/
.gallery {
  margin-top: 40px;
}

.gallery .gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.gallery .gallery-item img {
  transition: 0.3s;
}

.gallery .gallery-links {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: all ease-in-out 0.3s;
  background: rgba(0, 0, 0, 0.6);
  z-index: 3;
}

.gallery .gallery-links .preview-link,
.gallery .gallery-links .details-link {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.5);
  transition: 0.3s;
  line-height: 1.2;
  margin: 30px 8px 0 8px;
}

.gallery .gallery-links .preview-link:hover,
.gallery .gallery-links .details-link:hover {
  color: #fff;
}

.gallery .gallery-links .details-link {
  font-size: 30px;
  line-height: 0;
}

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

.gallery .gallery-item:hover .preview-link,
.gallery .gallery-item:hover .details-link {
  margin-top: 0;
}

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

.glightbox-clean .gslide-description {
  background: #222425;
}

.glightbox-clean .gslide-title {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/*--------------------------------------------------------------
# Gallery Single Section
--------------------------------------------------------------*/
.gallery-single .portfolio-details-slider img {
  width: 100%;
}

.gallery-single
  .portfolio-details-slider
  .swiper-pagination
  .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.7);
  opacity: 1;
}

.gallery-single
  .portfolio-details-slider
  .swiper-pagination
  .swiper-pagination-bullet-active {
  background-color: var(--color-primary);
}

.gallery-single .swiper-button-prev,
.gallery-single .swiper-button-next {
  width: 48px;
  height: 48px;
}

.gallery-single .swiper-button-prev:after,
.gallery-single .swiper-button-next:after {
  color: rgba(255, 255, 255, 0.8);
  background-color: rgba(0, 0, 0, 0.2);
  font-size: 24px;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.gallery-single .swiper-button-prev:hover:after,
.gallery-single .swiper-button-next:hover:after {
  background-color: rgba(0, 0, 0, 0.6);
}

@media (max-width: 575px) {
  .gallery-single .swiper-button-prev,
  .gallery-single .swiper-button-next {
    display: none;
  }
}

.gallery-single .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  font-family: var(--font-secondary);
}

.gallery-single .portfolio-info h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--color-primary);
  left: 0;
  bottom: 0;
}

.gallery-single .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.gallery-single .portfolio-info ul li {
  display: flex;
  flex-direction: column;
  padding-bottom: 15px;
}

.gallery-single .portfolio-info ul strong {
  text-transform: uppercase;
  font-weight: 400;
  color: #6b7075;
  font-size: 14px;
}

.gallery-single .portfolio-info .btn-visit {
  padding: 8px 40px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50px;
  transition: 0.3s;
}

.gallery-single .portfolio-info .btn-visit:hover {
  background: #2cbc85;
}

.gallery-single .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
  font-family: var(--font-secondary);
}

.gallery-single .portfolio-description p {
  padding: 0;
}

.gallery-single .portfolio-description .testimonial-item {
  padding: 30px 30px 0 30px;
  position: relative;
  background: var(--color-secondary);
  height: 100%;
  margin-bottom: 50px;
}

.gallery-single .portfolio-description .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50px;
  border: 6px solid #2e3133;
  float: left;
  margin: 0 10px 0 0;
}

.gallery-single .portfolio-description .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 15px 0 5px 0;
  padding-top: 20px;
}

.gallery-single .portfolio-description .testimonial-item h4 {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.gallery-single .portfolio-description .testimonial-item .quote-icon-left,
.gallery-single .portfolio-description .testimonial-item .quote-icon-right {
  color: #5bd9a9;
  font-size: 26px;
  line-height: 0;
}

.gallery-single .portfolio-description .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.gallery-single .portfolio-description .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.gallery-single .portfolio-description .testimonial-item p {
  font-style: italic;
  margin: 0 0 15px 0 0 0;
  padding: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("/assets/img/hero.png");
  margin-left: -4rem;
  width: 100dvw;
  background-size: cover;
  background-position: center;
  min-height: 30vh;
  position: relative;
  padding: 86px 0 60px 0;
  font-family: "Hedvig Letters Sans", sans-serif;

  .hero-container {
    display: grid;
    width: 100%;
    height: 100%;
    justify-items: center;

    .cards {
      margin-top: 6rem;
      width: 100%;
      height: 150px;
      outline: red solid 1px;
    }
  }
}

.hero h2 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  font-family: "Hedvig Letters Sans", sans-serif;
}

.hero p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 30px;
  font-size: 18px;
}

.hero .btn-get-started {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 14px;
  display: inline-block;
  padding: 12px 40px;
  border-radius: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: 0.3s;
  color: #fff;
  background: var(--color-primary);
}

.hero .btn-get-started:hover {
  background: #2c87bc;
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 32px;
  }

  .gallery-item h3 {
    font-size: 1.2rem;
  }
}

/*--------------------------------------------------------------
# Offer
--------------------------------------------------------------*/

.offer {
  .title {
    text-align: center;

    h3 {
      margin-top: 2rem;
      font-size: 28px;
      font-weight: 700;
      color: #fff;
      font-family: "Hedvig Letters Sans", sans-serif;
    }

    p {
      color: rgba(255, 255, 255, 0.6);
      margin-bottom: 30px;
      font-size: 18px;
    }
  }
}

/*--------------------------------------------------------------
# Partners
--------------------------------------------------------------*/

.partners {
  margin: 64px;

  h3 {
      margin-top: 2rem;
      font-size: 28px;
      font-weight: 700;
      color: #fff;
      font-family: "Hedvig Letters Sans", sans-serif;
    }

    p {
      color: rgba(255, 255, 255, 0.6);
      margin-bottom: 30px;
      font-size: 18px;
    }
}

.partners .partner-header {
  text-align: center;
  color: hsla(0, 0%, 100%, 0.8);
  margin: 0 0 3rem 0;
  padding: 0;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-default);
}

.partners .partner {
  display: flex;
  justify-content: center;

  .img-size {
    height: 5rem;
    aspect-ratio: 4/3;
    margin-bottom: 1rem;
    opacity: 0.6;
  }
}

.faq-section {
  .faq-header {
    margin-left: 2.5rem;

    h3 {
      margin-top: 2rem;
      font-size: 28px;
      font-weight: 700;
      color: #fff;
      font-family: "Hedvig Letters Sans", sans-serif;
    }

    p {
      color: rgba(255, 255, 255, 0.6);
      margin-bottom: 30px;
      font-size: 18px;
    }
  }

  .faq-wrapper {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 0;
    outline: red solid 1px;
  }

  summary {
    list-style: none;
    cursor: pointer;
    position: relative;
    padding-right: 2em;
    /* space for icon */
    font-size: 1.5rem;
  }

  summary::-webkit-details-marker,
  summary::marker {
    display: none;
  }

  /* Default (+ circle) */
  summary::after {
    content: "";
    position: absolute;
    right: 0.5em;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: no-repeat center/contain
      url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="white" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" stroke="white" stroke-width="2" fill="none"/><line x1="12" y1="8" x2="12" y2="16" stroke="white" stroke-width="2"/><line x1="8" y1="12" x2="16" y2="12" stroke="white" stroke-width="2"/></svg>');
  }

  /* When details is open (– circle) */
  details[open] summary::after {
    background: no-repeat center/contain
      url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="white" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" stroke="white" stroke-width="2" fill="none"/><line x1="8" y1="12" x2="16" y2="12" stroke="white" stroke-width="2"/></svg>');
  }

  .answer {
    padding-top: 1rem;
    font-size: 1rem;
  }

  @media (max-width: 768px) {
    summary {
      font-size: 1.2rem;
    }
  }
}

/*--------------------------------------------------------------
# Cloud Background
--------------------------------------------------------------*/

.cloud-container {
  margin-top: 10rem;
  margin-left: -4rem;
  width: 100dvw;
  padding-block: 4rem 3rem;
  background-size: cover;
  background-position: center;
  background-image: url("/assets/img/white-bar.jpeg");
  color: #000;
  font-family: var(--font-secondary);

  h2 {
    margin: 0 0 10px 0;
    font-size: 38px;
    font-weight: 700;
    font-family: var(--font-secondary);
  }

  p {
    font-family: var(--font-secondary);
  }

  input,
  button {
    padding: 1rem 2rem;
    background-color: white;
  }

  input {
    border-radius: 1rem;
  }

  button {
    border-radius: 10rem;
    border: var(--bs-border-width) solid var(--bs-border-color);
    font-weight: 700;
  }
}

@media (max-width: 768px) {
  .cloud-container h2 {
    font-size: 32px;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  margin-top: 100px;
  padding: 30px 0;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer .copyright {
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
}

.footer .credits {
  padding-top: 6px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

.footer .credits a {
  color: var(--color-primary);
}

.footer-img img {
  margin: 0;
  padding: 0;
  max-height: 30px;
  width: 100px;
}

.footer-img p {
  font-size: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-item {
  max-width: 300px;

  p {
    font-weight: 700;
  }

  ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-weight: 300;

    li {
      margin-bottom: 0.5rem;
    }

    a {
      color: #fff;
    }
  }

  .platfrom-link {
    padding: 0.5rem 2rem;
    background-color: var(--color-primary);
    border-radius: 10rem;
    border: 0;
    font-weight: 700;
    color: #fff;
  }

  .footer-social {
    display: flex;
    gap: 1rem;

    a {
      color: hsla(0, 0%, 100%, 1.2);
    }
  }
}

.cloud-fin {
    margin-top: -1rem;
    width: 60%;
    height: 4rem;

  }

/*--------------------------------------------------------------
# Miscellaneous
--------------------------------------------------------------*/

.outline-- {
  outline: red solid 1px;
}

.img-size {
  width: 5rem;
  height: 5rem;
  margin-bottom: 1rem;
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/

.about-title {
  text-align: center;
  font-size: 3.75rem;
  font-weight: 700;
  padding-block: 6rem;
}

@media (max-width: 768px) {
  .about-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 575px) {
  .about-title {
    font-size: 1.75rem;
  }
}

.about-wrapper p {
  font-size: 0.875rem;
}

/*--------------------------------------------------------------
# Help Center
--------------------------------------------------------------*/

.help-center {
  background-image: url("/assets/img/help-center.jpeg");
  background-size: 180% 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;

  .search {
    width: 70dvw;
    height: 2.5rem;
    border-radius: 10rem;
    padding-inline: 2rem;
    background-color: hsla(229, 19%, 45%, 0.45);
    border: none;
  }

  .help-item {
    display: grid;
    position: relative;
    overflow: hidden;
    border: hsla(229, 19%, 45%, 0.45) 1px solid;
    border-radius: 1rem;
    background-color: whitesmoke;
    color: #000;

    img {
      margin-inline: auto;
      margin-bottom: 2rem;
    }

    h3 {
      text-align: center;
      font-size: 1.15rem;
      margin-bottom: 1rem;
    }

    p {
      padding-inline: 1rem;
      text-align: left;
      font-size: 1rem;
      color: hsla(0, 0%, 0%, 0.45);
    }

    a {
      text-align: center;
      font-weight: 700;
      margin-top: 0.75rem;
    }
  }

  .question-section {
    margin-top: 70px;

    a {
      position: relative;
      padding: 1rem 2rem;
      border: hsla(229, 19%, 45%, 0.45) 1px solid;
      border-radius: 0.5rem;
      background-color: whitesmoke;
      color: #000;

      i {
        position: absolute;
        right: 2rem;
      }
    }
  }
}

.help-cloud {
  margin-top: 4rem;
  width: 100dvw;
  margin-left: -4rem;
  padding: 6rem 3rem;
  background-size: cover;
  background-position: center;
  background-image: url("/assets/img/black-bar.jpeg");
  color: #ffffff;
  font-family: var(--font-secondary);

  h2 {
    margin: 0 0 10px 0;
    font-size: 38px;
    font-weight: 700;
    font-family: var(--font-secondary);
  }

  p {
    font-family: var(--font-secondary);
  }

  input,
  button {
    padding: 1rem 2rem;
    background-color: white;
  }

  input {
    border-radius: 1rem;
  }

  button {
    border-radius: 10rem;
    border: var(--bs-border-width) solid var(--bs-border-color);
    font-weight: 700;
  }
}

@media (max-width: 768px) {
  .help-cloud h2 {
    font-size: 32px;
  }
}

/*--------------------------------------------------------------
# Community
--------------------------------------------------------------*/

.community-title {
  text-align: center;
  font-size: 3.75rem;
  font-weight: 700;
  padding-block: 4rem 2rem;
}

@media (max-width: 768px) {
  .community-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 575px) {
  .community-title {
    font-size: 1.75rem;
  }
}

.community-wrapper p {
  font-size: 0.875rem;
  text-align: center;
}

.social-wrapper {
  margin-top: 2rem;
  display: flex;
}

.social-wrapper ul {
  max-width: 350px;
  list-style: none;
  margin: 0 auto;
  padding: 0;
}

.social-wrapper img,
.social-wrapper a {
  margin: auto;
  width: 40px;
  height: 40px;
}

.border-- {
  position: relative;
  padding: 1rem 2rem;
  border: hsla(229, 19%, 45%, 0.45) 1px solid;
  border-radius: 0.5rem;
  background-color: whitesmoke;
  color: #000;

  /* Default (+ circle) */
  summary::after {
    content: "";
    position: absolute;
    right: 0.5em;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: no-repeat center/contain
      url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="black" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" stroke="black" stroke-width="2" fill="none"/><line x1="12" y1="8" x2="12" y2="16" stroke="black" stroke-width="2"/><line x1="8" y1="12" x2="16" y2="12" stroke="black" stroke-width="2"/></svg>');
  }

  /* When details is open (– circle) */
  details[open] summary::after {
    background: no-repeat center/contain
      url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="black" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" stroke="black" stroke-width="2" fill="none"/><line x1="8" y1="12" x2="16" y2="12" stroke="black" stroke-width="2"/></svg>');
  }

  .answer {
    color: hsl(0, 0%, 0%);
    padding-right: 3.25rem;
  }
}

.event {
  box-sizing: content-box;
  margin: 40px 30px;
  background: var(--color-secondary);
  min-height: 300px;
  border-radius: 0.75rem;
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: 0.3s;
  position: relative;

  img {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 0.75rem;
  }
}

@media (max-width: 1199px) {
  .event {
    margin: 40px 20px;
  }
}

@media (min-width: 769px) {
  .event-text {
    font-size: 1rem !important;
  }
}

@media (max-width: 768px) {
  .event-text {
    font-size: 0.875rem !important;
  }
}

.faq-title {
  text-align: center;
  font-size: 2.75rem;
  font-weight: 700;
  padding-bottom: 4rem;
}

.faq-space {
  margin-top: 4rem;
}

@media (max-width: 768px) {
  .faq-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 575px) {
  .faq-title {
    font-size: 1.75rem;
  }
}

/*--------------------------------------------------------------
# Scroll top button
--------------------------------------------------------------*/
.gen {
  position: fixed;
  visibility: visible;
  opacity: 1;
  bottom: 100px;
  right: 15px;
  z-index: 99999;
  background: var(--color-primary);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s;

  img {
    width: 50%;
    height: 50%;
    border: transparent solid 1px;
  }
}

.deactive {
  visibility: hidden;
  opacity: 0;
  bottom: -100px;
}

.chatbot-wrapper.active {
  visibility: visible;
  opacity: 1;
  bottom: 100px;
}

.chatbot-wrapper {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  bottom: -100px;
  right: 15px;
  z-index: 99999;
  width: 370px;
  background: var(--color-secondary);
  padding: 10px;
  border-radius: 10px;
}

.chatbot-wrapper .chatbot-header {
  display: flex;
  border-radius: 5px 5px 0 0;
  padding-inline: 10px;
  color: white;
  line-height: 2.5;
  text-align: left;
  font-size: 20px;
  justify-content: space-between;

  i {
    cursor: pointer;
  }
}

.chatbot-wrapper .chatbot-box {
  border: 1px solid #efefef;
  padding: 10px 15px;
  border-radius: 10px;
  margin-bottom: 10px;
  height: 60dvh;
  overflow-y: scroll;
  scrollbar-width: none;
  -ms-overflow-style: none;
  transition: all 0.4s;
}

.chatbot-wrapper .chatbot-box .item {
  float: left;
  margin: 10px 0;
}

.chatbot-wrapper .chatbot-box .item .icon {
  background: #007bff;
  color: white;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
}

.chatbot-wrapper .chatbot-box .item .msg {
  background: #007bff;
  color: white;
  border-radius: 10px;
  min-width: 150px;
  max-width: calc(100% - 2.5rem);
}

.chatbot-wrapper .chatbot-box .item .msg p {
  padding: 10px;
}

.chatbot-wrapper .chatbot-box .item.right {
  float: right;
}

.chatbot-wrapper .chatbot-box .item.right .msg {
  background: #efefef;
  color: #333;
}

.chatbot-wrapper .typing-area {
  width: 100%;
  background: #efefef;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
}

.chatbot-wrapper .typing-area .input-field {
  width: 100%;
  position: relative;
  border-radius: 10px;
}

.chatbot-wrapper .typing-area .input-field input {
  width: 100%;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  border: none;
  outline: none;
  padding-right: 70px;
  font-family: "Poppins", sans-serif;
  transition: 0.3s all ease;
}

.chatbot-wrapper .typing-area .input-field input:focus {
  border-color: #007bff;
}

.chatbot-wrapper .typing-area .input-field button {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  background: transparent;
  border: 1px solid #007bff;
  padding: 5px 10px;
  border-radius: 3px;
  color: #007bff;
  outline: none;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s all ease;
}

.chatbot-wrapper .typing-area .input-field button:hover {
  background: #007bff;
  color: white;
}

.chatbot-wrapper .typing-area .input-field input:valid ~ button {
  opacity: 1;
  pointer-events: auto;
}

.chatbot-wrapper .chatbot-box .item.answering .msg {
  p {
    opacity: 1;
    animation: blink 750ms linear infinite;
  }

  span {
    position: relative;
    position: relative;
    width: max-content;
  }

  span::before,
  span::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
  }

  span::before {
    background: #007bff;
    animation: typewriter 1s steps(10) 1s forwards infinite;
  }
}

@keyframes blink {
  to {
    opacity: 0.25;
  }
}

@keyframes typewriter {
  to {
    left: 100%;
  }
}

/*--------------------------------------------------------------
# Notification Bar
--------------------------------------------------------------*/
.notification-wrapper {
  background: hsl(0, 0%, 100%);
  margin-left: -4rem;
  width: 100dvw;
  height: 56px;
  color: black;
  font-weight: 600;
  overflow-y: hidden;
  overflow-x: scroll;

  .notification-bar {
    animation: scroll-left 20s forwards linear infinite;
    white-space: nowrap;
    overflow: hidden;
    display: inline-flex;
    gap: 2rem;
    height: 100%;

    p {
      margin-block: auto;
      display: inline-flex;

      a {
        text-decoration: none;
        color: #000;
      }
    }
  }
}

@media (max-width: 575px) {
  .notification-wrapper {
    height: 48px;
  }
}

@keyframes scroll-left {
  to {
    transform: translateX(calc(-50% - 1rem));
  }
}

.legal-item {
  display: grid;
  position: relative;
  overflow: hidden;
  border: hsla(229, 19%, 45%, 0.45) 1px solid;
  border-radius: 1rem;
  background-color: whitesmoke;
  color: #000;

  img {
    margin-inline: auto;
    margin-bottom: 2rem;
  }

  h3 {
    text-align: center;
    font-size: 1.15rem;
    margin-bottom: 1rem;
  }

  p {
    padding-inline: 1rem;
    text-align: left;
    font-size: 1rem;
    color: hsla(0, 0%, 0%, 0.45);
  }

  a {
    text-align: center;
    font-weight: 700;
    margin-top: 0.75rem;
  }

  .img-size {
    width: 80%;
    height: 7.5rem;
  }
}
