/* 
  ╔═══════════════════════════════════════════════════════════════╗
  ║                                                               ║
  ║      ██╗  █████╗       ██╗  ██╗ █████╗ ██╗    ██╗██╗  ██╗     ║
  ║      ██║ ██╔═══██╗     ██║  ██║██╔══██╗██║    ██║██║ ██╔╝     ║
  ║      ██║ ██║   ██║     ███████║███████║██║ █╗ ██║█████╔╝      ║
  ║ ██   ██║ ██║   ██║     ██╔══██║██╔══██║██║███╗██║██╔═██╗      ║
  ║ ╚█████╔╝ ╚██████╔╝     ██║  ██║██║  ██║╚███╔███╔╝██║  ██╗     ║
  ║  ╚════╝   ╚═════╝      ╚═╝  ╚═╝╚═╝  ╚═╝ ╚══╝╚══╝ ╚═╝  ╚═╝     ║
  ║                                                               ║
====================================================================
  ║    Developer: JO HAWK                                         ║
  ║    Website: https://johawk.in/                                ║
  ║    Version: 1.0                                               ║
  ║    Date: 19 OCT 2025                                          ║
  ║    Client: Biophile Technologies                              ║
====================================================================
  ║    (c) 2025 | All coding & designing rights reserved          ║
  ║               to Jo Hawk (aka) Jishnu Omanakuttan             ║
  ╚═══════════════════════════════════════════════════════════════╝
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Color Variables */
:root {
    --primary-green: #2A7F4D;
    --light-green: #8FCB9B;
    --earth-brown: #B38E5D;
    --dark-green: #1a5a35;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --dark-gray: #495057;
    --white: #ffffff;
    --black: #000000;
}

/* Button Styles */
.btn-primary {
    display: inline-block;
    background-color: var(--primary-green);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.btn-primary:hover {
    background-color: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(42, 127, 77, 0.3);
}

.btn-secondary {
    display: inline-block;
    background-color: var(--primary-green);
    color: var(--white);
    padding: 10px 25px;
    border: 2px solid var(--primary-green);
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 14px;
}

.btn-secondary:hover {
    background-color: var(--dark-green);
}

.btn-link {
    color: var(--primary-green);
    font-weight: 500;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.btn-link:hover {
    color: var(--dark-green);
}

/* Header and Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.transparent-nav {
    background-color: rgba(0, 0, 0, 0.1);
    box-shadow: none;
}

.header.transparent-nav .nav-menu a {
    color: var(--white);
}

.header.transparent-nav .nav-menu a.active,
.header.transparent-nav .nav-menu a:hover {
    color: var(--white);
}

.header.transparent-nav .hamburger span {
    background-color: var(--white);
}

.header.transparent-nav.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header.transparent-nav.scrolled .nav-menu a {
    color: var(--dark-gray);
}

.header.transparent-nav.scrolled .nav-menu a.active,
.header.transparent-nav.scrolled .nav-menu a:hover {
    color: var(--primary-green);
}

.header.transparent-nav.scrolled .hamburger span {
    background-color: var(--primary-green);
}

.nav {
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo a {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-green);
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

.nav-menu {
    margin-left: auto;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a.active,
.nav-menu a:hover {
    color: var(--primary-green);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-green);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-green);
    transition: all 0.3s ease;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
}

.search-icon {
    cursor: pointer;
    font-size: 18px;
    color: var(--dark-gray);
    transition: color 0.3s ease;
}

.search-icon:hover {
    color: var(--primary-green);
}

.header.transparent-nav .search-icon {
    color: var(--white);
}

.header.transparent-nav .search-icon:hover {
    color: var(--white);
    opacity: 0.8;
}

.header.transparent-nav.scrolled .search-icon {
    color: var(--dark-gray);
}

.header.transparent-nav.scrolled .search-icon:hover {
    color: var(--primary-green);
}

.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 2000;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-container {
    position: relative;
    width: 90%;
    max-width: 500px;
}

.search-container form {
    position: relative;
}

.search-container input {
    width: 100%;
    padding: 15px 80px 15px 15px;
    font-size: 18px;
    border: none;
    border-radius: 25px;
    outline: none;
    background-color: white;
}

.search-submit {
    position: absolute;
    top: 50%;
    right: 50px;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 18px;
    color: #333;
    cursor: pointer;
}

.search-close {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
}

.nav-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.nav-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-size: 28px;
    font-weight: 500;
    padding: 15px 20px;
    display: block;
    transition: all 0.3s ease;
    border-radius: 10px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-green);
    background-color: rgba(255, 255, 255, 0.1);
    text-shadow: none;
}

.nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 36px;
    color: var(--white);
    cursor: pointer;
    transition: color 0.3s ease;
}

.nav-close:hover {
    color: var(--primary-green);
}

/* Hero Sections */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
    z-index: 1;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 40px 30px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.6) 100%);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.slide-content h1 {
    font-size: 36px;
    margin-bottom: 15px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
}

