/* ===== FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Funnel+Display&display=swap');

:root {
    /* ===== COLORS =====*/
    --color-primary: rgb(0, 230, 104);
    --color-secondary: rgb(255, 255, 255);
    --color-tertiary: rgb(0, 32, 96);

    /* ===== Z-index scale ===== */
    --z-base: 0;
    --z-logo: 1;
    --z-slide-pages: 10;
    --z-popup: 20;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: var(--color-secondary);
    overflow-x: hidden;
    --sb-track-color: rgb(235, 235, 235);
    --sb-thumb-color: var(--color-primary);
    --sb-size: 14px;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1vh;
    color: var(--color-secondary);
    text-align: center;
    justify-content: center;
    pointer-events: none;
    z-index: var(--z-logo);
    position: relative;
    right: 60%;
    margin-top: 1%;
}

.title {
    display: flex;
    color: var(--color-primary);
    font-size: 7vw;
    font-family: 'Funnel Display', sans-serif;
    font-weight: 600;
}

.letter {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.6s ease forwards;
}

.letter:nth-child(1) {
    animation-delay: 0.00s;
}

.letter:nth-child(2) {
    animation-delay: 0.05s;
}

.letter:nth-child(3) {
    animation-delay: 0.12s;
}

.letter:nth-child(4) {
    animation-delay: 0.21s;
}

.letter:nth-child(5) {
    animation-delay: 0.32s;
}

.letter:nth-child(n+6):nth-child(-n+11) {
    animation-delay: 0.45s;
}

.tagline {
    color: var(--color-secondary);
    font-size: 1.1vw;
    letter-spacing: 3px;
    opacity: 0;
    animation: fadeUpTagline 1s linear(0, 0.115 2.2%, 0.877 9.4%, 1.016 11.9%, 1.081 14.7%, 1.088 16%, 1.084 17.5%, 1.013 25.3%, 0.993 30.8%, 1.001 46.8%, 1) forwards;
    animation-delay: 0.9s;
    transform: translateY(-30px);
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    padding: 5px;
    border-radius: 3px;
    background-color: var(--color-primary);
}

.split {
    height: 100%;
    width: 50%;
    position: fixed;
    top: 0;
    overflow-x: hidden;
    padding-top: 40px;
    z-index: var(--z-base);
    cursor: pointer;
}

.left {
    left: 0;
    background-image: url("/images/background2.jpg");
    background-color: rgb(230, 230, 230);
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-blend-mode: screen;
    height: 100vh;
    color: var(--color-tertiary);
    transition: all 0.7s ease;
    display: flex;
    justify-content: flex-end;
    border: none;
}

.right {
    right: 0;
    background-image: url("/images/background4.jpg");
    background-color: rgb(43, 53, 75);
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-blend-mode: overlay;
    transition: all 0.7s ease;
    display: flex;
    justify-content: flex-end;
    border: none;
    color: var(--color-secondary);
}

.centered {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    transition: all 0.7s ease;
    background-color: rgb(0, 230, 104, 0);
    animation: fadeIn 2.3s;
}

.centered-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 5vw;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
    transition: transform 0.7s ease;
}

.left:hover {
    background-size: auto 110%;
    background-color: rgb(199, 199, 199);
    box-shadow: -14px 2px 25px -8px rgba(0, 0, 0, 0.4) inset;
}

.right:hover {
    background-size: auto 110%;
    background-color: rgb(27, 37, 58);
    box-shadow: 14px 2px 25px -8px rgba(0, 0, 0, 0.6) inset;
}

.left:hover .centered-text {
    transform: translateX(5%);
}

.right:hover .centered-text {
    transform: translateX(-5%);
}


.arrow-container {
    position: relative;
    width: 3vw;
    height: 3vw;
    overflow: visible;
}

.arrow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(90deg);
    cursor: pointer;
    opacity: 0;
    transition: opacity 2s;
}



.arrow span {
    display: block;
    width: 30px;
    height: 30px;
    border-bottom: 10px solid var(--color-tertiary);
    border-right: 10px solid var(--color-tertiary);
    transform: rotate(45deg);
    margin: -10px;
    transition: all 0.7s ease;
    animation: arrows-animation 2s infinite;
    animation-timing-function: linear;
    opacity: 0;
}

