/*
Theme Name: AWS Themes
Theme URI: http://akoraweb.com/
Author: Raphaël ANJA
Author URI: https://raphaeldev.com
Version: 1.0.0
Description: A stunning visual experience for minimal loving creative. This template is a responsive and retina-ready WordPress theme with grid system layout. It is optimized for mobile touch and swipe.
Tags: one-column, two-columns, right-sidebar, custom-menu, post-formats, sticky-post, translation-ready
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: moovit-child
Template: aws-themes
*/

/* = Add your own modification from here
-------------------------------------------------------------- */

@media (min-width: 1200px) {
    .container {
        max-width: 1300px !important;
    }
}

.project-hero-content {
    max-width: 1300px !important;
}

/* Polylang Flags Inline */

.polylang-flags {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.polylang-flags li {
    /* display: inline; */ 
}
li.lang-item.lang-item-11.lang-item-en.lang-item-first {
    list-style: none;
}
.elementskit-navbar-nav-default .elementskit-submenu-panel>li>a{
    justify-content: flex-start !important;
}


input[type="submit"] {
    padding: 16px 30PX;
    border-radius: 60px !important;
    text-transform: Capitalize !important;
}

form.searchandfilter {
    justify-content: space-between;
    background: #ffffff;
    padding: 5px 20px;
    border-radius: 60px;
}
form.searchandfilter ul {
    margin-bottom: 0;
}
.searchandfilter ul select {
    outline: none !important;
    border-right: 1px dashed gold;
}
.searchandfilter li {
    display: inline-block;
    font-size: 16px !important;
    text-align: center;
    text-transform: normal !important;
}



.moovit-blog--single-wrapper .moovit-blog--single__categories a {
    background: #225481 !important;

}
.moovit-blog--banner,.moovit-blog--single-wrapper .moovit-blog--single__top-content {
    padding: 230px 15px !important;

    margin-top: -120px;
}

.moovit-blog--wrapper .moovit-blog--post__title:hover {
    color: #1e4779 !important;
}


.moovit-blog--wrapper .moovit-blog--post__title {
    font-family: inherit !important;
}


.moovit-blog--post__media {
    position: relative;
}
.moovit-blog--post__media img {
    border-radius: 15px;
}
.moovit-blog--wrapper .moovit-blog--post__info-wrap {
    padding: 30px 0 !important;
}
.moovit-blog--wrapper .moovit-blog--post__item {
    box-shadow: none !important;
}
.floating-date {
    position: absolute;
    bottom: 20px;
    padding: 8px 20px;
    left: 30px;
    line-height: normal;
    border-radius: 5px;
    color: #ffffff;

    background-color: rgba(255, 255, 255, 0.6); /* semi-transparent */
    backdrop-filter: blur(10px); /* flou de l’arrière-plan */
    -webkit-backdrop-filter: blur(10px); /* pour Safari */
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}
span.date {
    font-size: 25px;
    font-weight: 600;
}


.elementskit-single-meta {
    border-radius: 5px !important;
}


span.reading-time {
    background: #FCFAF4;
    padding: 7px;
    border-radius: 5px;
    color: #1B3A69;
    font-weight: 600;
    font-size: 16px;
}
a.moovit-blog--post__title {
    font-size: 22px !important;
    font-family: 'Open Sans';
}

.project-card {
    margin-bottom: 30px;
}


.guides-section {
  background: #FBFCFC;
  border-radius: 15px;
  margin: 0 auto;
}

.guides-section h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 25px;
}

.guide-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 15px 25px;
  margin-bottom: 15px;
}

.guide-info h3 {
  margin: 0 0 5px;
  font-size: 18px;
  font-weight: 600;
}

.guide-info p {
  margin: 2px 0;
  color: #666;
  font-size: 14px;
}

button.download-btn {
  background: #01043D;
  color: #fff !important;
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
  border: 0 !important;
  text-transform: none;
}

button.download-btn:hover,button.download-btn:focus {
  background: #01043D;
  border-radius: 30px;
  border: 0 !important;
}

.note {
  font-size: 12px;
  color: #777;
  margin-top: 10px;
  text-align: center;
}



.filters select {
  min-width: 150px;
  border-radius: 30px;
  padding: 6px 12px;
}

.card-img-top {
  height: 200px;
  object-fit: cover;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
}

.card {
  border-radius: 15px;
  transition: all 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: none !important;
}

.project-hero-banner {
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 100px 0; /* Ajustez selon vos besoins */
    position: relative; /* Très important pour positionner l'overlay */
    overflow: hidden; /* Pour s'assurer que le pseudo-élément ne déborde pas */
}

.project-hero-banner::before { /* Pseudo-élément pour créer l'overlay */
    content: ""; /* Obligatoire pour les pseudo-éléments */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6); /* Couleur noire avec 60% d'opacité */
    z-index: 1; /* Place l'overlay au-dessus de l'image de fond mais sous le contenu du texte */
}

.project-hero-content {
    position: relative; /* Positionne le contenu textuel au-dessus de l'overlay */
    z-index: 2; /* S'assure que le contenu textuel est au-dessus de l'overlay */
    max-width: 700px; /* Limite la largeur du texte de la bannière */
    margin-left: 0; /* Aligné à gauche */
}

.project-title{
    color: white !important;
}
.project-details-box {
    background: #F3F5F5;
    padding: 30px;
    border-radius: 15px;
}


