:root {
  --primary-color: #026937;
  --primary-light: #35944b;
  --secondary-color: #43b649;
  --accent-color: #8dc63f;
  --accent-light: #3ebdac;
  --accent-dark: #069a7e;
  --dark-teal: #0e7774;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(2, 105, 55, 0.1);
}

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  margin: 0;
  padding: 0;
  color: var(--text-color);
  background-color: #f5f5f7;
}

.page-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../resources/images/train-6485753_1280.jpg') no-repeat center center fixed;
  background-size: cover;
  filter: brightness(0.3);
  z-index: -1;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #000;
  z-index: 1000;
  padding: 1rem 0;
}

.header-text {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 500;
  text-align: right;
  padding-right: 2rem;
  letter-spacing: -0.5px;
}

.title-container {
  margin-top: 3.5rem;
  text-align: center;
  margin-bottom: 2rem;
}

.title {
  margin: 0;
  padding: 0;
  line-height: 1.2;
}

.title-primary {
  display: block;
  background-color: var(--primary-color);
  color: var(--white);
  font-size: 3.5rem;
  font-weight: 700;
  padding: 2rem;
}

.title-secondary {
  display: block;
  background-color: var(--primary-light);
  color: var(--white);
  font-size: 2.8rem;
  font-weight: 600;
  padding: 2rem;
}

.container {
  max-width: 960px;
  margin: 2rem auto;
  background: rgba(255, 255, 255, 0.95);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(2, 105, 55, 0.1);
}

p {
  text-align: justify;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #1d1d1f;
  margin-bottom: 1.5rem;
}

li {
  text-align: justify;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #1d1d1f;
  margin-bottom: 1.5rem;
}

.quote-card {
  position: relative;
  width: 600px;
  height: 300px;
  background: linear-gradient(-45deg, var(--primary-color) 0%, var(--dark-teal) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  margin: 2rem auto 4rem auto;
  cursor: pointer;
}

.quote-card:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.quote-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.pexels.com/photos/3769138/pexels-photo-3769138.jpeg') center/cover;
  opacity: 0.3;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.quote-card__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  padding: 2rem;
  box-sizing: border-box;
  background-color: rgba(255, 255, 255, 0.95);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  display: flex;
  flex-direction: column;
  justify-content: auto;
  overflow: auto;
}

.quote-card:hover .quote-card__content {
  opacity: 1;
}

.quote-card__text {
  font-size: 1.4rem;
  line-height: 1.6;
  font-weight: 300;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 1rem;
}

.quote-card__author {
  font-size: 1rem;
  color: var(--text-light);
  text-align: right;
  font-style: italic;
}

.quote-card__front {
  color: var(--white);
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  z-index: 1;
  transition: opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.quote-card:hover .quote-card__front {
  opacity: 0;
}

.custom-button {
  font-family: inherit;
  font-size: 20px;
  background: var(--primary-color);
  color: white;
  padding: 1em 2em;
  display: flex;
  align-items: center;
  gap: 0.5em;
  cursor: pointer;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(2, 105, 55, 0.2);
}

.custom-button1 {
  font-family: inherit;
  font-size: 20px;
  background: var(--accent-light);
  color: rgb(255, 255, 255);
  padding: 1em 2em;
  display: flex;
  align-items: center;
  gap: 0.5em;
  cursor: pointer;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(2, 105, 55, 0.2);
}

.custom-button:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 105, 55, 0.3);
}

.custom-button1:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 105, 55, 0.3);
}

.custom-button:active {
  transform: translateY(1px);
}

.custom-button1:active {
  transform: translateY(1px);
}

.custom-button::before {
  content: "🚀";
  font-size: 1.5em;
}

.custom-button1::before {
  content: "📓";
  font-size: 1.5em;
}

footer {
  width: 100%;
  background-color: #000;
  color: var(--white);
  padding: 3rem 0;
  margin-top: 4rem;
  text-align: center;
}

footer .footer-title {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--white);
}

footer p {
  text-align: center;
  color: #86868b;
  margin: 0.5rem 0;
  font-size: 0.9rem;
}

footer a {
  color: var(--accent-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--white);
}

@media (max-width: 768px) {
  .title-primary,
  .title-secondary {
    font-size: 2rem;
    padding: 1.5rem;
    
  }
    .button-container {
    flex-direction: column;
    align-items: center;
  }
  
  .button-container button
  
  .container {
    padding: 2rem;
    margin: 2rem 1rem;
  }
  
  .quote-card__text {
    font-size: 1.2rem;
  }
}

.button-container {
  display: flex;
  justify-content: center; /* Centra los botones horizontalmente */
  gap: 1rem; /* Espacio entre los botones */
  flex-wrap: wrap; /* Opcional: hace que se ajusten en pantallas pequeñas */
}

.spreadsheet-button {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.spreadsheet-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(2, 105, 55, 0.2);
    color: white !important;
}

.image-container {
    display: flex;
    flex-direction: column;
    align-items: center;        /* Centra los elementos internos */
    justify-content: center;    /* Centra verticalmente si hay altura definida */
    margin: 2rem auto;          /* Centra el contenedor horizontalmente */
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    max-width: 800px;           /* Limita el ancho total */
    width: 100%;
}

.full-width-image {
    width: 75%; /* Puedes ajustar: 100% para ancho completo del contenedor */
    max-width: 500px; /* Limita el tamaño para que no se vea enorme */
    height: auto;
    border-radius: 8px;
}


.nav-bar a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-bar a:hover {
    color: var(--primary-light);
}

.nav-bar {
  display: flex;
  justify-content: space-between; /* Distribuye los hijos a izquierda y derecha */
  align-items: center; /* Centra verticalmente */
  padding: 0 1rem; /* Ajusta si necesitas espaciado interno */
}