/* =====================================================
   RECONNECTING LANDSCAPES - ELEPHANT CORRIDOR PAGE
   A unique, immersive design for landscape conservation
   ===================================================== */

:root {
    --rl-primary: #1a3d2e;
    --rl-primary-light: #2d5a45;
    --rl-accent: #c8a45c;
    --rl-accent-light: #ddc07a;
    --rl-earth: #8b7355;
    --rl-earth-light: #a89070;
    --rl-dark: #0f1f18;
    --rl-light: #f5f3ef;
    --rl-text: #2c3e35;
    --rl-text-light: #5a6b62;
    --rl-gradient: linear-gradient(135deg, var(--rl-primary) 0%, var(--rl-primary-light) 100%);
}

/* ===== HERO SECTION ===== */
.rl-hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.rl-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.rl-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.rl-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(15, 31, 24, 0.3) 0%,
        rgba(15, 31, 24, 0.5) 50%,
        rgba(15, 31, 24, 0.85) 100%
    );
    z-index: 2;
}

.rl-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    padding: 0 2rem;
}

.rl-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(200, 164, 92, 0.15);
    border: 1px solid rgba(200, 164, 92, 0.4);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: rlFadeUp 0.8s ease forwards 0.3s;
}

.rl-hero-badge i {
    color: var(--rl-accent);
    font-size: 0.9rem;
}

.rl-hero-badge span {
    color: var(--rl-accent-light);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.rl-hero-title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 600;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    opacity: 0;
    animation: rlFadeUp 0.8s ease forwards 0.5s;
}

.rl-hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1rem, 2vw, 1.35rem);
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
    line-height: 1.6;
    max-width: 650px;
    margin: 0 auto 2rem;
    opacity: 0;
    animation: rlFadeUp 0.8s ease forwards 0.7s;
}

.rl-hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    animation: rlFadeUp 0.8s ease forwards 1s;
}

.rl-hero-scroll span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.rl-hero-scroll i {
    color: var(--rl-accent);
    font-size: 1.25rem;
    animation: rlBounce 2s infinite;
}

@keyframes rlFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rlBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(8px); }
    60% { transform: translateY(4px); }
}

/* ===== INTRO SECTION ===== */
.rl-intro {
    padding: 6rem 0;
    background: var(--rl-light);
}

.rl-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.rl-intro-content {
    padding-right: 2rem;
}

.rl-section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--rl-accent);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.rl-section-label::before {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--rl-accent);
}

.rl-section-title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 600;
    color: var(--rl-primary);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.rl-intro-text p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--rl-text);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.rl-intro-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(26, 61, 46, 0.15);
}

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

.rl-intro-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 3px solid rgba(200, 164, 92, 0.3);
    border-radius: 12px;
    pointer-events: none;
}

/* ===== STATS BANNER ===== */
.rl-stats {
    background: var(--rl-gradient);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.rl-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--rl-accent);
}

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

.rl-stat-item {
    text-align: center;
    padding: 1.5rem;
    position: relative;
}

.rl-stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.rl-stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(200, 164, 92, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.rl-stat-icon i {
    font-size: 1.5rem;
    color: var(--rl-accent);
}

.rl-stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.rl-stat-value {
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
}

/* ===== CONTEXT SECTION (Split Layout) ===== */
.rl-context {
    padding: 6rem 0;
    background: #fff;
}

.rl-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 500px;
}

.rl-split-image {
    position: relative;
    overflow: hidden;
}

.rl-split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.rl-split:hover .rl-split-image img {
    transform: scale(1.03);
}

.rl-split-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
    background: var(--rl-light);
}

.rl-split-content.dark {
    background: var(--rl-dark);
}

.rl-split-content.dark .rl-section-title,
.rl-split-content.dark p {
    color: #fff;
}

.rl-split-content.dark p {
    color: rgba(255, 255, 255, 0.8);
}

.rl-split.reverse {
    direction: rtl;
}

.rl-split.reverse > * {
    direction: ltr;
}

/* ===== APPROACH PILLARS ===== */
.rl-approach {
    padding: 6rem 0;
    background: var(--rl-light);
}

.rl-approach-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.rl-approach-header .rl-section-label {
    justify-content: center;
}

.rl-approach-header .rl-section-label::before {
    display: none;
}

.rl-approach-intro {
    font-size: 1.1rem;
    color: var(--rl-text-light);
    line-height: 1.7;
    margin-top: 1rem;
}

