@import url("https://fonts.googleapis.com/css2?family=Inconsolata:wght@500&display=swap");

:root {
    --fontSizes-3xs: 0.45rem;
    --fontSizes-2xs: 0.625rem;
    --fontSizes-xs: clamp(12px, calc(11.76px + 0.06vw), 13px);
    --fontSizes-sm: clamp(16px, calc(15.76px + 0.06vw), 17px);
    --fontSizes-md: clamp(18px, calc(17.03px + 0.26vw), 22px);
    --fontSizes-lg: clamp(22px, calc(20.06px + 0.52vw), 30px);
    --fontSizes-xl: clamp(26px, calc(24.06px + 0.52vw), 34px);
    --fontSizes-2xl: clamp(34px, calc(29.63px + 1.17vw), 52px);
    --fontSizes-3xl: clamp(40px, calc(31.26px + 2.33vw), 76px);
    --fontSizes-4xl: 2.25rem;
    --fontSizes-5xl: 3rem;
    --fontSizes-6xl: 3.75rem;
    --site-padding: 15px;
    --site-width: 1140px;
    --section-padding: 30px;
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --header-background: black;
    --footer-background: black;
    --radius: 35vmin;
    --frame-size: calc(var(--radius) / 3);
    --d-outer: calc(var(--radius) * 2);
    --d-inner: calc(var(--d-outer) - var(--frame-size));
    font-size: 14px;
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Inconsolata, sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Roboto', sans-serif;
    letter-spacing: 0.75px;
    background: black;
    color: white;
    line-height: 1;
}

main {
    flex: 1;
}

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

img {
    max-width: 100%;
    height: auto;
    line-height: 0;
    object-fit: cover;
}

[hidden] {
    display: none !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 10px;
}

.page-width {
    padding-inline: var(--site-padding);
}

.container {
    max-width: var(--site-width);
    margin: auto;
}

.small-container {
    max-width: calc(var(--site-width) / 2)
}

p:not(:last-of-type) {
    margin-bottom: 15px;
}

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

.no-margin {
    margin: 0;
}

header {
    padding-block: 15px;
    background: var(--header-background);
    color: white;
    z-index: 999;
}

header.sticky-header {
    position: sticky;
    top: 0;
    box-shadow: 0 -6px 10px 5px rgba(0, 0, 0, 0.5);
}

header.transparent-header {
    background: transparent;
}

header+main section:first-child {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-image: url(/assets/hero-background-2.jpg);
}

header.transparent-header+main section:first-child {
    padding-top: calc(var(--header-height) + var(--section-padding));
    margin-top: calc(-1 * var(--header-height) - 1px);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header+main section:first-child,
#what-we-offer,
#faqs {
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

#what-we-offer {
    background-image: url(/assets/hero-background-1.jpg);
}

#faqs {
    background-image: url(/assets/hero-background.jpg);
}

.hamburger {
    position: relative;
    height: 24px;
    width: 24px;
}

.hamburger .navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    background: var(--header-background);
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 999;
}

.navigation-desktop {
    display: flex;
    gap: 7.5px;
}

.navigation-desktop a {
    color: white;
}

.navigation-desktop a:not(:last-of-type):after {
    content: "|";
    margin-left: 10px;
}

.navigation-mobile nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.navigation-mobile nav a {
    color: white;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    height: 2px;
    width: 100%;
    background-color: white;
    transition: 0.3s ease;
    left: 0;
    z-index: 1000;
}

.hamburger::before {
    top: 25%;
}

.hamburger::after {
    top: 75%;
}

.hamburger.open::before,
.hamburger.open::after {
    top: 50%;
}

.hamburger.open::before {
    transform: rotate(45deg);
}

.hamburger.open::after {
    transform: rotate(-45deg);
}

.hamburger .navigation {
    pointer-events: none;
    transition: 0.3s;
    transform: translateY(-100%);
}

.hamburger.open .navigation {
    pointer-events: all;
    transform: translateY(0);
}

#lead-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.form-item {
    width: 100%;
    margin-bottom: 15px;
}

.form-item.half {
    width: calc(50% - 10px);
}

.form-item-inner-half {
    display: flex;
    align-items: center;
    gap: 5px;
}

.form-item label {
    display: block;
    margin-bottom: 5px;
}

#lead-form input,
#lead-form select {
    width: 100%;
    border-width: 1px;
    outline: 0;
    border-color: white;
    padding: 10px 7px;
}

