@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=PT+Serif:ital,wght@0,400;0,700;1,400&display=swap');
;

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    cursor: none;
}

::selection {
    background-color: #B4A2CF80;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'PT Serif', serif;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    background-color: var(--background-color);
    overflow-x: hidden;
    --main-hue: 266;
    --light-main-color: hsl(var(--main-hue), 91%, 55%);
    --light-gray: #9ca7b6;
    --text-color-black: #2E2E2E;
    --Orange: #F89940;
    --h2-Navey-Blue: #2E2C6E;
    --Green-Main: #69C54D;
    --background-color: #EDF8EA;
    --main-purple: #6D469F;
    --input-bg: hsla(var(--main-hue), 50%, 50%, 6.5%);
    --input-bg-hover: hsla(var(--main-hue), 50%, 50%, 14%);
    /* Prevent horizontal scroll */
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

main {
    position: relative;
    width: 100%;
    min-height: 715px;
    height: 100vh;
    overflow: hidden;
    padding: 1.3rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.logo {
    height: 50px;
    grid-column-start: 1;
    width: 197.547px;
}

.fixed-top {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 9;
}

nav {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    justify-items: center;
    width: 100%;
    background-color: var(--background-color);
}

nav ul {
    display: flex;
}

.nav-link a {
    display: inline-block;
    padding: 1rem 1rem;
    color: var(--text-color-black);
    font-weight: 400;
    letter-spacing: 1px;
    transition: .3s;
}

.nav-link a i {
    transform: translateY(2px);
    margin-left: 0.2rem;
    font-size: 1.1rem;
}

.nav-link a:hover {
    color: var(--main-purple);
}

header {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    /* padding: 1.3rem 3rem; */
}

.image-wrap {
    position: absolute;
    width: 85%;
    max-width: 1000px;
    height: 0px;
    bottom: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(50%);
    background-image: url(/img/Saudi-girl-playing-hide-and-seek.webp);
    background-size: 150%;
    background-position: 50% 58%;
    background-repeat: no-repeat;
    pointer-events: none;
}

.big-name {
    position: relative;
    z-index: 1;
    color: var(--text-color-black);
    font-size: 3.2rem;
    font-weight: 500;
    text-align: center;
    font-family: 'PT Serif', serif;
    line-height: 1;
    width: fit-content;
    padding-top: 121px;
    /* text-shadow: 1px 1px 2px #00000077; */
    pointer-events: none;
}

.big-name span {
    pointer-events: auto;
}

.slogen {
    position: absolute;
    z-index: 2;
    color: var(--text-color-black);
    font-size: 1.3rem;
    font-weight: 400;
    text-align: center;
    font-family: 'Inter', sans-serif;
    line-height: 1.3;
    width: fit-content;
    bottom: 150px;
    /* height: 100px; */
}

.bottom-section {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 50px;
    position: absolute;
    bottom: 50px;
}

.bottom-section p {
    color: var(--text-color-black);
    font-weight: 300;
    display: flex;
    align-items: center;
}

.bottom-section p svg {
    color: var(--Green-Main);
    font-size: 1.2rem;
    margin-right: 1rem;
}

.social-media {
    display: flex;
}

.social-media a {
    margin-left: 0.8rem;
    font-size: 1.6rem;
    color: var(--Green-Main);
    transition: 0.3s;
    fill: var(--Green-Main);
}

.social-media a:hover {
    fill: var(--main-purple);
}

.social-media-icon {
    color: var(--Green-Main);
}

.social-media-icon:hover {
    color: var(--main-purple);
}

a#scroll-btn {
    position: absolute;
    height: 10em;
    width: 6.25em;
    border: 0.5em solid var(--main-purple);
    margin: auto;
    left: 0;
    right: 0;
    bottom: 6.25em;
    border-radius: 4em;
    background-color: transparent;
}

a#scroll-btn:before {
    position: absolute;
    content: "";
    margin: auto;
    left: 0;
    right: 0;
    top: 1.2em;
    height: 1.2em;
    width: 1.2em;
    background-color: var(--main-purple);
    border-radius: 50%;
    animation: move-down 2s infinite;
}

@keyframes move-down {
    80% {
        opacity: 0.5;
    }

    100% {
        transform: translateY(5.3em);
        opacity: 0;
    }
}