/* ✅ STICKY SIDEBAR */
.project-sidebar {
  position: -webkit-sticky; /* Compatibilité Safari */
  position: sticky;
  top: 40px; /* Ajuste selon la hauteur du header */
  align-self: flex-start; /* Important avec Bootstrap */
  z-index: 5;
}

.project-main-content{
    min-height: 500px;
}




/* PROJETS SIMILAIRES CARD MEME HAUTEUR */
.similar-projects{
    margin: 50px 0;
}
.similar-project-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 15px;
  overflow: hidden;
  background: #fff;
  transition: all 0.3s ease;
  text-align: left;
}

.similar-project-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.similar-project-item img {
  object-fit: cover;
  height: 250px;
  width: 100%;
  border-radius: 15px;
}

.similar-project-item .card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  text-align: left;
  padding-top: 30px;
}



/* PROJETS CARD MEME HAUTEUR */
.project-card {
  border-radius: 10px;
  overflow: hidden;
  background-color: #fff;
  transition: all 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.project-card img {
  height: 220px;
  object-fit: cover;
  width: 100%;
  border-radius: 15px;
}

.project-card .card-body {

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  margin-top: 10px;
}
span.fw-semibold {
    font-size: 22px;
    color: #ca951c;
}
a.btn-outline-primary {
    border: 1px solid #1B3A69;
    width: fit-content;
    border-radius: 60px;
    padding: 5px 30px;
    color: #1B3A69 !important;
}
a.btn-primary {
    border: 1px solid #1B3A69;
    width: fit-content;
    border-radius: 60px;
    padding: 10px 30px;
    color: #ffffff !important;
    background-color: #1B3A69 !important;
}

span.badge {
    font-size: 16px;
    color: #666666;
}
span.text-muted.mb-1.small {
    font-size: 12px;
    line-height: 20px;
    color: #2D2D2D;
    font-weight: 600;
}

.moovit-blog--pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 40px;
  font-family: "Poppins", sans-serif;
  width: -webkit-fill-available;
}

.moovit-blog--pagination a,
.moovit-blog--pagination span {
  display: inline-block;
  padding: 10px 25px;
  border-radius: 8px;
  border: 1px solid rgba(31, 79, 127, 0.3);
  color: #1f4f7f;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.25s ease;
  background-color: rgba(31, 79, 127, 0.08);
  box-shadow: 0 2px 6px rgba(31, 79, 127, 0.05);
}

.moovit-blog--pagination a:hover {
  background-color: rgba(31, 79, 127, 0.25);
  color: #fff;
  border-color: #1f4f7f;
  transform: translateY(-1px);
}

.moovit-blog--pagination .current {
  background-color: #1f4f7f;
  color: #fff;
  border-color: #1f4f7f;
  cursor: default;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(31, 79, 127, 0.2);
}

.moovit-blog--pagination .dots {
  background: transparent;
  border: none;
  box-shadow: none;
  color: rgba(31, 79, 127, 0.6);
}




span.secteur {
    color: #ca951c;
    font-size: 18px;
    font-weight: 600;
    background: #f8efdb;
    padding: 5px;
    border-radius: 5px;
    font-size: 12px;
}
.small {
    font-size: 12px;
}

.filters {
    margin-bottom: 40px;
    background: #F3F5F5;
    border-radius: 10px;
    padding: 15px;
}
button.btn.btn-primary.create-alert {
    font-family: "Manrope", Sans-serif;
    font-size: 16px;
    font-weight: 800;
    text-transform: none;
    line-height: 1.5em;
    letter-spacing: 0em;
    border-radius: 50px 50px 50px 50px;
    padding: 15px 15px 15px 15px;
}
.budget{
    text-align: right;
}



.filters {
  gap: 1rem;
}

.filters-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9;
  text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.filter-select {
  border: none !important;
  background: transparent;
  border-right: 1px dashed #ccc !important;
  padding: 0.5rem 1rem;
  border-radius: 0 !important;
  outline: none !important;
  min-width: 150px;
  transition: all 0.2s ease;
  text-align: center;
}

.filter-select:last-child {
  border-right: none; /* pas de bordure sur le dernier */
}

.filter-select:focus {
  background-color: #f8f9fa;
}

.create-alert {
  white-space: nowrap;
}

.cta {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    padding: 30px 20px;
    border-radius: 20px;
    text-align: left !important;
    margin-left: 0px;
}
.cta h5
{
    font-weight: bold;
    font-size: 24px;
    margin-bottom: 15px;
}




/* Deux colonnes pour Nom et Prénom */
textarea.wpcf7-form-control.wpcf7-textarea {
    width: 100% !important;
}

.wpcf7 .form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap; 
}

.wpcf7 .form-row label {
    flex: 1; 
    display: flex;
    flex-direction: column;
}

/* Style général des champs */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="hidden"] {
    padding: 10px;
    border: 0px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
    width: 100%;
    box-sizing: border-box;
    font-size: 14px;
}


.wpcf7 input[type="submit"] {
    background-color:#191a23; 
    color: #fff;
    padding: 16px 20px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.wpcf7 input[type="submit"]:hover {
    background-color: #191a23;
}

.project-forum-btn {
    padding: 16px 30px;
    border-radius: 60px !important;
}


.wpcf7 label {
    font-weight: 500;
    margin-bottom: 5px;
    display: block;
}
