/* Enhanced horizontal gallery */
.pg-container {
  background-color: #003366;
  max-width: 2000px;
  padding: 0 2rem;
  position: relative;
  padding-bottom: 150px;
  padding-top: 60px;

}

.pg-header {
  margin-top: 2.5rem;
  color: white;
  font-size: 2.8rem;
  font-weight: bold;
  margin-bottom: 2.5rem;
  padding: 0 0.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.pg-header svg {
  width: 2.5rem;
  height: 2.5rem;
  color: white;
}

.pg-grid {
  display: flex;
  gap: 1.5rem;
  padding: 0.5rem;
  flex-wrap: nowrap;
}

.pg-item {
  flex: 1;
  min-width: 260px;
  max-width: 320px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
  text-decoration: none;
  color: inherit;
  position: relative;
  box-shadow: 0 4px 6px -1px rgba(0, 60, 113, 0.1);
}

.pg-item:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 60, 113, 0.2);
  transform: translateY(-4px);
}

.pg-title-wrapper {
  padding: 1rem;
  background: #2CCCD3;
  color: white;
}

.pg-image-wrapper {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.pg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.pg-item:hover .pg-image {
  transform: scale(1.1);
}

.pg-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  padding: 1.25rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.pg-item:hover .pg-content {
  transform: translateY(0);
}

.pg-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.pg-date {
  font-size: 0.875rem;
  color: #2CCCD3;
  font-weight: 500;
  margin-top: 0.5rem;
}

.pg-description {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.5;
  margin-top: 0.75rem;
}

.pg-footer {
  background-image: url(../img/motif.png);
  background-repeat: repeat-x;
  background-position: bottom;
  background-size: contain;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
}



/* Add these styles for the news section header */
.news-header {
  color: #003366;
  font-size: 2.8rem;
  font-weight: bold;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.news-header svg {
  width: 2.5rem;
  height: 2.5rem;
  color: #003366;
}


.news-slider-container {
  position: relative;
  width: 100%;
  max-width: 1800px;
  margin: 20px auto;
  overflow: hidden;
  padding: 25px;
  box-sizing: border-box;
}


.news-slides {
  display: flex;
  transition: transform 1s ease;
}

.news-slide {
  min-width: 33.33%;
  box-sizing: border-box;
  padding: 20px;
}

.news-stats {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  margin-top: 20px;
}

.news-stats-card {
  background: #fff;
  border-radius: 10px;
  width: 30%;
  min-width: 450px;
  height: 500px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid #e2e8f0;
}

.news-card-title {
  padding: 15px 20px;
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  background: #fff;
  z-index: 2;
  border-bottom: 1px solid #e2e8f0;
}

.news-image-container {
  position: relative;
  flex-grow: 1;
  min-height: 0;
}

.news-stats-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 50%, transparent 100%);
  color: white;
  padding: 20px;
  padding-top: 40px;
}

