/* ============================================
   SAD NGO - Global Styles
   ============================================ */

/* --- CSS Variables --- */
:root {
    --primary: #384ca0;
    --primary-light: #4d63b8;
    --primary-dark: #2a3978;
    --accent: #ffe724;
    --accent-light: #ffed5c;
    --accent-dark: #e6cf00;
    --green: #1d8f44;
    --green-light: #27a854;
    --green-dark: #167035;
    --white: #FFFFFF;
    --off-white: #F8F9FA;
    --gray-50: #F1F3F5;
    --gray-100: #E9ECEF;
    --gray-200: #DEE2E6;
    --gray-300: #CED4DA;
    --gray-400: #ADB5BD;
    --gray-500: #6C757D;
    --gray-600: #495057;
    --gray-700: #343A40;
    --gray-800: #212529;
    --success: #1d8f44;
    --danger: #DC3545;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 50px rgba(0,0,0,0.15);
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: 0.3s ease;
    --font-body: 'Nunito Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Fraunces', Georgia, serif;
    --container: 1200px;
    --header-height: 64px;
}

/* --- Reset --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--gray-700);
    line-height: 1.7;
    background: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1.3;
    font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }

p {
    margin-bottom: 1rem;
    color: var(--gray-600);
}

/* --- Layout --- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.section--gray {
    background: var(--off-white);
}

.section__header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section__subtitle {
    display: inline-block;
    color: var(--green);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
}

.section__title {
    margin-bottom: 1rem;
}

.section__desc {
    max-width: 640px;
    margin: 0 auto;
    color: var(--gray-500);
    font-size: 1.05rem;
}

/* --- Grid System --- */
.grid {
    display: grid;
    gap: 2rem;
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Pillars layout: wraps 7 cards into balanced, centered rows */
.grid--pillars {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.grid--pillars .pillar {
    flex: 1 1 240px;
    max-width: 300px;
}

/* --- Header / Navigation --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background var(--transition), box-shadow var(--transition);
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.header--transparent {
    background: transparent;
}

.header--solid {
    background: var(--white);
    box-shadow: var(--shadow);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    transition: color var(--transition);
}

.header--solid .header__logo {
    color: var(--primary);
}

.header__logo img {
    height: 40px;
    width: auto;
    transition: filter var(--transition);
}

.nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav__link {
    padding: 0.35rem 0.7rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    position: relative;
}

.header--solid .nav__link {
    color: var(--gray-700);
}

.nav__link:hover,
.nav__link--active {
    color: var(--accent);
}

/* Jaune plus foncé sur fond blanc pour rester lisible */
.header--solid .nav__link:hover,
.header--solid .nav__link--active {
    color: var(--accent-dark);
}

.nav__link--active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.7rem;
    right: 0.7rem;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.header--solid .nav__link--active::after {
    background: var(--accent-dark);
}

/* Language switcher */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: 0.75rem;
}

.lang-switch__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid transparent;
    background: rgba(255,255,255,0.1);
    cursor: pointer;
    transition: all var(--transition);
    padding: 0;
}

.header--solid .lang-switch__btn {
    background: var(--gray-50);
}

.lang-switch__btn--active {
    border-color: var(--green);
    background: rgba(29,143,68,0.1);
    box-shadow: 0 0 0 2px rgba(29,143,68,0.2);
}

.header--solid .lang-switch__btn--active {
    background: rgba(29,143,68,0.1);
}

.lang-switch__btn:hover:not(.lang-switch__btn--active) {
    background: rgba(255,255,255,0.2);
    transform: scale(1.1);
}

.header--solid .lang-switch__btn:hover:not(.lang-switch__btn--active) {
    background: var(--gray-100);
    transform: scale(1.1);
}

.lang-flag {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    overflow: hidden;
    display: block;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    position: relative;
    z-index: 1002;
}

.menu-toggle__bar {
    width: 26px;
    height: 2.5px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition);
}

.header--solid .menu-toggle__bar {
    background: var(--gray-700);
}

.menu-toggle--open .menu-toggle__bar {
    background: var(--gray-700) !important;
}

.menu-toggle--open .menu-toggle__bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle--open .menu-toggle__bar:nth-child(2) {
    opacity: 0;
}
.menu-toggle--open .menu-toggle__bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all var(--transition);
    letter-spacing: 0.3px;
}

