
/* ----------------------------------------------- */


/* General carousel container styling */
.swiper-container {
    width: 100%;
    height: 100vh; /* Full viewport height, adjust as needed */
    position: relative;
    overflow: hidden;
}

.swiper-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease; /* Smooth sliding transition */
}

.swiper-slide {
    flex: 0 0 100%; /* Each slide takes full width */
    height: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Load images as backgrounds from data-slide-bg */
.swiper-slide.context-dark[data-slide-bg]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-image: url(attr(data-slide-bg url)); */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1; /* Behind content */
}

/* Pagination styling */
.swiper-pagination {
    position: absolute;
    bottom: 20px;
    left: 78%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
    margin-left:10px
}

.swiper-pagination-bullet-active {
    background: #fff;
}

/* Slide captions (optional, for animation or positioning) */
.swiper-slide-caption {
    position: relative;
    z-index: 1;
    color: #fff;
    padding: 20px;
}

/* Animation for captions (simplified fade-in) */


/* Dark context for slides */
.context-dark {
    color: #fff;
}



.section-bgt {
    position: relative;
    background: url('/images/atlas/night.webp') no-repeat center center;
    background-size: cover;
    min-height: 500px; /* Maintains a minimum height */
    width: 100%;
    display: flex;
    align-items: center; /* Centers content vertically */
    justify-content: center; /* Centers content horizontally */
    color: white; /* Ensures text contrast */
    background-attachment: fixed; /* Fixed background for desktop */
}

/* Ensure the background image loads correctly */
.section-bgt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit; /* Inherits the background from .section-bgt */
    z-index: 1; /* Behind the content but ensures the image is visible */
}

/* Style the container to position content above the background */
.section-bgt .container {
    position: relative;
    z-index: 2; /* Ensures content is above the background */
    padding: 20px; /* Adds padding for better spacing */
}

/* Style the caption with a semi-transparent background */
.camera_caption.caption-bg-2 {
    background: rgba(39, 45, 51, 0.85); /* Dark semi-transparent background */
    padding: 30px; /* Adjust padding for better readability */
    border-radius: 8px; /* Optional: Rounded corners for a modern look */
    width: 100%; /* Full width on mobile, adjustable on desktop */
    max-width: 580px; /* Limits width on desktop */
    box-sizing: border-box; /* Ensures padding is included in width */
    text-align: left; /* Keeps text left-aligned */
}

/* General caption styling */
.camera_caption {
    position: relative;
    z-index: 2; /* Ensures it’s above the background */
    color: white; /* White text for contrast */
}

.camera_caption h2 {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 15px;
}

.camera_caption p {
    font-size: 16px;
    line-height: 1.6;
}

/* Mobile-specific adjustments (below 768px) */
@media (max-width: 768px) {
    .section-bgt {
        min-height: 300px; /* Reduce height on mobile */
        background-attachment: scroll !important; /* Force background to scroll on mobile */
        background-size: cover; /* Ensure the image covers the area */
    }

    .section-bgt::before {
        background-attachment: scroll !important; /* Ensure the pseudo-element scrolls on mobile */
    }

    .camera_caption.caption-bg-2 {
        padding: 20px;
        max-width: 100%; /* Full width on mobile */
    }

    .camera_caption h2 {
        font-size: 20px;
    }

    .camera_caption p {
        font-size: 14px;
    }
}



/* ------------------------------------------------------ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a, a:visited, a:hover, a:focus {
    text-decoration: none!important;
}


body {
    font-family: Arial, sans-serif;
}

.header {
    background: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
}

.imglogo {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 120px;
}

.containerHeader {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 0;
}

.menu-toggle {
    display: none; /* Hidden on desktop by default */
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle div {
    width: 25px;
    height: 4px;
    background: black;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Align logo to the left on desktop */
}

.logo img {
    height: 60px;
    max-width: 140px;
}

.phone {
    position: relative;
    align-items: center;
    text-align: right;
}

