:root {
    --primary-green: #14593C;
    --accent-green: #238A5E;
    --dark-bg: #142F22;
    --cta-red: #D93832;
    --cta-red-hover: #BF2D27;
    --text-dark: #1E293B;
    --text-light: #64748B;
    --bg-light: #F8FAFC;
    --border-color: #E2E8F0;
    --white: #FFFFFF;

    --font-main: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-green {
    color: var(--primary-green);
}

.text-accent {
    color: var(--cta-red);
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    gap: 8px;
}

.btn-primary {
    background-color: var(--cta-red);
    color: var(--white);
    border: 1px solid var(--cta-red);
}

.btn-primary:hover {
    background-color: var(--cta-red-hover);
}

.btn-outline {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    border: 1px solid var(--text-dark);
}

.btn-outline:hover {
    background-color: var(--text-dark);
    color: var(--white);
}

/* Espace Client Header Button */
.btn-client-header {
    background-color: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    font-size: 0.8rem;
    padding: 10px 18px;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}
.btn-client-header:hover {
    background-color: var(--primary-green);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(20, 89, 60, 0.25);
}
.header.scrolled .btn-client-header {
    color: var(--primary-green);
    border-color: var(--primary-green);
}
.header.scrolled .btn-client-header:hover {
    background-color: var(--primary-green);
    color: var(--white);
}

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

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

/* Header */
.header {
    background-color: transparent;
    box-shadow: none;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    transition: all 0.3s ease;
}

.header.scrolled {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

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

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-incinero {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    font-weight: 800;
    color: var(--text-dark);
}

.logo-kbh {
    color: var(--primary-green);
}

.logo-sub {
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-light);
}

.main-nav ul {
    display: flex;
    gap: 25px;
}

.main-nav a {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    transition: color 0.3s;
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-green);
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-green);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.language-selector {
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-light);
}

.language-selector a {
    color: var(--text-dark);
    transition: color 0.3s;
}

.language-selector a.active,
.language-selector a:hover {
    color: var(--primary-green);
}

/* Hero Section */
.hero {
    position: relative;
    background-color: #e5e5e5;
    background-image: url('assets/hero.png');
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.4) 40%, rgba(255, 255, 255, 0) 80%);
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.hero-text-area {
    max-width: 600px;
}

.hero-tagline {
    color: var(--cta-red);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: block;
}

.hero-title {
    font-size: clamp(2rem, 6vw + 0.5rem, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.hero-desc {
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 35px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* Hero Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-tagline,
.hero-title,
.hero-desc,
.hero-buttons {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-tagline {
    animation-delay: 0.1s;
}

.hero-title {
    animation-delay: 0.3s;
}

.hero-desc {
    animation-delay: 0.5s;
}

.hero-buttons {
    animation-delay: 0.7s;
}

.btn-icon {
    color: var(--primary-green);
    margin-right: 5px;
}

.hero-logo-large {
    align-self: flex-end;
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-weight: 800;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 40px;
}

/* Stats Section */
.stats-section {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 0;
    position: relative;
    z-index: 2;
    border-radius: 8px;
    max-width: 1260px;
    margin-left: auto;
    margin-right: auto;
}

.stats-container {
    display: flex;
    justify-content: space-between;
    padding: 40px 20px;
}

.stat-card {
    text-align: center;
    flex: 1;
    position: relative;
    padding: 0 15px;
}

.stat-card:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.1);
}

.stat-icon {
    font-size: 2rem;
    color: var(--cta-red);
    margin-bottom: 15px;
    opacity: 0.9;
}

.stat-card:nth-child(even) .stat-icon {
    color: var(--primary-green);
}

.stat-card:nth-child(3) .stat-icon {
    color: var(--cta-red);
}

.stat-number {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-unit {
    color: var(--cta-red);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-card:nth-child(even) .stat-unit {
    color: var(--primary-green);
}

.stat-card:nth-child(3) .stat-unit {
    color: var(--cta-red);
}

.stat-desc {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

.stats-wrapper {
    padding: 0 0 60px;
    margin-top: -60px;
    position: relative;
    z-index: 2;
    background-color: var(--white);
}

.stats-intro-title {
    font-size: clamp(1.5rem, 3vw + 0.5rem, 2rem);
    font-weight: 800;
    text-align: center;
    color: var(--text-dark);
    padding-top: 80px;
    margin-bottom: 30px;
    line-height: 1.3;
}

.stats-outro-text {
    text-align: center;
    max-width: 720px;
    margin: 40px auto 0;
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Common Section Styles */
.section-tag {
    color: var(--cta-red);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-size: clamp(1.7rem, 4vw + 0.5rem, 2.5rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

/* About Section */
.about-section {
    padding: 100px 0;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-content {
    flex: 1;
}

.about-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.feature-icon {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.feature-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.feature-desc {
    font-size: 0.9rem;
    color: var(--text-light);
}

.about-image-wrapper {
    flex: 1;
    position: relative;
}

.about-image-placeholder {
    background-color: #cbd5e1;
    background-image: url('assets/worker_green_uniform_1779577239246.png');
    background-size: cover;
    background-position: center;
    height: 500px;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
    position: relative;
    overflow: hidden;
}

.about-image-overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.8);
}

.tech-box {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background-color: var(--primary-green);
    color: var(--white);
    padding: 30px;
    border-radius: 4px;
    max-width: 300px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.tech-box-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.tech-box-desc {
    font-size: 0.9rem;
    opacity: 0.9;
}

.about-desc-secondary {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

/* Clients Section */
.clients-section {
    padding: 90px 0;
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.clients-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 40px;
}

.clients-header {
    text-align: left;
    max-width: 720px;
    margin: 0;
    flex: 1;
}

.clients-section-title {
    margin-bottom: 0;
}

@media (min-width: 769px) {
    .clients-section-title {
        white-space: nowrap;
    }
}

.clients-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-top: 15px;
    line-height: 1.6;
}

.clients-slider-controls {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.clients-slider-btn {
    width: 50px;
    height: 50px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    background-color: var(--white);
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.clients-slider-btn:hover:not(:disabled) {
    border-color: var(--cta-red);
    color: var(--cta-red);
    background-color: rgba(217, 56, 50, 0.04);
}

.clients-slider-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.clients-slider-wrapper {
    position: relative;
}

.clients-slider-wrapper::before,
.clients-slider-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 48px;
    z-index: 2;
    pointer-events: none;
}

.clients-slider-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--white), transparent);
}

.clients-slider-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--white), transparent);
}

.clients-slider-viewport {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    cursor: grab;
    padding: 8px 4px 24px;
    overscroll-behavior-x: contain;
}

.clients-slider-viewport.active {
    cursor: grabbing;
}

.clients-slider-viewport::-webkit-scrollbar {
    display: none;
}

.client-card {
    position: relative;
    flex: 0 0 calc((100% - 24px) / 2);
    scroll-snap-align: start;
    scroll-snap-stop: always;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--cta-red);
    border-radius: 8px;
    padding: 0;
    min-height: 200px;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    contain: layout paint;
}

.client-card:nth-child(even) {
    border-left-color: var(--primary-green);
}

.client-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.client-card-num {
    position: absolute;
    top: 14px;
    left: 16px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.9);
    z-index: 2;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.client-card-media {
    flex: 0 0 42%;
    min-height: 200px;
    aspect-ratio: 4 / 3;
    background-color: #cbd5e1;
    position: relative;
    overflow: hidden;
}

.client-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
    background-color: #cbd5e1;
}

.client-card:hover .client-card-media img {
    transform: scale(1.05);
}

.client-card-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent 55%, rgba(255, 255, 255, 0.15));
    pointer-events: none;
}

.client-card-body {
    flex: 1;
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    background-color: var(--bg-light);
}

.client-card:hover .client-card-body {
    background-color: var(--white);
}

.client-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.35;
    margin: 0;
}

.client-card-desc {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.55;
    margin: 0;
}

.clients-slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
}

.clients-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background-color: rgba(15, 23, 42, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
}

.clients-slider-dot.active {
    width: 28px;
    border-radius: 999px;
    background-color: var(--cta-red);
}

.clients-cta {
    text-align: center;
    margin-top: 36px;
    font-size: 1rem;
    color: var(--text-light);
}

.clients-cta a {
    color: var(--cta-red);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.clients-cta a:hover {
    color: var(--cta-red-hover);
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}

.services-intro {
    font-size: 1rem;
    color: var(--text-light);
    margin-top: 12px;
    max-width: 560px;
    line-height: 1.6;
}

.view-all-link {
    color: var(--cta-red);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 30px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transform: translateY(-5px);
}

.service-icon {
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.service-card:nth-child(even) .service-icon {
    color: var(--cta-red);
}

.service-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.service-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-image-placeholder {
    height: 220px;
    background-color: #e2e8f0;
    border-radius: 4px;
    margin-top: auto;
    background-size: cover;
    background-position: center;
}

.service-bg-1 {
    background-image: url('assets/service_truck_1779577252625.png');
}

.service-bg-2 {
    background-image: url('assets/service_incineration_1779577266975.png');
}

.service-bg-3 {
    background-image: url('assets/service_filters_1779577287405.png');
}

.service-bg-4 {
    background-image: url('assets/service_energy_1779577300689.png');
}

.service-bg-5 {
    background-image: url('assets/service_handshake_1779577313058.png');
}

.service-bg-6 {
    background-image: url('assets/service_destruction_1779577327680.png');
}

/* Treatment Methods Section */
.treatment-section {
    padding: 90px 0;
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
}

.treatment-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 50px;
}

.treatment-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-top: 15px;
    line-height: 1.6;
}

