/*
 * Customisation et surcharge du Framework Bulma
 * 
 * 
 * @author LGI Sustainable innovation
 * @version 1.1
 * 
 */

html {
    scroll-padding-top: 8rem;
}

:root {
    --main-txt-color: #646464;
    --main-title-color: #303e8c;
    --main-green: #44a666;
    --def-transition-duration: 0.2s;
}

@font-face {
    font-family: "Century";
    src: url(../webfonts/Century-Gothic/centurygothic_bold.ttf);
    font-display: swap;
}
@font-face {
    font-family: "Century-light";
    src: url(../webfonts/Century-Gothic/centurygothic.ttf);
    font-display: swap;
}

::selection {
    color: white;
    background-color: var(--main-title-color);
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
    color: var(--main-txt-color);
}

h1,
h2 {
    font-family:
        "Century", "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS",
        sans-serif, Geneva, Verdana, sans-serif;
}

h1 {
    font-size: clamp(1.5rem, 4.5vw, 5rem);
    color: white;
    /* text-shadow: 0px 4px 4px #383f512b; */
    text-align: left;
    line-height: 70px;
    text-wrap-style: balance;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(1.6rem, 5vw, 3rem);
    text-align: center;
    color: var(--main-title-color);
    line-height: 60px;
}

h3 {
    font-weight: 600;
    font-size: clamp(18px, 2.5vw, 26px);
    color: var(--main-txt-color);
    font-family:
        "Century", "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS",
        sans-serif, Geneva, Verdana, sans-serif;
}

p,
main li {
    color: var(--main-txt-color);
    font-size: 1.1rem;
}

hr {
    width: 80%;
    max-width: 500px;
    background: var(--main-green);
    margin-inline: auto;
}

a {
    color: var(--main-txt-color);
    text-decoration: underline;
}

a:hover {
    color: var(--main-txt-color);
    text-decoration: none;
}

.mt-7 {
    margin-top: 4.5rem;
}

@media screen and (max-width: 750px) {
    h2 {
        line-height: 32px;
    }
}

/* -------------------------- */
/* Components */
/* -------------------------- */

.bg-blue {
    background-color: var(--main-title-color) !important;
}
.bg-green {
    background-color: var(--main-green) !important;
}

a.btn-gradient {
    text-decoration: none;
}
a.btn-gradient i {
    color: var(--main-green);
}
.btn-gradient {
    position: relative;
    display: inline-block;
    padding: 10px 20px;
    background: transparent;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1;
}

/* Bordure dégradée */
.btn-gradient::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    padding: 2px; /* Épaisseur de la bordure */
    background: linear-gradient(to right in lch, #6b7ff2 0%, #68f205 50%);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
}

