:root {
    --primary-color: #1f232e;
    --cartotile-color: #1f232e;
    --secondary-color: #4a5568;
    --accent-color: #267241;
    --action-color: #11643a;
    --accent-secondary: #38b2ac;
    --dark-color: #0f172a;
    /* --dark-color: #0f1419; */
    --bg-color: #0f172a;
    --light-bg: #f7fafc;
    --text-primary: #2d3748;
    --text-secondary: #718096;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15), 0 6px 10px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--light-bg);
    font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
    background-color: #ffffff;
    background: rgba(5 15 56 / 0.258)!important;
}

.spatial-headquarters-marker,
.zone-marker {
    transform-origin: center center !important;
}

.zone-markers {
    background: #F4F4F4;
    border-radius: 50%;
    border: 1px solid #ffffff;
    width: 40px;
    height: 40px;
}

.animecircle {
    background: rgba(38, 114, 65, 0.4);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    position: relative;
    transform: translate(-50%, -50%);
    animation: spatial-pulse-anims 3s ease-out infinite;
}

.animecircle::after {
    background: rgba(56, 178, 172, 0.5);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    animation: zone-pulse-anim 2.5s ease-out infinite;
}

@keyframes spatial-pulse-anims {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(3);
        opacity: 0;
    }
}

@keyframes zone-pulse-anims {
    0% {
        transform: translate(-50%, -50%) scale(0.6);
        opacity: 0.9;
    }

    100% {
        transform: translate(-50%, -50%) scale(4);
        opacity: 0;
    }
}

.spatial-pulse {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(38, 114, 65, 0.4);
    animation: spatial-pulse-anim 3s ease-out infinite;
    top: -5px;
    left: -5px;
}

.zone-pulse {
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(56, 178, 172, 0.5);
    animation: zone-pulse-anim 2.5s ease-out infinite;
    top: -9px;
    left: -9px;
}

@keyframes spatial-pulse-anim {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }

    100% {
        transform: scale(3);
        opacity: 0;
    }
}

@keyframes zone-pulse-anim {
    0% {
        transform: scale(0.6);
        opacity: 0.9;
    }

    100% {
        transform: scale(4);
        opacity: 0;
    }
}

.spatial-headquarters-marker {
    position: relative;
}

.zone-marker {
    position: relative;
}








.claws {
    position: absolute;
    top: 0;
    right: 1px;
    display: flex;
    gap: 3px;
    transform-origin: top right;
}

.claw {
    width: 10px;
    height: 30px;
    border-radius: 0 0 15px 15px;
}

.claw:nth-child(1) {
    background: #23d0e7;
    height: 30px;
}

.claw:nth-child(2) {
    background: #42c93d;
    height: 35px;
}

.claw:nth-child(3) {
    background: #eccb44;
    height: 40px;
}

.maindiv {
    width: 100%;
    margin: 0 auto;
    position: relative;
    max-width: 3000px !important;
    /* max-width: 1400px; */
}

.container {
    max-width: 100%;
}

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-color);
    padding: 2px 0  !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: sticky;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
}

.navbar.scrolled {
    padding: 0.75rem 0;
    box-shadow: var(--shadow-md);
}

.navbar-brand img {
    height: 35px;
}

.nav-link {
    color: var(--text-primary) !important;
    font-weight: 500;
    margin: 0 0.75rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    font-size: 0.95rem;
    letter-spacing: -0.025em;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0px;
    left: 50%;
    background: var(--accent-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
    border-radius: 1px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--accent-color) !important;
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

/* ===== HERO SECTION ===== */
.hero-carousel {
    margin-top: 0;
    
}


.carousel-item {
    height: 90vh;
    min-height: 550px;
    max-height: 700px;
    position: relative;
}

.carousel-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(10, 15, 20, 0.85) 0%,
            rgba(10, 15, 20, 0.55) 50%,
            rgba(10, 15, 20, 0.3) 100%);
    z-index: 1;
}

.slide-1 {
    background-size: cover;
    background-position: center;
}

.slide-2 {
    background-size: cover;
    background-position: center;
}

.slide-3 {
    background-size: cover;
    background-position: center;
}

.slide-4 {
    background-size: cover;
    background-position: center;
}

.slide-5 {
    background-size: cover;
    background-position: center;
}

.slide-6 {
    background-size: cover;
    background-position: center;
}

.slide-7 {
    background-size: cover;
    background-position: center;
}

/* Tag Indicators Style */
.hero-tags-nav-wrapper {
    position: absolute;
    bottom: 0px;
    left: 0;
    right: 0;
    z-index: 100;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 30px 0 20px 0;
    overflow: hidden;
}

.hero-tags-nav-wrapper::before,
.hero-tags-nav-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 25%;
    z-index: 2;
    pointer-events: none;
}

.hero-tags-nav-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--dark-color) 0%, transparent 70%);
}

.hero-tags-nav-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--dark-color) 0%, transparent 70%);
}

.hero-tags-nav {
    display: flex;
    gap: 12px;
    padding: 4px 0;
    flex-wrap: nowrap;
    /* NO overflow here — .hero-tags-nav-wrapper clips, track must overflow freely */
    position: relative;
    width: max-content;     /* shrink-wrap all buttons including clones */
    will-change: transform;
    align-items: center;
    margin-bottom: 0;
}