.treatment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.treatment-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--cta-red);
    border-radius: 6px;
    padding: 28px 22px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.treatment-card:nth-child(even) {
    border-top-color: var(--primary-green);
}

.treatment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.07);
    background-color: var(--white);
}

.treatment-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: rgba(217, 56, 50, 0.1);
    color: var(--cta-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 18px;
}

.treatment-card:nth-child(even) .treatment-card-icon {
    background-color: rgba(46, 171, 79, 0.12);
    color: var(--primary-green);
}

.treatment-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.35;
}

.treatment-card-desc {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.55;
    margin: 0;
}

.filtration-banner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 36px 40px;
    border-radius: 8px;
    background-image: url('assets/service_filters_1779577287405.png');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.filtration-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(20, 47, 34, 0.92) 0%, rgba(20, 47, 34, 0.78) 100%);
}

.filtration-banner-icon,
.filtration-banner-content,
.filtration-banner-badges {
    position: relative;
    z-index: 1;
}

.filtration-banner-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--white);
    flex-shrink: 0;
}

.filtration-banner-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--cta-red);
    margin-bottom: 8px;
}

.filtration-banner-title {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.3;
}

.filtration-banner-desc {
    font-size: 0.92rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    max-width: 640px;
}

.filtration-banner-badges {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}

.filtration-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.filtration-badge i {
    color: var(--primary-green);
}


/* Process Section */
.process-section {
    padding: 100px 0;
    background-color: var(--white);
}

.process-text {
    margin-bottom: 60px;
    max-width: 720px;
}

.process-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.6;
}

.process-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.process-line {
    position: absolute;
    top: 40px;
    left: 40px;
    right: 40px;
    height: 3px;
    z-index: 0;
    pointer-events: none;
}

.process-line-track,
.process-line-progress {
    position: absolute;
    inset: 0;
    border-radius: 3px;
}

.process-line-track {
    background-color: var(--border-color);
}

.process-line-progress {
    background: linear-gradient(90deg, var(--primary-green) 0%, var(--cta-red) 100%);
    transform: scaleX(0);
    transform-origin: left center;
    will-change: transform;
}

.process-line-progress::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--cta-red);
    transform: translate(50%, -50%) scale(0.4);
    opacity: 0;
}

.process-timeline.line-animated .process-line-progress {
    animation: drawProcessLine 6.5s ease-in-out infinite;
}

.process-timeline.line-animated .process-line-progress::after {
    animation: processLineDot 6.5s ease-in-out infinite;
}

@keyframes drawProcessLine {
    0% {
        transform: scaleX(0);
    }

    40% {
        transform: scaleX(1);
    }

    60% {
        transform: scaleX(1);
    }

    100% {
        transform: scaleX(0);
    }
}

@keyframes processLineDot {
    0%,
    100% {
        opacity: 0;
        transform: translate(50%, -50%) scale(0.4);
        box-shadow: 0 0 0 0 rgba(217, 56, 50, 0);
    }

    8% {
        opacity: 1;
    }

    40% {
        opacity: 1;
        transform: translate(50%, -50%) scale(1);
        box-shadow: 0 0 12px 4px rgba(217, 56, 50, 0.35);
    }

    60% {
        opacity: 1;
        transform: translate(50%, -50%) scale(1);
    }
}

.process-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 8px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.process-step.animate {
    opacity: 1;
    transform: translateY(0);
}

.process-step.animate .process-icon {
    border-color: var(--primary-green);
    color: var(--primary-green);
    box-shadow: 0 0 0 4px rgba(46, 171, 79, 0.12);
}

.process-icon {
    width: 80px;
    height: 80px;
    background-color: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-dark);
    margin: 0 auto 20px;
    transition: all 0.3s;
}

.process-step:hover .process-icon {
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.process-num {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 8px;
    min-height: 1.2em;
    flex-shrink: 0;
}

.process-step-title {
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 10px;
    width: 100%;
    min-height: calc(2 * 1.35 * 0.85rem);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-wrap: balance;
}

.process-step-desc {
    font-size: 0.78rem;
    color: var(--text-light);
    line-height: 1.45;
    width: 100%;
    min-height: calc(4 * 1.45 * 0.78rem);
    margin: 0;
}

@media (prefers-reduced-motion: reduce) {
    .process-line-progress {
        animation: none;
        transform: scaleX(1);
    }

    .process-line-progress::after {
        animation: none;
        opacity: 1;
        transform: translate(50%, -50%) scale(1);
    }

    .process-step {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Partners Section */
.partners-section {
    padding: 80px 0;
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
    overflow: visible;
}

.partners-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.partners-header {
    margin-bottom: 40px;
}

.partners-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 640px;
    margin: 15px auto 0;
    line-height: 1.6;
}

.partners-logos {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}





.partner-clients {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-left: 1px solid var(--border-color);
    padding-left: 30px;
}

.clients-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
}

.clients-text {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-light);
}

/* CTA Section */
.cta-section {
    padding: 40px 0;
}

.cta-banner {
    background-color: var(--dark-bg);
    border-radius: 8px;
    padding: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-image: url('assets/footer_leaf_1779577346979.png');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(20, 47, 34, 0.50);
}

.cta-content,
.cta-buttons {
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
}

.cta-title {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 15px;
    line-height: 1.2;
}

.cta-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    max-width: 500px;
}

/* =========================================
   FOOTER STYLES
========================================= */
.footer {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 0 0 28px;
    position: relative;
    overflow: hidden;
}

.footer-accent-line {
    height: 4px;
    background: linear-gradient(90deg, var(--accent-green) 0%, var(--primary-green) 50%, var(--accent-green) 100%);
}

.footer-cta-bar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.03);
}

.footer-cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 28px 20px;
}

.footer-cta-tag {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--accent-green);
    margin-bottom: 6px;
}

.footer-cta-text p {
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

.footer-cta-btn {
    flex-shrink: 0;
    white-space: nowrap;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.15fr 0.75fr 1.6fr;
    gap: 48px;
    padding: 56px 0 44px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
}

.footer-logo-text {
    color: var(--white);
}

.footer-logo-sub {
    color: #a0b6ab;
}

.footer-desc {
    color: #a0b6ab;
    line-height: 1.65;
    margin: 0 0 24px;
    font-size: 0.92rem;
    max-width: 360px;
}

.footer-col-title {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 22px;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 2px;
    background: var(--accent-green);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #a0b6ab;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a::before {
    content: '';
    width: 0;
    height: 1px;
    background: var(--accent-green);
    transition: width 0.3s ease;
    flex-shrink: 0;
}

.footer-links a:hover {
    color: var(--accent-green);
    transform: translateX(4px);
}

.footer-links a:hover::before {
    width: 10px;
}

.footer-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 24px;
}

.footer-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-info-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent-green);
    font-size: 0.9rem;
}

.footer-info-content strong {
    display: block;
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.footer-info-content p {
    color: #a0b6ab;
    font-size: 0.85rem;
    line-height: 1.55;
    margin: 0;
}

.footer-info-content a {
    color: #a0b6ab;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-info-content a:hover {
    color: var(--accent-green);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    color: #a0b6ab;
    font-size: 0.85rem;
}

.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-legal-links a {
    color: #a0b6ab;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: var(--accent-green);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--accent-green);
    color: var(--white);
    transform: translateY(-3px);
}

/* Legacy aliases */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    color: #a0b6ab;
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-contact-list i {
    color: var(--accent-green);
    margin-top: 4px;
}

.footer-contact-list strong {
    color: var(--white);
}

/* =========================================
   ABOUT PAGE STYLES
   ========================================= */

/* About Hero */
.about-hero {
    position: relative;
    background-image: url('assets/about_history_sticky.png');
    background-size: cover;
    background-position: center;
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 60px;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.4) 40%, rgba(255, 255, 255, 0) 80%);
}

.about-hero-container {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    padding-left: 0;
    padding-right: 5%;
    width: 100%;
}

.about-hero-content {
    max-width: 1600px;
}

.about-tagline {
    color: var(--primary-green);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.about-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.1;
}

.about-desc {
    color: #1e293b;
    font-size: 1.05rem;
    line-height: 1.6;
}

.about-hero-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon-large {
    font-size: 2.5rem;
    color: var(--cta-red);
}

.logo-text-large {
    display: flex;
    flex-direction: column;
}

.logo-incinero-large {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.logo-kbh-large {
    color: var(--primary-green);
}

/* About Intro (Qui sommes-nous) */
.about-intro-section {
    padding: 100px 0;
    background: var(--white);
}

.about-intro-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-intro-desc {
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-top: 20px;
}

.about-intro-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(20, 47, 34, 0.15);
    object-fit: cover;
}

.about-section-header {
    margin-bottom: 50px;
}

.about-section-header.text-center {
    text-align: center;
}

