@media only screen and (max-width: 1199px){
    .team-card .content{
        width: 300px;
    }.team-card .content .card-top{
        height: 120px;
    }
    .portfolio-item .portfolio-content{
        height: 200px;
    }
}
@media only screen and (max-width: 991px){
    .main-menu .navbar-nav li:hover::before,
    .main-menu .navbar-nav li.active::before{
        opacity: 0;
    }
    .main-menu .navbar-nav li:hover::after,
    .main-menu .navbar-nav li.active::after{
        opacity: 0;
    }
    .main-menu .navbar-nav li{
        padding: 5px 0;
    }
    .main-menu .navbar-nav li a{
        display: inline-block;
    }
    .main-menu .navbar-nav li a:hover,
    .main-menu .navbar-nav li.active a{
        color: var(--primary-color) !important;
    }
    .main-menu .navbar-nav li:hover::after,
    .main-menu .navbar-nav li.active::after{
        opacity: 0;
    }
    .hero-section .hero-left h2{
        font-size: 40px;
    }
    .hero-section .hero-left h3{
        font-size: 24px;
    }
    .about .about-txt h3{
        font-size: 25px;
    }
    .team-card .content{
        width: 320px;
    }
    .team-card .content .card-top{
        height: 150px;
    }
    .portfolio-item .portfolio-content{
        height: 230px;
    }
    .contact form{
        width: 100%;
    }
}
@media only screen and (max-width: 767px){
    .hero-section .row{
        height: auto;
    }
    .hero-section .hero-left h2{
        font-size: 45px;
    }
    .hero-section .hero-left h3{
        font-size: 30px;
    }
    .hero-section .hero-left{
        padding: 100px 15px;
    }
    .hero-section .hero-right{
        padding: 0 15px 100px;
    }
    .about .about-img{
        margin-bottom: 50px;
    }
    .about .about-txt h3{
        font-size: 30px;
    }
    .team .section-top h2{
        margin-bottom: 50px;
    }
    .team .team-card .content{
        margin: 25px auto;
    }
    .team-card .content .card-bottom{
        min-height: auto;
    }
    .team-card .content .card-bottom .card-bottom-button{
        margin-top: 30px;
        position: initial;
    }
    .portfolio-item .portfolio-content{
        height: 350px;
    }
    .portfolio-item .portfolio-content::before{
        left: -520px;
    }
}
@media only screen and (max-width: 575px){
    .hero-section .row{
        text-align: center;
    }
    .hero-section .hero-left h2{
        font-size: 40px;
    }
    .hero-section .hero-left h3{
        font-size: 24px;
    }
    .hero-section .hero-left{
        padding: 60px 15px 60px;
    }
    .team .section-top h2{
        margin-bottom: 30px;
    }
    .portfolio-item .portfolio-content{
        height: 60vw;
    }
}
@media only screen and (max-width: 480px){
    .hero-section .hero-left h2{
        font-size: 35px;
    }
    .hero-section .hero-left h3{
        font-size: 20px;
        line-height: 30px;
    }
    .hero-section .hero-right{
        padding: 0 15px 60px;
    }
    .about .about-txt h3{
        font-size: 25px;
    }
    .portfolio-item .portfolio-content::before{
        left: -450px;
    }
}
@media only screen and (max-width: 375px){
    .hero-section .hero-left h2{
        font-size: 25px;
    }
    .hero-section .hero-left h3{
        font-size: 16px;
        line-height: 25px;
    }
    .hero-section .hero-left a.primary-button{
        margin-bottom: 25px;
    }
    .hero-section .hero-left{
        padding: 40px 15px 20px;
    }
    .about .about-txt h3{
        font-size: 22px;
        margin-bottom: 10px;
    }
    .about .about-txt{
        font-size: 15px;
        line-height: 24px;
    }
    .team-card .content{
        width: 100%;
    }
    .portfolio-item .portfolio-content::before{
        left: -380px;
    }
    .main-footer .social{
        margin-bottom: 10px;
    }
    .main-footer .social li{
        padding: 10px;
    }
    .main-footer .social li a{
        width: 35px;
        height: 35px;
        line-height: 35px;
        font-size: 15px;
        margin: 0;
    }
}