/* Texte dégradé */
.btn-gradient span {
    background: linear-gradient(to right in lch, #6b7ff2 0%, #68f205 50%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 1.2rem;
    font-family:
        "Century", "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS",
        sans-serif, Geneva, Verdana, sans-serif;
}

a.btn-green,
button.btn-green {
    text-decoration: none;
    border-radius: 14px;
    padding: 14px 24px;
    font-weight: bold;
    letter-spacing: 0.5px;
    background-color: var(--main-green);
    color: white;
    border: 2px solid var(--main-green);
    transition: background-color 0.15s ease-out;
    font-family:
        "Century", "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS",
        sans-serif, Geneva, Verdana, sans-serif;
}
a.btn-blue {
    text-decoration: none;
    border-radius: 14px;
    padding: 14px 24px;
    font-weight: bold;
    letter-spacing: 0.5px;
    background-color: transparent;
    color: var(--main-title-color);
    border: 2px solid var(--main-title-color);
    transition: background-color 0.15s ease-out;
    font-family:
        "Century", "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS",
        sans-serif, Geneva, Verdana, sans-serif;
}
a.btn-green i {
    color: white;
}
a.btn-blue i {
    color: var(--main-title-color);
}
a.btn-green:hover,
button.btn-green:hover {
    background-color: white;
    color: var(--main-green);
    border: 2px solid var(--main-green);
}
a.btn-blue:hover {
    background-color: var(--main-title-color);
    color: white;
    border: 2px solid var(--main-title-color);
}
a.btn-green:hover i {
    color: var(--main-green);
}
a.btn-blue:hover i {
    color: white;
}
a.btn-gradient i,
a.btn-green i,
a.btn-blue i,
a.ters i {
    rotate: -45deg;
    transition: rotate 0.2s ease-out;
}
a.btn-gradient:hover i,
a.btn-green:hover i,
a.btn-blue:hover i,
a.ters:hover i {
    rotate: 0deg;
}

a.ters {
    font-size: 1.2rem;
    color: var(--bg-brown);
    background: none !important;
    border: double 2px transparent !important;
    background: linear-gradient(to right in lch, #6b7ff2 0%, #68f205 70%);
    background-origin: border-box !important;
    background-clip: padding-box, border-box !important;
    -webkit-text-fill-color: var(--bg-brown);
    transition: background-image 0.2s ease-out;
    border-radius: 6px;
}

p.ters {
    font-size: 1.2rem !important;
    text-align: center;
    background: linear-gradient(to right in lch, #6b7ff2 0%, #68f205 70%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.h2-border {
    position: relative;
}
.h2-border::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0%;
    transform: translateY(-50%);
    width: 30%;
    height: 1px;
    background-color: var(--main-green);
}
.h2-border::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translateY(-50%);
    width: 30%;
    height: 1px;
    background-color: var(--main-green);
}

@media screen and (max-width: 730px) {
    .h2-border::before,
    .h2-border::after {
        width: 10%;
    }

    .is-flex {
        flex-direction: column;
    }
}

/* -------------INTERSECTION OBSEVER------------------------------ */

/* Selecteur sur les atttributs "reveal-" */
[class*="reveal-"] {
    opacity: 0;
    transform: translateY(30px);
}

[class*="revealLR-"] {
    opacity: 0;
    transform: translateX(-50px);
}
[class*="revealRL-"] {
    opacity: 0;
    transform: translateX(50px);
}

.reveal-visible {
    opacity: 1;
    transform: translate(0px, 0px);
    transition: 1s cubic-bezier(0.5, 0, 0, 1);
}

/* Les elements 2 et plus seront révélés avec un délai, ce qui n'est pas le cas de reveal-1 */
.revealRL-2 {
    transition-delay: 0.2s;
}
.revealLR-2 {
    transition-delay: 0.2s;
}
.revealLR-2 {
    transition-delay: 0.4s;
}
.revealLR-2 {
    transition-delay: 0.6s;
}
.reveal-2 {
    transition-delay: 0.1s;
}
.reveal-3 {
    transition-delay: 0.2s;
}
.revealLR-3 {
    transition-delay: 0.2s;
}
.reveal-4 {
    transition-delay: 0.3s;
}
.reveal-5 {
    transition-delay: 0.4s;
}
.reveal-6 {
    transition-delay: 0.5s;
}
.reveal-7 {
    transition-delay: 0.55s;
}
.reveal-8 {
    transition-delay: 0.6s;
}

/* -------------------------- */
/* scroller div */
/* -------------------------- */

.scroller {
    width: 95%;
}

.scroller__inner {
    padding-block: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 5rem;
    height: 130px;
}

.scroller[data-animated="true"] {
    overflow: hidden;
    -webkit-mask: linear-gradient(
        90deg,
        transparent,
        white 20%,
        white 80%,
        transparent
    );
    mask: linear-gradient(
        90deg,
        transparent,
        white 20%,
        white 80%,
        transparent
    );
}

.scroller[data-animated="true"] .scroller__inner {
    width: max-content;
    flex-wrap: nowrap;
    animation: scroll var(--_animation-duration, 40s)
        var(--_animation-direction, forwards) linear infinite;
}

.scroller[data-direction="right"] {
    --_animation-direction: reverse;
}

.scroller[data-direction="left"] {
    --_animation-direction: forwards;
}

.scroller[data-speed="fast"] {
    --_animation-duration: 20s;
}

.scroller[data-speed="slow"] {
    --_animation-duration: 80s;
}

.scroller img {
    height: 100%;
    width: 100%;
    max-height: 180px;
    max-width: 250px;
    object-fit: contain;
}

@keyframes scroll {
    to {
        transform: translate(calc(-50% - 0.5rem));
    }
}

@media screen and (max-width: 750px) {
    .scroller__inner {
        gap: 2rem;
        height: 110px;
    }

    .scroller[data-speed="slow"] {
        --_animation-duration: 60s;
    }
}

/* -------------------------- */
/* Footer */
/* -------------------------- */

.footer {
    background:
        linear-gradient(
            to top right,
            rgba(8, 15, 38, 0.75),
            rgba(8, 15, 38, 0)
        ),
        url(../../images/bg.webp) center/cover;
    color: white;
    padding: 3rem 1.5rem;
    border-radius: 40px 40px 0px 0px;
}
@media screen and (width > 750px) {
    .footer {
        background:
            linear-gradient(
                to top right,
                rgba(8, 15, 38, 0.75),
                rgba(8, 15, 38, 0)
            ),
            url(../../images/bg.webp) center/cover;
        background-attachment: fixed;
        background-position: top center;
    }
}
.footer :is(a, p, li):not(.primary, .secondary) {
    color: white;
}

.footer h3 {
    color: white;
}

.footer ul {
    list-style: disc;
    padding-left: 1rem;
}
.footer ul a {
    text-decoration: none;
}
.footer li {
    margin-bottom: 10px;
    font-weight: bold;
}

.copyright {
    display: flex;
    justify-content: center;
}

@media screen and (max-width: 750px) {
    .copyright {
        flex-direction: column;
        align-items: center;
    }
}

/* -------------------------- */
/* HOME */
/* -------------------------- */

.homepage {
    background:
        linear-gradient(
            to bottom left,
            rgba(8, 15, 38, 0.2),
            rgba(8, 15, 38, 0.5)
        ),
        url(../../images/home/main-bg.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    align-content: end;
    max-height: 800px;
}

.homepage > div {
    padding-inline: 4rem;
    margin-bottom: 6rem;
}

.homepage div:first-child p {
    color: white;
    font-family:
        "Century-light", "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS",
        sans-serif, Geneva, Verdana, sans-serif;
}

section:has(.main-bg-container) {
    position: relative;
    height: 115vh;
    min-height: 800px;
}
.main-bg-container {
    height: 55%;
    width: 100%;
    overflow: hidden;
}

section:has(.main-bg-container)
    :is(.data-container, div:has(.data-container-shadow)) {
    position: absolute;
    top: 25%;
    right: 0;
    width: 80%;
    height: 65%;
    border-radius: 20px 0px 0px 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 5rem;
    padding-inline: 6rem;
    z-index: 1;
}

section:has(.main-bg-container) div:has(.data-container-shadow) {
    z-index: 0;
    right: -4rem;
    width: 100%;
    height: 65%;
    transform: translate(6rem, 7rem);
}

section:has(.main-bg-container) .data-container-shadow {
    position: relative;
    z-index: 0;
    border: none;
    border-radius: 20px;
    transform: translate(-2rem, 2rem);

    height: 100%;
    width: 100%;
    width: calc(80% + 4rem);
    /* autres styles inchangés */
}

section:has(.main-bg-container) .data-container-shadow::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(
        to left,
        #26daf7 0%,
        #d98452 10%,
        #bf5934 70%,
        #73321a 100%
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

section:has(.main-bg-container) .data-container h2 {
    text-align: left;
}

section:has(.main-bg-container) .data-content div {
    border-bottom: 1px solid var(--bg-brown);
    padding-bottom: 1.5rem;
}

section:has(.main-bg-container) .data-content .count {
    font-size: clamp(2rem, 4vw, 3.5rem);
}
section:has(.main-bg-container) .data-content .data-number .data-text {
    font-size: clamp(1.5rem, 3vw, 1.8rem);
}
section:has(.main-bg-container) .data-content p {
    font-size: 0.9rem;
}

.bg-print {
    position: absolute;
    top: -29%;
    left: -12%;
    width: 43%;
    rotate: 90deg;
    opacity: 0.5;
}

.focus-area {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}
.focus-area a {
    width: 30%;
    border-radius: 14px;
    aspect-ratio: 1;
    overflow: hidden;
    text-decoration: none;
}
.focus-area div {
    height: 100%;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: column;
}
.focus-area div img {
    width: 20%;
}
.focus-area div h3 {
    color: white;
    line-height: 34px;
    font-size: clamp(1.2rem, 2.5vw, 2.2rem);
}
.focus-area div p {
    color: white;
    width: 100%;
    text-align: right;
}

.focus-area i {
    transition: transform 0.3s ease;
}
.focus-area a:hover i {
    transform: rotate(-45deg);
}

.focus-area a:nth-child(1) div {
    background:
        linear-gradient(to bottom, #44a6666e, #44a6666c),
        url(../../images/home/area1.avif) center/cover;
}
.focus-area a:nth-child(2) div {
    background:
        linear-gradient(to bottom, #44a6666e, #44a6666c),
        url(../../images/home/area2.avif) center/cover;
}
.focus-area a:nth-child(3) div {
    background:
        linear-gradient(to bottom, #44a6666e, #44a6666c),
        url(../../images/home/area3.avif) center/cover;
}

.focus-area.mt-6 a:nth-child(1) div,
.focus-area a:nth-child(4) div {
    background:
        linear-gradient(to bottom, #44a6666e, #44a6666c),
        url(../../images/home/area4.avif) center/cover;
}

.focus-area.mt-6 a:nth-child(2) div,
.focus-area a:nth-child(5) div {
    background:
        linear-gradient(to bottom, #44a6666e, #44a6666c),
        url(../../images/home/area5.avif) center/cover;
}

@media (100px <= width <= 750px) {
    .homepage div {
        padding-inline: 1rem;
    }
    .homepage p {
        padding-left: 0%;
    }
    .homepage h1 {
        min-width: 0px;
    }
    .focus-area {
        flex-direction: column;
    }
    .focus-area a {
        width: 100%;
    }
}

/* ------------------------------------------------ */
/* --------------------NEWS CARD HOME---------------------------- */
/* ------------------------------------------------ */

section:has(.home-news) > img {
    max-width: 101%;
    width: 101%;
    margin-top: -100px;
}

.home-news .box {
    box-shadow: none;
    padding: 0.25rem;
}

.home-news .columns {
    flex-wrap: wrap;
    gap: 2%;
    margin-top: 60px;
}

.home-news .columns .img-container,
.home-news .columns .img-container img {
    border-radius: 0.5rem;
    overflow: hidden;
}
.home-news .columns .img-container img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    scale: 1.03;
    transition: scale 0.25s ease-out;
}
.home-news .columns a:hover .img-container img {
    scale: 1;
}

.home-news .columns a {
    width: 32%;
    min-width: 300px;
    flex-wrap: wrap;
    text-decoration: none;
}
.home-news .columns a .img-container {
    height: 200px;
}
.home-news .columns a > div {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.home-news .columns a p {
    display: none;
}

.home-news .columns a h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--main-title-color);
}

.home-news .columns a .newsBox {
    height: 100%;
    background: var(--bg-white);
}

.home-news .columns .news-icon {
    color: var(--main-green);
    width: fit-content;
    background: white;
    padding: 0.4rem 0.8rem;
    border: 2px solid var(--main-green);
    border-radius: 6px;
    transition: background 0.1s ease-out;
}
.home-news .columns a:hover .news-icon {
    background: var(--main-green);
}
.home-news .columns .news-icon span {
    font-weight: 600;
    color: var(--bg-brown-medium);
    letter-spacing: 0.5px;
    transition: color 0.1s ease-out;
}
.home-news .columns a:hover .news-icon span {
    color: white;
}

.home-news .columns .news-icon img {
    width: 0.75rem;
}
.home-news .columns .newsBox-txt .newsBox-desc {
    font-weight: 600;
    font-size: 18px;
}
.home-news .columns .newsBox-txt i {
    color: var(--main-title-color);
    rotate: -45deg;
    transition: rotate 0.2s ease-out;
}

.home-news .columns a:hover .newsBox-txt i {
    rotate: 0deg;
    color: var(--main-green);
}
.home-news .columns a:hover .newsBox-txt .newsBox-desc {
    color: var(--main-green);
}

.home-news .columns .time {
    font-size: 0.7rem;
    font-weight: 700;
}

.home-news .columns .newsBox-txt {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    flex: 1;
    gap: 10px;
}
.home-news .columns .newsBox-txt .newsBox-info {
    flex: 1;
}

@media screen and (max-width: 750px) {
    .home-news .columns a:first-child .box {
        flex-direction: column;
    }
    .home-news
        .columns
        :is(a:first-child, a:first-child div, a:first-child img) {
        max-height: none;
    }
    .home-news .columns .newsBox {
        max-width: 450px;
        margin: 40px auto;
    }
    /* .home-news .columns a:first-child .box > div {
        aspect-ratio: 16/9;
    } */
}

/* ------------------------------------------------ */
/* --------------------NEWS PAGE---------------------------- */
/* ------------------------------------------------ */

.list-news {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.list-news-container .columns a {
    margin-block: 80px;
    display: flex;
}

.news-content {
    margin: auto;
    max-width: 850px;
}

.content :is(h2, h3) {
    color: var(--main-title-color);
}

.content :is(p, strong) {
    color: var(--main-txt-color);
}

.list-news a {
    display: block;
    width: 30%;
}

.sideBox h2 {
    font-size: clamp(14px, 2vw, 16px);
    color: #212224;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 10px;
}
.sideBox hr {
    height: 3px;
    margin: 0.5rem 0;
}
.sideBox h4 {
    font-size: clamp(16px, 2vw, 1.2rem);
    margin-bottom: 1rem;
    color: var(--bg-brown-nano);
}

.sideBox .time {
    font-size: 0.7rem;
    border: 1px solid black;
    padding: 0.4rem 0.5rem;
    border-radius: 10px;
    font-weight: 700;
}
.sideBox p {
    display: none;
}

.sideBox .news-icon {
    width: fit-content;
}

.sideBox .box {
    box-shadow: none;
    background-color: transparent;
    padding: 0px;
    flex: 1;
}
.sideBox .img-container {
    width: 28%;
    aspect-ratio: 1;
    height: 100%;
}

.sideListNews > a {
    display: flex;
    gap: 1rem;
    padding-block: 1.5rem;
}
.sideListNews > a:not(:last-child) {
    border-bottom: 1px solid var(--bg-brown-nano);
}

.subscribe-container {
    margin-inline: auto;
    padding: 3rem 2rem;
    background-color: var(--bg-brown);
    border: 1px solid var(--bg-brown-nano);
    border-radius: 8px;
}

.subscribe-container h4 {
    color: var(--bg-brown-nano);
    font-weight: 600;

    font-size: 18px;
}
.subscribe-container p {
    color: white;
    font-size: 14px;
    text-align: center;
}
.subscribe-container a.secondary {
    font-size: 16px;
}

/* ------------------------------------------------ */
/* --------------------NEW ARICLE---------------------------- */
/* ------------------------------------------------ */
.content-date {
    font-size: 1.1rem;
    padding: 0.4rem 0.5rem;
    border-radius: 10px;
    font-weight: 500;
    width: fit-content;
}

.content {
    margin-top: 30px;
}

.content p,
.content li {
    font-size: 16px;
}

.content a {
    color: blue;
    text-decoration: underline;
    font-size: 16px !important;
}
.content a:hover {
    text-decoration: none;
}

@media screen and (max-width: 750px) {
}

/* ------------------------------------------------ */
/* --------------------ABOUT---------------------------- */
/* ------------------------------------------------ */

.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 7vw;
    max-width: 1100px;
    margin-inline: auto;
}

.card-container .card {
    position: relative;
    min-width: 325px;
    aspect-ratio: 1;
    flex: 1;
    align-content: center;
    border-radius: 22px;
    background: url(../../images/home/area1.webp) center/cover;
    overflow: hidden;
}

.card-container .card:last-child {
    background: url(../../images/about/card2.webp) center/cover;
}

.card-container .card h3 {
    text-align: center;
    color: white;
    font-size: clamp(2rem, 2vw, 3rem);
}
.card-container .card i {
    position: absolute;
    top: 50%;
    left: 92.5%;
    transform: translate(0%, -50%);
    color: white;
    font-size: 28px;
    rotate: 180deg;
    transition:
        left 0.5s ease-out,
        rotate 0.2s ease-out;
}
.card-container .card:hover i {
    left: 2%;
    rotate: 360deg;
}
.card-container .card-content {
    background: url(../../images/about/greeneo-blue.webp) center/cover;
    height: 100%;
    width: 100%;
    border-radius: 22px;
    background-color: var(--main-title-color);
    padding: 3rem 4rem;
    position: absolute;
    top: 50%;
    left: 90%;
    text-align: center;
    transform: translate(0%, -50%);
    transition: left 0.5s ease-out;
}
.card-container .card:last-child .card-content {
    background-color: var(--main-green);
    background: url(../../images/about/greeneo-green.webp) center/cover;
}
.card-container .card:hover .card-content {
    left: 0%;
}

.card-container .card-content :where(p, strong, li) {
    color: white;
}
.card-container .card-content strong {
    font-size: clamp(1.4rem, 2vw, 1.2rem);
}
.card-container .card-content p {
    font-size: clamp(0.9rem, 2vw, 1.2rem);
}
.card-container .card-content li {
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    list-style: inside;
}

.accordeon-card-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8px;
    border-radius: 8px;
    color: white;
    cursor: pointer;
}
.accordeon-card {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    color: white;
}

.accordeon-card i {
    rotate: 45deg;
    font-size: 38px;
    transition: rotate 0.3s ease;
}

.accordeon-card span {
    flex: 1;
    font-size: 1.2rem;
}

.accordeon-content {
    max-height: 0;
    width: 100%;
    border-radius: 0 0 8px 8px;
    margin-top: -4px;
    border-top: none;
    overflow: hidden;
    transition:
        max-height 0.3s ease-in-out,
        padding 0.3s ease-in-out,
        opacity 0.3s ease-in-out;
    opacity: 0;
    visibility: hidden;
}
.accordeon-content li {
    color: white;
    font-size: 1rem;
}

.accordeon-active .accordeon-content {
    max-height: 300px;
    padding: 14px 4px 0px;
    opacity: 1;
    visibility: visible;
    transition:
        max-height 0.3s ease-in-out,
        padding 0.3s ease-in-out,
        opacity 0.3s ease-in-out,
        visibility 0s;
}

.accordeon-container {
    margin-bottom: 1rem;
}

.accordeon-active .accordeon-card i {
    rotate: 90deg;
}

@media screen and (width < 750px) {
    .card-container .card-content {
        padding: 1rem 2rem 1rem 2rem;
        align-content: center;
    }
}

/* ------------------------------------------------ */
/* --------------------OVERCOMING---------------------------- */
/* ------------------------------------------------ */

.is-6:has(.exploration-card) {
    width: 49%;
}
.exploration-card {
    height: 100%;
    border: double 2px transparent !important;
    border-radius: 14px !important;
    background-image:
        linear-gradient(#f3feff, #f3feff),
        linear-gradient(
            to left top,
            #26daf7 0%,
            #d98452 0%,
            #bf5934 70%,
            #73321a 100%
        ) !important;
    background-origin: border-box !important;
    background-clip: padding-box, border-box !important;
    -webkit-text-fill-color: #35160d;
    padding: 2rem 2rem 4rem 2rem;
    margin-inline: auto;
    max-width: 500px;
}

.schema-container {
    margin-top: 7rem;
    position: relative;
    background: url(../../images/overcoming/Case-studies-schema.png)
        center/cover;
    width: 80%;
    aspect-ratio: 160 / 94;
    margin-inline: auto;
}

.schema-container img {
    width: 40%;
    max-width: 500px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.brown-nano-bg {
    z-index: 3;
    position: relative;
    overflow: hidden;
    border-radius: 70px 70px 0px 0px;
    padding-bottom: 5rem;
}
.brown-nano-bg :where(h2, p) {
    color: white;
}

.brown-nano-bg .bg-printed {
    position: absolute;
    top: -35%;
    left: -18%;
    rotate: 174deg;
    opacity: 0.1;
}

.brown-nano-bg p {
    position: relative;
    padding-left: 1.5rem; /* Espace pour l'icône */
}

.brown-nano-bg p .arrow-icon {
    position: absolute;
    left: -5px;
    top: 5px;
    color: white;
}
.brown-nano-bg .is-6:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.144);
    border-right: 1px solid rgba(255, 255, 255, 0.144);
    border-radius: 0px 18px 0px 0px;
    margin-bottom: 1rem;
    padding-inline: 4rem;
    padding-top: 3rem;
}
.brown-nano-bg .is-6:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.144);
    border-left: 1px solid rgba(255, 255, 255, 0.144);
    border-radius: 0px 0px 0px 18px;
    margin-top: 1rem;
    padding-inline: 4rem;
    padding-bottom: 3rem;
}

@media screen and (max-width: 730px) {
    .brown-nano-bg {
        border-radius: 30px 30px 0px 0px;
    }
    .brown-nano-bg h2 {
        text-align: center !important;
    }
    .is-6:has(.exploration-card) {
        width: 100%;
    }
    .brown-nano-bg .is-6:first-child,
    .brown-nano-bg .is-6:last-child {
        border-bottom: 1px solid rgba(255, 255, 255, 0);
        border-left: 1px solid rgba(255, 255, 255, 0);
        border-bottom: 1px solid rgba(255, 255, 255, 0);
        border-left: 1px solid rgba(255, 255, 255, 0);
        padding-inline: 2rem;
    }
}

/* ------------------------------------------------ */
/* --------------------PARTNERS---------------------------- */
/* ------------------------------------------------ */

.partners-container .column {
    border: 1px solid var(--main-title-color);
    padding: 2rem;
    margin: 0.5rem;
}
.partners-container .is-3 {
    text-align: center;
    width: 24%;
    border-radius: 8px;
}
.partners-container .is-3 img {
    max-width: 200px;
    width: 100%;
    margin-inline: auto;
}
.partners-container .column h3 {
    margin-bottom: 1rem;
    color: var(--bg-brown-medium);
}
.partners-container .column p {
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media screen and (max-width: 730px) {
    .partners-container .is-3 {
        width: 95%;
    }
    .partners-container .column {
        margin: 2.5rem 0.5rem;
    }
}

/* ------------------------------------------------ */
/* --------------------NEWS---------------------------- */
/* ------------------------------------------------ */
/* Filter Buttons Styles */

.filter-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.filter-btn {
    color: var(--bg-brown-medium);
    padding: 8px 16px;
    background-color: white;
    border: 2px solid var(--bg-brown-medium);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s ease-out;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.filter-btn.active {
    background: var(--main-green);
    color: white;
    border-color: var(--main-green);
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1);
}

/* Hidden news items */
.news-hidden {
    display: none;
}

/* Main news ---------------------------- */

.main-news {
    padding-inline: 0rem;
    border-radius: 20px;
    text-decoration: none;
}
.main-news:hover {
    -webkit-text-fill-color: initial;
}

.main-news .newsBox {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px;
    border-radius: 20px;
    aspect-ratio: 160 / 53;
    max-width: 900px;
    margin-inline: auto;
}

.main-news .newsBox .img-container {
    width: 50%;
    height: auto;
    min-height: 300px;
    border-radius: 20px;
}
.main-news .newsBox:first-child .newsBox-txt {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    padding: 1rem 4rem;
    gap: 1rem;
    order: 2;
}
.main-news .newsBox .newsBox-txt {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    padding: 2rem 4rem;
    gap: 3rem;
    order: 2;
}

.main-news .news-icon {
    width: fit-content;
    background: var(--main-green);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    transition: background 0.1s ease-out;
}

.main-news .news-icon span {
    font-weight: 600;
    color: white;
    letter-spacing: 0.5px;
    transition: color 0.1s ease-out;
}
.main-news h2 {
    font-size: clamp(1.8rem, 2vw, 2rem);
    font-weight: 600;
    line-height: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.main-news .newsBox-txt .newsBox-desc {
    font-weight: 600;
    font-size: 18px;
}
.main-news .newsBox-txt i {
    color: var(--main-title-color);
    rotate: -45deg;
    transition: rotate 0.2s ease-out;
}

.main-news:hover .newsBox-txt i {
    rotate: 0deg;
    color: var(--main-green);
}
.main-news:hover .newsBox-txt .newsBox-desc {
    color: var(--main-green);
}

/* ---------------- */
/* -----------RESOURCES--------- */
/* ---------------- */

.accordion-header {
    cursor: pointer;
}
.accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#reports .accordion-header {
    border-bottom: 1px solid var(--bg-brown-medium);
    padding: 10px 0;
    margin-top: 10px;
}

#reports .accordion:last-child .accordion-header {
    border-bottom: none;
}

#reports .accordion h4 {
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 26px;
    color: var(--main-title-color);
    user-select: none;
}
#reports .accordion i {
    color: var(--main-green);
    font-size: 1em;
    margin-right: 15px;
}
#reports ul {
    padding-top: 10px;
    padding-inline: 24px;
    list-style: circle !important;
}
#reports ul li {
    padding: 5px 0;
    display: flex;
    justify-content: space-between;
    width: 100%;
    list-style: circle !important;
}
#reports ul li .tag {
    float: right;
    margin-right: -15%;
}
#reports ul li a {
    color: var(--bg-brown-medium);
    font-size: 1rem !important;
    text-decoration: underline !important;
    display: flex;
    justify-content: space-between;
}
#reports ul li span {
    font-size: 1rem !important;
}

