/* *{
  outline: 1px solid red;
} */

/* Hero section */
.hero--full-width {
  background-image: url('../media/hero-change.avif');
  height: calc(100vh - 83px);
  display: table;
  width: calc(100% - 8px);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed; /* Parallax effect */
  background-position: center center;
  margin: 78px 4px 4px 4px;
  border-radius: 7px;

}

/* Center Content with Table Cell */
.hero__container--table-cell {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}

.hero__title {
  color: #fff;
  font-size: 4rem;
}

.hero__description {
  width: 800px;
  color: #fff;
  margin: 0 auto;
  font-size: 1.5rem;
  line-height:172%;
}

/* Buttons inside hero section */
.hero__buttons {
  display: flex;
  gap: 24px;
  margin-top: 40px;
  justify-content: center;
}

.hero__buttons .button {
  text-align: center;
  width: 160px;
  padding: 16px 0;
}

/* Scroll Indicator */
.hero__scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
  width: 20px;
  height: 40px;

}

.scroll-indicator {
  width: 20px;
  height: 40px;
  border: 2px solid #fff;
  border-radius: 50px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.scroll-indicator__circle {
  width: 8px;
  height: 8px;
  background-color: #fff;
  border-radius: 50%;
  position: absolute;
  top: 8px;
  animation: move-down 1.5s infinite;
}

/* Animation for circle movement */
@keyframes move-down {
  0% {
    top: 0px;
    opacity: 1;
  }
  50% {
    top: 24px;
    opacity: 0.75;
  }
  100% {
    top: 40px;
    opacity: 0;
  }
}

/* Themes section */
/* Grid layout */
.themes__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 equal-width columns */
  gap: 24px; /* Space between grid items */

}

/* Each theme block */
.theme {
  position: relative;
  overflow: hidden; /* Hide any overflow content */
  transition: 0.5s all ease-out; /* Optional: Add transition effects */
}

/* Theme title spacing */
.theme h4 {
  margin: 16px 0 4px 0;
}

.theme p {
  font-size: 1em;
  color: #666;
}

.theme h4, .theme p {
  padding:0px 24px;
}

/* Image container */
.theme__img-container {
  position: relative;
  width: 100%;
  height: 0; /* Set height to 0 initially */
  padding-top: 70%; /* Maintain square aspect ratio */
  overflow: hidden; /* Hide any overflow content */
  border-radius: 7px;
}

.theme__img {
  position: absolute;
  top: 0; /* Align image to the top */
  left: 0;
  width: 100%;
  height: auto; /* Ensure the image maintains its aspect ratio */
  min-height: 100%; /* Ensure the image covers the container's height */
  object-fit: cover; /* Preserve image aspect ratio */
  transition: transform 0.8s ease; /* Smooth scroll effect on hover */
}

/* Image hover scroll */
.theme:hover .theme__img {
  transform: translateY(-75%); /* Adjust this based on how much you want to scroll */
}

.theme:hover .theme__img-container {
  box-shadow: 3px 0 10px 0 #ccc;
}

.theme:hover .heading--quaternary{
  color: #7851E8;
  text-decoration: underline;
}

/* Buttons inside the image */
.theme__img-txt {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #17181D; /* Light overlay */
  text-align: center;
  padding: 10px;
  opacity: 0; /* Initially hidden */
  transition: opacity 0.3s ease; /* Smooth fade-in effect */
  z-index: 1; /* Ensure it is above the image */
}

/* Buttons visibility on hover */
.theme:hover .theme__img-txt {
  opacity: 1; /* Show buttons when hovering over theme */
}

.theme__img-txt a {
  display: inline-block;
  margin: 5px;

}

.theme__img-txt a .button {
  padding: 10px 0;
  width:100px;
}

/* Link hover effects */
.theme__img-txt a:hover {
  text-decoration: underline;
}


/* Function overview */

/* Steps */
.steps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.step {
  padding: 24px;
  /* border: 2.5px solid #17181D; */
  background: #F3EFFF;
  border-radius: 7px;
  text-align: center;
  position: relative;
}

.step img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin: 0 auto 12px auto;
}

.step--text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.step--text .heading--tertiary {
  font-size: 1.25rem;
}

.step--text .text--paragraph {
  color:#666;
  display:none;
}

