*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}
.header {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.header video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the video covers the container */
    z-index: -1; /* Places the video behind the content */
}


.header-content {
    position: relative;
    z-index: 1; /* Ensures content is above the video */
    /* Add other styles for your content here */
}


/* Header Buttons */
.header-buttons {
    display: flex;
    gap: 10px; /* Space between buttons */
    margin-left: auto; /* Push the buttons container to the right */
    margin-right: 30px; /* Adjust this value to move buttons slightly to the left */
    align-items: center; /* Align items vertically */
    margin-top: -45px;
}


.header-btn {
    display: inline-block;
    text-decoration: none;
    color: #ffffff;
    border: 1px solid #ffffff;
    padding: 10px 20px;
    font-size: 14px;
    background: transparent;
    cursor: pointer;
    transition: 0.3s;
    margin-top: -10px; /* Adjust this value to align vertically */
    border-radius: 70px;
}


.header-btn:hover {
    border: 1px solid #CBE2B5;
    background: #CBE2B5;
}

/* Info Bar */
.info-bar {
    background-color: #CBE2B5;
    color: #000000;
    text-align: left ;
    padding: 5px 0;
    font-size: 14px;
}


.info-bar span {
    margin-right: 20px; /* Adjust the spacing as needed */
}

.info-bar span:last-child {
    margin-right: 0; /* Remove margin from the last item */
}

.info-bar p {
    margin: 0;
}

nav{
    background-color: #6C946F;
    display: flex;
    padding: 1% 4%;
    justify-content: space-between;
    align-items: center;
}
nav img{
    width: 135px;
}
.nav-links{
    flex: 1;
    margin-left: 50px;
}
.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}
.nav-links ul li a{
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
}
.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #CBE2B5;
    display: block;
    margin: auto;
    transition: .5s;    
}
.nav-links ul li:hover::after{
    width: 100%;
}
nav .fa{
    display: none;
}

