@import "./normalize.css";
:root {
  --color-primary: #006663;
  --color-secondary: #ff4d4d;
  --color-headings: #333333;
  --color-body: #848484;
}

/* Typography */
@font-face {
  font-family: "Dana";
  src: url("./fonts/Dana-Light.woff2") format("woff2"),
    url("./fonts/Dana-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Dana";
  src: url("./fonts/Dana-Regular.woff2") format("woff2"),
    url("./fonts/Dana-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Dana";
  src: url("./fonts/Dana-Medium.woff2") format("woff2"),
    url("./fonts/Dana-Medium.woff") format("woff");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Dana";
  src: url("./fonts/Dana-Bold.woff2") format("woff2"),
    url("./fonts/Dana-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Dana";
  src: url("./fonts/Dana-Black.woff2") format("woff2"),
    url("./fonts/Dana-Black.woff") format("woff");
  font-weight: 900;
  font-style: normal;
}

::selection {
  background: var(--color-primary);
  color: #fff;
}

html {
  font-size: 62.5%;
  direction: rtl;
}

body {
  font-family: Dana, Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1.5;
  padding-top: 2rem;
  color: var(--color-body);
  max-width: 1400px;
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  body {
    padding-top: 4rem;
  }
}

h1,
h2,
h3 {
  color: var(--color-headings);
  font-family: Dana, Arial, Helvetica, sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.1;
}

h1 {
  font-size: 2.4rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 2rem;
  line-height: 1.3;
}

p {
  margin-top: 0;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  h1 {
    font-size: 3.6rem;
  }
  h2 {
    font-size: 2.2rem;
  }
  h3 {
    font-size: 2.2rem;
  }
}

@media (min-width: 992px) {
  h1 {
    font-size: 4rem;
  }
}

/* Utils */

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.svg-box {
  padding: 6px;
}

/* Buttons */

.btn {
  border: none;
  background: var(--color-primary);
  color: #fff;
  font-size: 1.4rem;
  padding: 12px 24px;
  line-height: 25px;
  font-weight: 300;
  border-radius: 50px;
}

.close-btn {
  border: none;
  background-color: white;
  padding: 16px 24px;
  border-radius: 32px;
  font-size: 2.4rem;
}

/* Logo  */

.logo {
  font-weight: 900;
}

.logo-img {
  margin-top: 8px;
}

.mobile-logo {
  display: flex;
  margin-left: 16px;
}

/* Links */

a {
  text-decoration: none;
  color: #333333;
}

/* Navbar */

nav {
  width: 85%;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .nav-reverse {
    flex-direction: row-reverse;
  }
}

/* Drawer */

li {
  color: #333333;
  list-style: none;
}

.drawer {
  position: fixed;
  top: -500px;
  padding-top: 10px;
  width: 90%;
  margin: 0 auto;
  height: fit-content;
  justify-self: center;
  background: white;
  border-radius: 32px;
  transition: top 0.5s ease;
  z-index: 999;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 4px;
}

.drawer img {
  padding: 15px 8px;
}

.drawer ul {
  display: flex;
  flex-direction: column;
  margin-top: 24px;
  padding: 0px 24px;
  gap: 10px;
  font-size: 1.6rem;
}

.drawer li {
  padding: 10px 0px;
  border-bottom: #e3e3e3 1px solid;
}

.drawer li:last-child {
  border-bottom: 0;
}

.drawer.open {
  top: 30px;
}

.backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
  z-index: 900;
}

.backdrop.show {
  opacity: 1;
  visibility: visible;
}

.desktop-nav {
  display: none;
}

.desktop-nav-list {
  display: none;
  list-style: none;
  gap: 16px;
}

nav li:hover {
  color: var(--color-secondary);
  font-weight: 700;
  cursor: pointer;
}

nav li.active {
  color: var(--color-secondary);
  font-weight: 700;
}

@media (min-width: 768px) {
  #menu {
    display: none;
  }
  .drawer,
  .backdrop {
    display: none;
  }
  .desktop-nav {
    display: block;
  }
  .desktop-nav-list {
    display: flex;
  }
}

.btn-mobile {
  display: flex;
  justify-content: space-between;
  width: 88%;
  margin: 24px auto;
}

/* Hero */

main {
  width: 90%;
  margin: 0 auto;
}

section {
  margin-bottom: 60px;
}

@media (min-width: 768px) {
  main {
    width: 85%;
  }
}
@media (min-width: 922px) {
  section {
    margin-bottom: 90px;
  }
}

.hero-section {
  text-align: center;
  margin-top: 32px;
  background-color: rgba(0, 102, 99, 0.1);
  border-radius: 18px;
  min-height: 630px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  padding: 32px 36px 32px 24px;
  z-index: 300;
}

.bg {
  overflow: hidden;
  display: flex;
  justify-content: space-between;
}

.bg img {
  position: absolute;
  height: 100%;
  top: 0;
}

@media (min-width: 768px) {
  .hero-section {
    border-radius: 48px;
    min-height: 600px;
  }
  .hero-content {
    padding: 32px 48px 32px 48px;
  }
}

@media (min-width: 992px) {
  .hero-section {
    border-radius: 64px;
    min-height: 580px;
  }
  .hero-content {
    padding: 42px 64px 32px 64px;
  }
}
@media (min-width: 1200px) {
  .hero-content {
    padding: 42px 120px 32px 120px;
  }
}

.hero-anime {
  display: inline-block;
  vertical-align: middle;
  margin: 0px 8px;
  border: 2px solid #006663;
  border-radius: 36px;
  background: #fff;
  overflow: hidden;
  width: 75px;
  height: 35px;
  position: relative;
}

.hero-anime img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.hero-anime img.active {
  opacity: 1;
}

@media (min-width: 768px) {
  .hero-anime {
    width: 110px;
    height: 50px;
    border-radius: 50px;
  }
}

.hero-content h1 {
  line-height: 3.6rem;
}

.hero-txt {
  padding: 0;
}

@media (min-width: 768px) {
  .hero-content h1 {
    line-height: 5rem;
  }
  .hero-txt {
    padding: 10px 0;
  }
}

@media (min-width: 992px) {
  .hero-txt {
    padding: 4px 50px;
  }
}

.trapezoid {
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%) perspective(400px) rotateX(60deg);
  width: 75%;
  height: 100px;
  z-index: 400;
  background: #fff;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

@media (min-width: 768px) {
  .trapezoid {
    transform: translateX(-50%) perspective(400px) rotateX(48deg);
    height: 140px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
  }
}

.sponsors {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 65%;
  justify-content: space-between;
  gap: 16px;
  z-index: 500;
}

.sponsors img {
  flex: 1 1 0;
  width: 100%;
  max-width: 45px;
  height: auto;
  opacity: 0.6;
  object-fit: contain;
}

@media (min-width: 768px) {
  .sponsors {
    bottom: 24px;
  }
  .sponsors img {
    max-width: 75px;
  }
}

@media (min-width: 992px) {
  .sponsors img {
    max-width: 110px;
  }
}

.avatar {
  position: absolute;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  z-index: 100;
}

.avatar-1 {
  left: 8%;
  top: 3%;
}

.avatar-2 {
  top: 64%;
  left: 5%;
}
.avatar-3 {
  top: 22%;
  right: 3%;
}

@media (min-width: 768px) {
  .avatar {
    width: 45px;
    height: 45px;
  }
  .avatar-2 {
    top: 65%;
    left: 15%;
  }
  .avatar-3 {
    top: 29%;
    right: 5%;
  }
  .avatar-1 {
    top: 90%;
    left: 3%;
  }
}

@media (min-width: 992px) {
  .avatar-2 {
    top: 50%;
  }
  .avatar-1 {
    top: 86%;
    left: 5%;
  }
}

.hero-buttons {
  margin-top: 16px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 310px;
  font-size: 1.2rem;
}

@media (min-width: 768px) {
  .hero-buttons {
    max-width: 325px;
  }
}

#hero-btn {
  border-radius: 16px;
  border: none;
  background: var(--color-primary);
  color: #fff;
  font-size: 1.4rem;
  padding: 12px 24px;
  line-height: 25px;
  font-weight: 300;
}