.slide-content p {
    font-size: 18px;
    margin-bottom: 25px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    line-height: 1.4;
}

.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 3;
}

.slider-controls button {
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    color: var(--primary-green);
    transition: all 0.3s ease;
}

.slider-controls button:hover {
    background-color: var(--white);
    transform: scale(1.1);
}

.hero-single {
    position: relative;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    color: var(--white);
    z-index: 2;
    position: relative;
}

.hero-content h1 {
    font-size: 42px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 18px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

/* Main Content Sections */
section {
    padding: 80px 0;
}

.overview, .mission, .vision, .theme, .impact, .cta, .updates, .partner-categories, .case-studies, .collaboration, .opportunities, .resources-section, .blog-section {
    padding: 80px 0;
}

.overview {
    background-color: var(--light-gray);
}

.mission, .vision, .theme {
    background-color: var(--white);
}

.theme {
    background-color: var(--light-gray);
}

.impact {
    background-image: url('../img/rootCS.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    position: relative;
}

.impact::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(42, 127, 77, 0.7);
    z-index: 1;
}

.cta {
    background-color: var(--earth-brown);
    color: var(--white);
    text-align: center;
}

.updates {
    background-color: var(--white);
}

.partner-categories {
    background-color: var(--light-gray);
}

.case-studies {
    background-color: var(--white);
}

.collaboration {
    background-color: var(--light-gray);
}

.opportunities {
    background-color: var(--white);
}

.resources-section {
    background-color: var(--white);
}

.resources-section.alt-bg {
    background-color: var(--light-gray);
}

.blog-section {
    background-color: var(--white);
}

.form-section {
    background-color: var(--white);
}

.form-section.alt-bg {
    background-color: var(--light-gray);
}

/* Typography */
h1 { font-size: 42px; }
h2 { font-size: 36px; margin-bottom: 30px; }
h3 { font-size: 24px; margin-bottom: 15px; }
h4 { font-size: 20px; margin-bottom: 12px; }
p { margin-bottom: 20px; }

blockquote {
    font-style: italic;
    font-size: 18px;
    border-left: 4px solid var(--primary-green);
    padding-left: 20px;
    margin: 30px 0;
}

/* Overview Section */
.overview h2 {
    text-align: center;
    margin-bottom: 40px;
}

.overview p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 20px;
    text-align: center;
}

/* Services Section */
.services h2 {
    text-align: center;
    margin-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.service-card h3 {
    padding: 20px 20px 10px;
    color: var(--primary-green);
}

.service-card p {
    padding: 0 20px 20px;
}

.service-card ul {
    padding: 0 20px 20px;
    margin: 0;
    list-style: none;
}

.service-card li {
    padding: 5px 0;
    border-bottom: 1px solid var(--light-gray);
}

.service-card li:last-child {
    border-bottom: none;
}

.service-card a {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background-color: var(--primary-green);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 5px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-card a:hover {
    background-color: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(42, 127, 77, 0.3);
}


/* Impact Section */
.impact {
    position: relative;
    overflow: hidden;
}

.impact::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 200px;
    color: rgba(138, 203, 155, 0.1);
    z-index: 1;
    animation: float 3s ease-in-out infinite;
}

.impact h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--white);
    position: relative;
    z-index: 2;
}

.service-overview {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

.service-overview h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.service-overview p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--white);
}

.service-overview .btn-primary {
    margin-top: 20px;
    background-color: var(--earth-brown);
    border: 2px solid var(--earth-brown);
}

.service-overview .btn-primary:hover {
    background-color: #8B6B47;
    border-color: #8B6B47;
}

@keyframes float {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
    }
}

/* CTA Section */
.cta h2 {
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 30px;
}

/* Updates Section */
.updates h2 {
    text-align: center;
    margin-bottom: 50px;
}

.updates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.update-card {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.update-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.update-card h3 {
    padding: 20px 20px 10px;
    color: var(--primary-green);
}

.update-card p {
    padding: 0 20px 20px;
}

.update-card a {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background-color: var(--primary-green);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 5px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.update-card a:hover {
    background-color: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(42, 127, 77, 0.3);
}


/* Mission/Vision Sections */
.mission h2, .vision h2 {
    text-align: center;
    margin-bottom: 40px;
}

.mission p, .vision p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 20px;
}

/* Theme Section */
.theme h2 {
    text-align: center;
    margin-bottom: 40px;
}

.theme p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}

