/* Variables */
:root {
  --primary: #3b82f6; /* Azul más vibrante */
  --primary-dark: #2563eb;
  --secondary: #10b981; /* Verde esmeralda */
  --dark: #1e293b; /* Azul oscuro */
  --darker: #0f172a; /* Fondo principal oscuro */
  --light: #f8fafc; /* Texto claro */
  --gray: #94a3b8; /* Gris para texto secundario */
  --dark-gray: #334155; /* Gris oscuro para cards */
}

/* Reset y Estilos Generales */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--darker);
  background-image: 
    radial-gradient(at top right, rgba(59, 130, 246, 0.2) 0%, transparent 50%),
    radial-gradient(at bottom left, rgba(16, 185, 129, 0.2) 0%, transparent 50%);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--light);
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.logo {
  height: 120px; /* Ajustá este valor a lo que quieras */
  width: auto;
  max-width: none; /* Evita que Bootstrap lo limite */
}



/* Navbar */
.navbar {
  background-color: transparent;
  transition: all 0.3s ease;
  padding: 20px 0;
}

.navbar.scrolled {
  background-color: var(--darker) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  padding: 10px 0;
}

.navbar-brand img {
  height: 200px;
  transition: all 0.3s ease;
}

.navbar.scrolled .navbar-brand img {
  height: 80px;
}

.nav-link {
  font-weight: 600;
  color: var(--light) !important;
  margin: 0 15px;
  position: relative;
}

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

.nav-link:hover:after {
  width: 100%;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-section:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('assets/background.jpg') no-repeat center center/cover;
  opacity: 0.05;
  z-index: 0;
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-section h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

#rotating-text {
  font-size: 2.5rem;
  font-weight: 700;
  height: 3.5rem;
  margin: 1rem 0;
  display: inline-block;
  color: var(--primary);
}

.hero-section .lead {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  color: var(--gray);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

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

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-outline {
  background-color: transparent;
  color: var(--light);
  border: 2px solid var(--light);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-whatsapp {
  background-color: #25D366;
  color: white;
}

.btn-whatsapp:hover {
  background-color: #128C7E;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Servicios */
.services-section {
  padding: 100px 0;
  text-align: center;
}

.services-section h2 {
  margin-bottom: 60px;
  color: var(--light);
}

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

.service-card {
  background: var(--dark-gray);
  border-radius: 15px;
  padding: 40px 30px;
  box-shadow: 0 5px 20px rgba(27, 27, 27, 0.2);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(59, 130, 246, 0.3);
}

.service-card i {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.service-card:hover i {
  color: var(--secondary);
  transform: scale(1.1);
}

.service-card h3 {
  margin-bottom: 15px;
  color: var(--light);
}

.service-card p {
  color: var(--gray);
}

/* Contacto */
.contact-section {
  padding: 100px 0;
}

.contact-section h2 {
  text-align: center;
  margin-bottom: 60px;
  color: var(--light);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-form {
  background: var(--dark-gray);
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.623);
}

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  background-color: var(--darker);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease;
  color: var(--light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(192, 179, 179, 0.548);
}

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

.submit-btn {
  width: 100%;
  background-color: var(--primary);
  color: white;
  padding: 15px;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-info {
  padding: 20px;
}

.contact-info h3 {
  margin-bottom: 30px;
  color: var(--light);
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.contact-item i {
  font-size: 1.2rem;
  color: var(--primary);
  margin-right: 15px;
}

.contact-item a {
  color: var(--primary);
  transition: all 0.3s ease;
}

.contact-item a:hover {
  color: var(--secondary);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 40px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(82, 140, 233, 0.1);
  border-radius: 50%;
  color: var(--primary);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
}

/* Footer */
.footer {
  background-color: #0b1120;
  color: white;
  padding: 60px 0 30px;
  text-align: center;
}

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

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--gray);
  transition: all 0.3s ease;
}

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

.social-links {
  justify-content: center;
  margin-bottom: 30px;
}

.copyright {
  color: var(--gray);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .hero-section h1 {
    font-size: 2.8rem;
  }

  #rotating-text {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2.2rem;
  }

  #rotating-text {
    font-size: 1.5rem;
    height: 2.5rem;
  }

  .hero-section .lead {
    font-size: 1rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  z-index: 100;
  transition: all 0.3s ease;
}

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

/* Página de Gracias */
.thank-you-page {
  background: transparent;
}

.thank-you-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  background-color: var(--dark-gray);
  border-radius: 15px;
  margin: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.thank-you-icon {
  font-size: 5rem;
  color: var(--secondary);
  margin-bottom: 2rem;
}

.thank-you-text {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  max-width: 500px;
  color: var(--gray);
}

.thank-you-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 576px) {
  .thank-you-buttons {
    flex-direction: column;
    width: 100%;
  }

  .thank-you-buttons .btn {
    width: 100%;
  }
}

/* Estilo para la página "Quiénes Somos" */
.who-we-are {
  padding: 60px 0;
  text-align: center;
}

.who-we-are h1 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: var(--light);
}

.who-we-are p {
  font-size: 1.1rem;
  margin-bottom: 50px;
  color: var(--gray);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.team-members {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.team-member {
  text-align: center;
  max-width: 200px;
  background: var(--dark-gray);
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.team-member img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}

.team-member h3 {
  font-size: 1.3rem;
  color: var(--light);
}

.team-member p {
  font-size: 1rem;
  color: var(--gray);
}

/* Estilo para la sección "Beneficios" */
.benefits-section {
  padding: 100px 20px;
  text-align: center;
}

.benefits-section h2 {
  margin-bottom: 60px;
  color: var(--light);
}

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

.benefit-card {
  background-color: var(--dark-gray);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  border-color: rgba(59, 130, 246, 0.3);
}

.benefit-card i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.benefit-card h3 {
  margin-bottom: 15px;
  color: var(--light);
}

.benefit-card p {
  color: var(--gray);
}