/* Global Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-image: url(assets/images/slide-03.png);
    background-size: contain;
    background-repeat: no-repeat;
    color: #FFFFFF;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    background: #1F1F1F;
}

.logo a {
    color: #FFFFFF;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.main-nav ul li a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 400;
}

.search-icon {
    font-size: 20px;
    color: #FFFFFF;
    cursor: pointer;
}

.hero {
    background-size: cover;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 80%;
}
.hero-content{
  color: whitesmoke;
}

.hero-content h1 {
    font-size: 48px;
    margin: 0;
    color: #FFFFFF;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    color: #f0f4f8;
    font-size: 20px;
    margin: 20px 0;
    animation: fadeInUp 1.5s ease;
}

.btn-primary {
    background: #03DAC6;
    color: #121212;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    animation: fadeInUp 2s ease;
}

/* About Section */
.about {
    background-color: #ffffff;
    display: flex;
    padding: 60px 0;
    align-items: center;
}
.container .about-image img {
    align-items: center;

}
.container .about-text {
    text-align: Justify;
     }

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
 
}

.about-text p {
    font-size: 18px;
    line-height: 1.6;

}

.section-title{
    text-align: left;
  font-size: 1.8rem;
  text-transform: uppercase;
  border-bottom:solid ;
  color: #25ae56;
}

.about-image img {
    margin-left: 15%;
    max-width: 100%;
    border-radius: 10px;
    animation: fadeIn 2s ease;
    align-items: center !important;
}

/* Footer Section */
.footer {
    background: #1F1F1F;
    text-align: center;
    padding: 20px 0;
}

.footer p {
    margin: 0;
}

/* Search Modal */
.search-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.search-modal-content {
    background-color: #333333;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.search-modal-content input {
    width: 80%;
    padding: 10px;
    border-radius: 25px;
    border: none;
    margin-bottom: 20px;
}

.search-modal-content .close {
    color: #FFFFFF;
    font-size: 24px;
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
}

.platforms-section {
    padding: 60px 0;
    background-color: #f5f7fa;
    text-align: center;
}

.section-title {
    font-size: 2.5em;
    margin-bottom: 40px;
}

.platforms-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.platform-item {
    background: white;
    border-radius: 10px;
    padding: 20px;
    flex: 1 1 calc(33.333% - 20px);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.platform-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.platform-icon {
    width: 60px;
    margin-bottom: 15px;
}

h4 {
    color: #ec7c38;
    font-size: 1.5em;
    margin-bottom: 15px;
}

p {
    color: #555;
    font-size: 1em;
    line-height: 1.6;
}

.learn-more {
    color: #ee4b8e;
    font-weight: bold;
    text-decoration: none;
    margin-top: 20px;
    display: inline-block;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.learn-more:hover {
    border-color: #ee4b8e;
}




/* Mail us */
.subscribe-section {
    padding: 60px 0;
    background-color: #f0f4f8;
    text-align: center;
}

.section-subtitle {
    font-size: 1.2em;
    color: #1872b8;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5 em;
    color: #25ae56;
    margin-bottom: 20px;
}

.section-description {
    color: #555;
    font-size: 1.1em;
    margin-bottom: 30px;
}

.subscribe-form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.subscribe-input {
    width: 100%;
    max-width: 400px;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    color: #333;
    transition: border-color 0.3s ease;
}

.subscribe-input:focus {
    border-color: #25ae56;
    outline: none;
}

.subscribe-button {
    padding: 15px 25px;
    background-color: #25ae56;
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.subscribe-button:hover {
    background-color: #1e8e44;
}
/* Mail us end  */

/* General styles for the section */
/* Style for the carousel and image sizes */
.carousel img {
    width: 100%; /* Adjust as needed */
    height: auto;
  }
  
  .filters ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
  }
  
  .filters ul li {
    display: inline-block;
    margin-right: 10px;
    cursor: pointer;
    font-weight: bold;
    color: #333;
  }
  
  .filters ul li.active {
    color: #007bff; /* Couleur pour l'élément actif */
  }
  

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.error-message {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
}

.error-message ul {
    list-style-type: none;
    padding-left: 0;
}

.error-message li {
    margin: 5px 0;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
}
/* Style des messages d'erreur */
.error-message {
    color: red;
    font-size: 0.9em;
    display: none; /* Cacher par défaut */
}

/* Alerte de succès stylisée */
.alert-success {
    background-color: #4CAF50;
    color: white;
    padding: 15px;
    text-align: center;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    position: fixed;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

.alert-show {
    opacity: 1;
}
.about-image{
    max-width: 80%;
    max-height: 10%;
}






/* partner */

.Partner main{
    width: min(100%, 90vw);
    margin: auto;
}
.Partner .section-title{
    margin-left: 10%;
    margin-right: 10%;
}

.sliderP{
    width: 100%;
    height: var(--height);
    overflow: hidden;
    mask-image: linear-gradient(
        to right,
        transparent,
        #000 10% 90%,
        transparent
    );
}
.sliderP .list{
    display: flex;
    width: 100%;
    min-width: calc(var(--width) * var(--quantity));
    position: relative;
}
.sliderP .list .item{
    width: var(--width);
    height: var(--height);
    position: absolute;
    left: 100%;
    animation: autoRun 10s linear infinite;
    transition: filter 0.5s;
    animation-delay: calc( (10s / var(--quantity)) * (var(--position) - 1) - 10s)!important;
}
.sliderP .list .item img{
    width: 100%;
}
@keyframes autoRun{
    from{
        left: 100%;
    }to{
        left: calc(var(--width) * -1);
    }
}
.sliderP:hover .item{
    animation-play-state: paused!important;
    filter: grayscale(1);
}
.sliderP .item:hover{
    filter: grayscale(0);
}
.sliderP[reverse="true"] .item{
    animation: reversePlay 10s linear infinite;
}
@keyframes reversePlay{
    from{
        left: calc(var(--width) * -1);
    }to{
        left: 100%;
    }
}

.modal {
    display: none;
    position: fixed;
    z-index: 999;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 60%;
    border-radius: 10px;
}

#caption {
    color: #fff;
    text-align: center;
    padding: 10px;
    font-size: 18px;
}

#modalTitle {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

#modalDescription1, #modalDescription2 {
    margin: 10px 0;
    font-size: 16px;
    line-height: 1.5;
}

#closeModal {
    position: absolute;
    top: 50px;
    right: 50px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

#closeModal:hover {
    color: #ff6f61;
}
/* Style pour l'image dans le modal */
#modalImage {
    max-height: 60vh; /* Limite la hauteur à 60% de la hauteur de la fenêtre d'affichage */
    width: auto;      /* La largeur s'ajustera automatiquement en fonction de la hauteur */
    display: block;   /* Pour s'assurer que l'image s'affiche correctement */
    margin: 0 auto;   /* Centre l'image horizontalement */
    transition: all 0.3s ease-in-out; /* Ajoute une animation douce */
}



/* Responsive Adjustments */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.5em;

    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.2em;
    }

}