.arrow span:nth-child(2) {
    animation-delay: -0.3s;
}

.arrow span:nth-child(3) {
    animation-delay: -0.6s;
}

.left:hover .arrow,
.right:hover .arrow {
    opacity: 1;
}

.right .arrow {
    transform: translate(-50%, -50%) rotate(-90deg);
}

.right .arrow span {
    border-bottom: 10px solid var(--color-secondary);
    border-right: 10px solid var(--color-secondary);
}

.sol-page {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    background-color: var(--color-tertiary);
    transition: left 1s ease;
    z-index: var(--z-slide-pages);
}

.opd-page {
    position: fixed;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    background-color: var(--color-tertiary);
    transition: left 1s ease;
    z-index: var(--z-slide-pages);
}

.info-page {
    overflow-y: auto;
}

.sol-page.active,
.opd-page.active {
    left: 0;
}

.sol-container,
.opd-container {
    padding: 50px 10% 0% 10%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    transition: all 0.5s ease;
    font-family: 'Montserrat', sans-serif;
    text-align: right;
    color: var(--color-tertiary);
    background: repeating-linear-gradient(23deg,
            rgb(235, 235, 235) 0px,
            rgb(235, 235, 235) 5px,
            rgb(237, 237, 237) 6px,
            rgb(237, 237, 237) 11px,
            rgb(237, 237, 237) 12px),
        linear-gradient(to right,
            rgb(226, 226, 226) 0%,
            rgba(226, 226, 226, 1) 45%,
            rgba(226, 226, 226, 0.5) 75%),
        url("/images/background1.jpg");
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-size: cover, 100% 100%, cover;
    background-position: center center, left top, right top;
    background-attachment: fixed, scroll, fixed;
    background-blend-mode: overlay, normal, normal;
}

.opd-container {
    background: repeating-linear-gradient(23deg,
            rgb(235, 235, 235) 0px,
            rgb(235, 235, 235) 5px,
            rgb(237, 237, 237) 6px,
            rgb(237, 237, 237) 11px,
            rgb(237, 237, 237) 12px),
        linear-gradient(to right,
            rgba(32, 38, 51, 0.9) 0%,
            rgba(32, 38, 51, 1) 45%,
            rgba(32, 38, 51, 1) 75%),
        url("/images/background5.jpg");
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-size: cover, 100% 100%, cover;
    background-position: center center, left top, right top;
    background-attachment: fixed, scroll, fixed;
    background-blend-mode: overlay, normal, normal;
    color: var(--color-secondary);
    align-items: flex-end;
}

.opd-container .opd-title:after {
    right: 0;
    left: auto;
}

.info-container {
    padding: 100px 10%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 50px;
    justify-content: center;
    position: relative;
    transition: all 0.5s ease;
    font-family: 'Montserrat', sans-serif;
    text-align: right;
    color: var(--color-tertiary);
    background: repeating-linear-gradient(23deg,
            rgb(235, 235, 235) 0px,
            rgb(235, 235, 235) 5px,
            rgb(237, 237, 237) 6px,
            rgb(237, 237, 237) 11px,
            rgb(237, 237, 237) 12px),
        linear-gradient(to right,
            rgb(226, 226, 226) 0%,
            rgba(226, 226, 226, 1) 45%,
            rgba(226, 226, 226, 0.5) 75%),
        url("/images/background1.jpg");
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-size: cover, 100% 100%, cover;
    background-position: center center, left top, right top;
    background-attachment: fixed, scroll, fixed;
    background-blend-mode: overlay, normal, normal;
}

