/* ==========================================
   WALHI Jawa Timur - Organic Nature Theme
   ========================================== */

:root {
    /* Nature-Inspired Color Palette */
    --forest: #2d5a3d;
    --forest-dark: #1a3626;
    --forest-light: #4a7c5c;
    --moss: #6b8e5e;
    --moss-light: #8fb07a;
    --earth: #8b7355;
    --earth-dark: #5c4d3c;
    --earth-light: #a89070;
    --sun: #e8b84a;
    --sun-light: #f5d078;
    --water: #4a90a4;
    --water-light: #7bb5c7;
    --cream: #f5f2eb;
    --cream-dark: #e8e4d9;
    --charcoal: #2c2c2c;
    --charcoal-light: #4a4a4a;

    /* Typography */
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 10rem;

    /* Borders */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
    --transition-slower: 800ms cubic-bezier(0.16, 1, 0.3, 1);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* ==========================================
   Reset & Base
   ========================================== */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--charcoal);
    background-color: var(--cream);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

button {
    font: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

address {
    font-style: normal;
}

/* ==========================================
   Container
   ========================================== */

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-lg);
    }
}

/* ==========================================
   Typography
   ========================================== */

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--forest);
    background: linear-gradient(135deg, var(--moss-light), var(--moss));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-sm);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--forest-dark);
    margin-bottom: var(--space-md);
}

.section-desc {
    font-size: 1.125rem;
    color: var(--charcoal-light);
    max-width: 600px;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-header .section-desc {
    margin: 0 auto;
}

/* ==========================================
   Buttons
   ========================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 0.875rem 1.75rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--forest) 0%, var(--forest-dark) 100%);
    color: var(--cream);
    box-shadow: 0 4px 15px rgba(45, 90, 61, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(45, 90, 61, 0.4);
}

.btn-ghost {
    color: var(--forest);
    border-color: var(--forest);
}

.btn-ghost:hover {
    background: var(--forest);
    color: var(--cream);
}

.btn-outline {
    color: var(--forest);
    border: 2px solid var(--forest);
    background: transparent;
}

.btn-outline:hover {
    background: var(--forest);
    color: var(--cream);
}

.btn-light {
    background: var(--cream);
    color: var(--forest-dark);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.btn-light:hover {
    background: var(--sun-light);
    transform: translateY(-2px);
}

.btn-ghost-light {
    color: var(--cream);
    border-color: var(--cream);
}

.btn-ghost-light:hover {
    background: var(--cream);
    color: var(--forest-dark);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* ==========================================
   Floating Leaves (Background Animation)
   ========================================== */

.floating-leaves {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.leaf {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--moss);
    border-radius: 0 50% 50% 50%;
    opacity: 0.15;
    animation: floatLeaf 20s infinite ease-in-out;
}

.leaf-1 { left: 10%; animation-delay: 0s; }
.leaf-2 { left: 30%; animation-delay: 4s; width: 15px; height: 15px; }
.leaf-3 { left: 50%; animation-delay: 8s; }
.leaf-4 { left: 70%; animation-delay: 12s; width: 25px; height: 25px; }
.leaf-5 { left: 90%; animation-delay: 16s; width: 18px; height: 18px; }

@keyframes floatLeaf {
    0%, 100% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.15;
    }
    90% {
        opacity: 0.15;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* ==========================================
   Header
   ========================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-md) 0;
    transition: all var(--transition-base);
}

.header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(245, 242, 235, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.header.scrolled::before {
    opacity: 1;
}

.header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.logo-icon {
    width: 48px;
    height: 48px;
    color: var(--forest);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--forest-dark);
    line-height: 1;
}

.logo-sub {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--moss);
    letter-spacing: 0.05em;
}

.nav {
    display: none;
    align-items: center;
    gap: var(--space-lg);
}

@media (min-width: 1024px) {
    .nav {
        display: flex;
    }
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--charcoal);
    padding: var(--space-xs) 0;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--forest);
    transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--forest);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

@media (min-width: 1024px) {
    .mobile-toggle {
        display: none;
    }
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation */
@media (max-width: 1023px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 400px;
        height: 100vh;
        background: var(--cream);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: var(--space-xl);
        transition: right var(--transition-slower);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    }

    .nav.active {
        display: flex;
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-md);
    }

    .nav-link {
        font-size: 1.5rem;
    }

    .nav-cta {
        margin-top: var(--space-lg);
    }
}

