/*==================================
* Author        : "ThemeSine"
* Template Name : CarVilla  HTML Template
* Version       : 1.0
==================================== */

/*==================================
font-family: 'Poppins', sans-serif;
font-family: 'Rufina', serif;
==================================== */


/*=========== TABLE OF CONTENTS ===========
1.  General css (Reset code)
2.  Top-area
3.  Welcome-hero
4.  Model-search
5.  Service
6.  notre_equipe
7.  Featured-cars
8.  Client-say
9.  Brand
10. Blog
11. Contact
==========================================*/

/*-------------------------------------
		1.General css (Reset code)
--------------------------------------*/
*{
    padding: 0;
    margin: 0;
}

*{
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	-o-box-sizing:border-box;
	-ms-box-sizing:border-box;
	box-sizing:border-box;
}
body{
	font-family: 'Poppins', sans-serif;
	font-size:16px;
	color:#333;
    text-transform:initial;
    max-width:1920px;
    margin:0 auto;
	overflow-x:hidden;
}
a{
    color:#1d6f94 ;
    font-size:20px;
	padding:0;
    font-weight: 500;
    text-transform: capitalize;
    display:inline-block;
	text-decoration:none;
}
a:hover,a:active,a:focus {
	display:inline-block;
	text-decoration:none;
	color: #FF5F1F;
	font-size:20px;
	padding:0;
    font-weight: 500;
    text-transform: capitalize;
}
h1,h2,h3,h4,h5,h6 { 
	margin: 0;
	color:#444a57;
    font-size: 20px;
    font-weight: 500;
    text-transform: capitalize;
}
p {
	margin: 0;
	color:#333;
	font-size:16px;
    line-height: 1.8;
    text-transform: initial;
}
img{border:none;max-width:100%; height:auto;}
ul{
	padding: 0;
    margin: 0 auto;
}
ul li {
    display: inline-block;
	
}
select,input,textarea,button,.form-control{box-shadow:none;outline:0!important;}
button {background: transparent;border: 0;font-size: 16px;text-transform: capitalize;}

html,body{height: 100%;}

[placeholder]:focus::-webkit-input-placeholder {
  -webkit-transition: opacity 0.3s 0.3s ease; 
  -moz-transition: opacity 0.3s 0.3s ease; 
  -ms-transition: opacity 0.3s 0.3s ease; 
  -o-transition: opacity 0.3s 0.3s ease; 
  transition: opacity 0.3s 0.3s ease; 
  opacity: 0;
}
.owl-carousel {z-index: 0;}
/* section-header */
.section-header{
    position: relative;
    text-align: center;
    padding-top: 35px;

}
.section-header h2{
    position: relative;
    font-size: 36px;
    font-weight: 500;
    padding-bottom: 20px;
    color: #1d6f94;
}
.section-header h2:before {
    position: absolute;
    content: "";
    width: 80px;
    height: 2px;
    bottom: 0;
    left: 50%;
    margin-left: -42px;
    margin-bottom: 10px;
    background: #FF5F1F;
}
.section-header p{color: #1d6f94;text-transform: capitalize;margin-bottom:10px;}
.section-header h2 span,.section-header p span{text-transform: lowercase;}

/* section-header */

/*=============Style css=========*/


/*/* NAVBAR CONTAINER */
.navbar {
    background-color: white;
    border-bottom: transparent;
    padding-top: 0;
    padding-bottom: 0;
    transition: box-shadow 0.3s ease;
}

.navbar.sticky-top {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
    
}

/* BRAND */
.navbar-brand {
    color: #1d6f94 !important;
    font-size: 32px;
    letter-spacing: 3px;
    font-family: 'Rufina', serif;
    font-weight: 1000;
    padding: 30px 0;
    text-transform: uppercase;
}

.navbar-brand span {
    color: #4e4ffa;
    text-transform: capitalize;
}

/* NAV LINKS */
.navbar-nav .nav-link {
    color: #1d6f94;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    padding: 30px 15px;
    transition: color 0.3s linear;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: #FF5F1F;
}

.navbar-nav .nav-link.active {
    color: #FF5F1F !important;
}

/* TOGGLE BUTTON */
.navbar-toggler {
    border: 1px solid #4e4ffa;
    background-color: transparent;
    padding: 10px;
}

.navbar-toggler-icon {
    background-image: none;
}

.navbar-toggler i {
    color: #4e4ffa;
    font-size: 20px;
}

/*-------------------------------------
        3.  Welcome-hero
--------------------------------------*/
.welcome-hero {
    position: relative;
    height: 100vh; /* Adjust as needed */
    overflow: hidden;
    z-index: 1;
}
.welcome-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Black with 50% opacity */
    z-index: 0; /* Above video but below content */
}
.welcome-hero video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

  
.header-area{position: absolute;top:0;left:0;width: 100%;z-index: 99;}

