/*
Theme Name: Coherence Child
Theme URI: http://weshore.com/
Author: Weshore Themes
Author URI: https://weshore.com
Template: coherence
Description: Smart, Powerful and Unlimited Customizable WordPress Theme.
Version: 1.0
License: Private License
License URI: license.txt
Text Domain: coherence-child
Tags: responsive, retina, rtl-language-support, blog, portfolio, custom-colors, live-editor
*/

/************** BTN STYLE *****************/


span.wpcf7-not-valid-tip{color: #de3333 !important}
/* black btn */
.btn-black  a .elementor-button-icon{font-size: 21px !important}
.btn-black  a.elementor-button-link, .btn-white-style  a.elementor-button-link{
        position: relative !important;
    }
.btn-black  a.elementor-button-link::after, .btn-white-style  a.elementor-button-link::after{
    content:'';
    position: absolute;
    height: 1px;
    width: 100%;
    border-radius: 5px;
    left:0;
    bottom: -15px;
     transition: background 0.45s ease-in-out;
}
.btn-black  a.elementor-button-link::after{ background: rgba(0,0,0,0.40);}
.btn-white-style  a.elementor-button-link::after{ background: #ffffff7a;}

.btn-black  a.elementor-button-link::before, .btn-white-style  a.elementor-button-link::before {
    content:'';
    position: absolute;
    height: 2px;
    width: 35px;
    border-radius: 5px;
    left:0;
    bottom: -15px;
    transition: width 0.3s, background 0.3s ease-in-out;
}
.btn-black  a.elementor-button-link::before{ background: #000;}
.btn-white-style  a.elementor-button-link::before{ background: #fff;}
.btn-black  a.elementor-button-link:hover::before, .btn-white-style  a.elementor-button-link:hover::before {
    background:#E21F26;
    width: 100%;
}
.btn-black  a.elementor-button-link:hover::after, .btn-white-style  a.elementor-button-link:hover::after{
  background: rgba(0,0,0,0);  
}
.btn-anime a .elementor-button-icon{font-size: 15px; transition: 0.2s ease-in-out;}
.btn-anime a:hover .elementor-button-icon{ transform: translateY(2px) !important;}
/* titles  */
.title-animer{animation: moveUpDown 2.5s ease-in-out infinite;}
@keyframes moveUpDown {0%,100% {transform: translateY(0);}50% {transform: translateY(-20px); }}
.histoire-section .img-zoom img{transition: transform 0.5s ease-in-out}
.histoire-section:hover .img-zoom img{transform: scale(1.04);}


/*-----------------------------------------***style header***----------------------------------*/
/* header home */
@media only screen and (min-width: 1025px) {
.home header:not(.sticky-active) .header-section .menu-col a.coherence-core-menu-item { color: #fff !important; transition: color 0.4s ease-in-out;}
.home header:not(.sticky-active) .header-section .menu-col a.coherence-core-menu-item:hover, .home .header-section .menu-col li.current-menu-item a.coherence-core-menu-item{color: var(--e-global-color-color_1) !important;}	
}
.home header:not(.sticky-active) .header-section{background: transparent !important; box-shadow: none !important}
.home header:not(.sticky-active) .header-section .header-col2 a.gt_switcher-popup span{ color:#fff !important;}
.home header:not(.sticky-active) .header-section .elementor-social-icon {border-color: #fff !important;}
.home header:not(.sticky-active) .header-section .elementor-social-icon:hover{border-color:transparent !important;}
.home header:not(.sticky-active) .header-section .elementor-social-icon svg path, .home header:not(.sticky-active)  div.coherence-core-nav-menu-icon svg path{fill :#fff !important; }
.home header:not(.sticky-active)  div.coherence-core-nav-menu-icon:hover svg path{fill : var(--e-global-color-color_1) !important;}

/************/
.gt_white_content { width: 300px !important;}
.section-footer .menu-icon-home > a i{display:none !important;}
.section-header .coherence-core-nav-menu .menu-icon-rs {margin-inline: 5px !important;}
.section-header .coherence-core-nav-menu .menu-icon-rs > a {padding-inline: 5px !important;}

@media only screen and (min-width: 1025px) {
  .header-section .menu-col a.coherence-core-menu-item { position: relative; }
  .header-section .menu-col a.coherence-core-menu-item::after, 
  .header-section .menu-col .current-menu-item a.coherence-core-menu-item::after {
content: ""; position: absolute; width: 0%; height: 2px; background: var(--e-global-color-color_1); bottom: -20px; left: 50%; transform: translateX(-50%) !important; transition: width 0.4s ease-in-out; opacity: 0;
  }
  .header-section .menu-col a.coherence-core-menu-item:hover::after {
    width: 100%; opacity: 1 !important;
  }
  .header-section .menu-col .current-menu-item a.coherence-core-menu-item::after {
    opacity: 1 !important; width: 100% !important;
  } 
}
 /* gtranslate */
.header-section .header-col2 a.glink span{ font-size: 14px; font-weight: 600; text-transform: uppercase; color:#333333}
.header-section .header-col2 a.glink img{ width: 27px; height: 22px;}

@media only screen and (min-width: 1201px) and (max-width: 1830px){
	.header-section .header-colimg {width:17% !important}
	.header-section .header-colimg img{width: 150px !important;}
	.header-section .menu-col a.coherence-core-menu-item{font-size: 15px !important;}
	.header-section .header-col2 a.glink span{ font-size: 12px !important;}
    .header-section .header-col2 a.glink img{ width: 18px !important; height: 21px !important;}
	.header-section .header-col2 .elementor-social-icon{ font-size: 12px !important; padding: 0px !important;}
	.coherence-core-nav-menu__layout-horizontal .coherence-core-nav-menu > li.menu-item:not(:last-child) {
        margin-right: 22px !important;}
	.header-section .menu-col{ margin-right: 0px;}	
}
@media only screen and (min-width: 1025px) and (max-width: 1200px){
	.header-section .header-colimg{width: 110px;}
	.header-section .menu-col a.coherence-core-menu-item{font-size: 13px !important;}
	.header-section .header-col2 a.glink span{ font-size: 12px !important;}
    .header-section .header-col2 a.glink img{ width: 16px !important; height: 19px !important;}
	.header-section .header-col2 .elementor-social-icon{ font-size: 12px !important; padding: 0px !important;}
	.coherence-core-nav-menu__layout-horizontal .coherence-core-nav-menu > li.menu-item:not(:last-child) {margin-right: 11px !important;}
	.header-section .menu-col{ margin-right: 0px;}

}

@media only screen and (max-width: 1024px){
	.section-header .coherence-core-dropdown .menu-icon-rs{display:none !important;}
	.header-section .header-col2 a.glink span{ font-size: 12px !important;}
    .header-section .header-col2 a.glink img{ width: 18px !important; height: 21px !important;}
	.header-section .header-col2 .elementor-social-icon{ font-size: 12px !important; padding: 0px !important;}
}


/*------------------------------------------------------***End***------------------------------------------------------*/


/*------------------------------------------------------***Begin Pages internes Style***------------------------------------------------------*/
.secteur-gr .gr_se-col{ transition: all 0.5s ease-in-out;}
.secteur-gr .gr_se-col:hover{ border-color:#E21F26 !important; transform: translateY(-6px);}
.secteur-gr .gr_se-col:hover .elementor-icon svg path{fill:#E21F26 !important; }
/*------------------------------------------------------***End***------------------------------------------------------*/


/*------------------------------------------------------***Begin Home page Style***------------------------------------------------------*/

/**************************************Style : PRE-HOME*********************************/


/**************************************Style : SLIDER HOME*********************************/

.prime-slide-general .bdt-prime-slider .bdt-slideshow-items li > div{height: 100% !important;min-height: inherit !important;}
.col-slider-inner-content > .e-con-inner {margin-right: 0px !important;margin-left: auto !important;}

@media only screen and (max-width: 394px){
	.slide-section .slide-texte {font-size:15px !important; }
	.slide-section .slide-title{font-size: 25px !important; transform: translateY(30px) !important;}
	.depicter-revert .depicter-1-element-4, .depicter-revert .depicter-1-element-17, .depicter-revert .depicter-1-element-11 {font-size:15px !important;}
	.slide-section .slide-btn {transform: translateY(40px) !important; 
}
}
/* @media only screen and (max-width: 344px){
	.slide-section .slide-btn {transform: translateY(40px) !important; }
} */
/**************************************Style : section_Secteurs*********************************/
/* prestations-code */
.prest-col .slick-next { background: #E21F26 !important; }
.prest-col .slick-next svg path { fill: white !important; }

@media only screen and (min-width: 1361px) and (max-width: 1440px){
	.prest-col .secteur-item {
		height: 510px;
	}
}
@media only screen and (min-width: 1028px) and (max-width: 1359px){
	.prest-col .secteur-item {
		height: 530px;
	}
}
/**************************************Style : section_H1*********************************/
.counter-1 .elementor-counter, .counter-2 .elementor-counter, .counter-3 .elementor-counter { position: relative; }
.counter-1 .elementor-counter::after, .counter-1 .elementor-counter::before, .counter-2 .elementor-counter::after, .counter-2 .elementor-counter::before, .counter-3 .elementor-counter::after, .counter-3 .elementor-counter::before { position: absolute; content: ""; width: 250px; height: 250px; background: transparent; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 50%; }
.counter-1 .elementor-counter::after, .counter-2 .elementor-counter::after, .counter-3 .elementor-counter::after { border: 2px solid rgba(162,173,179,0.49); z-index: -1; }
.counter-1 .elementor-counter::before, .counter-2 .elementor-counter::before, .counter-3 .elementor-counter::before { border: 4px solid transparent; border-radius: 50%; }
.counter-1 .elementor-counter::before { border-top-color: #E21F26; border-left-color: #E21F26; border-right-color: #E21F26; transform: translate(-50%, -50%) rotate(132deg); }
.counter-2 .elementor-counter::before { border-top-color: #E21F26; border-left-color: #E21F26; transform: translate(-50%, -50%) rotate(132deg); }
.counter-3 .elementor-counter::before { border: 4px solid transparent; border-top-color: #E21F26; transform: translate(-50%, -50%) rotate(40deg); }
.counter-section .elementor-counter-title { text-align: center; }

@media only screen and (min-width: 1361px) and (max-width: 1790px) {
  .counter-section .counter-col-1, .counter-section .counter-col-2, .counter-section .counter-col-3 { width: 300px; }
  .counter-section .counter-col-3 { margin-top: 90px; }
  .phone-section { margin-top: -68px !important; }
  .img-h1 img { max-width: 390px !important; }
}

@media only screen and (min-width: 1025px) and (max-width: 1360px) {
  .counter-1 .elementor-counter::after, .counter-1 .elementor-counter::before, .counter-2 .elementor-counter::after, .counter-2 .elementor-counter::before, .counter-3 .elementor-counter::after, .counter-3 .elementor-counter::before { width: 210px !important; height: 210px !important; }
  .counter-section .counter-col-1, .counter-section .counter-col-2, .counter-section .counter-col-3 { width: 210px; }
  .counter-section .counter-col-3 { margin-top: 80px; }
}

@media only screen and (max-width: 1024px) {
  .counter-1 .elementor-counter::after, .counter-1 .elementor-counter::before, .counter-2 .elementor-counter::after, .counter-2 .elementor-counter::before, .counter-3 .elementor-counter::after, .counter-3 .elementor-counter::before { width: 210px !important; height: 210px !important; }
}
@media only screen and (max-width: 663px) {
  body .counter-1 .elementor-counter::after, body .counter-1 .elementor-counter::before, body .counter-2 .elementor-counter::after, body .counter-2 .elementor-counter::before, body .counter-3 .elementor-counter::after, body .counter-3 .elementor-counter::before { width: 180px !important; height: 180px !important; }
}

@media only screen and (max-width: 497px) {
  body .counter-1 .elementor-counter::after, body .counter-1 .elementor-counter::before, body .counter-2 .elementor-counter::after, body .counter-2 .elementor-counter::before, body .counter-3 .elementor-counter::after, body .counter-3 .elementor-counter::before { width: 140px !important; height: 140px !important; }
}


/**************************************Style : section_Actualites*********************************/
 

/**************************************Style : section_Realisations*********************************/


/**************************************Style : section_valeurs*********************************/


/**************************************Style : section_points_forts*********************************/


/**************************************Style : section_avis*********************************/
 .section-avis-home .ti-controls{display:block;max-width: 100px;margin:auto !important;top:unset !important;bottom: -35px;right:0px;left: 0px;}
 .section-avis-home .ti-controls .ti-next,.section-avis-home .ti-prev{background-color: tranparent !important;border:1px solid #333333 !important; border-radius: 50%;width:52px !important;height: 52px !important;display: flex !important;align-items: center !important;}
 .section-avis-home .ti-prev {left: calc(50% - 56px) !important;}
 .section-avis-home .ti-next {right: calc(50% - 56px) !important;}
   .section-avis-home .ti-next:hover, .section-avis-home .ti-prev:hover{
	   transform: scale(1) !important;
	   background-color: #E21F26 !important;
	   border-color:#E21F26 !important;
   }
 .section-avis-home .ti-prev:hover:before, .section-avis-home .ti-prev:hover:after, .section-avis-home .ti-next:hover:before,  .section-avis-home .ti-next:hover:after{background-color: #fff !important; }
 .section-avis-home .ti-prev:before, .section-avis-home .ti-prev:after, .section-avis-home .ti-next:before,  .section-avis-home .ti-next:after{background-color: #333 !important;height: 2px !important;width:14px !important;}
.section-avis-home  .ti-prev:before{top: 29px !important;left: 15px !important; }
.section-avis-home  .ti-prev:after{top: 20px !important;left: 15px !important;  }
.section-avis-home  .ti-next:after{top: 29px !important;right: 15px !important; }
.section-avis-home .ti-next:before{top: 20px !important;right: 15px !important;}
@media only screen and (max-width: 1024px){
	.section-avis-home .ti-widget.ti-goog .ti-controls{
		display: block !important;
	}
}

@media (max-width: 479px) {
   body .ti-widget.ti-goog .ti-controls-line {
        display: none !important;
    }
}

/*--------------------------------------------------------------***End***----------------------------------------------------------------------*/
.file-size{
   display: inline;
    font-size: 13px;
    font-weight: 600;
	text-decoration:underline;
}

/*------------------------------------------------------***Begin footer style***------------------------------------------------------*/
.coherence-logo svg{width: 130px !important;height: auto !important;}
.coherence-logo svg * {fill: #fff !important;}
.menu-main-footer .hide-sub-mn .sub-menu , .menu-main-footer .hide-sub-mn .sub-arrow {display: none !important;}
.nav-link{
    pointer-events: none !important;
}
@media only screen and (min-width: 601px) {
.menu-footer .coherence-core-nav-menu{
    column-count: 2;
    column-gap: 35px;
}
}
.menu-footer .coherence-core-nav-menu li.current-menu-item a{
   -webkit-text-stroke: 0.7px currentColor; 
}
.menu-footer .coherence-core-nav-menu .sub-menu, .menu-footer .coherence-core-nav-menu  .sub-arrow {
    display: none !important;
}
@media only screen and (max-width: 600px){
    .menu-footer .coherence-core-nav-menu {
    display: flex;
    flex-direction:column;
    align-items: center;
    text-align: center;
}
}
.phone-number-footer a, .email-footer a{color: #fff !important; transition: color 0.2s ease !important; }
.phone-number-footer a:hover, .email-footer a:hover{ color: var(--e-global-color-color_1) !important;}
/*------------------------------------------------------***End***------------------------------------------------------*/



/*------------------------------------------------------***Begin Responsive Media query style***------------------------------------------------------*/

/*------------***Large devices (desktops, more than 800px)***------------*/
@media only screen and (min-width: 801px){
    
    /*style header*/

    /*style main content*/

    /*style footer*/
    
}

/*------------***Large devices (desktops, less than 1501px)***------------*/
@media only screen and (max-width: 1500px){

    /*style header*/

    /*style main content*/

    /*style footer*/

}

/*------------***Large devices (desktops, less than 1361px)***------------*/
@media only screen and (max-width: 1360px){

    /*style header*/

    /*style main content*/

    /*style footer*/

}

/*------------***Large devices (desktops, less than 1281px)***------------*/
@media only screen and (max-width: 1280px){

    /*style header*/

    /*style main content*/

    /*style footer*/
}


@media only screen and (max-width: 1200px){

    /*style header*/

    /*style main content*/

    /*style footer*/

}


/*------------***Medium devices (tablets, less than 1025px)***------------*/
@media only screen and (max-width: 1024px){

	/*style header*/

    /*style main content*/

    /*style footer*/

}

/*------------***Medium devices (tablets, Bootstrap less than 993px)***------------*/
@media only screen and (max-width: 992px){

    /*style header*/

    /*style main content*/

    /*style footer*/

}

/*------------***Tablet Media query style***------------*/
@media only screen and (max-width: 800px){
    /*style header*/

    /*style main content*/

    /*style footer*/

}

/*------------***Tablet Mini Media query style***------------*/
@media only screen and (max-width: 767px){

    /*style header*/

    /*style main content*/

    /*style footer*/

}

/*------------***Between Big Mobile and Tablet Media query style***------------*/
@media only screen and (min-width: 601px) and (max-width: 800px){

    /*style header*/

    /*style main content*/

    /*style footer*/

}

/*------------***Begin Big Mobile Media query style***------------*/
@media only screen and (max-width: 600px){

    /*style header*/

    /*style main content*/

    /*style footer*/
    .menu-main-footer .coherence-core-nav-menu a {justify-content: center !important;}

}

/*------------***Between Mobile and Tablet Media query style***------------*/
@media only screen and (min-width: 498px) and (max-width: 600px){

    /*style header*/

    /*style main content*/

    /*style footer*/

}

/*------------***Mobile Media query style***------------*/
@media only screen and (max-width: 497px){

    /*style header*/

    /*style main content*/

    /*style footer*/
}

/*------------------------------------------------------***End Media query***------------------------------------------------------*/

.tabs_projects span.e-n-tab-icon {
    display: none  !important;
}

img.img_ent {
    min-height: 57px !important;
    max-height: 57px !important;
}
.company-selection {
    margin-top: 15px;
}

.company-column {
    margin-bottom: 15px;
}

.company-card {
    display: block;
    position: relative;
    padding: 15px;
    border: 2px solid #a2adb3;
    border-radius: 8px;
    background: #fff;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.company-card:hover {
    border-color: #e21f26 !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    transform: translateY(-1px);
}
.company-info h4 {
    font-size: 15px !important;
}
.company-info h4 {
    font-size: 15px !important;
}
.company-card.agence_active {
 border-color: #e21f26 !important;
    /* background: linear-gradient(135deg, #a2adb3 0%, #a2adb3 100%); */
    box-shadow: 0 4px 12px rgb(226 31 38 / 20%);
}

.company-card.agence_active .company-content {
    /* background: rgb(38 38 38 / 70%); */
    border-radius: 6px;
    padding: 8px;
    margin: -8px;
}

.company-content {
    text-align: center;
    transition: all 0.3s ease;
}

.company-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

.company-icon svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.company-info h4 {
    margin: 0 0 5px 0;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff !important;
    line-height: 1.2;
}
span.sp-label.email_sele {
    position: unset!important;
}
.company-info p {
    margin: 0 0 8px 0;
    font-size: 13px;
    color: #ffffff;
    font-weight: 500;
}

.company-email {
    font-size: 11px;
    color: #fff;
    font-weight: 500;
    display: block;
}

.hid_email {
    display: none;
}

.company-info * ,.company-info :is(p , h4) {
    color: #000 !important;
}

.company-info .company-email {
    visibility: hidden !important;
    position: absolute;
}
body img.img_ent.img_end {
    padding:9px;
}
.company-info p {
    font-size: 25px;
    font-weight: 600;
    text-transform: uppercase !important;
}
@media (max-width: 1200px) {
.company-column {
    flex: 1  1 250px;
}
}
/* Responsive design */
@media (max-width: 768px) {
    .company-card {
        padding: 12px;
        margin-bottom: 12px;
    }
    
    .company-info h4 {
        font-size: 14px;
    }
    
    .company-info p {
        font-size: 12px;
    }
    
    .company-email {
        font-size: 10px;
    }
    
    .company-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .company-icon {
        margin-bottom: 8px;
    }
}

@media (max-width: 576px) {
    .company-card {
        padding: 10px;
    }
    
    .company-icon svg {
        width: 24px;
        height: 24px;
    }
}

/*------------------------------------------------------*** PROJETS ***------------------------------------------------------*/
.project-tabs {
    font-family: sans-serif;
}
.tabs_projects  .e-n-tab-title:hover ,.tabs_projects [aria-selected="true"].e-n-tab-title{
    background-color:#e21f26 !important;
    color:#fff !important;
}
.tab-header {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
}

.tab-header .tab-item {
    padding: 10px 20px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    border-bottom: 3px solid transparent;
}
.tab-header .tab-item.active {
    border-bottom-color: #000;
}
.tab-content .tab-pane {
    display: none;
}
.tab-content .tab-pane.active {
    display: block;
}
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.project-item {
    position: relative;
    height: 250px;
}
.single-projet {
    font-family: sans-serif;
}
.projet-featured-image img {
    width: 100%;
    height: auto;
}
.projet-columns {
    display: flex;
    margin: 40px 0;
}
.projet-left-column {
    flex: 1;
    padding-right: 20px;
}
.projet-right-column {
    flex: 1;
    padding-left: 20px;
}
.projet-gallery {
    width: 100%;
}
.projet-gallery .gallery-item img {
    width: 100%;
    height: auto;
}
.projet-tabs {
    margin: 50px auto;
    max-width: 1200px;
}
.projet-tab-header {
    display: flex;
    border-bottom: 1px solid #ddd;
}
.projet-tab-item.active {
    border-bottom-color: #000;
}
#description , #devis{
    text-align: center;
}
.projet-tab-content .projet-tab-pane {
    display: none;
    padding: 20px 0;
}
.contact-btn{
    padding: 14px 30px;
    background-color: #e21f26;
    color: #fff !important;
    font-weight: 500;
    margin-top: 20px !important;
    font-size: 18px;
}
.projet-tab-content .projet-tab-pane.active {
    display: block;
}
.similar-projects {
    margin: 40px 0;
}
.similar-projects h2 {
    text-transform: uppercase;
    margin-bottom: 20px;
}
.similar-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}
.similar-project-item {
    position: relative;
    height: 200px;
}
.similar-project-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}
.project-tabs-container {
    font-family: sans-serif;
    max-width: 1200px;
    margin: 0 auto;
}
.project-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 2px solid #ddd;
    margin-bottom: 30px;
}
.project-tab-nav-item {
    padding: 12px 24px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    color: #555;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    margin-bottom: -2px;
}
.project-tab-nav-item:hover {
    color: #000;
}
.project-tab-nav-item.active {
    color: #000;
    border-bottom-color: #000;
}
.project-tabs-content {
    padding: 0 15px;
}
.project-tab-content {
    display: none;
}
.project-tab-content.active {
    display: block;
}
.project-grid.three-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.project-grid-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project-grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.project-grid-item:hover .project-overlay {
    transform: translateY(0);
}
.project-tabs-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}
.project-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
}
.project-tab-nav-item {
    padding: 10px 20px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    color: #666;
    border-bottom: 3px solid transparent;
}
.project-tab-nav-item.active {
    color: #000;
    border-bottom-color: #000;
}
.projects-grid.three-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.project-item {
    transition: transform 0.3s ease;
}
.project-item:hover {
    transform: translateY(-5px);
}
.project-thumbnail {
    height: 0;
    padding-bottom: 100%;
    background-size: cover;
    background-position: center;
    margin-bottom: 15px;
    overflow: hidden;
}
.single-projet-container {
    max-width: 100%;
    margin: 0 auto;
}
.projet-featured-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}
.projet-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 50px auto;
    max-width: 1400px;
}
.projet-gallery {
    position: relative;
}
.projet-gallery .gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}
.contact-button {
    display: inline-block;
    background: transparent;
    color: #000;
    text-decoration: none;
    text-transform: capitalize;
    font-weight: 200;
    margin-top: 20px;
}
.projet-tab-header {
    display: flex;
    border-bottom: 1px solid #eee;
    border-top: 1px solid #eee;
    margin: 40px 0 20px;
    justify-content: center;
    padding: 20px 0px 0px 0px;
}
.projet-tab-item {
    padding: 10px 20px 20px;
    font-weight: 200;
    text-transform: uppercase;
    border-bottom: 3px solid transparent;
    font-size: 16px;
}
.projet-tab-item.active {
    border-bottom-color: #e21f26;
}
.projet-tab-pane {
    display: none;
    padding: 20px 0;
}
.projet-tab-pane.active {
    display: block;
}
.similar-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 70px;
    margin-top: 30px;
    max-width: 1200px;
    margin: 0 auto;
}
.similar-projects h2 {
    text-align: center;
    margin: 60px 0 30px;
    text-transform: uppercase;
}
.projet-gallery {
    position: relative;
    margin: 0 auto;
    max-width: 100%;
}
.projet-gallery .gallery-item {
    padding: 0 5px;
}
.projet-gallery img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}
.slick-prev,
.slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0;
    line-height: 0;
}
.slick-prev {
    left: 15px;
}
.slick-next {
    right: 15px;
}
.slick-prev:before,
.slick-next:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: solid white;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
}
.slick-prev:before {
    transform: translate(-50%, -50%) rotate(180deg);
}
.slick-next:before {
    transform: translate(-50%, -50%) rotate(-360deg);
}
.slick-dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    list-style: none;
    padding: 0;
    margin: 0;
}
.slick-dots li {
    display: inline-block;
    margin: 0 5px;
}
.slick-dots li button {
    font-size: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    padding: 0;
    cursor: pointer;
}
.slick-dots li.slick-active button {
    background: white;
}
.projet-gallery-container {
    max-width: 600px; 
    margin: 0 auto;
    position: relative;
}
.gallery-slide {
    padding: 0 5px;
    box-sizing: border-box;
}
.gallery-image {
    max-height: 400px; 
    display: block;
    margin: 0 auto;
}
.slick-list {
    padding: 20px 0; 
}
.slick-track {
    display: flex;
    align-items: center; 
}
.slick-prev:before, .slick-next:before{
    color: #c1282a !important;
}
.projects-archive-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.project-tab-btn {
    padding: 10px 20px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    color: #666;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    margin-bottom: -2px;
}
.project-tab-btn:hover {
    color: #000;
}
.project-tab-btn.active {
    color: #000;
    border-bottom-color: #000;
}
.projects-grid.three-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.project-item {
    display: block;
    position: relative;
    overflow: hidden;
    height: 0;
    padding-bottom: 100%;
}
.project-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.project-item:hover .project-overlay {
    opacity: 1;
}
.project-item:hover .project-title {
    transform: translateY(0);
}
.project-item:hover .project-image {
    transform: scale(1.05);
}
.project-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 1/1;
}
.project-item:hover .project-overlay {
    opacity: 1;
}
.project-item:hover .project-title {
    transform: translateY(0);
}
.project-item:hover .project-image {
    transform: scale(1.05);
}
.project-item:focus .project-overlay,
.project-item:focus-visible .project-overlay {
    opacity: 1;
}
.project-item:focus .project-title,
.project-item:focus-visible .project-title {
    transform: translateY(0);
}
.projects-archive-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}
.projects-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}
.project-tab {
    padding: 12px 10px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    color: #000;
    border-right: 3px solid #000;
    transition: all 0.3s ease;
    margin-bottom: -2px;
}
.project-tab:hover {
    color: #000;
}
.project-tab.active {
    color: #e21f26;
    border-right-color: #e21f26;
}
.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
}
.project-card {
    display: block;
}
.project-image-placeholder {
    width: 100%;
    height: 100%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.project-card:hover .project-overlay {
    opacity: 1;
}
.project-card:hover .project-title {
    transform: translateY(0);
}
.project-card:hover .project-image {
    transform: scale(1.05);
}
.projects-tab-pane {
    display: none;
}
.projects-tab-pane.active {
    display: block;
}
.no-projects {
    text-align: center;
    padding: 40px;
    color: #666;
}
.projet-title{
    font-weight: 700 !important;
    font-size: 40px !important;
    text-transform: uppercase !important;
}
.projet-description{
    font-family: 'Open Sans';
    font-weight: 100;
    padding: 30px 0;
    font-size: 15px;
}
.projet-gallery-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}
.projet-gallery-with-thumbs {
    display: flex;
    gap: 0px;
    flex-wrap: nowrap;
    align-items: flex-start;
    flex-direction: row-reverse;
}
.main-gallery {
    width: 80%;
}
.main-gallery .gallery-slide {
    padding: 0 5px;
}
.main-gallery .gallery-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
}
.gallery-thumbs {
    width: 20%;
    max-height: 500px;
    overflow: hidden;
}
.gallery-thumbs .thumb-slide {
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}
.gallery-thumbs .thumb-slide.slick-current {
    opacity: 1;
}
.gallery-thumbs .thumb-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 2px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}
.gallery-thumbs .slick-current .thumb-image {
    border-color: #e21f26;
}
.slick-vertical .slick-slide {
    border: none;
}
.project-card {
    position: relative;
    overflow: hidden;
}
.project-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    height: 250px !important;
}
.project-card:hover .project-overlay {
    opacity: 1 !important;
}
.project-card:hover .project-title {
    transform: translateY(0) !important;
}
.project-card:hover .project-image {
    transform: scale(1.05);
}
@supports not (aspect-ratio: 1/1) {
    .project-card {
        height: 0;
        padding-bottom: 100%;
    }
    .project-image-container {
        position: absolute;
        top: 0;
        left: 0;
    }
}
.projects-grid .project-card:hover .project-overlay {
    opacity: 1 !important;
    visibility: visible !important;
}
body .projects-grid .project-overlay,
body .projects-grid .project-title {
    all: unset;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    align-content: flex-end;

}
body .projects-grid .project-title {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    color: white;
    text-align: left;
    font-size: 18px;
    text-transform: uppercase;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    width: 100%;
    margin: 0;
    padding: 0;
    font-weight:500;
    margin-top: -15px;
    padding-bottom: 15px;
    padding-left: 10px;
}
.similar-project-link img{
    height: 400px;
    object-fit: cover;
    width: auto;
}
.similar-project-title{
    text-align: center;
    font-size: 18px;
    font-weight: 700 !important;
    text-transform: uppercase;
    padding-top: 10px;
}
.contact-button-similar{
    padding-top: 10px;
}
.similar-project {
    text-align: center;
}
/* From Uiverse.io by alexmaracinaru */ 
.cta {
  border: none;
  background: none;
  cursor: pointer;
}

