/*css section 1*/
.card-section1 .card {
    border: 1px solid #dee2e6;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

body {
    background: linear-gradient(to bottom, #eef2f7, #dae8fc);
    color: #333;
    margin: 0;
}
/* BODY STYLING */
body {
    background: linear-gradient(to bottom, #eef2f7, #dae8fc);
    color: #333;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* HEADER */
.header-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px; /* Adjust padding to match watermark */
   background: linear-gradient(
    to right,
    #007FFF 0%,       
    #007FFF 20%,      
    #ffc0cb 50%,      
   #007FFF 80%,      
  #007FFF 100%      
  );
    flex-wrap: wrap;
    position: relative;
    text-align: center;
    border-radius: 10px;
}
 header {
      width: 120%;
      
     
    
      text-align: center;
    }

/* Hover effect and increased size for images */
.header-img {
    width: 110px; /* Increase size of images */
    height: 110px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out; /* Hover transition */
}

    /* Hover effect for images */
    .header-img:hover {
        transform: scale(1.1); /* Slightly enlarge the image on hover */
    }

/* Title container */
.title-container {
    flex-grow: 1;
    position: relative;
    padding: 10px;
    text-align: center;
}

/* Watermark image (filigrane) styling */
.filigrane {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.1; /* Lighter opacity for watermark effect */
    max-width: 300px;
    z-index: 0;
}

/* Title */
#special-title {
    position: relative;
    z-index: 1;
    font-weight: bold;
    color: white;
    font-size: 2rem; /* Adjust font size */
}

/* Navbar styles */
.navbar-nav .nav-link {
    font-weight: 500;
    color: white;
}

.navbar {
    background: transparent; /* Transparent navbar to show gradient background */
}



/* Sky blue background for dropdown menu */
.dropdown-menu {
    background-color: #007FFF;
}

/* Text color in dropdown items */
.dropdown-item {
    color: #000; /* You can change this to white or another color if needed */
}

    /* Hover and active styles for dropdown items */
    .dropdown-item:hover,
    .dropdown-item:focus,
    .dropdown-item:active {
    background-color: #007FFF;
    color: white; /* Optional: to ensure text is readable on dark background */
    }


/* NAVBAR STYLING (Glass Effect) */
.navbar {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.2);
    padding: 12px 0;
    transition: all 0.3s ease-in-out;
    border-radius: 10px;
    margin: 10px auto;
    width: 100%;
}

.navbar-nav .nav-link {
    color: #007FFF;
    font-weight: 600;
    padding: 14px 22px;
    transition: all 0.3s ease-in-out;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight:bold;
}

    .navbar-nav .nav-link:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: scale(1.1);
        box-shadow: 0 8px 20px rgba(2, 81, 250, 0.8); /* Rose flashy */
    }

.navbar-toggler {
    border: none;
    outline: none;
}
/* Ensure navbar dropdowns appear above everything */
.navbar .dropdown-menu {
    z-index: 1050; /* Higher than Bootstrap carousel */
    position: absolute; /* Ensures it’s placed properly */
}

/* Fix potential issues with the navbar */
.navbar {
    position: relative;
    z-index: 1100; /* Higher than dropdowns */
}
/* Dropdowns au survol */
.navbar-nav .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}


/* Make sure the carousel doesn't override everything */
.carousel {
    z-index: 1; /* Keep it behind navbar and dropdowns */
}

/* MAIN CONTENT */
main {
    flex-grow: 1;
}



/* MAIN CONTENT */
main {
    flex-grow: 1;
}
/* Responsive design for smaller screens */


/* ?? Subpage Styling */
.subpage-container {
    max-width: 900px;
    margin: 50px auto;
    padding: 40px;
    background: linear-gradient(to right, #ffffff, #f7f7f7); /* Soft gradient */
    border-radius: 12px;
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

    .subpage-container:hover {
        transform: translateY(-4px);
        box-shadow: 0px 12px 30px rgba(0, 0, 0, 0.25);
    }

.subpage-title {
    font-size: 2.2rem;
    font-weight: 800; /* Extra Bold */
    text-align: center;
    color: #007FFF; /* Deep Blue */
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 2px 2px 6px rgba(0, 74, 173, 0.2);
}

.subpage-content {
    font-size: 1.3rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 500; /* Medium weight */
    line-height: 1.8;
    color: #222; /* Dark Gray */
    text-align: justify;
    padding: 10px;
}

/* Button Styling */
.btn-custom {
    display: inline-block;
    padding: 14px 24px;
    margin-top: 20px;
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    background: linear-gradient(to right, #007bff, #004aad);
    border: none;
    border-radius: 14px;
    box-shadow: 0px 5px 15px rgba(2, 112, 231, 0.874);
    transition: all 0.3s ease-in-out;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

    .btn-custom:hover {
        background: linear-gradient(to right, #ff4081, #c2185b);
        box-shadow: 0px 6px 18px rgba(255, 64, 129, 0.5);
        transform: scale(1.05);
    }

.site-header h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.site-header .header-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    margin: 10px;
}


/* Full display for images with smooth transitions */
.carousel-item img {
    width: 110%;
    height: 100vh; /* Full viewport height */
    object-fit: cover; /* Ensures images fill the container without distortion */
}

/* Customize the carousel controls and indicators */
.carousel-indicators button {
    background-color: #fff; /* White dots */
    border-radius: 50%; /* Circular buttons */
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

    .carousel-indicators button.active {
        background-color: #0055a5; /* Active dot color */
        opacity: 1;
    }

/* Center the caption with smooth text fade-in */
.carousel-caption {
    position: absolute;
    bottom: 20px; /* Adjust the vertical positioning */
    left: 50%;
    transform: translateX(-50%); /* Center horizontally */
    text-align: center;
    color: #fff; /* White text */
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6); /* Text shadow for readability */
    opacity: 0;
    animation: fadeIn 1s forwards 0.5s; /* Smooth fade-in effect */
}

    /* Title size and style */
    .carousel-caption h1 {
        font-size: 3rem; /* Adjust font size as needed */
        margin: 0;
    }

/* Fade-in animation for captions */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.inspiration-section {
    width: 100%;
    padding: 40px;
    background-image: url('/Images/croix2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.inspiration-container {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: auto;
    background: linear-gradient(145deg, rgba(0, 60, 130, 0.8), rgba(0, 20, 60, 0.9));
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.4);
}

.image-box {
    flex: 1;
    text-align: center;
    overflow: hidden;
}

.hover-img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    transition: transform 0.4s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.hover-img:hover {
        transform: scale(1.05) rotate(1deg);
        box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
        cursor: pointer;
    }

.text-box {
    flex: 2;
    font-family: "Segoe UI", sans-serif;
}

    .text-box h1 {
        color: #00aced;
        font-size: 28px;
        margin-bottom: 15px;
        font-weight: bold;
    }

    .text-box p {
        line-height: 1.6;
        color: #f1f1f1;
        margin-bottom: 15px;
    }

.button-box {
    text-align: center;
    margin-top: 20px;
}

.hover-button {
    padding: 12px 28px;
    background: linear-gradient(to right, #1e90ff, #007BFF);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.4s, transform 0.3s;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

    .hover-button:hover {
        background: linear-gradient(to right, #007BFF, #1e90ff);
        transform: scale(1.05);
        cursor: pointer;
    }

.watermark-section {
    position: relative;
    background-color: #0055a5;
    color: white;
    overflow: hidden;
}

.watermark-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.08;
    max-width: 80%;
    z-index: 1;
    pointer-events: none;
}

.watermark-content {
    position: relative;
    z-index: 2;
}

.custom-card img,
.custom-card video {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.card {
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

    .card:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    }

.card-body img {
    max-width: 100%;
    border-radius: 8px;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
}

.card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    overflow: hidden;
}

.card-img-top {
    object-fit: cover;
    height: 300px;
}

.card-body {
    flex: 1;
    padding: 20px;
}

    .card-body .btn {
        margin-top: auto;
        align-self: center;
    }
    .card-section1 .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    }

.card-section1 .card-img-top.custom-img {
    height: 500px;
    object-fit: cover;
    border-bottom: 1px solid #ddd;
    flex-direction: column;
}
.section1 {
    font-size: 16px; /* Adjust size as needed */
    color: #333; /* Optional: make text color consistent */
    line-height: 1.6; /* Optional: improve readability */
}

 
 
.card-section1 {
    display: flex;
    flex-direction: column;
    height: 100%; /* or a fixed height if needed */
}
.card-img-top.custom-img {
    width: 100%;
    object-fit: cover;
    border-bottom: 1px solid #ddd;
    aspect-ratio: 16 / 9; /* NEW: Controls height based on width */
}



.card-section1 .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.2rem;
}

.card-section1 .card-title {
    font-weight: 600;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    color: #2c3e50;
    justify-content:center;
}

.card-section1 .btn-primary {
    background-color: #0055a5;
    border: none;
    border-radius: 25px;
    padding: 8px 20px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.card-section1.card:hover {
    transform: translateY(-5px); /* Card hover effect */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}
    


@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

/* Styling for Section 2 */
.card-section2.section-title {
    text-align: center;
    font-size: 2rem;
    color: #333;
    margin-bottom: 30px;
}

/* Card container */
.card-section2.card {
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .card-section2.card:hover {
        transform: translateY(-5px); /* Card hover effect */
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    }

    /* Image styling */
    /* Add this to your CSS */
    .card-section2.card img {
        border-radius: 10px; /* Rounded corners */
        object-fit: cover;
        width: var(--img-width, 60%); /* Default width 80%, can be changed */
        height: var(--img-height, 180px); /* Default height 180px, can be changed */
        margin-bottom: 15px;
    }


    /* Button Styling */
    .card-section2 .card .btn {
        background-color: #0055a5;
        border: none;
        border-radius: 25px;
        padding: 6px 15px; /* Reduced padding to make the button smaller */
        font-weight: 500;
        font-size: 14px; /* Reduced font size */
        transition: background-color 0.3s ease;
    }

.section-3 .custom-card {
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    height: 100%;
    background-color: #f8f9fa; /* Light background */
}

.section-3 .media-item {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 10px;
}

.section-3 .btn {
    background-color: #0055a5;
    border: none;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    display: block; /* Change to block to enable margin auto centering */
    width: auto; /* Ensure button size adjusts to content */
    max-width: 30%; /* Prevent overflow */
    margin: 0 auto; /* Center the button horizontally */
    transition: background-color 0.3s ease;
}

    .section-3 .btn:hover {
        background-color: #003f7f;
    }

.section-4 .custom-card {
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background-color: #f8f9fa;
    height: 70%;
}

.section-4 .card-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #0055a5;
}

.section-4 .media-item {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
}

.section-4 .btn {
    background-color: #0055a5;
    border: none;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    display: block; /* Change to block to enable margin auto centering */
    width: auto; /* Ensure button size adjusts to content */
    max-width: 40%; /* Prevent overflow */
    margin: 0 auto; /* Center the button horizontally */
    transition: background-color 0.3s ease;
}


    .section-4 .btn:hover {
        background-color: #003f7f;
    }


    .section-4 .btn:hover {
        background-color: #003f7f;
    }

/* Custom card style to ensure uniform height and look */
.section5.custom-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 250px; /* Set the height of the card */
    text-align: center;
    padding: 20px;
    background-color: #D5006D; /* Dark pink background */
    color: white;
    border-radius: 10px; /* Optional, for rounded corners */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .section-5.custom-card img {
        max-height: 150px; /* Ensure the images do not exceed the specified height */
        object-fit: cover; /* Keeps the image proportional while filling the space */
        margin-bottom: 15px;
    }

    .section5.custom-card .btn {
        margin-top: auto; /* Push the button to the bottom of the card */
        border-radius: 25px; /* Optional, for rounded button edges */
        padding:  10px;
    }
.section-5.btn btn-primary mt-auto {
    background-color: #0055a5;
    border: none;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    display: block; /* Change to block to enable margin auto centering */
    width: auto; /* Ensure button size adjusts to content */
    max-width: 40%; /* Prevent overflow */
    margin: 0 auto; /* Center the button horizontally */
    transition: background-color 0.3s ease;
}


    .section5 .custom-card:hover {
        transform: scale(1.05); /* Slight zoom effect on hover */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Shadow effect */
    }


#section6 .row {
    display: flex;
    justify-content: space-between;
    gap: 20px; /* To add space between the cards */
}

#section6 .card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 250px; /* Set a fixed height for uniformity */
}

    #section6 .card .media-item {
        width: 100%;
        height: 200px; /* Ensure all videos are of the same size */
        object-fit: cover; /* Crop and scale videos proportionally */
    }

    #section6 .card a {
        margin-top: auto; /* Push the button to the bottom of the card */
        text-align: center;
    }
.section6 .btn {
    background-color: #0055a5;
    border: none;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    display: block; /* Change to block to enable margin auto centering */
    width: auto; /* Ensure button size adjusts to content */
    max-width: 40%; /* Prevent overflow */
    margin: 0 auto; /* Center the button horizontally */
    transition: background-color 0.3s ease;
}


#section6 .col-md-5 {
    flex: 1; /* Ensure each column takes equal width */
}
#section7 {
    padding-bottom: 100px; /* or the height of your footer */
}