#arrow {
  margin-top: 2px;
  margin-right: 4px;
}

.services-link {
  line-height: 25px;
}

.services-link:hover {
  transform: scale(1.05);
}

.hero-rate {
  padding: 16px;
  border-radius: 16px;
  background: white;
  width: fit-content;
  font-size: 12px;
  box-shadow: rgba(0, 0, 0, 0.1) 4px 4px;
  margin: 0;
  z-index: 600;
}

.hero-rate span {
  font-size: 16px;
  padding: 0px 8px;
  color: black;
  font-weight: 700;
}

.rate1 {
  position: absolute;
  bottom: 21%;
  right: 3%;
}
.rate2 {
  position: absolute;
  bottom: 9%;
  left: 5%;
}

@media (min-width: 768px) {
  .rate1 {
    position: absolute;
    bottom: 11%;
    right: 16%;
  }
  .rate2 {
    position: absolute;
    bottom: 15%;
    left: 16%;
  }
}

@media (min-width: 992px) {
  .hero-rate {
    padding: 16px;
    font-size: 14px;
  }

  .hero-rate span {
    font-size: 20px;
  }
  .rate1 {
    position: absolute;
    bottom: 14%;
    right: 20%;
  }
  .rate2 {
    position: absolute;
    bottom: 22%;
    left: 20%;
  }
}

