﻿/* VitaInspire - Modern Redesign CSS */
/* Inspired by thecyol.com design aesthetics */

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

:root {
    --primary-dark: #0f172a;
    --primary-green: #059669;
    --primary-green-dark: #047857;
    --accent-orange: #f97316;
    --accent-orange-dark: #ea580c;
    --light-bg: #f8fafc;
    --white: #ffffff;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --border-color: #e2e8f0;
    --card-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --card-shadow-hover: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --gradient-primary: linear-gradient(135deg, var(--primary-green) 0%, #10b981 100%);
    --gradient-orange: linear-gradient(135deg, var(--accent-orange) 0%, #fb923c 100%);
    --gradient-dark: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Gradient Text */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.orange-text {
    color: #ea580c;
}

.logo .orange-text {
    margin: 0 -1px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.5);
}

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

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

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--card-shadow);
}

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

.logo {
    font-family: 'Fraunces', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 32px;
    width: auto;
    margin-right: 0.5rem;
}

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

.nav-links a {
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

.nav-cta {
    background: var(--gradient-primary);
    color: var(--white) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.4);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    width: 100%;
    aspect-ratio: 2752 / 1536;
    min-height: auto;
    display: flex;
    align-items: center;
    padding: 8rem 2rem 6rem;
    position: relative;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.3) 50%, rgba(15, 23, 42, 0.4) 100%),
        url('images/hero.webp') center 2rem / cover no-repeat;
    background-color: #0f172a;
    overflow: hidden;
}

.hero-mobile-img {
    display: none;
}

/* Hero decorative floating shapes */
.hero-decorations {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    left: -100px;
    animation: float1 20s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: 10%;
    left: 5%;
    animation: float2 25s ease-in-out infinite;
}

.shape-3 {
    width: 350px;
    height: 350px;
    top: 20%;
    right: -50px;
    animation: float3 22s ease-in-out infinite;
}

.floating-dot {
    position: absolute;
    border-radius: 50%;
    animation: floatDot 15s ease-in-out infinite;
}

.dot-1 {
    width: 12px;
    height: 12px;
    background: var(--primary-green);
    opacity: 0.4;
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.dot-2 {
    width: 8px;
    height: 8px;
    background: var(--accent-orange);
    opacity: 0.5;
    top: 60%;
    left: 15%;
    animation-delay: -3s;
}

.dot-3 {
    width: 10px;
    height: 10px;
    background: #0ea5e9;
    opacity: 0.4;
    top: 30%;
    right: 25%;
    animation-delay: -6s;
}

.dot-4 {
    width: 6px;
    height: 6px;
    background: var(--primary-green);
    opacity: 0.6;
    bottom: 30%;
    right: 15%;
    animation-delay: -9s;
}

.dot-5 {
    width: 14px;
    height: 14px;
    background: var(--accent-orange);
    opacity: 0.3;
    top: 70%;
    right: 30%;
    animation-delay: -12s;
}

@keyframes float1 {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(20px, 30px) rotate(5deg);
    }

    50% {
        transform: translate(-10px, 50px) rotate(-3deg);
    }

    75% {
        transform: translate(30px, 20px) rotate(2deg);
    }
}

@keyframes float2 {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(40px, -20px) rotate(10deg);
    }

    66% {
        transform: translate(-20px, -40px) rotate(-5deg);
    }
}

@keyframes float3 {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(-30px, 40px) rotate(-8deg);
    }
}

@keyframes floatDot {

    0%,
    100% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(10px, -20px);
    }

    50% {
        transform: translate(-15px, -10px);
    }

    75% {
        transform: translate(5px, 15px);
    }
}

/* Hero illustration */
.hero-illustration {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 450px;
    height: 350px;
    z-index: 1;
    opacity: 0.95;
}

.hero-illustration svg {
    width: 100%;
    height: 100%;
}

/* Hero wave */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    z-index: 2;
}

.hero-wave svg {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

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

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.15);
    color: #fde047;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-content h1 {
    font-size: 3.75rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.stat-card {
    background: var(--white);
    padding: 1.5rem 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-green);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 0.5rem;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(5, 150, 105, 0.1);
    color: var(--primary-green);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

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

/* Focus Areas */
.focus-areas {
    padding: 6rem 2rem;
    background: var(--white);
}

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

.focus-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}

.focus-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

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

