/*
================================================================================
FLOREA AI WEBSITE STYLES
================================================================================

TO CHANGE COLORS:
Find the :root section below and modify the color values

TO CHANGE FONTS:
Look for font-family declarations and update them

IMPORTANT: Be careful when editing - keep all the brackets {} and semicolons ;
================================================================================
*/

/* ============================================================================
   COLOR VARIABLES - EDIT THESE TO CHANGE SITE COLORS
   ============================================================================ */
:root {
    /* Main brand colors - change these to match your preferences */
    --primary-green: #2ecc71;
    --dark-green: #1a7a4a;
    --light-green: #a8e6cf;
    --accent-green: #27ae60;
    
    /* Text colors */
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    
    /* Background and UI */
    --background: #ffffff;
    --background-light: #f8f9fa;
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --card-shadow-hover: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* ============================================================================
   BASIC RESET AND TYPOGRAPHY
   ============================================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

/* ============================================================================
   NAVIGATION
   ============================================================================ */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

nav.scrolled {
    background: rgba(255, 255, 255, 1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--text-dark);
}

.logo-nav img {
    height: 50px;
    width: auto;
}

.logo-text h1 {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text p {
    font-size: 0.75rem;
    color: var(--text-light);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-menu {
    display: none;
    cursor: pointer;
}

/* ============================================================================
   HERO SECTION
   ============================================================================ */
.hero {
    margin-top: 80px;
    min-height: 90vh;
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.1), rgba(26, 122, 74, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(46, 204, 113, 0.2), transparent);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-content {
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    color: white;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

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

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
    animation: floatImage 3s ease-in-out infinite;
}

@keyframes floatImage {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ============================================================================
   SECTION STYLES
   ============================================================================ */
section {
    padding: 5rem 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.accent-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-green));
    margin: 1rem auto;
    border-radius: 2px;
}

/* ============================================================================
   PAGE HEADER
   ============================================================================ */
.page-header {
    margin-top: 80px;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.1), rgba(26, 122, 74, 0.1));
    text-align: center;
}

.page-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* ============================================================================
   MISSION/OVERVIEW CARDS
   ============================================================================ */
.overview-section {
    background: white;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.mission-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-shadow-hover);
}

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

.mission-icon .material-icons {
    font-size: 2.5rem;
    color: white;
}

.mission-card h3 {
    color: var(--dark-green);
    margin-bottom: 1rem;
}

.mission-card p {
    color: var(--text-light);
}

/* ============================================================================
   TEAM STYLES
   ============================================================================ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.team-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-shadow-hover);
}

.team-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, var(--light-green), var(--primary-green));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info {
    padding: 1.5rem;
}

.team-info h3 {
    color: var(--dark-green);
    margin-bottom: 0.5rem;
}

.team-info .role {
    color: var(--primary-green);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.team-info .department {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ============================================================================
   MODAL STYLES
   ============================================================================ */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
}

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

.modal-header {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: white;
    padding: 2rem;
    position: relative;
}

.modal-header-content h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.modal-role,
.modal-email {
    opacity: 0.9;
    font-size: 0.95rem;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.3);
}

.modal-body {
    padding: 2rem;
}

.modal-body h4 {
    color: var(--dark-green);
    margin: 1.5rem 0 0.5rem 0;
}

.modal-body p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ============================================================================
   PUBLICATIONS STYLES
   ============================================================================ */
.publications-list {
    display: grid;
    gap: 2.5rem;
}

.latest-grid {
    display: grid;
    gap: 2.5rem;
}

.publication-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid var(--primary-green);
}

.publication-card:hover {
    transform: translateX(10px);
    box-shadow: var(--card-shadow-hover);
}