.btn--primary {
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.btn--primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.15) 50%, transparent 60%);
    transition: transform 0.5s ease;
    transform: translateX(-100%);
}

.btn--primary:hover::after {
    transform: translateX(100%);
}

.btn--primary:hover {
    background: linear-gradient(135deg, var(--green-dark), var(--green));
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(29,143,68,0.4);
}

.btn--outline {
    border: 2px solid var(--green);
    color: var(--green);
    background: transparent;
}

.btn--outline:hover {
    background: var(--green);
    color: var(--white);
    transform: translateY(-2px);
}

.btn--white {
    background: var(--white);
    color: var(--primary);
}

.btn--white:hover {
    background: var(--off-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--sm {
    padding: 0.6rem 1.4rem;
    font-size: 0.85rem;
}

.btn--lg {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
}

/* --- Donate Button --- */
.btn-donate {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-left: 0.75rem;
    padding: 0.4rem 1.1rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-dark);
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-radius: 50px;
    box-shadow: 0 3px 12px rgba(230, 207, 0, 0.35);
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-donate:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(230, 207, 0, 0.5);
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
}

.btn-donate svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* Sur grands écrans : pousse le bouton don tout au bord droit de l'écran */
@media (min-width: 1300px) {
    .header .btn-donate {
        margin-right: calc(0.5rem - (100vw - var(--container)) / 2);
    }
}

/* --- Donate Modal --- */
.donate-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.donate-modal--open {
    display: flex;
}

.donate-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
}

.donate-modal__card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 540px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 2.5rem 2.25rem 2.25rem;
    box-shadow: var(--shadow-xl);
    animation: donateModalIn 0.3s ease;
}

@keyframes donateModalIn {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.donate-modal__close {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    line-height: 1;
    color: var(--gray-500);
    background: var(--gray-50);
    border-radius: 50%;
    transition: all var(--transition);
}

.donate-modal__close:hover {
    background: var(--gray-100);
    color: var(--gray-800);
}

.donate-modal__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--primary-dark);
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-radius: 50%;
}

.donate-modal__icon svg {
    width: 26px;
    height: 26px;
}

.donate-modal__title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.donate-modal__text {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    white-space: pre-line;
}

.donate-modal__section {
    margin-bottom: 1.25rem;
}

.donate-modal__section-title {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--green);
    margin-bottom: 0.5rem;
}

.donate-modal__details {
    white-space: pre-line;
    background: var(--gray-50);
    border-left: 3px solid var(--accent);
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    font-size: 0.95rem;
    color: var(--gray-700);
}

.donate-modal__qr {
    display: block;
    max-width: 180px;
    width: 100%;
    margin: 0 auto;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200, #e9ecef);
    padding: 0.5rem;
    background: var(--white);
}

.donate-modal__online {
    display: block;
    margin-top: 1.25rem;
    text-align: center;
}

/* --- Cards --- */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.card__image-wrap {
    position: relative;
    overflow: hidden;
}

.card__image-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(56,76,160,0.3), transparent 50%);
    opacity: 0;
    transition: opacity var(--transition);
}

.card:hover .card__image-wrap::after {
    opacity: 1;
}

.card__image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card__image {
    transform: scale(1.05);
}

.card__body {
    padding: 1.75rem;
}

.card__tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    margin-bottom: 0.75rem;
}

.card__tag--blue {
    background: rgba(56,76,160,0.1);
    color: var(--primary);
}

.card__tag--orange {
    background: rgba(29,143,68,0.1);
    color: var(--green);
}

.card__title {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.card__text {
    font-size: 0.95rem;
    color: var(--gray-500);
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card__meta {
    font-size: 0.8rem;
    color: var(--gray-400);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* --- Footer --- */
.footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.8);
    padding: 4rem 0 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--green));
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer__brand {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer__desc {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: rgba(255,255,255,0.65);
}

.footer__title {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer__link {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
    transition: all var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer__link:hover {
    color: var(--accent-light);
    transform: translateX(4px);
}

.footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
}

.footer__contact-item svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--accent-light);
}

.footer__socials {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.footer__social {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    color: var(--white);
}

.footer__social:hover {
    background: var(--green);
    transform: translateY(-3px);
}

.footer__social svg {
    width: 18px;
    height: 18px;
}

.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--white);
}