.news-card-text {
  margin: 0 0 8px 0;
  font-size: 0.95rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-read-more-link {
  display: inline-block;
  color: #fff;
  cursor: pointer;
  font-size: 0.9rem;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.news-read-more-link:hover {
  opacity: 1;
}

/* Navigation Buttons */
.news-prev-btn, .news-next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  transition: all 0.3s ease;
}

.news-prev-btn { left: 10px; }
.news-next-btn { right: 10px; }

.news-prev-btn:hover, .news-next-btn:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

@media (max-width: 768px) {
  .news-stats-card {
    width: 45%;
    min-width: 300px;
    height: 400px;
  }
}

@media (max-width: 480px) {
  .news-stats-card {
    width: 100%;
    margin-bottom: 20px;
    height: 350px;
  }
}









:root {
  --font-primary: "Montserrat", sans-serif;
  --font-secondary: "Open Sans", sans-serif;
}

/* Colors */
:root {
  --color-default: linear-gradient(45deg, rgba(0, 123, 255, 1), rgba(0, 191, 255, 1));
  --color-secondary: linear-gradient(90deg, rgba(0, 60, 113, 1) 0%, rgba(0, 60, 113, 1) 50%, rgba(0, 60, 113, 1) 100%);
  --color-white: #fff;
  --color-primary:#003C71;
  --color-light-blue:#2CCCD3;
  --color-section-header:#2eccd3;


}
/* ----------------------------------------------------------- */
body {
  background: var(--color-white);
  color: #666666;
  font-family: var(--font-secondary);
  overflow-x: hidden;
}

a {
  color: var(--color-blue);
  text-decoration: none;
  transition: 0.5s;
}

a:hover,
a:active,
a:focus {
  color: #1dc9ce;
  outline: none;
  text-decoration: none;
}

p {
  padding: 0;
  margin: 0 0 30px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  font-weight: 400;
  margin: 0 0 20px 0;
  padding: 0;
}
/*--------------------------------------------------------------
/* Modal styles 
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: #fefefe;
  margin: 20% auto; /* Increase the margin for a smaller modal 
  padding: 15px; /* Reduce the padding for a smaller content area
  border: 1px solid #888;
  width: 60%; /* Reduce the width for a smaller modal 
  max-width: 500px; /* Set a maximum width 
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* Form styles 
#loginForm label {
  font-size: 14px;
  color: #777777;
}

#loginForm input[type="text"],
#loginForm input[type="password"] {
  width: 100%; /* Adjust the width as needed 
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ddd;
}

#loginForm button {
  background-color: var(--color-primary);
  color: var(--color-white);
  border: none;
  padding: 10px 20px;
  cursor: pointer;
}

#loginForm button:hover {
  background-color: #0056b3;
}
--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  height: 100px;
  transition: all 0.5s;
  z-index: 997;
  background: var(--color-secondary);
}
#header #logo img {
  height: 100px;
  width: auto;
}
#header.header-transparent {
  background: var(--color-secondary);
} 

#header.header-scrolled {
  background: var(--color-secondary);
  height: 80px;
  transition: all 0.5s;
}

#header #logo h1 {
  font-size: 36px;
  padding: 0;
  margin: 0;
  display: inline-block;
  font-family: var(--font-primary);
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
}

#header #logo h1 a,
#header #logo h1 a:hover {
  color: var(--color-white);
}

@media (max-width: 768px) {
  #header #logo h1 {
    font-size: 28px;
  }

  #header #logo img {
    max-height: 70px;
    width:auto;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar>ul>li {
  white-space: nowrap;
  padding: 10px 0 10px 24px;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-primary);
  color: var(--color-white);
  font-size: 15px;
  padding: 0 2px;
  white-space: nowrap;
  transition: 0.3s;
  letter-spacing: 0.4px;
  position: relative;
}

.navbar a i,
.navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}



.navbar a:hover:before,
.navbar li:hover>a:before,
.navbar .active:before {
  visibility: visible;
  transform: scaleX(1);
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover>a {
  color: var(--color-blue);
}

.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 24px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: hidden;
  background: var(--color-white);
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
}

.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
  font-size: 14px;
  text-transform: none;
  color: #00ccff;
}

.navbar .dropdown ul a i {
  font-size: 12px;
}



.navbar .dropdown:hover>ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover>ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }

  .navbar .dropdown .dropdown:hover>ul {
    left: -100%;
  }
}
.username_display {
  font-weight: bold;
  color:var(--color-white);
}
.navbar a.nav-link {
  color: white; /* Assuming default color is white */
  transition: color 0.3s ease; /* Smooth transition */
}

/* Hover and Focus states */
.navbar a.nav-link:hover,
.navbar a.nav-link:focus {
  color: #00ccff; /* Light blue color on hover/focus */
  background-color: transparent; /* Prevent background color */
  text-decoration: none; /* Optional, if you don't want underline */
}

/* Active link state */
.navbar a.nav-link.active {
  color: #00ccff; /* Light blue for the active state */
  background-color: transparent;
  text-decoration: none;
}
/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/


@media (min-width: 1025px) {
  #hero {
    background-attachment: fixed;
  }
}

@media (max-height: 640px) {
  #hero {
    height: 120vh;
  }
}



#hero h2 {
  margin: 30px 0 10px 0;
  padding: 0 15px;
  font-size: 48px;
  font-weight: 400;
  line-height: 56px;
  color: var(--color-secondary);
}