.focus-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.focus-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.focus-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.agriculture-bg {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.health-bg {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
}

.education-bg {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

.focus-icon {
    font-size: 4rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.focus-content {
    padding: 2rem;
}

.focus-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.focus-content p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.focus-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.focus-list li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.focus-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: 700;
}

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

.focus-link:hover {
    gap: 0.75rem;
}

/* Mission Section */
.mission-section {
    padding: 6rem 2rem 3rem;
    background: var(--white);
}

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

.mission-card {
    background: var(--light-bg);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.mission-card:hover {
    border-color: var(--primary-green);
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

.mission-icon {
    font-size: 3rem;
    margin-bottom: 1.25rem;
}

.mission-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.mission-card>p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.mission-list {
    list-style: none;
}

.mission-list li {
    padding: 0.5rem 0;
    padding-left: 1.75rem;
    position: relative;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.mission-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: 700;
}

.mission-vision {
    display: flex;
    justify-content: center;
}

.vision-card {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/vision.webp') center / cover no-repeat;
    padding: 2.5rem 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 800px;
    color: var(--white);
    position: relative;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.vision-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.vision-card p {
    font-size: 1.15rem;
    line-height: 1.8;
    opacity: 0.95;
}

/* Founder Section */
.founder-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfeff 100%);
}

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

.founder-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.founder-avatar {
    width: 200px;
    height: 200px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fraunces', serif;
    font-size: 4rem;
    color: var(--white);
    font-weight: 700;
    box-shadow: 0 20px 40px rgba(5, 150, 105, 0.3);
    position: relative;
    z-index: 2;
}

.founder-decorations {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 280px;
}

.founder-dot {
    position: absolute;
    border-radius: 50%;
}

.founder-dot.dot-1 {
    width: 20px;
    height: 20px;
    background: var(--accent-orange);
    top: 0;
    right: 20px;
    animation: floatDot 8s ease-in-out infinite;
}

.founder-dot.dot-2 {
    width: 14px;
    height: 14px;
    background: #0ea5e9;
    bottom: 20px;
    left: 10px;
    animation: floatDot 10s ease-in-out infinite;
    animation-delay: -3s;
}

.founder-dot.dot-3 {
    width: 10px;
    height: 10px;
    background: var(--primary-green);
    top: 50%;
    right: 0;
    animation: floatDot 6s ease-in-out infinite;
    animation-delay: -5s;
}

.founder-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.founder-title {
    font-size: 1.15rem;
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.founder-bio p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.founder-bio strong {
    color: var(--text-dark);
}

.founder-links {
    margin-top: 1.5rem;
}

.founder-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.founder-link:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: var(--card-shadow);
}

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

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

    .founder-content .section-tag {
        display: inline-block;
    }
}

/* Why Section */
.why-section {
    padding: 6rem 2rem;
    background: var(--light-bg);
    position: relative;
    overflow: hidden;
}

/* Section background decorations */
.section-bg-decorations {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.bg-pattern {
    width: 100%;
    height: 100%;
    opacity: 1;
}

.why-section .container {
    position: relative;
    z-index: 1;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.benefit-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.benefit-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow);
    border-color: var(--primary-green);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.benefit-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

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

/* Partnerships */
.partnerships {
    padding: 6rem 2rem;
    background: var(--white);
}

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

.partnership-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid var(--border-color);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}

.partnership-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.partnership-card:hover {
    border-color: var(--primary-green);
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

.partnership-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.partnership-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.partnership-scale {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--gradient-orange);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.partnership-card p {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.partnership-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.partnership-tags span {
    padding: 0.35rem 0.75rem;
    background: rgba(5, 150, 105, 0.1);
    color: var(--primary-green);
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Projects Section */
.projects {
    padding: 6rem 2rem;
    background: var(--light-bg);
}

.project-grid {
    display: grid;
    gap: 2rem;
}

.project-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}

.project-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.project-card:hover {
    box-shadow: var(--card-shadow-hover);
}

.project-header {
    padding: 2rem;
    color: var(--white);
}

.project-header.agriculture {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}

.project-header.health {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
}

.project-header.education {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
}

.project-category {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.project-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.project-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    font-size: 0.9rem;
}

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

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.project-body {
    padding: 2rem;
}

.project-body>p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.project-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.detail-col h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.detail-col ul {
    list-style: none;
}

.detail-col li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.detail-col li::before {
    content: '\2192';
    position: absolute;
    left: 0;
    color: var(--accent-orange);
    font-weight: 700;
}

/* Team Section */
.team {
    padding: 6rem 2rem;
    background: var(--white);
}

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

.team-card {
    background: var(--light-bg);
    padding: 2rem 1.5rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.team-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow);
    border-color: var(--primary-green);
}

.member-avatar {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fraunces', serif;
    font-size: 1.5rem;
    color: var(--white);
    font-weight: 700;
}

.team-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.member-role {
    display: block;
    font-size: 0.85rem;
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.member-focus {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.location-badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: rgba(249, 115, 22, 0.1);
    color: var(--accent-orange);
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
}

.location-badge.us {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

/* Location Section */
.location {
    padding: 3rem 2rem;
    background: var(--gradient-dark);
    color: var(--white);
}

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

.location-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.location-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.address-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.address-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.address-card p {
    line-height: 1.8;
    opacity: 0.95;
}

/* Blog Preview */
.blog-preview {
    padding: 6rem 2rem;
    background: var(--light-bg);
}

.blog-preview .blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.blog-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.blog-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

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

.blog-card .blog-image {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card .blog-image span {
    font-size: 3rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.blog-card .blog-content {
    padding: 1.5rem;
}

.blog-tag {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    background: rgba(5, 150, 105, 0.1);
    color: var(--primary-green);
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.blog-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.blog-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.read-more {
    color: var(--accent-orange);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--accent-orange-dark);
}

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

/* Collaborate Section */
.collaborate {
    padding: 6rem 2rem;
    background: var(--white);
}

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

.collaborate-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.collaborate-content>p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.collab-form {
    background: var(--light-bg);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    background: var(--white);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.collab-form .btn {
    width: 100%;
    margin-top: 0.5rem;
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 4rem 2rem 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-family: 'Fraunces', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
}

.footer-brand p {
    color: var(--text-light);
    margin-top: 0.75rem;
}

.footer-links h5,
.footer-contact h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-links a {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    padding: 0.35rem 0;
    transition: color 0.3s ease;
}

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

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

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

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

/* Responsive Design */
@media (max-width: 1024px) {

    .focus-grid,
    .partnership-grid,
    .blog-preview .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

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

@media (max-width: 768px) {

    .nav-links,
    .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 2rem;
        gap: 1rem;
        box-shadow: var(--card-shadow);
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        align-items: center;
    }

    .hero {
        padding-top: 0;
        padding-bottom: 0;
        background: #0f172a;
        /* Fallback/background color */
        flex-direction: column;
        align-items: stretch;
        min-height: auto;
        aspect-ratio: auto;
    }

    .hero-mobile-img {
        display: block;
        width: 100%;
        height: auto;
        /* Navbar is fixed, adding margin to push image below it */
        margin-top: 74px;
        /* approx nav height */
        object-fit: cover;
    }

    .hero-content {
        padding: 3rem 1.5rem;
        background: #0f172a;
        text-align: center;
    }

    .focus-grid,
    .partnership-grid,
    .benefits-grid,
    .blog-preview .blog-grid {
        grid-template-columns: 1fr;
    }

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

    .project-details {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Mobile fix for Active Projects images to prevent cropping */
    .project-card.silage-grading .project-header {
        background-color: #16a34a;
        background-size: cover, contain;
    }

    .project-card.crop-quality .project-header {
        background-color: #16a34a;
        background-size: cover, contain;
    }

    .project-card.telehealth-platform .project-header {
        background-color: #0284c7;
        background-size: cover, contain;
    }

    .project-card.agentic-platform .project-header {
        background-color: #ea580c;
        background-size: cover, contain;
    }

}

/* ==================== NEW PAGE STYLES ==================== */

/* Page Hero (for internal pages) */
.page-hero {
    padding: 10rem 2rem 4rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfeff 50%, #f0f9ff 100%);
    text-align: center;
}

.page-hero h1 {
    font-family: 'Fraunces', serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 1000px;
    margin: 0 auto;
}

/* Why Page - Larger Benefit Cards */
.why-page {
    padding-top: 0;
}

.benefits-large {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.benefit-card-large {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.benefit-card-large:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-4px);
}

.benefit-card-large .benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-card-large h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.benefit-card-large p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.benefit-details {
    list-style: none;
}

.benefit-details li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.benefit-details li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
}

/* Approach Section */
.approach-section {
    padding: 6rem 2rem;
    background: var(--white);
}

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

.approach-step {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-green);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.approach-step h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.approach-step p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    text-align: center;
}

.cta-content h2 {
    font-family: 'Fraunces', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-content h2 .gradient-text {
    background: linear-gradient(135deg, #fde047 0%, #fbbf24 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 900px;
    margin: 0 auto 2rem;
}

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

.cta-section .btn-primary {
    background: var(--white);
    color: var(--primary-green);
}

.cta-section .btn-primary:hover {
    background: #f0fdf4;
    transform: translateY(-3px);
}

.cta-section .btn-secondary {
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
}

.cta-section .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Founder Section for Team Page */
.founder-page {
    padding-top: 8rem;
}

.founder-page h1 {
    font-family: 'Fraunces', serif;
    font-size: 2.5rem;
}

/* Partner Hero */
.partner-hero {
    padding: 10rem 2rem 5rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfeff 50%, #f0f9ff 100%);
    position: relative;
    overflow: hidden;
}

.partner-hero-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.partner-hero h1 {
    font-family: 'Fraunces', serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.partner-hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Partnership Types */
.partnership-types {
    padding: 6rem 2rem;
    background: var(--white);
}

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

.partnership-type-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.partnership-type-card:hover {
    background: var(--white);
    box-shadow: var(--card-shadow);
    transform: translateY(-4px);
}

.type-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.partnership-type-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.partnership-type-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsive Styles for New Pages */
@media (max-width: 1024px) {
    .benefits-large {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 640px) {
    .page-hero h1 {
        font-size: 2rem;
    }

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

    .partnership-type-grid {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }

    .partner-hero h1 {
        font-size: 2rem;
    }
}

/* Move Mission Text Up */
#mission .section-header {
    margin-top: -4rem;
    position: relative;
    z-index: 10;
}

/* Mission Card Backgrounds */
.mission-card.social-impact {
    background: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)), url('images/social.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.mission-card.career-development {
    background: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)), url('images/talent.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.mission-card.social-impact p,
.mission-card.career-development p,
.mission-card.social-impact li,
.mission-card.career-development li {
    color: #000000 !important;
    font-weight: 700;
}

.focus-areas {
    padding-top: 2rem !important;
    /* Reduced from 6rem */
    padding-bottom: 0 !important;
}

.projects {
    padding-top: 2rem !important;
    padding-bottom: 0 !important;
}

/* Project Card Backgrounds */
.project-card.silage-grading .project-body {
    background: none;
}

.project-card.silage-grading .project-header {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('images/maize_silage.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.project-card.silage-grading .project-header h3,
.project-card.silage-grading .project-header .project-category,
.project-card.silage-grading .project-header .project-status {
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.project-card.crop-quality .project-header {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('images/maize_crop.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.project-card.crop-quality .project-header h3,
.project-card.crop-quality .project-header .project-category,
.project-card.crop-quality .project-header .project-status {
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.project-card.telehealth-platform .project-header {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('images/rural_telehealth.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.project-card.telehealth-platform .project-header h3,
.project-card.telehealth-platform .project-header .project-category,
.project-card.telehealth-platform .project-header .project-status {
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.project-card.agentic-platform .project-header {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('images/donor_track.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: calc(2rem + 15px);
    /* Added ~4mm to top */
    padding-bottom: calc(2rem + 15px);
    /* Added ~4mm to bottom */
}

.project-card.agentic-platform .project-header h3,
.project-card.agentic-platform .project-header .project-category,
.project-card.agentic-platform .project-header .project-status {
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* Partnership Card Header Images */
.partnership-card {
    padding: 0 !important;
    overflow: hidden;
}

.partnership-card-header {
    height: 200px;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.partnership-card-body {
    padding: 2rem;
}

.healthcare-partner .partnership-card-header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('images/rural_telehealth.webp');
}

.agriculture-partner .partnership-card-header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('images/crop_intel.webp');
}

.education-partner .partnership-card-header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('images/donor_track.webp');
}

/* Partnerships Page Specific Styles */
.hero-compact {
    padding-top: 6rem !important;
    padding-bottom: 2rem !important;
}

.partnerships-page .partnerships,
.partnerships-page .partnership-types,
.partnerships-page .collaborate,
.section-compact {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

/* Contact Page specific styles */
.contact-section .partnership-card {
    text-align: center;
}

/* Fix for Agentic AI Platform image cutting off heads on desktop */
@media (min-width: 769px) {
    .project-card.agentic-platform .project-header {
        padding-top: 4rem;
        padding-bottom: 10rem;
        /* background-position inherited as center from base style */
    }
}