.footer__bottom p {
    color: var(--white);
    margin-bottom: 0;
}

.footer__credit {
    margin-left: auto;
    text-align: right;
}

.footer__credit a {
    color: var(--white);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.2s ease;
}

.footer__credit a:hover {
    opacity: 0.75;
}

@media (max-width: 600px) {
    .footer__bottom {
        flex-direction: column;
        justify-content: center;
    }

    .footer__credit {
        margin-left: 0;
        text-align: center;
    }
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 9rem 1.5rem 6rem;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero__slider {
    position: absolute;
    inset: 0;
}

.hero__slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1.2s ease, transform 8s ease;
}

.hero__slide--active {
    opacity: 1;
    transform: scale(1);
    animation: heroSlideZoom 8s ease-in-out forwards;
}

@keyframes heroSlideZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.hero__dots {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.hero__dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: rgba(255,255,255,0.35);
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
    padding: 0;
}

.hero__dot--active {
    width: 28px;
    background: var(--accent);
    box-shadow: 0 0 12px rgba(255,231,36,0.45);
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, rgba(26,35,74,0.93) 0%, rgba(42,57,120,0.82) 38%, rgba(56,76,160,0.55) 68%, rgba(42,57,120,0.35) 100%),
        linear-gradient(to top, rgba(26,35,74,0.5) 0%, transparent 40%);
}

.hero__particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.hero__particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% { transform: translateY(100%) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100%) rotate(360deg); opacity: 0; }
}

.hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--container);
    text-align: left;
    padding: 0;
}

.hero__subtitle {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255,231,36,0.15);
    border: 1px solid rgba(255,231,36,0.35);
    color: var(--accent-light);
    padding: 0.45rem 1.25rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    animation: fadeInLeft 0.8s ease both;
    backdrop-filter: blur(8px);
}

.hero__subtitle::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px rgba(255,231,36,0.6);
    flex-shrink: 0;
}

.hero__title {
    color: var(--white);
    font-size: clamp(2.2rem, 5.5vw, 3.6rem);
    line-height: 1.12;
    margin-bottom: 1.25rem;
    max-width: 720px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.25);
    animation: fadeInLeft 0.8s 0.12s ease both;
}

.hero__title .highlight {
    color: var(--accent-light);
    position: relative;
}

.hero__lead {
    color: rgba(255,255,255,0.82);
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.75;
    margin-bottom: 2rem;
    max-width: 540px;
    animation: fadeInLeft 0.8s 0.24s ease both;
}

.hero__desc {
    color: rgba(255,255,255,0.85);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 600px;
    animation: fadeInLeft 0.8s 0.3s ease both;
}

.hero__buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    animation: fadeInLeft 0.8s 0.36s ease both;
}

.hero__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 2.5rem;
    animation: fadeInLeft 0.8s 0.48s ease both;
}

.hero__nav {
    display: flex;
    gap: 0.5rem;
}

.hero__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.1);
    color: var(--white);
    cursor: pointer;
    transition: all var(--transition);
    backdrop-filter: blur(6px);
}

.hero__arrow:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.45);
    transform: translateY(-1px);
}

.hero__wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--white);
    clip-path: ellipse(55% 100% at 50% 100%);
    z-index: 3;
    pointer-events: none;
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-24px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Page Header (inner pages) --- */
.page-header {
    position: relative;
    padding: calc(var(--header-height) + 3rem) 1.5rem 5rem;
    overflow: hidden;
}

.page-header__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-header__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, rgba(26,35,74,0.9) 0%, rgba(42,57,120,0.78) 42%, rgba(56,76,160,0.5) 100%),
        linear-gradient(to top, rgba(26,35,74,0.45) 0%, transparent 45%);
}

.page-header__content {
    position: relative;
    z-index: 2;
    max-width: var(--container);
    margin: 0 auto;
    text-align: left;
}

.page-header__breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    animation: fadeInLeft 0.7s ease both;
}

.page-header__breadcrumb a {
    color: rgba(255,255,255,0.65);
    transition: color var(--transition);
}

.page-header__breadcrumb a:hover {
    color: var(--accent-light);
}

.page-header__sep {
    color: rgba(255,255,255,0.35);
    user-select: none;
}