.rl-pillars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.rl-pillar {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(26, 61, 46, 0.08);
    transition: all 0.4s ease;
}

.rl-pillar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--rl-accent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.rl-pillar:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(26, 61, 46, 0.12);
}

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

.rl-pillar-num {
    font-family: 'Oswald', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(26, 61, 46, 0.08);
    line-height: 1;
    margin-bottom: 1rem;
}

.rl-pillar-icon {
    width: 70px;
    height: 70px;
    background: var(--rl-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.rl-pillar-icon i {
    font-size: 1.75rem;
    color: #fff;
}

.rl-pillar h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--rl-primary);
    margin-bottom: 1rem;
}

.rl-pillar p {
    font-size: 0.9rem;
    color: var(--rl-text-light);
    line-height: 1.6;
}

/* ===== CONFLICT SOLUTION SECTION ===== */
.rl-solution {
    padding: 6rem 0;
    background: var(--rl-dark);
    position: relative;
}

.rl-solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.rl-solution-content .rl-section-label {
    color: var(--rl-accent);
}

.rl-solution-content .rl-section-title {
    color: #fff;
}

.rl-solution-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.rl-solution-features {
    margin-top: 2rem;
}

.rl-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rl-feature:last-child {
    border-bottom: none;
}

.rl-feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(200, 164, 92, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rl-feature-icon i {
    color: var(--rl-accent);
    font-size: 1rem;
}

.rl-feature-text h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.rl-feature-text p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin: 0;
}

.rl-solution-visual {
    position: relative;
}

.rl-solution-visual img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.rl-solution-visual::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid var(--rl-accent);
    border-radius: 16px;
    z-index: -1;
}

/* ===== COMMUNITY SECTION ===== */
.rl-community {
    padding: 6rem 0;
    background: #fff;
}

.rl-community-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.rl-community-header .rl-section-label {
    justify-content: center;
}

.rl-community-header .rl-section-label::before {
    display: none;
}

.rl-community-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.rl-community-card {
    background: var(--rl-light);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid transparent;
}

.rl-community-card:hover {
    background: #fff;
    border-color: var(--rl-accent);
    box-shadow: 0 15px 40px rgba(26, 61, 46, 0.1);
}

.rl-community-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--rl-earth) 0%, var(--rl-earth-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.rl-community-icon i {
    font-size: 2rem;
    color: #fff;
}

.rl-community-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--rl-primary);
    margin-bottom: 1rem;
}

.rl-community-card p {
    font-size: 0.9rem;
    color: var(--rl-text-light);
    line-height: 1.7;
}

/* ===== MOVING FORWARD / CTA SECTION ===== */
.rl-forward {
    padding: 6rem 0;
    background: var(--rl-gradient);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.rl-forward::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(200, 164, 92, 0.1) 0%, transparent 50%);
}

.rl-forward-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.rl-forward .rl-section-label {
    color: var(--rl-accent);
    justify-content: center;
}

.rl-forward .rl-section-label::before {
    display: none;
}

.rl-forward .rl-section-title {
    color: #fff;
    margin-bottom: 1.5rem;
}

