/* Estilos generales */
:root {
  --primary-color: #1d4aa0;
  --secondary-color: #2a5bbf;
  --accent-color: #25D366;
  --dark-color: #2c3e50;
  --light-color: #f8f9fa;
  --text-color: #333;
  --text-light: #7f8c8d;
  --white: #ffffff;
  --black: #000000;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-color);
  overflow-x: hidden;
}

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

section {
  padding: 6rem 0;
}

.section-title {
  font-size: 2.5rem;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 1.5rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  margin: 1rem auto 0;
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.2rem;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}


/* Main Header & Navigation */
.main-header {
  background-color: rgba(29, 74, 160, 0.95);
  color: var(--white);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
  transition: all 0.4s ease;
  backdrop-filter: blur(8px);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
  padding: 0 15px;
}

.logo {
  color: var(--white);
  font-weight: 600;
  font-size: 1.4rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: translateY(-2px);
}

.logo-img {
  height: 38px;
  margin-right: 12px;
  transition: transform 0.4s ease;
}

.logo:hover .logo-img {
  transform: rotate(5deg) scale(1.05);
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 1rem;
}

.nav-link {
  color: var(--white);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  transition: var(--transition);
  font-weight: 500;
  position: relative;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--white);
  transition: width 0.3s ease;
}

.nav-link:hover::before {
  width: 60%;
}

.nav-link:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

/* Sidebar Styles */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

.sidebar {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background-color: var(--primary-color);
  z-index: 1000;
  transition: right 0.3s ease;
  padding: 2rem;
}

.sidebar[aria-hidden="false"] {
  right: 0;
}

.sidebar-nav {
  margin-top: 3rem;
}

.sidebar-list {
  list-style: none;
}

.sidebar-link {
  color: var(--white);
  text-decoration: none;
  display: block;
  padding: 1rem 1.5rem;
  margin: 0.5rem 0;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.sidebar-link:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.close-sidebar {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  padding: 10rem 0 8rem;
  text-align: center;
  position: relative;
  margin-top: 70px; /* Offset for fixed header */
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero .subtitle {
  font-size: 1.6rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-text {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.cta-button:first-child {
  background-color: var(--white);
  color: var(--primary-color);
}

.cta-button.secondary {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.scroll-down {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-down-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
}

.scroll-down-btn svg {
  width: 20px;
  height: 20px;
}

.scroll-down-btn path {
  stroke: white; /* Flecha blanca */
  stroke-width: 2px;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.scroll-down-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(3px) scale(1.05);
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.2);
}

/* Animación de flotación */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.scroll-down {
  animation: float 2s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-list {
    display: none;
  }
  
  .hero {
    padding: 8rem 0 6rem;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero .subtitle {
    font-size: 1.3rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* sidebar-toggle */
.sidebar-toggle {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  display: none;
  padding: 0.5rem;
  transition: var(--transition);
}

.sidebar-toggle:hover {
  transform: scale(1.1);
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  right: -350px;
  width: 320px;
  height: 100vh;
  background-color: var(--primary-color);
  z-index: 1001;
  transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  padding: 2.5rem;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
}

.sidebar[aria-hidden="false"] {
  right: 0;
}

.sidebar-nav {
  margin-top: 3rem;
}

.sidebar-list {
  list-style: none;
}

.sidebar-link {
  color: var(--white);
  text-decoration: none;
  display: block;
  padding: 1rem 1.5rem;
  margin: 0.8rem 0;
  border-radius: 50px;
  transition: var(--transition);
  background-color: rgba(255, 255, 255, 0.1);
}

.sidebar-link:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateX(10px);
}

.close-sidebar {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: var(--transition);
}

.close-sidebar:hover {
  transform: rotate(90deg);
}

/* Overlay */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
  backdrop-filter: blur(3px);
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  padding: 10rem 0 8rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  animation: fadeInUp 1s ease;
}

.hero .subtitle {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  animation: fadeInUp 1s ease 0.2s forwards;
  opacity: 0;
}

.hero-text {
  font-size: 1.3rem;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
  animation: fadeInUp 1s ease 0.4s forwards;
  opacity: 0;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  animation: fadeInUp 1s ease 0.6s forwards;
  opacity: 0;
}

.cta-button {
  display: inline-block;
  background-color: var(--white);
  color: var(--primary-color);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.cta-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-button.secondary {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.cta-button.secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* About Section */
/* About Section - Versión Premium */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
}

.about-grid::before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
  z-index: -1;
}

.about-content {
  position: relative;
}

.about-content p {
  margin-bottom: 2.5rem;
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-color);
  position: relative;
  padding-left: 1.5rem;
}

.about-content p::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
  border-radius: 3px;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  margin: 4rem 0;
}

.feature-item {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1px solid rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}

.feature-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.feature-item:hover::after {
  transform: scaleX(1);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon {
  transform: rotate(10deg) scale(1.1);
}

.feature-item h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.3rem;
  position: relative;
  display: inline-block;
}

.feature-item h3::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.feature-item:hover h3::after {
  width: 80px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.stat-box {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  padding: 2rem 1.5rem;
  border-radius: 12px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(29, 74, 160, 0.2);
}

.stat-box::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.stat-box:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 30px rgba(29, 74, 160, 0.3);
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.stat-box p {
  position: relative;
  z-index: 1;
  opacity: 0.9;
}

.about-image {
  position: relative;
  perspective: 1000px;
}

.about-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  transform-style: preserve-3d;
}

.about-image:hover img {
  transform: rotateY(5deg) scale(1.03);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about-image {
    order: -1;
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  .about-features {
    grid-template-columns: 1fr;
  }
  
  .stat-number {
    font-size: 2.2rem;
  }
}

/* Services Section */
.services-section {
  background-color: var(--light-color);
}

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

.service-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  text-align: center;
}

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

.service-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(29, 74, 160, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--primary-color);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background-color: var(--primary-color);
  color: var(--white);
}

.service-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Technologies Section */
.technologies-section {
  background-color: var(--white);
}

.tech-tabs {
  margin-top: 3rem;
}

.tab-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.tab-button {
  padding: 0.8rem 2rem;
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.tab-button:hover {
  background-color: rgba(29, 74, 160, 0.1);
}

.tab-button.active {
  background-color: var(--primary-color);
  color: var(--white);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
}

.tech-item {
  background-color: var(--light-color);
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tech-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow);
}

.tech-item img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 1rem;
}

/* Projects Section */
.projects-section {
  background-color: var(--light-color);
}

.projects-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.filter-button {
  padding: 0.6rem 1.5rem;
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: 50px;
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition);
}

