/*!* Responsive CSS Document *!*/

/*!* */
/*    Created on : 1/15/2017. */
/*    Theme Name : BizPro.*/
/*    Description: BizPro- Responsive html5 template.*/
/*    Version    : 1.1.*/
/*    Author     : @SRThemes.*/
/*   */
/**!*/


/*@media (min-width: 992px) {*/
/*	.container {*/
/*		padding-left: 0 !important;*/
/*		padding-right: 0 !important;*/
/*	}*/
/*}*/

/*@media (max-width: 1366px) {*/
/*  .scroll-top {bottom: 30px; right:30px;}*/

/*}*/


/*!*(max-width: 991px)*!*/

/*@media (min-width: 992px) and (max-width: 1199px) {*/
/*  .theme-main-header .logo {width: 15%;}*/
/*  .theme-main-menu .navbar-nav>li>a {padding: 9px 12px;}*/
/*  .theme-title p {width: 95%;}*/
/*  #our-client .client-slider p {width: 70%;}*/
/*  .recent-single-post .post {width: 75%;}*/
/*}*/
/*!*(min-width: 992px) and (max-width: 1199px)*!*/

/*@media (min-width: 768px) and (max-width: 991px) {*/
/*  .theme-main-header .logo {width: 22%; margin: 0 auto;float:none; display: block;}*/
/*  .theme-main-menu.navbar {float:none;margin-top: 30px;}*/
/*  .theme-main-menu .navbar-nav>li>a {padding: 9px 8px;}*/
/*  .theme-main-header.fixed .logo {display: none;}*/
/*  .theme-main-header.fixed .theme-main-menu.navbar {margin-top: 0;}*/
/*  #project-section .project-gallery .grid-item,*/
/*  #team-section .team-member-wrapper .float-left {width: 50%;}*/
/*  #our-client .client-slider p {width: 90%;}*/
/*  .inner-page-banner .opacity {padding-top: 210px;}*/
/*}*/
/*!*(min-width: 768px) and (max-width: 991px)*!*/

@media (max-width: 767px) {
    .scroll-top {
        bottom: 10px;
        right: 5px;
    }

    .theme-main-header {
        padding-top: 15px;
    }

    .theme-main-header .logo {
        position: absolute;
        top: 15px;
        left: 15px;
        z-index: 99;
    }

    .theme-main-menu.navbar {
        border: none;
        margin: 20px 0;
        position: static !important;
    }

    .theme-main-header.fixed {
        background: #373636;
        max-height: 100%;
        overflow-y: auto;
    }

    .theme-main-menu .navbar-collapse {

        padding: 0 15px;
        box-shadow: none;
        border: none;
        background: #1e1e1e;
        margin-top: 15px;
    }

    .theme-main-header li.dropdown-holder .fa {
        display: block;
    }

    .theme-main-menu .navbar-nav > li > a {
        padding: 15px 15px;
        line-height: 14px;
        margin: 20px 0;
    }

    .theme-main-menu.navbar .nav > li ul.sub-menu {
        position: static;
        width: 100%;
        opacity: 1;
        background: #000;
        visibility: visible;
        display: none;
        padding-left: 25px;
        -webkit-transition: none;
        -moz-transition: none;
        -ms-transition: none;
        -o-transition: none;
        transition: none;
    }

    .big-image {
        max-height: 50px !important;
        max-width: 250px !important;
    }


    #team-section .team-member-wrapper .float-left,
    #project-section .project-gallery .grid-item,
    #service-section .row [class*="col-"], #skill-section [class*="col-"],
    #pricing-section [class*="col-"], #contact-section .send-message,
    #contact-section .contact-address-content [class*="col-"],
    #blog-section [class*="col-"], .theme-main-header .container,
    .blog-details-page .p-fix {
        padding-left: 0;
        padding-right: 0;
    }

}

/*(max-width: 767px)*/

@media (max-width: 650px) {
    #success, #error {
        width: 84%;
        height: auto;
        top: calc(50% - 50px);
        left: 8%;
        padding: 30px 10px;
        margin: 0;
    }

    .blog-details-post-wrapper .list-img-wrapper img,
    .blog-details-post-wrapper .post-share-area ul {
        float: none;
        width: 100%;
    }

    .blog-details-post-wrapper .list-img-wrapper ul {
        float: none;
        padding: 30px 0 0 0;
    }

    .blog-details-post-wrapper .post-share-area .share-icon li:first-child {
        margin-top: 30px;
    }
}

@media (max-width: 550px) {
    #project-section .project-gallery .grid-item,
    #project-section .project-gallery .grid-item img {
        width: 100%;
    }

    #project-section .project-menu ul li {
        font-size: 14px;
        margin: 15px 2px 0;
        border-bottom: 1px solid #fff;
    }

    #team-section .team-member-wrapper .single-team-member .img .opacity span {
        margin: 5px 0;
    }

    #team-section .team-member-wrapper .single-team-member .member-name ul li a {
        width: 40px;
        line-height: 38px;
    }

    .banner h1 {
        font-size: 35px;
    }

    .banner h6 {
        font-size: 35px;
        overflow-wrap: break-word;
    }

    .blog-details-post-wrapper .comment-area .single-comment.reply-comment {
        margin-left: 60px;
    }
}

