/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding: 100px;
}

body {
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 16px;
  line-height: 1.25;
  background-color: rgba(2, 22, 40, 1);
  color: #ffffff;
}

body,
main {
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

a:hover {
  color: rgba(93, 198, 9, 1);
}

img {
  max-width: 100%;
  height: auto;
}

/* Line Heights */
h1 {
  font-size: 64px;
}

@media (max-width: 768px) {
  h1:has(span.smallh1) {
    font-size: 40px;
  }
}

h2 {
  font-size: 36px;
}

h3 {
  font-size: 25px;
}

p {
  text-wrap: balance;
}

p.large {
  font-size: 18px;
}

h1,
h2,
h3 {
  text-align: center;
  font-weight: 700;
}

@media (max-width: 768px) {
  br.wide {
    display: none;
  }
}

strong {
  font-weight: 700;
}

section {
  max-width: 1290px;
  margin: 75px auto;
}

.section-marker {
  font-size: 25px;
  color: rgba(93, 198, 9, 1);
  font-weight: 700;
  margin-bottom: -15px;
}

.box {
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  filter: blur();
}

.radius {
  border-radius: 10px;
}

.highlight {
  color: rgba(0, 212, 49, 1);
}

/* Navigation */
.nav {
  background: linear-gradient(
    to bottom,
    rgba(5, 34, 73, 1),
    rgba(5, 34, 73, 0.86)
  );
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
}

.nav__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1290px;
  margin: 0 auto;
  height: 85px;
}

.nav__logo {
  height: 100%;
  padding: 0;
  min-width: 150px;
  max-width: 250px;
}

.nav__logo a {
  height: 100%;
}

.nav__links {
  display: flex;
  justify-content: space-between;
  list-style: none;
  align-items: center;
  height: 100%;
  width: 100%;
  position: relative;
}

.nav__links li {
  display: block;
  height: 100%;
  position: relative;
  padding: 0 15px;
}

.nav__links a {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
  text-wrap: nowrap;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.nav__links a:hover {
  color: rgba(93, 198, 9, 1);
}

.nav__links > li > a::after {
  content: "";
  position: absolute;
  bottom: 25px; /* Adjust the distance from the text */
  left: 5%;
  width: 0; /* Start with zero width */
  height: 3px;
  background: rgba(93, 198, 9, 1);
  border-radius: 50px;
  transform: rotate(-2deg);
  transition: width 0.2s ease-in-out; /* Animate the width */
}

.nav__links > li > a:hover::after {
  width: 90%; /* Expand on hover */
}

.nav__links > li:has(a.btn) {
  height: auto;
}

.nav__links > li a.btn {
  padding: 10px;
  margin: 0;
  transition:
    background 0.3s ease,
    border 0.3s ease,
    color 0.3s ease;
}

.nav__links > li:has(a.btn) a:hover::after {
  display: none;
}

/* Language Selector */
.nav__languages {
  position: relative;
  display: inline-block;
  cursor: pointer;
  height: 100%;
}

.nav__languages p {
  height: 100%;
  font-size: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: rgba(5, 34, 73, 1);
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  padding: 12px 16px;
  z-index: 2;
  flex-direction: column;
  align-items: flex-start;
  gap: 25px;
}

.dropdown-content a {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
}

.nav__languages:hover .dropdown-content {
  display: flex;
}

li:hover .dropdown-content {
  display: flex;
}

.nav__languages img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  transition: transform 0.3s ease;
  object-fit: cover;
  vertical-align: middle;
  margin: 0;
}

.nav__languages a:hover img {
  transform: scale(1.1);
}

/* Responsive Navigation */
@media (max-width: 768px) {
  .nav {
    position: unset;
    padding: 25px;
  }

  .nav__container {
    flex-direction: column;
    align-items: center;
    height: auto;
  }

  .nav__logo {
    height: 50px;
  }

  .nav__links {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    margin-top: 0.5rem;
  }

  .nav__links > li > a::after {
    bottom: 0; /* Adjust the distance from the text */
  }
}

