@import url("https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&family=Unbounded:wght@200..900&display=swap");

:root {
  --font-heading: "Unbounded", sans-serif;
  --font-text: "Figtree", sans-serif;
}

/* =========================================
           RESET
        ========================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-text);
}
body {
  background: #000000;
}

html {
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  line-height: 1.2 !important;
}

.hero-section h1,
.hero-section h2 {
  font-family: var(--font-text);
}

button,
input,
textarea,
select,
a {
  font-family: var(--font-text);
}

p {
  font-size: 16px !important;
}

/* =========================================
           HEADER / NAVBAR
        ========================================= */

.navbar {
  position: fixed;

  top: 0;
  left: 0;

  width: 100%;
  height: 80px;

  display: grid;

  /*
                LEFT  = Logo
                CENTER = Navigation
                RIGHT = Button
            */
  grid-template-columns: 1fr auto 1fr;

  align-items: center;

  padding: 0 50px;

  background-color: rgba(80, 80, 80, 0.5);

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  z-index: 10000;

  overflow: visible;
}

/* =========================================
           LOGO
        ========================================= */

.logo {
  grid-column: 1;

  justify-self: start;

  display: flex;
  align-items: center;
}

.logo span {
  display: inline-flex;

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

  color: #e55733;

  font-size: 32px;
  font-weight: 600;
  font-style: italic;

  line-height: 1.2;

  padding: 0 8px;

  border: 2px solid #e55733;

  border-radius: 4px 12px 4px 12px;
}

/* =========================================
           NAVIGATION
        ========================================= */

.nav-links {
  grid-column: 2;

  height: 100%;

  display: flex;

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

  gap: 40px;
}

/* =========================================
           NAVIGATION ITEM
        ========================================= */

.nav-item {
  position: relative;

  height: 100%;

  display: flex;

  align-items: center;

  color: #ffffff;

  text-decoration: none;

  font-size: 16px;
  font-weight: 400;

  white-space: nowrap;

  transition: color 0.3s ease;

  cursor: pointer;
}

.nav-item:hover {
  color: #e55733;
}

/* =========================================
           SERVICE CONTAINER
        ========================================= */

.dropdown-container {
  position: relative;

  height: 100%;

  display: flex;

  align-items: center;
}

/* =========================================
           SERVICE LINK
        ========================================= */

.service-link {
  display: flex;

  align-items: center;

  gap: 6px;

  color: #ffffff;
}

/* =========================================
           SERVICE ARROW
        ========================================= */

.arrow {
  display: inline-block;

  font-size: 10px;

  transition: transform 0.3s ease;
}

/* =========================================
           DESKTOP FULL WIDTH DROPDOWN
        ========================================= */

.dropdown-menu {
  position: fixed; /* Breaks out of the grid to span screen */
  top: 80px; /* Sits exactly below the 80px navbar */
  left: 0; /* Starts at the very left edge of screen */
  width: 100vw; /* Spans 100% of viewport width */

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s ease;
  z-index: 9999;
  pointer-events: none;
}

/* =========================================
           OPEN DESKTOP DROPDOWN
        ========================================= */

.dropdown-container:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* =========================================
           SERVICE HOVER
        ========================================= */

.dropdown-container:hover .service-link {
  color: #e55733;
}

.dropdown-container:hover .link-text {
  border-bottom: 2px solid #e55733;

  padding-bottom: 4px;
}

.dropdown-container:hover .arrow {
  transform: rotate(180deg);
}

/* =========================================
           DROPDOWN FULL WIDTH BACKGROUND
        ========================================= */

.dropdown-pink-bg {
  width: 100%;

  background-color: #fdf5f3;

  padding: 35px 20px 50px;

  border-radius: 0;
}

/* =========================================
           DROPDOWN TITLE
        ========================================= */

.dropdown-title {
  width: 100%;
  max-width: 1200px;

  margin: 0 auto 25px;

  color: #d14d2a;

  font-size: 32px;
  font-weight: 700;
}

/* =========================================
           WHITE CONTENT BOX
        ========================================= */

.dropdown-white-box {
  width: 100%;
  max-width: 1200px;

  margin: 0 auto;

  padding: 40px 50px;

  background-color: #ffffff;

  border-radius: 4px;

  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

/* =========================================
           DROPDOWN GRID
        ========================================= */

.dropdown-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 40px 60px;
}

/* =========================================
           DROPDOWN ITEM
        ========================================= */

.dropdown-item {
  display: flex;

  align-items: center;

  color: #000000;

  text-decoration: none;

  font-size: 16px;
  font-weight: 500;

  transition: color 0.2s ease;
}

.dropdown-item:hover {
  color: #e55733;
}