.is-6.reports {
    width: 100%;
}

/* ---------------- */
/* ---------------- */
/* NAVBAR */
/* ---------------- */
/* ---------------- */

#hero {
    position: absolute;
    top: 25px;
    padding: 0rem 2rem;
    width: 100%;
    max-width: 100%;
    z-index: 10;
}
.navbar-container {
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.navbar a {
    font-family:
        "Century-light", "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS",
        sans-serif, Geneva, Verdana, sans-serif;
}

.navbar {
    width: 100%;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease-in-out;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.navbar::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(to top, #303e8ca6, #080f2600),
        url(../../images/menu-bg.webp);
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: -1;
}

/* Style de base de la navbar et des sous-menus sans hover */
.navbar {
    min-height: 70px;
}

.menu-item ul {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 0;
    margin-top: 20px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.5s ease;
    text-align: center;
}

/* Effets de survol uniquement sur ordinateurs de bureau */
@media (min-width: 769px) {
    .navbar:hover {
        height: auto;
        padding-bottom: 400px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
        background-color: rgb(27, 42, 85);
    }

    .navbar:hover .menu-item ul {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: all;
    }

    .navbar:hover::before {
        opacity: 0.4;
    }
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    transition: opacity 0.3s ease;
}

@media (min-width: 769px) {
    .navbar:hover .logo-img {
        content: url("../../images/logo/greeneo_white.png");
    }
}

.navbar-content {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Bouton hamburger pour le menu mobile */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1000;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--main-title-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

@media (min-width: 769px) {
    .navbar:hover .mobile-menu-toggle span {
        background-color: #ffffff;
    }
}

/* Animation de la transformation du burger en croix */
.mobile-menu-active .mobile-menu-toggle span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-active .mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-active .mobile-menu-toggle span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.menu {
    display: flex;
    list-style: none;
    flex-grow: 1;
    position: relative;
    z-index: 200;
    width: 70%;
    justify-content: space-around;
}

.menu-item {
    margin: 0;
    position: relative;
    text-align: center;
    flex: 1;
    align-content: center;
}

.grey {
    color: grey !important;
}

/* Suppression du CSS redondant */

@media (min-width: 769px) {
    .navbar:hover .menu-item:nth-child(1) ul {
        transition-delay: 0.1s;
    }
    .navbar:hover .menu-item:nth-child(2) ul {
        transition-delay: 0.2s;
    }
    .navbar:hover .menu-item:nth-child(3) ul {
        transition-delay: 0.3s;
    }
    .navbar:hover .menu-item:nth-child(4) ul {
        transition-delay: 0.4s;
    }
    .navbar:hover .menu-item:nth-child(5) ul {
        transition-delay: 0.5s;
    }
}

.menu-item > a {
    color: #1b2a55;
    text-decoration: none;
    font-weight: normal;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 5px;
    display: block;
    transition: all 0.3s ease;
}

@media (min-width: 769px) {
    .navbar:hover .menu-item > a {
        color: white;
    }
}

.menu-item > a:hover {
    color: #44a666;
}

@media (min-width: 769px) {
    .navbar:hover .menu-item > a:hover {
        cursor: default;
    }
}

.submenu-item {
    margin: 10px 0;
}

.submenu-item a {
    margin-inline: 25px;
    color: white;
    text-decoration: none;
    display: block;
    padding: 8px 10px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

@media (min-width: 769px) {
    .submenu-item a:not(.grey):hover {
        background-color: rgba(255, 255, 255, 0.1);
        text-shadow:
            0 0 5px rgba(255, 255, 255, 0.274),
            0 0 10px rgba(255, 255, 255, 0.274),
            0 0 20px rgba(255, 255, 255, 0.274),
            0 0 40px rgba(255, 255, 255, 0.274),
            0 0 80px rgba(255, 255, 255, 0.274);
    }
    .submenu-item a.grey {
        cursor: not-allowed;
    }
}

.social-icons {
    display: flex;
    list-style: none;
}

.social-icons li:first-child {
    border: 1px solid var(--main-green);
    background: transparent;
    transition:
        border 0.3s ease,
        background 0.3s ease;
}

.social-icons li {
    margin-left: 15px;
    width: 40px;
    height: 39px;
    border: 1px solid var(--main-title-color);
    background: var(--main-title-color);
    text-align: center;
    align-content: center;
    border-radius: 50%;
    transition:
        border 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}
.social-icons li:hover {
    box-shadow:
        0 0 10px rgba(255, 255, 255, 0.3),
        0 0 20px rgba(255, 255, 255, 0.2),
        0 0 40px rgba(255, 255, 255, 0.15),
        0 0 60px rgba(255, 255, 255, 0.1);
}
.social-icons li:hover a {
    color: white !important;
}

.social-icons li:first-child a {
    color: var(--main-green);
}
.social-icons a {
    color: white;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

@media (min-width: 769px) {
    .navbar:hover .social-icons li {
        border: 1px solid white;
        background: transparent;
    }

    .navbar:hover .social-icons li:first-child a {
        color: white;
    }
}

/* Style pour le bouton Data portal */
.data-portal-button,
.mobile-data-portal {
    text-align: center;
}

.desktop-portal {
    position: absolute;
    bottom: 25px;
    right: 25px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.mobile-data-portal {
    display: none;
    margin-top: auto;
    margin-bottom: 30px;
    padding-top: 30px;
    padding-bottom: 10px;
    border-top: 1px solid rgba(102, 204, 255, 0.2);
    width: 100%;
}

@media (min-width: 769px) {
    .navbar:hover .desktop-portal {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        transition-delay: 0.6s; /* Délai le plus long pour l'animation */
    }
}

.data-portal-button a,
.mobile-data-portal a {
    display: inline-block;
    text-decoration: none;
    padding: 10px 30px;
    border-radius: 14px;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: no-drop;
}

.data-portal-button a {
    color: grey;
    background-color: rgba(168, 168, 168, 0.07);
    border: 2px solid rgba(190, 190, 190, 0.4);
}

.mobile-data-portal a {
    color: grey;
    background-color: rgba(160, 160, 160, 0.1);
    border: 1px solid rgba(95, 95, 95, 0.4);
}

.data-portal-button a:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.mobile-data-portal a:hover {
    background-color: rgba(88, 88, 88, 0.2);
}

/* News content flex display */
.news-content-flex {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.news-content-flex ul {
    flex: 1;
}

.news-content-flex img {
    max-width: 500px;
    width: 50%;
    object-fit: cover;
}

@media screen and (max-width: 750px) {
    .news-content-flex {
        flex-direction: column;
    }

    .news-content-flex img {
        max-width: 100%;
        width: 100%;
        margin-block: 1.5rem;
    }
}

/* Styles pour les tablettes et appareils de taille moyenne */
@media screen and (max-width: 992px) {
    .navbar {
        padding: 15px 20px;
    }

    .menu {
        width: 80%;
    }
}

/* Style pour les icônes sociales dans le menu mobile */
.mobile-social-icons {
    display: none;
    padding: 25px;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-social-icons a {
    color: #1b2a55;
    font-size: 1.4rem;
    margin-right: 25px;
    transition: color 0.3s ease;
}

.mobile-social-icons a:hover {
    color: #44a666;
}

/* On supprime les règles de désactivation sur mobile puisque les animations 
ne sont jamais appliquées en dessous de 769px */

@media screen and (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
        margin-left: 15px;
    }

    .mobile-social-icons {
        display: flex;
    }

    .social-icons {
        display: none;
    }

    .navbar-content {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 75%;
        max-height: 100vh;
        height: 100%;
        background-color: #fff;
        flex-direction: column;
        justify-content: space-between;
        padding: 0;
        transition: left 0.3s ease-in-out;
        box-shadow: 3px 0 15px rgba(0, 0, 0, 0.2);
        z-index: 900;
        overflow-y: auto;
        display: flex;
    }

    .mobile-menu-active .menu {
        left: 0;
    }

    .menu-item {
        width: 100%;
        margin: 0;
        padding: 0;
        text-align: left;
        flex: 0;
    }

    .menu-item > a {
        padding: 25px;
        display: block;
        color: #1b2a55;
        font-size: 16px;
        border-bottom: 1px solid #f0f0f0;
    }

    .menu-item ul {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        height: 0;
        overflow: hidden;
        margin: 0;
        transition: height 0.3s ease;
        background: #f8f8f8;
        border-left: 4px solid #44a666;
    }

    .menu-item.submenu-open ul {
        height: auto;
        padding: 10px 0;
    }

    .submenu-item {
        margin: 0;
    }

    .submenu-item a {
        padding: 10px 25px 10px 40px;
        color: #555;
        margin: 0;
        font-size: 1rem;
        border-radius: 0;
        text-align: left;
    }

    .submenu-item a:hover {
        color: #44a666;
        background-color: rgba(102, 204, 255, 0.1);
    }

    .social-icons {
        margin-left: auto;
    }

    .social-icons li {
        margin-left: 15px;
    }

    /* Fond sombre pour l'arrière-plan lorsque le menu est ouvert */
    .mobile-menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 899;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .mobile-menu-active .mobile-menu-overlay {
        display: block;
        opacity: 1;
    }

    /* Ajustement pour le bouton Data Portal */
    .mobile-data-portal {
        display: block;
    }

    .desktop-portal {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    .social-icons {
        margin-right: 10px;
    }

    .social-icons li {
        margin-left: 12px;
    }

    .social-icons a {
        font-size: 1.1rem;
    }
}

.expected-launch {
    font-size: 12px;
    margin-top: 8px;
}

.data-portal-button .expected-launch {
    color: rgba(255, 255, 255, 0.6);
}

.mobile-data-portal .expected-launch {
    color: rgba(27, 42, 85, 0.6);
}

@media (min-width: 769px) {
    .social-icons a:hover {
        color: #44a666;
    }
}

.navbar:hover .social-icons a:hover {
    color: #44a666;
}

/* ------------------------------------------- */
/* --------Library----------------------- */
/* ------------------------------------------- */

.library-container {
    margin-inline: auto;
    margin-bottom: 4rem;
    border-radius: 14px;
    border: 3px solid var(--main-title-color);
    max-width: 1000px;
    padding: 2rem;
}

.library-container h2 {
    text-align: left;
    font-size: clamp(1.6rem, 3vw, 2.5rem);
}
.library-container hr {
    background: #68f205;
    height: 1px;
    width: 100% !important;
    max-width: none;
}

.library-card-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

a:has(.library-card) {
    text-decoration: none;
}

.library-card {
    border: 2px solid #303e8c;
    aspect-ratio: 1;
    border-radius: 8px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
}
.library-card p.ters {
    font-weight: 600;
}

.library-card img {
    width: 40%;
    margin-top: 10px;
}

.library-container .flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.library-container li {
    color: var(--main-green) !important;
    list-style: disc !important;
}

.tab-buttons {
    padding-top: 3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

@media screen and (max-width: 750px) {
    .library-card-container {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    .library-container .flex {
        flex-direction: column;
        gap: 2rem;
    }
    .library-container {
        padding: 1rem;
    }
    .ressources ul {
        padding-inline: 8px;
    }
    .tab-buttons {
        flex-direction: column;
    }
}

/* ------------------------------------------------ */
/* --------------------FOCUS AREAS PAGE---------------------------- */
/* ------------------------------------------------ */

.focus-intro h2 {
    color: var(--main-title-color);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    text-align: center;
}

.focus-intro h3 {
    color: var(--main-title-color);
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

.focus-intro p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--main-txt-color);
    max-width: 1000px;
    margin-inline: auto;
}

.focus-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.stat-box {
    text-align: center;
    padding: 1.5rem 2rem;
    border: 1px solid #e0e0e0;
    border-radius: 14px;
    background: white;
    min-width: 180px;
    flex: 1;
    max-width: 280px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.stat-number {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    font-weight: 700;
    color: rgb(34, 34, 34);
    font-family:
        "Century", "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS",
        sans-serif;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--main-txt-color);
    font-weight: 400;
}

/* Section Subtitle */
.section-subtitle {
    font-family:
        "Century-light", "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS";
    color: var(--main-green) !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 400;
}

.focus-label {
    color: var(--main-green);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

/* How we work section */
.how-we-work-section {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.how-we-work-content {
    flex: 1;
    max-width: 50%;
}

.how-we-work-content h2 {
    color: var(--main-title-color);
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    line-height: 1.3;
}

.how-we-work-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--main-txt-color);
}

.how-we-work-image {
    flex: 1;
    max-width: 50%;
}

.work-process-list {
    list-style: disc;

    padding-left: 1.5rem;
}

.work-process-list li {
    padding: 0.8rem 0;

    position: relative;
}

/* Tab Container */
.tab-container {
    background: white;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8eaed;
}

.tabs {
    display: flex;
    gap: 0;
    margin-bottom: 0 !important;
    justify-content: flex-start;
}

.tab-btn {
    padding: 1.2rem 2.5rem;
    border: none;
    background: transparent;
    color: #5f6368;
    border-radius: 0;
    border-bottom: 1px solid #e8eaed !important;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    font-family:
        "Century-light", "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS",
        sans-serif;
    flex: 1;
    text-align: center;
    box-shadow: inset -2px -1px 16px rgb(126 126 126 / 8%);
}

.tab-btn:first-child {
    border-top-left-radius: 16px;
    border-right: 1px solid #e8eaed;
}

.tab-btn:last-child {
    border-top-right-radius: 16px;
}

.tab-btn:hover {
    background: #f8f9fa;
}

.tab-btn.active {
    color: var(--main-green);
    border-bottom: 1px solid #ffffff !important;
    border-bottom-color: #ffffff !important;
    box-shadow: inset -2px -1px 16px rgba(255, 255, 255, 0.08);
}

.tab-content {
    display: none;
    padding: 2rem;
}

.tab-content.active {
    display: block;
}

.tab-content img {
    width: 100%;
    border-radius: 12px;
    aspect-ratio: 1;
    object-fit: contain;
    background: #eaf5f1;
    padding: 1rem;
}
#concept img {
    padding: 3rem;
}

/* Focus Area Detail */
.focus-area-detail {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.focus-area-detail.reverse {
    flex-direction: row-reverse;
}

.focus-area-text {
    flex: 1;
    max-width: 60%;
}

.focus-area-text h2 {
    color: var(--main-title-color);
    font-size: clamp(1.8rem, 4vw, 2.3rem);
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.focus-area-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--main-txt-color);
}

.focus-area-image {
    flex: 1;
    max-width: 40%;
}

.focus-area-text ul {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.focus-area-text ul li {
    padding: 0.6rem 0;
    padding-left: 1.2rem;
    position: relative;
    font-size: 1.05rem;
    line-height: 1.6;
}

.focus-area-text ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--main-green);
    font-weight: bold;
    font-size: 1.3rem;
    top: 0.6rem;
}

/* Image Card */
.image-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8eaed;
    padding: 1.2rem 1.5rem;
}

.focus-image-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--main-green);
}

.image-card img {
    width: 100%;
    height: auto;
    display: block;
    padding-block: 1rem;
}

.image-caption {
    font-size: 0.88rem;
    line-height: 1.6;
}

.image-caption strong {
    /* color: var(--main-title-color); */
    font-weight: 600;
}

.image-caption p {
    font-size: 0.88rem;
    margin-top: 0.4rem;
    color: #5f6368;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.image-caption-source {
    -webkit-line-clamp: 1 !important;
    line-clamp: 1 !important;
}
.modal-card .image-caption p {
    display: -webkit-box;
    -webkit-line-clamp: 25;
    line-clamp: 25;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.modal-card .image-caption-source {
    -webkit-line-clamp: 10 !important;
    line-clamp: 10 !important;
}

/* Placeholder Card */
.placeholder-card .placeholder-content {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 4rem 2rem;
    text-align: center;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.placeholder-content p {
    color: var(--main-txt-color);
    font-size: 1.1rem;
}

/* Benefits Section */
.benefits-section {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
    justify-content: center;
}

.benefit-card {
    flex: 1;
    min-width: 280px;
    max-width: 500px;
    padding: 2rem 2.5rem;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.benefit-card h4 {
    color: rgb(34, 34, 34);
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 700;
    font-family:
        "Century", "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS",
        sans-serif;
}

.benefit-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--main-txt-color);
}

.benefit-card ul {
    list-style: none;
    padding-left: 0;
    margin-top: 0.5rem;
}

.benefit-card ul li {
    padding-left: 1.3rem;
    position: relative;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--main-txt-color);
}

.benefit-card ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--main-green);
    font-weight: bold;
    font-size: 1.2rem;
    top: -2px;
}

.governance-section h2 {
    color: var(--main-title-color);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    line-height: 1.3;
}

.governance-section p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--main-txt-color);
}

