* {
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
    font-family: 'Lexend', sans-serif;
    scroll-behavior: smooth;
    color: var(--text-color);
}

:root {
    --bg-color: #fefefe;
    --primary-color: #603fef;
    --primary-color-20: #ece7fd;
    --primary-color-80: #b39ff6;
    --secondary-color: ;
    --tertiary-color: #8a2be2;
    --text-color: #000000;

    --color-white: #ffffff;
    --color-gray-1: #8c8ca1;
    --color-gray-2: #e5e5eb;

    --desk-head-size: 6rem;
}

/* custom scrollbar CSS */
::-webkit-scrollbar {
    background: var(--color-gray-1);
    width: 8px;
}
::-webkit-scrollbar-thumb {
    background: var(--primary-color);
}

/* HTML tags default CSS */
body {
    overflow-x: hidden;
    position: relative;
}
a {
    text-decoration: none;
    color: initial;
}
section {
    padding: 30px;
}
button {
    outline: none;
    border: none;
    cursor: pointer;
}
h1 {
    font-size: 8rem;
}
h2 {
    font-size: 5rem;
}
h3 {
    font-size: 4rem;
}
h4 {
    font-size: 3rem;
}
h5 {
    font-size: 2.4rem;
}
input, textarea {
    background: transparent;
    outline: none;
    border: 1px solid var(--color-gray-1);
    border-radius: 10px;
    padding: 8px;
    resize: none;
}

.primary-btn {
    height: 40px;
    min-width: 150px;
    padding: 0 30px;
    border-radius: 10px;
    background-color: var(--primary-color);
    color: var(--color-white);
    font-size: 1.08rem;
    font-weight: 500;
    transition: all 200ms ease-in-out;
}
.primary-btn:hover {
    border: 3px solid var(--bg-color);
    outline: 3px solid var(--primary-color);
}
.primary-btn:active {
    scale: 0.97;
}

.section_header1 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}
.section_header2 {
    color: var(--primary-color);
    font-weight: 600;
}

.container {
    text-align: center;
    max-width: 1100px;
    margin: 100px auto 40px;
}

/* header CSS */
.header {
    height: 70px;
    /* border-bottom: 1px solid var(--color-gray-2); */
    background: #ffffff80;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 35px;
    position: sticky;
    top: 0;
    z-index: 9;
    backdrop-filter: blur(20px);
}

.header_logo {
    font-size: 1.5rem;
}

.header_nav {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 20px;
}
.header_nav a, .mobile_nav a {
    font-size: 1.1rem;
    transition: all 100ms ease-in-out;
    border-bottom: 2px solid transparent;
}
.header_nav a:hover, .mobile_nav a:hover {
    border-bottom: 2px solid var(--primary-color);
    color: var(--primary-color);
}
.header_nav a:last-child:hover {
    border: 0px;
}

div#mobile_nav {
    transform: translateY(-100vh);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    height: 100vh;
    z-index: 10;
    background: white;
    transition: all 300ms ease-in-out;
}

.mobile_nav_links {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 150px;
    font-size: 3em;
}

