
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@200;300;400;500;700;800;900&display=swap');

:root {
    --primary-color: #049B8E;
    --primary-dark: #008F7E;
    --secondary-color: #FFD700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --border-color: #e0e0e0;
    --background-light: #f8f9fa;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Tajawal", sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--text-light);
}
.btn-green{
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 8px 25px;
    border-radius: 8px;
}
.btn-green:hover,
.btn-green:focus{
    background-color: #04766d;
    color: var(--text-light);
}
.pt-150{
padding-top: 150px;
}
.pb-80{
    padding-bottom: 80px;
}
.bg-light{
background-color: var(--background-light);
}
.p-80{
    padding: 80px 0;
}
.green-color{
    color: var(--primary-color)!important;
}
/* Header */
.header {
    background-color: var(--text-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #D2D6DB;
}

.navbar {
    padding: 1rem 0;
}
.navbar .nav-link{
    color: var(--text-dark);
}
.navbar-brand {
    margin: 0;
}


/* Navigation */
.navbar-nav {
    gap: 1.5rem;
}

.nav-link {
    font-weight: 500;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}
.header .navbar-nav{
    padding-right: 30px;
}
.header .btn.btn-login{
    color: #000;
}
.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light) !important;
}

.nav-link.active {
    background-color: var(--primary-color);
    color: var(--text-light) !important;
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}
.pt-80{
    padding-top: 80px;
}
.pb-80{
    padding-bottom: 80px;
}
/* Login Button */
.btn-login {
    background-color: transparent;
    color: var(--text-light);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-login:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
}

/* Banner Section */
.banner-section {
    background-color: var(--primary-color);
    padding: 3rem 0;
    color: var(--text-light);
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 1rem;
}

.breadcrumb-item a {
    color: var(--text-light);
    text-decoration: none;
    opacity: 0.8;
}
li.breadcrumb-item {
    padding-left: 15px;
    position: relative;
}

.breadcrumb-item.active {
    color: var(--text-light);
    opacity: 1;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--text-light);
    opacity: 0.6;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
}

/* About Tabs and Cards */
.tabs-nav {
    border-bottom: 1px solid var(--border-color);
}

.tab-link {
    color: var(--text-dark);
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    border-bottom: 3px solid transparent;
    font-size: 18px;
    white-space: nowrap;
}

.tab-link.active {
    color: var(--primary-color);
    border-color: var(--secondary-color);
    font-weight: 600;
}

