/* OPHAM Color Variables */
:root {
    --primary-custom: #056d2d;
    --secondary-custom: #749112;
    --opham-green: #4b8e0b;
    --opham-green-hover: #3d7508;
    --opham-dark-navy: #013f19;
    --opham-dark-card: #073b1b;
    --opham-light-bg: #f5f8fc;
    --opham-card-bg: #ffffff;
    --opham-muted: #00000073;
}

/* Responsive container */
/* @media (min-width: 1280px) {
    .container {
        max-width: 80%;
    }
}

@media (min-width: 1500px) {
    .container {
        max-width: 85%;
    }
} */

/* HEADER */
.btn-header {
    border-radius: 15px;
}

.horizontalMenu>.horizontalMenu-list>li>a {
    color: black;
}

.horizontalMenu>.horizontalMenu-list>li>a {
    position: relative;
    transition: all 0.25s ease;
}

.horizontalMenu>.horizontalMenu-list>li>a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--primary-custom);
    transition: width 0.3s ease;
}

.horizontalMenu>.horizontalMenu-list>li:hover>a,
.horizontalMenu>.horizontalMenu-list>li:hover>a .fa {
    color: var(--primary-custom) !important;
    background-color: transparent !important;
}

.horizontalMenu>.horizontalMenu-list>li:hover>a::after {
    width: 100%;
}

.sticky-wrapper:not(.is-sticky) {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.sticky-wrapper:not(.is-sticky) .header-navbar {
    background-color: white;
    border-bottom: 1px solid white;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
    width: 95%;
    border-radius: 25px;
}

/* END HEADER */


/*FOOTER */
.bg-footer {
    position: relative;
    background: url("../images/bg-footer.jpg") no-repeat center center;
}

.footer-main,
.footer-bottom {
    position: relative;
    z-index: 2;
}

.footer-main a {
    color: white;
}

.footer-main img {
    border: none;
}

.footer-main img.logo-footer {
    width: 250px;
    height: auto;
}

.bg-footer::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000ba;
    content: "";
    z-index: 1;
}

/* END FOOTER */

/* REUSABLE OPHAM CARD COMPONENTS */

/* 1. Feature Card */
.opham-card-feature {
    background: var(--opham-card-bg);
    border: 1px solid rgba(75, 142, 11, 0.06);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
}

.opham-card-feature:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(5, 109, 45, 0.08);
    border-color: rgba(75, 142, 11, 0.2);
}

.opham-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background-color: rgba(75, 142, 11, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.opham-icon-wrapper i {
    color: var(--opham-green);
    font-size: 1.75rem;
}

.title-opham {
    position: relative;
    color: var(--primary-custom);
    padding-left: 60px;
}

.title-opham::before {
    content: "";
    position: absolute;
    height: 5px;
    width: 50px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background-color: var(--primary-custom);
    border-radius: 25px;
}


/* 2. Horizontal Card (Métiers) */
.opham-card-horizontal {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 14px;
    padding: 1.5rem;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none !important;
    display: block;
}

.opham-card-horizontal:hover {
    box-shadow: 0 12px 30px rgba(5, 109, 45, 0.05);
    border-color: rgba(75, 142, 11, 0.25);
    transform: translateX(8px);
    background: linear-gradient(90deg, #ffffff 0%, rgba(75, 142, 11, 0.02) 100%);
}

.opham-card-horizontal .opham-icon-wrapper {
    margin-bottom: 0;
    width: 50px;
    height: 50px;
    border-radius: 10px;
}

.opham-card-horizontal:hover .opham-icon-wrapper {
    background-color: var(--opham-green);
}

.opham-card-horizontal:hover .opham-icon-wrapper i {
    color: #ffffff !important;
}

/* 3. Urgence Card */
.opham-card-urgence {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    border: none;
    min-height: 380px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.opham-card-urgence-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.opham-card-urgence::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.15) 100%);
    z-index: -1;
    transition: background-color 0.4s ease;
}

.opham-card-urgence:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(1, 63, 25, 0.15);
}

.opham-card-urgence:hover .opham-card-urgence-bg {
    transform: scale(1.08);
}

.opham-card-urgence:hover::after {
    background: linear-gradient(180deg, rgba(1, 63, 25, 0.9) 0%, rgba(75, 142, 11, 0.4) 100%);
}

.opham-card-urgence>* {
    position: relative;
    z-index: 2;
}

.opham-urgence-badge {
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    display: inline-flex;
    align-items: center;
}

.opham-btn-urgence {
    background-color: var(--opham-green);
    color: #ffffff !important;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.65rem 1.5rem;
    border-radius: 30px;
    display: inline-block;
    transition: all 0.3s ease;
    text-decoration: none !important;
    border: 1px solid transparent;
}

.opham-btn-urgence:hover {
    background-color: var(--opham-green-hover);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* 4. Vertical Card (Actualités) */
.opham-card-vertical {
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    background: #ffffff;
}

.opham-card-vertical:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
    border-color: rgba(75, 142, 11, 0.15);
}

.opham-card-img-zoom {
    overflow: hidden;
    position: relative;
}

.opham-card-img-zoom img {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.opham-card-vertical:hover .opham-card-img-zoom img {
    transform: scale(1.06);
}

/* 5. Partner Card */

.btn-linear-opham,
.btn:not(:disabled):not(.disabled).btn-linear-opham,
.btn:not(:disabled):not(.disabled).btn-linear-opham.active,
.btn:not(:disabled):not(.disabled).btn-linear-opham:active {
    background: linear-gradient(to right, #749112, #056d2d);
    border: none !important;
}

.btn-linear-opham:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.02);
    border-color: rgba(75, 142, 11, 0.15);
}

/* Utils */
.fs-12 {
    font-size: 12px;
}

.fs-14 {
    font-size: 14px;
}

.fs-16 {
    font-size: 16px;
}

.fs-18 {
    font-size: 18px;
}

.fs-20 {
    font-size: 20px;
}

.fs-22 {
    font-size: 22px;
}

.fs-24 {
    font-size: 24px;
}

.fs-26 {
    font-size: 26px;
}

.fs-28 {
    font-size: 28px;
}

.fs-30 {
    font-size: 30px;
}

@media (max-width: 768px) {
    .fs-12 {
        font-size: 10px;
    }

    .fs-14 {
        font-size: 12px;
    }

    .fs-16 {
        font-size: 14px;
    }

    .fs-18 {
        font-size: 16px;
    }

    .fs-20 {
        font-size: 18px;
    }

    .fs-22 {
        font-size: 20px;
    }

    .fs-24 {
        font-size: 22px;
    }

    .fs-26 {
        font-size: 24px;
    }

    .fs-28 {
        font-size: 26px;
    }

    .fs-30 {
        font-size: 28px;
    }
}

.object-fit-cover {
    object-fit: cover;
}

/* Utils */