.mobile_nav .mobile_nav-toggle {
    position: absolute;
    top: 10px;
    right: 35px;
    font-size: 2.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

.mobile_nav_toggle {
    display: none;
}
.mobile_nav_toggle i, .mobile_nav-toggle i {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    cursor: pointer;
}
.mobile_nav a {
    font-size: 3rem;
}

/* hero section CSS */
section.hero_section {
    height: 95vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: url(./assets/bg-lines-trans.svg);
    background-repeat: no-repeat;
}

.hero_section h1 {
    text-align: center;
    background-image: url(./assets/video_editing_in_space.webp);
    background-repeat: repeat;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero_section h5 {
    font-weight: 500;
    text-align: center;
    background-color: var(--primary-color-80);
    padding: 20px 40px;
    border-radius: 100px;
    display: none;
}
.hero_section button {
    margin-top: 60px;
    min-height: 60px;
    min-width: 200px;
    font-size: 1.4rem;
}

/* about section CSS */
section.about_section {
    background: url(./assets/bg-lines.svg), var(--primary-color-20);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}

section.about_section::before,
section.about_section::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 100px;
    background-color: white;
    z-index: 1;
}
section.about_section::before {
    top: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}
section.about_section::after {
    bottom: 0;
    background: linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.about_desc {
    max-width: 800px;
    margin: 120px auto;
    font-size: 1.2rem;
    line-height: 2rem;
    padding: 40px 60px;
    border-radius: 12px;
    box-shadow: 0 0 10px 10px #00000010;
    background-color: #b39ff680;
    backdrop-filter: blur(1px);
}

/* services section CSS */
.services_section > .container {
    margin: 90px auto;
}

.services_wrapper {
    display: flex;
    flex-direction: column;
    row-gap: 50px;
    margin-top: 130px;
}

.service_container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 50px;
    padding: 40px;
    border-radius: 10px;
    background: url(./assets/bg-lines-trans.svg), linear-gradient(90deg, rgba(96, 63, 239, 0.65) 0%, rgba(254, 254, 255, 0.50) 100%);
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    border: 1px solid var(--color-gray-1);
}

.service_details {
    display: flex;
    flex-direction: column;
    row-gap: 15px;
    text-align: left;
}
.service_desc {
    font-size: 1.1rem;
}

.service_img {
    width: 250px;
    min-width: 250px;
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px #00000020;
}
.service_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* works section CSS */
section.works_section {
    background: url(./assets/bg-lines.svg), var(--primary-color-20);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
section.works_section {
    position: relative;
}
section.works_section::before,
section.works_section::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 150px;
    background-color: white;
    z-index: 1;
}
section.works_section::before {
    top: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}
section.works_section::after {
    bottom: 0;
    background: linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.works_section > .container {
    margin: 80px auto;
}

.works_wrapper {
    margin-top: 100px;
    display: flex;
    flex-wrap: wrap;
    column-gap: 10px;
    row-gap: 30px;
}

.work_container {
    border-radius: 12px;
    overflow: hidden;
    width: 320px;
    aspect-ratio: 16/9;
    margin: auto;
}

.work_main {
    grid-column: span 3;
    width: min(1000px, 80vw);
}

.work_container iframe {
    height: 100%;
    width: 100%;
}

/* final ctoa CSS */
.container.catchphrase {
    border: 1px solid var(--color-gray-1);
    border-left: 0px;
    border-right: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
}

.final_ctoa {
    margin: auto;
    height: 400px;
    max-width: 800px;
    border-radius: 10px;
    background: url(./assets/bg-lines-trans.svg), linear-gradient(180deg, rgba(96, 63, 239, 0.30) 0%, rgba(254, 254, 255, 0.50) 100%);
    background-blend-mode: multiply;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    row-gap: 60px;
    border: 1px solid var(--color-gray-1);
    margin: 120px;
}

.final_ctoa button {
    min-height: 60px;
    min-width: 200px;
    font-size: 1.4rem;
}

/* reviews section CSS */
.reviews_wrapper {
    margin-top: 50px;
    display: flex;
    align-items: center;
}

.review_container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    border-radius: 12px;
    background-color: var(--primary-color-20);
    padding: 30px 20px;
    border: 1px solid var(--color-gray-2);
    text-align: left;
    transition: all 200ms ease-in-out;
    cursor: unset;
}

.review_container:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1);
    scale: 1.01;
}

.swiper-pagination {
    position: static;
    margin-top: 15px;
}
span.swiper-pagination-bullet {
    background-color: var(--primary-color);
}
.swiper-button-next, .swiper-button-prev {
    color: var(--primary-color);
    background: #ffffff99;
    box-shadow: 0 20px 25px 5px rgba(0, 0, 0, .1);
    padding: 25px;
    border-radius: 50%;
    transition: all 200ms ease-in-out;
}
.swiper-button-next:hover, .swiper-button-prev:hover {
    background: var(--color-white);
}
.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 24px;
    font-weight: bold;
}

.review_desc {
    letter-spacing: 1px;
    line-height: 22px;
}

.review_details {
    display: flex;
    align-items: center;
    column-gap: 20px;
}
.review_image {
    width: 50px;
    height: 50px;
    border: 1px solid var(--color-gray-2);
    border-radius: 50%;
    overflow: hidden;
}
.review_image img {
    width: 100%;
    height: 100%;
}
.review_title {
    font-weight: 600;
}
.review_subtitle {
    color: var(--color-gray-1);
}