/*.welcome-hero-txt*/
.welcome-hero-txt{text-align: center;padding:290px 0 372px;}
.welcome-hero-txt h2 {
    font-size: 42px;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 45px;
}
.welcome-hero-txt p {
    font-size: 18px;
    text-transform: initial;
    color: #fff;
    font-weight: 500;
    max-width: 735px;
    margin: 0 auto;
}
.welcome-btn {
    display: inline-block;
    width: 230px;
    height: 60px;
    background: #FF5F1F;
    color: #fff;
    border-radius: 3px;
    margin-top: 55px;
    -webkit-transition: .3s linear; 
    -moz-transition:.3s linear; 
    -ms-transition:.3s linear; 
    -o-transition:.3s linear;
    transition: .3s linear;
}
.welcome-btn:hover{
    background: #1d6f94;
}
/*.welcome-hero-txt*/

/*-------------------------------------
        4. Model-Search
--------------------------------------*/
.model-search-content .col-sm-12 {padding: 0;}
.model-search-content {
    padding: 40px 0;
    background: #fff;
    box-shadow:0 10px 40px 0px rgba(38,40,64,.2);
    position: absolute;
    bottom: -150px;
    width: 100%;
    border-radius: 3px;
}

/*.single-model-search*/
.single-model-search{margin-bottom: 30px;}
.single-model-search:last-child {margin-bottom: 0;}

.single-model-search h2 {
    font-size: 16px;
    font-weight: 400;
    text-transform: capitalize;
    margin-bottom: 20px;
}
/*model-select-icon*/
.model-select-icon{
    position:relative;
}
.model-select-icon .form-control {
    outline: 0!important;
    box-shadow: none;
    border: 1px solid #f8f8f8;
    background: #f8f8f8;
    height: 60px;
}
.model-select-icon select {
    font-size: 16px;
    color: #888f9d;
    text-transform: capitalize;
}
.model-select-icon:after{
    position: absolute;
    content: "\f103";
    right: 0px;
    top: 0;
    font-size: 10px;
    color: #888f9d;
    background: #f8f8f8;
    height: 60px;
    line-height: 60px;
    width: 50px;
    text-align: center;
    font-family: "Flaticon";
    pointer-events: none;
    border: transparent;
}/*model-select-icon*/
.welcome-btn.model-search-btn {
    width: 160px;
    margin-top: 80px;
    margin-left: 53px;
}

/*.single-model-search*/

/*-------------------------------------
        5. Service 
--------------------------------------*/
.service { padding: 50px  0 87px;}

.single-service-item{
    text-align: center;
    padding:55px 30px 60px;
    border-radius: 3px;
    margin-bottom: 25px;
    border: 1px solid #dadfe9;
    -webkit-transition: .3s linear; 
    -moz-transition:.3s linear; 
    -ms-transition:.3s linear; 
    -o-transition:.3s linear;
    transition: .3s linear;
}

.single-service-icon {
    display: inline-block;
    color: #FF5F1F;
}
.single-service-item h2 a {
    font-size:20px;
    color: #1d6f94;
    margin: 35px 0 20px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
        text-decoration: none ;

}
.single-service-item h2 a span {text-transform:  lowercase;}
.single-service-item p {padding-bottom: 25px;text-transform: initial;position: relative;}
.single-service-item p:before {
    position: absolute;
    content: "";
    width: 20px;
    height: 3px;
    background: #FF5F1F;
    bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
    left: 50%;
    margin-left: -10px;
}
.service-content .row {
    display: flex;
    flex-wrap: wrap;
    padding-top: 15px;
}

