* {
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
    font-family: "DM Sans", sans-serif;
}

:root {
    --primary-color: #0160C9;
    --primary-color25: #DAE7F7;
    --primary-color35: #C4D7F0;
    --primary-color120: #004593;
    --white-color: #FFFFFF;
    --black-color: #000000;
    --font-color: #333333;
    --light-gray: #FAFAFA;
    --dark-gray: #2B2B2B;
    --h1-size: 2.4rem;
    --h2-size: 2rem;
    --h4-size: 1.6rem;
    --p-size: 1rem;
    --border-radius1: 4px;
    --border-radius2: 8px;
    --border-radius3: 16px;
    --border-radius4: 40px;
}


/* CUSTOM SCROLLBAR */

::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-thumb {
    background: var(--primary-color);
}


/* GLOBAL STYLES */

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--primary-color25);
}

section {
    scroll-margin-top: 5rem;
    position: relative;
}

h1 {
    font-size: var(--h1-size);
    font-weight: bold;
}
h2 {
    font-size: var(--h2-size);
    font-weight: 600;
}
h4 {
    font-size: var(--h4-size);
    font-weight: 600;
}
p {
    font-size: var(--p-size);
    font-weight: 400;
    color: var(--font-color);
}
a {
    text-decoration: none;
    color: var(--font-color);
}

input, select, textarea {
    height: 40px;
    font-size: var(--p-size);
    padding: 4px 8px;
    border: 1px solid var(--primary-color25);
    outline: none;
    border-radius: var(--border-radius1);
}
input:focus, select:focus, textarea:focus {
    border-color: var(--primary-color)
}
textarea {
    resize: none;
}

video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.container {
    padding: 6rem 8rem;
    max-width: 1200px;
    margin: auto;
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 6rem;
}
.section-header-title {
    font-size: var(--p-size);
    text-transform: uppercase;
    font-weight: 600;
    text-align: center;
}
.section-header-subtitle {
    font-size: var(--h1-size);
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
}

.primary-btn {
    min-height: 40px;
    padding: 12px 16px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius1);
    background: var(--primary-color);
    color: var(--white-color);
    cursor: pointer;
    transition: all 300ms ease-in-out;
}

.primary-btn:hover {
    background: var(--primary-color120);
}


/* SECTION TRAVEL STYLES */

#home::after, #reviews::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 100px;
    background-color: white;
    z-index: 1;
    bottom: 0;
    background: linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}
#home::after {
    height: 120px;
}
#services::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 20px;
    background-color: white;
    z-index: 1;
    bottom: 0;
    background: linear-gradient(to top, var(--light-gray) 0%, rgba(255, 255, 255, 0) 100%);
}
#reviews::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 100px;
    background-color: white;
    z-index: 1;
    top: 0;
    background: linear-gradient(to bottom, var(--light-gray) 0%, rgba(255, 255, 255, 0) 100%);
}


/* MOBILE NAVIGATION STYLES */

div#mobile_nav {
    transform: translateY(-300vh);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    height: 100vh;
    z-index: 101;
    background: var(--white-color);
    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: var(--h1-size);
}

.mobile_nav .mobile_nav-toggle {
    position: absolute;
    top: 16px;
    right: 2rem;
    font-size: 2.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

.mobile-nav-toggle {
    display: none;
}

.mobile-nav-toggle svg {
    width: 50px;
    cursor: pointer;
}
.mobile-nav-toggle svg path {
    stroke: var(--primary-color);
}


/* HEADER SECTION STYLES */

header {
    height: 5rem;
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 0 8px 2px #00000020;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 5rem;
}
.header-logo {
    font-size: 2rem;
    font-weight: bold;
}
.header-nav {
    display: flex;
    gap: 2rem;
}

.nav-item {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.nav-item a {
    font-weight: 500;
    cursor: pointer;
}
.nav-item:hover a {
    color: var(--primary-color);
}

.nav-item-bottom {
    height: 2px;
    width: 0;
    background: var(--primary-color);
    transition: all 300ms ease;
}
.nav-item:hover .nav-item-bottom {
    width: 100%;
}

.header-right {
    display: flex;
    align-items: center;
}


/* HERO SECTION STYLES */

#home {
    background: url(./assets/bgbg.png);
    background-size: cover;
    /* background-position: center; */
    background-attachment: fixed;

    .wrapper {
        height: 100%;
        width: 100%;
        backdrop-filter: blur(100px);
    }
}

#home .container {
    position: relative;
    padding: 8rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    text-align: left;
}