@media (max-width: 430px) {
    .banner h1 {
        font-size: 27px;
    }

    .banner h6 {
        font-size: 14px;
        word-wrap: break-word;
        overflow-wrap: break-word;

    }

    .hermes.tparrows {
        display: none;
    }

    .recent-single-post .post {
        width: 100%;
        padding: 12px 0 0 0;
    }
}
@media (max-width: 360px) {
    .banner h1 {
        font-size: 27px;
    }

    .banner h6 {
        font-size: 12px;
        word-wrap: break-word;
        overflow-wrap: break-word;

    }

    .hermes.tparrows {
        display: none;
    }

    .recent-single-post .post {
        width: 100%;
        padding: 12px 0 0 0;
    }
}
/* Media queries pour différentes tailles d'écrans */

/* Media queries for responsiveness */
@media (min-width: 768px) {
    #service-section .single-service-content {
        height: 350px;
    }

    #service-section .single-service-content:hover p {
        -webkit-transform: translate3D(0, 0, 0);
        -moz-transform: translate3D(0, 0, 0);
        -ms-transform: translate3D(0, 0, 0);
        -o-transform: translate3D(0, 0, 0);
        transform: translate3D(0, 0, 0);
        text-align: center;
    }
}
@media (max-width: 767px) {
    #service-section .single-service-content {
        padding: 110px 15px;
    }

    #service-section .single-service-content:hover p {
        -webkit-transform: translate3D(0, 25%, 0);
        -moz-transform: translate3D(0, 25%, 0);
        -ms-transform: translate3D(0, 25%, 0);
        -o-transform: translate3D(0, 25%, 0);
        transform: translate3D(0, 25%, 0);
        text-align: center;
    }
}

@media (max-width: 576px) {
    #service-section .single-service-content {
        padding: 100px 15px;
    }

    #service-section .single-service-content:hover p {
        -webkit-transform: translate3D(0, 50%, 0);
        -moz-transform: translate3D(0, 50%, 0);
        -ms-transform: translate3D(0, 50%, 0);
        -o-transform: translate3D(0, 50%, 0);
        transform: translate3D(0, 50%, 0);
        text-align: center;

    }
}

@media (max-width: 430px) {
    #service-section .single-service-content {
        padding: 90px 15px;
        height: auto;
    }

    #service-section .single-service-content:hover p {
        -webkit-transform: translate3D(0, 60%, 0);
        -moz-transform: translate3D(0, 60%, 0);
        -ms-transform: translate3D(0, 60%, 0);
        -o-transform: translate3D(0, 60%, 0);
        transform: translate3D(0, 60%, 0);
        text-align: center;
    }
}

/* Media query for screens below 360px */
@media (max-width: 360px) {
    #service-section .single-service-content {
        padding: 80px 15px;
        height: auto;
    }

    #service-section .single-service-content:hover p {
        -webkit-transform: translate3D(0, 35%, 0);
        -moz-transform: translate3D(0, 35%, 0);
        -ms-transform: translate3D(0, 35%, 0);
        -o-transform: translate3D(0, 35%, 0);
        transform: translate3D(0, 35%, 0);
        text-align: center;
    }
}


@media (max-width: 767px) {
    #about-us .theme-title {
        margin-top: 30px;
    }

    #about-us .single-about-content {
        margin-bottom: 50px;
    }

    #about-us .activites {
        height: auto;
    }
}

@media (max-width: 576px) {
    #about-us .theme-title {
        margin-top: 20px;
    }

    #about-us .activites {
        width: 100%;
    }
}

@media (max-width: 430px) {
    #about-us .activites {
        padding: 5px;
    }
}
/* Media query pour les écrans jusqu'à 360px */
@media (max-width: 360px) {
    #about-us .theme-title {
        margin-top: 15px;
        font-size: 1.5em;
    }

    #about-us .single-about-content {
        margin-bottom: 30px;
    }

    #about-us .activites {
        margin: 2rem auto;
        height: auto;
    }
}

/*media queries for activity cards*/

/* Media query for large screens (920px and above) */
@media (min-width: 768px) and (max-width: 991px) {
    .row.justify-content-center {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    .row.justify-content-center .col-md-6 {
        max-width: 80%; /* Increase width for medium screens */
        flex: 0 0 80%; /* Allow more space for each card */
    }
}

/* Adjust layout for screens between 992px and 1199px */
@media (min-width: 992px) and (max-width: 1199px) {
    .row.justify-content-center {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    .row.justify-content-center .col-md-6 {
        max-width: 505%; /* This range is working well, so keep this width */
        flex: 0 0 50%;
    }
}

/* Adjust layout for screens 1200px and above */
@media (min-width: 1200px) {
    .row.justify-content-center {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    .row.justify-content-center .col-md-6 {
        max-width: 50%; /* Increase width slightly to prevent squeezing */
        flex: 0 0 50%;
    }
}