/* ---MAIN STYLES--- */

.main_section {
    padding: 5vw 10vw 5vw 10vw;
}

.main_section .main_box {
    position: relative;
}

.main_section .videos_box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1vw;
}

.main_section .video_item {
    position: relative;
    width: 100%;
    position: relative;
    border-radius: .5vw;
    overflow: hidden;
    transition: .5s;
    cursor: pointer;
}

.main_section .video_item:nth-child(1) {
    height: 32vw;
    margin-top: 8vw;
}

.main_section .video_item:nth-child(2) {
    height: 30vw;
}

.main_section .video_item:nth-child(3) {
    height: 40vw;
    margin-top: 5vw;
}

.main_section .video_item:hover {
    transform: scale(.98);
}

.main_section .video_item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #00000000, #0000007e);
    z-index: 1;
}

.main_section .video_item video {
    transition: .5s;
}

.main_section .video_item:hover video {
    transform: scale(1.1);
}

.main_section .info_box {
    position: absolute;
    bottom: 0;
    left: 3vw;
    width: 40vw;
    z-index: 1;
}

@media (max-width: 996px) {
    .main_section {
        padding: 10vw;
    }
    .main_section .videos_box {
        position: relative;
        height: 180vw;
        display: flex;
        flex-wrap: wrap;
        gap: 3vw;
    }
    .main_section .video_item {
        position: absolute;
        border-radius: 1.5vw;
    }
    .main_section .video_item:nth-child(1) {
        top: 0;
        left: 0;
        width: 55vw;
        height: 65vw;
        margin-top: 0;
    }
    .main_section .video_item:nth-child(2) {
        bottom: 0;
        left: 5%;
        width: 60vw;
        height: 70vw;
        z-index: 2;
    }
    .main_section .video_item:nth-child(3) {
        top: 30%;
        right: 0;
        width: 50vw;
        height: 70vw;
        margin-top: 0;
        z-index: 1;
    }
    .main_section .info_box {
        position: relative;
        left: 0;
        margin-top: -8vw;
        width: 100%;
        z-index: 2;
    }
}


/* ---COMPANIES STYLES--- */

.companies_section {
    display: flex;
    justify-content: space-between;
    gap: 8vw;
    padding: 5vw 10vw;
}

.companies_section svg {
    transition: .5s;
    opacity: .3;
    cursor: pointer;
}

.companies_section svg:hover {
    opacity: 1;
}

@media (max-width: 996px) {
    .companies_section {
        gap: 5vw;
        padding: 10vw;
    }
}


/* ---ABOUT STYLES--- */

.about_section {
    padding: 5vw 10vw;
}

.about_section .about_box {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 3vw;
}

.about_section .media_item {
    position: relative;
    width: 100%;
    height: 40vw;
    border-radius: .5vw;
    overflow: hidden;
    cursor: pointer;
    transition: .5s;
}

.about_section .media_item:hover {
    transform: scale(.98);
}

.about_section .media_item img {
    transition: .5s;
}

.about_section .media_item:hover img {
    transform: scale(1.1);
}

.about_section .title_box {
    position: relative;
}

.about_section .title_box svg {
    position: absolute;
    top: 0;
    right: 9vw;
    transform: translateY(-75%);
    width: 5vw;
}

@media (max-width: 996px) {
    .about_section {
        padding: 10vw;
    }
    .about_section .about_box {
        grid-template-columns: 1fr;
        gap: 10vw;
    }
    .about_section .media_item {
        height: 80vw;
        border-radius: 1.5vw;
    }
    .about_section .title_box svg {
        right: 12.5vw;
        width: 10vw;
    }
}


/* ---SERVICES STYLES--- */

.services_section {
    display: flex;
    flex-direction: column;
    gap: 3vw;
    padding: 5vw 10vw;
}

.services_section .title_box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2vw;
    text-align: center;
}

.services_section .services_box {
    display: flex;
    flex-direction: column;
}

.services_section .service_item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 2vw 0;
    border-bottom: .07vw solid #FFFDF050;
    cursor: pointer;
}

.services_section .service_item:last-child {
    border: none;
}

.services_section .heading_box {
    display: flex;
    align-items: center;
    gap: 1.5vw;
}

.services_section .heading_box span {
    color: var(--red);
    font-family: "Poppins", sans-serif;
    font-size: 1vw;
    font-weight: bold;
}

.services_section .heading_box svg {
    width: 2vw;
}

.services_section .service_item path {
    transition: .5s;
}

.services_section .service_item:hover path {
    stroke: var(--cream)
}

.services_section .heading_box h2 {
    font-size: 2vw;
}