/* services */

.line {
  display: inline-block;
  height: 4px;
  width: 28px;
  border-top: 1px var(--color-secondary) solid;
  margin: 0 6px;
}

.our-services-title {
  padding: 8px 16px;
  width: 190px;
  border-radius: 50px;
  color: #ff4d4d;
  background-color: rgba(255, 0, 0, 0.1);
}

.services {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 24px;
}

@media (min-width: 992px) {
  .services {
    flex-wrap: nowrap;
  }
}

.card {
  background: #f8f8f8;
  background: linear-gradient(
    200deg,
    rgba(248, 248, 248, 1) 60%,
    rgba(255, 77, 77, 0.9) 100%
  );
  height: 470px;
  border-radius: 64px;
  width: 85%;
  margin: 0 auto;
  max-width: 416px;
  position: relative;
  overflow: hidden;
  padding: 24px;
}

.card h3 {
  position: relative;
  z-index: 100;
}
.card p {
  position: relative;
  z-index: 100;
}

.card img {
  height: 100%;
  object-fit: cover;
  position: absolute;
}

.card-btn {
  position: absolute;
  bottom: 40px;
  left: 32px;
  z-index: 100;
  border: 1px rgba(248, 248, 248, 0.5) solid;
  background-color: rgba(195, 194, 194, 0.1);
  backdrop-filter: blur(10px);
  padding: 12px 24px;
  color: #fff;
  border-radius: 50px;
}

.card .bg-vector {
  position: absolute;
  opacity: 0.8;
  object-fit: cover;
}

.card .bg-vector-1 {
  top: 50px;
  right: 0;
  transform: rotate(10deg);
}
.card .bg-vector-2 {
  top: 0;
  left: 20px;
}
.card .bg-vector-3 {
  top: -120px;
  right: -80px;
  opacity: 1;
  scale: 0.55;
}

.mobile {
  transform: rotate(117deg);
  top: 200px;
  left: -280px;
  z-index: 100;
  opacity: 0.8;
}

.laptop {
  left: -150px;
  top: 130px;
  z-index: 100;
  opacity: 0.8;
}

.rocket {
  right: 1px;
}

/* About Us */

.about-us-title {
  padding: 8px 16px;
  width: 190px;
  border-radius: 50px;
  background-color: rgba(255, 255, 255, 0.1);
}
.about-us-title .line {
  border-color: white;
}
.about-us {
  display: flex;
  flex-direction: column;
  color: white;
  padding: 24px;
  border-radius: 64px;
  background: linear-gradient(
    81.86deg,
    #006663 21.82%,
    #009f9a 36.32%,
    #07a39f 54.17%,
    #006663 84.55%
  );
}

.about-us h3 {
  color: #fff;
  font-weight: 600;
  line-height: 14px;
  margin-bottom: 16px;
}

.about-us p {
  font-size: 1.2rem;
  opacity: 0.8;
}

#about-btn {
  color: var(--color-primary);
  font-weight: 400;
  background: white;
  margin: 24px 0;
}

.about-us .contact {
  background: white;
  display: flex;
  justify-content: space-evenly;
  flex-direction: column;
  border-radius: 24px;
  padding: 32px;
  margin-bottom: 16px;
  color: #333333;
}

.about-us .contact h3 {
  color: black;
}

.about-us .address {
  display: flex;
  flex-direction: column;
}

.about-us .contact:last-of-type {
  flex-grow: 1;
}

.explanation-sub {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  align-items: center;
  white-space: nowrap;
  margin-bottom: 16px;
  gap: 8px;
}

.explanation-title {
  padding: 8px 0px 8px 16px;
  border-radius: 50px;
}
.explanation-title .line {
  border-color: white;
}