/* CEO Message */
.ceo-section {
    padding: 90px 0;
    background: linear-gradient(135deg, #f0f7f4 0%, #e8f2ed 50%, #f8faf9 100%);
}

.ceo-card {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 50px;
    align-items: start;
    background: var(--white);
    border: 1px solid rgba(35, 138, 94, 0.15);
    border-left: 5px solid var(--accent-green);
    border-radius: 16px;
    padding: 50px;
    box-shadow: 0 25px 60px rgba(20, 47, 34, 0.08);
}

.ceo-media {
    position: relative;
}

.ceo-photo {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.ceo-quote-icon {
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 56px;
    height: 56px;
    background: var(--accent-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 8px 20px rgba(35, 138, 94, 0.35);
}

.ceo-title {
    margin-bottom: 25px;
}

.ceo-text p {
    color: #475569;
    font-size: 1rem;
    line-height: 1.85;
    margin-bottom: 16px;
}

.ceo-text p:last-child {
    margin-bottom: 0;
}

.ceo-signature {
    margin-top: 20px;
    text-align: center;
}

.ceo-name {
    display: block;
    font-size: 1.15rem;
    color: var(--dark-bg);
    margin-bottom: 4px;
}

.ceo-role {
    display: block;
    color: var(--accent-green);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

/* Engagements */
.about-engagements-section {
    padding: 100px 0;
    background: var(--white);
}

.about-engagements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.about-engagement-card {
    background: var(--bg-light);
    border: 1px solid rgba(20, 89, 60, 0.08);
    border-radius: 12px;
    padding: 32px 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-engagement-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(20, 47, 34, 0.1);
}

.about-engagement-icon {
    width: 52px;
    height: 52px;
    background: rgba(35, 138, 94, 0.12);
    color: var(--accent-green);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 18px;
}

.about-engagement-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--dark-bg);
    margin-bottom: 12px;
}

.about-engagement-desc {
    font-size: 0.92rem;
    color: #64748B;
    line-height: 1.65;
}

/* About Stats */
.about-stats-wrapper {
    padding: 80px 0 60px;
    background: var(--bg-light);
}

.about-stats-bar {
    margin-top: 0;
}

.about-stats-bar.stats-section {
    margin-top: 40px;
}

/* Notre Complexe */
.about-complex-section {
    padding: 100px 0;
    background: var(--white);
}

.about-complex-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-complex-desc {
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-top: 20px;
}

.about-complex-features {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.about-complex-feature {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    background: var(--bg-light);
    border-radius: 10px;
    border-left: 4px solid var(--accent-green);
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 600;
}

.about-complex-feature i {
    color: var(--accent-green);
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

/* Compact variants */
.history-section-compact {
    padding: 80px 0;
}

.history-timeline-compact .timeline-item p {
    font-size: 0.85rem;
    line-height: 1.5;
}

.values-section-compact {
    padding: 80px 0;
}

.value-cards-compact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.cert-partners-compact .cert-half,
.cert-partners-compact .partners-half {
    padding: 60px 30px;
}

.cert-partners-compact .section-desc {
    display: none;
}

/* Mission Section */
.mission-section {
    padding: 100px 0;
    background-color: var(--white);
}

.mission-container {
    display: flex;
    gap: 60px;
    align-items: center;
}

.mission-left {
    flex: 1;
}

.mission-pillars {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.pillar {
    flex: 1;
}

.pillar i {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.pillar h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.pillar p {
    font-size: 0.9rem;
    color: #64748B;
}

.mission-right {
    flex: 1;
    position: relative;
}

.worker-image-wrapper {
    position: relative;
    border-radius: 0 80px 0 80px;
    overflow: hidden;
}

.worker-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.quote-box {
    position: absolute;
    bottom: 20px;
    left: -30px;
    width: 90%;
    max-width: 400px;
    border-radius: 8px;
    background: rgba(20, 47, 34, 0.95);
    padding: 25px;
    color: var(--white);
    display: flex;
    gap: 20px;
    align-items: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.quote-icon {
    font-size: 2rem;
    color: var(--primary-green);
}

/* History Section */
.history-section {
    padding: 100px 0;
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
}

.history-container {
    display: flex;
    gap: 60px;
}

.history-left {
    flex: 0 0 35%;
}

.history-right {
    flex: 1;
    position: relative;
}

.history-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding-top: 40px;
}

.timeline-line {
    position: absolute;
    top: 60px;
    left: 12%;
    width: 76%;
    height: 1px;
    background-color: var(--primary-green);
    z-index: 0;
}

.timeline-item {
    position: relative;
    z-index: 1;
    text-align: center;
    flex: 1;
    padding: 0 10px;
}

.timeline-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--white);
    border: 1px solid var(--primary-green);
    color: var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.timeline-title {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.timeline-item p {
    font-size: 0.85rem;
    color: #64748B;
}

/* Values Section */
.values-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.values-container {
    display: flex;
    gap: 50px;
}

.values-left {
    flex: 0 0 25%;
}

.values-line {
    width: 40px;
    height: 3px;
    background-color: var(--primary-green);
    margin-top: 20px;
}

.values-right {
    flex: 1;
}

.value-cards {
    display: flex;
    gap: 20px;
}

.value-card {
    flex: 1;
    background-color: var(--white);
    padding: 40px 20px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-green) 0%, #0F1A15 100%);
    z-index: -1;
    opacity: 0;
    transition: all 0.4s ease;
}

.value-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(20, 47, 34, 0.2);
    color: var(--white);
}

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

.value-icon {
    font-size: 2.2rem;
    color: var(--primary-green);
    margin-bottom: 20px;
    transition: all 0.4s ease;
    display: inline-block;
}

.value-card:hover .value-icon {
    color: var(--white);
    transform: scale(1.2) rotate(10deg);
}

.value-card h4 {
    font-size: 0.9rem;
    font-weight: 800;
    margin-bottom: 15px;
    transition: color 0.4s ease;
}

.value-card p {
    font-size: 0.8rem;
    color: #64748B;
    line-height: 1.6;
    transition: color 0.4s ease;
}

.value-card:hover h4,
.value-card:hover p {
    color: var(--white);
}

/* Certifications & Partners Section */
.cert-partners-section {
    position: relative;
    background-color: #0F1A15;
    background-image: url('assets/cert_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 0;
}

.cert-partners-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 26, 21, 0.50);
    /* Dark overlay */
    z-index: 0;
}

.cert-partners-container {
    display: flex;
    position: relative;
    z-index: 1;
}

.cert-half {
    flex: 1;
    padding: 80px 40px 80px 0;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.partners-half {
    flex: 1;
    padding: 80px 0 80px 40px;
}

.cert-logos {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.cert-logo {
    text-align: center;
    color: var(--white);
}

.cert-globe {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 10px;
}

.cert-text {
    font-weight: 800;
    font-size: 1.1rem;
    line-height: 1;
}

.cert-text span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.partners-grid-about {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}



.text-white {
    color: var(--white);
}

.text-light {
    color: rgba(255, 255, 255, 0.7);
}

/* =========================================
   SERVICES PAGE STYLES
   ========================================= */

.services-hero {
    position: relative;
    padding: 180px 0 100px;
    background-image: url('assets/news_3.png');
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.services-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.4) 40%, rgba(255, 255, 255, 0) 80%);
    z-index: 1;
}

.services-hero-text-area {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.services-hero .hero-title {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    margin-bottom: 16px;
}

.services-hero .hero-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-green);
    line-height: 1.5;
    margin-bottom: 20px;
    max-width: 640px;
}

.services-hero .hero-desc {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #334155;
    max-width: 720px;
}

.why-choose-us-header .section-title {
    margin-top: 10px;
    margin-bottom: 0;
}

/* Detailed Services Grid */
.detailed-services-section {
    padding: 100px 0;
    background-color: var(--white);
    color: var(--text-dark);
}

.detailed-services-header {
    text-align: center;
    margin-bottom: 60px;
}

.detailed-services-header .section-tagline {
    color: var(--green);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 15px;
}

.detailed-services-header .section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.detailed-services-header .section-desc {
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.detailed-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.detailed-service-card {
    display: flex;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.detailed-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(46, 171, 79, 0.15);
}

.dsc-content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.dsc-icon {
    font-size: 2rem;
    color: var(--green);
    margin-bottom: 20px;
}

.dsc-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.3;
}

.dsc-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 30px;
    flex-grow: 1;
}

.dsc-link {
    color: var(--green);
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.dsc-link:hover {
    gap: 12px;
}

.dsc-image {
    width: 40%;
    position: relative;
    min-height: 300px;
}

.dsc-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 100px 0;
    background-color: #F8FAF9;
    color: var(--text-dark);
}

.why-choose-us-header {
    text-align: center;
    margin-bottom: 60px;
}

.why-choose-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.wcu-item {
    text-align: center;
    padding: 30px 15px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.wcu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 26, 21, 0.95), rgba(46, 171, 79, 0.9));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.wcu-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(46, 171, 79, 0.2);
}

.wcu-item:hover::before {
    opacity: 1;
}

.wcu-icon {
    font-size: 2.5rem;
    color: var(--green);
    margin-bottom: 20px;
    transition: transform 0.4s ease, color 0.4s ease;
    display: inline-block;
}

.wcu-item:hover .wcu-icon {
    transform: scale(1.2) rotate(5deg);
    color: var(--white);
}

.wcu-title {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 15px;
    transition: color 0.4s ease;
}

.wcu-desc {
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.5;
    transition: color 0.4s ease;
}

.wcu-item:hover .wcu-title,
.wcu-item:hover .wcu-desc {
    color: var(--white);
}

/* =========================================
   TECHNOLOGY PAGE SPECIFIC STYLES (PREMIUM CORPORATE)
========================================= */

/* Clean Split Hero Section */
.tech-hero-clean {
    display: flex;
    min-height: 85vh;
    margin-top: 80px;
    background-color: var(--white);
}

.tech-hero-clean-text {
    flex: 1.2;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 70px 0;
    background: #f8f9fa;
}

.tech-hero-text-container {
    width: 100%;
    padding-left: 48px;
    padding-right: 20px;
}

.tech-hero-inner {
    max-width: 720px;
    margin: 0;
    text-align: left;
}