/* Tabs Styles */
.tabs{
  display: flex;
  flex-wrap: wrap;
  box-sizing: border-box;
  margin: 60px auto;
  gap: 24px;
}

.tabs__nav{
  width:100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content:Center;
  gap: 24px;
  background-color:#17181D;
  padding:24px;
  border-radius:7px;
}

.tabs__nav--item {
  color:#fff;
  font-weight:600;
}

.tabs__nav--item:hover {
  color:#F8CF3E;
  cursor:pointer;
}

.tab-active {
  color:#F8CF3E;
  cursor: default;
  text-decoration:underline;
}

.tabs__content {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.3s ease;
  display: none; /* Hide by default */
}

/* Active content with animation */
.tab-active-content {
  display: flex; /* Show only active tab content */
  opacity: 1;
  transform: translateY(0);
}

.tabs__content--text{
  background-color: #17181D;
  width:30%;
  padding:24px;
  border-radius:7px;
  transition:0.3s all ease-in-out;
}

.tabs__content--text .heading--tertiary {
  color:#fff;
  margin-bottom:12px;
}

.tabs__content--text .text--paragraph {
  color:#ddd;
}

.tabs__content--image{
  width:70%;
  border-radius:7px;
  align-self:flex-start;
}


/* Blog section */
.blog__posts {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 equal-width columns */
  gap: 24px; /* Space between grid items */
  margin: 48px 0 24px 0;
}

.post {
  position: relative;
  overflow: hidden; /* Hide any overflow content */
  transition: 0.5s all ease-out; /* Optional: Add transition effects */
}

.post__reading-time {
  position: absolute;
  padding: 0px 8px;
  background-color: #fff;
  border-radius: 3px;
  font-size: 0.8em;
  bottom: 10px;
  right: 10px;
  transition: 0.3s all ease-out;
}

.post__image {
  overflow: hidden; /* Ensures the scaled image doesn't overflow */
  border-radius: 7px; /* Rounded corners */
  position: relative;
  width: 100%; /* Ensure the container takes full width */
  height: auto; /* Let height adjust naturally based on the image */
}

.post__image img {
  width: 100%;
  height: auto; /* Maintain the aspect ratio of the image */
  object-fit: cover; /* Ensure the image maintains aspect ratio */
  transition: transform 0.3s ease-out; /* Smooth transition for scaling */
  transform: scale(1); /* Default scale (100%) */
  border-radius: 7px;
  display: block; /* Remove any space below the image */
}

/* Hover effect: scales the image on hover */
.post:hover .post__image img {
  transform: scale(1.1); /* Scale image to 110% on hover */
}

.post h4{
  margin: 12px 8px;
  transition: 0.3s all ease-out;
}

.post:hover .post__title {
  color: #7851E8;
}

.post:hover .post__reading-time {
  background-color: #F8CF3E;
}

/* Newsletter */
.newsletter {
  padding: 24px;
  border-radius: 7px;
  display: flex;
  gap: 40px;
  background-color: #17181D;
  align-items: flex-start;
  margin-top: 60px;
}

.newsletter__wrapper {
  width: 40%; /* Fixed width for text */
}

.newsletter__form-wrapper {
  width: 50%; /* Fixed width for text */
}

.newsletter__text {
  flex: 1; /* Allow text section to take available space */
}

.newsletter__text h3 {
  margin-bottom: 15px;
  color: #fff;
}

.newsletter__text p {
  font-size: 1.1em;
  color: #fff;
}

#newsletter-form {
  width:100%;
  display: flex;
  flex-wrap: wrap; /* Allows wrapping of form elements */
  gap: 12px; /* Space between form elements */
  flex: 1; /* Allow form to take remaining space */
}

form input {
  padding: 20px;
  border-radius: 7px;
  border: 1px solid transparent;
  font-size: 1em;
  box-sizing: border-box;
}

input:focus {
  border: 1px solid #7851E8;
  outline: none;
}

button:focus {
  outline: none;
}

/* Inputs for name and surname side by side */
.form__input--name,
.form__input--surname {
  flex: 1 1 calc(45% - 10px); /* Allow inputs to grow and shrink, taking less than half of the container width */
}

/* Full width email input */
.form__input--email {
  flex: 1 1 100%; /* Full width */
}

.button--submit {
  width: 100%; /* Adjusted width to fit button properly */
  box-sizing: border-box;
}