.page-header__current {
    color: var(--accent-light);
    font-weight: 500;
}

.page-header__title {
    color: var(--white);
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.15;
    max-width: 720px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.25);
    animation: fadeInLeft 0.7s 0.1s ease both;
}

.article-page .page-header__title {
    font-size: clamp(1.5rem, 3.5vw, 2.1rem);
    line-height: 1.25;
}

.page-header__wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 50px;
    background: var(--white);
    clip-path: ellipse(55% 100% at 50% 100%);
    z-index: 3;
    pointer-events: none;
}

/* --- Stat Counters --- */
.stats-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--primary) 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.stats-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255,231,36,0.1);
}

.stats-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255,231,36,0.08);
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.stat {
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
}

.stat + .stat::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255,255,255,0.15);
}

.stat__number {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--accent-light);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat__number--countries {
    font-size: clamp(0.95rem, 1.4vw, 1.15rem);
    line-height: 1.5;
    margin-top: 0.5rem;
    margin-bottom: 0;
}

.stat__label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}

/* --- Pillar / Feature Cards --- */
.pillar {
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid var(--gray-100);
    position: relative;
    overflow: hidden;
}

.pillar::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--green), var(--accent));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.pillar:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.pillar:hover::before {
    transform: scaleX(1);
}

.pillar__icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(56,76,160,0.25);
}

.pillar:hover .pillar__icon {
    background: linear-gradient(135deg, var(--green), var(--green-light));
    box-shadow: 0 8px 25px rgba(29,143,68,0.3);
    transform: scale(1.05) rotate(-3deg);
}

.pillar__icon svg {
    width: 34px;
    height: 34px;
}

.pillar__title {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    transition: color var(--transition);
}

.pillar:hover .pillar__title {
    color: var(--green);
}

.pillar__text {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* --- Partners (shared) --- */
.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.5rem;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter var(--transition);
}

.partner-logo:hover {
    border: none;
    box-shadow: none;
}

.partner-logo img {
    max-height: 72px;
    max-width: 160px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(56, 76, 160, 0.12));
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter var(--transition);
}

.partner-logo:hover img {
    transform: scale(1.12);
    filter: drop-shadow(0 8px 20px rgba(29, 143, 68, 0.2));
}

.partner-logo__fallback {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-500);
    text-align: center;
    max-width: 120px;
}

/* --- Homepage partners showcase --- */
.section--partners-showcase {
    position: relative;
    overflow: hidden;
}

.section--partners-showcase::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(56, 76, 160, 0.2) 20%,
        rgba(29, 143, 68, 0.25) 50%,
        rgba(255, 231, 36, 0.2) 80%,
        transparent
    );
}

.partners-showcase {
    position: relative;
    padding: 2.5rem 0 3rem;
    margin-top: 0.5rem;
}

.partners-showcase__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.45;
    pointer-events: none;
    z-index: 0;
}

.partners-showcase__glow--1 {
    width: 280px;
    height: 280px;
    background: rgba(56, 76, 160, 0.18);
    top: -40px;
    left: 10%;
    animation: partnerGlowFloat 8s ease-in-out infinite;
}

.partners-showcase__glow--2 {
    width: 220px;
    height: 220px;
    background: rgba(29, 143, 68, 0.15);
    bottom: -30px;
    right: 8%;
    animation: partnerGlowFloat 10s ease-in-out infinite reverse;
}

@keyframes partnerGlowFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -15px) scale(1.08); }
}

.partners-carousel {
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding: 1.5rem 0;
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        #000 12%,
        #000 88%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        #000 12%,
        #000 88%,
        transparent 100%
    );
}

.partners-carousel__track {
    display: flex;
    align-items: center;
    gap: 3.5rem;
    width: max-content;
    animation: partnersCarouselScroll 50s linear infinite;
}

.partners-carousel:hover .partners-carousel__track {
    animation-play-state: paused;
}

@keyframes partnersCarouselScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.partner-logo--carousel {
    flex: 0 0 auto;
    padding: 0.75rem 2rem;
}

.partner-logo--carousel img {
    max-height: 88px;
    max-width: 180px;
}

.partner-logo--offset-0 { transform: translateY(0); }
.partner-logo--offset-1 { transform: translateY(-14px); }
.partner-logo--offset-2 { transform: translateY(10px); }