.services_section .heading_box h2 span {
    font-family: "Raleway", sans-serif;
    font-size: 2vw;
}

@media (max-width: 996px) {
    .services_section {
        gap: 5vw;
        padding: 10vw;
    }
    .services_section .title_box {
        align-items: flex-start;
        gap: 5vw;
        text-align: left;
    }
    .services_section .service_item {
        grid-template-columns: 1fr;
        gap: 3vw;
        padding: 5vw 0;
        border-bottom: .15vw solid #FFFDF050;
    }
    .services_section .heading_box {
        flex-wrap: wrap;
        gap: 5vw 0;
    }
    .services_section .heading_box span {
        width: 10vw;
        font-size: 4vw;
    }
    .services_section .heading_box svg {
        width: 7vw;
    }
    .services_section .heading_box h2 {
        width: 100%;
        font-size: 5vw;
    }
    .services_section .heading_box h2 span {
        font-size: 5vw;
    }
}


/* ---PACKAGES STYLES--- */

.packages_section {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3vw;
    padding: 5vw 10vw;
    min-height: 100vh;
}

.packages_section .info_box {
    position: sticky;
    top: 10vw;
    align-self: start;
}

.packages_section .packages_box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-inline: 0.07vw solid #FFFDF050;
    overflow: visible;
}

.packages_section .package_item {
    display: flex;
    flex-direction: column;
    gap: 2vw;
    padding: 2vw;
    cursor: pointer;
}

.packages_section .package_item:nth-child(1),
.packages_section .package_item:nth-child(2) {
    border-bottom: 0.07vw solid #FFFDF050;
}

.packages_section .package_item:nth-child(1),
.packages_section .package_item:nth-child(3) {
    border-right: 0.07vw solid #FFFDF050;
}

.packages_section .title_box,
.packages_section ul {
    display: flex;
    flex-direction: column;
    gap: 1vw;
}

.packages_section .title_box img {
    width: fit-content;
    height: 4vw;
    transition: .5s;
}

.packages_section .package_item:hover .title_box img {
    transform: scale(1.1);
}

.packages_section .title_box h2 {
    font-size: 2vw;
}

.packages_section .title_box h2 span {
    font-family: "Raleway", sans-serif;
    font-size: 2vw;
}

.packages_section .title_box span {
    color: var(--red);
    font-family: "Poppins", sans-serif;
    font-size: 1vw;
    font-weight: 500;
}

.packages_section ::marker {
    color: var(--red);
}

@media (max-width: 996px) {
    .packages_section {
        grid-template-columns: 1fr;
        gap: 10vw;
        padding: 10vw;
    }
    .packages_section .info_box {
        position: relative;
        top: inherit;
        align-items: center;
        text-align: center;
    }
    .packages_section .packages_box {
        grid-template-columns: 1fr;
        gap: 15vw;
        border-inline: none;
    }
    .packages_section .package_item {
        align-items: center;
        gap: 5vw;
        padding: 0;
        border: 0;
    }
    .packages_section .package_item:nth-child(1),
    .packages_section .package_item:nth-child(2),
    .packages_section .package_item:nth-child(1),
    .packages_section .package_item:nth-child(3) {
        border-bottom: none;
        border-right: none;
    }
    .packages_section .title_box,
    .packages_section ul {
        align-items: center;
        gap: 5vw;
        text-align: center;
    }
    .packages_section .title_box img {
        width: 20vw;
        height: fit-content;
    }
    .packages_section .title_box h2 {
        font-size: 5vw;
    }
    .packages_section .title_box h2 span {
        font-size: 5vw;
    }
    .packages_section .title_box span {
        font-size: 4vw;
    }
}


/* ---PORTFOLIO STYLES--- */

.portfolio_section {
    display: flex;
    flex-direction: column;
    gap: 3vw;
    padding: 5vw 10vw;
}

.portfolio_section h2 {
    width: 40vw;
}

.portfolio_section .filter_box {
    display: flex;
    gap: 2vw;
}

.portfolio_section .portfolio_box {
    min-height: 20vw;
    opacity: 1;
    transition: .5s;
}

.portfolio_section .portfolio_box.fade {
    opacity: 0;
}

.portfolio_section button {
    position: relative;
    font-family: "Raleway", sans-serif;
    color: var(--cream);
    font-size: 1vw;
    border: none;
    background: none;
}

.portfolio_section button.active,
.portfolio_section button:hover {
    color: var(--red);
}

.portfolio_section button::before {
    content: "";
    position: absolute;
    bottom: -.5vw;
    left: 0;
    width: 0;
    height: 0.07vw;
    background: var(--cream);
    transition: .5s;
}