.section-title {
    color: var(--primary-color);
    font-weight: 700;
}
.section-p{
    font-size: 18px;
    color: var(--text-dark);
    font-weight: 500;
}
.info-card {
    background: var(--text-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-card p ,
.info-card ul li{
    font-weight: 500;
    font-size: 18px;
    line-height: 32px;
    color: #000;
}
.info-card ul li{
margin-bottom: 15px;
}
.icon-wrap {
    width: 65px;
    height: 65px;
    background: #EFB53833;
    border-radius: 8px;
    /* background: rgba(4,155,142,.08); */
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: .75rem;
}
.icon-card img{
    width: 80px;
}
.info-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: .5rem;
    color: #000;
}

/* Values grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    background: var(--text-light);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
}

.value-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem 0.5rem;
}

.value-num {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 1.25rem;
    display: flex;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background-color: #FEF6E4;
    justify-content: center;
    align-items: center;
}

.value-title {
    margin-top: 12px;
    font-weight: 600;
}

/* Goals list */
.goals-list {
    margin: 0;
    padding: 0 1rem;
}

.goals-list li {
    font-size: 18px;
    color: #000;
    font-weight: 500;
    margin: 20px 0;
    position: relative;
}
.goals-list li::marker{
    color: #F3B21D;
}
/* Tabs content visibility */
.tab-content-section { display: none; }
.tab-content-section.is-active { display: block; }

@media (max-width: 992px) {
    .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
    .values-grid { grid-template-columns: 1fr; }
}

/* Bank accounts */
.bank-card {
    background: var(--text-light);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
 }

.bank-header {
       display: flex;
        align-items: flex-start;
        gap: .75rem;
        margin-bottom: 1rem;
        flex-direction: column;
}

.bank-logo.placeholder {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(4,155,142,.1);
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.bank-name { font-weight: 800; }

.bank-line {
    display: flex;
    grid-template-columns: auto 32px 1fr;
    align-items: flex-start;
    gap: .5rem;
    padding: .35rem 0;
    flex-direction: column;
}

.bank-value { color: var(--primary-color); }

.copy-btn {
    background: transparent;
    border: 0;
    color: var(--text-dark);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.copy-btn:hover { border-color: var(--primary-color); color: var(--primary-color); }
.copy-btn.is-copied {
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: var(--text-light);
}
.copy-btn.is-copied img {
    filter: brightness(0) invert(1);
}

/* Contact Section */
.contact-section {
    padding: 3rem 0;
}

.contact-card {
    background: var(--text-light);
    border-radius: 15px;
    padding: 2.5rem;
    border: 1px solid var(--border-color);
}

.contact-title {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: right;
}

/* Form Styles */
.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-control {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: var(--text-light);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 128, 128, 0.25);
    outline: none;
}

.form-control::placeholder {
    color: #999;
    opacity: 1;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Submit Button */
.btn-submit {
    background-color: var(--primary-color);
    border: none;
    color: var(--text-light);
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-submit:hover {
    background-color: var(--primary-dark);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 128, 128, 0.3);
}
.shape-bg{
    position: absolute;
    z-index: 1;
}
.shape-bg:after{
    position: absolute;
    top: 0;
    left: 10%;
    z-index: -1;
    content: '';
    background-image: url("/md_lhm_portal/static/src/img/left-shape.png");
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
}
/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 3rem 0 1rem;
}

.footer-title {
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    padding-bottom: 10px;
    border-bottom: 1px solid #D2D6DB;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: transparent;
    border-radius: 3px;
    border: 1px solid #fff;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-link:hover {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    transform: translateY(-2px);
}

/* Footer Bottom */
.footer-bottom {
   padding-bottom: 20px;
}

.hero-slider {
    position: relative;
    height: 70vh;            /* un peu plus haut pour Ã©viter le recadrage */
    min-height: 520px;       /* meilleure prÃ©sence desktop */
    max-height: 900px;       /* Ã©viter les Ã©crans trÃ¨s grands */
}
.hero-slider::after{
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 73.01%, rgba(0, 0, 0, 0.5) 101.1%);
position: absolute;

}
/* Propager la hauteur au wrapper Slick */
.hero-slider .slick-list,
.hero-slider .slick-track,
.hero-slider .hero-slide { height: 100%; }

.hero-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff; /* Ã©vite les bandes sombres autour des images */
    overflow: hidden; /* masque les dÃ©bordements quand l'image couvre */
}

.hero-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;     /* supprimer les bandes blanches en remplissant tout */
    object-position: center center;
    display: block;
}

/* Slick arrows alignment in RTL */
[dir="rtl"] .slick-prev {right: auto;left: 0;}
[dir="rtl"] .slick-next {left: auto;right: 0;}