.hero-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-details-txt {
    height: 100%;
    background-color: var(--white-color);
    display: flex;
    flex-direction: column;
    padding: 2rem;
    border-radius: var(--border-radius2);
}
.hero-details-txt h2 {
    font-weight: 200;
}
.hero-details-txt h4 {
    color: var(--primary-color120);
    font-weight: 800;
    margin: 8px 0 16px;
}
.hero-details-txt .btn-wrap {
    padding-top: 16px;
}

.btn-wrap {
    margin-top: 1.2rem;
    display: flex;
    gap: 1rem;
}
.btn-wrap div {
    flex: 1;
    cursor: pointer;
}

.hero-video {
    width: 100%;
    height: 100%;
    background-color: var(--dark-gray);
    border-radius: var(--border-radius2);
    overflow: hidden;
}

.hero-details-revs {
    display: flex;
    align-items: center;
}

.revs-icons {
    display: flex;
    margin-top: 1rem;
    position: relative;
    width: fit-content;
}
.rev-icon {
    height: 44px;
    width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--white-color);
    border: 4px solid var(--primary-color25);
    overflow: hidden;
}
.rev-icon:nth-child(2) {
    translate: -0.8rem;
}
.rev-icon:nth-child(3) {
    translate: -1.6rem;
}
.rev-icon:nth-child(4) {
    translate: -2.4rem;
}

.rev-icon img {
    width: 100%;
    height: 100%;
}

.revs-review {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.revs-stars {
    display: flex;
    gap: 0.2rem;
    margin-top: 0.5rem;
}
.revs-stars img {
    height: 20px;
    width: 20px;
}


/* SERVICES SECTION STYLES */

#services {
    background: var(--white-color);
}

.services-tabs {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.services-tab {
    padding: 0.8rem 1.6rem;
    border-radius: var(--border-radius1);
    background: var(--primary-color25);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 300ms ease;
}
.services-tab.active {
    background: var(--primary-color);
    color: var(--white-color);
}
.services-tab:hover {
    background: var(--primary-color35);
}
.services-tab.active:hover {
    background: var(--primary-color);
}

.services-items {
    display: flex;
    gap: 2rem;
}

.services-item {
    flex: 1;
    background: var(--primary-color25);
    padding: 2rem;
    gap: 2rem 4rem;
    grid-template-columns: 1fr 1fr 1fr;
    margin: auto;
    border-radius: var(--border-radius2);
    display: none;
}
.services-item.active {
    display: grid;
}

.services-item-title {
    font-size: var(--h4-size);
    font-weight: 600;
    grid-column: span 2;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sevices-item-img {
    grid-row: span 4;
    aspect-ratio: 1/1;
    background: var(--white-color);
    border-radius: var(--border-radius2);
    display: flex;
    align-items: center;
    justify-content: center;
}
.sevices-item-img img {
    max-width: 200px;
}

.services-item p {
    grid-column: span 2;
    grid-row: span 2;
    line-height: 24px;
}


/* PORTFOLIO SECTION STYLES */

#portfolio {
    background: var(--light-gray);
}

.portfolio-items {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
}

.portfolio-item {
    background: #9C27B0;
    border-radius: var(--border-radius3);
    min-height: 240px;
    overflow: hidden;
    position: relative;
}
.portfolio-item {
    grid-column: span 2;
    /* padding: 12px; */
}
.portfolio-item:nth-child(1) {
    grid-row: span 2;
    background: #f5d3cf;
}
.portfolio-item:nth-child(2) {
    grid-column: span 3;
    background: #dcd1fb;
}
.portfolio-item:nth-child(3) {
    grid-column: span 3;
    background: #9ccf63;
}
.portfolio-item:nth-child(4) {
    grid-column: span 3;
    background: #c9dbd4;
}
.portfolio-item:nth-child(5) {
    background: #ebe3d0;
}

.portfolio-pill {
    position: absolute;
    background: var(--white-color);
    color: var(--black-color);
    width: fit-content;
    padding: 0.2rem 0.5rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    top: 10px;
    left: 10px;
}

.video-wrapper {
    height: 100%;
    width: 100%;
}


/* REVIEWS SECTION STYLES */

#reviews {
    background: var(--primary-color25);
}