.partner-logo--carousel:hover {
    transform: translateY(-6px) scale(1.02);
}

.partner-logo--carousel.partner-logo--offset-1:hover {
    transform: translateY(-20px) scale(1.02);
}

.partner-logo--carousel.partner-logo--offset-2:hover {
    transform: translateY(4px) scale(1.02);
}

/* --- Partners page mosaic --- */
.partners-mosaic {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2.5rem 3.5rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1rem 3rem;
    position: relative;
}

.partners-mosaic::before {
    content: '';
    position: absolute;
    inset: 10% 5%;
    background:
        radial-gradient(ellipse 60% 50% at 20% 40%, rgba(56, 76, 160, 0.06) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 80% 60%, rgba(29, 143, 68, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.partners-mosaic .partner-logo {
    position: relative;
    z-index: 1;
    padding: 0.75rem 1.25rem;
}

.partners-page .partner-logo img {
    max-height: 100px;
    max-width: 200px;
}

.partner-logo--mosaic.partner-logo--offset-0 img { transform: scale(1); }
.partner-logo--mosaic.partner-logo--offset-1 img { transform: scale(1.08); }
.partner-logo--mosaic.partner-logo--offset-2 img { transform: scale(0.92); }
.partner-logo--mosaic.partner-logo--offset-3 img { transform: scale(1.05); }

.partner-logo--mosaic:hover img {
    transform: scale(1.15) !important;
}

@media (prefers-reduced-motion: reduce) {
    .partners-carousel__track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        max-width: 100%;
        gap: 2rem;
    }

    .partners-carousel {
        -webkit-mask-image: none;
        mask-image: none;
        overflow: visible;
    }

    .partners-showcase__glow {
        display: none;
    }

    .partner-logo--offset-0,
    .partner-logo--offset-1,
    .partner-logo--offset-2 {
        transform: none;
    }
}

/* --- Contact Form --- */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.85rem 1.25rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 0.95rem;
    color: var(--gray-700);
    transition: all var(--transition);
    background: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(29,143,68,0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 140px;
}

.form-control.error {
    border-color: var(--danger);
}

.form-error {
    color: var(--danger);
    font-size: 0.8rem;
    margin-top: 0.3rem;
}

.form-success {
    background: rgba(46,139,87,0.1);
    border: 1px solid var(--success);
    color: var(--success);
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --- Newsletter (homepage) --- */
.section--newsletter {
    padding: 4.5rem 0;
    background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
}

.newsletter-card {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: clamp(1.75rem, 4vw, 3rem);
    box-shadow:
        0 4px 6px rgba(30, 45, 107, 0.08),
        0 24px 48px rgba(30, 45, 107, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.newsletter-card__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background: #0e1848;
}

.newsletter-card__bg-img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(0.96);
    transform-origin: center center;
}

.newsletter-card__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(10, 22, 68, 0.2);
    pointer-events: none;
}

.newsletter-card__mesh {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0.35;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(255, 231, 36, 0.25) 0%, transparent 45%),
        radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.2) 0%, transparent 40%),
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: auto, auto, 32px 32px, 32px 32px;
    pointer-events: none;
}

.newsletter-card__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    pointer-events: none;
    z-index: 2;
}

.newsletter-card__glow--1 {
    width: 280px;
    height: 280px;
    top: -100px;
    right: -60px;
    background: rgba(255, 231, 36, 0.35);
    animation: newsletterGlow 9s ease-in-out infinite;
}

.newsletter-card__glow--2 {
    width: 220px;
    height: 220px;
    bottom: -80px;
    left: -40px;
    background: rgba(29, 143, 68, 0.45);
    animation: newsletterGlow 11s ease-in-out infinite reverse;
}

@keyframes newsletterGlow {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.7; }
    50% { transform: translate(-12px, 10px) scale(1.08); opacity: 1; }
}

.newsletter-card__inner {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
}

.newsletter-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    background: linear-gradient(145deg, rgba(255, 231, 36, 0.95), rgba(255, 237, 92, 0.75));
    color: var(--primary-dark);
    box-shadow: 0 8px 24px rgba(255, 231, 36, 0.35);
}

.newsletter-card__icon svg {
    width: 28px;
    height: 28px;
}