.tech-hero-clean-image {
    flex: 1;
    background-size: cover;
    background-position: center;
    position: relative;
}

.tech-hero-clean-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(248, 249, 250, 1) 0%, rgba(248, 249, 250, 0) 15%);
}

.tech-tagline-clean {
    display: inline-block;
    padding: 6px 15px;
    background: rgba(46, 171, 79, 0.1);
    border-left: 3px solid var(--green);
    color: var(--dark-green);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-title-clean {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    color: #1a1a1a;
    margin-bottom: 18px;
}

.hero-subtitle-clean {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-green);
    line-height: 1.5;
    margin-bottom: 22px;
    max-width: 620px;
}

.hero-desc-clean {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 680px;
}

.a4000-subtitle {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark-bg);
    margin-top: 12px;
    margin-bottom: 16px;
}

.tech-features-label {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-green);
    margin-bottom: 24px;
}

.pcs-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    color: #334155;
    margin-top: 12px;
    margin-bottom: 8px;
    line-height: 1.5;
}

.pcs-efficiency-block {
    margin-top: 70px;
    padding-top: 50px;
    border-top: 1px solid rgba(20, 89, 60, 0.12);
}

.pcs-efficiency-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark-bg);
    text-align: center;
    margin-bottom: 40px;
}

.pcs-efficiency-grid {
    grid-template-columns: repeat(5, 1fr);
}

/* Tech Advantages */
.tech-advantages-section {
    padding: 100px 0;
    background: var(--white);
}

.tech-advantages-header {
    margin-bottom: 50px;
}

.tech-advantages-intro {
    max-width: 680px;
    margin: 16px auto 0;
    color: #64748B;
    font-size: 1.05rem;
    line-height: 1.7;
}

.tech-advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tech-advantage-card {
    background: var(--bg-light);
    border: 1px solid rgba(20, 89, 60, 0.08);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-advantage-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(20, 47, 34, 0.1);
}

.tech-advantage-stat {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--accent-green);
    line-height: 1;
    margin-bottom: 12px;
}

.tech-advantage-stat span {
    font-size: 1.4rem;
}

.tech-advantage-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: rgba(35, 138, 94, 0.12);
    color: var(--accent-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.tech-advantage-card h4 {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--dark-bg);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tech-advantage-card p {
    font-size: 0.92rem;
    color: #64748B;
    line-height: 1.6;
    margin: 0;
}

.tech-crosslinks {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(20, 89, 60, 0.1);
}

.tech-crosslink {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    background: var(--white);
    border: 1px solid rgba(35, 138, 94, 0.25);
    border-radius: 8px;
    color: var(--primary-green);
    font-weight: 700;
    font-size: 0.9rem;
    transition: background 0.3s ease, color 0.3s ease;
}

.tech-crosslink:hover {
    background: var(--accent-green);
    color: var(--white);
    border-color: var(--accent-green);
}

/* A4000 Section */
.a4000-section {
    padding: 100px 0;
    background-color: var(--white);
}

.a4000-header {
    max-width: 1600px;
    margin: 0 0 60px 0;
}

.a4000-desc {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-top: 20px;
}

.a4000-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    font-size: 2rem;
    color: var(--green);
    margin-bottom: 20px;
    background: rgba(46, 171, 79, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.feature-card p {
    color: #333;
    font-weight: 600;
    line-height: 1.6;
    margin: 0;
}

/* PCS Section */
.pcs-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.pcs-layout {
    display: flex;
    align-items: center;
    gap: 60px;
}

.pcs-image {
    flex: 1;
}

.pcs-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.pcs-content {
    flex: 1;
}

.pcs-text-block {
    margin-top: 30px;
    padding-left: 20px;
    border-left: 4px solid var(--green);
}

.pcs-text-block p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

/* Efficiency Section */
.efficiency-section {
    padding: 100px 0;
    background-color: var(--white);
}

.efficiency-header {
    margin-bottom: 60px;
}

.efficiency-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.efficiency-card {
    background: #ffffff;
    padding: 40px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    border-top: 4px solid var(--green);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.efficiency-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--primary-green) 100%);
    z-index: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.efficiency-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(46, 171, 79, 0.2);
    border-top-color: transparent;
}

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

.eff-icon-wrap {
    font-size: 2.5rem;
    color: var(--dark-green);
    margin-bottom: 20px;
    transition: all 0.4s ease;
    display: inline-block;
    position: relative;
    z-index: 1;
}

.efficiency-card:hover .eff-icon-wrap {
    color: var(--white);
    transform: scale(1.2) rotate(10deg);
}

.efficiency-card p {
    color: #444;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    transition: color 0.4s ease;
    position: relative;
    z-index: 1;
}

.efficiency-card:hover p {
    color: var(--white);
}

/* =========================================
   HSE PAGE SPECIFIC STYLES
========================================= */

.hse-hero {
    background-image: linear-gradient(rgba(20, 47, 34, 0.82), rgba(20, 47, 34, 0.92)), url('assets/hse_hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 160px 0 110px;
    text-align: center;
    color: var(--white);
    margin-top: 80px;
}

.hse-hero-container {
    max-width: 860px;
}

.hse-hero-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 18px;
}

.hse-hero-title {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    margin-bottom: 18px;
    line-height: 1.15;
}

.hse-hero-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    max-width: 640px;
    margin: 0 auto 16px;
    line-height: 1.5;
}

.hse-hero-intro {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.7;
}

.hse-section-header {
    margin-bottom: 40px;
}

.hse-section-header.text-center .hse-environment-intro {
    margin-left: auto;
    margin-right: auto;
}

.hse-policy-section {
    padding: 100px 0;
    background-color: var(--white);
}

.hse-policy-content {
    max-width: 960px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.85;
    color: #475569;
    position: relative;
    padding: 44px 44px 44px 120px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 5px solid var(--accent-green);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: left;
}

.hse-policy-icon {
    position: absolute;
    left: 36px;
    top: 44px;
    font-size: 2.5rem;
    color: var(--accent-green);
}

.hse-policy-content p {
    margin-bottom: 16px;
}

.hse-policy-content p:last-child {
    margin-bottom: 0;
}

.hse-compliance-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hse-compliance-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 1.02rem;
    line-height: 1.7;
    color: #475569;
}

.hse-compliance-list li i {
    color: var(--accent-green);
    font-size: 1.1rem;
    margin-top: 4px;
    flex-shrink: 0;
}

.hse-environment-intro {
    color: #64748B;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 12px;
    max-width: 600px;
}

.hse-pillars-grid-four {
    grid-template-columns: repeat(4, 1fr);
}

.hse-engagements-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.hse-engagements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.hse-engagement-card {
    background: var(--white);
    border: 1px solid rgba(20, 89, 60, 0.08);
    border-radius: 12px;
    padding: 32px 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hse-engagement-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(20, 47, 34, 0.1);
}

.hse-engagement-icon {
    width: 52px;
    height: 52px;
    background: rgba(35, 138, 94, 0.12);
    color: var(--accent-green);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 18px;
}

.hse-engagement-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--dark-bg);
    margin-bottom: 12px;
}

.hse-engagement-desc {
    font-size: 0.92rem;
    color: #64748B;
    line-height: 1.65;
    margin: 0;
}

.hse-cta-eyebrow {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 12px;
}

.hse-compliance-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.hse-compliance-layout {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hse-compliance-text {
    flex: 1;
}

.hse-compliance-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
}

.hse-compliance-image {
    flex: 1;
}

.hse-compliance-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hse-environment-section {
    padding: 100px 0;
    background: var(--white);
}

.hse-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.hse-pillar-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.hse-pillar-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(46, 171, 79, 0.1);
    border-bottom: 4px solid var(--accent-green);
}

.hse-pillar-icon {
    font-size: 3rem;
    color: var(--accent-green);
    margin-bottom: 20px;
}

.hse-pillar-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.hse-pillar-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* =========================================
   REFERENCES PAGE SPECIFIC STYLES
========================================= */

.references-hero {
    background-image: linear-gradient(rgba(20, 47, 34, 0.78), rgba(20, 47, 34, 0.92)), url('assets/references_hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 160px 0 110px;
    text-align: center;
    color: var(--white);
    margin-top: 80px;
}

.ref-hero-container {
    max-width: 860px;
}

.ref-hero-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 18px;
}

.ref-hero-title {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    margin-bottom: 18px;
    line-height: 1.15;
}

.ref-hero-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    max-width: 640px;
    margin: 0 auto 16px;
    line-height: 1.5;
}

.ref-hero-intro {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 760px;
    margin: 0 auto;
    line-height: 1.7;
}

.ref-section-header {
    margin-bottom: 50px;
}

.ref-logos-section {
    padding: 100px 0;
    background: var(--bg-light);
    text-align: center;
}

.ref-logos-subtitle {
    color: #64748B;
    font-size: 1.1rem;
    max-width: 720px;
    margin: 16px auto 0;
    line-height: 1.6;
}

.ref-logos-gallery-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
}

