@font-face {
  font-family: Karantina;
  src: url(../../fonts/Karantina.ttf) format("truetype");
}

:root {
  /*colors */
  --color-black: #000;
  --color-white: #f6f6f6;
  --color-green-light: #a0c720;
  --color-green-dark: #7a9325;
  --color-green-darker: #546619;

  /*font-sizes*/
  --font-xxs: 0.75rem;
  --font-xs: 1rem;
  --font-s: 1.25rem;
  --font-sm: 1.5rem;
  --font-sl: 1.75rem;
  --font-ms: 2rem;
  --font-m: 2.5rem;
  --font-ml: 3rem;
  --font-l: 4rem;
  --font-l2: 5rem;
  --font-xl: 6rem;
  --font-xxl: 8rem;
  --font-3xl: 10rem;

  overflow-x: hidden;
  font-size: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

body {
  line-height: 1.5;
  color: var(--color-white);
  font-family: "Noto Sans Hebrew", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background-color: var(--color-black);
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

.kar {
  font-family: "Karantina";
  letter-spacing: 0.2rem;
  font-weight: 500;
}
p {
  font-size: var(--font-xs);
  text-align: justify;
}
a:visited,
a:link {
  color: white;
  text-decoration: none;
}

#br-hero {
  width: 100%;
  height: 100svh;
  position: relative;
  display: grid;
  background: url(../../img/section-bg1.jpg) no-repeat center center;
  justify-items: center;
}
.bg-dec-1 {
  position: absolute;
  top: 0em;
  bottom: 0;
  left: 1em;
  z-index: 2;
  width: 12em;
}
.bg-dec-2 {
  position: absolute;
  top: 0em;
  bottom: 0;
  right: 1em;
  z-index: 2;
  width: 12em;
}
.hero-container {
  width: fit-content;
  max-width: 1024px;
  display: grid;
  justify-items: center;
  z-index: 3;
  align-content: center;

  h1 {
    font-size: var(--font-ml);
    line-height: 1.2;
    text-align: center;
    margin-top: 0.3em;
    color: var(--color-black);
    z-index: 3;
  }

  h2 {
    font-size: var(--font-m);
    margin: 0 0 0.3em 0;
    line-height: 1;
    text-align: center;
    color: var(--color-black);
    z-index: 3;
  }
  p {
    font-size: var(--font-xs);
    width: 60%;
    z-index: 3;
    color: var(--color-black);
    text-align: center;
  }
}

.hero-flex {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
}
.hero-img {
  max-width: 1024px;
  aspect-ratio: 22/9;
  object-fit: cover;
}

.skew-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}
.curved {
  position: absolute;
  background: linear-gradient(
    60deg,
    var(--color-green-darker) 0%,
    var(--color-green-dark) 25%,
    var(--color-green-light) 50%,
    var(--color-green-dark) 75%,
    var(--color-green-darker) 100%
  );
  height: 45vh;
}
.hero-skew-position {
  box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.5);
  top: -100px;
  right: 0;
  left: 0;
}

.hero-title-container {
  width: 100%;
  height: 100%;

  background-size: cover;
}
#breakthrough-main {
  width: 100%;
  display: grid;
  margin-top: 2em;
  justify-items: center;
  position: relative;
}
.breakthrough-container {
  max-width: 1024px;
  margin: 0 2em;
  display: grid;
  gap: 2em;
  z-index: 5;
  justify-items: center;

  h1 {
    font-size: var(--font-l);
    line-height: 1;
    color: var(--color-green-light);
  }
  h2 {
    font-size: var(--font-sl);
    justify-self: center;
    font-weight: 300;
    line-height: 1;
    text-decoration: underline;
    text-underline-offset: 0.2em;
  }
  p {
    width: 80%;
    line-height: 1.2;
  }
}
.br-title {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.title-center {
  display: grid;
  justify-items: center;
  text-align: center;
  line-height: 1;
}

.services-gallery-container {
  display: grid;
  gap: 1em;
  justify-items: center;
  z-index: 3;

  h3 {
    font-size: var(--font-m);
    color: var(--color-green-light);
  }
}

.services-gallery {
  max-width: 1024px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1em;
}

.gallery-card {
  display: flex;
  flex: 1;
  border-radius: 33px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(
    60deg,
    var(--color-green-darker) 0%,
    var(--color-green-dark) 25%,
    var(--color-green-light) 50%,
    var(--color-green-dark) 75%,
    var(--color-green-darker) 100%
  );
}
.gallery-title {
  line-height: 1;
  padding: 1em 0;
  color: var(--color-black);
  font-size: var(--font-s);
  position: relative;
}
.gallery-title::after {
  content: "";
  position: absolute;
  bottom: 0.5em;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--color-black);
  transition: width 0.5s ease, left 0.5s ease;
}