@media (max-width: 768px) {
  #hero h2 {
    font-size: 10px;
    line-height: 36px;
  }
}

#hero p {
  color: var(--color-secondary);
  margin-bottom: 20px;
  padding: 0 15px;
  font-size: 24px;
}

@media (max-width: 768px) {
  #hero p {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 20px;
  }
}
#loginButton {
  font-family: var(--color-primary);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 28px;
  border-radius: 50px;
  transition: 0.5s;
  margin: 10px;
  border: 2px solid var(--color-white);
  color: white;
  background: var(--color-secondary);
}

#loginButton:hover {
  color: var(--color-secondary);
  background: var(--color-white);
  
}
.hero-text {
  padding-right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 100%;
}

.hero-text h2 {
  font-size: 2rem;
  color: #003366;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 1rem;
  color: #007bff;
  margin-bottom: 10px;
}

.hero-text p span {
  color: #00cc99; /* Highlight color for key terms */
}

.image-overlay-text {
  position: absolute;
  top: 20%; /* Center vertically */
  left: 38%; /* Center horizontally */
  transform: translate(-50%, -50%); /* Adjust position */
  color: var(--color-primary); /* Adjust text color */
  font-size: 3rem;
  font-weight: bold;
  text-align: left;
  z-index: 1; /* Ensures the text is on top */
}

/* Button positioned in the corner of the image */
.image-corner-button {
  position: absolute;
  bottom: 10px; /* 10px from the bottom */
  right: 20px; /* 10px from the right */
  z-index: 2; /* Make sure button is above the image */
  background-color: var(--color-section-header); /* Button background color */
  color: white; /* Button text color */
  height: 35px;
}

.btn-custom {
  background-color: var(--color-section-header);
  color: white;
  border-radius: 20px 20px 0 20px;
  border :1px solid var(--color-primary);
}

.btn-custom:hover {
  background-color: var(--color-primary);
  color: white;
}
/* Flexbox styling for hero section */
.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px; /* Add spacing between text and image */
}
/*--------------------------------------------------------------
# Sections
--------------------------------------------------------------*/
/* Sections Header
--------------------------------*/
.section-header .section-title {
  font-size: 32px;
  color:var(--color-section-header);
  font-weight: 400;
}

.section-header .section-description {
  text-align: center;
  padding-bottom: 40px;
  color: #777;
  font-style: italic;
}

.section-header .section-divider {
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-blue);
  background: var(--color-secondary);
  margin: 0 auto;
  margin-bottom: 20px;
}

/* Section with background
--------------------------------*/
.section-bg {
  background: #eff5f5;
}
/*--------------------------------------------------------------*/
#custom-image {
  width: 200px;      /* Ensure the width is fixed */
  height: 200px;     /* Ensure the height is fixed */
  object-fit: cover; /* Crop the image to fit the container */
  border-radius: 50%; /* Ensures it is displayed as a circle */
  border: 2px solid var(--color-section-header);
}


#hero {
  width: 100%;
  height: 20vh;
  background: var(--color-white);
  background-size: cover;
  position: relative;
  padding-top: 150px;
}

#features {
  background-color: #ffffff; /* Set a distinct background */
  margin-top: 70vh; /* Moves this section below the #hero section */
  margin-bottom: 30px; /* Avoids extra space below */
  min-height: calc(100vh - 30px); /* Ensures it covers the rest of the viewport */
  box-sizing: border-box; /* Ensures consistent box-sizing behavior */
}



#features .section-header {
  text-align: center;
  margin-bottom: 30px;
}

#features .section-title {
  font-size: 2rem;
  font-weight: bold;
  color:var(--color-section-header);
  margin-bottom: 10px;
}

#features .section-divider {
  display: block;
  width: 60px;
  height: 4px;
  background-color: #00ccff; /* Color of the divider */
  margin: 0 auto 20px; /* Center the divider */
}

#features .row {
  margin-bottom: 30px;
}

