/* Reset et styles de base */
* {
    position: relative;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    margin-left: cm;
    margin-right: cm;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(to right, rgba(0, 36, 214, 0), rgba(0, 36, 214, 0)), 
                url('images/back.jpg');
}




/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #24c59d;
    padding: 15px 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    height: 2.5cm;
}

.hero-container{
    margin-left: auto;
}

@media (max-width: 768px) {
    .page-header {
      display: block;
      width: 100%;
      padding: 10px;
      font-size: 16px;
    }
  }


.logo {
    margin-right: 50px;
}

.logo img {
    height: 100px;
}

nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

nav a {
    margin: 0 15px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 16px;
    transition: color 1s;
    white-space: nowrap;
}



/* Sections Hero */
.hero-container{
    position: relative;
    min-height: 80vh;
    overflow: hidden;
    width: 100%;
    transition-delay: 5s;
}

.hero-container-histoire,
.hero-container-management,
.hero-container-direction,
.hero-container-mission, 
.hero-container-products,
.hero-container-particulier,
.hero-container-professionnel,
.hero-container-contact,
.hero-container-western,
.hero-container-cartes,
.hero-container-investissement {
    position: relative;
    min-height: 50vh;
    overflow: hidden;
    width: 100%;
    background-image: "1200px","700px";

}

.hero-contentpart h2 {
    color: #000;
    font-size: 60px;
    position: center;
}


