@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Source+Sans+Pro:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700;1,900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap");
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css");

:root {
  --def-background: #ffff;
  --splitter-color: #0f0524;
  --brand-color: #ea3c12;
}

* {
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height, 0) * 1.25);
}

body {
  background: var(--def-background);
  font-family: "Source Sans Pro", sans-serif;
}

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

/* Navigation Bar */
header {
  display: grid;
  position: fixed;

  inset: 0 0 auto;
  padding: 1rem 1.5rem;
  z-index: 999;

  justify-content: space-between;
  align-items: center;

  grid-template-columns: auto 1fr auto;

  background-color: transparent;
  color: white;

  transition: 0.25s;
}

header .logo {
  height: 36px;
}

header nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

header nav a {
  --opacity-delay: 0.25s;
  padding: 0.5em;
  font-weight: 500;

  transition: scale 0.25s, opacity 0.15s var(--opacity-delay);
}

header nav a.btn {
  padding: 0.5em 1em;
  border-radius: 2ch;
  background-color: var(--brand-color);
  font-weight: 600;
}

header nav a:hover {
  scale: 1.15;
}

header button#hamburger {
  display: grid;
  grid-column: 3;
  place-items: center;
  padding: 0.5em 0.75em;
  font-size: 1.6rem;

  border: none;
  background-color: transparent;
  color: inherit;
  cursor: pointer;

  transition: 0.25s;
}

header button#hamburger:hover {
  scale: 1.1;
}

header button#hamburger i {
  grid-area: 1 / 1;
  transition: inherit;
}

header.open button#hamburger i {
  rotate: 360deg;
}

header.open .fa-bars,
header:not(.open) .fa-xmark {
  opacity: 0;
}

header.open {
  background-color: var(--splitter-color);
  border-end-end-radius: 5ch;
  border-end-start-radius: 5ch;
}

header.open nav a {
  color: white;
}

@media only screen and (min-width: 60rem) {
  header {
    position: fixed;
    grid-template-columns: repeat(2, auto);
  }

  header button#hamburger {
    display: none;
  }

  header.open {
    background-color: transparent;
  }
}

@media only screen and (max-width: 60rem) {
  header nav {
    grid-area: 2 / 1 / span 1 / span 3;
    flex-flow: column;

    height: 0;
    overflow: hidden;

    transition: 0.3s;
    transform-origin: top;
  }

  header.open nav {
    height: 12rem;
  }

  header.open {
    background-color: var(--splitter-color);
  }

  header:not(.open) nav a {
    --opacity-delay: 0;
    opacity: 0;
  }
}

.home {
  display: flex;
  height: 750px;

  align-items: center;
  justify-content: center;

  background-image: url(./images/assets/wave.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.home .text-and-btns {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  width: 40%;
  margin-right: 50px;
  gap: 15px;
}

.home .text-and-btns .text {
  color: white;
  text-align: left;
  margin-bottom: 20px;
}

.home .text-and-btns .text h1 {
  font-size: 65px;
  margin-bottom: 20px;
}

.home .text-and-btns .text p {
  font-size: 18px;
  font-weight: 300;
}

.home .btns {
  display: flex;
  gap: 20px;
  margin-top: 0px;
}

.home .btns .btn1 {
  padding: 10px 30px;
  border-radius: 2ch;

  background-color: var(--brand-color);
  color: white;

  font-size: 22px;
  font-weight: 600;
  text-align: center;

  transition: 0.25s;
  white-space: nowrap;
}

.home .btns .btn2 {
  padding: 10px 30px;
  border-radius: 2ch;
  border-style: solid;
  border-width: 2px;

  background-color: transparent;
  color: white;
  border-color: white;

  font-size: 22px;
  font-weight: 500;
  text-align: center;

  transition: 0.25s;
  white-space: nowrap;
}

.home .btns a:hover {
  scale: 1.15;
}

.home .images {
  display: flex;

  align-items: center;
  justify-content: center;

  width: 35%;
  margin-left: 50px;
}

.home .images img {
  width: 100%;
}

@media only screen and (max-width: 60rem) {
  .home {
    flex-direction: column;
    height: 1200px;
    background-size: cover;
  }

  .home .text-and-btns {
    width: 50%;
    align-items: center;
    margin-right: 0;
    margin-bottom: 50px;
  }

  .btns {
    flex-direction: column;
  }

  .home .btns .btn1,
  .home .btns .btn2 {
    padding: 15px 100px;
  }

  .home .images {
    width: 70%;
    margin-right: 90px;
    margin-bottom: 100px;
  }
}

.about {
  display: flex;
  flex-direction: row;

  align-content: center;
  justify-content: center;

  height: 650px;
}

.stats {
  display: flex;
  flex-direction: column;

  gap: 15px;

  justify-content: center;
  align-items: center;
  width: 50%;
}

.stats #text h1 {
  color: var(--brand-color);
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 29px;
}

.stats .stat-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 20px;
  width: 75%;
}

.stats .stat-items .box {
  padding: 10px 12px;
  border-radius: 10px;
  background-color: #0f0524;
  box-shadow: 0px 10px 20px rgba(15, 5, 36, 0.25);
}

.stats .stat-items .box #title {
  color: white;
  font-weight: 700;
  font-size: 17px;
  text-align: left;
}

