/* General Styles */
.FontArial {
    font-family: "Arial", sans-serif;
}

/* Section Styles */
.overlay-section {
  position: relative;
  z-index: 1;
}

.content-slide {
  padding: 15% 15%;
  background-image: url('images/background.jpg'); /* Add your image path here */
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  background-color: rgba(0, 0, 0, 0.5); /* 50% transparency */
  color: #fff; /* Ensure text remains readable */
}

.content-section {
  padding: 5% 5%;
  background-color: rgba(0, 0, 0, 0.5); /* 50% transparency */
}

.bg-wt {
  background-color: #E8F4F4; /* Blanc cassé du logo */
}

.bg-gr {
  background-color: #2D9B9B; /* Turquoise principal du logo */
}

.textwhite {
  color: #fff;
}

.textblack {
  color: #3A4F5C; /* Gris-bleu foncé du logo */
}

.textgreen {
  color: #2D9B9B; /* Turquoise principal */
}

.textorange {
  color: #8B9456; /* Olive/vert du logo */
}

/* Logo and Menu */
.brand {
  max-width: 120px;
  height: auto;
}

.menu {
  max-width: 30px;
  height: auto;
  cursor: pointer;
}

/* Card and Section Styling */
.cadreheight {
  background-color: #E8F4F4; /* Blanc cassé du logo */	
  height: 320px;
}

.content-section .row {
  display: flex;
  justify-content: center;
}

.content-section .col {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* link Styles */
.link1 {
    color: #2D9B9B; /* Turquoise principal */
    text-decoration: none;
}

.link1:focus,
.link1:hover {
    color: #8B9456; /* Olive/vert du logo */
    text-decoration: none;	
}

/* Button Styles */
.btn-gr {
    background-color: #2D9B9B; /* Turquoise principal */
    color: #fff;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
}

.btn-gr:focus,
.btn-gr:hover {
    background-color: #3A4F5C; /* Gris-bleu foncé */
    color: #fff;
}

/* Portfolio Styles */
.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(45, 155, 155, 0.2); /* Ombre turquoise légère */
  margin-bottom: 30px;
  transition: transform 0.3s ease;
}

.portfolio-item:hover {
  transform: scale(1.05);
}

.portfolio-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(45, 155, 155, 0.85); /* Overlay turquoise */
  opacity: 0;
  color: white;
  padding: 20px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h4 {
  font-size: 22px;
  margin-bottom: 10px;
}

.portfolio-overlay p {
  font-size: 16px;
  text-align: center;
}

/* Style pour la galerie d'images */
.gallery-item {
  width: 100%;
  height: auto;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

 /* Modal Styling */
  .modal-dialog {
    max-width: 80%;
    margin: 0 auto;
  }

  .modal-content {
    background-color: #E8F4F4; /* Blanc cassé du logo */
    border-radius: 8px;
    border: 2px solid #2D9B9B; /* Bordure turquoise */
  }

  .modal-body {
    text-align: center;
  }

  .modal-body img {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }

        #dynamicText {
            opacity: 0; /* Commence invisible */
            transform: translateX(-100%); /* Commence hors de l'écran à gauche */
            transition: opacity 1s ease, transform 1s ease;
        }
		
        /* Style de base pour le texte */
        .texte {
            display: inline-block;
            font-weight: bold;
            position: relative;
            padding-bottom: 5px;
            cursor: pointer;
        }

        /* Soulignement courbé animé */
        .texte::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 100%;
            height: 4px;
            background: #2D9B9B; /* Turquoise principal */
            border-radius: 50%; /* Crée un effet de courbe */
            animation: underline-animation 2s ease-in-out infinite; /* Animation de la ligne courbée */
        }

        /* Animation du soulignement courbé */
        @keyframes underline-animation {
            0% {
                transform: scaleX(0.5) translateY(5px); /* Débute petit et légèrement en hauteur */
            }
            50% {
                transform: scaleX(1.5) translateY(-5px); /* Agrandit et déplace vers le bas */
            }
            100% {
                transform: scaleX(0.5) translateY(5px); /* Retourne à la forme initiale */
            }
        }		
		
		
    .gallery-item {
      cursor: pointer;
      transition: transform 0.3s ease;
    }

    .gallery-item:hover {
      transform: scale(1.05);
    }

    .video-container video {
      width: 100%;
      height: auto;
      border-radius: 10px;
      margin-bottom: 20px;
    }