/* Circle Images */
.custom-image {
  width: 250px;
  height: 250px;
  object-fit: cover; /* Ensures image fits within the circle */
  border-radius: 50%; /* Makes the image circular */
  border: 2px solid var(--color-section-header); /* Optional border around the image */
}

.custom-btn {
  background-color: var(--color-section-header) !important;
  color: #fff;
  border-radius: 20px 20px 0 20px; /* Rounded corners except bottom-right */
  font-size: 1rem;
  transition: background-color 0.3s ease;
  height: 35px;
  border: 2px  solid var(--color-primary);
  text-align: center;
}

.custom-btn:hover {
  background-color: #0099cc;
  color: white;
}

#features p {
  font-size: 1.5rem;
  line-height: 1.5;
  color: #333;
  
}

/* --------------------------------------------
-------------- image composition -------------*/
#vision-section{
  position:relative;
  height:80vh;
}
.vision-section-footer {
  background-image: url('../img/motif.png'); /* Replace with your image path */
  background-repeat: repeat-x; /* Repeat the image horizontally */
  background-position: bottom;
  background-size: contain; /* Adjust to 'contain' for proper scaling */
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px; /* Adjust this height based on your image */
}
.image-composition {
  position: relative;
  height: 400px; /* Adjust as needed */
}

.circle {
  position: absolute;
  border-radius: 50%;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Optional shadow for a floating effect */
  object-fit: cover;
}

/* Large Circle (Eye Image) */
.large-circle {
  width: 280px;
  height: 280px;
  top: 60px; /* Adjust Y position */
  left: 20px; /* Adjust X position */
  object-fit: cover;
}

/* Small Circle 1 (Tablet Image) */
.small-circle-1 {
  width: 100px;
  height: 100px;
  top: -10px; /* Adjust Y position */
  left: 100px; /* Adjust X position */
  z-index: 1; /* Ensure this is above the large circle */
  object-fit: cover;
}

/* Small Circle 2 (Scientist Image) */
.small-circle-2 {
  width: 180px;
  height: 180px;
  top: 40px; /* Adjust Y position */
  left: 10px; /* Adjust X position */
  z-index: 0; /* Ensure this is behind the other images */
}

/* Text Styling */
.text-section h2 {
  font-size: 2rem;
  color: #00ccff;
}

.text-section p {
  font-size: 1.1rem;
  color: #555;
}/* Text Styling */
.text-section h2 {
  font-size: 2rem;
  color: #000000;
}

.text-section p {
  font-size: 1.1rem;
  color: #555;
}
/*-----------------------
mission
------------------------*/
#mission-section {
        background: url(../img/about.jpg) center center / cover no-repeat;
        position: relative;
        color: white;
        height: 400px;
        display: flex;
        justify-content: left; /* Centers content horizontally */
        align-items: center;
    }

    /* Blue overlay */
    .overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 102, 204, 0.7); /* Blue layer with opacity */
      z-index: 1;
  }

  /* Position text above the overlay */
  #mission-section .container {
      position: relative;
      z-index: 2;
      text-align: left;
  }

  /* Text styling */
  h2 {
      font-size: 2rem;
      color: var;
  }

  p {
       font-size: 1.5rem;
      color: #ffffff;
  }
/* ---------------------------------
-----valeurs ------------------------*/
.py-5 {
  padding-bottom: 0rem !important;

}
#valeurs-section {
    padding: 30px  ;
    display: block ;
    margin-bottom: 0px;
    min-height: 100vh
  }
@media (max-width: 768px) {
  #valeurs-section {
  height: 200vh;
  }
}
  /* Section Header */
  .section-header {
    margin-bottom: 30px;
  }
  
  .section-header .icon {
    width: 60px;
    margin-bottom: 10px;
  }
  
  .section-title {
    color: #00ccff;
    font-size: 2rem;
    margin-bottom: 10px;
  }
  
  .section-divider {
    display: inline-block;
    width: 60px;
    height: 4px;
    background-color: #00ccff;
  }
  
  /* Custom Circular Image Borders */
  .border-custom {
    border: 5px solid transparent;
    padding: 5px;
  }
  
  /* Image and Text Layout */
  .valeur-item img {
    width: 180px;
    height: 180px;
    object-fit: cover; /* Ensures images maintain aspect ratio */
  }
  
  .valeur-item h4 {
    font-size: 1.5rem;
    color: #003366;
  }
  
  .valeur-item p {
    font-size: 1.4rem;;
    color: #000000;
    margin-bottom: 20px;
  }