.ref-logos-gallery-grid .trust-logo-card {
    background: #f0f4f2;
    border: 1px solid rgba(20, 89, 60, 0.08);
    border-radius: 10px;
    height: 100px;
    padding: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.ref-logos-gallery-grid .trust-logo-card:hover {
    transform: translateY(-4px);
    background: var(--white);
    box-shadow: 0 12px 30px rgba(20, 47, 34, 0.08);
}

.ref-logos-gallery-grid .trust-logo-card img {
    max-height: 56px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(20%);
    opacity: 0.9;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.ref-logos-gallery-grid .trust-logo-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.ref-cta-eyebrow {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 12px;
}

.ref-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ref-testimonial-card {
    flex: unset;
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ref-testimonial-card blockquote {
    flex: 1;
}

.ref-testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(35, 138, 94, 0.12);
    color: var(--accent-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.ref-logos-grid {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    grid-auto-flow: column;
    gap: 20px;
    margin-top: 40px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-green) transparent;
}

.ref-logos-grid::-webkit-scrollbar {
    height: 8px;
}

.ref-logos-grid::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.ref-logos-grid::-webkit-scrollbar-thumb {
    background: var(--accent-green);
    border-radius: 10px;
}

.ref-logo-item {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 250px;
    transition: transform 0.3s ease;
    scroll-snap-align: start;
}

.ref-logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(46, 171, 79, 0.1);
}

.ref-logo-item i {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-right: 15px;
}

.ref-logo-item span {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.ref-projects-section {
    padding: 100px 0;
    background: var(--white);
}

.ref-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.ref-project-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
}

.ref-project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.ref-project-img {
    height: 240px;
    background-size: cover;
    background-position: center;
}

.ref-project-content {
    padding: 30px;
}

.ref-project-category {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-green);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.ref-project-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.ref-project-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.ref-testimonial-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.ref-testimonials-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 20px 0 40px;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-green) transparent;
}

.ref-testimonials-slider::-webkit-scrollbar {
    height: 8px;
}

.ref-testimonials-slider::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.ref-testimonials-slider::-webkit-scrollbar-thumb {
    background: var(--accent-green);
    border-radius: 10px;
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 20px);
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    scroll-snap-align: start;
    border: 1px solid var(--border-color);
}

.testimonial-card .stars {
    color: #f1c40f;
    margin-bottom: 20px;
}

.testimonial-card blockquote {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author-flex {
    display: flex;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.testimonial-author-flex img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.testimonial-author-flex .name {
    display: block;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.05rem;
}

.testimonial-author-flex .role {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
}

/* =========================================
   NEWS PAGE SPECIFIC STYLES
========================================= */

.news-hero {
    background-image: linear-gradient(rgba(20, 47, 34, 0.78), rgba(20, 47, 34, 0.92)), url('assets/news_hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 160px 0 110px;
    text-align: center;
    color: var(--white);
    margin-top: 80px;
}

.news-hero-container {
    max-width: 820px;
}

.news-hero-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 18px;
}

.news-hero-title {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    margin-bottom: 18px;
    line-height: 1.15;
}

.news-hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 760px;
    margin: 0 auto;
    line-height: 1.7;
}

.news-section-header {
    margin-bottom: 50px;
}

.news-category-partnership {
    background: rgba(52, 152, 219, 0.12);
    color: #2980b9;
}

.news-category-event {
    background: rgba(155, 89, 182, 0.12);
    color: #8e44ad;
}

.newsletter-eyebrow {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
}

.featured-news-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.featured-news-card {
    display: flex;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.featured-news-img {
    flex: 0 0 55%;
    position: relative;
    min-height: 400px;
    background-size: cover;
    background-position: center;
}

.featured-news-content {
    flex: 0 0 45%;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.news-category {
    background: rgba(46, 171, 79, 0.1);
    color: var(--accent-green);
    padding: 5px 12px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
}

.news-date {
    color: var(--text-light);
}

.featured-news-content h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.featured-news-content p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.recent-news-section {
    padding: 100px 0;
    background: var(--white);
}

.recent-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.news-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.news-card-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.news-card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-card h4 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    color: var(--accent-green);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
    margin-top: auto;
}

.read-more-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.read-more-link:hover {
    color: var(--primary-green);
}

.read-more-link:hover i {
    transform: translateX(5px);
}

.newsletter-section {
    background-image: linear-gradient(rgba(20, 47, 34, 0.85), rgba(46, 171, 79, 0.85)), url('assets/newsletter_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 0;
    color: var(--white);
    text-align: center;
}

.newsletter-container {
    max-width: 700px;
    margin: 0 auto;
}

.newsletter-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.newsletter-desc {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    background: var(--white);
    padding: 10px;
    border-radius: 50px;
}

.newsletter-form input {
    flex: 1;
    border: none;
    padding: 15px 25px;
    font-size: 1rem;
    border-radius: 40px;
    outline: none;
    color: var(--text-dark);
}

.newsletter-form .btn {
    border-radius: 40px;
    padding: 15px 30px;
    white-space: nowrap;
}

/* =========================================
   ARTICLE PAGE SPECIFIC STYLES
========================================= */

.article-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('assets/news_1.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 200px 0 100px;
    text-align: center;
    color: var(--white);
    margin-top: 80px;
}

.article-hero-category {
    background: var(--primary-green);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 25px;
}

.article-hero-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.article-hero-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    font-size: 1.05rem;
    opacity: 0.9;
}

.article-hero-meta i {
    color: var(--accent-green);
    margin-right: 8px;
}

.article-section {
    padding: 80px 0 100px;
    background: var(--bg-light);
}

.article-layout {
    display: flex;
    gap: 50px;
}

.article-content {
    flex: 0 0 68%;
    background: var(--white);
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}

.article-sidebar {
    flex: 0 0 calc(32% - 50px);
}

.article-body p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 25px;
}

.article-body h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin: 40px 0 20px;
}

.article-body h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin: 30px 0 15px;
}

.article-body p.dropcap::first-letter,
.quill-content p:first-of-type::first-letter {
    float: left;
    font-size: 3.5rem;
    line-height: 0.8;
    padding-top: 4px;
    padding-right: 8px;
    padding-left: 3px;
    font-weight: 800;
    color: var(--primary-green);
}

.article-quote {
    background: rgba(46, 171, 79, 0.05);
    border-left: 5px solid var(--accent-green);
    padding: 30px 40px;
    margin: 40px 0;
    font-size: 1.4rem;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.6;
    border-radius: 0 15px 15px 0;
}

.article-image-full {
    width: 100%;
    border-radius: 15px;
    margin: 40px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.article-share {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.article-share span {
    font-weight: 700;
    color: var(--text-dark);
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-light);
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.share-btn:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-3px);
}

.sidebar-widget {
    background: var(--white);
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    margin-bottom: 40px;
}

.sidebar-title {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
    position: relative;
}

.sidebar-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-green);
}

.author-widget {
    text-align: center;
}

.author-widget img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.author-widget h4 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.author-widget span {
    color: var(--accent-green);
    font-size: 0.9rem;
    font-weight: 600;
    display: block;
    margin-bottom: 15px;
}