.explanation {
  padding-top: 16px;
  padding-bottom: 24px;
  border-bottom: rgba(255, 255, 255, 0.2) 1px solid;
}

.explanation:last-of-type {
  border: none;
}

@media (min-width: 768px) {
  .about-us {
    padding: 48px;
  }
  .about-us p {
    font-size: 1.4rem;
    margin-top: 16px;
  }
  .about-us .address {
    flex-direction: row;
    gap: 10px;
  }


}

@media (min-width: 992px) {
  .about-us {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 48px;
    gap: 64px;
  }
  .explanation:first-of-type {
    padding-top: 0;
  }
  .about-us .address {
    flex-direction: column;
  }
}
@media (min-width: 1200px) {
  .about-us {
    grid-template-columns: 12fr 11fr;
    gap: 32px;
  }
  #about-btn {
    margin-top: 64px;
  }
    .about-us .address {
    flex-direction: row;
  }
}

/* Samples */

.samples a {
  color: #006663;
}

.samples h2 {
  margin-bottom: 24px;
}

.swiper {
  width: 100%;
  height: 260px;
  border-radius: 64px;
  margin-top: 32px;
}

.slide {
  width: 100%;
  position: relative;
  box-sizing: border-box;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #eee;
  transition: width 300ms ease, transform 300ms ease;
  flex-shrink: 0;
}

.slide img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: top;
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #333333 0%, rgba(51, 51, 51, 0) 64.04%);
  pointer-events: none;
}

.swiper-dots {
  display: flex;
  justify-content: center;
  height: 48px;
  width: 250px;
  position: relative;
  margin: 12px auto;
}

.swiper-pagination {
  text-align: center;
  margin-bottom: 3px;
}

.swiper-pagination-bullet {
  background: #ccc;
  opacity: 1;
  width: 12px;
  height: 12px;
  margin: 0 6px !important;
  transition: all 0.3s;
  border-radius: 50%;
}
.swiper-pagination-bullet-active {
  background: #ff4d4d;
  width: 24px;
  border-radius: 8px;
}

.swiper-button-prev,
.swiper-button-next {
  position: relative;
  transform: scale(0.3) rotate(180deg);
  color: #333;
}

.swiper-button-prev {
  right: -40%;
}
.swiper-button-next {
  right: 40%;
}

@media (min-width: 768px) {
  .swiper {
    height: 350px;
  }

  .slide {
    height: 350px;
  }
}

.slide .details {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  width: 95%;
  justify-content: space-between;
  height: 90%;
  color: white;
  position: absolute;
  top: 0;
  margin: 16px 24px;
  z-index: 10;
}

.slide h3 {
  color: white;
}

.slide p {
  padding-left: 20px;
}

.see-more {
  background: white;
  padding: 12px 24px;
  width: 140px;
  border-radius: 50px;
  margin: 0 0 12px 24px;
  box-shadow: rgba(0, 0, 0, 0.1) 4px 4px 4px;
}
.see-more-container {
  display: flex;
  justify-content: flex-end;
}

@media (min-width: 992px) {
  .swiper {
    height: 460px;
    border-radius: 0;
  }

  .slide {
    border-radius: 64px;
    overflow: hidden;
    height: 460px;
  }

  .swiper-slide.second-next,
  .swiper-slide.second-prev {
    width: 5vw !important;
    max-width: 70px !important;
  }

  .swiper-slide-active {
    justify-self: center;
    width: 46vw !important;
    max-width: 700px !important;
  }

  .swiper-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: none;
    pointer-events: none;
  }

  .swiper-slide-active::after {
    background: linear-gradient(180deg, #333333 0%, rgba(51, 51, 51, 0) 64.04%);
  }

  .swiper-slide-prev .details,
  .swiper-slide-next .details {
    display: none;
  }
  .swiper-slide-prev,
  .swiper-slide-next {
    width: 10vw !important;
    max-width: 135px !important;
  }

  .swiper-slide:not(.swiper-slide-active):not(.swiper-slide-next):not(
      .swiper-slide-prev
    )
    .details {
    display: none;
  }
}

/* Footer */

footer {
  padding-bottom: 48px;
  text-align: center;
  width: 85%;
  margin: 0 auto;
}

footer h2 {
  font-size: 2.4rem;
  margin-bottom: 24px;
}

.footer-text {
  padding-bottom: 64px;
}

.footer-text p {
  margin-bottom: 24px;
}

footer .links-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px #e3e3e3 solid;
}