/* =========================================
           ICON
        ========================================= */

.icon-placeholder {
  position: relative;

  width: 28px;
  height: 28px;

  margin-right: 18px;

  flex-shrink: 0;
}

/* =========================================
           SEO ICON
        ========================================= */

.icon-seo::before,
.icon-seo::after {
  content: "";

  position: absolute;

  left: 2px;

  width: 24px;
  height: 12px;

  border: 1.5px solid #333;

  transform: skewY(-20deg);
}

.icon-seo::before {
  top: 4px;

  border-bottom: none;
}

.icon-seo::after {
  top: 12px;

  background: #fff;

  border-top: none;
  border-bottom: none;
}

/* =========================================
           EMAIL ICON
        ========================================= */

.icon-email {
  width: 18px;
  height: 18px;

  margin-left: 5px;
  margin-right: 23px;

  border: 1.5px solid #333;

  transform: rotate(45deg);
}

.icon-email::after {
  content: "";

  position: absolute;

  top: 50%;
  left: -2px;

  width: 20px;
  height: 1.5px;

  background: #333;
}

/* =========================================
           SOCIAL ICON
        ========================================= */

.icon-social::before,
.icon-social::after {
  content: "";

  position: absolute;

  width: 0;
  height: 0;

  border-left: 12px solid transparent;
  border-right: 12px solid transparent;

  border-bottom: 20px solid #333;
}

.icon-social::before {
  top: 0;
  left: 0;
}

.icon-social::after {
  top: 8px;
  left: 0;

  border-bottom-color: #fff;

  transform: scale(0.7);
}

/* =========================================
           WEB ICON
        ========================================= */

.icon-web {
  width: 26px;
  height: 26px;

  border: 1.5px solid #333;

  border-radius: 50%;
}

.icon-web::after {
  content: "";

  position: absolute;

  top: 50%;
  left: -2px;

  width: 28px;
  height: 1.5px;

  background: #333;
}

/* =========================================
           CONTENT ICON
        ========================================= */

.icon-content {
  background:
    linear-gradient(
      45deg,
      transparent 46%,
      #333 46%,
      #333 54%,
      transparent 54%
    ),
    linear-gradient(
      -45deg,
      transparent 46%,
      #333 46%,
      #333 54%,
      transparent 54%
    );
}

/* =========================================
           CRO ICON
        ========================================= */

.icon-cro::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;

  width: 0;
  height: 0;

  border-left: 14px solid transparent;
  border-right: 14px solid transparent;

  border-bottom: 24px solid #333;
}

.icon-cro::after {
  content: "";

  position: absolute;

  top: 6px;
  left: 5px;

  width: 0;
  height: 0;

  border-left: 9px solid transparent;
  border-right: 9px solid transparent;

  border-bottom: 15px solid #fff;
}

/* =========================================
           CREATIVE ICON
        ========================================= */

.icon-creative {
  width: 26px;
  height: 26px;

  display: flex;

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

  border: 1.5px solid #333;

  border-radius: 50%;
}

.icon-creative::after {
  content: "";

  width: 14px;
  height: 14px;

  border: 1.5px solid #333;

  border-radius: 50%;

  border-left-color: transparent;

  transform: rotate(-45deg);
}

/* =========================================
           PPC ICON
        ========================================= */

.icon-ppc {
  width: 28px;
  height: 28px;

  background: #333;

  clip-path: polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  );
}

/* =========================================
           GET STARTED
        ========================================= */

.actions {
  grid-column: 3;

  display: flex;

  align-items: center;

  justify-content: flex-end;
}

.btn-get-started {
  min-width: 180px;

  display: inline-flex;

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

  padding: 14px 28px;

  background-color: #e55733;

  color: #ffffff;

  border-radius: 12px;

  font-size: 16px;
  font-weight: 500;

  text-decoration: none;

  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
}

.btn-get-started:hover {
  background-color: #c94a2b;

  transform: translateY(-2px);
}

/* =========================================
           HAMBURGER
        ========================================= */

.hamburger {
  display: none;

  width: 30px;
  height: 22px;

  flex-direction: column;

  justify-content: space-between;

  cursor: pointer;

  z-index: 10002;
}

.hamburger span {
  display: block;

  width: 100%;
  height: 3px;

  background-color: #e55733;

  border-radius: 2px;

  transition: all 0.3s ease;
}

.hamburger span:nth-child(2) {
  width: 70%;

  align-self: flex-end;
}

/* =========================================
           TABLET / MOBILE
        ========================================= */