.author-widget p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.recent-post-widget {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.recent-post-widget:last-child {
    margin-bottom: 0;
}

.recent-post-widget:hover {
    transform: translateX(5px);
}

.recent-post-img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.recent-post-info h5 {
    font-size: 1.05rem;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.recent-post-widget:hover h5 {
    color: var(--accent-green);
}

.recent-post-info span {
    font-size: 0.8rem;
    color: var(--text-light);
}

.tags-widget {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag:hover {
    background: var(--primary-green);
    color: var(--white);
}

/* =========================================
   CONTACT PAGE SPECIFIC STYLES
========================================= */

.contact-hero {
    background-image: linear-gradient(rgba(20, 47, 34, 0.78), rgba(20, 47, 34, 0.92)), url('assets/contact_hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 160px 0 110px;
    text-align: center;
    color: var(--white);
    margin-top: 80px;
}

.contact-hero-container {
    max-width: 820px;
}

.contact-hero-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 18px;
}

.contact-hero-title {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    margin-bottom: 18px;
    line-height: 1.15;
}

.contact-hero-subtitle {
    font-size: 1.15rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    max-width: 680px;
    margin: 0 auto 16px;
    line-height: 1.5;
}

.contact-hero-intro {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.82);
    max-width: 760px;
    margin: 0 auto;
    line-height: 1.7;
}

.contact-info-header {
    margin-bottom: 32px;
}

.contact-address-block {
    margin-top: 14px;
}

.contact-address-block + .contact-address-block {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(20, 89, 60, 0.1);
}

.contact-address-block strong {
    display: block;
    color: var(--dark-bg);
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.contact-address-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-green);
}

.contact-detail-list {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-detail-list li {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    align-items: baseline;
    font-size: 0.92rem;
    line-height: 1.5;
}

.contact-detail-list li span {
    min-width: 100px;
    font-weight: 700;
    color: var(--dark-bg);
}

.contact-form-title {
    font-size: 1.8rem;
    margin: 10px 0 8px;
    color: var(--text-dark);
}

.contact-form-subtitle {
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-submit-btn {
    width: 100%;
    justify-content: center;
    font-size: 1.1rem;
    padding: 18px;
}

.contact-submit-btn i {
    margin-left: 10px;
}

.contact-why-section {
    padding: 90px 0;
    background: var(--white);
}

.contact-why-header {
    margin-bottom: 50px;
}

.contact-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.contact-why-card {
    background: var(--bg-light);
    border: 1px solid rgba(20, 89, 60, 0.08);
    border-radius: 12px;
    padding: 28px 22px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(20, 47, 34, 0.08);
}

.contact-why-icon {
    width: 48px;
    height: 48px;
    background: rgba(35, 138, 94, 0.12);
    color: var(--accent-green);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.contact-why-card h4 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--dark-bg);
    margin-bottom: 10px;
    line-height: 1.35;
}

.contact-why-card p {
    font-size: 0.9rem;
    color: #64748B;
    line-height: 1.6;
    margin: 0;
}

.contact-cta-section {
    padding: 70px 0;
    background: var(--dark-bg);
}

.contact-cta-inner {
    text-align: center;
    max-width: 780px;
    margin: 0 auto;
}

.contact-cta-title {
    color: var(--white);
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 28px;
}

.contact-maps-section {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-map-panel {
    flex: 1 1 50%;
    min-width: 300px;
    height: 480px;
    position: relative;
}

.contact-map-panel iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-map-label {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--white);
    padding: 12px 22px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    font-weight: 700;
    z-index: 10;
    color: var(--dark-bg);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.contact-map-label i {
    color: var(--accent-green);
}

.contact-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.contact-layout {
    display: flex;
    gap: 50px;
}

.contact-info-col {
    flex: 0 0 35%;
}

.contact-form-col {
    flex: 0 0 calc(65% - 50px);
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
}

.contact-info-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.contact-info-card:hover {
    transform: translateX(5px);
    border-color: var(--accent-green);
}

.contact-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(46, 171, 79, 0.1);
    color: var(--accent-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-info-content h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.contact-info-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-info-content a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    color: var(--text-dark);
    background: var(--bg-light);
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-green);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(46, 171, 79, 0.1);
}

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

/* File Upload Component in Contact Form */
.file-upload-box {
    position: relative;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 22px 16px;
    text-align: center;
    background: #f8fafc;
    transition: all 0.25s ease;
    cursor: pointer;
    user-select: none;
}

.file-upload-box:hover,
.file-upload-box.dragover {
    border-color: var(--accent-green, #2EAB4F);
    background: rgba(46, 171, 79, 0.05);
    transform: translateY(-1px);
}

.file-upload-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.file-upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    pointer-events: none;
}

.file-upload-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(46, 171, 79, 0.12);
    color: var(--accent-green, #2EAB4F);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 4px;
    transition: all 0.25s ease;
}

.file-upload-box:hover .file-upload-icon {
    transform: scale(1.08);
    background: var(--accent-green, #2EAB4F);
    color: #ffffff;
}

.file-upload-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark, #1f2937);
}

.file-upload-title span {
    color: var(--accent-green, #2EAB4F);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.file-upload-desc {
    font-size: 0.8rem;
    color: #64748b;
}

.file-upload-preview {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-top: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}

.file-upload-preview.show {
    display: flex;
}

.file-preview-details {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow: hidden;
    flex: 1;
}

.file-preview-icon {
    font-size: 1.5rem;
    color: var(--accent-green, #2EAB4F);
    flex-shrink: 0;
}

.file-preview-meta {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.file-preview-filename {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-preview-filesize {
    font-size: 0.75rem;
    color: #64748b;
}

.file-preview-btn-delete {
    background: #fee2e2;
    color: #dc2626;
    border: none;
    border-radius: 6px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-left: 8px;
}

.file-preview-btn-delete:hover {
    background: #dc2626;
    color: #ffffff;
    transform: scale(1.05);
}


.map-section {
    width: 100%;
    height: 500px;
    background-image: url('assets/office_map.png');
    background-size: cover;
    background-position: center;
    position: relative;
}

.map-overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 47, 34, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.map-card i {
    font-size: 3rem;
    color: var(--accent-green);
    margin-bottom: 20px;
}

.map-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.map-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

/* =========================================
   GENERIC TEXT PAGE STYLES (LEGAL/PRIVACY)
========================================= */
.text-page-hero {
    background-color: var(--dark-bg);
    padding: 140px 0 60px;
    text-align: center;
    color: var(--white);
    margin-top: 80px;
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    background-color: rgba(20, 47, 34, 0.85);
    /* Deep dark green overlay */
}

.legal-hero {
    background-image: url('assets/legal_hero.png');
}

.privacy-hero {
    background-image: url('assets/privacy_hero.png');
}

.sitemap-hero {
    background-image: url('assets/sitemap_hero.png');
}

.text-page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.text-page-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.text-page-content {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    max-width: 900px;
    margin: 0 auto;
}

.text-page-content h2 {
    color: var(--dark-bg);
    font-size: 1.5rem;
    margin: 30px 0 15px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
}

.text-page-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.text-page-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
    color: var(--text-light);
}

.text-page-content li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.sitemap-list {
    list-style: none;
    padding: 0;
}

.sitemap-list>li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 600;
}

.sitemap-list>li>a {
    color: var(--primary-green);
    text-decoration: none;
}

.sitemap-sublist {
    list-style: none;
    padding-left: 20px;
    margin-top: 10px;
}

.sitemap-sublist li {
    font-size: 0.95rem;
    font-weight: 400;
    margin-bottom: 8px;
}

.sitemap-sublist a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.sitemap-sublist a:hover {
    color: var(--accent-green);
}


/* Trust Logos Gallery */
.trust-logos-gallery {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - (4 * 20px)) / 5);
    gap: 20px;
    margin-top: 40px;
    padding: 12px 4px 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
}

.trust-logos-gallery.active {
    cursor: grabbing;
}

.trust-logos-gallery::-webkit-scrollbar {
    height: 8px;
}

.trust-logos-gallery::-webkit-scrollbar-track {
    background: var(--border-color);
    border-radius: 4px;
}

.trust-logos-gallery::-webkit-scrollbar-thumb {
    background: var(--accent-green);
    border-radius: 4px;
}

.trust-logo-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    height: 110px;
    width: 100%;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    user-select: none;
    position: relative;
    z-index: 1;
}

.trust-logo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: var(--accent-green);
    z-index: 2;
}

.trust-logo-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: all 0.3s ease;
}

.trust-logo-card:hover img {
    filter: grayscale(0%) opacity(1);
}


.partner-logo,
.partner-item {
    background: var(--white);
    border-radius: 10px;
    padding: 15px;
    height: 90px;
    width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.partner-logo img,
.partner-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.8);
    transition: all 0.3s ease;
}