.gallery-title:hover::after {
  width: 100%;
  left: 0;
}
.gallery-desc {
  background-color: var(--color-black);
  flex-grow: 1;
  margin: 2px;
  padding: 1em;
  border-radius: 0 0 33px 33px;
  font-size: var(--font-xs);
  display: flex;
  flex-direction: column;
}

.pricing-container {
  margin-top: 2em;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 3;

  h2 {
    font-weight: 300;
    display: inline-block;
  }
  h3 {
    font-size: var(--font-ms);
  }
  p {
    text-align: center;
  }
}

.price-container {
  background-color: var(--color-black);
  border: 2px solid white;
  border-radius: 33px;
  text-decoration: none;

  padding: 1em 4em 2em 4em;
  transition: all 0.5s ease-in-out;
}

.price-container:hover {
  box-shadow: 0 0 15px 5px rgba(255, 255, 255, 0.7),
    0 0 35px 15px rgba(255, 255, 255, 0.2);
  scale: 1.2;
}

.package-tspan {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
}

#price-num {
  display: inline-block;
  font-size: var(--font-m);
  color: var(--color-green-light);
}
.calendar {
  display: inline-block;
  padding-top: 0.3em;
}
#price-yearly {
  font-size: var(--font-xxs);
}

#br-expand {
  z-index: 5;
  position: relative;
  margin: 4em 4em;
}

.spserator {
  position: relative;
  width: 100%;
  height: 550px;
  background: var(--color-green-dark);
  display: grid;
  align-items: center;
  justify-items: center;
}
.skewed {
  position: absolute;
  width: 100%;
  height: 350px;
  z-index: 2;
  transform: skewY(6deg);
  transform-origin: top right;
}
.up {
  box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.5);
  top: -200px;
  right: 0;
  left: 0;
}

.down {
  box-shadow: -10px -10px 15px rgba(0, 0, 0, 0.5);

  bottom: -350px;
  right: 0;
  left: 0;
}

.bg-black {
  background-color: var(--color-black);
}
.bg-dark-green {
  background-color: var(--color-green-dark);
}

.mazor-desc h2 {
  font-size: var(--font-m);
  line-height: 1.5;
  color: var(--color-green-light);
  text-decoration: underline;
  padding-bottom: 0.3em;
}
.mazor-group {
  position: relative;
  padding: 2em;
  flex: 1;
}
.br-heading {
  display: flex;
  flex-direction: row-reverse;
}

.mazor-desc {
  flex: 2;
  align-content: center;
}
.bold-sm-title {
  font-weight: 700;
  margin-bottom: 0.5em;
}
.centered-title {
  width: clamp(60vw, 40em, 90vw);
  margin: 0 auto;
  text-align: center;
  padding: 2em 0;
  font-size: 1.5rem;
  color: var(--color-green-light);
}
.package-includes {
  position: relative;
  text-align: center;
  h3 {
    font-size: var(--font-sl);
    text-decoration: underline;
  }
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, 250px);
  gap: 2rem;
  padding: 2rem;
  width: 100%;
  justify-content: center;
}

