@font-face {
  font-family: "Figeorus";
  font-display: swap;
  src: url("images/Figeorus.otf") format("opentype");
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

body {
  overflow-y:scroll;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: #000;
  font-family: Karla;
  font-size: 16px;
  font-weight:400;
  line-height: 160%;
  color: #fff;
  position: relative;
}

h1 {
  font-family: Figeorus;
  font-size: 32px;
  font-weight: 500;
  line-height: 160%;
}

h2 {
  font-size: 18px;
  font-weight: 600;
  line-height: 160%;
}

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

.no-margin {
  margin: 0;
}

span {
  color: #00b0cd;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style-image: url("images/arrow-right.png");
  margin:0;
}

.layout {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  align-self: stretch;
  gap: 48px;
  padding-bottom: 32px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 64px;
}

/* Header Styles */

header {
  width: 100%;
  position: fixed;
  height: 64px;
  z-index: 1000;
  background: #000;
  box-shadow: #00b0cd 0px -3px 10px 3px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: 1440px;
  padding: 0 16px;
  margin: 0 auto;
}

.header img {
  height: 100%;
  padding: 16px 0;
}

.burger-menu {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 48px;
  height: 26px;
  padding-right: 16px;
  cursor: pointer;
}

.burger-menu .line {
  width: 100%;
  height: 3px;
  background-color: #ffffff; 
  border-radius: 3px;
  opacity: 1;
  transition: opacity 0.2s linear 0.2s;
}

.burger-menu:hover .line {
  background-color: #00b0cd;
}

.burger-menu .close {
  width: 100%;
  height: 3px;
  position: relative;
}

.burger-menu .close .line {
  position:absolute;
  transition: transform 0.2s linear;
}

.burger-menu.active .line {
  opacity: 0;
  transition: opacity 0.2s linear ;
}

.burger-menu.active .close .line{
  opacity: 1;
  transition: transform 0.2s linear 0.2s;
}

.burger-menu.active .close .line:nth-child(1) {
  transform: rotate(45deg);
 
}

.burger-menu.active .close .line:nth-child(2) {
  transform: rotate(-45deg);
}

.menu {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 64px;
  left: -100%;
  z-index: 2;
  background: #000;
  display: flex;
  flex-direction: column;
  transition: left 0.3s linear;
  margin: 0 auto;
  padding-top: 16px;
  font-size: 24px;
}

.menu.active {
  left: 0;
}

 .menu a {
  color: #00b0cd;
  text-decoration: none;
  font-weight: 600;
  padding: 16px 16px;
  margin: 0 auto;
  max-width: 1440px;
  width: 100%;
}

.menu a:hover {
  color: #fff;
}

.menu a.active {
  color: #ffffff;
}
/* End of Header Styles */ 

.section {
  display: flex;
  padding: 0 16px;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  max-width: 1440px;
  margin: 0 auto;
  box-sizing: border-box;
  scroll-margin-top: 96px;
}


/* Hero Styles */

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 32px;;
}

.hero-text {
  display: flex;
  justify-content: center;
  padding: 0;
  text-align: center;
}

.hero-text h1 {
  margin:0;
}

.hero-image img {
  width: 100%;
  height: auto;
}

.hero-tagline{
  text-align: center;
} 

.hero-button {
  display: flex;
  justify-content: center;
}

.button {
  display: flex;
  padding: 12px 16px;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  color: #000;
  gap: 8px;
  text-decoration: none;
  border: 2px solid #00B0CD;
  background: #00B0CD;
  justify-self: center;
  font-size: 16px;
  cursor: pointer;
}

/* End of Hero Styles */


/* Icon Boxes Styles */

.icon-boxes {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.icon-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px;
  border-radius: 16px;
  background: #151c24;
  box-sizing: border-box;
}

.icon-box-icon {
  margin-top: 16px;
}

.icon-box-title {
  text-align: center;
}

.icon-box-content {
  text-align: justify;
}


/* End of Icon Box Styles */

/* Testimonial Styles */

.testimonial {
  position: relative;
  border-radius: 16px;
  padding: 12px 24px;
  background: linear-gradient(
    142deg,
    rgba(254, 248, 255, 0.21) 1.8%,
    rgba(254, 248, 255, 0) 99.75%
  );
}

.testimonial::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  background: url(images/random.png) rgb(102, 102, 102) 0% 0% /
    80px 80px repeat;
  background-blend-mode: multiply;
  opacity: 20%;
  border: 12px solid rgba(255, 255, 255, 0.22);
}

.quote p:first-of-type::before {
  content: url(images/quote.png);
  display: block;
  margin: 0 auto;
}

.person {
  text-transform: uppercase;
  font-size: 18px;
  font-weight: 500;
}

.position {
  font-size: 18px;
  font-weight: 300;
}

/* End of Testimonial Styles */

.dots {
  background: url(images/dots.png) no-repeat;
  background-size: cover;
  background-position-x: center;
  padding: 64px;
}