.text-box{
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
.text-box h1{
    font-size: 42px;
    margin-left: 20px;
}
.text-box p{
    margin: 20px 0 40px;
    font-size: 14px;
    color: #fff;
}
.hero-btn {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid #fff;
    padding: 12px 45px;
    font-size: 16px;
    background: transparent;
    position: relative;
    cursor: pointer;
    transition: 1s;
    margin-top: 15px;
    border-radius: 70px;
}

.hero-btn:hover{
    border: 1px solid #CBE2B5;
    background: #CBE2B5;
}


@media(max-width: 700px)
{
   .nav-links ul li
    {
        display: block;
    }
    .nav-links
    {
        position: fixed;
        background: #2da1be;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 0.5s;
    }
    .nav-links ul{
        padding: 30px;
    }
    nav .fa{
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 22px;
        cursor: pointer; 
        position: absolute; /* This is the key change */
        top: 0; /* Align it to the top */
        right: 20px; /* Align it to the right with some spacing */
    }
    .text-box h1{
        font-size: 24px;
        text-align: center;
    }
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    z-index: 1000; /* Ensure dropdown stays above header */
}

.dropdown-btn {
    cursor: pointer;
    color: #000000;
    text-decoration: none;
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 2000; /* Ensure dropdown content stays on top */
    border: 1px solid #000000;
    top: 100%; /* Position dropdown below the button */
}

.dropdown .dropdown-content a{
    color: #002d13;
}

.dropdown-content a {
    color: #000000;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    border-bottom: 1px solid #ffffff;
    transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
    background-color: #CBE2B5;
    color: #002d13;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Mobile Dropdown Menu */
@media(max-width: 700px) {
    .dropdown-content {
        display: none;
        position: static; /* Remove absolute positioning */
        background-color: transparent; /* Remove background */
        box-shadow: none; /* Remove shadow */
        border: none; /* Remove border */
        width: 100%;
        padding: 0; /* Remove padding */
        margin: 0; /* Remove margin */
    }

    .dropdown-content.show {
        display: block;
    }

    .dropdown .dropdown-content a{
        color: #ffffff;
    }

    .dropdown-content a {
        padding: 10px; /* Adjust padding as needed */
        border: none; /* Remove border */
        text-decoration: none; /* Ensure no underline */
        color: #000; /* Text color */
        background: none; /* Ensure no background color */
        margin: 0; /* Remove margin */
        transition: none; /* Disable transition effects */
    }

    .dropdown-content a:hover {
        background-color: transparent; /* No hover background */
        color: #000; /* No hover color change */
    }
}


/*---------- course --------*/

.course {
    width: 100%;
    margin: auto;
    background-image: linear-gradient(rgba(37, 41, 0, 0.7),#002d13),url(../images/cover1.jpg);
    background-size: cover;
    background-position: center;
}

.course h1{
    color: #ffffff;
}

h1{
    font-size: 36px;
    font-weight: 600;
    padding-top: 40px;
    margin-left: 140px;
    margin-bottom: 20px;
    color: #ffffff;
}
p{
    color: #777;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
    text-align: center;
}
.row {
    width: 80%;
    margin-top: 5%;
    display: flex;
    justify-content: space-between;  
    margin: auto;
}

.row1 {
    width: 80%;
    margin-top: 5px;
    display: flex;
    justify-content: space-between;  
    margin: auto;
}

.course-col{
    flex-basis: 31%;
    background: #ffffff;
    border-radius: 10px  ;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: .5s;
}
.course h3{
    color: #002d13;
}
h3{
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
}
.course-col:hover{
    box-shadow: 0 0 20px 0px #CBE2B5;
}
.heading-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.course-btn {
    display: inline-block;
    text-decoration: none;
    color: #ffffff;
    border: 1px solid #ffffff;
    padding: 10px 20px;
    font-size: 14px;
    background: transparent;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 30px;
    margin-bottom: 10px;
    margin-right: 140px;
}



@media (max-width: 700px) {
    .course {
        width: 100%;
        margin: auto;
        text-align: center;
    }
    .row, .row1 {
        flex-direction: column;
    }
    .heading-row {
        flex-direction: column;
        align-items: center;
        margin-left: 0;
        margin-right: 0;
        text-align: center; /* Center the text in the heading row */
    }
    h1 {
        margin: 0; /* Remove any default margins */
        font-size: 40px; /* Optional: Adjust font size for smaller screens */
    }
    .course-btn {
        margin-right: 0;
        margin-top: 10px; /* Optional: Adjust spacing between title and button */
    }

    p{
        text-align: justify;
    }

}

/*---------------- campus ----------------*/

.campus {
    width: 100%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
}
.campus h1{
    color: black;
    margin-left: 20px;
}

.campus p{
        color: #777;
        font-size: 14px;
        font-weight: 300;
        line-height: 22px;
        padding: 10px;
        text-align: center;
    
}

.campus-col{
    flex-basis: 32%;
    border-radius: 10px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}
.campus-col img{
    width: 100%;
}


.layer{
    background: transparent;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    position: absolute;
    transition: .5s;
}
.layer:hover{
    background: rgba(226, 0, 0, 0.7);
}
.layer h3{
    width: 100%;
    font-weight: 500;
    color: #fff;
    font-size: 26px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    opacity: 0;
    transition: .5s;
}
.layer:hover h3{
    bottom: 49%;
    opacity: 1;
}

/*-------------- Facilities ----------------*/

.facility {
    width: 90%;
    margin: auto;
    text-align: center;
    padding: 15px 20px;
    background-color: #f5f5f5; /* Background color for the section */
    padding-bottom: 10px;
}

.facility p {
    font-size: 16px; /* Adjust the font size as needed */
    color: #333; /* Darker color for better readability */
    max-width: 90%; /* Set a max width to avoid text stretching too wide */
    line-height: 1.6; /* Increase line height for better readability */
    text-align: center; /* Center the text alignment */
    padding-bottom: 20px;
}

.facility h1 {
    color: #002d13;
    margin-bottom: 20px;
    margin-left: 0;
}

@media (max-width: 700px) {
    .facility h1 {
        margin-right: 0;
    }
}

.packs-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.pack {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 100%;
    max-width: 300px; /* Adjust as needed */
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pack:hover {
    box-shadow: 0 0 26px rgb(76, 72, 72);
}

.pack h2 {
    font-size: 22px;
    margin-bottom: 15px;
    background-color: #6C946F; /* Default background color for titles */
    color: #ffffff;
    padding: 10px;
}

.pack-confort h2 {
    background-color: #a5bf8d; /* Specific background color for Pack Confort title */
}

.pack ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    flex-grow: 1; /* Ensure list grows to fill available space */
    text-align: left; /* Align text to the left */
    padding-left: 10px; /* Add padding to keep the list centered */
}

.pack ul li {
    position: relative;
    margin-bottom: 10px;
    color: #555;
    text-align: left; /* Align the text to the left */
    margin-left: 50px;
}

.pack ul li::before {
    content: "\2714"; /* Unicode for check mark */
    position: absolute;
    left: -50px; /* Adjust for correct alignment with text */
    color: #a5bf8d; /* Blue color for the check mark */
    font-size: 18px; /* Adjust size as needed */
    line-height: 1;
}

.pack-confort ul li::before{
    color: #6C946F;
}
.details-btn {
    display: inline-block;
    padding: 5px 5px;
    color: #fff;
    background-color: #6C946F;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
}

.pack-confort .details-btn{
    background-color: #a5bf8d;
}

.pack .details-btn:hover {
    background-color: #6C946F;
}

.pack-confort .details-btn:hover {
    background-color: #a5bf8d;
}
/*---------------- testimonials ------------------*/

.testimonials{
    width: 100%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
}

.testimonials h1{
    color: black;
    margin-left: 20px;
}

.testimonials p{
    text-align: center ;
  } 

  .testimonial-col p{
    padding: 0;
    text-align: justify;
  }

.testimonial-col {
    flex-basis: 44%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
    background: #e5f1dd;
    padding: 25px;
    cursor: pointer;
    display: flex;
}
.testimonial-col img{
    height: 40px;
    margin-left: 5px;
    margin-right: 30px;
    border-radius: 50%;
}
.testimonial-col p{
    padding: 0;
}
.testimonial-col h3{
    margin-top: 15px;
    text-align: left;
}
.testimonial-col .fa{
    color: #f6ae04;
}

@media(max-width:700px){
    .testimonial-col img{
        margin-left: 0px;
        margin-right: 15px;
    }
}



/*-------- Call To Action ----------*/


.cta{
    margin: 100px auto;
    width: 80%;
    background-image: linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7)),url(images/banner2.jpg);
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    text-align: center;
    padding: 100px 0;
}
.cta h1{
    color: #fff;
    margin-bottom: 40px; 
    padding: 0; 
}

@media(max-width:700px){
    .cta h1{
        font-size: 24px;
    }
}








/* Default to hide the mobile-specific span */
.info-bar .mobile-view {
    display: none;
}

@media(max-width: 700px) {
    .header-buttons {
        display: none; /* Hide buttons on mobile */
    }
    .nav-links {
        position: fixed;
        background: #6C946F;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 0.5s;
    }

    .nav-links ul {
        padding: 30px;
    }

    nav .fa {
        display: block;
        color: #ffffff;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
        position: absolute;
        top: 0;
        right: 20px;
    }
}

@media(max-width: 700px) {
    .info-bar {
        text-align: center;
        padding: 10px 0;
    }

    .info-bar .desktop-view:nth-child(1) {
        display: block;
        text-align: center;
        margin-bottom: 5px;
    }

    .info-bar .desktop-view:nth-child(2),
    .info-bar .desktop-view:nth-child(3) {
        display: inline-block;
        margin-right: 10px;
    }
}

/* section of a propos de nous   */

.about-us-section {
    width: 80%;
    margin: auto;
    padding: 60px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.about-us-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo-container {
    flex-basis: 40%;
}

.logo-container img {
    width: 100%;
    max-width: 400px; /* Adjust based on the logo size */
}

.text-container {
    flex-basis: 55%;
    padding-left: 30px; /* Add some padding between the image and text */
}

.text-container h2 {
    font-size: 20px;
    color: #002d13;
    margin-bottom: 15px;
}

.text-container h3 {
    font-size: 30px;
    color: #6C946F;
    margin-bottom: 20px;
    text-align: left;
}

.text-container p {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
    text-align: justify;
}

@media (max-width: 700px) {
    .about-us-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }

    .about-us-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .logo-container {
        order: 1; /* Display the image first */
        width: 100%;
        display: flex;
        justify-content: center;
        margin-bottom: 10px;
    }

    .text-container {
        order: 2; /* Display the text after the image */
        width: 100%;
        padding-left: 0;
        margin-top: 0px
    }

    .text-container h2 {
        font-size: 14px;
        text-align: left;
        margin-bottom: 15px;
    }

    .text-container h3 {
        font-size: 18px;
        margin-top: 0px;
    }

    .text-container p {
        font-size: 14px;
    }
    
}



.text-container h2,
.text-container h3,
.text-container p {
    margin: 0; /* Reset margins */
    padding: 0; /* Reset padding */
}

.text-container p {
    margin-top: 10px; /* Adjust this value as needed */
    text-align: justify; /* Keep the text justified */
    
}



/*map contact*/

.contact-map .container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: stretch;
    padding: 50px 0;
    width: 80%;
    margin: auto;
}