.partner-logo:hover,
.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.partner-logo:hover img,
.partner-item:hover img {
    filter: grayscale(0%) opacity(1);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .trust-logos-gallery {
        grid-auto-columns: calc((100% - (3 * 20px)) / 4);
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }

    .footer-brand {
        grid-column: span 2;
    }

    .footer-col-wide {
        grid-column: span 2;
    }

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

    .contact-layout {
        flex-direction: column;
    }

    .contact-info-col,
    .contact-form-col {
        flex: 0 0 100%;
    }

    .article-layout {
        flex-direction: column;
    }

    .article-content {
        padding: 40px 30px;
    }

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

    .about-intro-container,
    .about-complex-container {
        grid-template-columns: 1fr;
    }

    .ceo-card {
        grid-template-columns: 280px 1fr;
    }

    .value-cards-compact {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .featured-news-card {
        flex-direction: column;
    }

    .featured-news-img {
        width: 100%;
        min-height: 300px;
    }

    .featured-news-content {
        width: 100%;
        padding: 40px 30px;
    }

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

    .pcs-layout {
        flex-direction: column;
    }

    .efficiency-grid,
    .hse-pillars-grid,
    .ref-projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .hse-pillars-grid-four,
    .hse-engagements-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ref-logos-gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }

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

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

    .detailed-services-grid {
        grid-template-columns: 1fr;
    }

    .why-choose-us-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .mission-container,
    .history-container,
    .values-container {
        flex-direction: column;
        gap: 40px;
    }

    .cert-partners-container {
        flex-direction: column;
    }

    .cert-half {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 60px 20px;
    }

    .partners-half {
        padding: 60px 20px;
    }

    .timeline-line {
        display: none;
    }

    .history-timeline {
        flex-direction: column;
        gap: 30px;
        padding-top: 20px;
    }

    .timeline-item {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .timeline-icon {
        margin: 0 0 15px 0;
    }

    .quote-box {
        left: 0;
        bottom: 0;
        width: 100%;
        max-width: none;
        border-radius: 0;
    }

    .about-container {
        flex-direction: column;
    }

    .client-card {
        flex: 0 0 calc((100% - 24px) / 2);
    }

    .clients-top {
        flex-direction: column;
        align-items: flex-start;
    }

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

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

    .filtration-banner {
        grid-template-columns: auto 1fr;
    }

    .filtration-banner-badges {
        grid-column: span 2;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .process-timeline {
        flex-wrap: wrap;
        gap: 40px 0;
    }

    .process-line {
        display: none;
    }

    .process-step {
        flex: 0 0 33.33%;
    }

    .partners-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .partners-text {
        width: 100%;
    }

    .partners-logos {
        flex-wrap: nowrap;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        justify-content: flex-start;
        padding-bottom: 10px;
    }

    .partners-logos::-webkit-scrollbar {
        display: none;
    }

    .partner-logo,
    .partner-clients {
        flex: 0 0 auto;
    }
}

/* Mobile App-like Elements */
.mobile-menu-btn {
    display: none;
    font-size: 1.8rem;
    color: var(--text-dark);
    cursor: pointer;
}

.header.scrolled .mobile-menu-btn {
    color: var(--text-dark);
}

.mobile-menu-overlay,
.mobile-sticky-cta {
    display: none;
}

@media (max-width: 768px) {
    .trust-logos-gallery {
        grid-auto-columns: calc((100% - (1 * 20px)) / 2);
    }

    .footer-cta-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px 20px;
    }

    .footer-cta-btn {
        width: 100%;
        justify-content: center;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 40px 0 32px;
    }

    .footer-brand,
    .footer-col-wide {
        grid-column: auto;
    }

    .footer-info-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .contact-hero {
        padding: 120px 0 80px;
    }

    .contact-form-col {
        padding: 30px 20px;
    }

    .contact-info-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .article-hero-title {
        font-size: 2rem;
    }

    .article-hero-meta {
        flex-direction: column;
        gap: 10px;
    }

    .recent-news-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
        background: transparent;
        border-radius: 0;
        padding: 0;
    }

    .newsletter-form input {
        border-radius: 8px;
        margin-bottom: 10px;
    }

    .newsletter-form .btn {
        border-radius: 8px;
    }

    .testimonial-card {
        flex: 0 0 100%;
    }

    .tech-hero-clean {
        flex-direction: column-reverse;
    }

    .tech-hero-clean-text {
        padding: 50px 0;
        text-align: left;
    }

    .tech-hero-inner {
        margin: 0;
    }

    .hero-title-clean {
        font-size: 2.5rem;
    }

    .tech-hero-clean-image {
        min-height: 300px;
        width: 100%;
    }

    .tech-hero-clean-image::after {
        background: linear-gradient(0deg, rgba(248, 249, 250, 1) 0%, rgba(248, 249, 250, 0) 20%);
    }

    .a4000-grid {
        grid-template-columns: 1fr;
    }

    .efficiency-grid,
    .hse-pillars-grid,
    .ref-projects-grid,
    .pcs-efficiency-grid,
    .tech-advantages-grid,
    .hse-pillars-grid-four,
    .hse-engagements-grid,
    .ref-logos-gallery-grid,
    .ref-testimonials-grid,
    .contact-why-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
    }

    .contact-map-panel {
        flex: 1 1 100%;
        height: 360px;
    }

    .hse-policy-content {
        padding: 32px 24px 32px 24px;
    }

    .hse-policy-icon {
        position: static;
        margin-bottom: 16px;
    }

    .tech-crosslinks {
        flex-direction: column;
        align-items: stretch;
    }

    .tech-crosslink {
        justify-content: center;
    }

    .testimonial-card {
        flex: 0 0 calc(50% - 15px);
    }

    .hse-compliance-layout {
        flex-direction: column;
    }

    .detailed-service-card {
        flex-direction: column;
    }

    .dsc-image {
        width: 100%;
        min-height: 250px;
    }

    .why-choose-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Hide desktop elements */
    .desktop-only,
    .main-nav {
        display: none !important;
    }

    .about-hero {
        padding-top: 100px;
        min-height: 50vh;
    }

    .about-hero-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .about-intro-container,
    .about-complex-container,
    .ceo-card {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .about-engagements-grid {
        grid-template-columns: 1fr;
    }

    .value-cards-compact {
        grid-template-columns: 1fr;
    }

    .ceo-card {
        padding: 30px 24px;
    }

    .ceo-media {
        max-width: 280px;
        margin: 0 auto;
    }

    .mission-pillars {
        flex-direction: column;
    }

    .value-cards {
        flex-direction: column;
    }

    .mobile-menu-btn {
        display: block;
    }

    .header-container {
        flex-wrap: nowrap;
        height: 70px;
        padding: 0 15px;
    }

    .header-actions {
        gap: 15px;
    }

    .language-selector {
        font-size: 1rem;
    }

    /* Mobile Menu Overlay */
    .mobile-menu-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--dark-bg);
        z-index: 1000;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        overflow-y: auto;
    }

    .mobile-menu-overlay.open {
        transform: translateX(0);
    }

    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mobile-menu-close {
        font-size: 2rem;
        color: var(--white);
        cursor: pointer;
    }

    .mobile-menu-body ul {
        display: flex;
        flex-direction: column;
        padding: 40px 20px;
        gap: 30px;
    }

    .mobile-menu-body a {
        font-size: 1.3rem;
        font-weight: 700;
        color: var(--white);
        text-transform: uppercase;
        display: block;
        letter-spacing: 1px;
    }

    .mobile-menu-body a.active {
        color: var(--primary-green);
    }

    /* Sticky Bottom CTA */
    .mobile-sticky-cta {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: var(--white);
        padding: 10px 15px;
        box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
        z-index: 99;
    }

    .mobile-cta-btn {
        width: 100%;
        min-height: 50px;
        font-size: 1rem;
        font-weight: 700;
    }

    /* Adjust page layout for mobile */
    body {
        padding-bottom: 70px;
    }

    body.no-scroll {
        overflow: hidden;
    }

    .stats-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px 15px;
        padding: 30px 15px;
    }

    .stat-card {
        width: 100%;
        padding: 0;
    }

    .stat-card:last-child {
        grid-column: span 2;
    }

    .stat-card::after {
        display: none;
    }

    .hero {
        min-height: 95vh;
        padding-bottom: 120px;
        background-image: url('assets/heromobile.png');
    }

    .hero-title {
        font-size: clamp(1.8rem, 5vw + 0.5rem, 2rem);
    }

    .hero-desc {
        font-size: 0.85rem;
        margin-bottom: 25px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .hero-buttons .btn {
        padding: 10px 20px;
        font-size: 0.8rem;
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .client-card {
        flex: 0 0 100%;
        flex-direction: column;
    }

    .client-card-media {
        flex: 0 0 180px;
        width: 100%;
        min-height: 180px;
    }

    .client-card-num {
        top: 12px;
        left: 12px;
    }

    .clients-slider-wrapper::before,
    .clients-slider-wrapper::after {
        display: none;
    }

    .clients-top {
        gap: 24px;
    }

    .clients-slider-controls {
        width: 100%;
        justify-content: flex-end;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .treatment-grid {
        grid-template-columns: 1fr;
    }

    .filtration-banner {
        grid-template-columns: 1fr;
        padding: 28px 24px;
        gap: 20px;
    }

    .filtration-banner-badges {
        grid-column: auto;
        flex-direction: column;
    }

    .process-timeline {
        flex-direction: column;
        gap: 30px;
    }

    .process-step {
        width: 100%;
        margin-bottom: 20px;
    }

    .cta-banner {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 30px 20px;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .footer-container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-contact {
        flex-direction: column;
        gap: 15px;
    }

    .about-image-placeholder {
        height: 300px;
    }

    .tech-box {
        position: relative;
        left: 0;
        bottom: 20px;
        margin: -50px auto 0;
        max-width: 90%;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    }
}

@media (max-width: 480px) {
    .why-choose-us-grid {
        grid-template-columns: 1fr;
    }

    .hero-title-clean {
        font-size: 1.8rem;
    }

    .tech-hero-clean-text {
        padding: 40px 15px;
    }

    .hero-desc-clean {
        font-size: 1rem;
    }
}

/* ============================================================
   MÉGA-MENU & NAVIGATION ENRICHIE (Phase 0)
   ============================================================ */
.logo {
    text-decoration: none;
}

.main-nav ul {
    align-items: center;
}

.nav-item {
    display: flex;
    align-items: center;
}

.main-nav .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    transition: color 0.25s ease;
    position: relative;
    white-space: nowrap;
}

.nav-caret {
    font-size: 0.6rem;
    transition: transform 0.25s ease;
    opacity: 0.7;
}

.has-children {
    position: relative;
}

/* Pont invisible pour conserver le survol entre l'item et le panneau */
.has-children::after {
    content: '';
    position: absolute;
    left: -24px;
    right: -24px;
    top: 100%;
    height: 30px;
}

/* Pont plus haut pour le méga-menu (panneau en position fixe sous l'en-tête) */
.has-mega::after {
    left: -60px;
    right: -60px;
    height: 38px;
}

.nav-panel {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 24px 60px rgba(15, 26, 21, 0.18);
    border: 1px solid var(--border-color);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    /* Délai de grâce à la fermeture pour laisser le temps d'atteindre le panneau */
    transition: opacity 0.2s ease 0.12s, transform 0.2s ease 0.12s, visibility 0s linear 0.32s;
    z-index: 200;
}

.nav-panel::before {
    content: '';
    position: absolute;
    top: -7px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 14px;
    height: 14px;
    background: var(--white);
    border-left: 1px solid var(--border-color);
    border-top: 1px solid var(--border-color);
}

.has-children:hover .nav-panel,
.has-children.open .nav-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
    /* Ouverture immédiate (le délai ne s'applique qu'à la fermeture) */
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s;
}

.has-children:hover .nav-caret,
.has-children.open .nav-caret {
    transform: rotate(180deg);
}

.nav-panel-inner {
    padding: 26px 28px;
}

.nav-panel:not(.nav-panel-mega) {
    min-width: 280px;
}

.nav-panel-mega {
    position: fixed;
    top: 80px;
    left: 50%;
    right: auto;
    width: min(900px, calc(100vw - 40px));
}

.nav-panel-mega::before {
    display: none;
}

.header.scrolled .nav-panel-mega {
    top: 80px;
}

.nav-panel-mega .nav-panel-inner {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 30px;
}

.nav-mega-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.nav-col-title {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--accent-green);
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.nav-col-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Surcharge la règle globale `.main-nav ul` (flex, align-items:center, gap:25px)
   qui centrait horizontalement les éléments courts des menus déroulants. */
.main-nav .nav-panel ul,
.main-nav .nav-col-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    text-align: left;
}

.main-nav .nav-panel .nav-item,
.main-nav .nav-panel li {
    display: block;
    align-items: initial;
}

.nav-sublink {
    display: block;
    font-size: 0.86rem;
    font-weight: 500;
    color: var(--text-dark);
    padding: 7px 10px;
    border-radius: 7px;
    line-height: 1.4;
    transition: background 0.2s ease, color 0.2s ease, padding 0.2s ease;
}