.theme-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.theme-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.theme-item h3 {
    color: var(--primary-green);
    margin-bottom: 15px;
}

/* Team Section */
.team h2 {
    text-align: center;
    margin-bottom: 20px;
}

.team p {
    text-align: center;
    font-size: 18px;
    margin-bottom: 50px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    text-align: center;
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    display: block; 
    margin-left: auto; 
    margin-right: auto; 
}

.team-member h3 {
    color: var(--primary-green);
    margin-bottom: 5px;
}

.team-member p {
    color: var(--dark-gray);
    font-size: 14px;
}

/* Values Section */
.values h2 {
    text-align: center;
    margin-bottom: 50px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value {
    text-align: center;
    padding: 30px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.value h3 {
    color: var(--primary-green);
    margin-bottom: 15px;
}

/* Tabs Section */
.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    border-bottom: 1px solid var(--medium-gray);
}

.tab-button {
    background: none;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.tab-button.active {
    color: var(--primary-green);
    border-bottom-color: var(--primary-green);
}

.tab-button:hover {
    color: var(--primary-green);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.work-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.work-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 20px;
}

.work-item h3 {
    color: var(--primary-green);
    margin-bottom: 15px;
}

.training-offerings {
    margin-top: 40px;
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
}

.training-offerings h3 {
    color: var(--primary-green);
    margin-bottom: 20px;
}

.training-offerings ul {
    list-style: none;
    padding: 0;
}

.training-offerings li {
    padding: 8px 0;
    border-bottom: 1px solid var(--medium-gray);
}

.training-offerings li:last-child {
    border-bottom: none;
}

/* Partner Categories */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.category-card {
    text-align: center;
    padding: 30px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.category-card h3 {
    color: var(--primary-green);
    margin-bottom: 15px;
}

/* Partner Logos Carousel */
.partner-logos {
    background-color: var(--white);
    padding: 80px 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    justify-items: center;
}

.partners-grid .partner-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.partners-grid .partner-logo img {
    max-width: 150px;
    height: auto;
}

.carousel-container {
    position: relative;
    overflow: hidden;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    flex: 0 0 200px;
    margin: 0 15px;
}

.partner-logo {
    text-align: center;
    padding: 20px;
    background-color: var(--light-gray);
    border-radius: 10px;
}

.partner-logo img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

.partner-logo p {
    font-size: 14px;
    color: var(--dark-gray);
}

.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary-green);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
}

.carousel-prev {
    left: -20px;
}

.carousel-next {
    right: -20px;
}

.carousel-prev:hover, .carousel-next:hover {
    background-color: var(--dark-green);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial {
    background-color: var(--dark-green);
    color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--primary-green);
}

.testimonial blockquote {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--white);
}

.testimonial cite {
    font-style: normal;
    color: var(--light-green);
    font-weight: 500;
}

/* Collaboration */
.opportunities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.opportunity {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.opportunity h3 {
    color: var(--primary-green);
    margin-bottom: 15px;
}

.cta-box {
    background-color: var(--primary-green);
    color: var(--white);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
}

.cta-box.light {
    background-color: var(--light-gray);
    color: var(--dark-gray);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--medium-gray);
}

.cta-box h3 {
    margin-bottom: 15px;
}

.cta-box p {
    margin-bottom: 25px;
}

/* Forms */
.form-section h2 {
    text-align: center;
    margin-bottom: 20px;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h2 {
    color: var(--primary-green);
    margin-bottom: 15px;
}

.form-header p {
    font-size: 18px;
}

.contact-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-gray);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--medium-gray);
    border-radius: 5px;
    font-size: 16px;
    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);
    box-shadow: 0 0 0 2px rgba(42, 127, 77, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Opportunities Cards */
.opportunities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.opportunity-card {
    text-align: center;
    background-color: var(--white);
    padding: 30px 30px 50px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.opportunity-card h3 {
    color: var(--primary-green);
    margin-bottom: 15px;
}

.opportunity-card a {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

/* Resources */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.resource-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
}

.resource-card:hover {
    transform: translateY(-5px);
}

.resource-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.resource-card h3 {
    padding: 20px 20px 10px;
    color: var(--primary-green);
}

.resource-card p {
    padding: 0 20px 20px;
}

.resource-card a {
    display: block;
    margin: 10px 20px 20px;
    background-color: var(--primary-green);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 5px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.papers-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.paper-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--primary-green);
}

.paper-item h3 {
    color: var(--primary-green);
    margin-bottom: 15px;
}

.paper-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--dark-gray);
}