.slick-prev,
.slick-next {
    z-index: 10;
    width: 46px;
    height: 46px;
    background: rgba(255, 215, 0, 0.85);
    border-radius: 50%;
    border: none;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.slick-prev:hover,
.slick-next:hover {
    background: #FFD700;
    transform: scale(1.1);
}
.slick-prev:before,
.slick-next:before { display: none; }

.slick-prev svg,
.slick-next svg {
    width: 20px;
    height: 20px;
}

/* Dots styling - horizontal, centered, no numbers */
.hero-slider { position: relative; }
.hero-slider .slick-dots {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.hero-slider .slick-dots li { margin: 0; width: 10px; height: 10px; }
.hero-slider .slick-dots li button {
    width: 10px;
    height: 10px;
    padding: 0;
    background: rgba(255,255,255,.6);
    border-radius: 50%;
    text-indent: -9999px;
    border: 0;
    background-color: #ddd;
    overflow: hidden;
}
.hero-slider .slick-dots li.slick-active button { background: #F3B21D; }
.hero-slider .slick-dots li button:before { display: none; }

/* Vertically center arrows */
.slick-prev, .slick-next { top: 50%; transform: translateY(-50%); }

/* RÃ©glages mobiles: un peu moins haut pour petites hauteurs */
@media (max-height: 700px), (max-width: 576px) {
  .hero-slider { height: 60vh; min-height: 380px; }
}



.copyright span {
   font-weight: 600;
}

.copyright a {
    color: var(--text-light);
    text-decoration: none;

    transition: all 0.3s ease;
}

.copyright a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.banner-section p{
font-size: 22px;
}
.banner-section.banner-section-white {
background-color: var(--text-light);
}
.banner-section.banner-section-white h1{
    color: var(--primary-color);
}
 [dir="rtl"] .banner-section.banner-section-white .breadcrumb-item + .breadcrumb-item::before{
    background-image: url("/md_lhm_portal/static/src/img/arrow-left-green.svg");
}
.breadcrumb-item a,
.breadcrumb-item.active{
    /* color: var(--primary-color); */
}
.slick-dots {
    bottom: 30px;
    z-index: 10;
}

.slick-dots li button:before {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.slick-dots li.slick-active button:before {
    color: var(--primary-color);
}

.slick-prev,
.slick-next {
    position:absolute;
    z-index: 10;
    width: 30px;
    height: 30px;
    background: #9CA3AF;
    border-radius: 50%;
    border: none;
    font-size: 24px;
    color: #333;
    font-weight: bold;
}

.slick-prev {
    left: 20px;
}

.slick-next {
    right: 20px;
}

.slick-prev:hover,
.slick-next:hover {
    background: var(--primary-color);
}
.slick-prev:hover svg path,
.slick-next:hover svg path{
    stroke :#fff;
}
.logo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
}

.logo-grid .img-slide {
    flex: 0 1 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.logo-grid .img-slide:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

.logo-grid .img-slide img {
    max-width: 100%;
    max-height: 90px;
    object-fit: contain;
}

.lhm-home .shape-bg {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.lhm-home .shape-bg::after {
    position: absolute;
    top: 0;
    left: 10%;
    z-index: -1;
    content: '';
    background-image: url("/md_lhm_portal/static/src/img/left-shape.png");
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
}
.slick-slide img{
    max-width: 100%;
}
.slick-prev:before,
.slick-next:before {
    display: none;
}

.hero-slider:not(.slick-initialized) .hero-slide {
    display: none;
}
.hero-slider:not(.slick-initialized) .hero-slide:first-child {
    display: flex;
}
/* Responsive Design */
@media (max-width: 768px) {
    .navbar-nav {
        margin: 1rem 0;
        gap: 0.5rem;
    }

    .hero-slider {
        height: 48vh;
        min-height: 260px;
    }

    .hero-slider::after {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0) 40%, rgba(0, 0, 0, 0.45) 100%);
    }

    .logo-grid {
        gap: 1.5rem;
    }

    .logo-grid .img-slide {
        flex: 0 1 140px;
        padding: 0.5rem;
    }

    .lhm-home .shape-bg::after {
        left: 0;
        opacity: 0.15;
        background-size: cover;
    }

    .nav-link {
        padding: 0.5rem;
        text-align: center;
    }

    .page-title {
        font-size: 2rem;
    }

    .contact-card {
        padding: 1.5rem;
        margin: 0 1rem;
    }

    .footer-logo {
        justify-content: center;
        margin-top: 1rem;
    }

    .copyright {
        justify-content: center;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .logo-text {
        font-size: 1rem;
    }

    .page-title {
        font-size: 1.8rem;
    }

    .contact-title {
        font-size: 1.5rem;
    }

    .btn-submit {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}

[dir="rtl"] .navbar-nav {
    margin-right: 0;
    margin-left: auto;
}

[dir="rtl"] .breadcrumb-item + .breadcrumb-item::before {
    position: absolute;
    right: -10px;
    top: 5px;
    padding-left: 0.5rem;
    padding-right: 0;
    content: '';
    width: 16px;
    height: 16px;
    background-image: url("/md_lhm_portal/static/src/img/arrow-left.svg");
}

[dir="rtl"] .form-control {
    text-align: right;
}

[dir="rtl"] .social-links {
    justify-content: flex-start;
}

/* Animation pour le formulaire */
.contact-card {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover effects pour les inputs */
.form-control:hover {
    border-color: var(--primary-color);
}

/* Focus states amÃ©liorÃ©s */
.form-control:focus {
    transform: translateY(-1px);
}

/* Loading state pour le bouton */
.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}