.hero-tags-nav .hero-nav-tag {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.65);
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.04em;
    position: relative;
    overflow: hidden;
    
    /* Flex layout for icon + text */
    display: flex;
    align-items: center;
    gap: 10px;
    
    /* Reset standard carousel indicator button styles */
    text-indent: 0 !important;
    width: auto !important;
    height: auto !important;
    opacity: 1 !important;
    margin: 0 !important;
    flex: none !important;
    box-sizing: border-box !important;
    transform: scale(0.8);
}

.hero-tags-nav .hero-nav-tag::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: #4ade80;
    transition: width 0.3s ease;
}

.hero-tags-nav .hero-nav-tag.active {
    background: rgba(41, 112, 35, 0.76);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
    opacity: 1 !important;
    transform: scale(1);
}

.hero-tags-nav .hero-nav-tag.active::after {
    width: 20px;
}

.hero-tags-nav .hero-nav-tag:hover {
    background: rgba(37, 112, 34, 0.479);
    color: #fff;
    transform: translateY(-2px);
    opacity: 1 !important;
}

/* Hide standard indicators */
.hero-indicators {
    display: none;
}

.carousel-caption {
    z-index: 2;
    bottom: 80px;
    /* Adjust for tag nav */
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    text-align: left;
    padding: 0;
    padding-bottom: 2rem;    
    /* background: rgba(0, 0, 0, 0.4); */
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    clip-path: inset(0 0 0 0);
    position: relative;
}

.carousel-caption .container {
    padding: 0 !important;
}

.hero-content {
    /* max-width: 800px; */
    padding: 2rem;
    /* Extra padding right for the arrow tip */
    position: relative;
    z-index: 10;
    max-width: 80%;


    /* Border radius doesn't apply well with this sharp clip-path, removing it */
    border: none;
    box-shadow: none;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    animation: heroFadeIn 0.8s ease both;
}

.hero-tag-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.3), 0 0 10px rgba(74, 222, 128, 0.6);
}

.carousel-caption h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #fff;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: heroFadeIn 0.8s ease 0.1s both;
}

.hero-accent {
    color: #4ade80;
    text-shadow: 0 0 20px rgba(74, 222, 128, 0.3);
}

.carousel-caption p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 650px;
    line-height: 1.8;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: heroFadeIn 0.8s ease 0.2s both;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    animation: heroFadeIn 0.8s ease 0.3s both;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero nav arrows */
.carousel-control-prev,
.carousel-control-next {
    display: none;
}