.portfolio_section button.active::before,
.portfolio_section button:hover::before {
    width: 100%;
    background: var(--red);
}

.portfolio_section .portfolio_items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1vw;
}

.portfolio_section .item_box {
    position: relative;
    width: 100%;
    height: 18vw;
    border-radius: .5vw;
    overflow: hidden;
    cursor: pointer;
    transition: .5s;
}

.portfolio_section .item_box:hover {
    transform: scale(.98);
}

.portfolio_section .item_box img {
    transition: .5s;
}

.portfolio_section .item_box:hover img {
    transform: scale(1.1);
}

@media (max-width: 996px) {
    .portfolio_section {
        gap: 10vw;
        padding: 10vw;
    }
    .portfolio_section h2 {
        width: 100%;
    }
    .portfolio_section .filter_box {
        gap: 5vw;
    }
    .portfolio_section .portfolio_box {
        min-height: 20vw;
        opacity: 1;
        transition: .5s;
    }
    .portfolio_section .portfolio_box.fade {
        opacity: 0;
    }
    .portfolio_section button {
        font-size: 4vw;
    }
    .portfolio_section button::before {
        bottom: -1vw;
        height: 0.15vw;
    }
    .portfolio_section .portfolio_items {
        grid-template-columns: repeat(2, 1fr);
        gap: 3vw;
    }
    .portfolio_section .item_box {
        height: 40vw;
        border-radius: 1.5vw;
    }
}


/* ---CONTACT STYLES--- */

.contact_section {
    padding: 5vw 10vw;
}

.contact_section .contact_box {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3vw;
}

.contact_section .media_item {
    position: relative;
    width: 100%;
    height: 40vw;
    border-radius: .5vw;
    overflow: hidden;
    cursor: pointer;
    transition: .5s;
    background: var(--red);
}

.contact_section .media_item:hover {
    background: none;
}

.contact_section .media_item:hover {
    transform: scale(.98);
}

.contact_section .media_item svg {
    width: 100%;
    height: 100%;
    transform: scale(1.6);
    transition: .5s;
}

.contact_section .media_item:hover svg {
    transform: scale(3);
}

.contact_section .media_item .row:nth-child(odd) {
    animation: translate 5s alternate linear infinite;
}

.contact_section .media_item .row:nth-child(even) {
    animation: translate 5s alternate-reverse linear infinite;
}

.contact_section .media_item path {
    fill: var(--dark);
    transition: .5s;
}

.contact_section .media_item:hover path {
    fill: var(--red);
}

.contact_section .form_box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.5vw 0;
}

.contact_section .form_item {
    width: calc(50% - .75vw);
    display: flex;
    flex-direction: column;
}

.contact_section .form_item:last-child {
    width: 100%;
}

.contact_section label {
    color: var(--cream);
    font-size: 1vw;
}

.contact_section input {
    color: var(--cream);
    font-size: 1vw;
    padding: .5vw 0;
    border: none;
    border-bottom: 0.07vw solid #FFFDF050;
    background: none;
    transition: .5s;
}

.contact_section textarea {
    height: 5vw;
    resize: none;
    color: var(--cream);
    font-size: 1vw;
    padding: .5vw 0;
    border: none;
    border-bottom: 0.07vw solid #FFFDF050;
    background: none;
    transition: .5s;
}

.contact_section input:focus-visible,
.contact_section textarea:focus-visible {
    outline: none;
    border-bottom: 0.07vw solid #C5171890;
}

.contact_section ::placeholder {
    color: #FFFDF020;
    transition: .5s;
}

.contact_section input:hover::placeholder,
.contact_section textarea:hover::placeholder {
    color: #FFFDF040;
}

@keyframes translate {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(20%);
    }
}

@media (max-width: 996px) {
    .contact_section {
        padding: 10vw;
    }
    .contact_section .contact_box {
        grid-template-columns: 1fr;
        gap: 10vw;
    }
    .contact_section .media_item {
        height: 80vw;
        border-radius: 1.5vw;
    }
    .contact_section .form_box {
        gap: 5vw 0;
    }
    .contact_section .form_item {
        width: 100%;
    }
    .contact_section label {
        font-size: 4vw;
    }
    .contact_section input {
        font-size: 4vw;
        padding: 1.5vw 0;
        border-bottom: 0.15vw solid #FFFDF050;
    }
    .contact_section textarea {
        height: 25vw;
        font-size: 4vw;
        padding: 1.5vw 0;
        border-bottom: 0.15vw solid #FFFDF050;
    }
    .contact_section input:focus-visible,
    .contact_section textarea:focus-visible {
        border-bottom: 0.15vw solid #C5171890;
    }
}