/*PRICE LIST*/
.vp-price-plans{
  display:flex;
  border:2.5px solid #F7F6FA;
  justify-content: center;
  border-radius:7px;
  padding:40px;
}
.vp-price-plan{
  width:50%;
  padding:40px;
}
.vp-price-plan:last-child{
  border-left:2.5px solid #F7F6FA;
}
.vp-price-header{
  border-radius:7px 7px 0 0;
}
.vp-price-header h3{
  font-size:1.4em;
}
.vp-price{
  font-size:3em;
  font-weight:900;
}
.vp-price-plan button{
  width:100%;
  margin-top:40px;
}


/*FAQ*/
.vp-faq-item {
  border:2.5px solid #F7F6FA;
  border-radius: 7px;
  margin: 20px 0;
}

.vp-faq-question {
  font-size: 1.15em;
  font-weight: 700;
  padding: 20px 80px 20px 40px;
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.vp-faq-question::after {
  content: "\f00d";
  font-family: "Font Awesome 5 Free";
  background-color:#F8CF3E;
  padding:10px 15px;
  text-align:center;
  border-radius:360px;
  font-size: 1.5rem;
  position: absolute;
  right: 45px;
  transition: 0.2s;
  transform: rotate(45deg);
}


.vp-faq-question.active::after {
  transform: rotate(-90deg);
}

.vp-faq-answer-container {
  max-height:0;
  overflow: hidden;
  transition: 0.3s;
}

.vp-faq-answer {
  padding:0 0 20px 40px;
}

.vp-faq-question.active + .vp-faq-answer-container {
}

.vp-footer-stripe{
  background-color:#F7F6FA;
  margin:0px 30px 30px 30px;
  border-radius:7px;
}
.vp-footer-stripe .vp-container{
  padding:90px 30px;
  margin:0 auto;
}




  /* TABLET */

  /* For screens smaller than 990px */
  @media (max-width: 990px) {
      .vp-container {
          width: 100%;
          margin: 60px auto;
      }

      h1 {
          font-size: 2.5em; /* Reduce font size */
      }

      h2 {
          font-size: 2em; /* Reduce font size */
      }

      h3 {
          font-size: 1.5em; /* Reduce font size */
      }

      h4 {
          font-size: 1.2em; /* Reduce font size */
      }

      p {
          font-size: 1em; /* Reduce font size */
      }

      .vp-hero-main {
          flex-direction: column; /* Stack hero section elements */
          align-items: center;
      }

      .vp-hero-txt,
      .vp-hero-vid {
          width: 100%; /* Full width for small screens */
      }

      .vp-btn-container {
          flex-direction: column; /* Stack buttons */
          align-items: center;
      }

      .vp-price-plans {
          flex-direction: column; /* Stack price plans vertically */
      }

      .vp-price-plan {
          width: 100%; /* Full width for price plans */
          margin-bottom: 20px; /* Space between price plans */
      }

      .vp-tabs {
          flex-direction: column; /* Stack tabs vertically */
      }

      .vp-tab-nav {
          width: 100%; /* Full width for tab navigation */
      }

      .vp-tab-media {
          width: 100%; /* Full width for tab media */
      }

      .scroll-up-btn {
          max-width: 40px; /* Smaller size for scroll-up button */
      }

      .vp-posts {
          grid-template-columns: repeat(2, 1fr); /* 2 columns on smaller screens */
      }

      .vp-newsletter {
          flex-direction: column; /* Stack newsletter elements */
      }

      .vp-newsletter-wrapper {
          width: 100%; /* Full width for newsletter wrapper */
      }
  }

  /* For screens smaller than 600px */
  @media (max-width: 600px) {


      button.vp-button {
          padding: 12px 20px; /* Reduce button padding */
          font-size: 0.9em; /* Reduce button font size */
      }

      button.vp-begin {
          padding: 12px 20px; /* Reduce button padding */
          font-size: 0.9em; /* Reduce button font size */
      }

      .vp-theme-grid {
          grid-template-columns: 1fr; /* Single column for themes */
      }

      .vp-posts {
          grid-template-columns: 1fr; /* Single column for posts */
      }

      .vp-price-plan {
          padding: 20px; /* Reduce padding in price plans */
      }

      .vp-faq-question {
          padding: 20px; /* Reduce padding in FAQ */
      }

      .vp-faq-answer {
          padding: 0 20px; /* Adjust padding for FAQ answers */
      }
  }