.swiper.mySwiper {
    padding-bottom: 100px;
}

.swiper-wrapper {
    align-items: center;
}
.swiper-slide {
    background: var(--primary-color25);
}
.swiper-button-wrap {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    gap: 1rem;
    position: absolute;
    left: 50%;
    translate: -50%;
    bottom: 0%;
    z-index: 10;
}
.swiper-button-next, .swiper-button-prev {
    position: static !important;
    height: 60px !important;
    width: 60px !important;
    background-color: var(--primary-color) !important;
    border-radius: 50%;
    top: auto !important;
    bottom: 0 !important;
    transition: all 300ms ease-in-out;
}
.swiper-button-next:hover, .swiper-button-prev:hover {
    background: var(--primary-color120) !important;
}
.swiper-button-next::after, .swiper-button-prev::after {
    display: none;
}
.swiper-button-next img, .swiper-button-prev img {
    width: 28px;
    transition: all 150ms ease-in-out;
}
.swiper-button-next:active img, .swiper-button-prev:active img {
    transform: scale(0.9);
}

.review-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    background: var(--primary-color25);
    padding: 0.2rem;
}

.review-container {
    background: var(--white-color);
    height: 360px;
    width: 800px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
    border: 2px solid var(--primary-color);
}

.review-details {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
}

.review-img {
    height: 100%;
    height: 120px;
    aspect-ratio: 1/1;
    display: flex;
    align-self: flex-start;
    border-radius: var(--border-radius4);
}
.review-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-text {
    line-height: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* CONTACT US STYLES */

#contact {
    background: var(--white-color);
}

.contact-wrapper {
    display: flex;
    border-radius: var(--border-radius2);
    overflow: hidden;
}

.contact-left {
    flex: 0.8;
    background: url(./assets/video_editing_in_space.webp);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.contact-right {
    flex: 1;
    padding: 3rem 4rem;
    border: 2px solid var(--primary-color25);
    border-left: none;
    border-radius: 0 var(--border-radius2) var(--border-radius2) 0;
}
.contact-right > h4 {
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.contact-form textarea {
    height: 4rem;
}

.contact-form input[type="submit"] {
    margin-top: 1rem;
    padding: 0 8px;
}


/* FOOTER STYLES */

footer {
    background: var(--dark-gray);
    color: var(--white-color);
    padding: 1rem 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.social-icons {
    display: flex;
    gap: 8px;
}
.social-icon {
    height: 24px;
    width: 24px;
    filter: grayscale(1);
    transition: all 300ms ease-in-out;
}
.social-icon:hover {
    filter: grayscale(0);
}
.social-icon img {
    width: 100%;
    height: 100%;
}

.footer-email a {
    color: var(--light-gray);
    font-weight: 600;
}

footer p {
    font-size: 0.8rem;
    color: var(--light-gray);
}


/* TABLET MEDIA QUERY */

@media screen and (max-width: 1200px) {
    .container {
        padding: 6rem 4rem;
    }

    #home .container {
        grid-template-columns: 1fr;
        padding: 8rem 4rem;
    }

    .services-tabs {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem 4rem;
    }
    .services-tab {
        padding: 0.8rem 1.6rem;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        align-self: stretch;
    }

    .services-item {
        grid-template-columns: 1fr;
        gap: 1rem 0;
    }
    .sevices-item-img {
        display: none;
    }
    .services-item a {
        margin-top: 1rem;
    }
}


/* MOBILE MEDIA QUERY */

@media screen and (max-width: 800px) {
    .container, #home .container {
        padding: 6rem 2rem;
    }

    .mobile-nav-toggle {
        display: block;
    }

    header {
        padding: 0 2rem;
    }
    .header-nav {
        display: none;
    }
    .header-right .primary-btn {
        display: none;
    }

    .btn-wrap {
        flex-direction: column;
        gap: 1rem;
    }

    .services-tabs {
        gap: 1rem;
    }

    .portfolio-items {
        grid-template-columns: 1fr;
    }
    .portfolio-item {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }

    .contact-left {
        display: none;
    }
    .contact-right {
        border: 2px solid var(--primary-color25);
        border-radius: var(--border-radius2);
        padding: 2rem;
    }

    footer {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 2rem;
    }
}


/* MINI SCREEN MEDIA QUERY */

@media screen and (max-width: 386px) {
    .container, #home .container {
        padding: 4rem 1rem;
    }
}