.service-content .single-service-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* top align */
    height: 100%;
    width: 100%;
    text-align: center;
    padding: 55px 30px 60px;
    border-radius: 3px;
    margin-bottom: 30px;
    border: 1px solid #dadfe9;
    transition: .3s linear;
}

.single-service-icon [class^="flaticon-"]:before,.single-service-icon[class*=" flaticon-"]:before,.single-service-icon [class^="flaticon-"]:after,.single-service-icon [class*=" flaticon-"]:after {font-size:60px;}
.single-service-item:hover .single-service-icon [class^="flaticon-"]:before,.single-service-item:hover .single-service-icon [class*=" flaticon-"]:before,.single-service-item:hover .single-service-icon [class^="flaticon-"]:after,.single-service-item:hover .single-service-icon [class*=" flaticon-"]:after {color:#fff;}


.single-service-item .plus{
    font-size: medium;
}
.single-service-item:hover h2 a ,.single-service-item .plus{
    color: #FF5F1F; 
    text-decoration: none ;
}

.single-service-item:hover p ,.single-service-item:hover .plus{
    color: #fff; 
}
.single-service-item:hover  p:before {background: #fff;}
.single-service-item:hover{box-shadow: 0 12px 30px 0px rgba(0,1,193,.2);background: #1d6f94;border: 1px solid #1d6f94;}
.row {
    display: flex;
    flex-wrap: wrap;
}

.col-md-4 {
    display: flex;
}
/*-------------------------------------
        6. notre_equipe
--------------------------------------*/
.team-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}

.single-team-member {
    text-align: center;
    width: 160px;
}

.team-img img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.team-info {
    margin-top: 10px;
}

.team-info h4 {
    font-size: 18px;
    color: #FF5F1F;
    margin-bottom: 5px;
}

.team-info p {
    font-size: 14px;
    color: #818998;
}

.notre_equipe{
    background: #f8f9fb;
    padding:112px 0 120px;
}
.notre_equipe-content{padding-top:96px;}
/*.notre_equipe-txt*/
.notre_equipe-txt {margin-left: 29px;margin-bottom: 30px;}
.notre_equipe-txt h2 a {
    font-size:  30px;
    font-weight:  500;
    margin-bottom: 26px;
}
.notre_equipe-txt h2 a span {text-transform:  uppercase;}
.notre_equipe-para2 {margin-top: 30px;}
.welcome-btn.notre_equipe-btn {
    width: 176px;
    margin-top: 32px;
}
/*.notre_equipe-txt*/

/*.owl-dots */
.notre_equipe .owl-theme .owl-dots .owl-dot span {
    width: 8px;
    height: 8px;
    margin: 0px 4px;
    background: transparent;
    border: 1px solid #6a7781;
    border-radius: 50%;
}
.notre_equipe .owl-theme .owl-dots .owl-dot.active span,.notre_equipe .owl-theme .owl-dots .owl-dot:hover span {background: #6a7781;}
.notre_equipe .owl-theme .owl-nav.disabled+.owl-dots {margin-top: 62px;}
/*.owl-dots */

/*-------------------------------------
        7. Featured-cars
--------------------------------------*/
.featured-cars{
    padding:112px 0 120px;
}
.featured-cars-content{padding-top:96px;}

/*.single-featured-cars*/
.featured-img-box {
    border: 1px solid #dadfe9;
}
.featured-cars-img {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
    height: 220px;
    border-bottom: 1px solid #dadfe9;
}
.featured-model-info{padding:12px 7px;}
.featured-model-info p {
    font-size: 12px;
    color: #8c92a0;
    text-transform: capitalize;
}
.featured-mi-span{display: inline-block;margin:0 10px;}
.featured-hp-span{display: inline-block;margin-right: 10px;}
.featured-cars-txt{margin:21px 0 47px;}
.featured-cars-txt h2 a{font-size: 16px;margin-bottom: 15px;}
.featured-cars-txt h2 a span{text-transform: uppercase;}
.featured-cars-txt h3{margin-bottom: 10px;}
.featured-cars-txt h3,.featured-cars-txt p{font-size: 13px;}
/*.single-featured-cars*/

/*-------------------------------------       
        8. Clients-say 
--------------------------------------*/
.clients-say{padding:115px 0 80px;background: #f8f9fb;}

/*single-testimonial-box */
.single-testimonial-box  {
    padding: 50px 30px 57px;
    text-align: center;
    border: 1px solid #dadfe9;
    overflow-x: hidden;
    -webkit-transition: .3s; 
    -moz-transition:.3s; 
    -ms-transition:.3s; 
    -o-transition:.3s;
    transition: .3s;
}

/*testimonial-description*/
.clients-say .testimonial-carousel .col-sm-3,
.clients-say .testimonial-carousel .col-xs-12{
    width:100%;
    height:auto;
}
/* testimonial-info */
.testimonial-img {
    margin-right: 5px;
    border-radius:50%;
    -webkit-transition: .3s; 
    -moz-transition:.3s; 
    -ms-transition:.3s; 
    -o-transition:.3s;
    transition: .3s;
}
.testimonial-person h2 a,.testimonial-person h4 {
    font-size: 16px;
    color: #5e6778;
    font-weight: 600;
}
.testimonial-person h4{
    margin-top: 10px;
}/* testimonial-info */


/* testimonial-comment */
.testimonial-comment p {
    font-size: 16px;
    color: #5e6778;
    margin-top: 30px;
    margin-bottom: 25px;
}/* testimonial-comment */


/*testimonial-description*/
.single-testimonial-box:hover h2 a,.single-testimonial-box:hover h4, .single-testimonial-box:hover p{color: #fff;}
.single-testimonial-box:hover{
    background: #4e4ffa;
    border: 1px solid #4e4ffa;
    box-shadow: 0 12px 30px 0px rgba(0,1,193,.2);
}

/*owl carousel*/
.clients-say .owl-carousel .owl-stage {
    position: relative;
    padding: 100px 0 40px;
}
.clients-say .owl-carousel .owl-item img {
    display: block;
    width: 70px;
    height: 70px;
    border-radius:50%;
    margin:0 auto;
}
/*owl carousel*/

/*-------------------------------------
        9. Brand
--------------------------------------*/
.brand{
    padding: 120px 0;
}
.brand-area {
    position:relative;
}
.brand-area .item {
    padding: 0 30px 0;
}

.brand .brand-area .owl-carousel .owl-item img {
    display: block;
    width: 100%;
    height:72px;
    border-radius:0;
}
/*-------------------------------------
        10. Blog
--------------------------------------*/

/*-------------------------------------
        12. footer
--------------------------------------*/
.footer-dark {
    background-color: #0A2633;
}

.footer-brand {
    font-family: 'Rufina', serif;
    font-weight: 700;
    font-size: 28px;
    color: #fff;
    letter-spacing: 2px;
}

.footer-nav a {
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    transition: color 0.3s ease;
    color: white;
}

.footer-nav a:hover ,.footer-social a i:hover{
    color: #FF5F1F;
}

.footer-social a  {
    font-size: 20px;
    transition: color 0.3s ease;
    color: white;
    text-decoration: none;

}
.info{
    color: #5f626b;
}
.footer-contact-info i {
    display: block;
    margin-bottom: 8px;
  }
  .footer-contact-info p {
    font-size: 15px;
    color: #fff;
    margin-bottom: 0;
  }
.footer-contact-info i{
    color: white;
    text-decoration: none;
}
.footer-contact-info i:hover{
    color: #FF5F1F;
}
footer{
    padding-bottom: 0;
    margin-bottom: 0;
}
/*===============================
    Scroll Top
===============================*/
#scroll-Top  .return-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: none;
    width: 40px;
    line-height: 40px;
    height: 40px;
    text-align: center;
    font-size: 20px;
    cursor: pointer;
    color: #fff;
    background:#FF5F1F;
	border:1px solid #FF5F1F;
	border-radius:50%;
	/* -webkit-transition: .02s; 
	-moz-transition:.02s; 
	-ms-transition:.02s; 
	-o-transition:.02s;
    transition: .02s; */
	z-index: 2;
}
#scroll-Top  .return-to-top:hover {
    background:#fff;
    color: #FF5F1F;
	border:1px solid #FF5F1F;
}

#scroll-Top  .return-to-top i{
    position:relative;
    bottom:0;

}

#scroll-Top  .return-to-top i{
    position: relative;
    animation-name: example;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    animation-duration:1s;
}
@keyframes example {
    0%   {bottom:0px;}
    100%  {bottom:7px;}
}
/*========================Thank you=================
/* Ajoute un espace entre chaque "ligne" de cartes */
@media (min-width: 768px) {
	.service .row > div:nth-child(n+4) {
		margin-top: 30px;
	}
}
.icon-hover {
	display: none;
}

.single-service-item:hover .icon-default {
	display: none;
}

.single-service-item:hover .icon-hover {
	display: inline;
}

/*===============================
    Galerie
===============================*/
#galerie .carousel-item img {
    max-height: 700px;
    object-fit: cover;
    border-radius: 10px;
}
a.galerie{
    color: #1d6f94;
}
a.galerie:hover ,a.galerie:active ,a.galerie:focus ,h1.galerie {
    color: #FF5F1F;
}