.cta span {
    padding-bottom: 7px;
    letter-spacing: 3px;
    font-size: 10px;
    padding-right: 10px;
    text-transform: uppercase;
}

.cta svg {
  transform: translateX(-8px);
  transition: all 0.3s ease;
}

.cta:hover svg {
  transform: translateX(0);
}

.cta:active svg {
  transform: scale(0.9);
}

.hover-underline-animation {
  position: relative;
  color: black;
  padding-bottom: 20px;
}

.hover-underline-animation:after {
  content: "";
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #000000;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.cta:hover .hover-underline-animation:after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

@media (max-width: 1200px) {
    .projet-columns {
        gap: 20px;
        max-width: 1200px;
    }
    .projet-gallery-container {
        max-width: 650px;
    }
    .projet-info-column{
        margin-right: 40px;
    }
    .similar-projects-grid {
        gap: 60px;
        max-width: 1100px;
    }
}
@media (max-width: 1024px) {
    .projet-title {
        font-size: 30px !important;
    }
    .similar-projects-grid {
        gap: 30px;
        max-width: 900px;
    }
    .projects-tabs-nav {
        display: flex;
        flex-wrap: nowrap;
    }
    .project-tab{
        text-align: center;
    }
}
/* Responsive Adjustments */
@media (max-width: 992px) {
    .projects-grid.three-columns {
        grid-template-columns: repeat(2, 1fr);
    }
    .projet-title {
        font-size: 25px !important;
    }
}
@media (max-width: 900px) {
    .projet-gallery-container {
        max-width: 550px;
    }
    .similar-projects-grid {
        gap: 20px;
        max-width: 800px;
    }
    .similar-project-link img {
        height: 350px;
    }
    .project-tab {
        padding: 5px 5px;
        font-size: 12px;
    }
}
@media (max-width: 768px) {
    .projet-columns {
        display: flex;
        flex-direction: column-reverse;
        margin: 20px auto;
    }
    .projet-gallery-container {
        max-width: 700px;
    }
    .projet-info-column {
        margin: 40px;
    }
    .projet-tabs {
        margin: 50px 50px;
        max-width: 1200px;  
    }
    .similar-projects-grid {
        gap: 20px;
        max-width: 700px;
    }
    .similar-project-link img {
        height: 300px;
    }
    .similar-project-title{
        font-size: 18px !important;
    }
    .project-tab {
        font-size: 10px;
    }
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .projects-grid.three-columns,
    .similar-projects-grid {
        grid-template-columns: 1fr;
    }
    .projet-info-column {
        margin: 20px;
    }
    .projet-gallery-container {
        max-width: 400px;
    }
    .projet-tab-item{
        font-size: 12px;
    }
    .projects-tabs-nav {
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }
    .projects-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}
@media (max-width: 375px) {
    .projet-info-column {
        margin: 10px;
    }
}