.rotating-text {
    position: relative;
    width: var(--d-outer);
    height: var(--d-outer);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.rotating-text .text {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: rotateText 10s linear infinite;
}

.rotating-text .circle-logo {
    position: absolute;
    width: calc(var(--d-inner) / 1.75);
    height: calc(var(--d-inner) / 1.75);
    background: url(/assets/logo/LG-Logo-White.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.rotating-text .text p span {
    position: absolute;
    left: 50%;
    font-size: 1.2em;
    transform-origin: 0 var(--radius);
}


.logo {
    display: flex;
    align-items: center;
    max-width: 174px;
}

section>div {
    padding-block: var(--section-padding);
}

.backdrop {
    background: #000000bf;
}

footer {
    padding-block: 30px;
    background: var(--footer-background);
    color: white;
}

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

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.hero h1 {
    margin: 0;
}

.social-media {
    display: flex;
    gap: 10px;
}

.social-media img {
    width: 30px;
}

.section-title-wrapper {
    max-width: 540px;
    margin: auto;
    text-align: center;
    margin-bottom: 25px;
}

.section-title {
    margin-bottom: 15px;
    font-weight: bold;
    font-size: var(--fontSizes-5xl);
}

.fs-3xs {
    font-size: var(--fontSizes-3xs);
}

.fs-2xs {
    font-size: var(--fontSizes-2xs);
}

.fs-xs {
    font-size: var(--fontSizes-xs);
}

.fs-sm {
    font-size: var(--fontSizes-sm);
}

.fs-md {
    font-size: var(--fontSizes-md);
}

.fs-lg {
    font-size: var(--fontSizes-lg);
}

.fs-xl {
    font-size: var(--fontSizes-xl);
}

.fs-2xl {
    font-size: var(--fontSizes-2xl);
}

.fs-3xl {
    font-size: var(--fontSizes-3xl);
}

.fs-4xl {
    font-size: var(--fontSizes-4xl);
}

.fs-5xl {
    font-size: var(--fontSizes-5xl);
}

.fs-6xl {
    font-size: var(--fontSizes-6xl);
}

.bold {
    font-weight: bold;
}

.button {
    display: flex;
    grid-column-gap: 0.625rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 0.5rem;
    align-items: center;
    padding: 1rem 1.25rem;
    width: fit-content;
    cursor: pointer;
    transition: 0.3s ease;
}

.white-border {
    border: 1px solid white;
}

.button * {
    transition: 0.3s ease;
}

.button-circle {
    width: 1.8rem;
    height: 1.8rem;
    border: 1px solid white;
    border-radius: 100%;
    flex: none;
    justify-content: center;
    align-items: center;
    display: flex;
    overflow: hidden;
}

.button-arrow {
    justify-content: center;
    align-items: center;
    display: flex;
    color: rgb(255, 255, 255);
    transform: translate3d(0px, 0px, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg);
    transform-style: preserve-3d;
}

.button:hover {
    background: rgb(49, 49, 49);
}

.button:hover .button-circle {
    background: white;
}

.button:hover .button-arrow {
    transform: translate3d(0px, 0px, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(45deg) skew(0deg, 0deg);
}

.button:hover .button-circle svg path {
    fill: var(--primary-color);
}

.reasons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.squares-icon {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 150px;
    margin: auto;
    aspect-ratio: 1;
    margin-bottom: 10px;
}

.squares-icon svg {
    z-index: 1;
}

.square {
    position: absolute;
    width: 80%;
    aspect-ratio: 1;
    border: 5px solid gray;
}

.square.one {
    top: 0;
    left: 0;
}

.square.two {
    bottom: 0;
    right: 0;
}

.tab-wrapper {
    border-bottom: 1px solid rgb(244 244 244 / 50%);
}

.tab-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-block: 20px;
    margin-right: 20px;
    cursor: pointer;
}

.tab-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}

.tab-content-inner {
    padding-bottom: 20px;
}

.arrow-svg {
    transition: 0.3s ease-in-out;
}

.open-tab .arrow-svg {
    transform: rotate(180deg);
}

.text-me {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    right: 20px;
    bottom: 20px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: none;
    background-color: black;
    z-index: 3;
    transition: 0.3s ease-in-out;
}

.text-me:hover {
    box-shadow: rgba(0, 0, 0, 0.38) 0px 4px 12px;
    filter: brightness(125%);
}

.footer-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(25px, 7.5vw, 35px);
}

@keyframes rotateText {
    0% {
        transform: rotate(360deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

@media (max-width: 768px) {

    header+main section:first-child,
    #what-we-offer,
    #faqs {
        background-attachment: inherit;
    }

    .mobile-hidden {
        display: none;
    }

    .reasons {
        grid-template-columns: 1fr;
    }

    .footer-wrapper {
        display: block;
    }

    .footer-wrapper div:not(:last-child) {
        margin-bottom: 25px;
    }
}

@media (min-width: 769px) {
    .desktop-hidden {
        display: none;
    }
}