/* components ------------------
-----------------------------*/
#components-section {
  background-color: #003c71;
  height:100vh;
  padding-top: 20px;

}

@media (max-width: 768px) {
  #components-section {
  height: 80vh;
  }
}


#components-section h2 {
  color: #00ccff;
  font-size: 2.5rem;
  margin-bottom: 15px;
}

#components-section p, 
#components-section ul {
  color: #ffffff;
}

#components-section ul li {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

#components-section ul li i {
  color: #00ccff;
  margin-right: 5px;
}
#components-section h1 {
  margin-top: 20px;
}
/* Rounded corner only on the top-right of the image */
.rounded-custom {
  border-top-right-radius: 15px; /* Top-right corner rounded */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Optional shadow */
}
/******************************************
----------- plateforme ----------------*/
/* General Section Styling */
#platform-section {
  position: relative;
  height: 800px ;
}
@media (max-width: 768px) {
  .circular-image {
    display: none;
  }
  .right-side {
    display:none;
  }
}
.platform-row {
  min-height: 800px; /* Set a larger height for the row */
}

/* Left Side Text Styling */
.platform-text {
  background-color: #ffffff;
  padding: 40px;
  display: flex;
  align-items: center;
}

.platform-text h2 {
  color: #00ccff;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.platform-text p, 
.platform-text ul {
  color: #333;
}

.platform-text ul li {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.platform-text ul li i {
  color: #00ccff;
  margin-right: 5px;
}
/* Text Link Styling */
.text-muted {
  font-size: 0.9rem;
  color: #999;
}

/* Right Side: Background Image with Overlay */
.platform-bg {
  background-image: url('../img/1wz.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
}

.platform-bg .overlay {
  background-color: rgba(17, 178, 198, 0.4); /* Add a transparent overlay */
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

/* Circular Image in the Middle */
.circular-image {
  position: absolute;
  top: 50%;
  left: 59%;
  transform: translate(-50%, -50%);
  width:450px;
  height: 400px ;
  z-index: 10; /* Make sure it's above everything */
  
}
.bi-circle-fill {
  color:var(--color-section-header);
}

.circular-image img {
  border-radius: 50%; /* Circular effect */
  width:450px;
  height: 450px ;
  object-fit: cover;
  border: 2px solid #000a63;
}
/* Custom Button Styling */
.custom-btn-conn {
  background-color: var(--color-section-header);
  border:1px solid var(--color-primary);
  color: white;
  border-radius: 25px 25px 0 25px; /* Rounded button */
  display: block;
  width:20vh;
}

.custom-btn-conn:hover {
  background-color: var(--color-primary);
}
.underline-link {
  font-size: 1rem;
  color: var(--color-section-header); /* Link color */
  display: block; /* Ensures the link is on a new line below the button */
  text-align: center; /* Centers the link */
  text-decoration: underline; /* Underline the link */
  margin-top: 10px; /* Adds spacing between the button and the link */
  transition: color 0.3s ease; /* Smooth hover effect */
  width:20vh;
}

.underline-link:hover {
  color: var(--color-primary); /* Darker blue on hover */
}
/*-----------------------------------------------*/
/* General Section Styling */
#knowledge-section {
  padding-top: 100px !important;
  align-items: baseline !important;
  position: relative;
  height: auto; /* Let the height adjust based on content */
  background-image: url('../img/1w.jpg');
  background-size: cover;
  background-position: center;
}
/*---------------------------------------*/
#knowledge-section h1 {
  color: #00ccff;
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 20px; /* Add some space below the heading */
}

/* Overlay Layer */
#knowledge-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(26,72,165,0.8); /* Semi-transparent dark overlay */
  z-index: 1; /* Ensure overlay is on top of the background */
}

/* Text styling */
#knowledge-section .text-white {
  position: relative;
  z-index: 2; /* Ensure text is above overlay */
  padding: 30px; /* Add padding to the text */
}

