/*
Theme Name: SXP
Theme URI: #
Author: #
Author URI: #
Description: SXP is a clean, modern, stylish WordPress Theme. 
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sxp
Tags: theme-options, custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

img {
    max-width: 100%;
    height: auto;
    display: block;
}
.navbar {
    -webkit-transition: all .5s ease-out;
    -moz-transition: all .5s ease-out;
    -ms-transition: all .5s ease-out;
    -o-transition: all .5s ease-out;
    transition: all .5s ease-out;
}
.header-hide {
    visibility: hidden;
    opacity: 0;
    transform: translateY(-80px);
}
.custom-nav {
    z-index: 1041;
}
.navbar button i {
    color: #ec1a2e;
}
.side-menu .nav .nav-link {
    font-size: 1rem;
    opacity: 1;
    font-weight: 700;
}
.side-menu .nav .current-menu-item .nav-link {
    opacity: 0.75;
}
.sticky .side-menu .nav a {
    opacity: .5 !important;
}
.sticky .side-menu .nav a.active {
    opacity: 1 !important;
}
.logo {
    max-width: 70px;
}
.cus-banner-cls {
    position: relative;
    overflow: hidden;
}
.cus-banner-cls .cta-btn {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 30px;
    text-align: center;
    line-height: 28px;
    border-radius: 100%;
    color: #ec1a2e;
    z-index: 1021;
    animation: bounce 1.5s infinite;
}

/* Bounce animation for the icon */
@keyframes bounce {
    0% {
        transform: translateY(0);
    }
    25% {
        transform: translateY(-5px);
    }
    50% {
        transform: translateY(0);
    }
    75% {
        transform: translateY(-5px);
    }
    100% {
        transform: translateY(0);
    }
}
.project-item a {
    display: block;
    position: relative;
}
.project-item a h5 {
    position: absolute;
    bottom: 0;
    left: 50%;
    color: #fff;
    padding: 30px 15px 10px 15px;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
    margin-bottom: 0;
    background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.80) 100%);
    visibility: hidden;
    opacity: 0;
    -webkit-transition: all .5s ease-out;
    -moz-transition: all .5s ease-out;
    -ms-transition: all .5s ease-out;
    -o-transition: all .5s ease-out;
    transition: all .5s ease-out;
}
.project-item a:hover h5 {
    visibility: visible;
    opacity: 1;
}

.btn-area {
    position: relative;
}
.btn-area .wpcf7-spinner {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin: 5px 0 0 0;
}
.form-group textarea {
    height: 204px;
}
.contact .wpcf7-response-output {
    text-align: center;
}
.service-icon {
    max-width: 60px;
    margin: 0 auto;
    padding-bottom: 20px;
}
.service-icon img {
    -webkit-box-shadow: none;
    box-shadow: none;
}
.project ul li a.active-f {
    border-color: #ec1a2e;
}
.video-ytb:after {
    opacity: 0;
}
.loader {
    background: #11133e;
}
.loader-inner {
    border: 0;
    text-align: center;
    width: 100%;
    height: 100%;
    position: inherit;
    left: 0;
    top: 0;
}
.loader-inner img {
    width: 100%;
    position: inherit;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.loader-inner:before,
.loader-inner:after {
    display: none;
}
.project-item a i {
    opacity: 0.6;
}
.project-item a:hover i {
    opacity: 1;
}
.about {
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 97%, 0 100%);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 97%, 0 100%);
}
.project-item a img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

@media (max-width: 991px) {
    .project-item a h5 {
        font-size: 1rem;
    }
}

@media (max-width: 767px) {
    .video-ytb iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    .cus-banner-cls .cta-btn {
        bottom: 10%;
    }
    .project {
        padding: 3.5rem 0;
    }
    section h2 {
        margin-bottom: 2rem;
    }
    .contact {
        padding: 3rem 0;
    }
    .about {
        padding-top: 3.7rem;
    }
    .project-container {
        margin: 0 -10px;
    }
    .project-item {
        padding: 10px !important;
    }
    .project-item a i {
        font-size: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .side-menu {
        top: 60px;
    }
}