.card-img-top {
    transition: transform 0.3s ease;
}
.card-img-top:hover {
    transform: scale(1.05);
}
/*===============================
    Contact
===============================*/
.fond-galerie {
    /* background-color: #77C1E4; ou autre */
    /* background-image: url("../logo/logo2.png"); */
    /* background-position: center;  Center the image */
    /* background-repeat: no-repeat; Do not repeat the image */
    /* background-size: cover;  */
    background: linear-gradient(360deg,rgba(255, 95, 31, 1) 10%, rgba(29, 111, 148, 1) 90%);
}
.fond-contact {
    /* background-color: #77C1E4; ou autre */
    /* background-image: url("../logo/logo2.png"); */
    /* background-position: center;  Center the image */
    /* background-repeat: no-repeat; Do not repeat the image */
    /* background-size: cover;  */
    background: linear-gradient(360deg,rgba(255, 95, 31, 1) 10%, rgba(29, 111, 148, 1) 90%);
}
.card-contact{
    background-color: #0A2633;
    margin: 5px;
    padding: 15px;
    border-radius: 10px;
}

.btn-contact{
    background-color: #1D6F94 !important;
    color: #fff !important;
    font-family: 'Rufina', serif !important;
    font-weight: 300 !important;
    font-size: 23px !important;
    /* border-radius: 6%; */
    width: 500px;
}
.btn-contact:hover{
    transition-duration: 0.3s;
    background-color: #fff !important;
    color: #1D6F94 !important;
    width: 500px;

}

