/* Variables de colores */
:root {
  --flm-blue: #1aabe2;
  --flm-red: #f26522;
  --flm-green: #8cc63f;
  --flm-dark: #333333;
  --flm-light-bg: #e8f4f8;
  --flm-white: #ffffff;
  --flm-gray: #666666;
  --flm-light-gray: #f4f9fc;
}

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

body {
  font-family: "Visby Round CF", sans-serif; /* Cambiado para usar la fuente desde el CDN */
  color: var(--flm-dark);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(to bottom right, var(--flm-light-bg), var(--flm-light-gray));
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background-color: var(--flm-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 15px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 60px;
  width: auto;
}

.language-selector {
  display: flex;
  gap: 20px;
}

.language-link {
  color: var(--flm-gray);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.language-link:hover {
  color: var(--flm-blue);
}

/* Main content */
main {
  flex: 1;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero {
  text-align: center;
  margin-bottom: 50px;
}

h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--flm-dark);
}

.subtitle {
  font-size: 16px;
  color: var(--flm-gray);
  max-width: 600px;
  margin: 0 auto;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 900px;
  width: 100%;
  margin-bottom: 40px;
}

.service-card {
  display: flex;
  align-items: center;
  background-color: var(--flm-white);
  border-radius: 12px;
  padding: 20px;
  text-decoration: none;
  color: var(--flm-dark);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.icon-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
}

.icon-circle i {
  color: white;
  font-size: 20px;
}

.blue {
  background-color: var(--flm-blue);
}

.orange {
  background-color: var(--flm-red);
}

.green {
  background-color: var(--flm-green);
}

.service-content {
  flex: 1;
}

.service-content h2 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.service-content p {
  font-size: 14px;
  color: var(--flm-gray);
}

.card-arrow {
  color: var(--flm-blue);
  font-size: 16px;
}

/* Donate button */
.donate-container {
  margin-top: 30px;
}

.donate-button {
  display: inline-flex;
  align-items: center;
  background-color: var(--flm-green);
  color: white;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.donate-button:hover {
  background-color: #7ab235;
}

.donate-button i {
  margin-left: 8px;
}

/* Footer */
footer {
  background-color: var(--flm-dark);
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 14px;
}

/* Media queries */
@media (min-width: 768px) {
  h1 {
    font-size: 36px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .language-selector {
    display: none;
  }

  .header-container {
    justify-content: center;
  }
}