.governance-benefits {
    background: white;
    max-width: 850px;
    margin: 0 auto;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.governance-benefits h4 {
    color: var(--main-title-color);

    font-size: 1.2rem;
    font-weight: 700;
    font-family:
        "Century", "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS",
        sans-serif;
}

.governance-benefits ul {
    list-style: none;
    padding-left: 0;
    max-width: 750px;
    margin: 0 auto;
}

.governance-benefits ul li {
    padding-left: 1.5rem;
    position: relative;
    font-size: 1.05rem;
    text-align: left;
    line-height: 1.6;
    color: var(--main-txt-color);
}

.governance-benefits ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--main-green);
    font-weight: bold;
    font-size: 1.3rem;
    top: -4px;
}

/* Responsive Design for Focus Areas */
@media screen and (max-width: 768px) {
    .focus-intro {
        padding: 1rem 0.5rem;
    }

    .focus-intro h2 {
        font-size: 1.8rem;
    }

    .focus-intro h3 {
        font-size: 1.3rem;
    }

    .focus-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .stat-box {
        max-width: 100%;
    }

    .how-we-work-section {
        flex-direction: column;
        gap: 2rem;
    }

    .how-we-work-content,
    .how-we-work-image {
        max-width: 100%;
    }

    .focus-area-detail,
    .focus-area-detail.reverse {
        flex-direction: column;
        gap: 2rem;
    }

    .focus-area-text,
    .focus-area-image {
        max-width: 100%;
    }

    .focus-area-text h2 {
        font-size: 1.8rem;
    }

    .tabs {
        flex-wrap: wrap;
    }

    .tab-btn {
        flex: 1;
        min-width: 45%;
    }

    .benefits-section {
        flex-direction: column;
        gap: 1.5rem;
    }

    .benefit-card {
        min-width: 100%;
        padding: 1.5rem 2rem;
    }

    .work-process-list li,
    .focus-area-text ul li,
    .benefit-card ul li,
    .governance-benefits ul li {
        font-size: 0.95rem;
    }

    .governance-section {
        padding: 1rem 0.5rem;
    }

    .governance-benefits {
        padding: 1.5rem;
    }

    .image-caption {
        padding: 1rem;
        font-size: 0.85rem;
    }
}