.hero-nav {
    position: absolute;
    top: 85%;
    transform: translateY(-50%);
    z-index: 5;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.hero-nav:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.hero-nav-prev {
    left: 24px;
}

.hero-nav-next {
    right: 24px;
}

/* Hero indicators */
.carousel-indicators {
    display: none;
}

.hero-indicators {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 8px;
    padding: 6px 10px;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-indicators button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-indicators button.active {
    background: #4ade80;
    width: 28px;
    border-radius: 4px;
    box-shadow: 0 0 8px rgba(74, 222, 128, 0.4);
}

.section {
    padding: 100px 0;
    background-color: #fff;
    position: relative;
    overflow: hidden;
    border-top: 2px double rgba(32 84 20 / 0.6);
}

.section:nth-child(even) {
    background-color: var(--light-bg);
}

.section-title {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: calc(50% + 48px);
    transform: translateX(-50%);
    width: 12px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-top: 1.6rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    font-weight: 400;
}

.about-section {
    background: var(--light-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 95, 45, 0.03);
    backdrop-filter: blur(1px);
    z-index: 1;
}

.about-section .container {
    position: relative;
    z-index: 2;
}

.about-content {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #555;
}

.about-content p {
    margin-bottom: 1.5rem;
}

.why-actum-title {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
    color: var(--dark-color);
}

.why-actum-title span {
    color: var(--accent-color);
}

.why-actum-list {
    display: grid;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.why-actum-item {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 1rem;
    align-items: start;
}

.why-actum-number {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: white;
    background: var(--dark-color);
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.22);
}

.why-actum-item h4 {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0;
    color: var(--dark-color);
}

.why-actum-item p {
    margin: 0.35rem 0 0 0;
    color: var(--text-secondary);
    line-height: 1.7;
}

.why-actum-image-wrap {
    border-radius: 22px;
    padding: 14px;
    background: rgba(151, 188, 98, 0.18);
    border: 1px solid rgba(44, 95, 45, 0.10);
}

.why-actum-image {
    width: 100%;
    height: 320px;
    border-radius: 18px;
    object-fit: cover;
    display: block;
}

.why-actum-sidecards {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.why-actum-sidecard {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(44, 95, 45, 0.10);
    border-radius: 16px;
    padding: 16px 16px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
}

.why-actum-sidecard h4 {
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0 0 0.4rem 0;
    color: var(--dark-color);
    letter-spacing: -0.01em;
}

.why-actum-sidecard p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.65;
}

.feature-item {
    display: flex;
    align-items: start;
    margin-bottom: 2rem;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-color);
    transform: scaleY(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item:hover::before {
    transform: scaleY(1);
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--accent-color);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item:hover .feature-icon {
    transform: scale(1.05) rotate(2deg);
    box-shadow: var(--shadow-md);
}

.feature-icon i {
    font-size: 1.5rem;
    color: white;
}

.feature-content h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.feature-content p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.7;
}

.stats-section {
    background: var(--dark-color);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 50%, rgba(38, 114, 65, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 85% 50%, rgba(56, 178, 172, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.stats-section .container {
    position: relative;
    z-index: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.stat-item {
    text-align: center;
    padding: 1.8rem 1rem 1.5rem;
    position: relative;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    overflow: hidden;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.stat-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    background: color-mix(in srgb, var(--stat-accent) 15%, transparent);
    color: var(--stat-accent);
    transition: all 0.35s ease;
}

.stat-item:hover .stat-icon-wrap {
    transform: scale(1.1);
    background: color-mix(in srgb, var(--stat-accent) 22%, transparent);
    box-shadow: 0 4px 20px color-mix(in srgb, var(--stat-accent) 25%, transparent);
}

.stat-content {
    position: relative;
}

.stat-number {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.stat-label {
    font-size: 0.82rem;
    opacity: 0.5;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.stat-bar {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--stat-accent);
    border-radius: 3px 3px 0 0;
    transition: width 0.4s ease;
}

.stat-item:hover .stat-bar {
    width: 60%;
}


@keyframes plantCardIn {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(25px);
        filter: blur(4px);
    }
    70% {
        opacity: 1;
        transform: scale(1.04) translateY(-3px);
        filter: blur(0);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
    }
}

.plants-section-header {
    text-align: center;
    margin-bottom: 48px;
}

.plants-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(38, 114, 65, 0.08);
    color: var(--accent-color);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 18px;
    border: 1px solid rgba(38, 114, 65, 0.15);
}

.plants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
}

.plant-card {
    background: #fff;
    border: 1px solid #e8ede9;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.25s ease;
    position: relative;
}

.plant-card:hover {
    border-color: #c1d9c8;
    box-shadow: 0 8px 24px rgba(38, 114, 65, 0.08);
    transform: translateY(-2px);
}

.plant-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.plant-card-icon {
    font-size: 1.3rem;
    color: var(--accent-color);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(38, 114, 65, 0.07);
    border-radius: 9px;
}

.plant-card-type {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #8a9a8e;
    background: #f3f6f4;
    padding: 3px 10px;
    border-radius: 5px;
}

.plant-card-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a2e22;
    margin: 0 0 10px;
    line-height: 1.3;
}

.plant-card-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 600;
}

.plant-card-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.plant-card-status.disponible {
    color: #1a8a4a;
}

.plant-card-status.disponible .plant-card-dot {
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}

.plant-card-status.bientot {
    color: #a16207;
}

.plant-card-status.bientot .plant-card-dot {
    background: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.plants-actions {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.plants-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: 1px solid #d4ddd7;
    border-radius: 8px;
    padding: 8px 20px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #4a5e50;
    cursor: pointer;
    transition: all 0.2s ease;
}

.plants-toggle-btn:hover {
    background: #f0f5f1;
    border-color: #b8c9bc;
    color: var(--accent-color);
}

.plants-toggle-btn svg {
    transition: transform 0.3s ease;
}

.plants-toggle-btn[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.plants-onorder-wrap {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 400ms ease, opacity 300ms ease;
    margin-top: 0;
}

.plants-onorder-wrap.is-open {
    max-height: 1500px;
    opacity: 1;
    margin-top: 14px;
}

.plants-cta-bottom {
    text-align: center;
    margin-top: 40px;
}

.btn-plants-contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    background: var(--accent-color);
    color: white;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
}

.btn-plants-contact svg {
    transition: transform 0.25s ease;
}

.btn-plants-contact:hover {
    background: var(--action-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(38, 114, 65, 0.25);
    color: white;
}

.btn-plants-contact:hover svg {
    transform: translateX(4px);
}

@media (max-width: 992px) {
    .plants-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

@media (max-width: 768px) {
    .zones-sidebar {
        display: none;
    }

    .service-card-body ul li {
        font-size: 1.2rem;
    }

    .national-coverage-card {
        max-width: 200px;
        transform: scale(0.85);
        right: 5px !important;
        top: 5px;
    }

    .plants-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .plant-card {
        padding: 14px;
    }

    .plant-card-name {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .plants-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
}


.service-card {
    background: white;
    border-radius: 16px;
    padding: 0;
    height: 100%;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(38, 114, 65, 0.13);
    border-color: transparent;
}

.service-card-top {
    padding: 1.5rem 1.5rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(38, 114, 65, 0.08);
}

.service-card:hover .service-icon {
    background: var(--accent-color);
    transform: rotate(-5deg) scale(1.05);
}

.service-icon i {
    font-size: 1.4rem;
    color: var(--accent-color);
    transition: color 0.35s;
}

.service-card:hover .service-icon i {
    color: white;
}

.service-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0;
    letter-spacing: -0.01em;
    line-height: 1.35;
}

.service-card-body {
    padding: 0 1.5rem 1.5rem;
    flex: 1;
    position: relative;
}

.service-card-body::after {
    display: none;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0;
    font-size: 0.9rem;
}

.service-card .service-number {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 2.8rem;
    font-weight: 900;
    color: rgba(38, 114, 65, 0.06);
    line-height: 1;
}

.service-card-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-card-body ul li {
    font-size: 0.88rem;
    color: var(--text-secondary);
    padding: 5px 0;
    display: flex;
    align-items: baseline;
    gap: 8px;
    line-height: 1.5;
    border-bottom: 1px solid #f0f0f0;
}

.service-card-body ul li:last-child {
    border-bottom: none;
}

.service-card-body ul li i {
    color: var(--accent-color);
    font-size: 0.45rem;
    flex-shrink: 0;
    margin-top: 3px;
}

.service-card-footer {
    padding: 0.75rem 1.5rem 1.25rem;
    margin-top: auto;
}

.service-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}

.service-link:hover {
    gap: 10px;
    color: var(--action-color);
}

.partners-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
}

.partners-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(38, 114, 65, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(56, 178, 172, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Wrapper avec overflow et gradients sur les côtés */
.partners-wrapper {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    max-width: 100%;
}

/* Gradients latéraux pour effet fade */
.partners-wrapper::before,
.partners-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 2;
    pointer-events: none;
}

.partners-wrapper::before {
    left: 0;
    background: linear-gradient(to right, rgba(245, 247, 250, 1) 0%, rgba(245, 247, 250, 0) 100%);
}

.partners-wrapper::after {
    right: 0;
    background: linear-gradient(to left, rgba(245, 247, 250, 1) 0%, rgba(245, 247, 250, 0) 100%);
}

.partners-container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 40px;
    padding: 30px 0;
    will-change: transform;
}

.partner-logo {
    flex-shrink: 0;
    padding: 25px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    height: 110px;
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.07),
        0 10px 20px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

/* Effet de brillance au hover */
.partner-logo::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 30%,
            rgba(255, 255, 255, 0.3) 50%,
            transparent 70%);
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
    transition: transform 0.6s ease;
}

.partner-logo:hover::before {
    transform: translateX(100%) translateY(100%) rotate(45deg);
}

.partner-logo:hover {
    transform: translateY(-12px) scale(1.08);
    box-shadow:
        0 12px 24px rgba(38, 114, 65, 0.15),
        0 20px 40px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border-color: rgba(38, 114, 65, 0.3);
    background: rgba(255, 255, 255, 0.95);
}

.partner-logo img {
    max-width: 130px;
    max-height: 75px;
    object-fit: contain;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(0.3) opacity(0.85);
    position: relative;
    z-index: 1;
}

.partner-logo:hover img {
    transform: scale(1.12);
    filter: grayscale(0) opacity(1);
}

/* Animation de pulsation subtile pour attirer l'attention */
@keyframes subtle-pulse {

    0%,
    100% {
        box-shadow:
            0 4px 6px rgba(0, 0, 0, 0.07),
            0 10px 20px rgba(0, 0, 0, 0.04);
    }

    50% {
        box-shadow:
            0 4px 6px rgba(38, 114, 65, 0.1),
            0 10px 20px rgba(38, 114, 65, 0.06);
    }
}

.partner-logo:nth-child(3n) {
    animation: subtle-pulse 3s ease-in-out infinite;
}


.projects-section {
    background: var(--light-bg);
}

.project-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
    border-color: transparent;
}