/* Responsive Design for smaller screens */
@media (max-width: 768px) {
    .card-section2.col-md-6 {
        margin-bottom: 20px; /* Adding space between cards in smaller screens */
    }
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .afrique-card {
        margin-bottom: 20px; /* Space between cards on smaller screens */
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}
@media(max-width: 768px){
    .col-md-3{
        flex:0 0 100%;
        max-width:100%;

    }
   
    
    /*Présentes*/
    * {
        box-sizing: border-box;
    }

    .canossian-card {
        position: relative; /* Positioning context for watermark */
        background-image: url('/Images/Globe.jpg'); /* Path to your watermark image */
        border: 1px solid #ccc; /* Border for card */
        border-radius: 10px; /* Rounded corners */
        padding: 20px; /* Inner spacing */
        margin: 20px auto; /* Center the card with auto left/right margins */
        width: calc(100% - 40px); /* Full width minus margins on both sides */
        max-width: 1200px; /* Optional: Maximum width for larger screens */
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Shadow effect */
    }

    .canossian-card-text {
        font-size: 25px;
        font-weight: bold;
        text-align: justify;
        color: black; /* Text color */
    }

    .canossian-watermark-container:after {
        content: "Watermark Text"; /* Add your watermark text here */
        position: absolute; /* Position it absolutely */
        left: 0; /* Align to left */
        top: 0; /* Align to top */
        width: 100%; /* Full width */
        height: 100%; /* Full height */
        opacity: 0.1; /* Semi-transparent */
        font-size: 48px; /* Size of the watermark */
        color: #000; /* Color of watermark text */
        display: flex; /* Flexbox for centering */
        justify-content: center; /* Center horizontally */
        align-items: center; /* Center vertically */
        z-index: 1; /* Ensure it’s below the text */
    }

    .canossian-watermark-container .canossian-card-text {
        position: relative; /* Ensure text is above watermark */
        z-index: 2; /* Above watermark */
    }

    .afrique-body {
        background-color: #f4f4f4; /* Light background for contrast */
    }

    .afrique-card {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 500px; /* Set the height of the card */
        text-align: center;
        padding: 20px;
        background-color: #007FFF; /* Dark pink background */
        color: white;
        border-radius: 10px; /* Optional, for rounded corners */
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        font-size: 20px;
        text-decoration-color: black;
    }

    .afrique-image {
        width: 300px; /* Set your desired width */
        height: 400px; /* Set your desired height */
        object-fit: cover; /* This will ensure the image covers the area */
    }

    .afrique-card:hover {
        transform: translateY(-5px); /* Slight lift on hover */
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5); /* Deeper shadow on hover */
    }

    .afrique-card-title {
        font-size: 2rem;
        color: black; /* Light grey for title */
        margin-bottom: 10px;
        font-weight: bold;
    }

    .afrique-card-description {
        font-size: 1rem;
        color: #b0b0b0; /* Slightly lighter grey for description */
        margin-bottom: 15px;
    }

    .afrique-btn-primary {
        background-color: #007FFF; /* Blue for buttons */
        border: none;
        border-radius: 5px;
    }

        .afrique-btn-primary:hover {
            background-color: #007FFF; /* Darker blue on hover */
        }

    body {
        display: flex;
        flex-direction: column;
        min-height: 100vh; /* Ensure the body takes the full height of the viewport */
    }

    main {
        flex: 1; /* This allows main to grow and take up the available space */
        padding: 20px; /* Add padding as needed */
    }

    .menu-content {
        margin-bottom: 60px; /* buffer space for footer */
    }

    /*Présentes*/
    /*Ste MAdeleine*/
    /*Qui sommes nous*/
    /* Your custom styles go here */
    body {
        background-color: #F8F9FA; /* Elegant white background */
    }

    header {
        background-color: white;
        padding: 20px;
        text-align: center;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .content-container {
        position: relative;
        max-width: 1350px;
        margin: auto;
        padding: 60px;
        border: 4px solid #4CAF50;
        border-radius: 20px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        background-color: #007FFF;
        overflow: hidden;
        display: flex;
        gap: 30px;
        align-items: center;
        transition: all 0.3s ease-in-out;
    }

    .content-container {
        position: relative;
        max-width: 1350px;
        margin: auto;
        padding: 60px;
        border: 4px solid #4CAF50;
        border-radius: 20px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        background-color: #007FFF;
        overflow: hidden;
        display: flex;
        gap: 30px;
        align-items: center;
        transition: all 0.3s ease-in-out;
    }

    /* Left image styling */
    .image-container {
        flex: 1;
        text-align: center;
    }

        .image-container img {
            width: 100%;
            max-width: 700px;
            height: auto;
            border-radius: 16px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            transition: transform 0.3s ease-in-out;
        }

    .content-container:hover .image-container img {
        transform: scale(1.05); /* Slight zoom effect on hover */
    }

    /* Text Section with watermark background */
    .text-container {
        flex: 2;
        position: relative;
        font-family: Arial, sans-serif;
        color: #333;
        z-index: 1;
        padding: 20px;
    }

    /* Watermark image behind the text */
    .watermark {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        opacity: 0.1;
        max-width: 90%;
        height: auto;
        z-index: 0;
        pointer-events: none;
    }

    /* Text content in foreground */
    .text-container h3 {
        color: white;
        margin-bottom: 20px;
        transition: color 0.3s ease;
    }

    .text-container p {
        line-height: 1.6;
    }

    /* Hover effect for text */
    .content-container:hover .text-container h3 {
        color: #1F2F56;
    }

    .content-container:hover {
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        transform: translateY(-10px); /* Slight lift effect on hover */
    }

    * {
        box-sizing: border-box; /* Ensures padding and borders are included in the element's total width and height */
    }

    .content-container {
        display: flex; /* Use flexbox for layout */
        align-items: stretch; /* Align items to stretch to equal height */
    }

    .image-container, .text-container {
        flex: 1; /* Make each child take equal space */
        padding: 20px; /* Add some padding */
        border: none; /* Remove any border */
    }

        .image-container img, .text-container .watermark {
            width: 100%; /* Make images responsive and take the full width of the container */
            height: auto; /* Maintain aspect ratio */
            border: none; /* Ensure no border on images */
            border-radius: 10px; /* Optional: add some rounded corners */
        }

    .text-container {
        position: relative; /* Position for the watermark */
        background: rgba(255, 255, 255, 0.8); /* Background color with transparency */
        border: none; /* Remove border */
    }



    /* Card Hover Animation: Scale effect */
    .card2:hover::before {
        opacity: 0.15; /* Increase opacity on hover */
        transform: scale(1.05); /* Slightly scale up the background image */
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    /* card*/
    /* Basic Card Style */
    .card2 {
        position: relative;
        max-width: 600px;
        margin: 30px auto;
        background-color: lightpink;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        overflow: hidden;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    /* Hover Effects */
    .card2:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    }

    /* Card Content */
    .card2-content {
        position: relative;
        z-index: 1;
        padding: 30px 30px;
    }

    /* Title */
    .card2-title {
        font-size: 1.8rem;
        color: #007FFF;
        margin-bottom: 15px;
        text-transform: uppercase;
        justify-content: center;
    }

    /* Text Content */
    .card2-text {
        font-size: 1rem;
        color: #333;
        line-height: 1.6;
        justify-content: space-between;
    }

    /* Watermark Background */
    .card2::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('/path/to/your/croixok.jpg'); /* Change to your image URL */
        background-size: cover;
        background-position: center;
        opacity: 0.1; /* Low opacity for watermark effect */
        z-index: 0;
        pointer-events: none; /* Ensure text is clickable and not blocked by image */
    }

    /* Card Hover Animation: Scale effect */
    .card2:hover::before {
        opacity: 0.15; /* Increase opacity on hover */
        transform: scale(1.05); /* Slightly scale up the background image */
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .content-area {
        background: linear-gradient(to bottom right, rgba(255, 182, 193, 0.8), rgba(255, 105, 180, 0.8)); /* Pink gradient */
        padding: 20px; /* Add some padding */
        border-radius: 10px; /* Optional: Add rounded corners */
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Optional: Add a subtle shadow for depth */
        transition: background 0.3s ease; /* Smooth transition for background change (if needed) */
    }

        .content-area:hover {
            background: linear-gradient(to bottom right, rgba(255, 105, 180, 0.8), rgba(255, 182, 193, 0.8)); /* Slightly change gradient on hover */
        }

    /* vie communautaire*/
    .community-content-container {
        display: flex; /* Use flexbox for layout */
        background-color: pink; /* Set the background color to pink */
        padding: 20px; /* Optional: Add padding to the container */
        transition: transform 0.3s ease; /* Smooth transition for transform */
    }

    /* Hover Effect */
    .community-content-container:hover {
        transform: scale(1.05); /* Scale the container up on hover */
    }

    /* Styling for child elements */
    .community-image-container {
        flex: 1; /* Allows the image container to take equal available width */
    }

        .community-image-container img {
            width: 100%; /* Make the image fully responsive */
            height: auto; /* Maintain aspect ratio */
            max-height: 100%; /* Prevent overflow */
        }

    .community-text-container {
        flex: 1; /* Allows the text container to take equal available width */
        display: flex;
        flex-direction: column; /* Align items vertically */
        justify-content: center; /* Center content vertically */
        position: relative; /* Needed for watermark position */
    }

    .community-content-text {
        margin: 20px; /* Add some spacing around text */
        position: relative; /* Position relative for proper alignment with watermark */
        z-index: 1; /* Ensure text is above watermark */
    }

    .community-watermark {
        position: absolute; /* Positioning of watermark */
        width: 100%; /* Full width */
        height: auto; /* Maintain aspect ratio */
        z-index: 0; /* Make sure it stays behind text content */
    }
    /* qui sommes nous*/
    .watermark-container {
        position: relative; /* Positioning context for the watermark */
        background-color: #fff; /* Background color for the card */
        padding: 20px; /* Space inside the card */
        border-radius: 10px; /* Rounded corners */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
        overflow: hidden; /* To contain absolutely positioned elements */
    }


    .watermark-container::before {
        content: ""; /* Create a pseudo-element for the watermark */
        background-image: url('/Images/croixok.jpg'); /* Path to your watermark image */
        background-size: cover; /* Adjust size to cover the container */
        background-repeat: no-repeat; /* No repeat */
        position: absolute; /* Absolute positioning */
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        opacity: 0.1; /* Make watermark faint */
        z-index: 0; /* Put behind the text */
    }

    /*Qui sommes nous*/
    
    /* Your custom styles go here */
    body {
        background-color: #F8F9FA; /* Elegant white background */
    }

    header {
        background-color: white;
        padding: 20px;
        text-align: center;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .content-container {
        position: relative;
        max-width: 1350px;
        margin: auto;
        padding: 60px;
        border: 4px solid #4CAF50;
        border-radius: 20px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        background-color: #007FFF;
        overflow: hidden;
        display: flex;
        gap: 30px;
        align-items: center;
        transition: all 0.3s ease-in-out;
        align-content:justify;
    }

    .content-container {
        position: relative;
        max-width: 1350px;
        margin: auto;
        padding: 60px;
        border: 4px solid #4CAF50;
        border-radius: 20px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        background-color: #007FFF;
        overflow: hidden;
        display: flex;
        gap: 30px;
        align-items: center;
        transition: all 0.3s ease-in-out;
        text-align: justify;
    }

    /* Left image styling */
    .image-container {
        flex: 1;
        text-align: center;
    }

        .image-container img {
            width: 100%;
            max-width: 700px;
            height: auto;
            border-radius: 16px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            transition: transform 0.3s ease-in-out;
        }

    .content-container:hover .image-container img {
        transform: scale(1.05); /* Slight zoom effect on hover */
    }

    /* Text Section with watermark background */
    .text-container {
        flex: 2;
        position: relative;
        font-family: Arial, sans-serif;
        color: #333;
        z-index: 1;
        padding: 20px;
        text-align: justify;
    }

    /* Watermark image behind the text */
    .watermark {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        opacity: 0.1;
        max-width: 90%;
        height: auto;
        z-index: 0;
        pointer-events: none;
    }

    /* Text content in foreground */
    .text-container h3 {
        color: white;
        margin-bottom: 20px;
        transition: color 0.3s ease;
    }

    .text-container p {
        line-height: 1.6;
    }

    /* Hover effect for text */
    .content-container:hover .text-container h3 {
        color: #1F2F56;
    }

    .content-container:hover {
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        transform: translateY(-10px); /* Slight lift effect on hover */
    }

    * {
        box-sizing: border-box; /* Ensures padding and borders are included in the element's total width and height */
    }

    .content-container {
        display: flex; /* Use flexbox for layout */
        align-items: stretch; /* Align items to stretch to equal height */
    }

    .image-container, .text-container {
        flex: 1; /* Make each child take equal space */
        padding: 20px; /* Add some padding */
        border: none; /* Remove any border */
    }

        .image-container img, .text-container .watermark {
            width: 100%; /* Make images responsive and take the full width of the container */
            height: auto; /* Maintain aspect ratio */
            border: none; /* Ensure no border on images */
            border-radius: 10px; /* Optional: add some rounded corners */
        }

    .text-container {
        position: relative; /* Position for the watermark */
        background: rgba(255, 255, 255, 0.8); /* Background color with transparency */
        border: none; /* Remove border */
    }



    /* Card Hover Animation: Scale effect */
    .card2:hover::before {
        opacity: 0.15; /* Increase opacity on hover */
        transform: scale(1.05); /* Slightly scale up the background image */
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    /* card1*/
    /* Basic Card Style */
    .card2 {
        position: relative;
        max-width: 600px;
        margin: 30px auto;
        background-color: lightpink;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        overflow: hidden;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    /* Hover Effects */
    .card2:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    }

    /* Card Content */
    .card2-content {
        position: relative;
        z-index: 1;
        padding: 30px 30px;
    }

    /* Title */
    .card2-title {
        font-size: 1.8rem;
        color: #007FFF;
        margin-bottom: 15px;
        text-transform: uppercase;
        justify-content: center;
    }

    /* Text Content */
    .card2-text {
        font-size: 1rem;
        color: #333;
        line-height: 1.6;
        justify-content: space-between;
    }

    /* Watermark Background */
    .card2::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('/path/to/your/croixok.jpg'); /* Change to your image URL */
        background-size: cover;
        background-position: center;
        opacity: 0.1; /* Low opacity for watermark effect */
        z-index: 0;
        pointer-events: none; /* Ensure text is clickable and not blocked by image */
    }

    /* Card Hover Animation: Scale effect */
    .card2:hover::before {
        opacity: 0.15; /* Increase opacity on hover */
        transform: scale(1.05); /* Slightly scale up the background image */
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .content-area {
        background: linear-gradient(to bottom right, rgba(255, 182, 193, 0.8), rgba(255, 105, 180, 0.8)); /* Pink gradient */
        padding: 20px; /* Add some padding */
        border-radius: 10px; /* Optional: Add rounded corners */
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Optional: Add a subtle shadow for depth */
        transition: background 0.3s ease; /* Smooth transition for background change (if needed) */
    }

        .content-area:hover {
            background: linear-gradient(to bottom right, rgba(255, 105, 180, 0.8), rgba(255, 182, 193, 0.8)); /* Slightly change gradient on hover */
        }

    /* vie communautaire*/
    .community-content-container {
        display: flex; /* Use flexbox for layout */
        background-color: pink; /* Set the background color to pink */
        padding: 20px; /* Optional: Add padding to the container */
        transition: transform 0.3s ease; /* Smooth transition for transform */
    }

    /* Hover Effect */
    .community-content-container:hover {
        transform: scale(1.05); /* Scale the container up on hover */
    }

    /* Styling for child elements */
    .community-image-container {
        flex: 1; /* Allows the image container to take equal available width */
    }

        .community-image-container img {
            width: 100%; /* Make the image fully responsive */
            height: auto; /* Maintain aspect ratio */
            max-height: 100%; /* Prevent overflow */
        }

    .community-text-container {
        flex: 1; /* Allows the text container to take equal available width */
        display: flex;
        flex-direction: column; /* Align items vertically */
        justify-content: center; /* Center content vertically */
        position: relative; /* Needed for watermark position */
    }

    .community-content-text {
        margin: 20px; /* Add some spacing around text */
        position: relative; /* Position relative for proper alignment with watermark */
        z-index: 1; /* Ensure text is above watermark */
    }

    .community-watermark {
        position: absolute; /* Positioning of watermark */
        width: 100%; /* Full width */
        height: auto; /* Maintain aspect ratio */
        z-index: 0; /* Make sure it stays behind text content */
    }
    /* qui sommes nous*/
    .watermark-container {
        position: relative; /* Positioning context for the watermark */
        background-color: #fff; /* Background color for the card */
        padding: 20px; /* Space inside the card */
        border-radius: 10px; /* Rounded corners */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
        overflow: hidden; /* To contain absolutely positioned elements */
    }


    .watermark-container::before {
        content: ""; /* Create a pseudo-element for the watermark */
        background-image: url('/Images/croixok.jpg'); /* Path to your watermark image */
        background-size: cover; /* Adjust size to cover the container */
        background-repeat: no-repeat; /* No repeat */
        position: absolute; /* Absolute positioning */
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        opacity: 0.1; /* Make watermark faint */
        z-index: 0; /* Put behind the text */
    }

    /*Qui sommes nous*/

}

@media (max-width: 768px) {
    .col-md-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .footer .card {
        flex: 1 1 100%; /* On small screens, make the card take up the full width */
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .header-title, .content-box {
        margin: 10px; /* Adjust margin for smaller screens */
    }
}


/*Témoins*/
/* Container des témoins */
.temoins-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    background: linear-gradient(to right, #f8c8c8, #e0a6c1); /* Dégradé de fond */
    padding:15px;
    border-radius: 20px;
}

/* Chaque div témoin */
.temoin {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    width: 500px;
    Height: 1000px;
    text-align: justify;
    padding: 20px;

}

/* Titre flottant */
.floating-title {
    font-size: 24px;
    margin-bottom: 15px;
    animation: floatTemoinTitle 3s infinite alternate ease-in-out;
    color: #0077cc;
}

/* Animation du titre avec déplacement bas-haut et gauche-droite */
@keyframes floatTemoinTitle {
    0% {
        transform: translateY(0px) translateX(0px);
        color: #0077cc;
    }

    25% {
        transform: translateY(-10px) translateX(10px);
        color: #9b59b6;
    }

    50% {
        transform: translateY(0px) translateX(-10px);
        color: #3498db;
    }

    75% {
        transform: translateY(10px) translateX(10px);
        color: #f39c12;
    }

    100% {
        transform: translateY(-10px) translateX(0px);
        color: #e74c3c;
    }
}

/* Image flottante */
.temoin img {
    width: 25%;
    height: 48%;
    border-radius: 10px;
    margin-bottom: 15px;
    animation: floatTemoinImage 6s infinite alternate ease-in-out;
}

/* Animation de l'image flottante (mouvement dans toutes les directions) */
@keyframes floatTemoinImage {
    0% {
        transform: translate(0px, 0px);
    }

    20% {
        transform: translate(10px, -5px);
    }

    40% {
        transform: translate(-10px, 10px);
    }

    60% {
        transform: translate(5px, -10px);
    }

    80% {
        transform: translate(-5px, 5px);
    }

    100% {
        transform: translate(0px, 0px);
    }
}

/* Texte */
.temoin p {
    font-size: 16px;
    color: #555;
}

/* Effet hover */
.temoin:hover {
    transform: scale(1.05) rotate(1deg);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3);
}

.temoins1-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    background: #007FFF;
    padding: 50px;
    border-radius: 20px;
}


/*Temoins*/

/*Faite conaitre Jesus*/
/* Container connaitre */
.connaitre {
    background-color: #1F2F56;
    color: white;
    padding: 30px 40px; /* ? Hauteur (haut et bas) plus petite */
    border-radius: 20px;
    margin: 40px auto;
    width: 100%;
    max-width: 1400px;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    overflow: hidden;
    position: relative;
}


    /* Animation principale du H1 */
    .connaitre .floating-main-title {
        font-size: 50px;
        margin-bottom: 30px;
        animation: connaitreFloatCrazy 3s infinite alternate ease-in-out;
        color: #00ffff;
        position: relative;
    }

    /* Animation du sous-titre H3 */
    .connaitre .floating-sub-title {
        font-size: 28px;
        margin-top: 20px;
        animation: connaitreFloatCrazySmall 3s infinite alternate ease-in-out;
        color: #ffcc00;
        position: relative;
    }

/* Animation folle pour le H1 */
@keyframes connaitreFloatCrazy {
    0% {
        transform: translate(0px, 0px);
    }

    20% {
        transform: translate(20px, -10px);
    }

    40% {
        transform: translate(-20px, 15px);
    }

    60% {
        transform: translate(15px, -20px);
    }

    80% {
        transform: translate(-15px, 20px);
    }

    100% {
        transform: translate(0px, 0px);
    }
}

/* Animation folle pour le H3 */
@keyframes connaitreFloatCrazySmall {
    0% {
        transform: translate(0px, 0px);
    }

    20% {
        transform: translate(-15px, 10px);
    }

    40% {
        transform: translate(15px, -15px);
    }

    60% {
        transform: translate(-10px, 20px);
    }

    80% {
        transform: translate(10px, -20px);
    }

    100% {
        transform: translate(0px, 0px);
    }
}

/* Hover sur container connaitre */
.connaitre:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 255, 255, 0.5);
}

/* Movement effect on image */
/* Add dynamic movement to the image */
/* Automatic floating animation */
/* Keyframes for continuous floating animation */
@keyframes floatEffect {
    0% {
        transform: translate(0px, 0px);
    }

    25% {
        transform: translate(3px, -3px);
    }

    50% {
        transform: translate(0px, -5px);
    }

    75% {
        transform: translate(-3px, -3px);
    }

    100% {
        transform: translate(0px, 0px);
    }
}

/* Apply floating and hover movement to media images */
.section-5 .media-item {
    animation: floatEffect 6s ease-in-out infinite;
    transition: transform 0.4s ease-in-out;
    will-change: transform;
}

    /* Add hover zoom + movement effect */
    .section-5 .media-item:hover {
        transform: scale(1.07) translate(6px, -6px);
        animation: none; /* Pause floating during hover */
    }


/* Custom button styling */
.section-5 .btn {
    background-color: #0055a5;
    border: none;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 15px;
    font-weight: bold;
    display: block; /* Block-level for margin auto */
    width: 40%; /* Reduce button width */
    margin: 10px auto 0 auto; /* Center horizontally */
    transition: background-color 0.3s ease;
}

    .section-5 .btn:hover {
        background-color: #003f7f; /* Darker on hover */
    }

/*Qui sommes nous*/
/* Your custom styles go here */
body {
    background-color: #F8F9FA; /* Elegant white background */
}

header {
    background-color: white;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.content-container {
    position: relative;
    max-width: 1350px;
    margin: auto;
    padding: 30px;
    border: 4px solid #4CAF50;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background-color: #007FFF;
    overflow: hidden;
    display: flex;
    gap: 30px;
    align-items: center;
    transition: all 0.3s ease-in-out;
}



/* Left image styling */
.image-container {
    flex: 1;
    text-align: center;
}

    .image-container img {
        width: 100%;
        max-width: 700px;
        height: auto;
        border-radius: 16px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease-in-out;
    }

.content-container:hover .image-container img {
    transform: scale(1.05); /* Slight zoom effect on hover */
}

/* Text Section with watermark background */
.text-container {
    flex: 2;
    position: relative;
    font-family: Arial, sans-serif;
    color: #333;
    z-index: 1;
    padding: 20px;
}

/* Watermark image behind the text */
.watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.1;
    max-width: 90%;
    height: auto;
    z-index: 0;
    pointer-events: none;
}

/* Text content in foreground */
.text-container h3 {
    color: white;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.text-container p {
    line-height: 1.6;
}

/* Hover effect for text */
.content-container:hover .text-container h3 {
    color: #1F2F56;
}

.content-container:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-10px); /* Slight lift effect on hover */
}