/* ==========================================
   Hero Section
   ========================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: var(--space-3xl) 0 var(--space-xl);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(107, 142, 94, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(74, 144, 164, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 100% 80% at 50% 100%, rgba(232, 184, 74, 0.08) 0%, transparent 50%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5C30 5 20 15 20 25C20 35 30 40 30 40C30 40 40 35 40 25C40 15 30 5 30 5Z' fill='%232d5a3d' fill-opacity='1'/%3E%3C/svg%3E");
    background-size: 60px 60px;
}

.hero-organic-shape {
    position: absolute;
    border-radius: 50%;
}

.shape-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -100px;
    background: linear-gradient(135deg, rgba(107, 142, 94, 0.08) 0%, transparent 60%);
    animation: morphShape 20s ease-in-out infinite;
}

.shape-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -150px;
    background: linear-gradient(45deg, rgba(74, 144, 164, 0.1) 0%, transparent 60%);
    animation: morphShape 15s ease-in-out infinite reverse;
}

@keyframes morphShape {
    0%, 100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    align-items: center;
}

@media (min-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }
}

.hero-content {
    animation: fadeInUp 1s var(--transition-slower) forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-md);
    background: rgba(45, 90, 61, 0.1);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--forest);
    margin-bottom: var(--space-lg);
    animation: fadeInUp 1s 0.2s backwards;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--forest);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: var(--space-lg);
}

.title-line {
    display: block;
    animation: fadeInUp 1s backwards;
}

.title-line:nth-child(1) { animation-delay: 0.3s; }
.title-line:nth-child(2) { animation-delay: 0.4s; }
.title-line:nth-child(3) { animation-delay: 0.5s; }

.title-accent {
    background: linear-gradient(135deg, var(--forest) 0%, var(--moss) 50%, var(--water) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: italic;
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--charcoal-light);
    max-width: 500px;
    margin-bottom: var(--space-lg);
    animation: fadeInUp 1s 0.6s backwards;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    animation: fadeInUp 1s 0.7s backwards;
}

.hero-visual {
    display: flex;
    justify-content: center;
    animation: fadeInUp 1s 0.5s backwards;
}

.hero-image-frame {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.frame-decoration {
    position: absolute;
    inset: -20px;
    border: 2px solid var(--moss);
    border-radius: var(--radius-xl);
    opacity: 0.3;
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-image {
    background: linear-gradient(135deg, var(--cream-dark) 0%, var(--cream) 100%);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.illustration {
    width: 100%;
    height: auto;
}

.sun {
    animation: sunGlow 3s ease-in-out infinite;
}

.sun-glow {
    animation: sunGlow 3s ease-in-out infinite 0.5s;
}

@keyframes sunGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.5; }
}

.bird {
    animation: flyBird 3s ease-in-out infinite;
}

.bird-1 { animation-delay: 0s; }
.bird-2 { animation-delay: 0.5s; }
.bird-3 { animation-delay: 1s; }

@keyframes flyBird {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.river {
    animation: flowRiver 4s ease-in-out infinite;
}

@keyframes flowRiver {
    0%, 100% { stroke-dashoffset: 0; }
    50% { stroke-dashoffset: 20; }
}

.hero-scroll-indicator {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--charcoal-light);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--charcoal-light), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { scaleY: 1; opacity: 1; }
    50% { scaleY: 0.6; opacity: 0.5; }
}

/* ==========================================
   About Section
   ========================================== */

.about {
    padding: var(--space-3xl) 0;
    position: relative;
    z-index: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    align-items: center;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }
}

.about-text {
    font-size: 1.0625rem;
    color: var(--charcoal-light);
    margin-bottom: var(--space-lg);
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.value-item {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md);
    background: linear-gradient(135deg, rgba(107, 142, 94, 0.08) 0%, transparent 100%);
    border-radius: var(--radius-lg);
    border-left: 3px solid var(--forest);
}

.value-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--forest);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream);
}

.value-icon svg {
    width: 24px;
    height: 24px;
}

.value-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--forest-dark);
    margin-bottom: 4px;
}

.value-item p {
    font-size: 0.9375rem;
    color: var(--charcoal-light);
}

.about-visual {
    position: relative;
}

.about-image-stack {
    position: relative;
    height: 400px;
}

@media (min-width: 768px) {
    .about-image-stack {
        height: 500px;
    }
}

.image-card {
    position: absolute;
    background: var(--cream);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.image-card:hover {
    transform: translateY(-8px) rotate(0deg) !important;
    box-shadow: var(--shadow-xl);
    z-index: 10;
}

.card-1 {
    width: 60%;
    top: 0;
    left: 10%;
    transform: rotate(-3deg);
    z-index: 3;
}

.card-2 {
    width: 55%;
    top: 30%;
    right: 5%;
    transform: rotate(4deg);
    z-index: 2;
}

.card-3 {
    width: 50%;
    bottom: 0;
    left: 20%;
    transform: rotate(-2deg);
    z-index: 1;
}

.image-placeholder {
    aspect-ratio: 4/3;
}

.image-label {
    display: block;
    padding: var(--space-sm);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--forest-dark);
    text-align: center;
}

/* ==========================================
   Stats Section
   ========================================== */

.stats {
    padding: var(--space-2xl) 0;
    position: relative;
    overflow: hidden;
}

.stats-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--forest-dark) 0%, var(--forest) 100%);
    z-index: -1;
}