.contact-map{
    color: #002d13;
}

.contact-form, .google-map {
    width: 48%; /* Each takes up 48% to allow space between them */
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 8px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form input, .contact-form textarea {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

.contact-form .btn {
    padding: 10px 20px;
    background-color: #6C946F;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
}

.contact-form .btn:hover {
    background-color: #CBE2B5;
}

.google-map iframe {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .contact-map .container {
        margin: 20px;
        flex-direction: column;
    }

    .contact-form, .google-map {
        width: 100%;
    }

    .contact-form {
        order: 1;
    }

    .google-map {
        order: 2;
        margin-top: 20px;
    }
}

/* Footer */
.site-footer {
    background-color: #6C946F;
    color: #fff;
    padding: 40px 0;
    font-family: Arial, sans-serif;
}

@media (max-width: 768px) {
    .footer-container {
        justify-content: flex-end;
        gap: 40px;
        max-width: 1200px;
        margin: 0 auto;
        margin-left: 30px;
    }
}

.site-footer p{
    color: #777;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
    text-align: justify;
}



.footer-container {
    display: flex;
    justify-content: flex-end;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    margin-left: 30px;
}


.footer-container > div {
    flex: 1;
    max-width: 250px;
}

.footer-logo h3,
.footer-links h3,
.footer-contact h3,
.footer-social h3 {
    font-size: 18px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: left; /* Aligns titles to the left */
}

.footer-logo p {
    text-align: justify;
    margin-left: -10px;
    color: white;
}

.footer-logo p,
.footer-contact p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
    text-align: left; /* Ensures the text is also aligned to the left */
    color: white;
}

.footer-links ul,
.footer-social ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li,
.footer-social ul li {
    margin-bottom: 10px;
}

.footer-links ul li a,
.footer-social ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    text-align: left; /* Aligns links to the left */
}