.newsletter-card__badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-light);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 231, 36, 0.45);
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.newsletter-card__title {
    font-family: var(--font-heading);
    font-size: clamp(1.65rem, 3.5vw, 2.35rem);
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 0.85rem;
    max-width: 22ch;
}

.newsletter-card__text {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 1.35rem;
    max-width: 42ch;
}

.newsletter-card__panel {
    background: rgba(255, 255, 255, 0.97);
    border-radius: 20px;
    padding: 1.75rem;
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    backdrop-filter: blur(12px);
}

.newsletter-card__panel-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.newsletter-form__input {
    width: 100%;
    padding: 0.95rem 1.15rem;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 1rem;
    color: var(--gray-800);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.newsletter-form__input::placeholder {
    color: var(--gray-400);
}

.newsletter-form__input:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(29, 143, 68, 0.15);
}

.newsletter-form__btn {
    width: 100%;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    cursor: pointer;
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
    box-shadow: 0 10px 28px rgba(29, 143, 68, 0.4);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.newsletter-form__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(29, 143, 68, 0.5);
}

.newsletter-form__btn:disabled {
    opacity: 0.75;
    cursor: wait;
    transform: none;
}

.newsletter-feedback {
    min-height: 1.25rem;
    margin: 0.75rem 0 0;
    font-size: 0.88rem;
    font-weight: 500;
}

.newsletter-feedback--success {
    color: var(--green-dark);
}

.newsletter-feedback--error {
    color: var(--danger);
}

.newsletter-card__note {
    margin: 1rem 0 0;
    font-size: 0.78rem;
    color: var(--gray-500);
    line-height: 1.5;
}

@media (prefers-reduced-motion: reduce) {
    .newsletter-card__glow {
        animation: none;
    }
}

/* --- Article Comments --- */
.article-comments-section .section__header {
    text-align: left;
    margin-bottom: 2rem;
}

.article-comments {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.article-comments__empty {
    color: var(--gray-400);
    font-style: italic;
    margin: 0;
}

.article-comment {
    padding: 1.25rem 1.5rem;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-100);
}

.article-comment__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem 1rem;
    margin-bottom: 0.75rem;
}

.article-comment__author {
    color: var(--navy);
    font-size: 0.95rem;
}

.article-comment__date {
    font-size: 0.85rem;
    color: var(--gray-400);
}

.article-comment__body {
    margin: 0;
    line-height: 1.7;
    color: var(--gray-600);
}

.article-comments__form-wrap {
    padding-top: 0.5rem;
    border-top: 1px solid var(--gray-100);
}

.article-comments__form .btn {
    margin-top: 0.5rem;
}

/* --- CTA Banner --- */
.cta-banner {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
    text-align: center;
}

.cta-banner__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background: #0e1848;
}

.cta-banner__bg-img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1);
    transform-origin: center center;
    transition: transform 8s ease;
}

.cta-banner:hover .cta-banner__bg-img {
    transform: scale(1.04);
}

.cta-banner__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(10, 22, 68, 0.2);
    pointer-events: none;
}

.cta-banner__content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    margin: 0 auto;
    padding: 2.5rem 2.75rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.cta-banner__title {
    color: var(--white);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin-bottom: 1rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.cta-banner__text {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* --- Scroll to Top --- */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--green);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(29,143,68,0.4);
    border: none;
}

.scroll-top--visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--green-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(29,143,68,0.5);
}

/* --- Section Decorations --- */
.section--decorated {
    position: relative;
}

.section--decorated::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255,231,36,0.06);
    transform: translate(30%, -30%);
    pointer-events: none;
}

.section--decorated::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(56,76,160,0.04);
    transform: translate(-30%, 30%);
    pointer-events: none;
}

/* --- Section subtitle with line decoration --- */
.section__subtitle {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.section__subtitle::before,
.section__subtitle::after {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--green);
    border-radius: 2px;
}

/* --- Image hover effects --- */
.img-hover-zoom {
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.img-hover-zoom img {
    transition: transform 0.6s ease;
}

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

/* --- Gradient text --- */
.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Cards with gradient border --- */
.card {
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--green));
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    opacity: 0;
    transition: opacity var(--transition);
}

.card:hover::before {
    opacity: 1;
}