.footer-navigation {
  font-weight: 600;
  flex-grow: 1;
}

footer .social-media {
  width: 210px;
  margin: 24px auto 0;
}

@media (min-width: 768px) {
  footer {
    margin-top: -100px;
    width: 90%;
  }
  footer h2 {
    font-size: 3.2rem;
  }
  .footer-text {
    padding: 80px 60px;
  }

  footer .links-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  footer .social-media {
    margin: 0;
  }

  .footer-navigation {
    max-width: 48%;
  }
}

@media (min-width: 992px) {
  footer h2 {
    font-size: 4rem;
  }

  .footer-text {
    line-height: 1.2;
    padding: 120px 90px;
  }
}

footer .rayouma {
  font-weight: 600;
}

/* Samples */

.samples .hero h1 {
  text-align: center;
  border: 1px #848484 solid;
  width: fit-content;
  margin: 50px auto 0;
  position: relative;
  padding: 28px 36px;
  line-height: 1.5;
}

main.samples h1 span {
  color: var(--color-secondary);
}

.samples-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  position: absolute;
  top: -60px;
  left: 0;
  z-index: -1;
  background-position: center center;
  background-repeat: repeat;
  background-image: url("data:image/svg+xml;utf8,%3Csvg viewBox=%220 0 1200 800%22 xmlns=%22http:%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cmask id=%22b%22 x=%220%22 y=%220%22 width=%221200%22 height=%22800%22%3E%3Cpath fill=%22url(%23a)%22 d=%22M0 0h1200v800H0z%22%2F%3E%3C%2Fmask%3E%3Cpath fill=%22%23fff%22 d=%22M0 0h1200v800H0z%22%2F%3E%3Cg style=%22transform-origin:center center%22 stroke=%22%23e9eaeb94%22 stroke-width=%222.4%22 fill=%22none%22 mask=%22url(%23b)%22%3E%3Cpath d=%22M0 0h120v120H0zM120 0h120v120H120zM240 0h120v120H240zM360 0h120v120H360zM480 0h120v120H480zM600 0h120v120H600zM720 0h120v120H720zM840 0h120v120H840zM960 0h120v120H960zM1080 0h120v120h-120zM0 120h120v120H0zM120 120h120v120H120zM240 120h120v120H240zM360 120h120v120H360zM480 120h120v120H480zM600 120h120v120H600zM720 120h120v120H720zM840 120h120v120H840zM960 120h120v120H960zM1080 120h120v120h-120zM0 240h120v120H0zM120 240h120v120H120zM240 240h120v120H240zM360 240h120v120H360zM480 240h120v120H480zM600 240h120v120H600zM720 240h120v120H720zM840 240h120v120H840zM960 240h120v120H960zM1080 240h120v120h-120zM0 360h120v120H0zM120 360h120v120H120zM240 360h120v120H240zM360 360h120v120H360zM480 360h120v120H480zM600 360h120v120H600zM720 360h120v120H720zM840 360h120v120H840zM960 360h120v120H960zM1080 360h120v120h-120zM0 480h120v120H0zM120 480h120v120H120zM240 480h120v120H240zM360 480h120v120H360zM480 480h120v120H480zM600 480h120v120H600zM720 480h120v120H720zM840 480h120v120H840zM960 480h120v120H960zM1080 480h120v120h-120zM0 600h120v120H0zM120 600h120v120H120zM240 600h120v120H240zM360 600h120v120H360zM480 600h120v120H480zM600 600h120v120H600zM720 600h120v120H720zM840 600h120v120H840zM960 600h120v120H960zM1080 600h120v120h-120zM0 720h120v120H0zM120 720h120v120H120zM240 720h120v120H240zM360 720h120v120H360zM480 720h120v120H480zM600 720h120v120H600zM720 720h120v120H720zM840 720h120v120H840zM960 720h120v120H960zM1080 720h120v120h-120z%22%2F%3E%3C%2Fg%3E%3Cpath fill=%22%23f3f3f3%22 filter=%22url(%23c)%22 opacity=%22.8%22 d=%22M0 0h1200v800H0z%22%2F%3E%3Cdefs%3E%3CradialGradient id=%22a%22%3E%3Cstop offset=%220%22 stop-color=%22%23fff%22%2F%3E%3Cstop offset=%22100%25%22 stop-color=%22%23fff%22 stop-opacity=%220%22%2F%3E%3C%2FradialGradient%3E%3Cfilter id=%22c%22 x=%22-480%22 y=%22-320%22 width=%221680%22 height=%221120%22 filterUnits=%22userSpaceOnUse%22 primitiveUnits=%22userSpaceOnUse%22 color-interpolation-filters=%22linearRGB%22%3E%3CfeTurbulence type=%22fractalNoise%22 baseFrequency=%22.15%22 numOctaves=%224%22 seed=%2215%22 stitchTiles=%22no-stitch%22 x=%220%22 y=%220%22 width=%221200%22 height=%22800%22 result=%22turbulence%22%2F%3E%3CfeSpecularLighting surfaceScale=%2210%22 specularConstant=%22.61%22 specularExponent=%2220%22 lighting-color=%22%23fff%22 x=%220%22 y=%220%22 width=%221200%22 height=%22800%22 in=%22turbulence%22 result=%22specularLighting%22%3E%3CfeDistantLight azimuth=%223%22 elevation=%22100%22%2F%3E%3C%2FfeSpecularLighting%3E%3C%2Ffilter%3E%3C%2Fdefs%3E%3C%2Fsvg%3E");
}