.stats-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='50' cy='50' r='40' fill='none' stroke='%23ffffff' stroke-opacity='0.05' stroke-width='1'/%3E%3C/svg%3E");
    background-size: 100px 100px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-item {
    text-align: center;
    position: relative;
    padding: var(--space-lg) var(--space-md);
}

.stat-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    color: rgba(255, 255, 255, 0.05);
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    color: var(--sun);
    line-height: 1;
    margin-bottom: var(--space-xs);
    position: relative;
}

.stat-number::after {
    content: '+';
    font-size: 0.5em;
}

.stat-label {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--cream);
    opacity: 0.9;
    position: relative;
}

/* ==========================================
   Programs Section
   ========================================== */

.programs {
    padding: var(--space-3xl) 0;
    background: var(--cream-dark);
    position: relative;
    z-index: 1;
}

.programs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 768px) {
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .programs-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.program-card {
    position: relative;
    background: var(--cream);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    transition: all var(--transition-base);
    overflow: hidden;
    border: 1px solid transparent;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--forest), var(--moss));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--moss-light);
}

.program-card:hover::before {
    transform: scaleX(1);
}

.program-icon {
    width: 60px;
    height: 60px;
    color: var(--forest);
    margin-bottom: var(--space-md);
    transition: transform var(--transition-base);
}

.program-card:hover .program-icon {
    transform: scale(1.1);
}

.program-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--forest-dark);
    margin-bottom: var(--space-sm);
}

.program-content p {
    font-size: 0.9375rem;
    color: var(--charcoal-light);
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.program-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--forest);
    transition: gap var(--transition-fast);
}

.program-link:hover {
    gap: var(--space-sm);
}

.program-number {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    color: var(--moss);
    opacity: 0.1;
    line-height: 1;
}

/* ==========================================
   News Section
   ========================================== */

.news {
    padding: var(--space-3xl) 0;
    position: relative;
    z-index: 1;
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .news-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .news-featured {
        grid-column: span 2;
        grid-row: span 2;
    }
}

.news-card {
    background: var(--cream);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 1px solid var(--cream-dark);
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.news-image {
    overflow: hidden;
}

.news-illustration {
    width: 100%;
    height: auto;
    transition: transform var(--transition-slow);
}

.news-card:hover .news-illustration {
    transform: scale(1.05);
}

.news-content {
    padding: var(--space-md);
}

.news-featured .news-content {
    padding: var(--space-lg);
}

.news-meta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.news-category {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--forest);
    background: rgba(45, 90, 61, 0.1);
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.news-date {
    font-size: 0.8125rem;
    color: var(--charcoal-light);
}

.news-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--forest-dark);
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}

.news-featured .news-title {
    font-size: 1.5rem;
}

.news-excerpt {
    font-size: 0.9375rem;
    color: var(--charcoal-light);
    margin-bottom: var(--space-md);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--forest);
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
}

.news-link::after {
    content: '→';
    transition: transform var(--transition-fast);
}

.news-link:hover::after {
    transform: translateX(4px);
}

.news-more {
    text-align: center;
    margin-top: var(--space-xl);
}

/* ==========================================
   CTA Section
   ========================================== */

.cta {
    padding: var(--space-3xl) 0;
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--forest) 0%, var(--forest-dark) 50%, var(--charcoal) 100%);
    z-index: -1;
}

.cta-shape {
    position: absolute;
    border-radius: 50%;
}

.cta-shape-1 {
    width: 500px;
    height: 500px;
    top: -200px;
    right: -100px;
    background: radial-gradient(circle, rgba(232, 184, 74, 0.15) 0%, transparent 60%);
}

.cta-shape-2 {
    width: 400px;
    height: 400px;
    bottom: -150px;
    left: -100px;
    background: radial-gradient(circle, rgba(107, 142, 94, 0.2) 0%, transparent 60%);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--cream);
    margin-bottom: var(--space-md);
}

.cta-text {
    font-size: 1.125rem;
    color: var(--cream);
    opacity: 0.9;
    margin-bottom: var(--space-lg);
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
}

/* ==========================================
   Footer
   ========================================== */

.footer {
    background: var(--charcoal);
    color: var(--cream);
}

.footer-top {
    padding: var(--space-2xl) 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}

.footer-brand .logo {
    margin-bottom: var(--space-md);
}

.footer-brand .logo-icon {
    color: var(--cream);
}

.footer-brand .logo-main {
    color: var(--cream);
}

.footer-brand .logo-sub {
    color: var(--moss-light);
}

.footer-tagline {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-lg);
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--forest);
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--cream);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--sun);
}

.footer-contact address p {
    display: flex;
    gap: var(--space-sm);
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-sm);
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    min-width: 18px;
    color: var(--moss-light);
}

.footer-bottom {
    padding: var(--space-md) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom .container {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-bottom p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links {
    display: flex;
    gap: var(--space-md);
}

.footer-bottom-links a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
    color: var(--cream);
}

/* ==========================================
   Animations on Scroll
   ========================================== */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