/* --- Animations --- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transition: opacity 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
}

.slide-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger delay classes */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* --- Misc --- */
.text-accent { color: var(--green); }
.text-primary { color: var(--primary); }
.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }

/* Article content styling */
.article-content p {
    margin-bottom: 1.25rem;
    line-height: 1.9;
    font-size: 1.05rem;
}

.article-content blockquote {
    border-left: 4px solid var(--green);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    background: var(--off-white);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: var(--gray-600);
}

.article-content blockquote p {
    margin-bottom: 0;
}

.article-content ul,
.article-content ol {
    margin: 0 0 1.25rem 1.5rem;
    padding-left: 1.25rem;
}

.article-content ul {
    list-style: disc;
}

.article-content ol {
    list-style: decimal;
}

.article-content li {
    display: list-item;
    margin-bottom: 0.5rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.article-content li > ul,
.article-content li > ol {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.article-content h2,
.article-content h3 {
    font-family: var(--font-heading);
    color: var(--primary);
    margin: 2rem 0 1rem;
    line-height: 1.3;
}

.article-content h2 { font-size: 1.5rem; }
.article-content h3 { font-size: 1.2rem; }

.article-content p > img {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
    border-radius: var(--radius);
    margin: 1.5rem 0;
}

.article-content p.article-img-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-start;
    margin: 1.5rem 0;
}

.article-content p.article-img-row > img {
    margin: 0;
    flex: 1 1 0;
    min-width: 80px;
}

.article-content p.article-img-row > img[width] {
    flex: 0 0 auto;
}

.article-content p:has(> img + img) {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-start;
    margin: 1.5rem 0;
}

.article-content p:has(> img + img) > img {
    margin: 0;
    flex: 1 1 0;
    min-width: 80px;
}

.article-content p:has(> img + img) > img[width] {
    flex: 0 0 auto;
}

.article-content p:has(> img):not(.article-img-row) {
    margin: 0;
}

.article-content a {
    color: var(--green);
    text-decoration: underline;
}

.article-content strong,
.article-content b {
    font-weight: 700;
}

/* Values list */
.values-list {
    display: grid;
    gap: 1.5rem;
}

.value-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.value-item:hover {
    box-shadow: var(--shadow);
    transform: translateX(4px);
}

.value-item__icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green), var(--green-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.value-item__title {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.4rem;
}

.value-item__text {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 0;
}

/* Axis / Detailed section */
.axis-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 3rem 0;
}

.axis-section:nth-child(even) {
    direction: rtl;
}

.axis-section:nth-child(even) > * {
    direction: ltr;
}

.axis-section + .axis-section {
    border-top: 1px solid var(--gray-100);
}

.axis__number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: rgba(29,143,68,0.15);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.axis__title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.axis__text {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.8;
}

.axis__image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.axis__image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

/* Contact info section */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info__item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-info__icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    background: rgba(29,143,68,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--green);
}

.contact-info__label {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.contact-info__value {
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* Loading spinner */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-200);
    border-top-color: var(--green);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Mobile overrides (mirrored in responsive.css — kept here so hosting cache updates apply) */
@media (max-width: 768px) {
    .grid--4 { grid-template-columns: 1fr; }

    .hero {
        padding: 6rem 1.5rem 3.5rem;
    }

    .hero__subtitle {
        display: none !important;
    }

    .hero__title {
        font-size: clamp(1.6rem, 6vw, 2.4rem);
    }

    .hero__lead {
        margin-bottom: 1.25rem;
    }

    .hero__footer {
        margin-top: 1.5rem;
    }

    #articleTitle.page-header__title {
        font-size: clamp(1.2rem, 4vw, 1.55rem);
        line-height: 1.25;
    }

    .article-page #articleBreadcrumb {
        display: none !important;
    }

    .article-page .page-header__breadcrumb .page-header__sep:last-of-type {
        display: none !important;
    }

    .article-back-link {
        display: none !important;
    }

    .partners-carousel {
        overflow: hidden;
        -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
        mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
    }

    .partners-carousel__track {
        display: flex !important;
        flex-wrap: nowrap !important;
        width: max-content !important;
        justify-content: flex-start !important;
        gap: 2rem;
        animation: partnersCarouselScroll 12s linear infinite !important;
        -webkit-animation: partnersCarouselScroll 12s linear infinite !important;
    }
}
