:root {
  --primary-color: #420099; /* Celeste argentino */
  --secondary-color: #d4af37; /* Dorado */
  --accent-color: #c1121f; /* Rojo */
  --white: #ffffff;
  --light-gray: #f4f4f4;
  --dark-gray: #333333;
  --font-family-headings: "Montserrat", sans-serif;
  --font-family-body: "Open Sans", sans-serif;
}

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

body {
  font-family: var(--font-family-body);
  line-height: 1.6;
  color: var(--dark-gray);
  overflow-x: hidden;
}

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

/* Utility Classes */
.section-title {
  font-family: var(--font-family-headings);
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: 2.5rem;
  color: var(--primary-color);
  position: relative;
  font-weight: 700;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--secondary-color);
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-family: var(--font-family-headings);
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #00285a;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 52, 115, 0.3);
}

/* Header Styles */
header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo-icon {
  width: 100%;
  max-width: 150px;
  display: flex;
  height: 74px;
}

.logo-icon img {
  width: 100%;
}

.logo h1 {
  font-family: var(--font-family-headings);
  font-size: 1.5rem;
  color: var(--primary-color);
  font-weight: 700;
}

nav .nav-menu {
  display: flex;
  list-style: none;
}

nav .nav-menu li {
  margin-left: 30px;
}

nav .nav-menu li a {
  text-decoration: none;
  color: var(--dark-gray);
  font-family: var(--font-family-headings);
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
}

nav .nav-menu li a:hover {
  color: var(--primary-color);
}

.menu-toggle {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
}

.menu-toggle .bar {
  height: 3px;
  width: 100%;
  background-color: var(--primary-color);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Hero Section */
#hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, #001a36 100%);
  color: var(--white);
  position: relative;
  padding: 100px 0 120px;
}

.hero-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.hero-content h2 {
  font-family: var(--font-family-headings);
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
}

/* Valores Section */
#valores {
  padding: 80px 0;
  background-color: var(--white);
}

.valores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.valor-card {
  background-color: var(--light-gray);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.valor-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.valor-card .icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
}

.valor-card h3 {
  font-family: var(--font-family-headings);
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

/* Propuestas Section */
#propuestas {
  padding: 80px 0;
  background-color: var(--light-gray);
}

.propuestas-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.propuesta-card {
  background-color: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.propuesta-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background-color: var(--primary-color);
}

.propuesta-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.propuesta-card h3 {
  font-family: var(--font-family-headings);
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

/* Equipo Section */
#equipo {
  padding: 80px 0;
  background-color: var(--white);
}

.equipo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.miembro-card-candidatos {
  overflow: hidden;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.miembro-card-candidatos img {
  width: 100%;
  height: auto;
}

.miembro-card-info {
  background-color: var(--light-gray);
  text-align: center;
  padding: 20px;
}

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

.miembro-puesto {
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: 15px;
}

/* Contacto Section */
#contacto {
  padding: 80px 0;
  background-color: var(--light-gray);
}

.contacto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
}

.contacto-info h3 {
  font-family: var(--font-family-headings);
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 600;
}

.contacto-info p {
  margin-bottom: 30px;
}

.contacto-detalle {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.contacto-detalle svg {
  width: 24px;
  height: 24px;
  margin-right: 15px;
}

.redes-sociales {
  display: flex;
  margin-top: 30px;
}

.red-social {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--white);
  margin-right: 15px;
  transition: all 0.3s ease;
}

.red-social:hover {
  background-color: var(--primary-color);
}

.red-social:hover svg path {
  fill: var(--white);
}

.red-social svg {
  width: 20px;
  height: 20px;
}

.contacto-form {
  background-color: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: var(--dark-gray);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: var(--font-family-body);
}

.form-group textarea {
  resize: vertical;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo img {
  width: 100%;
  height: auto;
  max-width: 200px;
  margin-right: 10px;
}

.footer-links ul {
  display: flex;
  list-style: none;
}

.footer-links ul li {
  margin-left: 20px;
}

.footer-links ul li a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: var(--secondary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-content h2 {
    font-size: 2.8rem;
  }

  .section-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  nav .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-150%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  nav .nav-menu.active {
    margin-top: 30px;
    transform: translateY(0);
    opacity: 1;
  }

  nav .nav-menu li {
    margin: 15px 0;
  }

  .hero-content h2 {
    font-size: 2.3rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .footer-content {
    flex-direction: column;
  }

  .footer-logo {
    margin-bottom: 30px;
  }

  .footer-links ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-links ul li {
    margin: 0 10px 10px;
  }

  .contacto-grid,
  .equipo-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 1.8rem;
  }

  .hero-content h2 {
    font-size: 2rem;
  }

  .btn {
    padding: 10px 20px;
  }

  .valores-grid,
  .propuestas-container {
    grid-template-columns: 1fr;
  }
}