a#scroll-btn:after {
    position: absolute;
    content: "Scroll Down";
    display: block;
    width: 12em;
    bottom: -2.5em;
    font-size: 1.2em;
    color: var(--main-purple);
    font-weight: 300;
}

.scroll {
    position: absolute;
    color: var(--main-purple);
    font-weight: 300;
    left: 50%;
    transform: translateX(-50%);
    bottom: 100px;
    height: 50px;
}

.line {
    position: absolute;
    width: 3px;
    height: 100px;
    left: 50%;
    transform: translatey(-30%);
    bottom: 0;
    background-image: linear-gradient(to top, #6d469f, #8160AD80);
    animation: move-down 2s infinite;
}

/* Cursor style */
.cursor-circle {
    position: fixed;
    top: 0px;
    left: 0px;
    transform: translate(calc(-50%), calc(-50%));
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: transparent;
    border: 0.1px solid var(--main-purple);
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transition-duration: 0.2s, 0.3s, 0.3s, 0.3s, 0.08s;
    transition-property: opacity, width, height, background-color, transform;
}

.cursor-pointer {
    position: fixed;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    top: 0px;
    left: 0px;
    transform: translate(calc(-50%), calc(-50%));
    background-color: var(--main-purple);
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transition: 0.2 opacity;
}

.cursor-circle.biggerCursor {
    width: 70px;
    height: 70px;
    background-color: #6D469F80;
}

section {
    width: 100%;
    height: 100vh;
}

section .container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

section img {
    width: 100%;
}

section .container>* {
    margin: 2rem;
}

.container {
    max-width: 70rem;
    padding: 0 2rem;
    margin: 0 auto;
}

.content {
    transform: translateY(-50px);
}

.title {
    font-weight: 400;
    font-size: 2em;
    margin-bottom: 1rem;
    padding-bottom: .5rem;
    position: relative;
    font-family: 'PT Serif', serif;
    color: var(--h2-Navey-Blue);
}

.border {
    position: relative;
    width: 0%;
    height: 3px;
    background-color: var(--Orange);
    bottom: 0;
    left: 0;
}

.opacity {
    opacity: 0;
}

.imgContainer {
    transform: translateY(50px);
}

.text-center {
    width: 70%;
    text-align: center;
}

.about-us {
    width: 70%;
}

.contact {
    width: 100%;
    overflow: hidden;
    background-color: var(--background-color);
}

.contact .contact-us {
    height: 100vh;
    min-height: 700px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
}

.contact .contact-us>div {
    grid-column: 1/2;
    grid-row: 1/2;
}

.left {
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    position: relative;
    z-index: 3;
}

.contact-heading h2 {
    font-weight: 400;
    color: var(--text-color-black);
    font-size: 2.5em;
    line-height: 0.9;
    white-space: nowrap;
    margin-bottom: 1.2rem;
}

.contact-heading h2 span {
    color: var(--Green-Main);
}

.contact-text {
    color: var(--text-color-black);
    line-height: 1.1rem;
    font-size: 1rem;
}

.contact-text span {
    color: var(--h2-Navey-Blue);
}

.form-wrapper {
    max-width: 32rem;
}

.contact-form {
    display: grid;
    margin-top: 2.55rem;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2rem;
    row-gap: 1rem;
}

.input-wrap {
    position: relative;
}

.input-wrap.w-100 {
    grid-column: span 2;
}

.contact-input {
    width: 100%;
    background-color: var(--input-bg);
    padding: 1.5rem 0.55rem calc(0.75rem - 2px) 0.55rem;
    /* 1.5rem 1.35rem calc(0.75rem - 2px) 1.35rem; */
    border: none;
    outline: none;
    font-family: inherit;
    border-radius: 20px;
    color: var(--text-color-black);
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    box-shadow: 0 0 0 0px hsla(var(--main-hue), 92%, 54%, 0.169);
    transition: 0.3s;
}

.contact-input:hover {
    background-color: var(--input-bg-hover);
}

.input-wrap label {
    position: absolute;
    top: 50%;
    left: calc(0.55rem + 2px);
    transform: translateY(-50%);
    color: var(--light-gray);
    pointer-events: none;
    transition: 0.25s;
}

.input-wrap .icon {
    position: absolute;
    right: calc(0.55rem + 2px);
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    fill: var(--light-gray);
    font-size: 1.25rem;
    transition: 0.3s;
}

textarea.contact-input {
    resize: none;
    width: 100%;
    min-height: 150px;
}

textarea.contact-input~label {
    top: 1.25rem;
    transform: none;

}

textarea.contact-input~.icon {
    top: 1.3rem;
    transform: none;
}

.input-wrap.focus .contact-input {
    background-color: var(--background-color);
    border: 2px solid var(--light-main-color);
    box-shadow: 0 0 0 5px hsl(var(--main-hue), 39%, 45%, 0.11);
}

.input-wrap.focus label {
    fill: var(--light-main-color);
}

.input-wrap.focus .icon {
    fill: var(--light-main-color);
}

.input-wrap.not-empty label {
    font-size: .66rem;
    top: 0.75rem;
    transform: translateY(0);
}

.contact-buttons {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 1rem;
    width: 100%;
    grid-column: span 2;
}

.btn {
    display: inline-block;
    padding: 1.1rem 2rem;
    background-color: var(--main-purple);
    color: #ffffff;
    border-radius: 40px;
    border: none;
    font-family: inherit;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
}

.btn:hover {
    background-color: var(--Green-Main);
}

.right {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    overflow: hidden;
    pointer-events: none;
}

.image-wrapper {
    position: relative;
    grid-column: 2;
}

.image-wrapper .img {
    position: absolute;
    height: 100%;
    left: 30%;
    width: auto;
    top: 50%;
    transform: translate(-50%, -50%);
}

.wave-wrap {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 100%;
    background-color: var(--background-color);
}

.wave-wrap svg {
    position: absolute;
    height: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    left: calc(100% - 2px);
}

#wave {
    fill: var(--background-color);
    /* height: 100vh; */
}