.qualification,
.core-benefits,
.method,
.supporting-features,
.trusted-by,
.pricing,
.cta,
.booking {
  padding: 0 15px;
}

@media (max-width: 768px) {
  section {
    margin: 50px auto;
  }
}

/* Hero Section */
.hero {
  max-width: 100%;
  background: rgba(2, 22, 40, 1);
  background-size: 85px 85px;
  background-image:
    linear-gradient(to right, rgba(224, 224, 224, 0.1) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(224, 224, 224, 0.1) 1px, transparent 1px);
  margin-top: 85px;
  position: relative;
  overflow: hidden;
}

.hero__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  gap: 25px;
  max-width: 1290px;
  margin-bottom: 100px;
  position: relative;
  padding: 0 25px;
}

.hero__text {
  width: 850px;
  font-weight: 700;
  margin: 125px 0 25px 0;
  z-index: 1;
}

.hero__text h1 {
  text-align: left;
}

.hero__text .highlight {
  background: linear-gradient(
    to right,
    rgba(0, 212, 49, 1),
    rgba(0, 115, 27, 1)
  );
  background-clip: unset;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.hero__text p {
  font-size: 25px;
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.hero__image {
  width: 781px;
  height: 540px;
  z-index: 1;
  position: absolute;
  top: 100px;
  left: 850px;
  border: 1px solid #fff;
  border-radius: 15px;
  padding: 15px;
  background: #fff3;
}

.hero__image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
  object-position: center left;
}

.btn {
  display: inline-block;
  padding: 15px;
  font-size: 20px;
  font-weight: bold;
  border-radius: 5px;
  transition:
    background 0.3s ease,
    border 0.3s ease,
    color 0.3s ease;
}

.btn--primary {
  background-color: rgba(93, 198, 9, 1);
  border: 3px solid rgba(93, 198, 9, 1);
  color: #ffffff;
}

.btn--primary:hover {
  background-color: rgba(5, 34, 73, 1);
}

.btn--secondary {
  background-color: rgba(5, 34, 73, 1);
  border: 3px solid rgba(255, 255, 255, 0.25);
  margin-left: 15px;
}

.btn--secondary:hover {
  border: 3px solid rgba(255, 255, 255, 1);
}

.hero__customers,
.community__customers {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 75px 50px;
}

.hero__customers a,
.community__customers a {
  padding: 15px;
  background-color: rgba(255, 255, 255, 1);
  border: 1px solid #fff;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__customers img,
.community__customers img {
  max-height: 40px;
  object-fit: contain;
}

.ellipse {
  position: absolute;
  background-color: rgba(93, 198, 9, 1);
  border-radius: 50%;
  overflow: hidden;
  z-index: 0;
  opacity: 0.2;
}

/* Responsive Navigation */
@media (max-width: 768px) {
  .hero {
    margin-top: 0;
  }

  .hero h1 {
    line-height: 1.1;
  }

  .hero__content {
    flex-direction: column;
  }

  .hero__text {
    width: 100%;
    margin: 50px auto;
  }

  .hero__image {
    width: 100%;
    height: auto;
    z-index: 1;
    position: unset;
    border: 1px solid #fff;
    border-radius: 15px;
    padding: 15px;
    background: #fff3;
  }

  .hero__image img {
    height: auto;
    width: 100%;
    object-fit: cover;
    top: auto;
    left: auto;
    border-radius: 10px;
    object-position: center left;
  }

  .btn--secondary {
    margin-left: 0;
    margin-top: 15px;
  }
}

/* Qualification Section */
.qualification {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.qualification__content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
  padding: 50px;
}

.qualification__content__row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 10px;
}

.text-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px;
  max-width: 540px;
  min-width: 300px;
}

.text-block h3 {
  margin-bottom: 1rem;
  text-align: left;
}