* {
    box-sizing: border-box; /* Ensures padding and borders are included in the element's total width and height */
}

.content-container {
    display: flex; /* Use flexbox for layout */
    align-items: stretch; /* Align items to stretch to equal height */
}

.image-container, .text-container {
    flex: 1; /* Make each child take equal space */
    padding: 20px; /* Add some padding */
    border: none; /* Remove any border */
}

    .image-container img, .text-container .watermark {
        width: 100%; /* Make images responsive and take the full width of the container */
        height: auto; /* Maintain aspect ratio */
        border: none; /* Ensure no border on images */
        border-radius: 10px; /* Optional: add some rounded corners */
    }

.text-container {
    position: relative; /* Position for the watermark */
    background: rgba(255, 255, 255, 0.8); /* Background color with transparency */
    border: none; /* Remove border */
}



/* Card Hover Animation: Scale effect */
.card2:hover::before {
    opacity: 0.15; /* Increase opacity on hover */
    transform: scale(1.05); /* Slightly scale up the background image */
    transition: opacity 0.3s ease, transform 0.3s ease;
}

<!-- card1-- >
/* Basic Card Style */
.card2 {
    position: relative;
    max-width: 600px;
    margin: 30px auto;
    background-color: rgb(226, 192, 197);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover Effects */
.card2:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

/* Card Content */
.card2-content {
    position: relative;
    z-index: 1;
    padding: 30px 30px;
}

/* Title */
.card2-title {
    font-size: 1.8rem;
    color: #007FFF;
    margin-bottom: 15px;
    text-transform: uppercase;
    justify-content: center;
}

/* Text Content */
.card2-text {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    justify-content: space-between;
}

/* Watermark Background */
.card2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/path/to/your/croixok.jpg'); /* Change to your image URL */
    background-size: cover;
    background-position: center;
    opacity: 0.1; /* Low opacity for watermark effect */
    z-index: 0;
    pointer-events: none; /* Ensure text is clickable and not blocked by image */
}