.stats .stat-items .box #num {
  font-weight: 800;
  font-size: 45px;
  color: #ec3b13;
  text-align: left;
}

.about-text {
  display: flex;
  flex-direction: column;

  gap: 15px;

  justify-content: center;
  width: 35%;
}

.about-text h1 {
  font-weight: 800;
  font-size: 35px;
  color: var(--brand-color);
}

.about-text p {
  font-size: 17px;
  font-weight: 300;
}

.about-text .btn1 {
  padding: 10px 20px;
  border-radius: 2ch;
  width: 35%;

  background-color: var(--brand-color);
  color: white;

  font-size: 22px;
  font-weight: 600;
  text-align: center;

  transition: 0.25s;
  white-space: nowrap;
}

.about-text .btn1:hover {
  scale: 1.15;
}

@media only screen and (max-width: 60rem) {
  .about {
    flex-direction: column;
    gap: 35px;
    height: 800px;
  }

  .stats {
    width: 100%;
  }

  .stats .stat-items #box {
    padding: 10px 20px;
  }

  .about-text {
    width: 75%;

    margin-right: auto;
    margin-left: auto;
  }
}

.services {
  display: flex;
  flex-direction: row;

  justify-content: center;
  align-items: center;

  height: 800px;

  background-image: url(./images/assets/wave-2.png);
  background-size: 100% 800px;
  background-repeat: no-repeat;
}

.services .text {
  display: flex;
  flex-direction: column;
  justify-content: center;

  margin-left: 50px;
  text-align: left;

  width: 50%;
}

.services .text h1 {
  color: var(--brand-color);
  font-size: 65px;
  margin-bottom: 20px;
}

.services .text .btn1 {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 2ch;

  width: 30%;
  margin-top: 20px;

  background-color: var(--brand-color);
  color: white;

  font-size: 22px;
  font-weight: 600;
  text-align: center;

  transition: 0.25s;
  white-space: nowrap;
}

.services .text .btn1:hover {
  scale: 1.15;
}

.services .text p {
  font-size: 18px;
  font-weight: 300;
  color: white;
}

.services .images {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50%;
}

.services .images img {
  width: 65%;
}

@media only screen and (max-width: 60rem) {
  .services {
    flex-direction: column;
    height: 950px;
    background-size: cover;
  }

  .services .text {
    margin-left: 0;
    width: 85%;
  }

  .services .images {
    margin-top: 60px;
    width: 60%;
  }
}

.bookacall {
  display: grid;
  place-content: center;

  grid-template-columns: auto 1fr;

  padding-block: 2rem;
}

.bookacall .text {
    align-self: center;
    margin-left: 70px;
    width: 65%;
}

.bookacall .calendly-inline-widget {
  overflow: hidden;

  border: 7px solid #f0f0f0;

  grid-column: 1;
  grid-row: 1 / span 2;
  
  min-width: 450px;
  min-height: 680px;

  margin-left: 50px;
}

.bookacall .text h1 {
  font-size: 40px;
  color: var(--brand-color);
  font-weight: 700;
}

.bookacall .text p {
  font-weight: 300;
  font-size: 17px;
  margin-top: 7px;
}

.bookacall ul h2 {
  font-size: 30px;
  color: var(--brand-color);
  font-weight: 700;
  margin-top: 20px;
}

.bookacall ul {
  overflow: hidden;
  align-self: start;
  grid-row: span 3;

  margin-left: 70px;
  width: 80%;
}

.bookacall ul li {
  display: flex;
  align-items: center;
  padding-top: 10px;
  font-size: 17px;
  gap: 7px;
  font-weight: 300;
}

.bookacall ul li i {
  font-size: 28px;
  color: var(--brand-color);
  font-weight: 500;
}

@media only screen and (max-width: 60rem) {
    .bookacall {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .bookacall .text {
        width: 80%;
        margin-left: 0;
    }

    .bookacall .calendly-inline-widget {
        overflow: hidden;

        grid-column: 0;
        grid-row: 0;
        
        min-width: 0;
        min-height: 0;

        width: 75%;
        height: 750px;

        margin-top: 25px;
        margin-left: 0;
    }

    .bookacall ul {
        align-self: center;
        margin-left: 0;
        width: 80%;
    }

}

.footer {
    display: flex;
    justify-content: center;
    align-items: center;

    flex-direction: column;
    height: 650px;

    background-image: url(./images/assets/wave-3.png);
    background-size: cover;
}

.footer h1 {
    margin-top: 100px;
    color: var(--brand-color);
    font-size: 50px;
}

.footer #message {
    color: white;
    font-size: 25px;
}

.footer #message span {
    color: var(--brand-color);
    font-weight: 700;
}

.footer img {
    margin-top: 50px;
    width: 10%;
}

.footer #foot-note {
    color: white;
    font-weight: bold;
    margin-top: 15px;
}

.footer p {
    color: white;
    margin-top: 10px;
}

.footer .pages {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}

.footer .pages a {
    color: white;
}

.footer .pages span {
    display: inline-block;
    width: 1px;
    height: 23px;
    background-color: white;
    margin: 0 10px;
}

@media only screen and (max-width: 60rem) {
    .footer h1 {
        font-size: 35px;
    }

    .footer #message{
        font-size: 18px;
    }

    .footer img {
        width: 15%;
    }
}