/* 
#EBC79F 
#F2DBC2
*/

/* 1. Self-hosted Brittany Signature */


/* 2. Import Bubble Sharp from CDN */
@import url('https://fonts.cdnfonts.com/css/bubble-sharp');

/* 3. Import Aldhabi from CDN */
@import url('https://fonts.cdnfonts.com/css/aldhabi');

@import url('https://api.fontshare.com/v2/css?f[]=madani-arabic@400,500,600,700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Reem+Kufi:wght@400..700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&family=Reem+Kufi:wght@400..700&display=swap');

html, body {
    overflow-x: hidden !important;
    
  font-family: "Cairo", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "slnt" 0;
}

* {
    box-sizing: border-box;
    font-size: 20px !important
}
h1, h1 span{
    font-size: 30px !important;
}

@font-face {
  font-family: 'Brittany Signature';
  src: url('../fonts/BrittanySignature.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.signature {
  font-family: 'Brittany Signature', cursive;
}

.madani{
      font-family: "Cairo", sans-serif !important;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "slnt" 0;}

.motto {
  font-family: 'Bubble Sharp', sans-serif;
}

.content-text {
  font-family: 'Aldhabi', sans-serif;
}
body {
    font-family: 'Cairo', sans-serif;


}

.note{
    color: #b75f00;
}
.navbar .container-fluid {
    justify-content: flex-end !important; /* move logo to the right */
    align-items: center;
}

.navbar-brand img {
    width: 200px;
}

/* vidéo cover */
.top-left-text {
    position: absolute;
    top: 5px;       /* adjust distance from top */
    left: 20px;      /* adjust distance from left */
    color: white;    /* or your color */
    font-size: 28px; /* optional */
    z-index: 30;
    margin: 0;
}
/* Existing video cover styling */
.video-cover {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}
.video-cover video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #202020a8; /* Add a semi-transparent black overlay */
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    
}
.overlay {
    transition: 0.6s ease;
}
.overlay h1 {
    font-size: 3rem;
    margin: 0 0 1rem;
    color: white;
}
.overlay p {
    font-size: 1.5rem;
    margin: 0;
    color: white;
}

/* Add media query to hide video cover on small screens */
@media (max-width: 768px) {
    .video-cover {
       
    }
    .video-placeholder {
        display: block;
    }
}


/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1030;
    background-color: #fff; /* Adjust background color */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.nav-link:hover{
    color: #910f61 !important;

}
/* Carousel */
.carousel-item img {
    height: 500px;
    object-fit: cover; /* Ensures the images cover the area without distortion */
    width: 100%; /* Makes the images responsive */
}


.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 65px;
    height: 65px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 9999;
    transition: transform 0.2s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

.whatsapp-btn img {
    width: 38px;
    height: 38px;
    /*filter: brightness(0) invert(1);*/
}
.cadre{
    padding: 100px  0px;
}
.bg_white{
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.63);
}

/* Testimonials Section */

.testimonials-section video {
    width: 100%;
    border-radius: 10px;
}

.video-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 98%;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: white;
    font-size: 22px;
    transition: opacity 0.4s ease;
}

.stars {
    font-size: 26px;
    letter-spacing: 2px;
    color: #EBC79F;
}

.play-btn {
    padding: 10px 20px;
    font-size: 18px;
    background: #EBC79F;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s ease;
}

.play-btn:hover {
    background: #EBC79F;
}
.center{
    text-align: center;
}

.no-padding{
    padding: 0px !important;
}



/* SECTION BACKGROUND WHITE */
.nb-section {
    background: #ffffff;
}

/* LEFT VIDEO SIDE */
.nb-left-video {
    padding: 0 !important;
    margin: 0 !important;
}

.nb-video {
    width: 100%;
    height: auto;
    
    display: block;
}

/* RIGHT TEXT SIDE */
.nb-right-text {
    background: #ffffff;
    padding: 40px 20px;
}

.nb-text-inner {
    max-width: 500px;
}

/* DESKTOP: equal heights */
@media (min-width: 768px) {
    .nb-section {
        height: 430px; /* adjustable */
    }

    .nb-video {
        height: 100%;
    }
}


/* Fade-in base */
.fade-in-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

/* When visible */
.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}


/* MOBILE FIX */
@media (max-width: 768px) {
    .video-cover video {
        position: relative !important; /* keep video in flow */
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important; /* show full video */
        z-index: 0 !important; /* behind overlay */
    }

    .video-cover .overlay {
        position: absolute !important; /* stay above video */
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 10 !important; /* make overlay in front */
        background-color: rgba(0, 0, 0, 0.5); /* optional dark layer */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
}