/* Produire and Maniere Styling */
.produire h3, .maniere h3 {
  color: #ffffff;
  font-size: 1.5rem;
}

.produire ul li, .maniere ul li {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #ffffff;
}

.produire ul li i, .maniere ul li i {
  color: #00ccff;
  margin-right: 5px;
}

/* Custom Spacing Between Columns */

/* -----------------------------------------------------------
Responsive Adjustments for Smaller Screens
------------------------------------------------------------ */
@media (max-width: 768px) {
  #knowledge-section {
    padding: 30px 15px; /* Reduce padding for mobile */
    height: 50vh;
  }

  #knowledge-section h1 {
    font-size: 2rem; /* Reduce the heading size */
    line-height: 2.5rem;
    margin-bottom: 15px; /* Adjust margin for mobile */
  }

  .produire h3, .maniere h3 {
    font-size: 1.2rem; /* Reduce the subheading size */
    text-align: left; /* Center align text on mobile */
    padding-left: 20px;
  }

  .produire ul li, .maniere ul li {
    font-size: 1rem; /* Reduce the list font size */
    margin-bottom: 8px;
    text-align: left; /* Center align list items */
    padding-left: 20px;

  }

  /* Stack the columns vertically on mobile */
  .col-lg-6 {
    padding-left: 0;
    padding-right: 0;
    width: 100%; /* Full width for mobile */
  }

  .produire ul, .maniere ul {
    padding: 0 20px; /* Add some padding for list */
  }
}

/* Communication section --------
---------------------------------*/
/* General Section Styling */
#communication-section {
  padding: 60px 0;
  height:80vh;
  position:relative;

}
.communication-section-footer {
  background-image: url('../img/motif-2.png'); /* Replace with your image path */
  background-repeat: repeat-x; /* Repeat the image horizontally */
  background-position: bottom;
  background-size: contain; /* Adjust to 'contain' for proper scaling */
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px; /* Adjust this height based on your image */
}

/* Left Side Text Styling */
#communication-section h2 {
  color: #00ccff;
  font-size: 2.5rem;
  text-align: left;
}

#communication-section p {
  color: #333;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

/* Right Side Image Styling */
.custom-rounded-image {
  width: 100%;
  height: auto;
  border-radius: 0 20px 0 0; /* Top right corner rounded */
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  border:1px solid var(--color-primary)
}
@media (max-width: 768px) {
  #communication-section {
    padding: 40px 20px; /* Reduce padding for smaller screens */
  }

  #communication-section h2 {
    font-size: 2rem; /* Reduce font size for mobile */
    text-align: center; /* Center align text on smaller screens */
  }

  #communication-section p {
    font-size: 1rem; /* Adjust paragraph font size for mobile */
    text-align: center;
  }
}
/* General Section Styling */
#capacity-section {
  background-color: #418aa8 !important; /* Matches the background color in the image */
  color: rgb(0, 0, 0); /* White text on the blue background */
  padding: 60px 0;
  min-height: auto; /* Remove fixed height to allow flexibility */
}

#capacity-section h2 {
  color: #00ccff;
  font-size: 2.5rem;
  text-align: left;
}

#capacity-section p {
  font-size: 1.2rem;
  color: white;
  margin-bottom: 20px;
}

/* Highlight important sections */
#capacity-section p strong {
  font-weight: bold;
  color: #1c0080;
}

#capacity-section p em {
  font-style: italic;
  color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #capacity-section {
    padding: 40px 20px; /* Reduce padding for smaller screens */
  }

  #capacity-section h2 {
    font-size: 2rem; /* Reduce font size for mobile */
    text-align: left; /* Center align text for mobile */
    
  }
  #section-header-cap {
    margin-bottom: 40px !important;
  }

  #capacity-section p {
    font-size: 1rem; /* Adjust paragraph font size for mobile */
    text-align: left;
  }
}

/*--------footer -----------------
--------------------------------*/
/* Footer General Styling */
#footer {
  width: 100%;
}

/* Partners Section Styling */
.partners-section {
  background-color: #ffffff; /* White background */
  color: #333333; /* Dark text for readability */
  height: 400px;
}