/* Wrapper image avec overlay */
.project-image-wrap {
    position: relative;
    overflow: hidden;
}

.project-image {
    width: 100%;
    height: 210px;
    background: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-image {
    transform: scale(1.04);
}

.project-image i {
    font-size: 3.5rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Overlay au hover */
.project-image-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.project-card:hover .project-image-overlay {
    opacity: 1;
}

.project-view-btn {
    background: white;
    color: var(--primary-color);
    padding: 9px 20px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    transform: translateY(8px);
    display: inline-flex;
    align-items: center;
}

.project-card:hover .project-view-btn {
    transform: translateY(0);
}

.project-view-btn:hover {
    background: var(--accent-color);
    color: white;
}

/* Badge type */
.project-type-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    color: white;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

/* Contenu */
.project-content {
    padding: 1.25rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.project-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
    line-height: 1.35;
}

.project-content p {
    color: var(--text-secondary);
    line-height: 1.65;
    font-size: 0.87rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1rem;
}

/* Meta : date + logos */
.project-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 0.9rem;
    border-top: 1px solid #f0f0f0;
    margin-top: auto;
}

.project-date {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.project-logos {
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-client-logo {
    height: 28px;
    max-width: 80px;
    object-fit: contain;
    filter: grayscale(0.2) opacity(0.85);
    transition: filter 0.2s;
}

.project-client-logo:hover {
    filter: grayscale(0) opacity(1);
}

.modal-content {
    border-radius: 15px;
    border: none;
}

.modal-header {
    background: var(--primary-color);
    color: white;
    border-radius: 15px 15px 0 0;
    padding: 1.5rem 2rem;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.modal-body {
    padding: 2rem;
}

.modal-body h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.modal-body ul {
    list-style: none;
    padding: 0;
}

.modal-body ul li {
    padding: 0.5rem 0;
    color: #555;
}

.modal-body ul li i {
    color: var(--accent-color);
    margin-right: 10px;
}

.project-stats {
    display: flex;
    justify-content: space-around;
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 10px;
}

.project-stat-item {
    text-align: center;
}

.project-stat-item .number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.project-stat-item .label {
    font-size: 0.9rem;
    color: #666;
}

/* ===== FORMATION CARDS — Pricing circle style ===== */
.formation-card {
    --forma : #1d3825;
    background: white;
    border-radius: 20px;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.09);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
}

.formation-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.14);
}

/* Couleur unique navy */
.formation-card { --fc-color: #1d3825; }

/* Header coloré */
.formation-card-header {
    background: var(--dark-color);
    border-radius: 20px 20px 0 0;
    padding: 1.6rem 1.5rem 2.8rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.formation-card-header h4 {
    font-size: 1rem;
    font-weight: 800;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
}

.badge-popular {
    display: inline-block;
    background: rgba(255, 255, 255, 0.28);
    color: white;
    padding: 2px 12px;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 20px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

/* Cercle sombre chevauchant header/body */
.formations-grid{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
.formation-card-div {
    min-width: 300px !important;
    max-width: 400px !important;
}
.formation-card-circle {
    width: 80px;
    height: 80px;
    background: var(--dark-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -36px auto 0;
    position: relative;
    z-index: 3;
    border: 4px solid white;
    box-shadow: 0 0 0 3px var(--fc-color), 0 6px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.formation-card:hover .formation-card-circle {
    transform: scale(1.1) rotate(-8deg);
}

.formation-card-circle i {
    font-size: 2rem;
    color: white;
}

/* Body */
.formation-card-body {
    padding: 0.75rem 1.5rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    border-radius: 0 0 20px 20px;
}

.formation-card-desc {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.6;
    text-align: center;
    margin: 0.6rem 0 1rem;
      display: -webkit-box;
      -webkit-line-clamp: 4; /* Nombre de lignes souhaité */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.formation-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.formation-card ul li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.86rem;
    border-bottom: 1px solid #f3f3f3;
    display: flex;
    align-items: center;
    gap: 10px;
}

.formation-card ul li:last-child {
    border-bottom: none;
}

.formation-card ul li i {
    color: var(--fc-color);
    font-size: 0.8rem;
    flex-shrink: 0;
}

.formation-card .btn-formation {
    display: block;
    text-align: center;
    padding: 11px 24px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 1.25rem;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
    background: var(--dark-color);
    color: white;
    border: none;
}

.formation-card .btn-formation:hover {
    background: var(--forma);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.35);
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
    padding: 80px 0;
    background: var(--light-bg);
    position: relative;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.gallery-filter-btn {
    padding: 8px 22px;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

.project-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 1.5rem 0 0;
}

.project-filter-btn {
    padding: 8px 22px;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.project-filter-btn:hover,
.project-filter-btn.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

/* Stacked gallery wrapper */
.gallery-grid {
    position: relative;
    width: 800px;
    height: 700px;
    margin: 0 auto;
    perspective: 1000px;
}

.gallery-item {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
    border: 4px solid white;
    transition: transform 0.5s cubic-bezier(.25,.46,.45,.94),
                opacity 0.5s ease,
                box-shadow 0.3s ease;
    will-change: transform;
}

.gallery-item:hover {
    box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.7) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.4rem;
    color: white;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.gallery-overlay p {
    font-size: 0.85rem;
    opacity: 0.9;
    line-height: 1.3;
    margin: 0;
}

.gallery-overlay .gallery-zoom {
    display: none;
}

/* Stack navigation arrows */
.gallery-stack-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: white;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    color: var(--primary-color, #267241);
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-stack-nav:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.gallery-stack-nav.prev { left: -60px; }
.gallery-stack-nav.next { right: -60px; }

/* Stack counter */
.gallery-stack-counter {
    text-align: center;
    margin-top: 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary, #666);
    letter-spacing: 1px;
}

/* Gallery Lightbox */
.gallery-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.gallery-lightbox.active {
    display: flex;
}

.gallery-lightbox img {
    max-width: 95%;
    max-height: 95vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.gallery-lightbox-close {
    position: absolute;
    top: 25px;
    right: 30px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease;
    border: none;
}

.gallery-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
}

.gallery-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease;
    border: none;
}

.gallery-lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.25);
}

.gallery-lightbox-nav.prev {
    left: 25px;
}

.gallery-lightbox-nav.next {
    right: 25px;
}

.gallery-lightbox-caption {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 24px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

@media (max-width: 992px) {
    .gallery-grid { width: 450px; height: 340px; }
    .gallery-stack-nav.prev { left: -50px; }
    .gallery-stack-nav.next { right: -50px; }
}

@media (max-width: 768px) {
    .gallery-grid { width: 90vw; max-width: 360px; height: 280px; }
    .gallery-stack-nav { width: 38px; height: 38px; font-size: 0.95rem; }
    .gallery-stack-nav.prev { left: -10px; }
    .gallery-stack-nav.next { right: -10px; }
}

.btn-contact-modal {
    display: block;
    color: var(--primary-color);
    background-color: white;
    font-size: 1.5rem;
    padding: 4px 10px;
    box-shadow: 0 5px 25px rgba(173, 173, 173, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 0.1px solid #ffffff67;
    margin: 0 auto;
    margin-top: 10px;
    border-radius: 10px;
}

.btn-contact-modal:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 35px rgba(148, 148, 147, 0.7);
}


.contact-section {
    background: var(--light-bg);
}

.contact-form {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-control {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 14px 20px;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--dark-color);
    box-shadow: 0 0 0 0.25rem rgba(44, 95, 45, 0.1);
}

.contact-info {
    background: var(--dark-color);
    border-radius: 20px;
    padding: 1rem 2rem;
    color: white;
    height: 100%;
    overflow: hidden;
}

.mapdiver {
    background-color: var(--dark-color);
    padding: 5px 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #a7a7a7;
}

.contact-info-item {
    display: flex;
    align-items: start;
    margin-top: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-info-item:last-child {
    border-bottom: none;
}

.contact-info-item i {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: white;
    margin-top: 5px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.btn-primary-custom {
    background: var(--accent-color);
    border: none;
    padding: 14px 40px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: white;
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* .btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent-secondary);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
} */

.btn-primary-custom:hover::before {
    left: 100%;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-outline-custom {
    border: 2px solid white;
    color: white;
    padding: 14px 40px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary-custom svg,
.btn-outline-custom svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.btn-primary-custom:hover svg,
.btn-outline-custom:hover svg {
    transform: translateX(3px);
}

.btn-outline-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: white;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.btn-outline-custom:hover::before {
    width: 100%;
}

.btn-outline-custom:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

#map {
    height: 450px;
    width: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.leaflet-popup-content-wrapper {
    border-radius: 10px;
}

.leaflet-popup-content {
    min-width: 200px;
    /* border: 1px solid #000; */
    margin: 10px;
    font-family: 'Poppins', sans-serif;
}

.leaflet-popup-content h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

/* Section Plants Forestiers */
.plants-section {
    padding: 100px 0;
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.plants-section-overlay {
    position: absolute;
    inset: 0;
    background: rgba(240, 245, 241, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.plants-section .container {
    position: relative;
    z-index: 1;
}

.plant-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.plant-card:hover {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(38, 114, 65, 0.2);
    box-shadow: 0 8px 28px rgba(38, 114, 65, 0.1);
    transform: translateY(-2px);
}

.plants-label {
    background: rgba(38, 114, 65, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.plants-toggle-btn {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-color: rgba(255, 255, 255, 0.6);
}

.plants-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.75);
}

.btn-plants-contact {
    box-shadow: 0 6px 20px rgba(38, 114, 65, 0.2);
}

/* Section Ancrage Spatial */
.spatial-section {
    background: linear-gradient(rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.92)),
                url('../images/background/forestrie.jpg') center / cover no-repeat fixed;
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.spatial-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 70%);
    pointer-events: none;
}

.spatial-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 25% 30%, rgba(38, 114, 65, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 75% 70%, rgba(56, 178, 172, 0.06) 0%, transparent 45%);
    pointer-events: none;
}

.spatial-section .container {
    position: relative;
    z-index: 2;
}

.spatial-header {
    text-align: center;
    margin-bottom: 40px;
}

.spatial-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(38, 114, 65, 0.12);
    border: 1px solid rgba(38, 114, 65, 0.25);
    color: #4ade80;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

.spatial-section .section-title {
    color: white;
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.spatial-section .section-title::after {
    background: linear-gradient(90deg, #267241, #38b2ac);
}

.spatial-section .section-subtitle {
    color: rgba(255, 255, 255, 0.45);
    font-size: 1.05rem;
}

/* Coverage stats row */
.coverage-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.coverage-stat-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 20px 16px;
    border-radius: 14px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.coverage-stat-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.coverage-stat-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    background: color-mix(in srgb, var(--csi-color) 12%, transparent);
    color: var(--csi-color);
    transition: all 0.3s ease;
}

.coverage-stat-item:hover .coverage-stat-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 15px color-mix(in srgb, var(--csi-color) 20%, transparent);
}

.coverage-stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 4px;
}

.coverage-stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Map container */
.map-container {
    position: relative;
    display: flex;
   
    /* gap: 16px; */
}

.zones-sidebar {
    width: 300px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 0;
    max-height: 600px;
    overflow-y: auto;
    overflow-x: hidden;
}

.zones-sidebar-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 20px;
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: sticky;
    top: 0;
    background: rgba(12, 17, 23, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2;
}

.zones-sidebar-header svg {
    color: #4ade80;
}

.zones-sidebar::-webkit-scrollbar {
    width: 4px;
}

.zones-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.zones-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.zones-sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

.zone-category {
    margin: 0;
    padding: 0 12px;
}

.zone-category:first-child {
    padding-top: 8px;
}

.zone-category:last-child {
    padding-bottom: 8px;
}

.zone-category-title {
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 12px 8px 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.zone-item {
    background: transparent;
    padding: 10px 12px;
    border-radius: 10px;
    margin-bottom: 2px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-left: 2px solid transparent;
}

.zone-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-left-color: #4ade80;
}

.zone-item.active {
    background: rgba(38, 114, 65, 0.15);
    border-left-color: #4ade80;
}

.zone-item-name {
    font-weight: 600;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2px;
}

.zone-item-info {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.35);
}

.zone-item-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    background: rgba(74, 222, 128, 0.12);
    color: #4ade80;
    padding: 0 6px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
}

#spatialMap {
    flex: 1;
    height: 600px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
}

.national-coverage-card {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 200px;
    z-index: 900;
    background: rgba(12, 17, 23, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    pointer-events: auto;
    transform-origin: top right;
    animation: coverageCardIn 520ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

@keyframes coverageCardIn {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.national-coverage-card * {
    pointer-events: none;
}

.national-coverage-text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-align: center;
}

.national-coverage-card .rowline {
    display: flex;
    align-items: center;
    justify-content: center;
}

.coverage-gauge {
    width: 130px;
    height: 130px;
    flex: 0 0 130px;
    position: relative;
    margin: 0 auto;
}

.coverage-gauge::before {
    content: '';
    position: absolute;
    inset: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.coverage-gauge svg {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
    transform: rotate(-90deg);
}

.coverage-gauge .gauge-fill {
    fill: rgba(255, 255, 255, 0.03);
    opacity: 0;
    transform: rotate(90deg);
    transform-origin: 60px 60px;
    animation: gaugeFillIn 900ms ease 120ms both;
}

@keyframes gaugeFillIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.coverage-gauge .gauge-bg {
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 8;
    fill: transparent;
}

.coverage-gauge .gauge-progress {
    stroke: url(#coverageGradient);
    stroke-width: 8;
    stroke-linecap: round;
    fill: transparent;
    filter: drop-shadow(0 4px 12px rgba(38, 114, 65, 0.3));
}

.coverage-gauge-value {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #fff;
    font-weight: 900;
    letter-spacing: -0.02em;
    z-index: 2;
}

.coverage-gauge-value .value {
    font-size: 1.5rem;
    line-height: 1;
}

.coverage-gauge-value .label {
    font-size: 0.65rem;
    opacity: 0.5;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-top: 4px;
}

@media (max-width: 768px) {
    .coverage-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .national-coverage-card {
        left: 10px;
        right: 10px;
        width: auto;
        top: 10px;
    }

    .coverage-gauge {
        width: 110px;
        height: 110px;
        flex: 0 0 110px;
    }
}


.footer {
    background: linear-gradient(rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.93)),
                url('../images/background/forestrie.jpg') center / cover no-repeat fixed;
    color: #ccc;
    padding: 0;
    position: relative;
}

/* --- Footer Top : logo + newsletter --- */
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0 30px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    gap: 30px;
    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    flex-shrink: 0;
}

.footer-logo {
    height: 42px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    font-size: 0.82rem;
    color: #999;
    line-height: 1.5;
    font-style: italic;
    margin: 0;
    /* max-width: 280px; */
}

.footer-newsletter {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.footer-newsletter-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #666;
    font-weight: 600;
    white-space: nowrap;
}

.footer-newsletter-form {
    margin: 0;
}

.footer-newsletter-input {
    display: flex;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 6px;
    overflow: hidden;
    background: rgba(255,255,255,0.04);
}

.footer-newsletter-input input {
    background: transparent;
    border: none;
    color: #fff;
    padding: 10px 14px;
    font-size: 0.85rem;
    width: 200px;
    outline: none;
    margin-bottom: 0 !important;
}

.footer-newsletter-input input::placeholder {
    color: #666;
}

.footer-newsletter-input button {
    background: var(--accent-color);
    border: none;
    color: #fff;
    padding: 10px 16px;
    cursor: pointer;
    transition: background 0.2s;
}

.footer-newsletter-input button:hover {
    background: #1e5c33;
}

/* --- Footer Middle : nav + contact --- */
.footer-middle {
    padding: 24px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin-bottom: 16px;
}

.footer-nav a {
    color: #bbb;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: var(--accent-color);
}

.footer-contact-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 28px;
    font-size: 0.82rem;
}

.footer-contact-row a,
.footer-contact-row span {
    color: #777;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contact-row a:hover {
    color: var(--accent-color);
}

.footer-contact-row i {
    margin-right: 5px;
    color: var(--accent-color);
    font-size: 0.75rem;
}

/* --- Footer Bottom : copyright + socials --- */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    margin: 0;
    color: #555;
    font-size: 0.8rem;
}

.footer-socials {
    display: flex;
    gap: 6px;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: rgba(255,255,255,0.06);
    color: #888;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.2s;
}

.footer-socials a:hover {
    background: var(--accent-color);
    color: #fff;
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-brand {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .footer-newsletter {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        width: 100%;
    }
    .footer-newsletter-input {
        width: 100%;
    }
    .footer-newsletter-input input {
        width: 100%;
        flex: 1;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Service cards — zoom + slide up */
@keyframes serviceCardIn {
    0% {
        opacity: 0;
        transform: scale(0.85) translateY(30px);
    }
    60% {
        opacity: 1;
        transform: scale(1.03) translateY(-5px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Formation cards — flip in from bottom */
@keyframes formationCardIn {
    0% {
        opacity: 0;
        transform: perspective(600px) rotateX(-15deg) translateY(40px);
    }
    100% {
        opacity: 1;
        transform: perspective(600px) rotateX(0) translateY(0);
    }
}

/* Realisation cards — slide in with tilt */
@keyframes realisationCardIn {
    0% {
        opacity: 0;
        transform: translateY(50px) rotate(-2deg) scale(0.95);
    }
    70% {
        opacity: 1;
        transform: translateY(-5px) rotate(0.5deg) scale(1.01);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotate(0) scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Slide in from right */
.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Slide up (more pronounced) */
.slide-up {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Zoom in */
.zoom-in {
    opacity: 0;
    transform: scale(0.85);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.zoom-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Zoom out */
.zoom-out {
    opacity: 0;
    transform: scale(1.15);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.zoom-out.visible {
    opacity: 1;
    transform: scale(1);
}

/* Scale up (from small) */
.scale-up {
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scale-up.visible {
    opacity: 1;
    transform: scale(1);
}

/* Rotate in */
.rotate-in {
    opacity: 0;
    transform: rotate(-5deg) translateY(30px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.rotate-in.visible {
    opacity: 1;
    transform: rotate(0) translateY(0);
}

/* Flip in */
.flip-in {
    opacity: 0;
    transform: perspective(800px) rotateX(-80deg);
    transform-origin: top center;
    transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.flip-in.visible {
    opacity: 1;
    transform: perspective(800px) rotateX(0);
}

/* Blur in */
.blur-in {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(15px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.blur-in.visible {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

/* Stagger delay utility classes */
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }
.delay-6 { transition-delay: 0.6s !important; }

/* GSAP section title reveal */
.section-title-reveal {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.section-title-reveal.visible {
    clip-path: inset(0 0% 0 0);
}

@media (max-width: 1200px) {
    body {
        padding: 0 0;
    }

    .navbar-brand img {
        height: 35px;
    }
}

/* Navbar scrolled style */
.navbar.scrolled {
    background: var(--dark-color) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.3s ease !important;
}

.navbar.scrolled .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
}

.navbar.scrolled .navbar-nav .nav-link:hover {
    color: #4ade80 !important;
}

@media (max-width: 768px) {
    body {
        padding: 0 0;
    }

    .navbar {
        padding: 0.75rem 0;
    }

    .navbar-brand img {
        height: 30px;
    }

    .carousel-item {
        height: 100vh;
        min-height: 480px;
        max-height: 700px;
    }
.hero-tags-nav span{
 display: none;   
}
    .hero-content {
        max-width: 100%;
        padding: 0 1.2rem;
        padding-top: 100px;
    }

    .hero-tag {
        font-size: 0.68rem;
        padding: 5px 14px;
        margin-bottom: 16px;
    }

    .carousel-caption h1 {
        font-size: 2.2rem;
        line-height: 1.1;
        letter-spacing: -0.03em;
    }

    .carousel-caption p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        line-height: 1.6;
    }

    .hero-actions {
        gap: 10px;
    }

    .btn-primary-custom,
    .btn-outline-custom {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .hero-nav {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    .hero-nav svg {
        width: 16px;
        height: 16px;
    }

    .hero-nav-prev {
        left: 10px;
    }

    .hero-nav-next {
        right: 10px;
    }

    .hero-indicators {
        bottom: 20px;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .feature-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .stats-section {
        padding: 60px 0;
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .stat-item {
        padding: 1.2rem 0.8rem 1rem;
    }

    .stat-icon-wrap {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        margin-bottom: 0.7rem;
    }

    .stat-icon-wrap svg {
        width: 20px;
        height: 20px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .service-card {
        margin-bottom: 1rem;
    }

    .project-card {
        margin-bottom: 1.5rem;
    }

}





/* ============================================
   SECTION ARTICLES / BLOG - ACCUEIL
   ============================================ */
.articles-home-section {
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.95), rgba(255, 255, 255, 0.98));
    padding: 80px 0;
}

.article-home-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.article-home-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.article-home-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.article-home-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.article-home-card:hover .article-home-img img {
    transform: scale(1.08);
}

.article-home-img-placeholder {
    width: 100%;
    height: 100%;
    background: lawngreen;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 3rem;
}

.article-home-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent-color);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-home-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-home-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 10px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.article-home-meta i {
    color: var(--accent-color);
}

.article-home-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-home-excerpt {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-home-link {
    display: inline-flex;
    align-items: center;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    margin-top: 14px;
    transition: color 0.2s, gap 0.2s;
}

.article-home-link:hover {
    color: var(--action-color);
}

.article-home-link:hover i {
    transform: translateX(4px);
}

.article-home-link i {
    transition: transform 0.2s ease;
}

/* ============================================
   SECTION OFFRES D'EMPLOI - ACCUEIL
   ============================================ */
.offres-home-section {
    background: #e8ede9;
    padding: 0 0 80px;
}

.offres-home-header-bar {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    padding: 28px 0;
    margin-bottom: 10px;
}

.offres-home-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.offres-home-heading {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1a2e1a;
    margin: 0 0 4px;
    line-height: 1.2;
}

.offres-home-subheading {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.offres-home-count {
    background: #eef6ee;
    color: #267241;
    border: 1px solid #c3dfc3;
    padding: 7px 18px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
}

@media (max-width: 576px) {
    .offres-home-header-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

.offre-home-card {
    background: #fff;
    border: 1px solid #e2e8e2;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.25s ease, border-left-color 0.25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.offre-home-card:hover {
    box-shadow: 0 6px 10px rgba(73, 73, 73, 0.295);
}

.offre-home-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--dark-color);
    border-radius: 12px 12px 0 0;
}

.offre-home-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(110, 231, 160, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6ee7a0;
    font-size: 1rem;
}

.offre-home-contract {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.85);
    padding: 4px 12px;
    border-radius: 2px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.offre-home-body {
    padding: 14px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.offre-home-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a2e1a;
    margin-bottom: 10px;
    line-height: 1.4;
}

.offre-home-details {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.offre-home-detail {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.78rem;
    color: #666;
    padding: 0;
}

.offre-home-detail i {
    color: #267241;
    font-size: 0.72rem;
}

.offre-remote {
    color: #38b2ac !important;
}

.offre-home-desc {
    font-size: 0.83rem;
    color: #555;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
    margin-bottom: 10px;
}

.offre-home-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 8px;
}

.offre-home-skill {
    background: #d3d3d388;
    color: #071a0d;
    padding: 2px 9px;
    border-radius: 3px;
    font-size: 0.72rem;
    font-weight: 600;
}

.offre-home-footer {
    padding: 12px 20px;
    border-top: 1px solid #f0f0f0;
}

.offre-home-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #267241;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.offre-home-link:hover {
    color: #38b2ac;
    gap: 10px;
}

.offre-home-link i {
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.offre-home-link:hover i {
    transform: translateX(3px);
}

/* ============================================
   BOUTON "VOIR PLUS" COMMUN
   ============================================ */
.btn-voir-plus {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    background: var(--dark-color);
    color: #fff;
    border: 2px solid var(--dark-color);
}

.btn-voir-plus:hover {
    background: transparent;
    color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(38, 114, 65, 0.3);
}

.offres-home-section .btn-voir-plus {
    border-color: #267241;
    background: transparent;
    color: #267241;
}

.offres-home-section .btn-voir-plus:hover {
    background: #267241;
    color: #fff;
}

/* Responsive pour les sections articles/offres */
@media (max-width: 768px) {
    .articles-home-section,
    .offres-home-section {
        padding: 50px 0;
    }

    .article-home-img {
        height: 160px;
    }

    .article-home-meta {
        flex-direction: column;
        gap: 4px;
    }
}