@media (min-width: 768px) {
  .samples-bg {
    top: -30px;
  }
  .samples .hero h1 {
    margin-top: 65px;
  }
}

.square {
  position: absolute;
  height: 16px;
  width: 16px;
  background-color: var(--color-primary);
}

.square-1 {
  top: -8px;
  left: -8px;
}
.square-2 {
  bottom: -8px;
  left: -8px;
}
.square-3 {
  top: -8px;
  right: -8px;
}
.square-4 {
  bottom: -8px;
  right: -8px;
}

.samples .hero p {
  text-align: center;
  padding: 16px 36px;
  max-width: 320px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .samples .hero p {
    max-width: 710px;
    padding: 24px 64px;
  }
}

.i-mac-container {
  display: flex;
  margin-top: 16px;
  width: 100%;
  justify-content: center;
}

.i-mac {
  width: 85%;
  object-fit: scale-down;
}

.i-mac-wrapper {
  display: flex;
  position: relative;
  width: fit-content;
  height: fit-content;
  justify-content: center;
}

.i-mac-screen {
  position: absolute;
  top: 6px;
  right: 50%;
  transform: translateX(50%);
  transition: opacity 1s ease-in-out;

  width: 82%;
  height: 66%;
  object-fit: cover;
  opacity: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

@media (min-width: 768px) {
  .i-mac {
    width: fit-content;
  }

  .i-mac-screen {
    top: 10px;
    width: 96%;
    height: 65%;
  }
}

.i-mac-screen.active {
  opacity: 1;
  z-index: 2;
}

/* Tabs */

.tabs {
  width: 100%;
  margin: 0 auto;
}

.tab-buttons {
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  background-color: #f8f8f8;
  border-radius: 50px;
  padding: 8px;
}

.tab-btn {
  padding: 12px 8px;
  cursor: pointer;
  border-radius: 50px;
  color: var(--color-primary);
  font-size: 16px;
  border: 1px #006663 solid;
  transition: background 0.3s;
}

.tab-btn:hover {
  background: rgba(0, 102, 99, 0.1);
}

.tab-btn.active-tab {
  background: rgba(0, 102, 99, 0.85);
  color: white;
}

.tab-contents {
  width: 100%;
  padding: 32px 0;
}

.tab-content {
  display: none;
}

.tab-content.active-tab {
  display: block;
}

.web-samples {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.web {
  height: 300px;
  border-radius: 64px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.web h3 {
  color: white;
}

.web img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: top;
}

.web-details {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 85%;
  height: 90%;
  color: white;
  position: absolute;
  top: 0;
  padding: 12px 24px;
  z-index: 10;
}

.see-web {
  background: white;
  padding: 12px 24px;
  width: 140px;
  border-radius: 50px;
  box-shadow: rgba(0, 0, 0, 0.1) 4px 4px 4px;
}

.see-web-container {
  display: flex;
  justify-content: flex-end;
}

.web::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #333333 0%, rgba(51, 51, 51, 0) 64.04%);
  pointer-events: none;
}

@media (min-width: 768px) {
  .web {
    height: 410px;
  }
  .web-details {
    width: 90%;
    padding: 16px 32px;
  }
}

@media (min-width: 992px) {
  .web-details {
    width: 86%;
  }
  .web-samples {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 48px;
    column-gap: 16px;
  }
}