.hero-section {
    position: absolute;
    width: 100%;
    height: 100%;
    display: relative;
    align-items: center;
    background-size: cover;
    background-position: center;
    padding: 0 10%;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-section.active {
    opacity: 1;
}

.hero-content {
    max-width: 1200px;
}

/* Styles spécifiques pour chaque section Hero */
.hero-left {
    background: url('images/D.jpg');
    background-size: cover;
    text-align: center;
}

.hero-center {
    background: url('images/a.jpg');
    background-size: cover;            
}

.hero-right {
    background: linear-gradient(to left, rgba(0, 51, 102, 0.8), rgba(0, 51, 102, 0.5)), 
                url('images/bp1.jpg');
    background-size: cover;            
}


.hero-management {
    background: linear-gradient(to right, #007450d6, #0cb362d3), 
                url('images/bp1.jpg');
    background-size: cover;            
}

.hero-direction {
    background: linear-gradient(to left, #007450d6, #0cb362d3), 
                url('images/bp1.jpg');
    background-size: cover;            
}



.hero-products {
    background: linear-gradient(to right, rgba(0, 17, 207, 0.537), rgba(0, 17, 207, 0.537)), 
                url('images/bp1.jpg');
    background-size: cover;
}

    .hero-particulier {
    background: linear-gradient(to right, rgba(0, 51, 138, 0.005), rgba(0, 51, 138, 0.005)), 
                url('images/bp1.jpg');
    background-size: cover;           
}

.hero-professionnel {
    background: linear-gradient(to right, rgba(0, 1, 3, 0.313), rgba(0, 1, 3, 0.313)), 
                url('images/bp1.jpg');
    background-size: cover;            
}

.hero-western {
    background: linear-gradient(to right, rgba(216, 213, 3, 0.329), rgba(0, 51, 138, 0.005)), 
                url('images/bp1.jpg');
    background-size: cover;            
}

.hero-cartes {
    background: linear-gradient(to right, rgba(0, 36, 214, 0.626), rgba(0, 51, 138, 0.005)), 
                url('images/bp1.jpg');
    background-size: cover;            
}

.hero-investissement {
    background: linear-gradient(to right, rgba(0, 36, 214, 0.849), rgba(0, 36, 214, 0.849)), 
                url('images/bp1.jpg');
    background-size: cover;            
}




/* Navigation du carousel */
.nav-arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
    padding: 0 20px;
}

.arrow {
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    color: #003366;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.arrow:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.dots-container {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background-color: white;
    transform: scale(1.2);
}

/* Section Produits et Services */
.products-section {
    padding: 40px 0;
    background-size: cover;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.products-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.products-scroller {
    display: flex;
    width: 100%;
    padding: 20px 0;
    animation: scroll 30s linear infinite;
}

.product-card {
    min-width: 300px;
    margin: 0 15px;
    background: rgb(25, 93, 194);
    border-radius: 10px;
    border-left: 5px solid #004080;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.product-card h3 {
    color: #f5fafe;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.product-card p {
    color: #f5f5f5;
    margin-bottom: 20px;
    font-size: 1rem;
}

.learn-more {
    display: inline-block;
    background-color: #003366;
    color: white;
    padding: 8px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.learn-more:hover {
    background-color: #002244;
}

/* Conteneur principal */
.bottom-container {
    display: flex;
    width: 100%;
    margin: 40px 0;
    padding: 0;
    gap: 40px;
    padding: 40px 0;
}

.bottom-content {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
    gap: 40px;
}

/* Carte de localisation */
.map-card {
    flex: 1;
    background-image: linear-gradient(rgba(0, 51, 102, 0.7), rgba(0, 51, 102, 0.7)), 
                url('images/snpsf.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: fit-content;
    color: white;
}

.map-card h2 {
    color: #ffcc00;
    margin-bottom: 20px;
    text-align: center;
}

.map-placeholder {
    width: 100%;
    height: 300px;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 5px;
    backdrop-filter: blur(2px);
}

.address-info {
    line-height: 1.6;
}

.address-info p {
    margin-bottom: 10px;
}

/* Blocs à droite */
.right-blocks {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.info-block {
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    color: white;
}

.info-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 51, 102, 0.7);
    z-index: 0;
}

.info-block > * {
    position: relative;
    z-index: 1;
}

.info-block h3 {
    color: #ffcc00;
    margin-bottom: 15px;
}

.info-block ul {
    list-style-type: none;
}

.info-block li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.info-block li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #ffcc00;
}

.info-block a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.info-block a:hover {
    color: #ffcc00;
}

/* Styles spécifiques pour les blocs */
.accounts-block {
    background-image: url('images/chiromani.jpg');
}

.cards-block {
    background-image: url('images/cartes.jpg');
}

.credit-block {
    background-image: url('images/argent1.jpg');
}

/* Section Témoignages */
.testimonials-section {
    
    padding: 60px 0;
    color: white;
    overflow: hidden;
    position: relative;
}

.testimonials-container {
    max-width: 100%;
    padding: 0 20px;

}

.section-title {
    text-align: center;
    size: 30px;
    margin-bottom: 40px;
    color: black;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.testimonials-scroller {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    animation: scrollTestimonials 40s linear infinite;
    width: max-content;
}

.testimonial-card {
    background-image: linear-gradient(to right, #007b8a, #0cb361);
    border-radius: 10px;
    padding: 20px;
    min-width: 280px;
    max-width: 280px;
    transition: transform 0.3s;
    flex-shrink: 0;
    position: relative;
    padding-bottom: 50px;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background-color: blue;
}

.client-info {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.client-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 2px solid #ffcc00;
}

.client-name {
    font-weight: bold;
    font-size: 1rem;
}

.client-position {
    font-size: 0.8rem;
    opacity: 0.8;
}

.testimonial-text {
    font-style: italic;
    line-height: 1.5;
    position: relative;
    padding-left: 15px;
    font-size: 0.9rem;
    max-height: 120px;
    overflow: hidden;
}

.testimonial-text.long-text {
    max-height: 80px;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -5px;
    font-size: 1.5rem;
    color: #ffcc00;
    opacity: 0.5;
}

.read-more {
    position: absolute;
    bottom: 15px;
    left: 20px;
    color: #ffcc00;
    font-size: 0.8rem;
    text-decoration: none;
    font-weight: bold;
    display: none;
}

.read-more::after {
    content: ' →';
}

.read-more:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: linear-gradient(rgba(0, 34, 68, 0.646), rgba(0, 34, 68, 0.646)), 
                url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 40px 0 20px;
    width: 100%;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 30px;
}

.footer-column h3 {
    color: #ffcc00;
    margin-bottom: 20px;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: #ffcc00;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

.language-selector {
    color: white;
    text-align: right;
    margin-top: 10px;
}

/* Styles pour les menus déroulants */
.dropdown {
    position: relative;
    display: inline-block;
}

@media (max-width: 768px) {
    .dropdown {
     display:block;
    }
}    

.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgb(25, 93, 194);
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1000;
    border-radius: 5px;
    padding: 10px 0;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: #fff;
    padding: 10px 15px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    transition: background-color 0.3s;
}

.dropdown-content a:hover {
    background-color: #fff;
    color: #003366;
}

.dropside {
    position: relative;
}
@media (max-width: 768px) {
    .dropside,
    .dropdown {
        display: block;
    }
}    


.dropside-content {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    background-color: rgb(25, 93, 194);
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1001;
    border-radius: 0 5px 5px 5px;
    padding: 10px 0;
}

.dropside:hover .dropside-content {
    display: block;
}

/* Styles pour les pages À propos */
.about-container{
    background-color: #f5f5f5;
    contain: content;
    max-width: 800;
    display: block;
   
}
.about-section {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    align-items: center;
}

.about-content {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    gap: 20px;
}
 .about-container h2{
    margin-left: 3cm;
    margin-right: 5cm;
   
 }

.about-content p {
    font-size: 3vh;
    max-width: 15cm;
}

.about-content h1 {
    margin-left: 2cm;
}

.about-image img {
    margin-right: 2cm;
    max-height: 13cm;
    max-width: 8cm;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}


.quick-links {
    margin-top: 60px;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 10px;
    margin-top: 20px;
    position: center;
}

.link-card {
    background-image: linear-gradient(rgba(90, 119, 147, 0.9), rgba(27, 70, 113, 0.9)),
    url('images/bcc.jpg');
    color: rgb(254, 254, 254);
    padding: 25px;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.3s;
    position: relative;
    max-width: 400px;
    display: center;
  
}

.link-card:hover {
    transform: translateY(-5px);
    background-color: #24c59d;
}

.link-card h3 {
    color: #ffcc00;
    margin-bottom: 10px;
}

.link-card p {
    color: #fff;
}

@media (max-width: 768px) {
    .about-content, 
    .about-image img,
    .link-card,
    .link-content { 
      display: block; 
      padding: 10px;
      font-size: 16px;
    }
  }

/* Timeline */
.history-container h1 {
    margin-left: 2cm;
}
.timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background-color: #003366;
    top: 0;
    bottom: 0;
    left: 50px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 80px;
    
}

.timeline-year {
    position: absolute;
    left: 0;
    width: 60px;
    height: 60px;
    background-color: #003366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.timeline-content {
    background: linear-gradient(to right, #007b8a, #0cb361);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.timeline-content h3 {
    color: white;
    margin-bottom: 10px;
}

.timeline-content p {
    color: white;
}
/* lien BPC App histoir */
.app-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
    justify-content: space-between;
}

.app {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    background-image: url("images/playstore.png");
    border-radius: 35px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    text-align: center;
    height: 15vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    color: inherit;
}

.app:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.app img {
    width: 100%;
    max-width: 200px;
    border-radius: 5px;
    margin: 0 auto 15px;
    flex-grow: 1;
    object-fit: contain;
}

.app h3 {
    margin: 10px 0;
    color: white;
    text-shadow: #000;
}

.app p {
    color: white;
}




/* Missions et valeurs */
.mission-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.mission-card {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    border-left: 4px solid #003366;
}

.values-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.value-item {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.mission-card h3,
.value-item h3 {
    color: #003366;
    margin-bottom: 10px;
}

/* Management */
.management-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.management-card {
    background-color: #003366;
    padding: 30px;
    border-radius: 8px;
    transition: transform 0.3s;
}

.management-card:hover {
    transform: translateY(-5px);
    background-color: #002244;
}

.management-card a {
    text-decoration: none;
    color: white;
}

.management-card h2 {
    color: #ffcc00;
    margin-bottom: 15px;
}

.management-card p {
    color: #f5f5f5;
}

.governance-section {
    background-color: antiquewhite;
    padding: 30px;
    color: black;
    border-radius: 8px;
    margin: 40px 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* Direction */
.executive-section {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    align-items: center;
}

.executive-content {
    flex: 1;
}

.executive-image {
    flex: 1;
}

.executive-image img {
    width: 100%;
    height: 10cm;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.executive-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.executive-card {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.executive-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #003366;
}

.executive-card h3 {
    color: #003366;
    margin-bottom: 5px;
}

.position {
    color: #24c59d;
    font-weight: bold;
    margin-bottom: 10px;
}

.bio {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Badges d'application */
.app-badge {
    height: 50px;
    width: auto;
    margin: 10px 0;
}

/* Conteneurs Mission et Valeur */
.mission-value-container {
    display: flex;
    padding: 40px;
    align-items: center;
    justify-content: space-between;
}

.mission-container {
    background-color: #f8f9fa00;
    border-bottom: 1px solid #e0e0e0;
}

.value-container {
    background-color: #ffffff00;
}

.text-content {
    flex: 1;
    padding: 0 40px;
}

/* Styles actifs pour les menus */
.dropdown.active > a, 
.dropside.active > a {
    color: #ffcc00;
    font-weight: bold;
}

/* Animations */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes scrollTestimonials {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Version mobile */
@media (max-width: 768px) {
    /* Header */
    nav {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    
    nav a {
        margin: 5px 10px;
        font-size: 14px;
    }
    
    .logo {
        margin-right: 20px;
    }
    
    /* Sections */
    .bottom-content,
    .about-section,
    .executive-section,
    .mission-value-container {
        flex-direction: column;
    }
    
    .right-blocks {
        grid-template-columns: 1fr;
    }
    
    /* Timeline */
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        padding-left: 60px;
    }
    
    .timeline-year {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* Menus déroulants */
    .dropdown-content,
    .dropside-content {
        position: static;
        display: none;
        width: 100%;
        box-shadow: none;
    }
    
    .dropdown:hover .dropdown-content,
    .dropside:hover .dropside-content {
        display: none;
    }
    
    .dropdown.active .dropdown-content,
    .dropside.active .dropside-content {
        display: block;
    }
    
    /* Footer */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-column {
        margin-bottom: 20px;
    }
    
    /* Cartes */
    .mission-cards,
    .values-list {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        min-width: 250px;
    }
    
    /* Conteneurs */
    .mission-value-container,
    .value-container {
        padding: 20px;
    }
    
    .text-content {
        padding: 20px 0;
        width: 100%;
    }
    
    .mission-content {
        padding: 20px;
    }
}

/* Pause animation au survol */
.products-scroller:hover, 
.testimonials-scroller:hover {
    animation-play-state: paused;
}

/* Produits et Services */
.products-main-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.products-main-container h1 {
    text-align: center;
    color: #003366;
    margin-bottom: 40px;
}

.products-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.product-category-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
}

.product-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
   
}

.product-category-card a {
    display: block;
    padding: 30px;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.product-category-card h2 {
    color: #24c59d;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.product-category-card p {
    color: #000;
    line-height: 1.6;
}

/* Version mobile */
@media (max-width: 768px) {
    .products-categories {
        grid-template-columns: 1fr;
    }
    
    .product-category-card {
        display: block;
        width: 100%;
        padding: 10px;
        font-size: 16px;
    }; 
}     

.service-sectionp {
    background-color: rgba(8, 103, 171, 0.603);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* Styles pour les cartes de services */
.services-containerp {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.service-cardp {
    flex: 1 1 300px;
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    border-left: 4px solid  rgb(25, 93, 194);
}

.service-cardp:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-cardp h3 {
    color:  rgb(25, 93, 194);
    margin-bottom: 15px;
}

/* Styles pour les cartes VISA */
.cardp-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
    justify-content: space-between;
}

.cardp {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    background-image: url("images/playstore1.jpg");
    border-radius: 35px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    text-align: center;
    height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    color: inherit;
}

.cardp:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cardp img {
    width: 100%;
    max-width: 200px;
    border-radius: 5px;
    margin: 0 auto 15px;
    flex-grow: 1;
    object-fit: contain;
}

.cardp h3 {
    margin: 10px 0;
    color: white;
    text-shadow: #000;
}

.cardp p {
    color: white;
}

.cardp1 {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    background-image: url("images/visa.jpg");
    border-radius: 35px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    text-align: center;
    height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    color: inherit;
}

.cardp1:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cardp1 img {
    width: 100%;
    max-width: 200px;
    border-radius: 5px;
    margin: 0 auto 15px;
    flex-grow: 1;
    object-fit: contain;
}

.cardp1 h3 {
    margin: 10px 0;
    color: white;
    text-shadow: #000;
    position: bottom;
}

.cardp1 p {
    color: white;
}

.cardp2 {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    background-image: url("images/creercompte.jpg");
    border-radius: 35px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    text-align: center;
    height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    color: inherit;
}

.cardp2:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cardp2 img {
    width: 100%;
    max-width: 200px;
    border-radius: 5px;
    margin: 0 auto 15px;
    flex-grow: 1;
    object-fit: contain;
}

.cardp2 h3 {
    margin: 10px 0;
    color: white;
    text-shadow: #000;
    position: bottom;
}

.cardp2 p {
    color: white;
}


/* Styles pour la section documents */
.documents-containerp {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.account-typep {
    flex: 1;
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.account-typep h3 {
    color:  rgb(25, 93, 194);
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.check-itemp {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 8px;
    background-color: #f9f9f9;
    border-radius: 4px;
}

.check-itemp:before {
    content: "✓";
    color:  rgb(25, 93, 194);;
    font-weight: bold;
    margin-right: 10px;
}

.dividerp {
    border: none;
    height: 1px;
    background-color: #ddd;
    margin: 20px 0;
}

@media (max-width: 768px) {
    .documents-containerp {
        flex-direction: column;
    }
    
    .account-typep {
        width: 100%;
    }
}

 /* Styles supplémentaires pour la chronologie avec photos */
 .timeline-item {
    display: flex;
    margin-bottom: 40px;
    align-items: center;
}

.timeline-content {
    flex: 1;
    padding: 20px;
}

.timeline-image {
    flex: 1;
    padding: 20px;
    text-align: center;
}

.timeline-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Alternance gauche/droite pour les images */
.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}
.timeline-year {
position:static;
}

/* Conteneur des liens en bas */
.history-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 50px 0;
    flex-wrap: wrap;
}

.history-link {
    background-color: #24c59d;
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
    text-align: center;
    min-width: 200px;
}

.history-link:hover {
    background-color: #1daa8a;
}

@media (max-width: 768px) {
    .timeline-item {
        flex-direction: column !important;
    }
    
    .timeline-image {
        margin-top: 20px;
    }
    
    .history-links {
        flex-direction: column;
        align-items: center;
    }
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: #e6f2ff;
    border-radius: 5px;
}

.page-header h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #003366;
}

.news-container {
    max-width: 1000px;
    margin: 0 auto 3rem;
}

.news-article {
    display: flex;
    margin-bottom: 2rem;
    background: white;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.news-date {
    background-color: #003366;
    color: white;
    padding: 1rem;
    text-align: center;
    min-width: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-date .day {
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1;
}

.news-date .month {
    font-size: 1rem;
    text-transform: uppercase;
    margin: 0.3rem 0;
}

.news-date .year {
    font-size: 0.9rem;
}

.news-content {
    padding: 1.5rem;
    flex-grow: 1;
}

.news-content h3 {
    color: #003366;
    margin-bottom: 0.8rem;
}

.news-content p {
    color: #000;
    margin-bottom: 0.8rem;
}

.news-excerpt {
    margin-bottom: 1rem;
    color: #555;
}

.read-more {
    color: #ffcc00;
    text-decoration: none;
    font-weight: bold;
}

.read-more:hover {
    text-decoration: underline;
}

.read-more i {
    margin-left: 0.3rem;
    font-size: 0.8rem;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.pagination a {
    color: #003366;
    padding: 0.5rem 1rem;
    margin: 0 0.3rem;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.pagination a.active {
    background-color: #003366;
    color: white;
    border-color: #003366;
}

.pagination a:hover:not(.active) {
    background-color: #f0f0f0;
}

/* Styles pour la page Contact */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-info {
    flex: 1 1 300px;
}

.info-box {
    background: white;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.info-box i {
    font-size: 1.5rem;
    color: #ffcc00;
    margin-bottom: 1rem;
    display: block;
}

.info-box h3 {
    color: #003366;
    margin-bottom: 1rem;
}

.info-box p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.info-box strong {
    color: #003366;
}

.contact-form-container {
    flex: 2 1 500px;
    background: white;
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.contact-form-container h3 {
    color: #003366;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #003366;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

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

.submit-btn {
    background-color: #003366;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #002244;
}

.map-container {
    margin-bottom: 3rem;
}

.map-container h3 {
    color: #003366;
    margin-bottom: 1rem;
    text-align: center;
}

.map {
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .news-article {
        flex-direction: column;
    }
    
    .news-date {
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        min-width: 100%;
    }
    
    .news-date .day,
    .news-date .month,
    .news-date .year {
        margin: 0 0.5rem;
    }
}


/* Hero Section pour Contact */
.hero-contact {
    background: linear-gradient(to right, rgba(36, 197, 157, 0.85), rgba(0, 51, 102, 0.85)), 
                url('images/contact-bg.jpg');
    background-size: cover;
    background-position: center;
}

/* En-tête de page */
.contact-header {
    text-align: center;
    padding: 50px 20px;
    background-color: #f8f9fa;
    margin-bottom: 40px;
}

.contact-header h1 {
    color: #003366;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.contact-header p {
    color: #555;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Conteneur principal */
.contact-main {
    max-width: 1200px;
    margin: 0 auto 50px;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

/* Section informations de contact */
.contact-info-section {
    flex: 1;
    min-width: 300px;
}

.contact-info-card {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.contact-icon {
    color: #24c59d;
    font-size: 2rem;
    margin-bottom: 20px;
    display: inline-block;
}

.contact-info-card h3 {
    color: #003366;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.contact-info-card p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 10px;
}

.contact-info-card strong {
    color: #003366;
}

/* Formulaire de contact */
.contact-form-section {
    flex: 1;
    min-width: 300px;
}

.contact-form-container {
    background-color: white;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form-container h2 {
    color: #003366;
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #003366;
    font-weight: 500;
    font-size: 1rem;
}

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

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

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

.submit-btn {
    background-color: #24c59d;
    color: white;
    border: none;
    padding: 14px 30px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    background-color: #1daa8a;
}

/* Section carte */
.map-section {
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.map-section h2 {
    text-align: center;
    color: #003366;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 450px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-header {
        padding: 40px 15px;
    }
    
    .contact-header h1 {
        font-size: 2rem;
    }
    
    .contact-main {
        flex-direction: column;
        gap: 30px;
    }
    
    .contact-info-section,
    .contact-form-section {
        width: 100%;
    }
    
    .contact-info-card {
        padding: 25px;
    }
    
    .contact-form-container {
        padding: 30px;
    }
    
    .map-container {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .contact-header h1 {
        font-size: 1.8rem;
    }
    
    .contact-header p {
        font-size: 1rem;
    }
    
    .contact-info-card {
        padding: 20px;
    }
    
    .contact-form-container {
        padding: 25px;
    }
    
    .map-container {
        height: 300px;
    }
}

/* Animation pour le formulaire */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.contact-form-container {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Styles pour les messages d'état du formulaire */
.form-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    text-align: center;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    display: block;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    display: block;
}

/* Styles pour le conteneur principal de contact */
.contact-container {
    display: flex;
    /*flex-direction: row-reverse;*/
    width: 100%; 
    max-width: none; 
    margin: 0;
    padding: 20px 0; 
    gap: 30px;
    background: #fff; 
}

.contact-page-header {
    width: 100%;
    max-width: 1200px; /* Largeur maximale souhaitée pour le contenu */
    margin: 0 auto;
    padding: 0 20px; /* Espacement sur les côtés */
}

.contact-info {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.contact-form-container {
    flex: 1;
    padding: 0 20px; /* Espacement interne si nécessaire */
}

/* Styles pour les boîtes d'information */
.info-box {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.info-box i {
    font-size: 24px;
    color: #0066cc;
    margin-bottom: 10px;
}

/* Styles pour la carte en bas */
.map-container {
    width: 100%;
    padding: 20px 0; /* Ajustez selon vos besoins */
    background: #f5f5f5; /* Ou la couleur de fond souhaitée */
}


.map {
    max-width: 1200px;
    height: 400px;
    margin: 15px auto 0; /* Centrage horizontal */
    border-radius: 8px;
    overflow: hidden;
}

/* Styles responsives */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }
    
    .contact-info {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .contact-info {
        grid-template-columns: 1fr;
    }
}

/* Hero Section pour Actualités */
.hero-container-actualites {
    position: relative;
    min-height: 50vh;
    overflow: hidden;
    width: 100%;
    background: linear-gradient(to right, rgba(0, 102, 204, 0.85), rgba(0, 51, 102, 0.85)), 
                url('images/news-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
}

.hero-actualites {
    width: 100%;
    padding: 0 10%;
}

.hero-content {
    max-width: 600px;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
}

.actualites-main {
    padding: 40px 0;
    background-color: #f5f5f5;
}

.actualites-grid-container {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.video-column {
    position: sticky;
    top: 120px;
    height: calc(100vh - 140px);
    overflow: hidden;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.video-column h3 {
    padding: 20px;
    margin: 0;
    color: #003366;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

.video-column h3 i {
    color: #24c59d;
}

.video-scroll-container {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    scrollbar-width: thin;
    scrollbar-color: #003366 #f0f0f0;
}

.video-scroll-container::-webkit-scrollbar {
    width: 6px;
}

.video-scroll-container::-webkit-scrollbar-thumb {
    background-color: #003366;
    border-radius: 3px;
}

.video-item {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.video-item:last-child {
    margin-bottom: 0;
}

.video-item video {
    width: 100%;
    display: block;
}

.video-caption {
    background: #003366;
    color: white;
    padding: 12px;
    text-align: center;
    font-weight: 500;
}
.video-scroll-container {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    scrollbar-width: none; /* Masquer la scrollbar */
    height: calc(100% - 60px); /* Ajuster selon la hauteur du titre */
}

.video-scroll-container::-webkit-scrollbar {
    display: none; /* Masquer la scrollbar pour WebKit */
}

.video-item {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 3s;
}

.video-item:hover {
    transform: scale(1.02);
}

.video-item video {
    width: 100%;
    display: block;
    cursor: pointer;
}


.actualites-content {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.page-header h2 {
    color: #003366;
    font-size: 2rem;
    margin-bottom: 10px;
}

.page-header p {
    color: #666;
    font-size: 1.1rem;
}

.news-article {
    display: flex;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.news-article:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.news-date {
    background-color: #003366;
    color: white;
    padding: 15px;
    text-align: center;
    min-width: 80px;
    border-radius: 5px;
    margin-right: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-date .day {
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1;
}

.news-date .month {
    font-size: 1rem;
    text-transform: uppercase;
    margin: 5px 0;
}

.news-date .year {
    font-size: 0.9rem;
}

.news-content h3 {
    color: #003366;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.news-excerpt {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more {
    color: #24c59d;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    text-decoration: underline;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 10px;
}

.page-link, .next-link {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #003366;
    transition: all 0.3s;
}

.page-link.active {
    background-color: #003366;
    color: white;
    border-color: #003366;
}

.page-link:hover:not(.active), .next-link:hover {
    background-color: #f0f0f0;
}

/* Responsive */
@media (max-width: 1200px) {
    .actualites-grid-container {
        grid-template-columns: 1fr;
    }
    
    .video-column {
        position: static;
        height: auto;
        margin-bottom: 30px;
    }
    
    .video-scroll-container {
        display: flex;
        overflow-x: auto;
        overflow-y: scroll;
        padding-bottom: 15px;
    }
    
    .video-item {
        flex: 0 0 300px;
        margin-right: 15px;
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .news-article {
        flex-direction: column;
    }
    
    .news-date {
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .news-date .day,
    .news-date .month,
    .news-date .year {
        margin: 0 5px;
    }
}

/* Correction pour la pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 10px;
}

.page-link, .next-link {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #003366;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
}

.page-link.active {
    background-color: #003366;
    color: white;
    border-color: #003366;
    pointer-events: none;
}

.page-link:hover:not(.active), 
.next-link:hover {
    background-color: #f0f0f0;
}

.next-link i {
    font-size: 0.8rem;
}

/* Assurer que les articles sont cachés par défaut sauf ceux de la première page */
.news-article {
    display: none;
}

.news-article:nth-child(-n+3) {
    display: flex;
}

/* Styles pour la nouvelle section pre-footer */
.pre-footer-container {
    width: 100%;
    background-color: #f5f5f5;
    padding: 60px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.pre-footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 0 20px;
}

.pre-footer-image {
    flex: 1;
}

.pre-footer-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.pre-footer-text {
    flex: 1;
}

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

.pre-footer-text p {
    color: #000;
    line-height: 1.6;
    margin-bottom: 15px;
}

.pre-footer-btn {
    display: inline-block;
    background-color: #24c59d;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.pre-footer-btn:hover {
    background-color: #1daa8a;
}

.pre-footer-btn i {
    margin-left: 8px;
    font-size: 0.9rem;
}

/* Responsive pour la section pre-footer */
@media (max-width: 768px) {
    .pre-footer-content {
        flex-direction: column;
    }
    
    .pre-footer-image, 
    .pre-footer-text {
        width: 100%;
    }
    
    .pre-footer-text {
        order: 1;
    }
    
    .pre-footer-image {
        order: 2;
        margin-top: 30px;
    }
}

/* Nouveaux styles pour la page prets.html */
.services-containerp {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
}

.service-cardp {
    flex: 1;
    min-width: 300px;
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    border-left: 4px solid  rgb(25, 93, 194);
}

.simulator-row {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    align-items: center;
}

.simulator-image {
    flex: 1;
}

.simulator-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.simulator-section {
    flex: 1;
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.professional-credit-container {
    width: 100%;
}

.professional-card {
    width: 100%;
    max-width: none;
}

/* Styles existants du simulateur */
.simulator-container {
    width: 100%;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input[type="range"] {
    width: 100%;
}

.result {
    margin: 25px 0;
    text-align: center;
}

.monthly-payment {
    font-size: 1.8rem;
    font-weight: bold;
    color: #24c59d;
    margin: 10px 0;
}

.submit-btn {
    background-color: #24c59d;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #1daa8a;
}

.learn-more {
    display: inline-block;
    margin-top: 15px;
    color: #24c59d;
    font-weight: 500;
    text-decoration: none;
}

.learn-more:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .simulator-row {
        flex-direction: column;
    }
    
    .service-cardp {
        min-width: 100%;
    }
}

.service-sectionpr {
        display: flex;
        width: 100%; 
        max-width: none; 
        margin: 0;
        padding: 20px 0; 
        gap: 30px;
        background: #fff; 
}

.prof img {
    background: #fff;
}

/* Styles pour le menu */
nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menu {
    display: flex;
    list-style: none;
    gap: 15px;
}

.menu li a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
}

.menu li a:hover {
    color: rgb(25, 93, 194);
}

/* Bouton pour le menu mobile */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* Styles pour les petits écrans */
@media (max-width: 768px) {
    .menu {
        display: none;
        flex-direction: column;
        background-color: #24c59d;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 10px 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .menu li {
        text-align: center;
        margin: 10px 0;
    }

    .menu-toggle {
        display: block;
    }

    .menu.active {
        display: flex;
    }
}

@media (max-width: 768px) {
    .body {
      display: block;  
    }
}

@media (max-width: 768px) {
    .hero-container-actualites,
    .hero-container-apropos,
    .hero-container-direction,
    .hero-container-histoire,
    .hero-container-management {
      display: block;  
    }
    .hero-section {
      display: center;  
    }
    .hero-content{
        display: block;
    }
    .images{
        display: block;
    }
}
@media (max-width: 768px) { 
    .hero-container-apropos,
    .hero-content,
    .about-content,
    .about-container,
    .about-section,
    .about-image,
    .quick-links {
        display: block;
        width: 100%;
        padding: 10px;
        font-size: 16px;
    }; 
}     

@media (max-width: 768px) {
    .hero-container-actualites {
      display: block;  
    }
    .hero-container-apropos {
      display: block;  
    }
    .hero-container-direction {
      display: block;  
    }
    .hero-container-histoire,
    .history-container,
    .timeline-item,
    .timeline-content,
    .timeline-year,
    .timeline-image,
    .history-link {
      display: block;
      width: 100%;
      padding: 10px;
      font-size: 16px;
    };  
}
    .hero-container-management {
      display: block;  
    }
    
@media (max-width: 768px) {
    .sous-menu,
    .card,
    .cardp,
    .cardp-container,
    .cardp1,
    .cardp2,
    .cards-block,
    .map-card,
    .map-container,
    .link-card,
    .page-link,
    .page-link.active,
    .section-title,
    .service-cardp,
    .service-sectionp,
    .service-sectionpr,
    .about-section,
    .about-image,
    .about-content,
    .about-container,
    .about-container,
    .about-content p,
    .hero-container {
      display: block;
      width: 100%;
      padding: 10px;
      font-size: 16px;
    }
  }

 