:root {
    --bg-color: #0f172a;
    --text-color: #f1f5f9;
    --accent-color: #38bdf8;
    --accent-glow: rgba(56, 189, 248, 0.3);
    --secondary-color: #22c55e;
    /* Green for renewable vibe */
    --card-bg: #1e293b;
    --card-hover: #334155;
    --font-main: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --transition-speed: 0.3s;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 10;
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.05em;
    background: linear-gradient(135deg, #fff, var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 600;
    opacity: 0.8;
    transition: opacity var(--transition-speed);
}

.nav-links a:hover {
    opacity: 1;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    animation: pulse 10s infinite alternate;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.hero-content {
    max-width: 600px;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero h1 .highlight {
    color: var(--secondary-color);
    background: linear-gradient(120deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: #94a3b8;
    margin-bottom: 2.5rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--text-color);
    color: var(--bg-color);
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(255, 255, 255, 0.3);
}

/* Projects Section */
.projects-section {
    padding: 6rem 5%;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 300;
}

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

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

.project-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    background: var(--card-hover);
}

.card-image {
    height: 200px;
    background-color: #334155;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Gradients as placeholders for images */
.pv-image {
    background: linear-gradient(45deg, #ffb000, #ff9500);
}

.biomass-image {
    background: linear-gradient(45deg, #22c55e, #16a34a);
}

.card-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tag {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.project-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.project-card p {
    color: #94a3b8;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.card-arrow {
    align-self: flex-end;
    font-size: 1.5rem;
    transition: transform var(--transition-speed);
}

.project-card:hover .card-arrow {
    transform: translateX(5px);
    color: var(--accent-color);
}

/* Footer */
footer {
    padding: 4rem 5%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: #64748b;
}

.footer-contact {
    text-align: right;
    color: #64748b;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-contact {
        text-align: left;
    }
}

/* PV Info Styles (from pv-info.html) */
.details-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    margin-top: 2rem;
}

.data-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (min-width: 600px) {
    .data-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.data-item {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.data-label {
    font-size: 0.875rem;
    color: #94a3b8;
    margin-bottom: 0.25rem;
}

.data-value {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-color);
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
}

.header-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(45deg, #ffb000, #ff9500);
    border-radius: 16px 16px 0 0;
    margin: -2rem -2rem 2rem -2rem;
    width: calc(100% + 4rem);
}

.header-image2 {
    width: 100%;
    height: 200px;
    background: linear-gradient(45deg, #22c55e, #16a34a);
    border-radius: 16px 16px 0 0;
    margin: -2rem -2rem 2rem -2rem;
    width: calc(100% + 4rem);
}

.section-subtitle {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

/* Team Page Styles (from team.html) */
.person-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform var(--transition-speed);
    display: flex;
    flex-direction: column;
    /* Stack image and content */
    max-width: 400px;
    margin: 0 auto;
}

.person-card:hover {
    transform: translateY(-5px);
    background: var(--card-hover);
}

.person-image {
    height: 300px;
    background: linear-gradient(to bottom, #cbd5e1, #94a3b8);
    /* Placeholder */
    background-size: cover;
    background-position: center;
}

.person-details {
    padding: 2rem;
}

.person-name {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.person-title {
    color: var(--accent-color);
    font-size: 1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.person-info p {
    margin-bottom: 0.5rem;
    color: #94a3b8;
}

.person-passions {
    margin-top: 1.5rem;
}

.person-passions h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.person-passions ul {
    list-style: none;
    padding: 0;
}

.person-passions li {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.875rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    color: #e2e8f0;
}

.project-link {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--accent-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.project-link:hover {
    border-color: var(--accent-color);
}

/* Responsive adjustment for team layout if needed */
@media (min-width: 768px) {
    .person-card {
        flex-direction: row;
        max-width: 800px;
    }

    .person-image {
        width: 40%;
        height: auto;
    }

    .person-details {
        width: 60%;
    }
}