@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:ital,wght@0,100..900;1,100..900&display=swap');


@import url('https://fonts.googleapis.com/css2?family=Lalezar&display=swap');
body{
    font-family: "Libre Franklin", sans-serif; 
}

p{
    color:#1A1C1C;
}

/* Hero Section avec Image de fond */
.hero-section {
    min-height: 730px;
    background: url('./images/bg.png') no-repeat;
       
        background-position:top center;
    
    //background-position: center;
    //background-attachment: fixed;
}

/* Barre défilante (Animation) */
.ticker-wrapper {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    color:#246BBF;
 
}




.txtabout{
    font-size:20px;
}

h1{font-size:48px}


.top-header{
    background:#ECE4D5;
}
.ticker-content {
    display: inline-block;
    padding-left: 100%;
    animation: ticker 25s linear infinite;
    font-weight: 800;
        text-transform: lowercase;
    font-size: 1.5rem;
   
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Counter Box Hero */
.counter-box h2 {
    font-size: 3rem;
    color: #fff; /* Warning color */
}

.counter-box p {
    font-size: 14px;
    color: #fff; /* Warning color */
    font-weight:bold;
    text-transform:uppercase;
}
/* Badge Style */
.badge {
    letter-spacing: 1px;
    font-weight: 600;
    background:#FCD889;
    color:#331C1C;
    font-weight:400;
}

/* Image Hover Effect */
.img-container img {
    transition: transform 0.5s ease;
}

.img-container:hover img {
    transform: scale(1.02);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ticker-content {
        font-size: 1rem;
    }
}




/* Ligne sous le titre */
.header-line {
    width: 60px;
    height: 3px;
    background-color: #ffc107;
    border-radius: 2px;
}

/* Styles Section Étapes */
.icon-circle {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.step-card h4 {
    font-size: 1.2rem;
    line-height: 1.4;
}

/* Styles Section Box Images */
.service-box {
    height: 400px;
    cursor: pointer;
}

.service-box img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-box:hover img {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    /* Dégradé noir progressif vers le bas */
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
    text-align: center;
}

/* Bouton avec dégradé Jaune/Orange */
.btn-gradient {
    background: linear-gradient(45deg, #ffc107, #ff8c00);
    color: white;
    border: none;
    font-weight: bold;
    padding: 10px 25px;
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    background: linear-gradient(45deg, #ff8c00, #ffc107);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.4);
}


/* Dégradé Radial Jaune vers Blanc en haut */
.section-radial-gradient {
    /* radial-gradient(position, forme, couleur1, couleur2) */
    background: radial-gradient(circle at top, #FBB514 -40%, rgba(255, 255, 255, 1) 70%);
}


.section-radial-gradient2 {
    /* radial-gradient(position, forme, couleur1, couleur2) */
    background: radial-gradient(circle at top, #FBB514 -40%, rgba(255, 255, 255, 1) 70%);
}


.vp{
    color:#000 !important;
    text-decoration:underline !important;
}

/* Icon Box Small */
.icon-box-small {
    min-width: 50px;
    height: 50px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Floating Badge Animation */
.floating-badge {
    border-left: 4px solid #ffc107;
}

/* Custom list spacing */
.custom-feature-list li {
    transition: transform 0.3s ease;
}

.custom-feature-list li:hover {
    transform: translateX(10px);
}

/* Responsive */
@media (max-width: 991px) {
    .section-radial-gradient {
        background: radial-gradient(circle at center, rgba(255, 193, 7, 0.1) 0%, rgba(255, 255, 255, 1) 100%);
    }
}



/* Bloc de partenariat */
.partnership-block {
    background-color: #B3D4FF; /* Couleur demandée */
    border-radius: 20px !important; /* Arrondi demandé */
}

/* Image qui remplit toute la div de droite */
.img-cover-full {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Effet sur le lien bleu */
.link-hover {
    transition: all 0.3s ease;
}

.link-hover:hover {
    color: #0056b3 !important;
    transform: translateX(5px);
}

/* Ajustement pour mobile pour éviter que l'image disparaisse */
@media (max-width: 767px) {
    .img-cover-full {
        height: 250px;
    }
}



/* Section Réalisations */
.project-box {
    height: 350px;
}
.project-box img {
    height: 100%;
    object-fit: cover;
}
.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
}

/* Footer Styles */
.footer-top-border {
    height: 4px;
    background: linear-gradient(90deg, #ffc107 0%, #ff8c00 50%, #B3D4FF 100%);
    width: 100%;
}

.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    text-decoration: none;
    color: #6c757d;
    transition: color 0.3s ease;
}
.footer-links a:hover {
    color: #ffc107;
}

.social-icons a {
    color: #333;
    background: #f8f9fa;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}
.social-icons a:hover {
    background: #ffc107;
    color: white;
}

/* Back to Top Button */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0.8;
}
#backToTop:hover {
    opacity: 1;
    transform: translateY(-5px);
}


.btxt{


background: rgba(255, 255, 255, 0.8);
    width: 460px;
    text-align: center;
    position: absolute;
    right: 0px;
    padding: 30px;
    bottom: -108px;
    border-radius:20px 0px 0px 0px;
    right:-100px;

}


.txt_dgrd{
background: linear-gradient(to right, #FBBD14, #FD8F12); /* Vos couleurs ici */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

}





.btxt h2{

    color:#FD9112;
    font-size:36px;
     font-family: "Lalezar", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.btxt p{

   
    font-size:20px;
      font-family: "Lalezar", sans-serif;
}


.tconter 
{
    position:relative;
    top:4rem;
}


footer h5{
    text-transform:uppercase;
    color:#246BBF;
    font-size:18px;
}


#backToTop{
    background:#246BBF;
    color:#fff;
}



.hicon{
    height:160px;
}


.ticker-wrapper {
    overflow: hidden; /* Cache ce qui dépasse */
    white-space: nowrap;
    display: flex;
}

.ticker-content {
    display: flex;
    width: max-content;
    animation: scrolling 20s linear infinite;
}

.ticker-item {
    display: flex;
    flex-shrink: 0;
}

.ticker-item span {
    font-weight: bold;
    padding: 0 10px;
}

/* L'animation qui crée la boucle parfaite */
@keyframes scrolling {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* On décale exactement de la moitié */
    }
}

/* Optionnel : pause au survol */
.ticker-wrapper:hover .ticker-content {
    animation-play-state: paused;
}


@media screen and (max-width: 767px) {


.counter-box h2 {
    font-size: 1rem;
   
}

.btxt{
    position:relative;
    bottom:auto;
    right:auto;
    width:100%;
}

h1{
    font-size:28px;
}
.tconter{top:0px;}

}