@import url(./base.css);

@import url(./navigation.css);

@import url(./footer.css);

/* # slider */

.header-slider-container {
    overflow: hidden;
    position: relative;
    top: 0;
    width: 100vw;
}

.header-slider-container .wrapper {
    display: flex;
    align-items: flex-start;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    height: 100%;
}

.slide {
    position: relative;
    width: 100%;
    height: 100%;
    background: inherit;
    text-align: center;
}

.header-slider-container .wrapper .slide img {
    width: 100vw;
    height: 600px;
    object-fit: cover;
    filter: brightness(70%) contrast(120%);
}

.slide-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.4rem;
    color: hsla(0, 0%, 100%, 0.8);
    text-shadow: 0 2px 10px hsla(32 80% 10% / .3);
    z-index: 2;
}

.slide-description>* {
    margin-top: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 50%);
    font-size: 1.1rem;
    color: hsla(0, 0%, 100%, 0.8);
    text-shadow: 0 2px 10px hsla(32 80% 10% / .3);
    z-index: 2;
    width: 600px;
}

.controls {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    z-index: 2;
    gap: 10px;
}

.control-label {
    width: 10px;
    height: 10px;
    border-radius: 50px;
    background: hsla(0 0% 90% / .3);
    cursor: pointer;
    position: relative;
    z-index: 1;
    right: 0;
    bottom: 0;
}

.control-button {
    position: absolute;
    right: 0;
    bottom: 0;
    opacity: 0;
    z-index: -2;
}

.control-button:checked+.control-label {
    background: none;
    border: 2px solid #fff;
}



@media (max-width:996px) {
    .slide-title {
        font-size: 1.6rem;
    }

    .slide-description>* {
        margin-top: 20px;
        font-size: 1.1rem;
        width: 500px;
    }
}

@media (max-width:524px) {
    .slide-title {
        position: absolute;
        top: 65%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 1.2rem;
    }

    .slide-description>* {
        margin-top: 20px;
        position: absolute;
        top: 65%;
        left: 50%;
        transform: translate(-50%, 50%);
        font-size: 14px;
        width: 300px;
    }
}

@media (max-width:374px) {
    .slide-title {
        font-size: 1rem;
    }

    .slide-description>* {
        margin-top: 20px;
        font-size: 12px;
        width: 200px;
    }
}

/* # main */

.title {
    color: #282828;
    font-size: 1.4rem;
    font-weight: 400;
    text-align: center;
}

@media (max-width:986px) {
    .title h3 {
        font-size: 1.2rem;
        font-weight: 400;
    }

    .title a {
        font-size: 1.2rem;
        font-weight: 400;
    }

}

@media (max-width:524px) {
    .title h3 {
        font-size: 1.2rem;
        font-weight: 400;
    }

    .title a {
        font-size: 1.2rem;
        font-weight: 400;
    }

}

@media (max-width:412px) {
    .title h3 {
        font-size: 1rem;
        font-weight: 400;
    }

    .title a {
        font-size: 1rem;
        font-weight: 400;
    }
}

#main {
    position: relative;
    /* background-color: #000000; */
}

/* # portfolio  */

.portfolio {
    position: relative;
    right: 0;
    left: 0;
    top: -50px;
    margin: auto;
}

.portfolio-wrapper {
    background: var(--white);
    box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.06);
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
}

.portfolio-right-bg {
    background: var(--yellow);
}

.portfolio-right {
    padding: 20px;
    display: flex;
    flex-direction: column;
    row-gap: 30px;
}

.btn-portfolio {
    font-size: 16px;
    padding: 10px 20px;
    border-radius: 4px;
    width: 180px;
}

.portfolio-left-bg {
    background: var(--white);
}

