
:root {
    --brand: #1d4e9d;
    --dark: #1d4e9d;
    --body: #516171;
    --border: rgba(0,0,0,0.08);
    --shadow: 0px 6px 30px rgba(0, 0, 0, 0.08);
    
}

body {
    font-family: "Montserrat", sans-serif;
    color: var(--body);
    line-height: 1.7;
}
/* Empêche le débordement horizontal */
html, body {
  overflow-x: hidden;
}
h1,h2,h3,h4,h5,h6,
.display-1,.display-2,.display-3,.display-4 {
    font-weight: 700;
    color: var(--dark);
    font-family: "Montserrat", sans-serif;
}

.bg-cover {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}



a {
    color: var(--dark);
    transition: all 0.4s ease;
    font-weight: 500;
    font-family: "Montserrat", sans-serif;
}

a:hover {
    color: var(--brand);
}

section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.text-brand {
    color: var(--brand) !important;
    font-family: "Montserrat", sans-serif;
}


  
  
  
  

  @media (max-width: 768px) {
    .hero-content h1 {
      font-size: 2rem;
    }
    
    .slogan-lg {
      font-size: 1rem;
    }
    
    .btn-brand {
      padding: 8px 20px;
    }
  }

  #milestone {
    background: linear-gradient(#1d334734, #1d33473f), url(../img/back4-min.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#milestone h1,
#milestone p
#milestone span {
    color: #1d4e9d;
}


#portfolio {
  margin-bottom: 0 !important;
  padding-bottom: 40px; /* vous pouvez ajuster selon besoin */
}
#portfolio .container {
  margin-bottom: 0;
  padding-bottom: 40px;
}
.project img {
  width: 100%;
  height: 300px; /* ou 300px selon ton design */
  object-fit: cover;
  object-position: center;
  display: block;
}

.project {
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.project h6 {
    font-weight: 400;

    font-family: "Montserrat", sans-serif;
}

.project h6::before {
    content: "";
    height: 2px;
    width: 30px;
    display: inline-block;
    background: var(--brand);
    vertical-align: middle;
    margin-right: 10px;
}


.project .overlay {
    width: 100%;
    height: 220px;
    position: absolute;
    bottom: 0;
    left: 0;
    background: linear-gradient(180deg, #1d4e9d05 0%, #1d4e9d 100%);
}

.project .content {
    position: absolute;
    left: 10%;
    bottom: 10%
}

.project h2,
.project h6 {
    color: #fff;
}


#reviews {

    background: linear-gradient(-90deg, #004bad2a, #004bad38), url(../img/bg_banner1-min.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.review {
    text-align: center;
    z-index: 2;
    position: relative;
    margin: 15px;
    max-width: 768px;
    margin: auto;
}

.review .bxs-quote-alt-left {
    font-size: 120px;
    position: absolute;
    opacity: 0.1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
}

.review img {
    width: 100px !important;
    height: 100px;
    border-radius: 100px;
    margin: auto;
}

.review h5 {
    margin-top: 16px;
    margin-bottom: 4px;
    color: #fff;
}

.review h3 {
    margin-top: 26px;
    margin-bottom: 26px;
    font-size: 22px;
    color: #fff;
    font-weight: 400;
    line-height: 1.7;
}

.review small {
    color: var(--brand);
}

.review .stars {
    color: #f5d41a;
}

.blog-post {
    position: relative;
    background-color: #fff;
    box-shadow: var(--shadow);
}

.blog-post .content {
    padding: 32px;
}

.blog-post a {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--brand);
    padding: 2px 12px;
    border-radius: 100px;
    text-decoration: none;
    color: #fff;
}

.blog-post h5 {
    margin-top: 12px;
    margin-bottom: 12px;
}

.blog-post small {
    text-transform: uppercase;
    color: var(--brand);
    text-decoration: underline;
}
.newsletter-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
   font-family: "Montserrat", sans-serif;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.newsletter-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.newsletter-text {
  flex: 1;
  min-width: 300px;
}

.newsletter-image {
  flex: 1;
  min-width: 300px;
}

.newsletter-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.newsletter-form {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}

.newsletter-form input[type="email"] {
  padding: 12px;
  flex: 1;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.newsletter-form button {
  padding: 12px 20px;
  background-color: #1d4e9d;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.newsletter-form button:hover {
  background-color: #516171;
}

.sr-only {
  position: absolute;
  left: -9999px;
}



.loader {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1d3347;
    z-index: 99999;
    position: fixed;
    left: 0;
    right: 0;
}


input.form-control {
    border-color: transparent;
    height: 44px;
}

.form-control {
    background-color: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.04);;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--brand);
}