:root {
  --color-white: #FFFFFF;
  --color-green-dark: #293b15;
  --color-brown: #441e0e;
  --color-green-medium: #5c8a27;
  --color-green-light: #8fac75;
}

body {
  font-family: 'Montserrat', sans-serif;
}

/* Header y Navegación */
header {
  background-color: var(--color-white);
  padding: 0.5rem 0;
}

.navbar-brand .logo {
  height: 100px;
}

.navbar-nav {
  margin-left: 2rem;
  align-items: center;
}

.nav-item {
  position: relative;
  margin: 0 0.5rem;
}

.nav-link {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700 !important;
  color: #293b15 !important;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #441e0e !important;
}

.nav-link.active {
  color: #293b15 !important;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #293b15;
}

/* Dropdown Menu */
.dropdown-menu {
  border: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 0.5rem;
}

.dropdown-item {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  padding: 0.5rem 1rem;
  color: var(--color-green-dark);
  transition: all 0.3s ease;
}

.dropdown-item:hover {
  background-color: #c3cfb8;
  color: var(--color-green-dark);
}

.dropdown-toggle::after {
  vertical-align: middle;
}

/* Hero Section */
.hero-section {
  background-color: #c3cfb8;
  padding: 4rem 0;
  min-height: 400px;
  display: flex;
  align-items: center;
}

.hero-section img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
}

.hero-section .main-heading {
  color: #293b15;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 4rem;
}

.hero-section .sub-heading {
  color: #5c8a27;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  margin-bottom: 2rem;
  font-size: 3rem;
  line-height: 1.2;
}

.hero-section .lead {
  color: #441e0e;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  font-size: 1.5rem;
}

/* Plague Cards */
.plague-card {
  background-color: var(--color-white);
  border-radius: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  margin-bottom: 2rem;
  overflow: hidden;
}

.plague-card:hover {
  transform: translateY(-5px);
}

.plague-card-body {
  padding: 1rem;
  text-align: center;
}

.plague-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.plague-card h3 {
  color: var(--color-green-dark);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.plague-card p {
  color: var(--color-brown);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.btn-read-more {
  display: inline-block;
  background-color: transparent;
  border: 1px solid #5c8a27;
  color: #5c8a27;
  padding: 0.5rem 2rem;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-read-more:hover {
  background-color: #8fac75;
  border-color: #8fac75;
  color: var(--color-white);
}

/* Footer */
footer {
  background-color: #8fac75;
  padding: 3rem 0;
  margin-top: 2rem;
}

.footer-logo {
  height: 160px;
  margin-bottom: 1.5rem;
}

footer .nav-link {
  color: var(--color-white);
}

footer .nav-link:hover {
  color: var(--color-green-dark);
}

.privacy-link {
  color: var(--color-white);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.privacy-link:hover {
  color: var(--color-green-dark);
}

footer p {
  color: var(--color-white);
}

footer .contact-form {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-height: 160px;
}

footer .form-group {
  margin-bottom: 0.25rem;
}

footer label {
  display: block;
  color: var(--color-green-dark);
  font-size: 1rem;
  margin-bottom: 0.1rem;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
}

footer .form-control {
  border: 1px solid rgba(255,255,255,0.2);
  background-color: rgba(255,255,255,0.1);
  padding: 0.3rem 0.4rem;
  font-family: 'Montserrat', sans-serif;
  color: var(--color-white);
  font-size: 0.95rem;
  height: 1.8rem;
  width: 100%;
}

footer textarea.form-control {
  flex: 1;
  height: auto;
  min-height: 50px;
  resize: none;
}

footer .form-control::placeholder {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
}

footer .btn-read-more {
  width: 100%;
  text-align: center;
  background-color: var(--color-green-dark);
  border-color: var(--color-green-dark);
  color: var(--color-white);
  padding: 0.4rem;
  font-size: 0.9rem;
  margin-top: 0.25rem;
  font-family: 'Montserrat', sans-serif;
}

footer .btn-read-more:hover {
  background-color: var(--color-green-medium);
  border-color: var(--color-green-medium);
}

/* Responsive */
@media (max-width: 1200px) {
  .plaga-banner {
    width: 90%;
  }
}

@media (max-width: 991px) {
  .navbar-nav {
    margin-left: 0;
    padding-top: 1rem;
  }
  
  .nav-link.active::after {
    bottom: 0;
  }
  
  .hero-section {
    padding: 2rem 0;
  }
  
  .hero-section img {
    height: 300px;
    margin-bottom: 2rem;
  }
  
  .footer-logo {
    height: 120px;
    margin: 2rem 0;
  }

  .dropdown-menu {
    border: none;
    background-color: transparent;
    box-shadow: none;
  }
}

@media (max-width: 768px) {
  .hero-section {
    text-align: center;
  }
  
  .hero-section .main-heading {
    font-size: 3rem;
  }
  
  .hero-section .sub-heading {
    font-size: 2rem;
  }
  
  .hero-section .lead {
    font-size: 1.25rem;
  }
  
  .footer form {
    margin-top: 2rem;
  }
  
  .plague-card {
    margin-bottom: 1rem;
  }
}