.phone-toggle {
    display: none!important; /* Hidden on desktop by default */
    background: none;
    border: none;
    color: black;
    font-size: 0;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.phone-toggle span {
    width: 4px;
    height: 4px;
    background: black;
    border-radius: 50%;
}


.phone-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #222;
    color: white;
    padding: 10px;
    min-width: 200px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.phone-menu a {
    color: #F9961F;
    text-decoration: none;
}

.phone-menu p {
    font-size: 14px;
    color: #777;
}

.desktop-phone {
    display: block; /* Show on desktop by default */
}

nav {
    background: #272d33;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    padding: 0 15px;
    height: 80px;
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: space-between;
    width: 480px;
    place-self: center;
    margin-top: 15px;
    position: relative;
    padding-left: 0rem;
}

.nav-links li {
    margin: 0;
    position: relative;
}

.nav-links a:hover {
    color: white; /* Ensure text stays white on hover */
}

.nav-links a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: white;
    font-size: 19px;
    padding: 30px 0;
    font-weight: 600;
    position: relative;
}


.nav-links li:first-child::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 9px;
    background: #F9961F;
}

.nav-links li:nth-child(1):before
 {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #F9961F;
}



/* Hover effect directly on li for first, second, and third children */
.nav-links li:nth-child(1):hover::after,
.nav-links li:nth-child(2):hover::after,
.nav-links li:nth-child(3):hover::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 9px;
    background: #F9961F;
}

/* Add the downward triangle directly on li for first, second, and third children */
.nav-links li:nth-child(1):hover::before,
.nav-links li:nth-child(2):hover::before,
.nav-links li:nth-child(3):hover::before {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #F9961F;
}



.parallax-container {
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.parallax-disabled {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}




/* dd {
    padding-top: 5px;
} */

/* Mobile Styles (max-width: 768px) */
@media (max-width: 768px) {

    .logo > img {
        max-width: 140px!important;
        max-height: 58px!important;
        width: auto;
        height: auto;
    }
    
    .containerHeader {
        padding: 10px;
        justify-content: space-between;
    }

    .menu-toggle {
        display: flex;
        margin-left: 5px;
    }

    .nav-container {
        display: flex;
        position: fixed;
        left: -250px;
        width: 250px;
        height: 100vh;
        background: #222;
        transition: left 0.3s ease;
        z-index: 1000;
        padding: 0px
    }

    .nav-links {
        padding-left: 0rem!important;
    margin-bottom: auto;

    }

    .nav-container.show {
        left: 0;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        width: 100%;
        background: transparent;
    }

    .nav-links a {
        text-align: left;
        padding: 15px 20px;
        color: white;
        font-size: 16px;
    }

    .nav-links li:nth-child(1)::after,
    .nav-links li:nth-child(2)::after,
    .nav-links li:nth-child(3)::after,
    .nav-links li:nth-child(1)::before,
    .nav-links li:nth-child(2)::before,
    .nav-links li:nth-child(3)::before {
        content: none!important; 
    }

    .nav-links li:first-child {
        background: #F9961F !important;
    }

    .logo {
        flex: 1;
        justify-content: start;
        margin-left: 20px;
    }

    .logo img {
        max-height: 58px;
        max-width: 140px;
    }

    .phone-toggle {
        display: flex!important;
    }

    
    .desktop-phone {
        display: none; /* Hide on mobile */
    }

    .phone-menu {
        display: none;
    }

    .phone-menu.show {
        display: block;
        width: 360px;
        margin-top: 26px;
        margin-left: 0;
        background: white;
    }

   
}


/* ------------privacypolicy page------------- */


.privacy-policy h1 ,
.privacy-policy h2,
.privacy-policy h3,
.privacy-policy p,
.privacy-policy ul li,
.privacy-policy a {
    color: #000!important; /* Assure que tous les textes sont en noir */
}

.privacy-policy {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.privacy-policy h1 {
    font-size: 28px;
    text-align: center;
    color: #222;
    margin-bottom: 20px;
}

.privacy-policy h2 {
    font-size: 22px;
    color: #444;
    border-bottom: 2px solid #007BFF;
    padding-bottom: 5px;
    margin-top: 20px;
}

.privacy-policy p {
    font-size: 16px;
    margin-bottom: 15px;
}

.privacy-policy ul {
    padding-left: 20px;
}

.privacy-policy ul li {
    font-size: 16px;
    margin-bottom: 5px;
}

.privacy-policy .contact {
    margin-top: 20px;
    padding: 15px;
    background: #e7f1ff;
    border-left: 5px solid #007BFF;
    border-radius: 5px;
}

.privacy-policy .contact p {
    margin: 5px 0;
    font-size: 16px;
}

.privacy-policy .contact strong {
    color: #007BFF;
}