.nav-sublink:hover {
    background: var(--bg-light);
    color: var(--primary-green);
    padding-left: 14px;
}

.nav-promo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 24px;
    border-radius: 10px;
    background: linear-gradient(150deg, var(--primary-green) 0%, var(--dark-bg) 100%);
    color: var(--white);
}

.nav-promo-title {
    font-size: 1.05rem;
    font-weight: 700;
}

.nav-promo-desc {
    font-size: 0.82rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.82);
}

.nav-promo-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #8ef0c4;
}

.nav-promo:hover .nav-promo-cta {
    color: var(--white);
}

/* ============================================================
   PAGES INTERNES — UTILITAIRES PARTAGÉS (Phases 1-3)
   ============================================================ */
/* En-tête plein (blanc) sur les pages au hero foncé pour garantir le contraste */
body:has(.page-hero) .header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-bg) 100%);
    color: var(--white);
    padding: 150px 0 70px;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    right: -120px;
    top: -120px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(142, 240, 196, 0.18) 0%, rgba(142, 240, 196, 0) 70%);
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero-breadcrumb {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 14px;
}

.page-hero-breadcrumb a {
    color: rgba(255, 255, 255, 0.82);
}

.page-hero-breadcrumb a:hover {
    color: #8ef0c4;
}

.page-hero-eyebrow {
    display: inline-block;
    color: #8ef0c4;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.82rem;
}

.page-hero-title {
    font-size: clamp(2rem, 5vw, 3.1rem);
    font-weight: 800;
    margin: 14px 0 16px;
    line-height: 1.12;
    max-width: 900px;
}

.page-hero-subtitle {
    max-width: 760px;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
}

.section-pad {
    padding: 80px 0;
}

.section-pad-sm {
    padding: 56px 0;
}

.bg-soft {
    background: var(--bg-light);
}

.section-head-center {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 48px;
}

.section-head-center .section-desc {
    color: var(--text-light);
    margin-top: 12px;
}

/* Agréments */
.agrement-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.agrement-card {
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 34px;
    background: var(--white);
    box-shadow: 0 12px 34px rgba(15, 26, 21, 0.06);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.agrement-logo {
    width: 76px;
    height: 76px;
    border-radius: 14px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.1rem;
    color: var(--primary-green);
}

.agrement-tag {
    align-self: flex-start;
    background: rgba(35, 138, 94, 0.12);
    color: var(--primary-green);
    font-weight: 700;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 12px;
    border-radius: 30px;
}

.agrement-card h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
}

.agrement-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.agrement-meta {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 0.85rem;
    color: var(--text-light);
    border-left: 3px solid var(--accent-green);
}

/* Grille ISO / certifications */
.iso-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.iso-card {
    text-align: center;
    padding: 30px 18px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--white);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.iso-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(15, 26, 21, 0.08);
}

.iso-card i {
    font-size: 2rem;
    color: var(--accent-green);
    margin-bottom: 12px;
}

.iso-card h4 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.iso-card p {
    font-size: 0.82rem;
    color: var(--text-light);
}

/* Listing Solutions (page pilier) */
.sol-family {
    margin-bottom: 56px;
}

.sol-family:last-child {
    margin-bottom: 0;
}

.sol-family-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 26px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-color);
}

.sol-family-head i {
    font-size: 1.5rem;
    color: var(--accent-green);
}

.sol-family-head h2 {
    font-size: 1.5rem;
    color: var(--text-dark);
}

.sol-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.sol-card {
    display: block;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 26px;
    background: #fff;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.sol-card:hover {
    box-shadow: 0 16px 36px rgba(15, 26, 21, 0.1);
    transform: translateY(-4px);
    border-color: var(--accent-green);
}

.sol-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: var(--bg-light);
    color: var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.sol-card h3 {
    font-size: 1.08rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.sol-card p {
    font-size: 0.88rem;
    color: var(--text-light);
    margin-bottom: 14px;
}

.sol-card-link {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent-green);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Page Solution détaillée */
.sol-detail-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 44px;
    align-items: start;
}

.sol-feature-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sol-feature-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.sol-feature-list i {
    color: var(--accent-green);
    margin-top: 4px;
    flex-shrink: 0;
}

.sol-aside {
    background: var(--bg-light);
    border-radius: 14px;
    padding: 28px;
    position: sticky;
    top: 100px;
}

.sol-aside h3 {
    font-size: 1.05rem;
    margin-bottom: 16px;
}

.sol-aside .sol-aside-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sol-aside .sol-aside-list a {
    font-size: 0.9rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sol-aside .sol-aside-list a:hover {
    color: var(--primary-green);
}

/* Carrières */
.job-card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 14px;
    background: #fff;
    transition: box-shadow 0.2s ease;
}

.job-card:hover {
    box-shadow: 0 12px 28px rgba(15, 26, 21, 0.07);
}

.job-card h3 {
    font-size: 1.12rem;
    color: var(--text-dark);
}

.job-meta {
    font-size: 0.82rem;
    color: var(--text-light);
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.job-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.startup-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.startup-card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 28px;
    background: #fff;
    text-align: center;
}

.startup-card i {
    font-size: 1.8rem;
    color: var(--accent-green);
    margin-bottom: 14px;
}

.startup-card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.startup-card p {
    font-size: 0.86rem;
    color: var(--text-light);
}

/* Ressources / téléchargements */
.res-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.res-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 22px;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.res-card:hover {
    border-color: var(--accent-green);
    box-shadow: 0 12px 28px rgba(15, 26, 21, 0.07);
}

.res-icon {
    font-size: 1.8rem;
    color: var(--cta-red);
    flex-shrink: 0;
    margin-top: 2px;
}

.res-card-body {
    flex: 1;
}

.res-card h3 {
    font-size: 1rem;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.res-card p {
    font-size: 0.84rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.res-source {
    display: block;
    font-size: 0.74rem;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 10px;
}

.res-download {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-green);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.info-callout {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: rgba(35, 138, 94, 0.08);
    border-left: 4px solid var(--accent-green);
    border-radius: 8px;
    padding: 18px 20px;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.info-callout i {
    color: var(--accent-green);
    font-size: 1.2rem;
    margin-top: 2px;
}

@media (max-width: 992px) {
    .agrement-grid,
    .sol-detail-grid,
    .res-grid {
        grid-template-columns: 1fr;
    }

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

    .sol-cards,
    .startup-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sol-aside {
        position: static;
    }
}

@media (max-width: 600px) {
    .sol-cards,
    .startup-grid,
    .iso-grid {
        grid-template-columns: 1fr;
    }

    .job-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-hero {
        padding: 120px 0 50px;
    }
}

/* ============================================================
   BANDEAU D'AGRÉMENTS / CONFIANCE (Phase 1)
   ============================================================ */
.trust-bar {
    background: var(--primary-green);
    color: var(--white);
}

.trust-bar-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 22px 20px;
}

.trust-bar-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.trust-bar-item > i {
    font-size: 1.7rem;
    color: #8ef0c4;
    flex-shrink: 0;
}

.trust-bar-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.trust-bar-text strong {
    font-size: 0.9rem;
    font-weight: 700;
}

.trust-bar-text span {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 1024px) {
    .trust-bar-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

@media (max-width: 560px) {
    .trust-bar-inner {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   PIED DE PAGE ENRICHI (Phase 0)
   ============================================================ */
.footer-main-rich {
    grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-col-title-spaced {
    margin-top: 30px;
}

/* Bande contact horizontale, juste au-dessus des colonnes du footer */
.footer-contact-strip {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.footer-contact-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 24px 36px;
    padding: 26px 0;
}

.footer-contact-strip .footer-info-item {
    flex: 1 1 0;
    min-width: 200px;
}

@media (max-width: 992px) {
    .footer-contact-strip .footer-info-item {
        flex: 1 1 40%;
    }
}

@media (max-width: 1200px) {
    /* La marque passe en pleine largeur, les 4 colonnes de liens en dessous */
    .footer-main-rich {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-main-rich .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .footer-contact-strip .footer-info-item {
        flex: 1 1 100%;
    }

    .footer-main-rich {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-main-rich .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    .footer-main-rich {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   MENU MOBILE — ACCORDÉON (Phase 0)
   ============================================================ */
@media (max-width: 768px) {
    .mobile-menu-body .mm-group {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mobile-menu-body .mm-toggle {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: none;
        border: none;
        color: var(--white);
        font-family: var(--font-main);
        font-size: 1.15rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        padding: 4px 0;
        cursor: pointer;
    }

    .mobile-menu-body .mm-toggle i {
        font-size: 0.85rem;
        transition: transform 0.3s ease;
        color: var(--accent-green);
    }

    .mobile-menu-body .mm-group.open .mm-toggle i {
        transform: rotate(180deg);
    }

    .mobile-menu-body .mm-sub {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .mobile-menu-body .mm-group.open .mm-sub {
        max-height: 600px;
    }

    .mobile-menu-body .mm-sub li {
        margin: 0;
    }

    .mobile-menu-body .mm-sub a {
        display: block;
        font-size: 0.95rem !important;
        font-weight: 500 !important;
        text-transform: none !important;
        letter-spacing: 0 !important;
        color: #c5d6cd !important;
        padding: 9px 0 9px 14px;
    }

    .mobile-menu-body .mm-sub a:hover {
        color: var(--white) !important;
    }

    .mobile-menu-body .mm-sub-all {
        color: var(--accent-green) !important;
        font-weight: 700 !important;
    }

    .mobile-menu-body ul {
        gap: 18px;
    }
}