.number-icon {
  display: flex;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 1000px;
  background: #00b0cd;
  color: #000;
  font-weight: 800;
  font-size: 24px;
  line-height: 24px;
}

.icon {
  border-radius: 1000px;
  background: #00b0cd;
  display: flex;
  width: 32px;
  height: 32px;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.row {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Card Styles */

.card-wrapper {
  padding: 0 16px;
  scroll-margin-top: 96px;
}


.card-buttons {
  display:none;
}

.cards {
  display: flex;
  flex-direction: column;
}

.card {
  display:flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: height 0.4s linear;
  border-bottom: 1px solid #3b4553;
}

.card-title {
  display: flex;
  width: 100%;
}

.card-title div {
  display: flex;
  width: 100%;
  flex-direction: row;
  gap: 10px;
  background: #151c24;
  padding: 12px;
  position: relative;
  z-index: 1;
  cursor: pointer;
  align-items: center;
  font-size: 20px;
  line-height: 30px;
  font-weight: 500;
}

.card-title div::after {
  content: "^";
  background: #00b0cd;
  color: #000;
  height: 20px;
  width: 20px;
  border-radius: 1000px;
  cursor: pointer;
  margin-left: auto;
  display: flex;
  align-items: stretch;
  justify-content: center;
  line-height: 25px;
  transform: rotate(180deg);
  transition: transform 0.2s linear;
}

.card.collapsed .card-title div::after {
  transform: rotate(0deg);
}

.card-image {
  display: flex;
}

.card-image div {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.card-image div img {
  position: relative;
  width: 100%;
  max-height: 300px;
  object-fit: cover;
}

.card-image div::after {
  background-color: #00b0cd;
  mix-blend-mode: color;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.card-content {
  display: flex;
}

.card-content div{
  display: flex;
  width: 100%;
  align-items: center;
  background: #151c24;
  padding: 32px 16px;
  box-sizing: border-box;
  flex-direction: column;
  align-items: flex-start;
}

.card-content div p {
  margin: 0 0 16px 0;
}

.card-content div ul{
  margin-bottom: 16px;
}

/* End of Card Styles */

/* Selector Styles */

.selector-section {
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  border-radius: 16px;
        overflow: hidden;
        width: 100%;

}

.selector-area {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.50) 0%, rgba(0, 0, 0, 0.50) 100%), url("images/yacht-image.jpg") 50% / cover no-repeat;
  background-size: cover;
  position: relative;
  display: flex;
  align-items: center;
  aspect-ratio: 1.8;
}

.selector-area .center-image {
  width: 40%;
  z-index: 0;
  
}

.selectors {
  position: relative;
  width:100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  align-items: center;
  justify-content: center;
}

.selector {
  font-size: 20px;
  font-weight: 600;
  display: flex;
  width: 33%  ;
  flex-direction: column;
  text-shadow: 0 0 2px black;
  align-items: center;
}

.selector-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  border:2px solid #fff;
  padding: 5px;
  border-radius: 1000px;
  box-sizing: border-box;
  z-index:1;
  cursor: pointer;
}

.selector-icon.selected {
  border-color: #00b0cd;
}

.selector-item {
  display: flex;
  flex-direction: column;
  padding: 32px;
  transition: opacity 0.4s linear;
  justify-content: start;
    align-items: flex-start;
    background: #151c24;
}

.selector-item .selector-icon {
  width: 60px;
  height: 60px;
  padding: 7px;
  margin-bottom: 32px;
  cursor: inherit;
}

.selector-item .title h2 {
  margin: 0;
}

.selector-icon img {
  width: 100%;
  height: 100%;
}


/* End of Selector Styles */

.contact-left {
  display: flex;
      flex-direction: column;
      align-items: center;
      gap: 16px;
}

.contact-form{
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background-color: #151c24;
  border-radius: 16px;
  margin-top: 32px;
}

.contact input[type="text"],
.contact input[type="email"],
.contact textarea {
  width: 100%;
  padding: 12px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  box-sizing: border-box;
  border-radius: 8px;
}

footer {
  width: 100%;
  border-top: 1px solid #3b4553;
}

.footer {
  
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  align-self: stretch;
}

.footer-logo {
  padding: 32px 0 ;
  max-width: 50%;
}

.socials {
  display: flex;
  flex-direction: row;
  gap: 16px;
}

.social-icon {
  display: flex;
  width: 50px;
  height: 50px;
  padding: 12px 16px;
  justify-content: center;
  align-items: center;
  border-radius:  1000px;
  border: 1px solid  #FFF;
}

.copy {
  display: flex;
  justify-content: center;
}

.row {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: space-between;
}

.row.submit{
  flex-direction: column;
}

@media screen and (min-width: 768px) {

  .layout {
    gap: 32px;
    padding-top: 80px;
  }

  header {
    height: 80px;
  }

  .header {
    height: 80px;
    padding: 0 64px;
  }

  .menu {
    top: 80px;
  }

  .menu a {
    padding: 16px 64px;
  }

  .section {
    padding: 0 64px;
  }

  .hero{
    display:grid;
      grid-template-columns: 1fr 1fr;
      grid-template-rows: auto auto;
      grid-template-areas:
        "title image"
        "tag button"
  }

  .hero .hero-text{
    grid-area: title;
    padding-right: 32px;
  }

  .hero .hero-image{
    grid-area: image;
  }

  .hero .hero-tagline {
    grid-area: tag;
  }

  .hero-tagline h2{
    text-align: left;
  } 

  .hero-button{
    grid-area: button;
  }

  .hero .hero-text h1 {
    text-align: left;
  }


  .icon-boxes {
    flex-direction: row;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 32px;
  }

  .icon-box {
    width: 47%;
    padding: 16px;
  }

  .body-xss {
    font-size: 16px;
    font-weight: 400;
    line-height: 160%;
  }

  .card-wrapper {
    padding: 0;
    position: relative;
  }


  .card-buttons {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 100%;
    margin-bottom: 16px;
    max-width: 1440px;
    justify-self: center;
  }

  .card-buttons>div{
    cursor: pointer;
    display: flex;
    flex-direction: column;
    font-size: 22px;
    border-bottom: 2px solid #00b0cd00;
  }

  .card-buttons div:hover {
    border-bottom-color: #ffffff;
  }

  .card-buttons .selected {
    border-bottom-color: #00b0cd;
  }

  .cards {
    flex-direction: row;
    gap: 32px;
    overflow-x: scroll;
    scrollbar-width: none;
  }

  .card {
    max-width: 1440px;
    display: flex;
    flex-direction: column;
    border-radius: 32px;
    height: auto !important;
    min-width: calc(100vw - 144px);
    border-bottom: none ;
  }

  .card:first-of-type {
    margin-left: 64px;
  }

  .card:last-of-type {
    margin-right: 64px;
  }

  .card-title div::after {
    display: none;
  }

  .card-title div{
    display:flex;
    width: 60%;
    flex-direction: column;
    font-size: 24px;
    font-weight: 800;
    pointer-events: none;
    align-items:flex-start;
    box-sizing: border-box;
    padding: 32px 0 0 32px;
  }

  .card-content div{
    box-sizing: border-box;
    width: 60%;
    padding: 0 32px 32px 32px;
    flex-direction: column;
    align-items: flex-start;
  }

  .card-content div p {
    margin: 16px 0 16px 0;
  }
  
  .card-content div ul{
    margin: 16px 0;
  }

  .card-image{
    width: 100%;
    position: absolute;
    display:flex;
    justify-content: flex-end;
    height: 100%;
  }

  .card-image div {
    width: 40%;
  }

  .card-image div img {
    position: absolute;
    max-height: initial;
    height: 100%;
    
  }

  .card-content {
    flex-grow: 1;
  }

  

  .btn-left {
    position: absolute;
    height:100%;
    width: 64px;
    z-index: 10;
    cursor: pointer;
    z-index: 1;
    cursor: pointer;
  }

  .btn-right {
    position: absolute;
    right: 0;
    height:100%;
    width: 64px;
    z-index: 1;
    cursor: pointer;
  }
	
.row.submit{
  flex-direction: row;
}
}

@media screen and (min-width: 1024px) {

  .selector-section {
    display: flex;
    flex-direction: row;
    height: 600px;
  }

  .selector-area {
    width:60%;
    aspect-ratio: 1.4;
  }
  
  .selector-item {
    width: 40%;
    overflow-y: auto;
  }

  .selector-area .center-image {
    width: 50%;
  }

  .contact {
    flex-direction: row;
    justify-content: space-between;
  }

  .contact-form {
    margin: 0;
  }

  .contact-left {
    align-items: flex-start;
  }

  .contact-left .hero-text {
    text-align: left;
  }
  .footer {
    flex-direction: row;
    justify-content: space-between;
    max-width: 1440px;
    padding: 0 64px;
    margin: 0 auto;
  }

  .footer-logo {
    max-width: 25%;
  }

  .footer .socials {
    order: 3;
    width: 25%;
    justify-content: flex-end;
  }
}

  @media screen and (min-width: 1440px){

    .layout {
      gap: 64px;
    }

    .hero {
      grid-template-columns: 1fr 1fr;
      grid-template-rows: auto auto auto;
      grid-template-areas:
        "title image"
        "tag image"
        "button image"
    }

    .hero-button{
      display: flex;
      justify-content: flex-start;
    }

    .icon-box {
      width: 31%;
    }



    .cards {
      position: relative;
    }

    .card {
      min-width: calc(1440px - 128px);
    }

    .btn-left {
      width: calc((100vw - 1440px) / 2);
    }

    .btn-right {

      width: calc((100vw - 1440px) / 2);
    }

    .card:first-of-type {
      margin-left: calc(((100vw - 1440px - var(--scrollbar-width)) / 2) + 64px); 
    }

    .card:last-of-type {
      margin-right: calc(((100vw - 1440px - var(--scrollbar-width)) / 2) + 64px);
    }

  }