/* ============================================ */
/* card .service */
/* ============================================ */
.fond-service{
    background-color: whitesmoke;
    padding-bottom: 15px;
}
.card-service ul{
    padding-left: 40px;
    list-style-type:  circle;
}

.card-service li {
    display: list-item;
    text-transform: capitalize;
}

.card-service {
    display: flex;
    flex-direction: row;
    overflow: hidden;
/* align-items: center;  */
    border-radius: 10px;
    
    margin: 70px;
    max-width: 1000px;
    width: 100%; 
    
    margin: 20px auto;
    
    font-size: larger;
}

.card-service:nth-child(even) {
    border: 2px solid #1D6F94;
    background-color: #1D6F94 ;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.73) 10%, rgba(29, 111, 148, 0.7) 90%);
}

.card-service:nth-child(odd) {
    border: 2px solid #FF5F1F;
    background-color: #FF5F1F;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.73) 10%, rgba(255, 95, 31, 0.7) 90%);
}

.card-service-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-service:nth-child(even) .card-service-title {
    text-align: center;
    color: #1D6F94;
    text-transform: uppercase;
}

.card-service:nth-child(odd) .card-service-title {
    text-align: center;
    color: #FF5F1F;
    text-transform: uppercase;
}

.card-service-text{
    font-size: larger;

}
.card-service img {
    min-width: 400px;
    max-width: 400px;
    object-fit: cover;
}
.card-service:nth-child(odd) img {
    order: 1;
    clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 25% 100%, 0% 50%);
}

.card-service:nth-child(even) img {
    order: -1; 
    clip-path: polygon(0% 0%, 75% 0%, 100% 50%, 75% 100%, 0% 100%);
}

.card-service:last-child {
    margin-bottom: 0;
}