.publication-card h3 {
    color: var(--dark-green);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.publication-meta {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.publication-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.publication-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.pub-link {
    padding: 0.5rem 1rem;
    background: var(--light-green);
    color: var(--dark-green);
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

/* ============================================================================
   BLOG STYLES
   ============================================================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-shadow-hover);
}

.blog-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--light-green), var(--primary-green));
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-content {
    padding: 2rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.blog-content h3 {
    color: var(--dark-green);
    margin-bottom: 1rem;
}

.blog-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.read-more {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 1rem;
}

.post-category {
    display: inline-block;
    background: var(--primary-green);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

/* ============================================================================
   BLOG POST PAGE
   ============================================================================ */
.blog-post-page {
    margin-top: 80px;
    padding: 4rem 2rem;
}

.blog-post-header {
    margin-bottom: 2rem;
}

.blog-post-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.post-meta {
    display: flex;
    gap: 2rem;
    color: var(--text-light);
}

.post-image-container {
    margin: 2rem 0;
    border-radius: 15px;
    overflow: hidden;
}

.post-image-container img {
    width: 100%;
    height: auto;
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.post-content h3 {
    color: var(--dark-green);
    margin: 2rem 0 1rem;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

/* ============================================================================
   NEWSLETTER SECTION
   ============================================================================ */
.newsletter-section {
    padding: 2rem;
}

.newsletter {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    border-radius: 30px;
    padding: 4rem 2rem;
    text-align: center;
    color: white;
}

.newsletter h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.newsletter p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
}

.newsletter-form button {
    padding: 1rem 2rem;
    background: white;
    color: var(--primary-green);
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.social-links {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: white;
    color: var(--primary-green);
    transform: translateY(-5px);
}

/* ============================================================================
   CONTACT PAGE
   ============================================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    color: var(--dark-green);
    margin-bottom: 1rem;
}

.contact-methods {
    margin: 2rem 0;
}

.contact-method {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: start;
}

.contact-method .material-icons {
    color: var(--primary-green);
    font-size: 2rem;
}

.contact-method h4 {
    color: var(--dark-green);
    margin-bottom: 0.25rem;
}

.contact-method p,
.contact-method a {
    color: var(--text-light);
    text-decoration: none;
}

.contact-method a:hover {
    color: var(--primary-green);
}

.social-links-large {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-links-large .social-link {
    width: auto;
    height: auto;
    background: var(--light-green);
    color: var(--dark-green);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    justify-content: flex-start;
    gap: 1rem;
}

.social-links-large .social-link:hover {
    background: var(--primary-green);
    color: white;
}

.contact-form-container h2 {
    color: var(--dark-green);
    margin-bottom: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group label {
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
}

.collaboration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.collaboration-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.collaboration-card:hover {
    transform: translateY(-5px);
}

.collaboration-card .material-icons {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.collaboration-card h3 {
    color: var(--dark-green);
    margin-bottom: 0.5rem;
}

.collaboration-card p {
    color: var(--text-light);
}

/* ============================================================================
   ABOUT PAGE SPECIFIC
   ============================================================================ */
.content-section {
    padding: 4rem 2rem;
}

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

.content-text h2 {
    color: var(--dark-green);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.content-text p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.content-text ul {
    list-style: none;
    margin: 1rem 0;
}

.content-text li {
    color: var(--text-light);
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.content-text li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
}

.content-visual {
    display: grid;
    gap: 1.5rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--dark-green);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.highlight-section {
    background: var(--background-light);
    padding: 4rem 2rem;
}

.hypothesis-box {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
}

.lead-text {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hypothesis-points {
    display: grid;
    gap: 1.5rem;
}

.hypothesis-point {
    display: flex;
    gap: 1rem;
    align-items: start;
}

.hypothesis-point .material-icons {
    color: #e74c3c;
    flex-shrink: 0;
}

.hypothesis-point p {
    color: var(--text-light);
    line-height: 1.7;
}

.questions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.question-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    position: relative;
    padding-left: 4rem;
}

.question-number {
    position: absolute;
    left: 1.5rem;
    top: 1.5rem;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.question-card h3 {
    color: var(--dark-green);
    margin-bottom: 0.5rem;
    margin-top: 0.75rem;
}

.question-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.approach-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 32px;
    top: 64px;
    width: 2px;
    height: calc(100% + 2rem);
    background: var(--light-green);
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-marker {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.timeline-marker .material-icons {
    color: white;
    font-size: 2rem;
}

.timeline-content h3 {
    color: var(--dark-green);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.7;
}

.outcomes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.outcome-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.outcome-card:hover {
    transform: translateY(-5px);
}

.outcome-card .material-icons {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.outcome-card h3 {
    color: var(--dark-green);
    margin-bottom: 0.5rem;
}

.outcome-card p {
    color: var(--text-light);
}

.impact-section {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.1), rgba(26, 122, 74, 0.1));
    padding: 4rem 2rem;
}

.impact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.impact-content h2 {
    color: var(--dark-green);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.impact-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* ============================================================================
   FILTER BUTTONS
   ============================================================================ */
.filter-section {
    padding: 2rem;
    text-align: center;
}

.filter-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: white;
    color: var(--text-dark);
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
}

/* ============================================================================
   FOOTER
   ============================================================================ */
footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 2rem 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-green);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================================================
   RESPONSIVE DESIGN
   ============================================================================ */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h2 {
        font-size: 2.5rem;
    }

    .cta-buttons {
        justify-content: center;
    }

    .content-grid,
    .about-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }

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

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

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        min-width: 100%;
    }

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

    .mission-grid,
    .outcomes-grid,
    .collaboration-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================================
   UTILITY CLASSES
   ============================================================================ */
.hidden {
    display: none !important;
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ============================================================================
   SPONSORS SECTION
   ============================================================================ */
.sponsors-section {
    padding: 4rem 2rem;
    background: var(--background-light);
}

.sponsors-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.sponsor-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 400px;
}

.sponsor-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

.sponsor-card a {
    display: block;
}

.sponsor-card img {
    width: 100%;
    height: auto;
    display: block;
}

.sponsor-acknowledgment {
    max-width: 800px;
    margin: 2rem auto 0;
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.7;
    font-style: italic;
}

/* Responsive adjustments for sponsors */
@media (max-width: 768px) {
    .sponsors-grid {
        flex-direction: column;
        gap: 2rem;
    }
    
    .sponsor-card {
        max-width: 100%;
    }
}

/* ============================================================================
   ADVISORS PAGE STYLES
   ============================================================================ */
.advisors-intro-section {
    padding: 3rem 2rem;
    background: white;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.advisors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.advisor-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.advisor-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-shadow-hover);
}

.advisor-image {
    width: 100%;
    height: 350px;
    background: linear-gradient(135deg, var(--light-green), var(--primary-green));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
}

.advisor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.advisor-info {
    padding: 1.5rem;
}

.advisor-info h3 {
    color: var(--dark-green);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.advisor-title {
    color: var(--primary-green);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.advisor-affiliation {
    color: var(--text-light);
    font-size: 0.95rem;
    font-style: italic;
}

.advisory-info-section {
    padding: 4rem 2rem;
    background: var(--background-light);
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    text-align: center;
}

.info-card .material-icons {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.info-card h3 {
    color: var(--dark-green);
    margin-bottom: 0.5rem;
}

.info-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Responsive adjustments for advisors */
@media (max-width: 768px) {
    .advisors-grid {
        grid-template-columns: 1fr;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
    }
}

/* ============================================================================
   SOCIAL MEDIA SECTION (Replaces Newsletter)
   ============================================================================ */
.social-media-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.1), rgba(26, 122, 74, 0.1));
}

.social-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.social-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark-green);
}

.social-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.social-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.social-link-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.social-link-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

.social-link-card .social-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.social-link-card .social-icon .material-icons {
    color: white;
    font-size: 2rem;
}

.social-link-card .social-info {
    text-align: left;
}

.social-link-card .social-info h3 {
    color: var(--dark-green);
    margin-bottom: 0.25rem;
    font-size: 1.2rem;
}

.social-link-card .social-info p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .social-links-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================================
   CHATBOT DEMO SECTION
   ============================================================================ */
.chatbot-demo-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f5e9 100%);
}