/* Card Hover Animation: Scale effect */
.card2:hover::before {
    opacity: 0.15; /* Increase opacity on hover */
    transform: scale(1.05); /* Slightly scale up the background image */
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.content-area {
    background: linear-gradient(to bottom right, rgba(255, 182, 193, 0.8), rgba(255, 105, 180, 0.8)); /* Pink gradient */
    padding: 20px; /* Add some padding */
    border-radius: 10px; /* Optional: Add rounded corners */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Optional: Add a subtle shadow for depth */
    transition: background 0.3s ease; /* Smooth transition for background change (if needed) */
}

    .content-area:hover {
        background: linear-gradient(to bottom right, rgba(255, 105, 180, 0.8), rgba(255, 182, 193, 0.8)); /* Slightly change gradient on hover */
    }

<!-- vie communautaire-- >
.community-content-container {
    display: flex; /* Use flexbox for layout */
    background-color: pink; /* Set the background color to pink */
    padding: 20px; /* Optional: Add padding to the container */
    transition: transform 0.3s ease; /* Smooth transition for transform */
}

/* Hover Effect */
.community-content-container:hover {
    transform: scale(1.05); /* Scale the container up on hover */
}

/* Styling for child elements */
.community-image-container {
    flex: 1; /* Allows the image container to take equal available width */
}

    .community-image-container img {
        width: 100%; /* Make the image fully responsive */
        height: auto; /* Maintain aspect ratio */
        max-height: 100%; /* Prevent overflow */
    }

.community-text-container {
    flex: 1; /* Allows the text container to take equal available width */
    display: flex;
    flex-direction: column; /* Align items vertically */
    justify-content: center; /* Center content vertically */
    position: relative; /* Needed for watermark position */
}

.community-content-text {
    margin: 20px; /* Add some spacing around text */
    position: relative; /* Position relative for proper alignment with watermark */
    z-index: 1; /* Ensure text is above watermark */
}

.community-watermark {
    position: absolute; /* Positioning of watermark */
    width: 100%; /* Full width */
    height: auto; /* Maintain aspect ratio */
    z-index: 0; /* Make sure it stays behind text content */
}
/*qui sommes nous*/ 
.watermark-container {
    position: relative; /* Positioning context for the watermark */
    background-color: #fff; /* Background color for the card */
    padding: 20px; /* Space inside the card */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    overflow: hidden; /* To contain absolutely positioned elements */
}


.watermark-container::before {
    content: ""; /* Create a pseudo-element for the watermark */
    background-image: url('/Images/croixok.jpg'); /* Path to your watermark image */
    background-size: cover; /* Adjust size to cover the container */
    background-repeat: no-repeat; /* No repeat */
    position: absolute; /* Absolute positioning */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1; /* Make watermark faint */
    z-index: 0; /* Put behind the text */
}

.image-container-floating {
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    height: 100vh; /* Full height of the viewport */
    width: 100%; /* Full width of the viewport */
}

.floating-image-container {
    display: flex;
    flex-direction: column; /* Stack text and image vertically */
    justify-content: center; /* Center vertically */
    align-items: center; /* Center horizontally */
    width: 60%; /* Adjust width as needed */
    max-width: 600px; /* Optional: max width for better responsiveness */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    animation: floatingImageContainer 8s ease-in-out infinite;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    padding: 20px; /* Optional: padding inside the container */
    text-align: center; /* Center text inside the container */
}

    .floating-image-container img {
        width: 80%; /* Image takes 80% of the container width */
        height: auto;
        display: block;
        margin: 0 auto;
        transition: transform 0.4s ease;
    }

    .floating-image-container:hover {
        transform: scale(1.02);
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
    }

        .floating-image-container:hover img {
            transform: scale(1.05);
        }

/* Optional: Floating animation */
@keyframes floatingImageContainer {
    0% {
        transform: translate(0px, 0px);
    }

    25% {
        transform: translate(5px, -5px);
    }

    50% {
        transform: translate(0px, -10px);
    }

    75% {
        transform: translate(-5px, -5px);
    }

    100% {
        transform: translate(0px, 0px);
    }
}


/*Qui sommes nous*/

/*Presentes*/
.afrique-body {
    background: linear-gradient(135deg, #e0f7fa, #ffffff);
    border-radius: 20px;
    padding: 50px 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

    .afrique-body .row {
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
    }

    .afrique-body .col-md-6 {
        display: flex;
    }

.afrique-card {
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 30px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .afrique-card::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(0, 85, 165, 0.05), transparent 70%);
        animation: cardShine 6s linear infinite;
        z-index: 0;
    }

    .afrique-card:hover {
        transform: translateY(-12px) scale(1.02);
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
    }

    .afrique-card img.media-item {
        width: 100%;
        height: auto;
        border-radius: 15px;
        object-fit: cover;
        margin-bottom: 20px;
        transition: transform 0.5s ease, box-shadow 0.5s ease;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
        z-index: 1;
        position: relative;
    }

    .afrique-card:hover img.media-item {
        transform: scale(1.04) rotateZ(1deg);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    }

.afrique-card-title {
    font-size: 32px;
    font-weight: 700;
    color: #003366;
    margin-top: 10px;
    z-index: 1;
    position: relative;
}

.afrique-card p {
    color: #222;
    font-size: 22px;
    line-height: 1.8;
    font-weight: 600;
    text-align: justify;
    z-index: 1;
    position: relative;
    margin: 0;
}

@keyframes cardShine {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .afrique-card {
        padding: 20px;
    }

    .afrique-card-title {
        font-size: 26px;
    }

    .afrique-card p {
        font-size: 18px;
    }
}
/*presentes*/

/*special titre*/
#special-title {
    position: relative;
    display: inline-block;
    padding: 10px 20px;
    font-size: 2rem;
    font-weight: bold;
    color: white; /* Normal color */
    border: 2px solid transparent;
    border-radius: 15px;
    transition: all 0.4s ease;
}

    #special-title:hover {
        color: #C2185B; /* Dark pink */
        border-color: #C2185B;
        background-color: rgba(194, 24, 91, 0.05);
        box-shadow: 0 0 20px rgba(194, 24, 91, 0.6);
        transform: scale(1.08);
        cursor: pointer;
    }
    /*special titre*/

    /*defunts*/
.connaitre {
    background-color: #007BFF; /* Path to your watermark image */


    padding: 30px 0; /* Optional: Adds space above/below */
    color: white;
}

    /* Optional: Add overlay for better text visibility */
    .connaitre::before {
        height: 50%;
        width: 100%;
    }

    .connaitre .card {
        background-color: transparent;
    }

.floating-main-title,
.floating-sub-title {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6); /* improves contrast */
}
/*defuntes*/

/*Autres temoins*/
/*Qui sommes nous*/
/* Your custom styles go here */
body {
    background-color: #F8F9FA; /* Elegant white background */
}

header {
    background-color: white;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.content-container {
    position: relative;
    max-width: 1350px;
    margin: auto;
    padding: 60px;
    border: 4px solid #037bfc;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background-color: #007FFF;
    overflow: hidden;
    display: flex;
    gap: 30px;
    align-items: center;
    transition: all 0.3s ease-in-out;
}

.content-container {
    position: relative;
    max-width: 1350px;
    margin: auto;
    padding: 60px;
    border: 4px solid #0672f6;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background-color: #007FFF;
    overflow: hidden;
    display: flex;
    gap: 30px;
    align-items: center;
    transition: all 0.3s ease-in-out;
}

/* Left image styling */
.image-container {
    flex: 1;
    text-align: center;
}

    .image-container img {
        width: 100%;
        max-width: 700px;
        height: auto;
        border-radius: 16px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease-in-out;
    }

.content-container:hover .image-container img {
    transform: scale(1.05); /* Slight zoom effect on hover */
}

/* Text Section with watermark background */
.text-container {
    flex: 2;
    position: relative;
    font-family: Arial, sans-serif;
    color: #333;
    z-index: 1;
    padding: 20px;
}

/* Watermark image behind the text */
.watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.1;
    max-width: 90%;
    height: auto;
    z-index: 0;
    pointer-events: none;
}

/* Text content in foreground */
.text-container h3 {
    color: white;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.text-container p {
    line-height: 1.6;
}

/* Hover effect for text */
.content-container:hover .text-container h3 {
    color: #1F2F56;
}

.content-container:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-10px); /* Slight lift effect on hover */
}

* {
    box-sizing: border-box; /* Ensures padding and borders are included in the element's total width and height */
}

.content-container {
    display: flex; /* Use flexbox for layout */
    align-items: stretch; /* Align items to stretch to equal height */
}

.image-container, .text-container {
    flex: 1; /* Make each child take equal space */
    padding: 20px; /* Add some padding */
    border: none; /* Remove any border */
}

    .image-container img, .text-container .watermark {
        width: 100%; /* Make images responsive and take the full width of the container */
        height: auto; /* Maintain aspect ratio */
        border: none; /* Ensure no border on images */
        border-radius: 10px; /* Optional: add some rounded corners */
    }

.text-container {
    position: relative; /* Position for the watermark */
    background: rgba(255, 255, 255, 0.8); /* Background color with transparency */
    border: none; /* Remove border */
}



/* Card Hover Animation: Scale effect */
.card2:hover::before {
    opacity: 0.15; /* Increase opacity on hover */
    transform: scale(1.05); /* Slightly scale up the background image */
    transition: opacity 0.3s ease, transform 0.3s ease;
}

<!-- card1-- >
/* Basic Card Style */
.card2 {
    position: relative;
    max-width: 600px;
    margin: 30px auto;
    background-color: lightpink;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover Effects */
.card2:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

/* Card Content */
.card2-content {
    position: relative;
    z-index: 1;
    padding: 30px 30px;
}

/* Title */
.card2-title {
    font-size: 1.8rem;
    color: #007FFF;
    margin-bottom: 15px;
    text-transform: uppercase;
    justify-content: center;
}

/* Text Content */
.card2-text {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    justify-content: space-between;
}

/* Watermark Background */
.card2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/path/to/your/croixok.jpg'); /* Change to your image URL */
    background-size: cover;
    background-position: center;
    opacity: 0.1; /* Low opacity for watermark effect */
    z-index: 0;
    pointer-events: none; /* Ensure text is clickable and not blocked by image */
}