.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background-color: var(--background-color);
    color: var(--main-purple);
    border-radius: 5px;
    z-index: 1000;
    max-width: 300px;
    text-align: center;
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    color: var(--main-purple);
}

/********************@ Media************************/
@media (max-width: 1000px) {
    .logo {
        margin-right: 1rem;
        height: 35px;
        width: 138.281px;
    }

    .contact-heading h2 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
        white-space: normal;
    }
}

@media (max-width: 850px) {
    section .container {
        grid-template-columns: 1fr;
    }

    .big-name {
        font-size: 3rem;
        padding-top: 0;
    }

    .image-wrap {
        bottom: 60%;
    }

    .about-us {
        width: 100%;
    }

    .about-us {
        width: 100%;
    }

    .left {
        padding: 50px 1.5rem 0;
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .form-wrapper {
        width: 100%;
        padding: 1rem 0;
    }

    .right {
        display: none;
    }
}

@media (max-width: 650px) {
    .big-name {
        font-size: 3rem;
        padding-top: 0;
    }

    .text {
        font-size: 0.8rem;
    }

    section {
        height: 100%;
    }

    section .container {
        padding-top: 50px;
    }

    .imgContainer {
        height: 250px;
        overflow: hidden;
    }

    section .container>* {
        margin: 0;
        width: 100%;
    }

    .big-name {
        font-size: 2rem;
        padding-top: 0;
    }

    .slogen {
        font-size: 1.2rem;
        bottom: 180px;
    }

    .about-us {
        width: 100%;
    }

    .left {
        padding: 50px 1.5rem 0;
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .form-wrapper {
        width: 100%;
        padding: 1rem 0;
    }

    header ul {
        justify-content: space-between;
    }

    nav {
        width: 100%;
    }

    .right {
        display: none;
    }
}

@media (max-width: 440px) {

    main {
        padding: 0;
    }

    .big-name {
        font-size: 1.4rem;
        padding-top: 0;
    }

    .slogen {
        font-size: 0.9rem;
        bottom: 250px;
    }

    .input-wrap {
        grid-column: span 2;
    }

    .contact-buttons {
        grid-template-columns: 1fr;
    }

    .image-wrap {
        width: 100%;
    }

    .container {
        max-width: 100%;
    }

    section .container>* {
        width: 100%;
    }

    section#about {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .left {
        padding: 0;
    }

    .form-wrapper {
        width: 87%;
    }

    .contact-input {
        padding: 1.5rem 0 calc(0.75rem - 2px) 0px;
    }
}