:root {
    --primary-color: #d4181fe7;
    --secondary-color: #c3282d;
    --primary-gradient: linear-gradient(136.37deg,#C3282D,#a31a1e 102.51%);
    --primary-button-color: #fff;
}
.secondary-button {
    background: var(--primary-gradient);
    color: var(--primary-button-color);
    cursor: pointer;
    font-weight: 500;
}
.section-spacing {
    padding-block: 40px;
}
.primary-text, .primary-text * {
    font-size: 14px;
    line-height: 22px;
}
.portfolio-card-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}
.portfolio-card-wrapper .portfolio-item{
    width: 30%;
}
/* Banner */

/* Navbar */
.nav-item:before {
    position: absolute;
    content: "";
    left: 0;
    bottom: 0;
    height: 2px;
    background: var(--primary-gradient);
    width: 0;
    transition: width .3s ease;
}

.nav-item:hover:before {
    width: 100%;
}

.navbar .nav-mobile-wrapper .nav-items{
    box-shadow: 0 0 10px #333;
    transition: right .6s ease-in;
}
.navbar .nav-mobile-wrapper .nav-items .mobile-menu-items .dropdown{
    display: grid;
    transition: grid-template-rows .5s ease-in-out;
    grid-template-rows: 0fr;
}
.navbar .nav-mobile-wrapper .nav-items .mobile-menu-items .dropdown-show{
    grid-template-rows: 1fr;
}
.navbar .nav-desktop-wrapper .nav-link,
.navbar .nav-items .mobile-menu-items .nav-link {
    background: var(--secondary-color);
    letter-spacing: 1px;
}
.portfolio-border {
    position: relative;
    background: #d9d9d9;
    background: linear-gradient(90deg, #d9d9d9 43%, #dec2db 68%);
    padding: 14px 14px 0;
    border-radius: 14px;
}
.portfolio-content {
    position: relative;
}
.portfolio-item:hover .portfolio-content:before {
    height: 60%;
}
.portfolio-content:before {
    content: "";
    position: absolute;
    top: 60%;
    transform: translateY(-50%);
    left: 0;
    height: 0;
    width: 4px;
    background: var(--secondary-color);
    transition: height .3s ease;
}
.dropdown>.mobile-navs {
    overflow: hidden;
}
.mobile-submenu li {
    position: relative;
}
h1.site-title {
    font-size: 24px;
    line-height: 32px;
}
.section-subtitle {
    color: #393939;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}
.small_para {
    color: #d0d0d0;
    font-size: 16px;
    font-weight: 400;
    line-height: 25px;
}
.footer-title {
    position: relative;
}
.primary-button {
    background: var(--primary-gradient);
    padding: 20px 30px;
    color: var(--primary-button-color);
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    line-height: 21px;
    scale: 1;
    transition: scale .3s ease;
    text-transform: uppercase;
}
.primary-button .icon {
    animation: arrows 1.5s infinite;
}
.primary-button:hover {
    scale: 1.1;
}
.footer-title:before {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary-color);
    height: 2px;
    width: 100%;
}
.copyright_sec {
    background: var(--primary-color);
    text-align: center;
    color: #fff;
    font-size: 14px;
}
.portfolio-card-wrapper .all-portfolio.active{
    display: block !important;
}
.portfolio-card-wrapper .all-portfolio.hide{
    display: none !important;
}

.footer-content{
    grid-auto-rows: 1fr;
}
#sidebar-overlay {
    /* display: none; */
    /* position: absolute; */
    /* top: 0; */
    /* bottom: 0; */
    /* left: 0; */
    /* right: 0; */
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.5);
}
@keyframes arrows {
    to {
        transform: translateX(100%);
        opacity: 0
    }
}

@media (min-width: 640px) {
    .section-spacing {
        padding-block: 75px;
    }
    h1.site-title {
        font-size: 32px;
        line-height: 37px;
    }
    .footer-title:before {
        width: 30px;
    }
}
@media (min-width: 768px) {
    .section-spacing {
        padding-block: 50px;
    }
    .section-title {
        font-size: 45px !important;
        line-height: 55px !important;
    }
    h1.site-title {
        font-size: 35px;
        line-height: 40px;
    }
    .section-subtitle {
        font-size: 19px;
        line-height: 30px;
    }
    .primary-text, .primary-text * {
        font-size: 16px;
        line-height: 23px;
        /* font-weight: 500; */
    }
}
@media (min-width: 1024px) {
    h1.site-title {
        font-size: 45px;
        line-height: 55px;
    }
}
@media (min-width: 1280px) {
    h1.site-title {
        font-size: 60px;
        line-height: 70px;
    }
}
@media only screen and (max-width: 991px) {
    .navbar .nav-mobile-wrapper .nav-items::after {
        background-image: url(../images/IconBoxBg.png);
        background-position: top center;
        background-size: 100%;
        background-repeat: no-repeat;
        content: "";
        width: 100%;
        position: absolute;
        height: 100%;
        top: 0;
        left: 0;
        z-index: -1;
        opacity: 1;
        transition: all .5s;
    }
    /* .portfolio-card-wrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    } */
    .portfolio-card-wrapper .portfolio-item{
        width: 45%;
    }
    
}
@media only screen and (max-width: 768px){
    .grid-rows-0{
        grid-auto-rows: 0fr !important;
    }
    .navbar nav a img{
        max-width: 70%;
        transition: all 0.3s ease-in-out;
    }
}

@media only screen and (max-width: 530px){
    .portfolio-card-wrapper .portfolio-item{
        width: 100%;
    }
}