.filter-button:hover {
  background-color: rgba(29, 74, 160, 0.1);
}

.filter-button.active {
  background-color: var(--primary-color);
  color: var(--white);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.project-card {
  background-color: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

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

.project-image {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(29, 74, 160, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: var(--transition);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-link {
  color: var(--white);
  text-decoration: none;
  margin: 0.5rem 0;
  padding: 0.8rem 1.5rem;
  border: 2px solid var(--white);
  border-radius: 50px;
  font-weight: 500;
  transition: var(--transition);
}

.project-link:hover {
  background-color: var(--white);
  color: var(--primary-color);
}

.project-info {
  padding: 2rem;
}

.project-info h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.project-info p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.project-tech span {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Team Section - Versión Mejorada */
.team-section {
  background-color: var(--bg-secondary);
  padding: 5rem 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.team-member {
  background-color: var(--card-bg);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 107, 0, 0.1);
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 107, 0, 0.3);
}

.team-member::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
  opacity: 0;
  transition: var(--transition);
}

.team-member:hover::before {
  opacity: 1;
}

.member-image {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto 2rem;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid transparent;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.team-member:hover .member-image {
  border-color: var(--secondary-color);
  transform: scale(1.05);
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.team-member:hover .member-image img {
  transform: scale(1.1);
}

.member-social {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  padding: 0.5rem;
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  opacity: 0;
  transition: var(--transition);
}

.team-member:hover .member-social {
  opacity: 1;
}

.member-social a {
  color: white;
  background-color: var(--secondary-color);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.member-info {
  position: relative;
  z-index: 1;
}

.member-name {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
  transition: var(--transition);
}

.team-member:hover .member-name {
  color: var(--secondary-color);
}

.member-role {
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
  position: relative;
  display: inline-block;
}

.member-role::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--secondary-color);
  opacity: 0;
  transition: var(--transition);
}

.team-member:hover .member-role::after {
  opacity: 1;
}

.member-bio {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-top: 1.5rem;
  position: relative;
}

/* Efecto de fondo decorativo */
.team-member::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(255,107,0,0.05) 0%, transparent 70%);
  opacity: 0;
  transition: var(--transition);
}

.team-member:hover::after {
  opacity: 1;
}

/* Contact Section */
.contact-section {
  background-color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact-info {
  padding: 2rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.info-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-right: 1.5rem;
  margin-top: 0.3rem;
}

.info-item h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.contact-social {
  display: flex;
  gap: 1.5rem;
  margin-top: 3rem;
}

.contact-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--white);
  font-size: 1.5rem;
  transition: var(--transition);
}

.contact-social a:hover {
  transform: translateY(-5px);
  background-color: var(--secondary-color);
}

.contact-form {
  background-color: var(--light-color);
  padding: 3rem;
  border-radius: 15px;
  box-shadow: var(--box-shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 30px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(29, 74, 160, 0.1);
}

.submit-button {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(29, 74, 160, 0.2);
  width: 100%;
}

.submit-button:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(29, 74, 160, 0.3);
}

/* Footer */
.main-footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-about {
  grid-column: span 1;
}

.footer-logo {
  height: 50px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-about p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.footer-social {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.5rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--white);
  font-size: 1.5rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background-color: var(--secondary-color);
  color: white;
}

.footer-links h3, .footer-resources h3, .footer-legal h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-links ul, .footer-resources ul, .footer-legal ul {
  display: grid;
  gap: 0.8rem;
}

.footer-links a, .footer-resources a, .footer-legal a {
  color: var(--text-secondary);
  transition: var(--transition);
}

.footer-links a:hover, .footer-resources a:hover, .footer-legal a:hover {
  color: var(--white);
  padding-left: 5px;
}

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

.footer-bottom p:first-child {
  margin-bottom: 0.5rem;
}

.legal-links {
  margin-top: 1rem;
}

.legal-links a {
  margin: 0 10px;
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.legal-links a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 70px;
  height: 70px;
  background-color: var(--accent-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 5px 25px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: var(--transition);
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #128C7E;
}

/* Animaciones */
@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
      opacity: 0;
  }
  to {
      opacity: 1;
  }
}

