/* microbiome.css - Custom styles for Microbiome Research page */

/* Root Variables */
:root {
  --primary-dark: #1b5e20;
  --primary-main: #2e7d32;
  --primary-light: #4caf50;
  --secondary-blue: #1a3c6e;
  --secondary-amber: #f59e0b;
  --light-gray: #f3f4f6;
  --primary-green: #3c8c40;
  --primary-blue: #003d73;
  --dark-text: #212529;
}

/* Base Styles */
body {
  font-family: 'Montserrat', sans-serif;
  color: var(--dark-text);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
}

/* Navigation Styles */
.navbar {
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar-brand {
  font-weight: 600;
  font-size: 1.5rem;
}

.navbar-brand span {
  color: var(--primary-main);
}

.nav-link {
  position: relative;
  padding: 0.5rem 1rem;
  margin: 0 0.25rem;
  color: #333;
  font-weight: 500;
}

.nav-link:after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-main);
  transition: width 0.3s ease;
}

.nav-link:hover:after {
  width: 100%;
}

.nav-link.active:after {
  width: 100%;
}

.navbar-scrolled {
  background-color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 0.5rem 0;
}

.sticky-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Hero Section */
.hero-section {
  background-color: var(--primary-blue);
  color: white;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

/* Button Styles */
.btn-primary {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
}

.btn-primary:hover {
  background-color: #2c6b30;
  border-color: #2c6b30;
}

.btn-outline-primary {
  color: var(--primary-green);
  border-color: var(--primary-green);
}

.btn-outline-primary:hover {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
}

/* Feature Icon */
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
  color: var(--primary-green);
  background-color: rgba(60, 140, 64, 0.1);
  border-radius: 50%;
}

/* Footer Styles */
.footer {
  background-color: #1d2330;
  color: #f8f9fa;
  padding: 40px 0 20px;
}

.footer i {
  color: #4caf50 !important;
  margin-bottom: 10px;
}

.footer p {
  color: #f8f9fa;
  font-size: 0.95rem;
}

.footer a {
  color: #f8f9fa;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: #4caf50;
}

/* Breadcrumb Section */
.breadcrumb-section {
  background-color: var(--light-gray);
  padding: 15px 0;
}

/* Project Card */
.project-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  height: 100%;
  transition: transform 0.3s;
  background-color: white;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-header {
  padding: 20px;
  background-color: var(--primary-blue);
  color: white;
}

.project-icon {
  width: 60px;
  height: 60px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--primary-blue);
  margin-right: 15px;
}

/* Publication Card */
.publication-card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: visible;
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
  background-color: white;
}

.publication-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.publication-card .card-body {
  padding: 1.5rem;
}

.publication-card p {
  text-align: justify;
  text-justify: inter-word;
}

/* Quote Section */
.quote-section {
  background-color: var(--primary-green);
  color: white;
  padding: 60px 0;
  position: relative;
}

.quote-section::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 50px;
  font-size: 150px;
  opacity: 0.1;
  font-family: 'Georgia', serif;
}

/* Approach Card */
.approach-card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  height: 100%;
  transition: transform 0.3s;
  overflow: hidden;
}

.approach-card:hover {
  transform: translateY(-5px);
}

.approach-icon {
  font-size: 2.5rem;
  color: var(--primary-green);
  margin-bottom: 15px;
}

.approach-header {
  background-color: var(--primary-blue);
  color: white;
  padding: 15px 20px;
}

/* Image Container */
.image-container {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.project-card:hover .image-container img {
  transform: scale(1.05);
}

/* Manuscript Badge */
.manuscript-badge {
  display: inline-block;
  background-color: #fff3cd;
  color: #856404;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}