/* Card Hover Animation: Scale effect */
.card2:hover::before {
    opacity: 0.15; /* Increase opacity on hover */
    transform: scale(1.05); /* Slightly scale up the background image */
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.content-area {
    background: linear-gradient(to bottom right, rgba(255, 182, 193, 0.8), rgba(255, 105, 180, 0.8)); /* Pink gradient */
    padding: 20px; /* Add some padding */
    border-radius: 10px; /* Optional: Add rounded corners */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Optional: Add a subtle shadow for depth */
    transition: background 0.3s ease; /* Smooth transition for background change (if needed) */
}

    .content-area:hover {
        background: linear-gradient(to bottom right, rgba(255, 105, 180, 0.8), rgba(255, 182, 193, 0.8)); /* Slightly change gradient on hover */
    }

<!-- vie communautaire-- >
.community-content-container {
    display: flex; /* Use flexbox for layout */
    background-color: pink; /* Set the background color to pink */
    padding: 20px; /* Optional: Add padding to the container */
    transition: transform 0.3s ease; /* Smooth transition for transform */
}

/* Hover Effect */
.community-content-container:hover {
    transform: scale(1.05); /* Scale the container up on hover */
}

/* Styling for child elements */
.community-image-container {
    flex: 1; /* Allows the image container to take equal available width */
}

    .community-image-container img {
        width: 100%; /* Make the image fully responsive */
        height: auto; /* Maintain aspect ratio */
        max-height: 100%; /* Prevent overflow */
    }

.community-text-container {
    flex: 1; /* Allows the text container to take equal available width */
    display: flex;
    flex-direction: column; /* Align items vertically */
    justify-content: center; /* Center content vertically */
    position: relative; /* Needed for watermark position */
}

.community-content-text {
    margin: 20px; /* Add some spacing around text */
    position: relative; /* Position relative for proper alignment with watermark */
    z-index: 1; /* Ensure text is above watermark */
}

.community-watermark {
    position: absolute; /* Positioning of watermark */
    width: 100%; /* Full width */
    height: auto; /* Maintain aspect ratio */
    z-index: 0; /* Make sure it stays behind text content */
}
<!-- qui sommes nous-- >
.watermark-container {
    position: relative; /* Positioning context for the watermark */
    background-color: #fff; /* Background color for the card */
    padding: 20px; /* Space inside the card */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    overflow: hidden; /* To contain absolutely positioned elements */
}


.watermark-container::before {
    content: ""; /* Create a pseudo-element for the watermark */
    background-image: url('/Images/croixok.jpg'); /* Path to your watermark image */
    background-size: cover; /* Adjust size to cover the container */
    background-repeat: no-repeat; /* No repeat */
    position: absolute; /* Absolute positioning */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1; /* Make watermark faint */
    z-index: 0; /* Put behind the text */
}

/*Qui sommes nous*/

.body.title-div {
    background-color: #1F2F56; /* Light background for contrast */
    font-family: 'Arial', sans-serif;
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove default padding */
    text-align: center; /* Center text inside body */
}

.title-display {
    font-size: 2em; /* Size for the name of the div */
    margin: 20px 0; /* Vertical margin */
    color: #333; /* Dark color for contrast */
}

.title-div {
    background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%); /* Gradient background */
    border-radius: 15px; /* Rounded corners */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* Soft shadow */
    padding: 40px 20px; /* Inner spacing */
    width: 100%; /* Full width */
    text-align: center; /* Center text inside */
    color: #ffffff; /* White text color for contrast */
    transition: transform 0.3s; /* Smooth transition */
    margin: 20px 0; /* Vertical margin */
}

    .title-div:hover {
        transform: scale(1.02); /* Slightly scale up on hover */
    }

    .title-div h1 {
        font-size: 2.5em; /* Large font size for the title */
        margin: 0; /* Remove default margin */
    }

.body.smooth-div {
    background-color: #f4f4f4; /* Light background for contrast */
    font-family: 'Arial', sans-serif;
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove default padding */
}

.smooth-div {
    background-color: #ffffff; /* White background for the div */
    border-radius: 15px; /* Rounded corners */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* Soft shadow */
    padding: 40px 20px; /* Inner spacing with more vertical padding */
    width: 100%; /* Full width */
    max-width: 1200px; /* Optional: limit the maximum width */
    margin: 20px auto; /* Center the div and give it some margin */
    text-align: center; /* Center text inside */
    transition: transform 0.3s; /* Smooth transition */
}

    .smooth-div:hover {
        transform: translateY(-5px); /* Slightly lift on hover */
    }

    .smooth-div h2 {
        color: #333; /* Darker text color */
        margin-bottom: 15px; /* Space below the heading */
    }

    .smooth-div p {
        color: #666; /* Lighter text color */
        line-height: 1.5; /* Space between lines */
        font-size: 1.1em; /* Slightly larger font size */
    }
    /*autres temoins*/
.temoins-container .floating-title {
    text-align: center;
}
.temoins1-container .floating-title {
    text-align: center;
}

/* defuntes*/