.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.material-category h3 {
    color: var(--primary-green);
    margin-bottom: 20px;
}

.material-category ul {
    list-style: none;
    padding: 0;
}

.material-category li {
    margin-bottom: 10px;
}

.material-category a {
    color: var(--dark-gray);
    transition: color 0.3s ease;
}

.material-category a:hover {
    color: var(--primary-green);
}

/* Coming Soon Section */
.coming-soon {
    background-color: var(--light-gray);
    padding: 80px 0;
}

.coming-soon-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.coming-soon-icon {
    font-size: 64px;
    color: var(--primary-green);
    margin-bottom: 30px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.coming-soon h2 {
    color: var(--primary-green);
    margin-bottom: 30px;
    font-size: 32px;
}

.coming-soon p {
    font-size: 18px;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.teaser-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.teaser-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.teaser-item:hover {
    transform: translateY(-5px);
}

.teaser-icon {
    font-size: 48px;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.teaser-item h3 {
    color: var(--primary-green);
    margin-bottom: 15px;
}

.teaser-item p {
    color: var(--dark-gray);
    line-height: 1.6;
}

.coming-soon-message {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.coming-soon-message p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.6;
}

.coming-soon-message strong {
    color: var(--primary-green);
}

/* Blog */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.blog-post {
    display: flex;
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-5px);
}

.blog-post img {
    width: 150px;
    height: 150px;
    object-fit: cover;
}

.blog-content {
    padding: 20px;
    flex: 1;
}

.blog-content h3 {
    color: var(--primary-green);
    margin-bottom: 10px;
    font-size: 18px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.newsletter-signup {
    background-color: var(--light-gray);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
}

.newsletter-signup h3 {
    color: var(--primary-green);
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
    max-width: 400px;
    margin: 0 auto;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: 1px solid var(--medium-gray);
    border-radius: 5px;
}

/* Address and Map Section */
.address-map {
    background-color: var(--light-gray);
    padding: 80px 0;
}

.address-map-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: stretch;
}

.address-card {
    background-color: var(--earth-brown);
    color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.address-icon {
    font-size: 48px;
    color: var(--white);
    margin-bottom: 20px;
}

.address-details {
    text-align: left;
    margin-bottom: 30px;
    flex-grow: 1;
}

.address-details p {
    margin-bottom: 8px;
    line-height: 1.6;
}

.map-container {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    height: 100%;
    min-height: 300px;
}

.map-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    pointer-events: none;
}

.marker-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    min-height: 300px;
}

/* Footer */
.footer {
    background-color: var(--dark-green);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: var(--light-green);
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--light-green);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: var(--primary-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: transparent;
    border: 2px solid white;
    transform: scale(1.1);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-green);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--dark-green);
    transform: scale(1.1);
}

/* Loading Animation */
.loading {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-results {
    padding: 80px 0;
}

.search-results h1 {
    text-align: center;
    margin-bottom: 30px;
}

.search-bar {
    max-width: 500px;
    margin: 0 auto 40px;
    text-align: center;
}

.search-bar form {
    position: relative;
    display: inline-block;
    width: 100%;
}

.search-bar input {
    width: 100%;
    padding: 15px 50px 15px 15px;
    font-size: 18px;
    border: 2px solid var(--medium-gray);
    border-radius: 25px;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-bar input:focus {
    border-color: var(--primary-green);
}

.search-bar .search-submit {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 18px;
    color: var(--primary-green);
    cursor: pointer;
    transition: color 0.3s ease;
}

.search-bar .search-submit:hover {
    color: var(--dark-green);
}

.search-query {
    text-align: center;
    margin-bottom: 50px;
    font-size: 18px;
}

#results-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.search-result-item {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.search-result-item:hover {
    transform: translateY(-5px);
}

.search-result-item h3 {
    color: var(--primary-green);
    margin-bottom: 10px;
}

.search-result-item p {
    margin-bottom: 10px;
    line-height: 1.5;
}

.search-result-item a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.search-result-item a:hover {
    color: var(--dark-green);
}

/* Floating Cache Clear Button */
.floating-cache-btn {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background-color: var(--primary-green);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 18px;
    opacity: 1;
    visibility: visible;
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-cache-btn:hover {
    background-color: var(--dark-green);
    transform: scale(1.1);
}

/* Responsive Design will be in responsive.css */