* {
  box-sizing: border-box;
}

/* Style the body */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  background-color:#abbe93
  ;
  color: #333;
}

/* Header/logo Title */
.header {
  padding: 60px 20px;
  text-align: center;
  background: linear-gradient(135deg, #ff8c00 0%, #ff6600 100%);
  color: white;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Increase the font size of the heading */
.header h1 {
  font-size: 48px;
  margin: 0;
  font-weight: 600;
  letter-spacing: 2px;
}

.header p {
  font-size: 18px;
  margin-top: 10px;
  opacity: 0.9;
}

/* Sticky navbar */
.navbar {
  overflow: hidden;
  background: linear-gradient(90deg, #ff6600 0%, #ffffff 50%, #003300 100%);
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  z-index: 1000;
}

/* Style the navigation bar links */
.navbar a {
  float: left;
  display: block;
  color: white;
  text-align: center;
  padding: 16px 24px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 16px;
}

/* Right-aligned link */
.navbar a.right {
  float: right;
}

/* Change color on hover */
.navbar a:hover {
  background-color: #f5f4f199;
  color: white;
}

/* Active/current link */
.navbar a.active {
  background-color: #003300;
  color: white;
}

/* Banner Container Styles */
.banner-container {
  width: 100%;
  height: 300px;
  overflow: hidden;
  position: relative;
  background-color: #ffa500;
}

.banner-slides {
  width: 100%;
  height: 100%;
  position: relative;
}

.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.banner-img.active {
  opacity: 1;
}

/* Column container */
.row {  
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 20px;
}

/* Bootstrap Grid Classes */
.col-md-4 {
  -ms-flex: 33.33%;
  flex: 33.33%;
  max-width: 33.33%;
  padding-right: 15px;
  padding-left: 15px;
}

.col-md-8 {
  -ms-flex: 66.67%;
  flex: 66.67%;
  max-width: 66.67%;
  padding-right: 15px;
  padding-left: 15px;
}

.col-md-12 {
  -ms-flex: 100%;
  flex: 100%;
  max-width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

/* Responsive: below 768px, stack columns */
@media screen and (max-width: 768px) {
  .col-md-4,
  .col-md-8,
  .col-md-12 {
    -ms-flex: 100%;
    flex: 100%;
    max-width: 100%;
    padding-right: 0;
    padding-left: 0;
    margin-bottom: 20px;
  }
}

/* Sidebar/left column */
.side {
  -ms-flex: 30%;
  flex: 30%;
  background-color: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  margin-right: 15px;
}

.side h2 {
  color: #ff6600;
  border-bottom: 2px solid #38a169;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.side h3 {
  color: #ff6600;
  margin-top: 25px;
}

/* Main column */
.main {   
  -ms-flex: 70%;
  flex: 70%;
  background-color: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.main h2 {
  color: #ff6600;
  border-bottom: 2px solid #38a169;
  padding-bottom: 10px;
  margin-bottom: 20px;
  font-size: 28px;
}

/* Fake image */
.fakeimg ,h5{
  background-color: #ff6600;
  width: 100%;
  padding: 10px;
  text-align: center;
  border-radius: 2px;
  margin-bottom: 20px;
  overflow: hidden;
  color: #ffffff;
}

.fakeimg img {
  width: 100%;
  border-radius: 2px;
  display: block;
}

/* Presentation Box */
.presentation-box {
  background: linear-gradient(-150deg, #f6924d 15%, #ffffff 50%);
  padding: 25px;
  border-radius: 8px;
  border-left: 4px solid #003300;
  line-height: 1.8;
}

.presentation-box p {
  margin-bottom: 15px;
  text-align: justify;
}

.presentation-box strong {
  color: #003300;
}

/* Cards Container */
.cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}

.card {
  flex: 1;
  min-width: 280px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-header {
  background: linear-gradient(135deg, #ffffff 0%, #ff6600 100%);
  color: white;
  padding: 20px;
  text-align: center;
}

.card-header h3 {
  margin: 0;
  font-size: 20px;
}

.card-body {
  padding: 20px;
  line-height: 1.6;
}

.card-body ul {
  padding-left: 20px;
}

.card-body li {
  margin-bottom: 8px;
}

/* Button styles */
.btn-lire-plus {
  background: linear-gradient(135deg, #003300 0%, #003300 100%);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: 15px;
  display: inline-block;
}

.btn-lire-plus:hover {
  background: linear-gradient(135deg, #2f855a 0%, #276749 100%);
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(56, 161, 105, 0.4);
}

/* Banner Section */
.banner-section {
  width: 100%;
  height: 350px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  margin-top: 20px;
}

.banner-slideshow {
  width: 100%;
  height: 100%;
  position: relative;
}

.banner-img-slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.banner-img-slide.active {
  opacity: 1;
}

/* Contact Form Styles */
.contact-form {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ff6600;
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #999;
}

/* Contact Info Box */
.contact-info-box {
  background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  border-left: 4px solid #ff6600;
}

.contact-info-box h3 {
  color: #ff6600;
  font-size: 18px;
  margin-bottom: 15px;
  margin-top: 0;
}

.contact-info-box p {
  margin: 8px 0;
  font-size: 14px;
  line-height: 1.5;
}

.contact-info-box strong {
  color: #333;
}

.contact-icon {
  margin-right: 8px;
}

/* Map Container */
.map-container {
  margin-top: 25px;
}

.map-container h3 {
  color: #ff6600;
  font-size: 18px;
  margin-bottom: 15px;
}

.map-placeholder {
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  padding: 40px;
  text-align: center;
  border-radius: 8px;
  border: 2px dashed #38a169;
}

.map-placeholder p {
  margin: 5px 0;
  font-size: 16px;
  color: #333;
}

/* Activites Grid */
.activites-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 30px;
}

@media screen and (max-width: 768px) {
  .activites-grid {
    grid-template-columns: 1fr;
  }
}

.activite-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.activite-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.activite-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

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

.activite-card:hover .activite-image img {
  transform: scale(1.05);
}

.activite-content {
  padding: 20px;
}

.activite-date {
  display: inline-block;
  background: linear-gradient(135deg, #ff8c00 0%, #ff6600 100%);
  color: white;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}

.activite-content h3 {
  color: #333;
  font-size: 18px;
  margin: 10px 0;
  line-height: 1.4;
}

.activite-content p {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
}

/* Footer */
.footer {
  padding: 30px;
  text-align: center;
  background: linear-gradient(135deg, #003300 0%, #003300 100%);
  color: white;
  margin-top: 40px;
}

.footer h3 {
  margin: 0 0 10px 0;
}

.footer p {
  margin: 5px 0;
  font-size: 14px;
  opacity: 0.9;
}

/* Responsive layout - when the screen is less than 700px wide */
@media screen and (max-width: 700px) {
  .row {   
    flex-direction: column;
    padding: 10px;
  }
  
  .side {
    margin-right: 0;
    margin-bottom: 20px;
  }
  
  .cards-container {
    flex-direction: column;
  }
  
  .card {
    min-width: 100%;
  }
  
  .banner-container,
  .banner-section {
    height: 200px;
  }
  
  .header h1 {
    font-size: 32px;
  }
  
  .contact-form {
    padding: 20px;
  }
}

/* Responsive layout - when the screen is less than 400px wide */
@media screen and (max-width: 400px) {
  .navbar a {
    float: none;
    width: 100%;
    padding: 12px;
  }
  
  .navbar a.right {
    float: none;
  }
  
  .header h1 {
    font-size: 24px;
  }
  
  .main h2,
  .side h2 {
    font-size: 22px;
  }
}

/* Animation for cards */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card,
.activite-card {
  animation: fadeInUp 0.6s ease forwards;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }

/* Form Styles */
.contact-form {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1e3c72;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1e3c72;
}

.form-group textarea {
  resize: vertical;
}

/* Contact Info Box */
.contact-info-box {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  margin-bottom: 20px;
}

.contact-info-box h3 {
  color: #1e3c72;
  font-size: 18px;
  margin-bottom: 10px;
  border-bottom: 2px solid #e74c3c;
  padding-bottom: 8px;
}

.contact-icon {
  margin-right: 8px;
}

/* Map Container */
.map-container {
  margin-top: 20px;
}

.map-placeholder {
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
}

/* Actualité Item */
.actualite-item {
  background: white;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  margin-bottom: 20px;
}

.actualite-item h4 {
  color: #1e3c72;
  margin: 10px 0 5px 0;
}

.actualite-item p {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}

/* Activité Section */
.activite-section {
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  margin-bottom: 25px;
}

.activite-section h3 {
  color: #1e3c72;
  border-bottom: 2px solid #e74c3c;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.activite-list {
  padding-left: 20px;
}

.activite-list li {
  margin-bottom: 10px;
  line-height: 1.6;
}

/* Événements */
.evenements-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.evenement-card {
  display: flex;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  overflow: hidden;
}

.evenement-date {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  color: white;
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 80px;
}

.evenement-date .jour {
  font-size: 28px;
  font-weight: bold;
}

.evenement-date .mois {
  font-size: 14px;
  text-transform: uppercase;
}

.evenement-details {
  padding: 15px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.evenement-details h4 {
  color: #003300;
  margin: 0 0 5px 0;
}

.evenement-details p {
  margin: 0;
  color: #666;
  font-size: 14px;
}
/* Cards Container service */
.cards-contain-service {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
  border-radius: 10px 30px 0px 90px;
  border-left: 4px solid #003300;
 
}

.card-service{
  flex: 1;
  min-width: 280px;
  background: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border-radius: 10px 30px 0px 90px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-service:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.card-service-header {
  background: linear-gradient(135deg, #ffffff 15%, #ff6600 100%);
  color: white;
  padding: 10px;
  text-align: center;
}
/* lignes bas e-service */
.ligne-service {
  background: linear-gradient(135deg, #003300 0%, #003300 100%);
  color: white;
  border: none;
  padding: 12px 150px 300px 500px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 200px;
  width: 600px;
 
  transition: all 0.3s ease;
  margin-top: 15px;
  display: inline-block;
}
.card-header h3 {
  margin: 0;
  font-size: 20px;
}

.card-service-body {
  padding: 20px;
  line-height: 1;
  
}

.card-body ul {
  padding-left: 20px;
}

.card-body li {
  margin-bottom: 8px;
}
.cadre {
  font-size: 8px;
  background-color: #ff6d0d;
  border-radius: 10px 30px 0px 90px;
  padding: 50px;
  margin-top: 0px;
  color: #ffffff;
}