/* Fond avec padding réduit */
.defuntes {
    background-image: url('/Images/bougie.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 40px 10px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

    /* Carte interne */
    .defuntes .floating-card {
        background-color: rgba(0, 0, 0, 0.4);
        border-radius: 20px;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
        animation: float-card 12s ease-in-out infinite alternate;
    }

    /* Titre principal avec dégradé bleu foncé */
    .defuntes .floating-main-title {
        font-size: 68px;
        font-weight: bold;
        font-family: 'Georgia', serif;
        background: white;
        background-clip: text;
        -webkit-background-clip: text;
        color: transparent;
        -webkit-text-fill-color: transparent;
        text-shadow: 0 0 12px rgba(0, 51, 102, 0.4);
        animation: lightGlow 6s ease-in-out infinite, float-main 8s ease-in-out infinite;
    }

    /* Sous-titre avec dégradé bleu foncé */
    .defuntes .floating-sub-title {
        font-size: 48px;
        font-weight: bold;
        font-family: 'Georgia', serif;
        background: #007FFF;
        background-clip: text;
        -webkit-background-clip: text;
        color: transparent;
        -webkit-text-fill-color: transparent;
        text-shadow: 0 0 10px rgba(0, 51, 102, 0.4);
        position: relative;
        animation: float-sub 10s ease-in-out infinite;
    }

        .defuntes .floating-sub-title::before,
        .defuntes .floating-sub-title::after {
            content: '"';
            font-size: 64px;
            color: #ffffff;
            margin: 0 10px;
            position: relative;
            top: -10px;
        }

/* Animations */
@keyframes float-main {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px) rotate(-1deg);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes float-sub {
    0% {
        transform: translateX(0px);
    }

    50% {
        transform: translateX(10px) rotate(1deg);
    }

    100% {
        transform: translateX(0px);
    }
}

@keyframes float-card {
    0% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(3px, -3px);
    }

    50% {
        transform: translate(-3px, 3px);
    }

    75% {
        transform: translate(3px, 3px);
    }

    100% {
        transform: translate(0, 0);
    }
}

@keyframes lightGlow {
    0%, 100% {
        text-shadow: 0 0 12px rgba(0, 51, 102, 0.4);
    }

    50% {
        text-shadow: 0 0 20px rgba(0, 102, 204, 0.6);
    }
}

/*defuntes*/
/*formation*/
.full-image-banner {
    position: relative;
    width: 100%;
    height: 140vh; /* Plein écran */
    
    border-radius: 20px; /* Coins arrondis pour le conteneur complet */
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    border-radius: 30px; /* Coins arrondis sur l’image */
    transition: transform 5s ease;
}

.full-image-banner:hover .banner-img {
    transform: scale(1.05); /* Zoom doux au survol */
}

.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    background: rgba(0, 0, 0, 0.4);
    padding: 60px 40px; /* Hauteur du padding augmentée */
    border-radius: 25px;
    backdrop-filter: blur(6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

    /* Titre avec effet dégradé élégant et taille améliorée */
    .overlay-text h1 {
        font-size: 72px;
        font-weight: bold;
        font-family: 'Georgia', serif;
        background: linear-gradient(90deg, white, #87cefa, #1e90ff);
        background-clip: text;
        -webkit-background-clip: text;
        color: transparent;
        -webkit-text-fill-color: transparent;
        text-shadow: 0 0 14px rgba(135, 206, 250, 0.4);
        letter-spacing: 1px;
        animation: smooth-float 6s ease-in-out infinite;
    }

    /* Sous-titre */
    .overlay-text p {
        font-size: 24px;
        font-weight: 500;
        color: #e0f7ff;
        margin-top: 15px;
    }

/* Animation flottante subtile */
@keyframes smooth-float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0);
    }
}
.page-title-container {
    width: 100%;
    height: 15vh; /* Remplit 60% de la hauteur de la fenêtre */
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, #e0f7fa, #ffffff);
    border-bottom: 5px solid #87cefa;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-main-title {
    font-size: 64px;
    font-weight: 700;
    background: linear-gradient(90deg, #003d66, #00bfff, #1e90ff);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    text-align: center;
    text-shadow: 2px 2px 8px rgba(30, 144, 255, 0.3);
}

.fullok-image-container {
    width: 100%;
    overflow: hidden;
    padding: 20px;
    box-sizing: border-box;
}

.fullok-image {
    width: 100%;
    height: auto;
    border-radius: 30px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s ease;
}

    .fullok-image:hover {
        transform: scale(1.02); /* Zoom léger au survol */
    }
.floating-title h4 {
    font-size: 20px;
}

/*formation*/
/*communqute*/
body, html {
    margin: 0;
    padding: 0;
}

.image-container-floating,
.floating-image-container,
.communaute {
    width: 80%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.ariwara-img {
    width: 80vw; /* 100% of the viewport width */
    height: auto;
    display: block;
    object-fit: cover;
    align-items:center;
 
}

.album-stack {
    position: relative;
    width: 1400px; /* Augmente la largeur des images */
    height: auto;
    margin: 50px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.album-photo {
    position: relative;
    width: 48%; /* Plus large pour un effet impactant */
    margin-left: -40px; /* Déplace un peu l'image vers la gauche pour la superposition */
    transition: transform 0.5s ease, z-index 0.3s ease;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    animation: moveRandom 4s infinite ease-in-out; /* Animation automatique */
}

    .album-photo img {
        width: 100%;
        display: block;
        border-radius: 12px;
    }

/* Animation de mouvement aléatoire */
@keyframes moveRandom {
    0% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(30px, -20px);
    }

    50% {
        transform: translate(-25px, 10px);
    }

    75% {
        transform: translate(15px, 30px);
    }

    100% {
        transform: translate(-10px, -25px);
    }
}

/* Ajustement responsive pour mobile */
@media (max-width: 700px) {
    .album-stack {
        width: 95%;
    }

    .album-photo {
        width: 48%;
        margin-left: -10px; /* Réduit un peu la superposition */
    }
}
/*communaute*/

/*vita piu 2025*/
.pdf-link-container {
    text-align: center;
    margin-top: 30px;
}

.pdf-link {
    display: inline-block;
    padding: 12px 24px;
    font-weight: bold;
    font-size: 18px;
    color: white;
    background-color: #007bff; /* Blue background */
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

    .pdf-link:hover {
        background-color: #0056b3;
        transform: scale(1.05);
    }
/*vita piu 2025*/
/*chapitre general*/
/*Qui sommes nous*/
/* Your custom styles go here */
body {
    background-color: #F8F9FA; /* Elegant white background */
}

header {
    background-color: white;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.content-container {
    position: relative;
    max-width: 1350px;
    margin: auto;
    padding: 60px;
    border: 4px solid #0a8fe1;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background-color: rgb(151, 214, 235);
    overflow: hidden;
    display: flex;
    gap: 30px;
    align-items: center;
    transition: all 0.3s ease-in-out;
}


/* Left image styling */
.image-container {
    flex: 1;
    text-align: center;
}

    .image-container img {
        width: 100%;
        max-width: 700px;
        height: auto;
        border-radius: 16px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease-in-out;
    }

.content-container:hover .image-container img {
    transform: scale(1.05); /* Slight zoom effect on hover */
}

/* Text Section with watermark background */
.text-container {
    flex: 2;
    position: relative;
    font-family: Arial, sans-serif;
    color: #333;
    z-index: 1;
    padding: 20px;
}

/* Watermark image behind the text */
.watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.1;
    max-width: 90%;
    height: auto;
    z-index: 0;
    pointer-events: none;
}

/* Text content in foreground */
.text-container h3 {
    color: white;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.text-container p {
    line-height: 1.6;
}

/* Hover effect for text */
.content-container:hover .text-container h3 {
    color: #1F2F56;
}

.content-container:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-10px); /* Slight lift effect on hover */
}

* {
    box-sizing: border-box; /* Ensures padding and borders are included in the element's total width and height */
}

.content-container {
    display: flex; /* Use flexbox for layout */
    align-items: stretch; /* Align items to stretch to equal height */
}

.image-container, .text-container {
    flex: 1; /* Make each child take equal space */
    padding: 20px; /* Add some padding */
    border: none; /* Remove any border */
}

    .image-container img, .text-container .watermark {
        width: 100%; /* Make images responsive and take the full width of the container */
        height: auto; /* Maintain aspect ratio */
        border: none; /* Ensure no border on images */
        border-radius: 10px; /* Optional: add some rounded corners */
    }

.text-container {
    position: relative; /* Position for the watermark */
    background: rgba(255, 255, 255, 0.8); /* Background color with transparency */
    border: none; /* Remove border */
}



/* Card Hover Animation: Scale effect */
.card2:hover::before {
    opacity: 0.15; /* Increase opacity on hover */
    transform: scale(1.05); /* Slightly scale up the background image */
    transition: opacity 0.3s ease, transform 0.3s ease;
}

<!-- card1-- >
/* Basic Card Style */
.card2 {
    position: relative;
    max-width: 600px;
    margin: 30px auto;
    background-color: lightpink;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover Effects */
.card2:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

/* Card Content */
.card2-content {
    position: relative;
    z-index: 1;
    padding: 30px 30px;
}

/* Title */
.card2-title {
    font-size: 1.8rem;
    color: #007FFF;
    margin-bottom: 15px;
    text-transform: uppercase;
    justify-content: center;
}

/* Text Content */
.card2-text {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    justify-content: space-between;
}

/* Watermark Background */
.card2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/path/to/your/croixok.jpg'); /* Change to your image URL */
    background-size: cover;
    background-position: center;
    opacity: 0.1; /* Low opacity for watermark effect */
    z-index: 0;
    pointer-events: none; /* Ensure text is clickable and not blocked by image */
}

/* Card Hover Animation: Scale effect */
.card2:hover::before {
    opacity: 0.15; /* Increase opacity on hover */
    transform: scale(1.05); /* Slightly scale up the background image */
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.content-area {
    background: linear-gradient(to bottom right, rgba(255, 182, 193, 0.8), rgba(255, 105, 180, 0.8)); /* Pink gradient */
    padding: 20px; /* Add some padding */
    border-radius: 10px; /* Optional: Add rounded corners */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Optional: Add a subtle shadow for depth */
    transition: background 0.3s ease; /* Smooth transition for background change (if needed) */
}

    .content-area:hover {
        background: linear-gradient(to bottom right, rgba(255, 105, 180, 0.8), rgba(255, 182, 193, 0.8)); /* Slightly change gradient on hover */
    }

<!-- vie communautaire-- >
.community-content-container {
    display: flex; /* Use flexbox for layout */
    background-color: pink; /* Set the background color to pink */
    padding: 20px; /* Optional: Add padding to the container */
    transition: transform 0.3s ease; /* Smooth transition for transform */
}

/* Hover Effect */
.community-content-container:hover {
    transform: scale(1.05); /* Scale the container up on hover */
}

/* Styling for child elements */
.community-image-container {
    flex: 1; /* Allows the image container to take equal available width */
}

    .community-image-container img {
        width: 100%; /* Make the image fully responsive */
        height: auto; /* Maintain aspect ratio */
        max-height: 100%; /* Prevent overflow */
    }

.community-text-container {
    flex: 1; /* Allows the text container to take equal available width */
    display: flex;
    flex-direction: column; /* Align items vertically */
    justify-content: center; /* Center content vertically */
    position: relative; /* Needed for watermark position */
}

.community-content-text {
    margin: 20px; /* Add some spacing around text */
    position: relative; /* Position relative for proper alignment with watermark */
    z-index: 1; /* Ensure text is above watermark */
}

.community-watermark {
    position: absolute; /* Positioning of watermark */
    width: 100%; /* Full width */
    height: auto; /* Maintain aspect ratio */
    z-index: 0; /* Make sure it stays behind text content */
}
<!-- qui sommes nous-- >
.watermark-container {
    position: relative; /* Positioning context for the watermark */
    background-color: #fff; /* Background color for the card */
    padding: 20px; /* Space inside the card */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    overflow: hidden; /* To contain absolutely positioned elements */
}


.watermark-container::before {
    content: ""; /* Create a pseudo-element for the watermark */
    background-image: url('/Images/croixok.jpg'); /* Path to your watermark image */
    background-size: cover; /* Adjust size to cover the container */
    background-repeat: no-repeat; /* No repeat */
    position: absolute; /* Absolute positioning */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1; /* Make watermark faint */
    z-index: 0; /* Put behind the text */
}

/*Qui sommes nous*/

/*Photo chapitre general*/
body {
    margin: 0; /* Remove default margin */
    font-family: Arial, sans-serif; /* Set a default font */
}

.full-width-image {
    overflow: hidden; /* Hide any overflow */
}

.responsive-image {
    width: 400%; /* Make the image take the full width */
    height: 400%; /* Maintain aspect ratio */
    display: flex; /* Remove bottom space below the image */
}
/*chapitre general*/

/*conseil provincial*/


body {
    font-family: Arial, sans-serif; /* Set a clean font for the page */
    margin: 0;
    padding: 0;
    background-color: #f5f5f5; /* Light background */
}

.header-title {
    background-color: #4CAF50; /* Green background */
    color: white;
    padding: 20px;
    text-align: center;
    font-size: 24px;
    border-radius: 8px;
    margin: 20px 0; /* Space above and below */
}

.section-title h1 {
    color: #333; /* Dark text color */
    text-align: center;
    margin: 0;
    font-size: 28px;
}

.image-container {
    margin: 0;
    padding: 0;
}

.full-width-image {
    width: 100%;
    height: auto; /* Maintain aspect ratio */
    border-radius: 8px; /* Slightly rounded corners */
}

.content-box {
    background-color: white; /* White background for content */
    margin: 20px; /* Space around the content */
    padding: 20px; /* Internal padding */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    color: #555; /* Slightly darker text color */
    line-height: 1.6; /* Better line spacing for readability */
}

* {
    box-sizing: border-box; /* Adjusts box model */
}

body {
    font-family: Arial, sans-serif; /* General font style */
    margin: 0;
    padding: 0;
    background-color: #f5f5f5; /* Light background for contrast */
}

/* Image gallery style */
.image-gallery {
    display: flex; /* Use flexbox for layout */
    flex-wrap: wrap; /* Enable wrapping for smaller screens */
    justify-content: center; /* Center items horizontally */
    margin: 0 -15px; /* Adjust margins to create spacing between images */
}

/* Individual image container style */
.image-container {
    flex: 1 0 30%; /* Grow to take 30% of the row each (3 images in a row) */
    margin: 15px; /* Space around image containers */
    overflow: hidden; /* Hide overflow for smooth edge */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition */
}

/* Media item styles */
.media-item {
    width: 100%; /* Full width of container */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Ensures no margin gets added on images */
    transition: transform 0.4s ease; /* Smooth zoom effect */
}

/* Hover effects */
.image-container:hover {
    transform: scale(1.05); /* Slight zoom on hover */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
}

    .image-container:hover .media-item {
        transform: scale(1.1); /* Gentle zoom effect on image */
    }


/*Conseil provincial images*/
* {
    box-sizing: border-box; /* Adjusts box model */
}

.body.image-gallery {
    font-family: Arial, sans-serif; /* General font style */
    margin: 0;
    padding: 0;
    background-color: #f5f5f5; /* Light background for contrast */
}

/* Image gallery style */
.image-gallery {
    display: flex; /* Use flexbox for layout */
    flex-wrap: wrap; /* Enable wrapping for smaller screens */
    justify-content: center; /* Center items horizontally */
    margin: 0 -15px; /* Adjust margins to create spacing between images */
}

/* Individual image container style */
.image-container {
    flex: 1 0 30%; /* Grow to take 30% of the row each (3 images in a row) */
    margin: 15px; /* Space around image containers */
    overflow: hidden; /* Hide overflow for smooth edge */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition */
}

/* Media item styles */
.media-item {
    width: 100%; /* Full width of container */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Ensures no margin gets added on images */
    transition: transform 0.4s ease; /* Smooth zoom effect */
}

/* Hover effects */
.image-container:hover {
    transform: scale(1.05); /* Slight zoom on hover */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
}

    .image-container:hover .media-item {
        transform: scale(1.1); /* Gentle zoom effect on image */
    }
/*conseil provincial*/

/*Pour l'affichage tablet, phone*/
@media (max-width: 768px) {
    .custom-class {
        font-size: 14px;
        text-align: center;
    }
}
/*Pour l'affichage tablet, phone*/

/*reuni*/
/* Full-page centering */
.image-reuni-floating {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Center vertically */
    background-color: #f5f5f5; /* Light background for contrast */
}

/* Image container */
.floating-image-container {
    display: inline-block;
    transition: transform 0.5s ease;
    will-change: transform;
}

/* Image styling */
.floating-image {
    width: 300px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

    /* Move image in multiple directions */
    .floating-image:hover {
        transform: translate3d(10px, -10px, 0) rotate(3deg) scale(1.05);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    }
/*reuni*/
/*Qui sommes nous*/
/* Your custom styles go here */
body {
    background-color: #F8F9FA; /* Elegant white background */
}

header {
    background-color: white;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.content-container {
    position: relative;
    max-width: 1350px;
    margin: auto;
    padding: 60px;
    border: 4px solid #4CAF50;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background-color: #007FFF;
    overflow: hidden;
    display: flex;
    gap: 30px;
    align-items: center;
    transition: all 0.3s ease-in-out;
}

.content-container {
    position: relative;
    max-width: 1350px;
    margin: auto;
    padding: 60px;
    border: 4px solid #4CAF50;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background-color: #007FFF;
    overflow: hidden;
    display: flex;
    gap: 30px;
    align-items: center;
    transition: all 0.3s ease-in-out;
}

/* Left image styling */
.image-container {
    flex: 1;
    text-align: center;
}

    .image-container img {
        width: 100%;
        max-width: 700px;
        height: auto;
        border-radius: 16px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease-in-out;
    }

.content-container:hover .image-container img {
    transform: scale(1.05); /* Slight zoom effect on hover */
}

/* Text Section with watermark background */
.text-container {
    flex: 2;
    position: relative;
    font-family: Arial, sans-serif;
    color: #333;
    z-index: 1;
    padding: 20px;
}

/* Watermark image behind the text */
.watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.1;
    max-width: 90%;
    height: auto;
    z-index: 0;
    pointer-events: none;
}

/* Text content in foreground */
.text-container h3 {
    color: white;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.text-container p {
    line-height: 1.6;
}

/* Hover effect for text */
.content-container:hover .text-container h3 {
    color: #1F2F56;
}

.content-container:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-10px); /* Slight lift effect on hover */
}

* {
    box-sizing: border-box; /* Ensures padding and borders are included in the element's total width and height */
}

.content-container {
    display: flex; /* Use flexbox for layout */
    align-items: stretch; /* Align items to stretch to equal height */
}

.image-container, .text-container {
    flex: 1; /* Make each child take equal space */
    padding: 20px; /* Add some padding */
    border: none; /* Remove any border */
}

    .image-container img, .text-container .watermark {
        width: 100%; /* Make images responsive and take the full width of the container */
        height: auto; /* Maintain aspect ratio */
        border: none; /* Ensure no border on images */
        border-radius: 10px; /* Optional: add some rounded corners */
    }

.text-container {
    position: relative; /* Position for the watermark */
    background: rgba(255, 255, 255, 0.8); /* Background color with transparency */
    border: none; /* Remove border */
}



/* Card Hover Animation: Scale effect */
.card2:hover::before {
    opacity: 0.15; /* Increase opacity on hover */
    transform: scale(1.05); /* Slightly scale up the background image */
    transition: opacity 0.3s ease, transform 0.3s ease;
}

<!-- card1-- >
/* Basic Card Style */
.card2 {
    position: relative;
    max-width: 600px;
    margin: 30px auto;
    background-color: lightpink;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover Effects */
.card2:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

/* Card Content */
.card2-content {
    position: relative;
    z-index: 1;
    padding: 30px 30px;
}

/* Title */
.card2-title {
    font-size: 1.8rem;
    color: #007FFF;
    margin-bottom: 15px;
    text-transform: uppercase;
    justify-content: center;
}

/* Text Content */
.card2-text {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    justify-content: space-between;
}

/* Watermark Background */
.card2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/path/to/your/Medaille.jpg'); /* Change to your image URL */
    background-size: cover;
    background-position: center;
    opacity: 0.1; /* Low opacity for watermark effect */
    z-index: 0;
    pointer-events: none; /* Ensure text is clickable and not blocked by image */
}

/* Card Hover Animation: Scale effect */
.card2:hover::before {
    opacity: 0.15; /* Increase opacity on hover */
    transform: scale(1.05); /* Slightly scale up the background image */
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.content-area {
    background: linear-gradient(to bottom right, rgba(255, 182, 193, 0.8), rgba(255, 105, 180, 0.8)); /* Pink gradient */
    padding: 20px; /* Add some padding */
    border-radius: 10px; /* Optional: Add rounded corners */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Optional: Add a subtle shadow for depth */
    transition: background 0.3s ease; /* Smooth transition for background change (if needed) */
}

    .content-area:hover {
        background: linear-gradient(to bottom right, rgba(255, 105, 180, 0.8), rgba(255, 182, 193, 0.8)); /* Slightly change gradient on hover */
    }

<!-- vie communautaire-- >
.community-content-container {
    display: flex; /* Use flexbox for layout */
    background-color: pink; /* Set the background color to pink */
    padding: 20px; /* Optional: Add padding to the container */
    transition: transform 0.3s ease; /* Smooth transition for transform */
}

/* Hover Effect */
.community-content-container:hover {
    transform: scale(1.05); /* Scale the container up on hover */
}

/* Styling for child elements */
.community-image-container {
    flex: 1; /* Allows the image container to take equal available width */
}

    .community-image-container img {
        width: 100%; /* Make the image fully responsive */
        height: auto; /* Maintain aspect ratio */
        max-height: 100%; /* Prevent overflow */
    }

.community-text-container {
    flex: 1; /* Allows the text container to take equal available width */
    display: flex;
    flex-direction: column; /* Align items vertically */
    justify-content: center; /* Center content vertically */
    position: relative; /* Needed for watermark position */
}

.community-content-text {
    margin: 20px; /* Add some spacing around text */
    position: relative; /* Position relative for proper alignment with watermark */
    z-index: 1; /* Ensure text is above watermark */
}

.community-watermark {
    position: absolute; /* Positioning of watermark */
    width: 100%; /* Full width */
    height: auto; /* Maintain aspect ratio */
    z-index: 0; /* Make sure it stays behind text content */
}
<!-- qui sommes nous-- >
.watermark-container {
    position: relative; /* Positioning context for the watermark */
    background-color: #fff; /* Background color for the card */
    padding: 20px; /* Space inside the card */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    overflow: hidden; /* To contain absolutely positioned elements */
}


.watermark-container::before {
    content: ""; /* Create a pseudo-element for the watermark */
    background-image: url('/Images/Medaille.jpg'); /* Path to your watermark image */
    background-size: cover; /* Adjust size to cover the container */
    background-repeat: no-repeat; /* No repeat */
    position: absolute; /* Absolute positioning */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1; /* Make watermark faint */
    z-index: 0; /* Put behind the text */
}

/*Qui sommes nous*/

/*Qui sommes nous*/
/* Your custom styles go here */
body {
    background-color: #F8F9FA; /* Elegant white background */
}

header {
    background-color: white;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.content-container {
    position: relative;
    max-width: 1350px;
    margin: auto;
    padding: 60px;
    border: 4px solid #4CAF50;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background-color: #007FFF;
    overflow: hidden;
    display: flex;
    gap: 30px;
    align-items: center;
    transition: all 0.3s ease-in-out;
}

.content-container {
    position: relative;
    max-width: 1350px;
    margin: auto;
    padding: 60px;
    border: 4px solid #4CAF50;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background-color: #007FFF;
    overflow: hidden;
    display: flex;
    gap: 30px;
    align-items: center;
    transition: all 0.3s ease-in-out;
}

/* Left image styling */
.image-container {
    flex: 1;
    text-align: center;
}

    .image-container img {
        width: 100%;
        max-width: 700px;
        height: auto;
        border-radius: 16px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease-in-out;
    }

.content-container:hover .image-container img {
    transform: scale(1.05); /* Slight zoom effect on hover */
}

/* Text Section with watermark background */
.text-container {
    flex: 2;
    position: relative;
    font-family: Arial, sans-serif;
    color: #333;
    z-index: 1;
    padding: 20px;
}

/* Watermark image behind the text */
.watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.1;
    max-width: 90%;
    height: auto;
    z-index: 0;
    pointer-events: none;
}

/* Text content in foreground */
.text-container h3 {
    color: white;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.text-container p {
    line-height: 1.6;
}

/* Hover effect for text */
.content-container:hover .text-container h3 {
    color: #1F2F56;
}

.content-container:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-10px); /* Slight lift effect on hover */
}

* {
    box-sizing: border-box; /* Ensures padding and borders are included in the element's total width and height */
}

.content-container {
    display: flex; /* Use flexbox for layout */
    align-items: stretch; /* Align items to stretch to equal height */
}

.image-container, .text-container {
    flex: 1; /* Make each child take equal space */
    padding: 20px; /* Add some padding */
    border: none; /* Remove any border */
}

    .image-container img, .text-container .watermark {
        width: 100%; /* Make images responsive and take the full width of the container */
        height: auto; /* Maintain aspect ratio */
        border: none; /* Ensure no border on images */
        border-radius: 10px; /* Optional: add some rounded corners */
    }

.text-container {
    position: relative; /* Position for the watermark */
    background: rgba(255, 255, 255, 0.8); /* Background color with transparency */
    border: none; /* Remove border */
}



/* Card Hover Animation: Scale effect */
.card2:hover::before {
    opacity: 0.15; /* Increase opacity on hover */
    transform: scale(1.05); /* Slightly scale up the background image */
    transition: opacity 0.3s ease, transform 0.3s ease;
}

<!-- card1-- >
/* Basic Card Style */
.card2 {
    position: relative;
    max-width: 600px;
    margin: 30px auto;
    background-color: lightpink;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover Effects */
.card2:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

/* Card Content */
.card2-content {
    position: relative;
    z-index: 1;
    padding: 30px 30px;
}

/* Title */
.card2-title {
    font-size: 1.8rem;
    color: #007FFF;
    margin-bottom: 15px;
    text-transform: uppercase;
    justify-content: center;
}

/* Text Content */
.card2-text {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    justify-content: space-between;
}

/* Watermark Background */
.card2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/path/to/your/croixok.jpg'); /* Change to your image URL */
    background-size: cover;
    background-position: center;
    opacity: 0.1; /* Low opacity for watermark effect */
    z-index: 0;
    pointer-events: none; /* Ensure text is clickable and not blocked by image */
}

/* Card Hover Animation: Scale effect */
.card2:hover::before {
    opacity: 0.15; /* Increase opacity on hover */
    transform: scale(1.05); /* Slightly scale up the background image */
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.content-area {
    background: linear-gradient(to bottom right, rgba(255, 182, 193, 0.8), rgba(255, 105, 180, 0.8)); /* Pink gradient */
    padding: 20px; /* Add some padding */
    border-radius: 10px; /* Optional: Add rounded corners */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Optional: Add a subtle shadow for depth */
    transition: background 0.3s ease; /* Smooth transition for background change (if needed) */
}

    .content-area:hover {
        background: linear-gradient(to bottom right, rgba(255, 105, 180, 0.8), rgba(255, 182, 193, 0.8)); /* Slightly change gradient on hover */
    }

.community-content-container {
    display: flex; /* Use flexbox for layout */
    background-color: pink; /* Set the background color to pink */
    padding: 20px; /* Optional: Add padding to the container */
    transition: transform 0.3s ease; /* Smooth transition for transform */
}

    /* Hover Effect */
    .community-content-container:hover {
        transform: scale(1.05); /* Scale the container up on hover */
    }

/* Styling for child elements */
.community-image-container {
    flex: 1; /* Allows the image container to take equal available width */
}

    .community-image-container img {
        width: 100%; /* Make the image fully responsive */
        height: auto; /* Maintain aspect ratio */
        max-height: 100%; /* Prevent overflow */
    }

.community-text-container {
    flex: 1; /* Allows the text container to take equal available width */
    display: flex;
    flex-direction: column; /* Align items vertically */
    justify-content: center; /* Center content vertically */
    position: relative; /* Needed for watermark position */
}

.community-content-text {
    margin: 20px; /* Add some spacing around text */
    position: relative; /* Position relative for proper alignment with watermark */
    z-index: 1; /* Ensure text is above watermark */
}

.community-watermark {
    position: absolute; /* Positioning of watermark */
    width: 100%; /* Full width */
    height: auto; /* Maintain aspect ratio */
    z-index: 0; /* Make sure it stays behind text content */
}
<!-- qui sommes nous-- >
.watermark-container {
    position: relative; /* Positioning context for the watermark */
    background-color: #fff; /* Background color for the card */
    padding: 20px; /* Space inside the card */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    overflow: hidden; /* To contain absolutely positioned elements */
}


.watermark-container::before {
    content: ""; /* Create a pseudo-element for the watermark */
    background-image: url('/Images/croixok.jpg'); /* Path to your watermark image */
    background-size: cover; /* Adjust size to cover the container */
    background-repeat: no-repeat; /* No repeat */
    position: absolute; /* Absolute positioning */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1; /* Make watermark faint */
    z-index: 0; /* Put behind the text */
}

/*Qui sommes nous*/

.body.title-div {
    background-color: #1F2F56; /* Light background for contrast */
    font-family: 'Arial', sans-serif;
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove default padding */
    text-align: center; /* Center text inside body */
}

.title-display {
    font-size: 2em; /* Size for the name of the div */
    margin: 20px 0; /* Vertical margin */
    color: #333; /* Dark color for contrast */
}

.title-div {
    background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%); /* Gradient background */
    border-radius: 15px; /* Rounded corners */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* Soft shadow */
    padding: 40px 20px; /* Inner spacing */
    width: 100%; /* Full width */
    text-align: center; /* Center text inside */
    color: #ffffff; /* White text color for contrast */
    transition: transform 0.3s; /* Smooth transition */
    margin: 20px 0; /* Vertical margin */
}

    .title-div:hover {
        transform: scale(1.02); /* Slightly scale up on hover */
    }

    .title-div h1 {
        font-size: 2.5em; /* Large font size for the title */
        margin: 0; /* Remove default margin */
    }

.body.smooth-div {
    background-color: #f4f4f4; /* Light background for contrast */
    font-family: 'Arial', sans-serif;
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove default padding */
}

.smooth-div {
    background-color: #ffffff; /* White background for the div */
    border-radius: 15px; /* Rounded corners */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* Soft shadow */
    padding: 40px 20px; /* Inner spacing with more vertical padding */
    width: 100%; /* Full width */
    max-width: 1200px; /* Optional: limit the maximum width */
    margin: 20px auto; /* Center the div and give it some margin */
    text-align: center; /* Center text inside */
    transition: transform 0.3s; /* Smooth transition */
}

    .smooth-div:hover {
        transform: translateY(-5px); /* Slightly lift on hover */
    }

    .smooth-div h2 {
        color: #333; /* Darker text color */
        margin-bottom: 15px; /* Space below the heading */
    }

    .smooth-div p {
        color: #666; /* Lighter text color */
        line-height: 1.5; /* Space between lines */
        font-size: 1.1em; /* Slightly larger font size */
    }

     .carousel-caption {
  position: absolute ;
  bottom: 20px;    /* distance from bottom */
  left: 50%;       /* horizontally centered */
  transform: translateX(-50%); /* shift left by half width */
  text-align: center;
  width: auto;
  padding: 0 15px;
}
/*autres images aprs le header*/

body {
  background: #fdfdfd;
  font-family: sans-serif;
  margin: 0;
  padding: 40px 0;
}

.slider-bakhita-container {
  overflow: hidden;
  width: 100%;
  background: linear-gradient(to right, #ffffff, #f0f8ff);
  padding: 20px 0;
}

.slider-bakhita-track {
  display: flex;
  animation: bakhita-scroll 15s linear infinite; /* plus rapide */
  align-items: center;
}

.slider-bakhita-track img {
  width: 200px;
  height: 150px;
  margin: 0 15px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  animation: bakhita-float 2s ease-in-out infinite;
  transition: transform 0.3s, background-color 0.3s;
  object-fit: cover;
  background-color: white;
}
.slider-bakhita-track {
  display: flex;
  width: max-content;
  animation: bakhita-scroll 40s linear infinite;
}


.slider-bakhita-item {
  position: relative;
  width: 120px;
  height: 150px;
  margin: 0 10px;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
  animation: bakhita-float 2s ease-in-out infinite;
}

/* effet hover normal */
.slider-bakhita-item:hover,
.slider-bakhita-item.active-hover {
  transform: scale(1.1) rotate(2deg);
  box-shadow: 0 0 20px #007bff;
  background-color: #007bff;
}

/* Image interne */
.slider-bakhita-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 15px;
}


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

@keyframes bakhita-float {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-10px) rotate(-1deg); }
  100% { transform: translateY(0px); }
}

/*connaitreok*/
.connaitreok {
  width: 100vw;
  max-width: 100%;
  padding: 20px 20px;
  border-radius: 15px;
  margin: 40px 0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  color: white;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: default;
  box-sizing: border-box;

  /* coins rose clair légers */
  background:
    radial-gradient(circle at top left, #ffccdd 15%, transparent 5%),
    radial-gradient(circle at top right, #ffccdd 15%, transparent 5%),
    radial-gradient(circle at bottom left, #ffccdd 15%, transparent 5%),
    radial-gradient(circle at bottom right, #ffccdd 15%, transparent 10%),
    /* Fond bleu linéaire au centre */
    linear-gradient(135deg, #0052cc 0%, #3399ff 100%);
}


.connaitreok:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}


.connaitreok .card {
  background: transparent;
  padding: 20px;
}

.floating-main-title {
  font-weight: bold;
  font-size: 2.5rem;
  margin-bottom: 10px;
  animation: bounce 3s ease-in-out infinite;
}

.floating-main-title:hover {
  color: #ffccdd;
  text-shadow: 0 0 15px #ffccdd;
  transform: scale(1.1);
  transition: color 0.3s, transform 0.3s, text-shadow 0.3s;
  cursor: pointer;
}

.floating-sub-title {
  font-weight: bold;
  font-size: 1.6rem;
  margin-bottom: 30px;
  animation: knock 2.5s ease-in-out infinite;
  color: #e0e0e0;
}

.floating-sub-title:hover {
  color: #ff99bb;
  transform: translateX(5px);
  transition: color 0.3s, transform 0.3s;
  cursor: pointer;
}

/* Animation bounce pour h1 */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

/* Animation knock (petit choc horizontal) pour h3 */
@keyframes knock {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(10px);
  }
}

/* Ministeres de charite */

.mini-img { 
    display: block;
    width: 100%;
    height: auto;
    max-height: none; /* No height limit */
    object-fit: contain; /* Display full image */
    border-radius: 12px;
    margin-bottom: 20px;
}

/* Card styling */
.custom-card {
    padding: 20px 20px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    min-height: 100vh; /* Optional: makes the container tall */
}

/* Button styling */
.mini-button {
    background: linear-gradient(to right, #0055a5, #007bff);
    border: none;
    border-radius: 20px;
    padding: 12px 24px;
    font-size: 18px;
    font-family: 'Segoe UI', sans-serif;
    font-weight: 600;
    color: white;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin: 20px auto 0 auto;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.mini-button:hover {
    background-color: #003f7f;
    transform: scale(1.05);
}

/*chapitre general*/
#general {
    background: linear-gradient(to bottom right, #e8f0ff, #f9fafe);
    padding: 60px 20px;
    border-radius: 20px;
}

.general-card {
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 15px;
    display: flex;
    flex-direction: column;
    height: 80%;
}


.general-media {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
    transition: transform 0.4s ease;
}

.general-card:hover .general-media {
    transform: scale(1.03);
}

.general-button {
    background: linear-gradient(135deg, #0055a5, #00aaff);
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    font-family: 'Segoe UI', sans-serif;
    padding: 12px 26px;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 85, 165, 0.3);
}

.general-button:hover {
    background: linear-gradient(135deg, #003f7f, #007acc);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 85, 165, 0.5);
}



/* Appliquer à tous les éléments */
 

/*Autres temoins*/
body {
      background: #f9f9f9;
      color: #333;
    }
    .title-div h1 {
      margin-top: 2rem;
      font-weight: 700;
      text-align: center;
      color: #003366;
      text-transform: uppercase;
      letter-spacing: 2px;
    }
    .smooth-div h2 {
      text-align: center;
      margin-top: 1rem;
      font-weight: 600;
      color: #0052cc;
      letter-spacing: 1.5px;
    }
    .smooth-div p {
      max-width: 1100px;
      margin: 0.5rem auto 3rem auto;
      font-size: 18px;
      text-align: justify;
      line-height: 1.6;
    }

    .section-header {
      background-color: #0052cc;
      color: white;
      font-weight: 700;
      font-size: 2.5rem;
      padding: 1.5rem 0;
      margin-top: 4rem;
      border-radius: 0.5rem;
      text-align: center;
      text-transform: uppercase;
      letter-spacing: 1.5px;
      box-shadow: 0 4px 10px rgba(0, 82, 204, 0.5);
    }

    .main-image {
      display: block;
      margin: 2rem auto;
      max-width: 350px;
      border-radius: 15px;
      box-shadow: 0 6px 15px rgba(0,0,0,0.15);
      transition: transform 0.3s ease;
    }
    .main-image:hover {
      transform: scale(1.05);
    }

   .text-container {
  position: relative;
  width: 100%; /* Takes full width of its parent */
  max-width: none; /* Remove width constraint */
  margin: 2rem 0; /* Optional: top/bottom margin only */
  padding: 3rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  overflow: hidden;
}

.text-container .watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  object-fit: cover;
  opacity: 0.1;
  transform: translate(-50%, -50%);
  filter: grayscale(100%) blur(2px);
  pointer-events: none;
  user-select: none;
  border-radius: 15px;
  z-index: 0;
}


    .text-container .content-text {
      position: relative;
      z-index: 1;
      font-size: 18px;
      line-height: 1.7;
      color: #222;
      text-align: justify;
    }

    /*evenements*/
    body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 20px;
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.event-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.event-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    position: relative;
    height: 430px; /* Fixed height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.event-card.expanded {
    height: auto; /* Allow full content when expanded */
}

.event-image-wrapper {
    height: 150px;
    overflow: hidden;
    transition: height 0.3s ease;
}

.event-image-wrapper.expanded {
    height: auto;
}

.event-image {
    width: 100%;
    display: block;
}

.event-content {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.event-title {
    font-size: 1.3rem;
    color: #222;
    margin-bottom: 10px;
}

.event-text {
    font-size: 0.95rem;
    color: #555;
    height: 60px;
    overflow: hidden;
    position: relative;
    transition: height 0.3s ease;
}

.event-text.expanded {
    height: auto;
}

.event-doc {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 12px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.see-all-btn {
    background-color: #0056b3;
    color: white;
    padding: 6px 10px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    margin-top: 10px;
    width: 25%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    font-size: 18px;
    font-weight: bold;
}

.pdf-link {
    background-color: #0056b3;
    color: white;
    padding: 6px 10px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    margin-top: 10px;
    width: 80%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    font-size: 18px;
    font-weight: bold;
}

.see-all-btn:hover {
    background-color:rgb(64, 149, 229);
}



/*Communities cards for pictures */

 .com { 
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin: 40px 0;
  width: 100%;
  box-sizing: border-box;
}

.com .card {
  background: linear-gradient(145deg, #f0f4ff, #d9e3ff);
  border-radius: 30px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  cursor: pointer;
  text-align: center;
  flex: 1 1 45%;
  max-width: 45%;
  display: flex;
  flex-direction: column;
  padding: 20px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  will-change: transform;
  position: relative;
}

.com .card h3 {
  margin: 20px 0 15px 0;
  font-size: 1.4rem;
  font-weight: 700;
  color: rgb(6, 171, 236);
  padding: 0 15px;
  user-select: none;
}

.com .card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(26, 35, 126, 0.3);
  transition: transform 0.5s ease, filter 0.5s ease;
  will-change: transform;
  filter: brightness(0.95);
}

.com .card:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: 0 18px 40px rgba(26, 35, 126, 0.35);
  z-index: 10;
}

.com .card:hover img {
  animation: floatZoom 4s ease-in-out infinite;
  filter: brightness(1);
}

@keyframes floatZoom {
  0%, 100% {
    transform: scale(1) translateY(0);
  }
  50% {
    transform: scale(1.05) translateY(-8px);
  }
}

/* com1: normal layout */
#com1 .card img {
  transform: rotate(0deg);
}

/* com2: tilted effect with radius */
#com2 .card img {
  transform: rotate(-5deg);
  border-radius: 20px;
  filter: drop-shadow(3px 6px 10px rgba(0, 0, 0, 0.15));
}

#com2 .card:hover img {
  transform: rotate(0deg) scale(1.05);
  filter: drop-shadow(6px 12px 20px rgba(0, 0, 0, 0.3));
}

/* com3: 3D effect with radius */
#com3 {
  perspective: 1000px;
}

#com3 .card {
  transform-style: preserve-3d;
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}

#com3 .card img {
  transform: rotateY(-8deg) rotateX(4deg);
  filter: drop-shadow(3px 5px 6px rgba(26, 35, 126, 0.25));
  border-radius: 10px;
  transition: transform 0.6s ease, filter 0.6s ease;
}