.info-page .info-container:nth-child(odd) {
    background-color: rgb(32, 38, 51);
    background-image:
        repeating-linear-gradient(23deg,
            rgba(235, 235, 235, 1) 0px,
            rgb(235, 235, 235, 1) 5px,
            rgb(237, 237, 237, 1) 6px,
            rgb(237, 237, 237, 1) 11px,
            rgb(237, 237, 237, 1) 12px),
        linear-gradient(to right,
            rgba(32, 38, 51, 0.95) 0%,
            rgba(32, 38, 51, 0.95) 45%,
            rgba(32, 38, 51, 1) 75%),
        url("/images/background3.jpg");
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-size: cover, 100% 100%, cover;
    background-position: center center, left top, right top;
    background-attachment: fixed, scroll, fixed;
    background-blend-mode: overlay, normal, normal;
    color: var(--color-secondary);
    align-items: flex-end;
}

.sol-title,
.opd-title,
.info-title {
    font-size: 2.5rem;
    text-transform: capitalize;
    margin-bottom: 2rem;
    color: var(--color-primary);
    text-transform: uppercase;
    text-align: left;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    margin-right: 0;
}

.opd-title {
    text-align: right;
}

.sol-title:after,
.opd-title:after,
.info-title:after {
    left: 0;
    right: auto;
    content: '';
    position: absolute;
    bottom: -10px;
    width: 60px;
    height: 3px;
    background-color: var(--color-primary);
    transition: width 0.3s ease-in-out;
}

.sol-title:hover::after,
.opd-title:hover::after,
.info-title:hover::after {
    width: 20%;
}

.sol-content,
.opd-content,
.info-content {
    text-align: left;
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    opacity: 0.9;
    margin-bottom: 2rem;
    transform: translateY(0);
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.sol-content:hover,
.opd-content:hover,
.info-content:hover {
    transform: translateY(-5px);
    opacity: 1;
}

.checkmark {
    display: inline-block;
    height: 20px;
    width: 10px;
    transform: rotate(45deg);
    margin: 0px 10px 0px 5px;
    border-bottom: 5px solid var(--color-primary);
    border-right: 5px solid var(--color-primary);
}

.linkedin-logo {
  width: 30px;
  height: 30px;
  background: url("https://www.pagetraffic.com/blog/wp-content/uploads/2022/09/linkedin-blue-logo-icon.png") no-repeat center / cover;
  position: absolute;
  overflow: hidden;
  transition: all 0.3s ease;
  z-index: var(--z-logo);
  right: 5vh;
  bottom: 5vh;
}

.linkedin-logo::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: white; /* default overlay color */
  opacity: 1;
  transition: background-color 0.3s ease, transform 0.3s ease;
  pointer-events: none;

  -webkit-mask-image: url("https://www.pagetraffic.com/blog/wp-content/uploads/2022/09/linkedin-blue-logo-icon.png");
  mask-image: url("https://www.pagetraffic.com/blog/wp-content/uploads/2022/09/linkedin-blue-logo-icon.png");
  mask-size: cover;
  mask-repeat: no-repeat;
  mask-position: center;
  z-index: var(--z-logo);
}

.linkedin-logo:hover {
  transform: scale(1.1);
}

.linkedin-logo:hover::after {
  background-color: var(--color-primary); /* change to your green color var */
}

.sol-cta,
.opd-cta {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-evenly;
}