.container .reviews_viewmore {
    margin-top: 60px;
}

/* contacts section CSS */
.contacts_section > .container {
    margin: 140px auto;
}

.contactus_container {
    max-width: 1200px;
    margin: auto;
    border: 1px solid var(--color-gray-1);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
}

.contactus_container_left {
    flex: 0.8;
    border-right: 1px solid var(--color-gray-1);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: url(./assets/video_editing_in_space.webp) center/cover no-repeat;
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 10px;
    padding: 20px 30px;
    border-radius: 100px;
    backdrop-filter: blur(15px) brightness(0.5);
    display: none;
}
.social-icons a {
    transition: all 300ms ease;
}
.social-icons a:hover {
    transform: scale(1.2);
}
.social-icons i {
    font-size: 30px;
    color: var(--color-white);
    cursor: pointer;
    transition: all 300ms ease;
    padding: 5px;
}

.ri-facebook-fill:hover {
    color: #4267b2;
}
.ri-instagram-fill:hover {
    color: #e1306c;
}
.ri-twitter-fill:hover {
    color: #1da1f2;
}
.ri-youtube-fill:hover {
    color: #ff0000;
}
.ri-linkedin-fill:hover {
    color: #0e76a8;
}

.contactus_container_right {
    flex: 1;
}

form.contactus_form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 50px;
    gap: 20px;
}

form.contactus_form > h5 {
    text-align: left;
    font-size: 2.2rem;
    margin-bottom: 40px;
}

.inpt-block {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 2px;
    flex-direction: column;
}
.inpt-block > label {
    font-size: 15px;
}
.inpt-block > input, .inpt-block > textarea {
    height: 35px;
    width: 100%;
    font-size: 16px;
}
.inpt-block > textarea {
    height: 80px;
}

/* FAQs section CSS */
section.faqs_section {
    display: none;
}

/* footer CSS */
.footer {
    padding: 35px;
    background-color: var(--primary-color);
    text-align: center;
    display: flex;
    column-gap: 40px;
    row-gap: 20px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}
.footer .footer-copyright {
    color: var(--color-white);
    font-size: 1.2rem;
}
.footer .footer-contact, .footer a {
    color: var(--color-gray-2);
}
.footer a:hover {
    color: var(--color-gray-1);
}

/* reveal animations */
.reveal {
    /* opacity: 0; */
}

/* media queries */
@media (max-width: 1100px) {
    .header_nav {
        display: none;
    }
    .mobile_nav_toggle {
        display: block;
    }

    .works_wrapper {
        grid-template-columns: 1fr 1fr;
    }
    .work_main {
        grid-column: span 2;
    }

    .reviews_wrapper {
        grid-template-columns: 1fr 1fr;
    }

}

@media (max-width: 800px) {
    h1 {
        font-size: 6rem;
    }
    h3 {
        font-size: 3rem;
    }
    h5 {
        font-size: 2rem;
    }

    .header {
        padding: 10px 20px;
    }

    .service_container {
        flex-direction: column-reverse;
        row-gap: 20px;
    }
    .service_details {
        text-align: center;
    }

    .final_ctoa {
        margin: 40px;
        padding: 20px;
    }

    .reviews_wrapper {
        grid-template-columns: 1fr;
    }

    .contactus_container {
        flex-direction: column;
        border-radius: 20px;
    }
    .social-icons {
        margin: 100px 10px 20px;
    }
    .contactus_container_right {
        background: url(./assets/video_editing_in_space.webp) center/cover no-repeat;
    }
    form.contactus_form {
        margin: 20px;
        background: #ffffff99;
        backdrop-filter: blur(20px);
        border-radius: 20px;
    }
}

@media (max-width: 500px) {
    h1 {
        font-size: 4.4rem;
    }
    h5 {
        font-size: 1.7rem;
    }

    .header {
        padding: 10px;
    }

    .about_desc {
        padding: 30px
    }

    .social-icons {
        padding: 15px;
    }
    .contactus_form .primary-btn {
        width: 100%;
    }

}