.card-item {
  aspect-ratio: 1/1;
  background-color: var(--color-green-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border-radius: 8px; /* Optional: for rounded corners */
}

.s-grid-icon {
  flex: 2;
  width: 60%; /* Adjust size as needed */
  height: auto;
  object-fit: contain;
}

.card-title {
  flex: 1;
  color: #000;
  text-align: center;
  font-size: 1.2rem;
  margin-top: 1rem;
}
.sendoff-main {
  display: flex;
  position: relative;
  flex-direction: column;
  width: 100%;
  height: 100%;
  align-items: center;
  line-height: 1;
  z-index: 5;
}

.sendoff-main h1 {
  font-size: var(--font-xxl);
  color: #a0c720;
  z-index: 5;
  line-height: 0.75;
  padding-top: 3rem;
}

.sendoff-main h3 {
  font-size: var(--font-ml);
  padding-bottom: 0.75em;
}
#send-off {
  background: center / contain no-repeat url("../../img/section-bg2.jpg");
}

.sendoff-img {
  max-width: 60%;
}

.contact-btn {
  text-shadow: 5px 5px 10px #000;
  border-radius: 15px;
  justify-self: center;
  align-self: center;
  border: 2px solid var(--color-green-light);
  position: relative;
  display: inline-block;
  text-decoration: none;
  background-color: black;
  z-index: 5;
  cursor: pointer;
  line-height: 1;
  padding: 1em 2em;
  cursor: pointer;
  overflow: hidden;
  z-index: 1;
  transition: scale 0.25s ease-in-out, color 0.5s ease-in-out,
    border-color 0.5s ease-in-out;
}

.contact-btn::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 100%;
  width: 300%;
  height: 300%;
  background-color: var(--color-green-light);
  transition: transform 0.75s ease-in-out;
  z-index: -1;
}

.contact-btn:before {
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
}

.contact-btn:hover {
  color: var(--color-white);
  border-color: var(--color-white);
  scale: 1.2;
}

.contact-btn:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

#send-off {
  min-height: 100svh;
}

footer {
  padding: 2em;
  border-top: #fff 1px solid;
}
.f-row {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  padding: 0 4em;
}

.f-logo {
  flex: 2;
  display: flex;
  flex-direction: column;

  justify-content: center;
  align-items: center;
}
.m-logo-img {
  max-width: 25svw;
}
.f-content-container {
  flex: 2;
  display: flex;
  flex-direction: column;
  text-decoration: underline;
  font-size: 0.75rem;
  justify-content: center;
}
.footer-t {
  font-size: 1rem;
}
.f-contact {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0.5em;
  justify-content: center;
}

@media (max-width: 768px) {
  :root {
    /*font-sizes*/
    --font-xxs: 0.5rem;
    --font-xs: 0.75rem;
    --font-s: 1rem;
    --font-xs1: 0.75rem;
    --font-sm: 1.25rem;
    --font-sl: 1.5rem;
    --font-ms: 1.5rem;
    --font-m: 2rem;
    --font-ml: 2.25rem;
    --font-l: 3rem;
    --font-xl: 4rem;
    --font-xxl: 6rem;
    --font-3xl: 8rem;

    font-size: 12px;
  }

  .hero-container {
    transform: translate(30%, 0);
    align-content: flex-start;

    p {
      max-width: 35%;
    }
  }

  .breakthrough-container {
    & h2 {
      text-align: center;
    }
  }
  .down {
    bottom: -250px;
  }
  .gallery-title {
    text-align: center;
    font-weight: 300;
  }
  .services-gallery {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .gallery-card {
    border-radius: 25px;
    max-width: 66%;
  }
  .services-gallery-container {
    & h3 {
      text-align: center;
    }
  }

  .centered-title {
    width: auto;
  }
  .f-row {
    flex-direction: column;
  }
  .f-content-container {
    justify-content: center;
    align-items: center;
  }
  .f-contact {
    justify-content: center;
    align-items: center;
  }
}