.partners-section h2 {
  font-size: 2.5rem;
  color:var(--color-section-header);
  margin: 20px;
}

.partners-section .partner-link {
  color: #000000;
  font-size: 1.1rem;
  text-decoration: none;
}

.partners-section .partner-link:hover {
  text-decoration: underline;
}

.partners-section img {
  max-height: 80px; /* Ensures uniform logo sizes */
  margin-bottom: 10px;
}
.mb-4 {
  margin-bottom: 0rem !important;
}

/* Contact Information Section Styling */
.contact-section {
  background-color: #545454; /* Light grey background */
  color: #333333; /* Dark text for readability */
  height:auto;
}

.contact-section p {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #ffffff;
}

.contact-section i {
  color: #00ccff; /* Icon color to match theme */
  margin-right: 10px;
}

.contact-section .social-icons a {
  font-size: 1.5rem;
  color: #00ccff;
  margin-right: 15px;
  text-decoration: none;
}

.contact-section .social-icons a:hover {
  color: #0056b3;
}

/* Responsive Styling */
@media (max-width: 768px) {
  .partners-section .col-lg-4,
  .partners-section .col-md-4,
  .partners-section .col-sm-6 {
      margin-bottom: 20px;
      
  }

  .contact-section .col-lg-6 {
      margin-bottom: 20px;
      background-color: #545454; /* Light grey background */

  }
  .footer {
    background-color: #545454; /* Light grey background */
  }

.py-5{
  padding-top:0 !important;
}
.col-lg-6 {
  margin-bottom: 0 !important;
}
 #footer > div.contact-section.py-5 > div {
  background-color:#545454
 }
}
/* -----------------------------------------------------------
General Responsiveness 
------------------------------------------------------------*/
@media (max-width: 768px) {
  body {
    padding: 0 15px;
  }
  
  .container {
    padding: 0 15px;
  }
}

/* -----------------------------------------------------------*/
@media (max-width: 768px) {
  #hero h2 {
    font-size: 24px;
    line-height: 32px;
  }

  #hero p {
    font-size: 16px;
    line-height: 22px;
  }
}
/* General Navbar Styling */
#header {
  height: 100px;
  background: var(--color-secondary);
  transition: all 0.5s;
  z-index: 997;
}

#header.header-scrolled {
  height: 80px;
  background: var(--color-secondary);
  transition: all 0.5s;
}

#header #logo img {
  height: 100px;
  width: auto;
}

#header.header-scrolled #logo img {
  height: 80px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Navbar links styling */
.navbar ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.navbar li {
  position: relative;
  padding: 10px 15px;
}

.navbar a {
  color: white;
  font-size: 16px;
  padding: 8px 12px;
  text-decoration: none;
  transition: 0.3s;
}

.navbar a:hover {
  color: #00ccff;
}

.navbar .dropdown ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--color-white);
  padding: 10px;
  list-style: none;
}

.navbar .dropdown:hover ul {
  display: block;
}

.navbar .dropdown ul li {
  padding: 8px 0;
}

.navbar .dropdown ul a {
  color: #333;
  font-size: 14px;
}

.navbar .dropdown ul a:hover {
  color: #00ccff;
}

/* Responsive Navbar for smaller screens */
@media (max-width: 768px) {
  .navbar ul {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: var(--color-secondary);
    position: absolute;
    top: 80px; /* Adjust this based on your header height */
    left: 0;
    z-index: 999;
  }

  .navbar ul.active {
    display: flex;
  }

  .navbar li {
    padding: 10px;
    text-align: center;
  }

  /* Hamburger Menu Toggle */
  .mobile-nav-toggle {
    display: block;
    font-size: 28px;
    color: white;
    cursor: pointer;
  }

  .navbar a {
    font-size: 18px;
  }

  /* Adjust Logo for mobile view */
  #header #logo img {
    height: 80px;
  }

  #header.header-scrolled #logo img {
    height: 60px;
  }
}

.py-6{padding-top:15rem!important;padding-bottom:3rem!important}.pt-0{padding-top:0!important}