@keyframes pulse {
  0% {
      box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
      transform: scale(1);
  }
  70% {
      box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
      transform: scale(1.05);
  }
  100% {
      box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
      transform: scale(1);
  }
}

/* Responsive */
@media (max-width: 992px) {
  .about-grid {
      grid-template-columns: 1fr;
  }
  
  .about-image {
      order: -1;
      margin-bottom: 3rem;
  }
  
  .contact-grid {
      grid-template-columns: 1fr;
  }
  
  .contact-info {
      margin-bottom: 3rem;
  }
}

@media (max-width: 768px) {
  section {
      padding: 4rem 0;
  }
  
  .section-title {
      font-size: 2rem;
  }
  
  .sidebar-toggle {
      display: block;
  }
  
  .nav-list {
      display: none;
  }
  
  .hero h1 {
      font-size: 2.5rem;
  }
  
  .hero .subtitle {
      font-size: 1.5rem;
  }
  
  .hero-buttons {
      flex-direction: column;
      align-items: center;
  }
  
  .whatsapp-float {
      width: 60px;
      height: 60px;
      font-size: 1.8rem;
      bottom: 20px;
      right: 20px;
  }
}

@media (max-width: 576px) {
  .section-title {
      font-size: 1.8rem;
  }
  
  .hero {
      padding: 8rem 0 6rem;
  }
  
  .hero h1 {
      font-size: 2rem;
  }
  
  .hero .subtitle {
      font-size: 1.3rem;
  }
  
  .about-features {
      grid-template-columns: 1fr;
  }
  
  .stats-grid {
      grid-template-columns: 1fr;
  }
  
  .projects-grid {
      grid-template-columns: 1fr;
  }
  
  .footer-grid {
      grid-template-columns: 1fr;
  }
  
  .legal-links {
      flex-direction: column;
      gap: 0.5rem;
  }
}


