/* Quienes Somos Page Styles */
:root {
  --primary-color: #8b0000;
  --secondary-color: #dc143c;
  --accent-color: #ff6b6b;
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;
  --background-light: #f8f9fa;
  --white: #ffffff;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("/placeholder.svg?height=800&width=1200") center / cover;
  opacity: 0.1;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.3rem;
  font-weight: 300;
  opacity: 0.9;
  line-height: 1.6;
}

/* Founder Section */
.founder-section {
  padding: 100px 0;
  background: var(--white);
}

.founder-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.founder-image {
  position: relative;
}

.founder-photo {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow-hover);
  transition: transform 0.3s ease;
}

.founder-photo:hover {
  transform: scale(1.05);
}

.founder-info {
  padding: 20px 0;
}

.founder-name {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: 600;
}

.founder-title {
  font-size: 1.2rem;
  color: var(--secondary-color);
  margin-bottom: 30px;
  font-weight: 500;
}

.founder-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 40px;
}

.founder-credentials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.credential h4 {
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.credential p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Team Section */
.team-section {
  padding: 100px 0;
  background: var(--background-light);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.team-member {
  background: var(--white);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.team-member::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transition: left 0.3s ease;
}

.team-member:hover::before {
  left: 0;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.member-image {
  margin-bottom: 25px;
}

.member-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--background-light);
  transition: border-color 0.3s ease;
}

.team-member:hover .member-photo {
  border-color: var(--secondary-color);
}

.member-name {
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 8px;
  font-weight: 600;
}

.member-role {
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 15px;
  font-size: 1rem;
}

.member-description {
  color: var(--text-light);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Timeline Section */
.timeline-section {
  padding: 100px 0;
  background: var(--white);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 60px auto 0;
  padding: 0 20px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-year {
  background: var(--primary-color);
  color: var(--white);
  padding: 15px 25px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  position: relative;
  z-index: 2;
  min-width: 100px;
  text-align: center;
}

.timeline-content {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  box-shadow: var(--shadow);
  margin: 0 40px;
  flex: 1;
  position: relative;
}

.timeline-content::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 0;
  height: 0;
  border: 15px solid transparent;
  transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-content::before {
  left: -30px;
  border-right-color: var(--white);
}

.timeline-item:nth-child(even) .timeline-content::before {
  right: -30px;
  border-left-color: var(--white);
}

.timeline-content h3 {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.timeline-content p {
  color: var(--text-dark);
  line-height: 1.6;
}

/* Connection Section */
.connection-section {
  padding: 100px 0;
  background: var(--background-light);
}

.connection-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.connection-item {
  text-align: center;
  padding: 40px 30px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.connection-item:hover {
  transform: translateY(-5px);
}

.connection-logo {
  margin-bottom: 20px;
}

.connection-logo .logo-shield {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 2rem;
  font-weight: bold;
  color: var(--white);
}

.connection-logo .logo-shield.tum-docere {
  background: var(--primary-color);
}

.connection-logo .logo-shield.red-peruana {
  background: var(--secondary-color);
}

.connection-logo h3 {
  color: var(--text-dark);
  font-size: 1.3rem;
  font-weight: 600;
}

.connection-bridge {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.bridge-line {
  width: 2px;
  height: 100px;
  background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
  margin: 20px 0;
}

.bridge-icon {
  background: var(--white);
  border: 3px solid var(--primary-color);
  border-radius: 50%;
  padding: 15px;
  color: var(--primary-color);
}

.bridge-text {
  text-align: center;
  margin-top: 20px;
}

.bridge-text h4 {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.bridge-text p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Values Section */
.values-section {
  padding: 100px 0;
  background: var(--white);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.value-item {
  text-align: center;
  padding: 40px 30px;
  border-radius: 20px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.value-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.value-item:hover::before {
  opacity: 0.05;
}

.value-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.value-icon {
  color: var(--primary-color);
  margin-bottom: 25px;
  position: relative;
  z-index: 2;
}

.value-item h3 {
  color: var(--text-dark);
  font-size: 1.4rem;
  margin-bottom: 15px;
  font-weight: 600;
  position: relative;
  z-index: 2;
}

.value-item p {
  color: var(--text-light);
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

/* CTA Section */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--white);
  color: var(--primary-color);
}

.btn-primary:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .founder-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .founder-name {
    font-size: 2rem;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .timeline::before {
    left: 30px;
  }

  .timeline-item {
    flex-direction: row !important;
    padding-left: 80px;
  }

  .timeline-year {
    position: absolute;
    left: 0;
    min-width: 60px;
    padding: 10px 15px;
    font-size: 0.9rem;
  }

  .timeline-content {
    margin: 0;
  }

  .timeline-content::before {
    left: -30px !important;
    border-right-color: var(--white) !important;
    border-left-color: transparent !important;
  }

  .connection-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .bridge-line {
    width: 100px;
    height: 2px;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .cta-content h2 {
    font-size: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .founder-name {
    font-size: 1.8rem;
  }

  .founder-credentials {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .connection-item,
  .value-item {
    padding: 30px 20px;
  }

  .cta-content h2 {
    font-size: 1.8rem;
  }
}