.chatbot-demo-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    align-items: start;
}

.chatbot-window {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 680px;
}

.chatbot-header {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.chatbot-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.95;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.chatbot-messages {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: #fafafa;
}

.message {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 0.5s ease-out;
    opacity: 0;
    animation-fill-mode: forwards;
}

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

.message.user {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.25rem;
}

.message.ai .message-avatar {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: white;
}

.message.user .message-avatar {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
}

.message-content {
    max-width: 75%;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    line-height: 1.6;
}

.message.ai .message-content {
    background: white;
    color: var(--text-dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.message.user .message-content {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
}

.chatbot-footer {
    padding: 0.5rem 2rem;
    background: white;
    border-top: 1px solid #e5e7eb;
    min-height: 40px;
    display: flex;
    align-items: center;
}

.typing-indicator {
    display: none;
    gap: 0.4rem;
    padding: 0.75rem 1rem;
}

.typing-indicator.active {
    display: flex;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: var(--primary-green);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

.chatbot-info h3 {
    color: var(--dark-green);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.chatbot-info {
    display: flex;
    flex-direction: column;
}

.chatbot-info > p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.demo-disclaimer {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 12px;
    margin-bottom: 2rem;
    align-items: start;
}

.demo-disclaimer .material-icons {
    color: #ff9800;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.demo-disclaimer p {
    margin: 0;
    color: #856404;
    font-size: 0.95rem;
    line-height: 1.6;
}

.demo-disclaimer strong {
    font-weight: 600;
    color: #664d03;
}

.demo-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex: 1;
    justify-content: flex-end;
}

.demo-feature {
    display: flex;
    gap: 1rem;
    align-items: start;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.demo-feature:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.demo-feature .material-icons {
    color: var(--primary-green);
    font-size: 2rem;
    flex-shrink: 0;
}

.demo-feature h4 {
    color: var(--dark-green);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

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

@media (max-width: 968px) {
    .chatbot-demo-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .chatbot-window {
        max-height: 500px;
        min-height: 400px;
    }
}

/* ============================================================================
   CONTACT PAGE ENHANCEMENTS
   ============================================================================ */
.contact-quote-section {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    color: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.contact-quote-section h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.contact-quote-section blockquote {
    font-size: 1.2rem;
    line-height: 1.8;
    font-style: italic;
    margin: 2rem 0;
    padding-left: 1.5rem;
    border-left: 4px solid rgba(255, 255, 255, 0.5);
    opacity: 0.95;
}

.contact-quote-section .quote-author {
    font-size: 1rem;
    opacity: 0.9;
    margin-top: 1rem;
    font-weight: 500;
}

.contact-cta-box {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
}

.contact-cta-box h4 {
    color: var(--dark-green);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.contact-cta-box p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.contact-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-highlight {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.contact-highlight .material-icons {
    font-size: 1.5rem;
}

.contact-highlight p {
    margin: 0;
    font-size: 0.95rem;
}


/* ===========================
   Mobile Nav: Drop-down + Backdrop
   =========================== */

/* Ensure the dropdown is positioned relative to the container */
.nav-container { position: relative; }

@media (max-width: 768px) {
  /* When nav is open, show links as a dropdown */
  nav.open .nav-links {
    display: flex;                 /* overrides the mobile 'display:none' */
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
    border-top: 1px solid #eee;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 1001;                 /* nav is 1000 in your CSS */
    animation: menuSlide 0.25s ease-out;
  }

  nav.open .nav-links li { border-bottom: 1px solid #f1f5f9; }
  nav.open .nav-links li:last-child { border-bottom: 0; }

  nav.open .nav-links a {
    display: block;
    padding: 1rem 2rem;
  }

  /* Backdrop to dim the page when menu is open */
  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.25);
    z-index: 999; /* sits under the nav (1000) but above content */
    opacity: 0;
    animation: fadeIn 0.2s forwards;
  }

  @keyframes menuSlide {
    from { transform: translateY(-8px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
  }
  @keyframes fadeIn { to { opacity: 1; } }
}