.footer-links ul li a:hover,
.footer-social ul li a:hover {
    text-decoration: underline;
    color: #CBE2B5;
}

.footer-social ul li a i {
    margin-right: 8px;
    font-size: 18px;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    border-top: 1px solid #5b805e;
    padding-top: 10px;
}


/* Adjustments for footer on mobile view */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: flex-start; /* Align items to the left */
        gap: 20px;
    }

    .footer-container > div {
        max-width: 100%;
        text-align: left; /* Align text to the left */
    }

    .footer-logo,
    .footer-links,
    .footer-contact,
    .footer-social {
        text-align: left; /* Ensure all footer sections align text to the left */
    }

    .footer-logo p,
    .footer-contact p {
        text-align: left; /* Align text to the left */
        margin-left: 0; /* Reset any left margin */
    }

    .footer-social ul li a {
        text-align: left; /* Align social links to the left */
    }
}


.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: #fff;
    padding: 15px;
    border-radius: 50%;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none; /* Remove underline */
}

.whatsapp-button i {
    font-size: 24px;
    color: #fff;
}

.whatsapp-button:hover {
    background-color: #128C7E;
}

.success {
    color: green;
    margin-top: 10px;
}

.error {
    color: red;
    margin-top: 10px;
}

html {
    scroll-behavior: smooth;
}

