/* Custom Properties - Earthy & Green Palette */
:root {
    --primary-color: #2e5a31; /* Deep forest green */
    --primary-light: #487e4c; /* Medium green */
    --accent-color: #c97a34;  /* Earthy terracotta/orange */
    --bg-color: #f7f5f0;     /* Off-white earthy tone */
    --bg-light: #ebe6df;
    --text-main: #2d372e;
    --text-muted: #5c665d;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.6);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-color);
    line-height: 1.6;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.max-width {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.bg-light {
    background-color: var(--bg-light);
}

.section {
    padding: 100px 0;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    margin-top: 15px;
    border-radius: 2px;
}

.text-center h2::after {
    margin: 15px auto 0 auto;
}

/* Glassmorphism */
.glass-container, .glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 10px 40px 0 rgba(45, 55, 46, 0.08);
}

/* Hero Section */
.hero {
    /* Subtle earthy/green gradient background representing nature */
    background: linear-gradient(135deg, #a4c3a6 0%, #e2dac9 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 20px;
}

.hero::before {
    /* Decorative circle */
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    background: rgba(46, 90, 49, 0.08);
    border-radius: 50%;
    top: -300px;
    right: -300px;
    filter: blur(60px);
}

.hero::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: rgba(201, 122, 52, 0.08);
    border-radius: 50%;
    bottom: -200px;
    left: -200px;
    filter: blur(60px);
}

.hero-content {
    padding: 70px 60px;
    max-width: 900px;
    text-align: center;
    position: relative;
    z-index: 10;
}

.badge {
    background-color: rgba(201, 122, 52, 0.15);
    color: var(--accent-color);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
    display: inline-block;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 800;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 45px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    padding: 16px 40px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: inline-block;
    box-shadow: 0 10px 20px rgba(46, 90, 49, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(46, 90, 49, 0.3);
}

/* Layouts */
.split-layout {
    display: flex;
    align-items: stretch;
    gap: 80px;
}

.split-layout > * {
    flex: 1;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

/* Lists and Cards */
.feature-list {
    list-style: none;
    margin-top: 35px;
}

.feature-list li {
    margin-bottom: 25px;
    font-size: 1.1rem;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.feature-list i {
    color: var(--accent-color);
    font-size: 1.6rem;
    margin-top: 3px;
    background: rgba(201, 122, 52, 0.1);
    padding: 15px;
    border-radius: 10px;
}

.image-placeholder {
    background: linear-gradient(135deg, rgba(46, 90, 49, 0.9), rgba(201, 122, 52, 0.85));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 50px;
    border: none;
    min-height: 100%;
}

.leaf-icon {
    font-size: 5rem;
    margin-bottom: 25px;
    color: rgba(255,255,255,0.95);
    text-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.image-placeholder h3 {
    color: white;
    font-size: 2.2rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.card {
    padding: 45px 35px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(45, 55, 46, 0.12);
}

.icon-circle {
    width: 80px;
    height: 80px;
    background-color: rgba(72, 126, 76, 0.1);
    color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 30px auto;
    transition: all 0.3s ease;
}

.card:hover .icon-circle {
    background-color: var(--primary-light);
    color: white;
    transform: scale(1.1);
}

.card h3 {
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: 18px;
}

.card p {
    text-align: center;
    color: var(--text-muted);
}

.highlight-card {
    border-top: 6px solid var(--accent-color);
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 70px auto 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: rgba(72, 126, 76, 0.2);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
}

.timeline-item {
    padding: 10px 50px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    margin-bottom: 30px;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.year {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.2rem;
    color: var(--accent-color);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background-color: var(--bg-light);
    border: 5px solid var(--primary-light);
    border-radius: 50%;
    top: 15px;
    z-index: 1;
}

.timeline-item:nth-child(odd)::after {
    right: -14px;
}

.timeline-item:nth-child(even)::after {
    left: -14px;
}

.timeline-content {
    padding: 30px;
}

.timeline-content h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 80px 0 40px 0;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(to right, var(--accent-color), var(--primary-light));
}

footer h3 {
    color: white;
    margin-bottom: 40px;
}

footer h3::after {
    background-color: var(--accent-color);
}

.references-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.references-list a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
    font-size: 1rem;
    padding: 10px 15px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    width: 100%;
}

.references-list a::before {
    content: '\f08e';
    font-family: 'FontAwesome';
    margin-right: 12px;
    color: var(--accent-color);
    font-size: 0.9em;
}

.references-list a:hover {
    color: white;
    background: rgba(255,255,255,0.1);
    transform: translateX(5px);
}

.footer-note {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 40px;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.6);
}

/* Responsive */
@media (max-width: 992px) {
    .split-layout {
        flex-direction: column;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .image-placeholder {
        padding: 80px 40px;
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero-content {
        padding: 40px 25px;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 80px;
        padding-right: 0;
        text-align: left !important;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-item::after {
        left: 19px !important;
    }
}