.rl-forward p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.rl-forward-highlights {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.rl-forward-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.rl-forward-item i {
    color: var(--rl-accent);
    font-size: 1.25rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .rl-intro-grid,
    .rl-solution-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .rl-intro-content {
        padding-right: 0;
    }

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

    .rl-stat-item:nth-child(2)::after {
        display: none;
    }

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

    .rl-split {
        grid-template-columns: 1fr;
    }

    .rl-split.reverse {
        direction: ltr;
    }

    .rl-split-image {
        height: 350px;
    }

    .rl-community-grid {
        grid-template-columns: 1fr;
    }

    .rl-hero {
        height: 85vh;
        min-height: 500px;
    }
}

@media (max-width: 768px) {
    .rl-hero {
        height: 70vh;
        min-height: 450px;
    }

    .rl-hero-content {
        padding: 0 1.5rem;
    }

    .rl-hero-badge {
        padding: 0.4rem 1rem;
        margin-bottom: 1.25rem;
    }

    .rl-hero-badge span {
        font-size: 0.68rem;
        letter-spacing: 2px;
    }

    .rl-stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .rl-stat-item {
        padding: 1rem;
    }

    .rl-stat-item::after {
        display: none;
    }

    .rl-stat-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 0.75rem;
    }

    .rl-stat-icon i {
        font-size: 1.25rem;
    }

    .rl-pillars {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .rl-pillar {
        padding: 2rem 1.5rem;
    }

    .rl-pillar-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1.25rem;
    }

    .rl-pillar-icon i {
        font-size: 1.5rem;
    }

    .rl-split-content {
        padding: 2.5rem 1.5rem;
    }

    .rl-split-image {
        height: 280px;
    }

    .rl-solution-visual::before {
        display: none;
    }

    .rl-forward-highlights {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .rl-intro,
    .rl-context,
    .rl-approach,
    .rl-solution,
    .rl-community,
    .rl-forward {
        padding: 4rem 0;
    }

    .rl-section-title {
        font-size: clamp(1.5rem, 3vw, 2rem);
    }

    .rl-intro-image img {
        height: 350px;
    }

    .rl-community-card {
        padding: 2rem;
    }

    .rl-community-icon {
        width: 65px;
        height: 65px;
    }

    .rl-community-icon i {
        font-size: 1.6rem;
    }

    .rl-feature {
        padding: 0.75rem 0;
    }
}

@media (max-width: 480px) {
    .rl-hero {
        height: 60vh;
        min-height: 380px;
    }

    .rl-hero-content {
        padding: 0 1rem;
    }

    .rl-hero-badge {
        padding: 0.35rem 0.85rem;
        margin-bottom: 1rem;
    }

    .rl-hero-badge span {
        font-size: 0.62rem;
        letter-spacing: 1.5px;
    }

    .rl-hero-subtitle {
        margin-bottom: 1.5rem;
    }

    .rl-hero-scroll {
        bottom: 1.5rem;
    }

    .rl-intro,
    .rl-context,
    .rl-approach,
    .rl-solution,
    .rl-community,
    .rl-forward {
        padding: 3rem 0;
    }

    .rl-section-label {
        font-size: 0.68rem;
        letter-spacing: 2px;
    }

    .rl-section-title {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .rl-intro-text p {
        font-size: 0.95rem;
    }

    .rl-intro-image img {
        height: 280px;
    }

    .rl-stats {
        padding: 3rem 0;
    }

    .rl-stat-item {
        padding: 0.75rem;
    }

    .rl-stat-icon {
        width: 45px;
        height: 45px;
    }

    .rl-stat-label {
        font-size: 0.72rem;
    }

    .rl-stat-value {
        font-size: 1rem;
    }

    .rl-pillar {
        padding: 1.75rem 1.25rem;
    }

    .rl-pillar-num {
        font-size: 2.5rem;
        margin-bottom: 0.75rem;
    }

    .rl-pillar-icon {
        width: 55px;
        height: 55px;
        margin-bottom: 1rem;
    }

    .rl-pillar h3 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .rl-pillar p {
        font-size: 0.85rem;
    }

    .rl-split-content {
        padding: 2rem 1.25rem;
    }

    .rl-split-image {
        height: 220px;
    }

    .rl-solution-content p,
    .rl-forward p {
        font-size: 0.95rem;
    }

    .rl-feature-icon {
        width: 36px;
        height: 36px;
    }

    .rl-feature-text h4 {
        font-size: 0.95rem;
    }

    .rl-feature-text p {
        font-size: 0.8rem;
    }

    .rl-community-card {
        padding: 1.5rem;
    }

    .rl-community-icon {
        width: 55px;
        height: 55px;
        margin-bottom: 1rem;
    }

    .rl-community-icon i {
        font-size: 1.4rem;
    }

    .rl-community-card h3 {
        font-size: 1.05rem;
    }

    .rl-community-card p {
        font-size: 0.85rem;
    }

    .rl-forward-item {
        font-size: 0.88rem;
    }

    .rl-forward-item i {
        font-size: 1.1rem;
    }
}

@media (max-width: 360px) {
    .rl-hero {
        height: 55vh;
        min-height: 340px;
    }

    .rl-intro,
    .rl-context,
    .rl-approach,
    .rl-solution,
    .rl-community,
    .rl-forward {
        padding: 2.5rem 0;
    }

    .rl-section-title {
        font-size: 1.25rem;
    }

    .rl-intro-image img {
        height: 220px;
    }

    .rl-split-image {
        height: 180px;
    }
}

/* ===== REVEAL ANIMATIONS ===== */
.rl-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.rl-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.rl-reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s ease;
}

.rl-reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.rl-reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s ease;
}

.rl-reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}