.text-block p {
  font-size: 18px;
  margin-bottom: 1rem;
}

.qualification img {
  max-width: 540px;
  height: auto;
  object-fit: cover;
  overflow: hidden;
  min-width: 300px;
}

@media (max-width: 768px) {
  .qualification__content {
    padding: 15px;
    gap: 25px;
  }

  .qualification__content__row {
    flex-direction: column;
    gap: 25px;
  }

  .qualification__content__row:nth-of-type(1) {
    flex-direction: column-reverse;
  }
}

/* Core Benefits Section */
.core-benefits {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.core-benefits p {
  text-align: center;
}

.core-benefits__content {
  display: flex;
  gap: 50px;
  margin: 100px auto;
  position: relative;
}

.core-benefits__column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 50%;
  gap: 25px;
  z-index: 2;
}

.core-benefits__column p {
  margin: 0;
  text-align: left;
  width: 75%;
}

.core-benefits__column * {
  text-align: left;
}

.card {
  padding: 1.5rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex: 1;
}

.card h3 {
  font-size: 18px;
}

.card p {
  width: 100%;
}

.card h3 img {
  height: 2rem;
  vertical-align: middle;
  margin-right: 15px;
}

@media (max-width: 768px) {
  .core-benefits__content {
    flex-direction: column;
    margin: 50px auto;
  }

  .core-benefits__column {
    width: 100%;
  }

  .core-benefits__column p {
    width: 100%;
  }
}

/* Our Method Section */

.method {
  max-width: 100%;
  background: rgb(2, 22, 40);
  background: linear-gradient(
    0,
    rgb(2, 22, 40),
    rgba(5, 34, 73, 0.86),
    rgb(2, 22, 40)
  );
}