.portfolio-left {
    padding: 20px 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.portfolio-item {
    display: flex;
    gap: 6px;
    padding: 15px;
}

.portfolio-left-top {
    display: flex;
    flex-direction: column;
}

.portfolio-item .portfolio-item-icon i {
    font-size: 2rem;
    color: var(--yellow);
}

.portfolio-item .portfolio-item-info h3 {
    font-size: 1.6rem;
    font-weight: 600;
    color: black;
}

.portfolio-item .portfolio-item-info p {
    font-size: 0.8rem;
    color: black;
}

.portfolio-left-bottom {
    display: flex;
    flex-direction: column;
}

/* # services */

.services-title {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 15px 15px;
    position: relative;
}

.services-title h3::before {
    width: 8px;
    display: block;
    height: 23px;
    position: absolute;
    right: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    content: '';
    border-radius: 2px;
    background-color: var(--yellow);
}

.services-title a {
    color: var(--yellow);
}

.services {
    position: relative;
}

.services-box {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.services-box-img {
    margin-bottom: 30px;
    transition: transform 0.6s ease;
    height: 12.5rem;
}

.services-box-img:hover {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.services-box-img img {
    width: 100%;
    height: 100%;
}

.services-box-info {
    display: flex;
    position: relative;
}

.services-box-info::after {
    content: "";
    position: absolute;
    display: inline-block;
    bottom: 60px;
    right: 27px;
    width: 90px;
    height: 90px;
    border-radius: 100%;
    background: rgba(0, 0, 0, 0.05);
    margin-left: -30px;
    z-index: -1;
    opacity: 1;
    visibility: visible;
    -webkit-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.services-box-info:hover::after {
    opacity: 1;
    transform: translate(-50%, 20%) scale(1);
    width: 120px;
    height: 120px;
    -webkit-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.services-box-icon {
    width: 20%;
    padding: 20px 0;
    text-align: center;
    transform: translate(7%, -8%);
}

.services-box-icon i {
    font-size: 50px;
}

.services-box-content {
    width: 80%;
    padding: 20px 0;
}

.services-box-info h3 {
    font-size: 24px;
    line-height: 32px;
}

.services-box-info h3 a {
    font-size: 1rem;
    font-weight: 600;
    line-height: 29px;
    color: #101010;
}

.services-box-info h3 a:hover {
    color: var(--yellow);
}

.services-box-info p {
    margin: 0 0 15px;
    color: #141414d6;
}


@media (max-width:986px) {
    .services-title {
        margin-top: 0px;
    }
}

@media (max-width:540px) {
    .services-title {
        margin-top: 0px;
    }
}


/* # lastVideos */

.lastVideos-title {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 15px 15px;
    position: relative;
}

.lastVideos-title h3::before {
    width: 8px;
    display: block;
    height: 23px;
    position: absolute;
    right: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    content: '';
    border-radius: 2px;
    background-color: var(--yellow);

}

.lastVideos-title a {
    color: var(--yellow);
}

/* videoCardSpecial */

.videoCardSpecial {
    width: 100%;
    height: 90%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.videoCardSpecial-picture {
    display: block;
    position: relative;
    height: 100%;
    border-radius: 4px;

}

.videoCardSpecial-picture:after {
    position: absolute;
    content: '';
    top: 50%;
    left: 50%;
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    width: 64px;
    display: block;
    height: 64px;
    z-index: 0;
    background-color: #0075e7;
    border-radius: 4px;
    pointer-events: none;
}

.videoCardSpecial-picture:before {
    content: "";
    font-size: 44px;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 4;
    width: 0;
    height: 0;
    border: 16px solid transparent;
    border-left: 20px solid #fff;
    margin-top: -18px;
    margin-left: -7px;
    -webkit-filter: drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.25));
}

.videoCardSpecial-picture img {
    width: 100%;
    height: 100% !important;
    -o-object-fit: cover;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.6s ease;
}

.videoCardSpecial-picture:hover img {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.videoCardSpecial .videoCardSpecial-overload {
    position: absolute;
    top: 0;
    right: 0;
    padding: 40px 24px;
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    background-color: rgba(22, 32, 91, 0.5);
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    pointer-events: none;
}

.videoCardSpecial .videoCardSpecial-link {
    width: 100%;
    display: block;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1
}

.videoCardSpecial .videoCardSpecial-category {
    border-radius: 4px;
    color: #fff;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: bold;
    font-variation-settings: "wght" 700;
    line-height: 18px;
    position: relative;
    z-index: 2;
    background-color: #16205b;
    margin-bottom: 6px;
    margin-left: 6px;
}

.videoCardSpecial .videoCardSpecial-category:last-child {
    margin-left: 0;
}

.videoCardSpecial .videoCardSpecial-title {
    position: relative;
    z-index: 2;
    letter-spacing: -1px;
    color: #fff;
    font-weight: bold;
    font-variation-settings: "wght" 700;
    font-size: 1.6rem;
    line-height: 64px;
    margin-bottom: 16px;
}

.videoCardSpecial .videoCardSpecial-date {
    color: #fff;
    font-size: 12px;
    line-height: 18px;
    font-weight: bold;
    font-variation-settings: "wght" 700;
    margin-bottom: 24px;
}

.videoCardMini {
    display: flex;
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    padding-left: 8px;
    padding-right: 8px;
}

.videoCardMini-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-left: -8px;
    margin-right: -8px;
}

.videoCardMini-item {
    padding-left: 8px;
    padding-right: 8px;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
    margin-bottom: 30px;
}

.videoCard {
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    overflow: hidden;
}

.videoCardMini-picture {
    display: block;
    position: relative;
    height: 100%;
    border-radius: 4px;
}

.videoCardMini-picture::after {
    width: 64px;
    display: block;
    height: 64px;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    content: '';
    z-index: 0;
    background-color: #0075e7;
    border-radius: 4px;
    pointer-events: none;
}

.videoCardMini-picture:before {
    position: absolute;
    top: 50%;
    left: 50%;
    content: "";
    font-size: 44px;
    z-index: 4;
    width: 0;
    height: 0;
    border: 16px solid transparent;
    border-left: 20px solid #fff;
    margin-top: -18px;
    margin-left: -7px;
    -webkit-filter: drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.25));
}

.videoCardMini-picture img {
    width: 100%;
    height: 100% !important;
    -o-object-fit: cover;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.6s ease;
}

.videoCardMini-picture:hover img {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.videoCardMini-overload {
    padding-top: 8px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.videoCardMini-categories {
    color: #6a7196;
    font-size: 12px;
    font-weight: bold;
    font-variation-settings: "wght" 600;
    line-height: 24px;
    margin-left: 4px;
}

.videoCardMini-categories:last-child {
    margin-left: 0;
}


.videoCardMini-title {
    min-height: 60px;
    letter-spacing: -0.5px;
    color: var(--text-dark);
    font-weight: bold;
    font-variation-settings: "wght" 700;
    font-size: 16px;
    line-height: 32px;
    margin-bottom: 4px;
}

.videoCardMini-date {
    margin-top: auto;
    color: #6a7196;
    font-size: 12px;
    line-height: 24px;
    font-weight: bold;
    font-variation-settings: "wght" 700;
}

.videoCardMini-date a {
    color: #6a7196;
}

/* # testimonial */

.testimonial {
    height: 70vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-image: url(../img/testimonial_bg2.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.testimonial-title {
    text-align: center;
    margin: 50px 0;
}

.testimonial img {
    height: 160px;
    width: 160px;
    object-fit: cover;
    border-radius: 50%;
}

.testimonial .testimonial-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    row-gap: 5px;
}

.testimonial-slide p {
    padding: 0 100px;
    font-size: 1rem;
    text-align: center;
    font-weight: 400;
    color: var(--white);
}

.testimonial-slide .quote-icon {
    font-size: 2rem;
    color: var(--yellow)
}

.testimonial-slide .details {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-slide .details .name {
    font-size: 1rem;
    font-weight: 400;
    color: var(--white);
}

.testimonial-slide .details .job {
    font-size: 0.7rem;
    font-weight: 300;
    color: var(--white);
}

@media (max-width:986px) {
    .testimonial img {
        height: 120px;
        width: 120px;
        object-fit: cover;
        border-radius: 50%;
    }

    .testimonial-slide p {
        padding: 0 100px;
        font-size: 0.8rem;
        font-weight: 300;
    }
}

@media (max-width:540px) {

    .testimonial img {
        height: 100px;
        width: 100px;
        object-fit: cover;
        border-radius: 50%;
    }

    .testimonial-slide p {
        padding: 0 100px;
        font-size: 0.6rem;
        font-weight: 200;
    }

    .testimonial-slide .quote-icon {
        font-size: 1rem;

    }

    .testimonial-slide .details .name {
        font-size: 0.6rem;
        font-weight: 200;
    }

    .testimonial-slide .details .job {
        font-size: 0.6rem;
        font-weight: 200;
    }
}

@media (max-width:430px) {
    .testimonial img {
        display: none;
    }

    .testimonial-slide p {
        padding: 0 40px;
        font-size: 0.8rem;
        font-weight: 400;
    }

    .testimonial-slide .quote-icon {
        font-size: 0.8rem;

    }

    .testimonial-slide .details .name {
        font-size: 0.6rem;
        font-weight: 200;
    }

    .testimonial-slide .details .job {
        font-size: 0.6rem;
        font-weight: 200;
    }
}

/* # last-project */

.last-project-title {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 15px 15px;
    position: relative;
}

.last-project-title h3::before {
    width: 8px;
    display: block;
    height: 23px;
    position: absolute;
    right: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    content: '';
    border-radius: 2px;
    background-color: var(--yellow);

}

.last-project-title a {
    color: var(--yellow);
}

.last-project {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.last-project-box {

    position: relative;
    border-bottom: 3px solid #FCBF19;
}

.last-project-box:hover {
    -webkit-box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.1);
    border-bottom-color: #000000;

}

.last-project-box-img {
    overflow: hidden;
}

.last-project-box-img img {
    width: 100%;
    height: auto;
    -webkit-transition: all ease 500ms;
    -o-transition: all ease 500ms;
    transition: all ease 500ms;
}

.last-project-box-img:hover img {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.last-project-content {
    padding: 25px 30px 20px;
    border: 1px solid #ddd;
    border-top: none;
}

.last-project-box-title {
    margin-bottom: 10px;
}

.last-project-box-title span {
    display: inline-block;
    margin-right: 15px;
}

.last-project-box-description {
    margin-bottom: 12px;
}

.last-project-box-description h4 {
    color: #000000;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.last-project-box-description h4:hover {
    color: var(--yellow);
}