#com3 .card:hover {
  transform: rotateY(0deg) scale(1.05) translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

#com3 .card:hover img {
  transform: rotateY(0deg) scale(1.1) translateY(-10px);
  filter: drop-shadow(7px 10px 25px rgba(26, 35, 126, 0.45));
}

/* Responsive design */
@media (max-width: 768px) {
  .com {
    flex-direction: column;
  }

  .com .card {
    max-width: 100%;
    flex-basis: 100%;
  }
}

/*Cards maisons en bas et d'autres display pages*/
/* Main container */
#com4 {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 1400px;
  margin: 60px auto;
  padding: 50px 40px;
  box-sizing: border-box;
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  z-index: 1;
  background: #f9fdff;
}

/* Decorative background shape - Top right */
#com4::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -120px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle at center, #d0f1ff, #ffffff);
  transform: rotate(20deg);
  z-index: -1;
  border-radius: 50%;
  opacity: 0.8;
}

/* Decorative background shape - Bottom right */
#com4::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -100px;
  left: -100px;
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg,rgb(103, 190, 236), #ffffff);
  transform: rotate(-15deg);
  z-index: -1;
  border-radius: 50%;
  opacity: 0.6;
}

/* Card styling */
#com4 .card {
  flex: 1 1 calc(25% - 20px);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: all 0.4s ease;
  padding: 18px;
  position: relative;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(200, 230, 255, 0.4);
}