.button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sol-signup-button,
.opd-signup-button,
.info-button {
    border: 3px solid var(--color-primary);
    background-color: var(--color-primary);
    border-radius: 25px;
    min-width: 300px;
    height: 40px;
    width: 20%;
    text-align: center;
    color: var(--color-secondary);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease !important;
    box-shadow: 1px 2px 2px 2px rgba(0, 0, 0, 0.0);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.info-button {
    background-color: rgb(0, 230, 104, 0);
    color: var(--color-primary);
    height: 40px;
    font-size: 1.05rem;
}

.sol-signup-button:after,
.opd-signup-button:after,
.info-button:after {
    content: '\2794';
    /* ➔ */
    position: absolute;
    right: 20px;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s ease;
    color: inherit;
    font-size: 1.5rem;
    margin-top: -3px;
}

.sol-signup-button-text,
.opd-signup-button-text {
    transition: all 0.3s ease;
}

.sol-signup-button:hover .sol-signup-button-text,
.opd-signup-button:hover .opd-signup-button-text,
.info-button:hover .sol-signup-button-text {
    transform: translateX(-10px);
}

.sol-signup-button:hover,
.opd-signup-button:hover,
.info-button:hover {
    border: 3px solid var(--color-primary);
    background-color: var(--color-primary);
    color: var(--color-secondary);
}

.sol-signup-button:hover::after,
.opd-signup-button:hover::after,
.info-button:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.opd-close-button,
.info-close-button {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 15px;
    width: 15px;
    cursor: pointer;
    padding: 20px;
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    border-radius: 4px;
    border: solid 3px rgb(177, 5, 5);
    color: rgb(177, 5, 5);
}

.opd-close-button {
    border: solid 3px rgb(255, 7, 7);
    color: rgb(255, 7, 7);
}

.sol-close-button:hover,
.opd-close-button:hover,
.info-close-button:hover {
    border-radius: 3px;
    transform: rotate(90deg);
    background-color: rgb(177, 5, 5);
    color: var(--color-secondary)
}

.opd-close-button:hover {
    background-color: rgb(255, 7, 7);
    color: var(--color-tertiary);
}

.sol-form,
.opd-form {
    font-family: 'Montserrat', sans-serif;
    width: 100%;
    padding-top: 16px;
    padding-bottom: 16px;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    color: var(--color-tertiary);
}

.big-textbox {
    height: 90px;
    max-height: 150px;
    vertical-align: top;
    text-align: left;
    padding: 5px;
    width: 100%;
    resize: vertical;
    box-sizing: border-box;
    color: var(--color-tertiary);
    border: 1px solid rgb(228, 228, 228);
}

.sol-form input[type="text"],
.sol-form input[type="email"],
.sol-form input[type="tel"],
.opd-form input[type="text"],
.opd-form input[type="email"],
.opd-form input[type="tel"] {
    padding: 5px;
    width: 100%;
    color: var(--color-tertiary);
    border: 1px solid rgb(228, 228, 228);
}

.sol-form input[type="submit"],
.opd-form input[type="submit"] {
    height: 35px;
    border: 3px solid var(--color-primary);
    background-color: var(--color-primary);
    border-radius: 25px;
    width: 100%;
    text-align: center;
    color: var(--color-secondary);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease !important;
    box-shadow: 1px 2px 2px 2px rgba(0, 0, 0, 0.0);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.sol-form input[type="submit"]:hover,
.opd-form input[type="submit"]:hover {
    border: 3px solid rgb(3, 211, 96);
    background-color: rgb(3, 211, 96);
}

.modal {
    display: none;
    position: fixed;
    z-index: var(--z-popup);
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: none;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(2px);
}

.modal-content {
    border-radius: 5px;
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 10px;
    width: 400px;
    height: auto;
    top: 0px;
    right: 0;
    transform: translateX(0%);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    animation: slideIn 1s ease;
}

@keyframes slideIn {
    0% {
        transform: translateX(300%);
    }

    100% {
        transform: translateX(0%);
    }
}

.close {
    display: flex;
    float: right;
    justify-content: center;
    align-items: center;
    height: 10px;
    width: 10px;
    cursor: pointer;
    padding: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    border-radius: 4px;
    border: solid 2px rgb(177, 5, 5);
    color: rgb(177, 5, 5);
}

.close:hover,
.close:focus {
    border-radius: 3px;
    transform: rotate(90deg);
    background-color: rgb(177, 5, 5);
    color: var(--color-secondary)
}

.modal-header {
    font-family: 'Montserrat', sans-serif;
    border-bottom: solid 2px var(--color-primary);
    text-transform: uppercase;
    font-weight: 100;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    font-size: 15px;
    height: 40px;
    padding: 10px;
    color: var(--color-primary);
}

.modal-body {
    padding: 2px 16px;
    color: var(--color-secondary);
}

.modal-footer {
    padding: 2px 16px;
    background-color: #5cb85c;
    color: white;
}

.info-back-arrow {
    margin: 50px;
    height: 80px;
    width: 80px;
    border-radius: 100%;
    position: absolute;
    padding: 5px;
    color: var(--color-primary);
    z-index: var(--z-logo);
    font-size: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transform: scale(1);
    transition: all 0.3s ease;
}

.sol-home-button-container,
.opd-home-button-container {
    margin: 40px;
    height: 80px;
    width: 80px;
    border-radius: 100%;
    border: 0px solid var(--color-primary);
    position: absolute;
    padding: 5px;
    /* padding-bottom: 10px; */
    color: var(--color-primary);
    z-index: inherit;
    font-size: 50px;
    display: flex;
    left: 87%;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.opd-home-button-container {
    right: 87%;
    left: 0%;
}

.sol-home-button,
.opd-home-button {
    margin-right: -7px;
    margin-left: -7px;
    height: 35px;
    width: 35px;
    background-color: var(--color-primary);
    border: 0px solid var(--color-primary);
    border-radius: 0%;
    clip-path: polygon(60% 0%, 85% 0%,
            35% 50%,
            85% 100%, 60% 100%,
            10% 50%);
    transition: all 0.3s ease;
}

.opd-home-button {
    transform: rotate(180deg);
}

.info-back-arrow:hover {
    color: var(--color-secondary);
    transform: translateX(-10px);
}

.sol-home-button-container:hover {
    color: var(--color-tertiary);
    border: 0px solid var(--color-tertiary);
    transform: translateX(-10px);
}

.opd-home-button-container:hover {
    transform: translateX(10px);
}

.opd-home-button-container:hover .opd-home-button {
    background-color: var(--color-secondary);
}

.sol-home-button-container:hover .sol-home-button {
    background-color: var(--color-tertiary);
}

/* ANIMATIONS */
@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    60% {
        opacity: 1;
        transform: translateY(-30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fadeUpTagline {
    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

@keyframes arrows-animation {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-20px, -20px);
    }

    30% {
        opacity: 1;
    }

    70% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: rotate(45deg) translate(20px, 20px);
    }
}

@media (max-width: 768px) {

    .arrow span {
        opacity: 1;
        animation: none;
    }

    .arrow {
        opacity: 1;
    }

    .arrow-container {
        margin: 20px;
    }

    .sol-title,
    .opd-title {
        font-size: 1.7rem;
    }

    .sol-content {
        font-size: 1rem;
    }

    .sol-cta,
    .opd-cta {
        flex-direction: column;
        gap: 25px;
    }

    .sol-container,
    .opd-container {
        padding: 20% 5% 5% 5%;
        height: auto;

    }

    .sol-container {
        background: repeating-linear-gradient(23deg,
                rgb(235, 235, 235) 0px,
                rgb(235, 235, 235) 5px,
                rgb(237, 237, 237) 6px,
                rgb(237, 237, 237) 11px,
                rgb(237, 237, 237) 12px),
            linear-gradient(to right,
                rgb(226, 226, 226, 0.6) 0%,
                rgba(226, 226, 226, 0.6) 45%,
                rgba(226, 226, 226, 0.6) 75%),
            url("/images/background1.jpg");
    }

    .opd-container {
        background: repeating-linear-gradient(23deg,
                rgb(235, 235, 235) 0px,
                rgb(235, 235, 235) 5px,
                rgb(237, 237, 237) 6px,
                rgb(237, 237, 237) 11px,
                rgb(237, 237, 237) 12px),
            linear-gradient(to right,
                rgba(32, 38, 51, 0.95) 0%,
                rgba(32, 38, 51, 0.95) 45%,
                rgba(32, 38, 51, 0.95) 75%),
            url("/images/background5.jpg");
    }


    .logo-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1vh;
        color: var(--color-secondary);
        text-align: center;
        pointer-events: none;
        z-index: var(--z-logo);
        position: fixed;
        width: 100%;
        padding: 5% 10% 10% 10%;
        top: 1%;
        left: 50%;
        transform: translateX(-50%);
    }

    .title {
        font-size: 15vw;
    }

    .tagline {
        font-size: 2.6vw;
    }

    .info-back-arrow {
        margin-top: 35px;
        margin-left: 35px;
    }

    .info-page .info-container:nth-child(1) {
        padding-top: 35%;
    }

    .sol-home-button-container {
        margin: 5px;
        left: 75%;
    }

    .opd-home-button-container {
        margin: 5px;
        right: 75%;
    }
}