@media screen and (max-width: 1024px) {
  /* -------------------------------------
               HEADER
            ------------------------------------- */

  .navbar {
    height: 70px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 20px;

    background-color: #000000;

    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  /* -------------------------------------
               LOGO
            ------------------------------------- */

  .logo {
    grid-column: unset;

    justify-self: unset;
  }

  /* -------------------------------------
               HAMBURGER
            ------------------------------------- */

  .hamburger {
    display: flex;
  }

  /* -------------------------------------
               MOBILE NAV
            ------------------------------------- */

  .nav-links {
    position: fixed;

    top: 70px;
    left: 0;

    width: 100%;

    height: auto;

    max-height: 0;

    display: flex;

    flex-direction: column;

    align-items: stretch;

    justify-content: flex-start;

    gap: 0;

    background-color: #ffffff;

    overflow: hidden;

    overflow-y: auto;

    transition: max-height 0.4s ease;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);

    z-index: 9998;

    grid-column: unset;
  }

  /* -------------------------------------
               MOBILE NAV OPEN
            ------------------------------------- */

  .nav-links.active {
    max-height: calc(100vh - 70px);
  }

  /* -------------------------------------
               MOBILE NAV ITEM
            ------------------------------------- */

  .nav-item {
    width: 100%;

    min-height: 60px;

    height: auto;

    padding: 18px 25px;

    display: flex;

    align-items: center;

    justify-content: flex-start;

    color: #333333;

    border-bottom: 1px solid #eeeeee;

    font-size: 16px;
  }

  .nav-item:hover {
    color: #e55733;
  }

  /* -------------------------------------
               MOBILE SERVICE
            ------------------------------------- */

  .dropdown-container {
    width: 100%;

    height: auto;

    display: block;
  }

  .service-link {
    width: 100%;

    min-height: 60px;

    height: 60px;

    padding: 18px 25px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    background-color: #e55733;

    color: #ffffff !important;

    border-bottom: none;
  }

  .service-link:hover {
    color: #ffffff !important;
  }

  /* -------------------------------------
               MOBILE ARROW
            ------------------------------------- */

  .dropdown-container.active .arrow {
    transform: rotate(180deg);
  }

  /* -------------------------------------
               MOBILE DROPDOWN
            ------------------------------------- */

  .dropdown-menu {
    position: static;

    top: auto;
    left: auto;

    width: 100%;

    max-height: 0;

    display: block;

    opacity: 1;

    visibility: visible;

    overflow: hidden;

    transform: none;

    transition: max-height 0.4s ease;

    box-shadow: none;

    pointer-events: none;
  }

  /* -------------------------------------
               MOBILE DROPDOWN OPEN
            ------------------------------------- */

  .dropdown-container.active .dropdown-menu {
    max-height: 700px;

    opacity: 1;

    visibility: visible;

    transform: none;

    pointer-events: auto;
  }

  /* -------------------------------------
               MOBILE DROPDOWN BACKGROUND
            ------------------------------------- */

  .dropdown-pink-bg {
    width: 100%;

    padding: 25px 20px 30px;

    background-color: #fdf5f3;
  }

  /* -------------------------------------
               MOBILE TITLE
            ------------------------------------- */

  .dropdown-title {
    max-width: none;

    margin: 0 0 20px;

    font-size: 25px;
  }

  /* -------------------------------------
               MOBILE WHITE BOX
            ------------------------------------- */

  .dropdown-white-box {
    width: 100%;

    max-width: none;

    margin: 0;

    padding: 25px 20px;
  }

  /* -------------------------------------
               MOBILE GRID
            ------------------------------------- */

  .dropdown-grid {
    grid-template-columns: 1fr;

    gap: 20px;
  }

  /* -------------------------------------
               MOBILE DROPDOWN ITEM
            ------------------------------------- */

  .dropdown-item {
    font-size: 15px;

    padding: 5px 0;
  }

  /* -------------------------------------
               HIDE BUTTON
            ------------------------------------- */

  .actions {
    display: none;
  }
}

/* =========================================
           SMALL MOBILE
        ========================================= */

@media screen and (max-width: 480px) {
  .navbar {
    height: 65px;

    padding: 0 15px;
  }

  .nav-links {
    top: 65px;
  }

  .nav-links.active {
    max-height: calc(100vh - 65px);
  }

  .logo span {
    font-size: 27px;

    padding: 0 7px;
  }

  .hamburger {
    width: 27px;

    height: 19px;
  }

  .dropdown-pink-bg {
    padding: 20px 15px 25px;
  }

  .dropdown-white-box {
    padding: 20px 15px;
  }

  .dropdown-title {
    font-size: 22px;
  }

  .dropdown-grid {
    gap: 16px;
  }

  .dropdown-item {
    font-size: 14px;
  }
}