#com4 .card::after {
  content: '';
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(173, 216, 255, 0.15) 20%, transparent 80%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

#com4 .card:hover::after {
  opacity: 1;
}

/* Card title */
* h3 styles */
#com4 .card h3 {
  font-size: 1.3rem;
  color: #000000;
  font-weight: 600;
  margin: 10px 0 15px;
}

/* Card image */
#com4 .card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
  transform: rotate(-3deg);
  transition: all 0.5s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

#com4 .card:hover img {
  transform: rotate(0deg) scale(1.05);
  filter: brightness(1.08);
}

/* Card button */
#com4 .card-btn {
  margin: 16px auto 0 auto;
  width: 140px;
  padding: 10px 18px;
  border: none;
  border-radius: 30px;
  background: linear-gradient(135deg, #3f8efc, #00c6ff);
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 12px rgba(0, 140, 255, 0.35);
  position: relative;
  z-index: 1;
}

#com4 .card-btn:hover {
  background: linear-gradient(135deg, #00bfff, #007cf0);
  transform: scale(1.07);
  box-shadow: 0 10px 18px rgba(0, 180, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 992px) {
  #com4 .card {
    flex: 1 1 calc(50% - 20px);
  }
}

@media (max-width: 576px) {
  #com4 {
    flex-direction: column;
  }

  #com4 .card {
    flex: 1 1 100%;
  }
}

/* Contact form*/


/*for header and footer margin*/

header, footer {
  margin: 0;
  padding: 0;
  width: 100%;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/*caroussel enhancing*/
/* Global page reset */
body, html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Carousel container */
#carousselok {
  max-height: 80vh;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  margin-top: 20px;
}

/* Image wrapper for blue border and rounded corners */
#carousselok .carousel-image-wrapper {
  border: 6px solid #007bff; /* Bright blue border */
  border-radius: 20px;
  overflow: hidden;
  height: 80vh;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
}

/* Image styling */
#carousselok .carousel-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease-in-out;
  display: block;
}

/* Zoom effect on active slide */
#carousselok .carousel-item.active img {
  transform: scale(1.05);
}

/* Caption styling */
#carousselok .carousel-caption {
  background: rgba(0, 0, 0, 0.5);
  padding: 20px 30px;
  border-radius: 12px;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 70%;
}

/* Caption text */
#carousselok .carousel-caption h1 {
  color: #fff;
  font-size: 2.5rem;
  font-weight: bold;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
  font-family: 'Segoe UI', sans-serif;
}

/* Carousel indicators */
#carousselok .carousel-indicators [data-bs-target] {
  background-color: #fff;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  margin: 0 6px;
  opacity: 0.6;
  transition: all 0.3s ease-in-out;
}

#carousselok .carousel-indicators .active {
  opacity: 1;
  background-color: rgb(44, 105, 219);
  transform: scale(1.2);
}

/* Smooth fade transition */
#carousselok.carousel.fade .carousel-item {
  opacity: 0;
  transition-duration: 1.2s;
  transition-property: opacity;
}

#carousselok.carousel.fade .carousel-item.active {
  opacity: 1;
}

/*for button chapitre general*/
.pdf-link, .mini-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007bff; /* Blue */
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.pdf-link:hover, .mini-button:hover {
  background-color: #0056b3;
}

/*Chapitre general*/
#chapgen {
    position: relative;
    padding: 50px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    background: #f0f6fc;
    border-radius: 20px;
    overflow: hidden;
  }

  /* Blue corner decorative designs */
  #chapgen::before,
  #chapgen::after,
  #chapgen .corner-top-right,
  #chapgen .corner-bottom-left {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    background: radial-gradient(circle, #007bff, #0055a5);
    opacity: 0.3;
    border-radius: 50%;
    z-index: 0;
  }

  #chapgen::before {
    top: -40px;
    left: -40px;
  }

  #chapgen::after {
    bottom: -40px;
    right: -40px;
  }

  #chapgen .corner-top-right {
    top: -40px;
    right: -40px;
  }

  #chapgen .corner-bottom-left {
    bottom: -40px;
    left: -40px;
  }

  .card-custom {
    position: relative;
    width: 340px;
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 85, 165, 0.2);
    background: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 2;
  }

  .card-custom:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 85, 165, 0.3);
  }

  .oblique-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transform: skewY(-5deg);
    transition: transform 0.4s ease;
  }

  .card-custom:hover .oblique-image {
    transform: skewY(-5deg) scale(1.05) rotate(1deg);
  }

  .video-wrapper video {
    width: 100%;
    height: 250px;
    border-radius: 10px;
    object-fit: cover;
  }

  .card-body {
    padding: 20px;
    font-family: 'Segoe UI', sans-serif;
    color: #0055a5;
    font-weight: 500;
  }

  .card-title {
    font-size: 20px;
    margin-bottom: 15px;
    color: #003f7f;
  }

  .custom-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #0055a5;
    color: white;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
  }

  .custom-btn:hover {
    background-color: #003f7f;
  }