.method__content {
  max-width: 1290px;
  text-align: center;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.method__row {
  display: flex;
  flex-wrap: nowrap;
  margin-top: 65px;
  gap: 25px;
}

.method__card {
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  flex: 1;
}

.method__card img {
  width: 80%;
  margin-top: -65px;
  height: 130px;
  object-fit: contain;
  background-color: #011627;
}

.method-message {
  font-style: italic;
  font-size: 20px;
  margin: 15px auto;
  text-align: center;
}

.highlighted-text {
  position: relative;
  display: inline-block; /* Ensure the underline stays relative to the text */
}

.highlighted-text::after {
  content: "";
  position: absolute;
  bottom: -1px; /* Adjust the distance from the text */
  left: 15%;
  width: 90%; /* Length of the underline relative to the text */
  height: 3px;
  background: rgba(93, 198, 9, 1); /* Bright green color */
  border-radius: 50px; /* Smooth the edges */
  transform: rotate(-2deg); /* Add a slight tilt for a "free-hand" look */
}

/* Supporting Features Section */
.supporting-features {
  padding-top: 65px;
  padding-bottom: 50px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  position: relative;
  z-index: 0;
}

.supporting-features h2 {
  text-align: left;
}

.features-list {
  width: 820px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 35px 100px 35px 25px;
}

.feature {
  border: 1px solid rgba(202, 217, 221, 1);
}

.accordion {
  cursor: pointer;
  text-align: left;
  transition: 0.4s;
  padding: 15px;
  font-size: 18px;
}

.accordion:before {
  content: "\002B";
  margin-right: 5px;
}

.active:before {
  content: "\2212";
}

.panel {
  padding: 0 18px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  display: flex;
  flex-direction: column;
  gap: 15px;
  line-height: 1.5;
}

.panel:last-child::after {
  content: "\a";
  white-space: pre;
}

.features-image {
  width: 530px;
  height: 860px;
  object-fit: cover;
  border-radius: 20px;
  position: absolute;
  z-index: 1;
  top: 100px;
  left: 775px;
  background: #021628;
}

@media (max-width: 768px) {
  .method__row {
    flex-direction: column;
    gap: 100px;
  }

  .features-list {
    width: 100%;
    padding: 15px;
  }

  .features-image {
    position: unset;
    width: 100%;
    object-fit: contain;
    height: auto;
  }
}

/* Trusted By Section */
.trusted-by {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-top: 150px;
}

.trusted-by__testimonials {
  display: flex;
  gap: 2rem;
  position: relative;
  margin-top: 35px;
}

.testimonial {
  padding: 1.5rem;
  flex: 1;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 2;
}

.testimonial > p:nth-child(1) {
  font-size: 25px;
}

.testimonial > p:nth-child(2) {
  font-style: italic;
}

.testimonial__person {
  display: flex;
  text-align: left;
  gap: 15px;
  align-items: center;
  margin-top: 25px;
}

.testimonial__profile {
  max-width: 120px;
  height: 60px;
  object-fit: contain;
}

.trusted-by__experts {
  position: relative;
  margin: 90px auto 72px auto;
  width: 100%;
}

.experts_image {
  z-index: 0;
  height: 500px;
  width: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.experts_text {
  position: absolute;
  z-index: 1;
  width: 435px;
  top: 115px;
  left: 55px;
  background-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(5px);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.experts_text * {
  text-align: left;
}

.trusted-by__community {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.trusted-by__community * {
  text-align: left;
}

.join {
  max-width: 100%;
  padding: 200px 0;
  margin: -250px 0 -150px 0;
  background: radial-gradient(
    closest-side,
    rgba(135, 158, 179, 0.25) 0%,
    rgba(2, 22, 40, 0) 100%
  );
}

.join__us {
  background-color: rgb(18, 35, 52);
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.36);
  max-width: 980px;
  width: 85%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 25px;
  text-align: center;
  padding: 35px;
}

.join hr {
  position: relative;
  top: 150px;
  z-index: -1;
  width: 100%;
}

@media (max-width: 768px) {
  .experts_text {
    width: 80%;
    margin: 0 auto;
    top: 10%;
    left: 10%;
  }

  .join {
    margin: -200px 0 -150px 0;
  }

  .trusted-by__testimonials {
    flex-direction: column;
  }

  .join__us {
    width: 85%;
  }

  .join__us h2 {
    font-size: 30px;
  }
}
/* Pricing Section */

.pricing {
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding-bottom: 150px;
}

h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 25px;
}

.pricing h2,
.pricing h3 {
  text-align: left;
}

.plan p,
.featured p {
  font-size: 12px;
}

.plan p::before,
.featured p::before {
  content: "\2713";
  display: inline-block;
  padding: 0 4px 0 0;
}

.plan .popular {
  font-weight: 700;
  text-align: center;
}

.plan .popular::before {
  content: none;
}

.pricing__plans {
  display: flex;
  justify-content: center;
  align-items: stretch; /* Ensures all boxes stretch to the same height */
  gap: 15px;
  position: relative;
  margin: 35px 0;
  flex-wrap: wrap;
}

.plan {
  border: 1px solid #fff;
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 10px #000;
  padding: 25px 15px 75px 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.featured {
  padding: 25px 15px 75px 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 3px solid rgba(93, 198, 9, 1);
  background-color: #fff;
  color: #000;
  box-shadow: none;
  width: 100%;
  position: relative;
  top: -50px;
  margin-bottom: -50px;
}

.plan:has(.featured) {
  padding: 0 0 15px 0;
  background-color: rgba(93, 198, 9, 1);
  border: none;
  position: relative;
}

.pricing__cta {
  text-align: center;
}

@media (max-width: 1250px) {
  .pricing__plans {
    gap: 25px;
  }
  .plan {
    max-width: 60%;
    min-width: 250px;
  }
  .plan:has(.featured) {
    max-width: 60%;
    min-width: 250px;
    margin: 50px 100% 0 100%;
  }
}

/* Call to Action Section */
.cta {
  max-width: 100%;
  position: relative;
  background: rgba(2, 22, 40, 1);
  background-size: 85px 85px;
  background-image:
    linear-gradient(to right, rgba(224, 224, 224, 0.1) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(224, 224, 224, 0.1) 1px, transparent 1px);
}

.cta * {
  text-align: left;
  z-index: 1;
}

.cta__container {
  max-width: 1290px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding-bottom: 150px;
  position: relative;
  z-index: 1;
}

.cta__container h1 {
  max-width: 890px;
}

.cta__container > p {
  max-width: 635px;
  font-size: 20px;
}

.cta__why {
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding: 45px;
  margin: 0 auto 0 0;
  z-index: 2;
}

.cta__reasons {
  display: flex;
  max-width: 930px;
  gap: 10px;
}

.reason {
  flex: 1;
}

.reason p {
  font-size: 18px;
}

.box.booking {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-top: -150px;
  margin-bottom: 0;
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 1000px;
  width: 80%;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background-color: rgba(255, 255, 255, 0.22);
  border-radius: 20px 20px 0 0;
  padding: 25px 25px 50px 25px;
}

.booking__form iframe {
  width: 100%;
  max-width: 100%;
  height: 1000px;
  border: none;
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .cta__container {
    width: 100%;
  }

  .cta__reasons {
    flex-direction: column;
    gap: 25px;
  }
}

/* Free Trial Setion */

.trial {
  display: flex;
  flex-direction: row;
  gap: 35px;
  position: relative;
  padding: 15px;
}

.trial__text,
.trial__form {
  flex: 1;
}

.trial__text h2,
.trial__text h3 {
  text-align: left;
}

.trial__text ul li {
  margin: 5px 0 5px 25px;
}

#trialForm,
.trial__text {
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: relative;
}

#trialForm * {
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 16px;
  line-height: 1.25;
}

.trial h2 span.highlighted-text::after {
  content: "";
  position: absolute;
  left: 5%;
  width: 90%;
}

.trial__content form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.trial input,
.trial textarea {
  padding: 15px;
  color: #fff;
  background-color: #59636c;
  border: 1px solid #fff;
  border-radius: 10px;
  width: 100%;
  resize: none;
}

.trial input[type="text"],
.trial input[type="email"],
.trial textarea {
  width: 100%;
}

.trial input[type="checkbox"] {
  width: auto;
  margin-right: 5px;
}

.trial button {
  width: auto;
}

.trial .form-response {
  text-align: center;
}

@media (max-width: 768px) {
  .trial {
    flex-direction: column;
  }

  .trial__text h2,
  .trial__text h3 {
    text-align: center;
  }
}

/* Footer */
.footer {
  background-color: rgba(5, 34, 73, 1);
  border-top: 1px solid #fff;
  padding: 50px;
}

.footer__container {
  max-width: 1290px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer__container hr {
  border: 1px solid #fff;
}

.footer__level {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 50px;
}

.footer__links {
  display: flex;
  gap: 30px;
}

.footer-logo {
  width: 230px;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 768px) {
  .footer__level {
    flex-direction: column;
    height: auto;
    gap: 15px;
  }

  .footer__level:nth-of-type(2) {
    flex-direction: column-reverse;
    flex-wrap: wrap;
    gap: 15px;
  }

  .footer__links {
    flex-direction: column;
    width: 100%;
  }

  .footer-logo {
    height: 50px;
  }

  .footer__links a {
    width: 100%;
    text-align: center;
  }

  .separator {
    display: none;
  }

  .footer hr {
    width: 75%;
    border: 1px solid #ccc;
    margin: 15px auto;
  }

  .footer p {
    margin: 15px auto;
  }
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #000;
  color: #fff;
  display: none; /* Initially hide the banner */
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 15px;
  gap: 15px;
}

.cookie-banner .btn {
  padding: 5px;
}