/* -------------------------- */
/* Focus Area Image Modal & Hover */
/* -------------------------- */

.focus-area-image {
    cursor: pointer;
    perspective: 1000px; /* Adds depth for 3D transforms */
}

.focus-area-image .image-card {
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy "alive" feel */
    border: 1px solid transparent;
    border-radius: 8px; /* Ensure radius matches content */
    background: white; /* Ensure no transparency issues on lift */
}

/* Hover State: Lift, Scale, and Green Glow */
.focus-area-image:hover .image-card {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 20px 40px -10px rgba(68, 166, 102, 0.3),
        0 0 0 1px var(--main-green);
    border-color: transparent;
    z-index: 10;
}

/* The "Expand" Icon Overlay */
.expand-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    background-color: rgba(68, 166, 102, 0.9); /* Main Green */
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    pointer-events: none; /* Let clicks pass through to the parent */
    z-index: 20;
}

.expand-icon svg {
    width: 24px;
    height: 24px;
}

/* Reveal Icon on Hover */
.focus-area-image:hover .expand-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Image dimming slightly to make icon pop */
.focus-area-image .image-card img {
    transition: filter 0.3s ease;
}

.focus-area-image:hover .image-card img {
    filter: brightness(0.95);
}

/* Modal Styles */
#image-modal .modal-card {
    width: 90%;
    max-width: 1100px;
    border-radius: 14px;
    overflow: hidden;
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.3s ease;
}

#image-modal.is-active .modal-card {
    transform: scale(1);
    opacity: 1;
}

#image-modal .modal-card-head {
    background-color: var(--main-title-color);
    border-bottom: 1px solid var(--main-green);
    border-radius: 0;
}

#image-modal .modal-card-title {
    color: white;
    font-weight: 600;
    font-family: "Century", sans-serif;
    flex-shrink: unset;
}

#image-modal .modal-card-body {
    padding: 2rem;
    background-color: white;
    display: flex;
    gap: 2rem;
}

#image-modal .modal-card-body img {
    max-height: 60vh;
    width: auto;
    margin: 0 auto 1.5rem;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    object-fit: contain;
}

#image-modal .modal-card-body .image-caption {
    padding: 1.5rem;
}

#image-modal .image-caption p {
    font-size: 1rem;
    color: var(--main-txt-color);
}

#image-modal .delete {
    background-color: rgba(255, 255, 255, 0.2);
    transition: background-color 0.2s ease;
}

#image-modal .delete:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

@media screen and (max-width: 750px) {
    #image-modal .modal-card-body {
        flex-direction: column;
    }
}
