:root {
  --primary-color: #202744;
  --secondary-color: #242424;
  --light-color: #ffffff;
  --light-bg: #f9f9f9;
  --dark-color: #333333;
  --accent-color: #e9ecef;
  --success-color: #28a745;
  --border-radius: 10px;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s ease;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--secondary-color);
  line-height: 1.6;
  background-color: var(--light-color);
}

/* General Styles */
.section-padding {
  padding: 100px 0;
  position: relative;
}

.section-subtitle {
  color: var(--primary-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
  display: block;
  margin-bottom: 10px;
}

.section-subtitle.light {
  color: #fff;
}

.section-title {
  color: var(--secondary-color);
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 36px;
  line-height: 1.2;
}

.section-title.light {
  color: #fff;
}

.section-description {
  font-size: 18px;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
}

.section-description.light {
  color: rgba(255, 255, 255, 0.8);
}

.btn {
  border-radius: var(--border-radius);
  padding: 12px 30px;
  font-weight: 600;
  transition: var(--transition);
}

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

.btn-primary:hover {
  background-color: #1a2038;
  border-color: #1a2038;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(32, 39, 68, 0.2);
}

.btn-outline-secondary {
  color: var(--secondary-color);
  border-color: #ddd;
}

.btn-outline-secondary:hover {
  background-color: #f5f5f5;
  color: var(--secondary-color);
  transform: translateY(-3px);
}

.btn-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: var(--transition);
}

.btn-link:hover {
  color: #1a2038;
  text-decoration: none;
}

.btn-link i {
  margin-left: 5px;
  transition: var(--transition);
}

.btn-link:hover i {
  transform: translateX(5px);
}

.btn-link.light {
  color: #fff;
}

.btn-link.light:hover {
  color: rgba(255, 255, 255, 0.8);
}

.bg-light {
  background-color: var(--light-bg) !important;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

/* Section Waves */
.section-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 70px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%23202744'/%3E%3C/svg%3E");
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 1;
}

.section-wave-bottom {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 70px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%23ffffff'/%3E%3C/svg%3E");
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 1;
}

/* Header Styles */
header {
  background-color: var(--light-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  width: 40px;
  height: 40px;
}

.logo-text {
  font-size: 22px;
  font-weight: 700;
  color: var(--secondary-color);
  margin-left: 10px;
}

.navbar-nav .nav-link {
  color: var(--secondary-color);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.3s;
}

/* Personaliza el color del ícono hamburguesa */
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%23ffffff' stroke-width='2' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color);
}

.call-btn {
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--border-radius);
}

/* Hero Section */
.hero-section {
  padding: 120px 0;
  background-color: var(--light-color);
  position: relative;
  overflow: hidden;
}

.hero-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.hero-subtitle {
  font-size: 18px;
  color: #666;
  margin-bottom: 30px;
}

.hero-cta {
  margin-bottom: 40px;
}

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

.hero-image {
  border-radius: 20px;
  position: relative;
  z-index: 2;
  max-width: 100%;
  height: auto;
}

.hero-shape {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  border-radius: 20px;
  top: 30px;
  left: 30px;
  z-index: 1;
}

.carousel-item img {
  border-radius: 10px;
  height: 400px;
  object-fit: cover;
}

.carousel-caption {
  background-color: rgba(32, 39, 68, 0.8);
  border-radius: 5px;
  padding: 15px;
  bottom: 20px;
}

.hero-message {
  padding: 1.5rem;
  border-radius: 10px;
  background-color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Feature List */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.feature-list li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}

.feature-list li i {
  color: var(--primary-color);
  margin-right: 10px;
  font-size: 18px;
}

/* Image Card */
.image-card {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  height: 100%;
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Feature Card */
.feature-card {
  background-color: var(--light-color);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
  height: 100%;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background-color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon i {
  font-size: 24px;
  color: var(--primary-color);
}

.feature-card h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
}

.feature-card p {
  margin-bottom: 0;
  color: #666;
}

/* Benefit Card */
.benefit-card {
  background-color: var(--light-color);
  border-radius: var(--border-radius);
  padding: 40px 30px;
  box-shadow: var(--box-shadow);
  text-align: center;
  height: 100%;
  transition: var(--transition);
}

.benefit-card:hover {
  transform: translateY(-10px);
}

.benefit-icon {
  width: 80px;
  height: 80px;
  background-color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
}

.benefit-icon i {
  font-size: 32px;
  color: var(--primary-color);
}

.benefit-card h4 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
}

.benefit-card p {
  margin-bottom: 0;
  color: #666;
}

/* Image with Content */
.image-with-content {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.image-with-content img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.image-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 30px;
  color: white;
}

.image-content h4 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 10px;
}

.image-content p {
  margin-bottom: 15px;
  opacity: 0.9;
}

.image-content .btn-link {
  color: white;
}

/* Stats Container */
.stats-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 30px;
}

.stat-item {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 20px;
  text-align: center;
  flex: 1;
  margin: 0 10px;
  box-shadow: var(--box-shadow);
}

.stat-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.stat-text {
  font-size: 16px;
  color: var(--secondary-color);
  margin: 0;
}

/* Success Card */
.success-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
}

.client-image {
  width: 100px;
  height: 100px;
  object-fit: cover;
  margin: 0 auto;
}

.testimonial-text {
  font-style: italic;
  color: #666;
  margin-bottom: 15px;
}

.client-name {
  font-weight: 600;
  margin-bottom: 5px;
}

.client-position {
  color: #888;
  font-size: 14px;
}

/* Video Card */
.video-card {
  background-color: var(--light-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  height: 100%;
  transition: var(--transition);
}

.video-card:hover {
  transform: translateY(-10px);
}

.video-thumbnail {
  position: relative;
  overflow: hidden;
}

.video-thumbnail iframe {
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.video-content {
  padding: 20px;
}

.video-content h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.video-content p {
  font-size: 14px;
  color: #666;
  margin-bottom: 0;
}

.video-card.featured .video-content h4 {
  font-size: 22px;
}

.video-card.featured .video-content p {
  font-size: 16px;
}

/* Service Card */
.service-header {
  padding-right: 30px;
}

.service-card {
  background-color: var(--light-color);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
  height: 100%;
  transition: var(--transition);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-icon {
  width: 80px;
  height: 80px;
  background-color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.service-icon i {
  font-size: 32px;
  color: var(--primary-color);
}

.service-card h4 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
}

.service-card p {
  color: #666;
  margin-bottom: 0;
}

/* Experience Card */
.experience-card {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}

.experience-icon {
  width: 60px;
  height: 60px;
  background-color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
}

.experience-icon i {
  font-size: 24px;
  color: var(--primary-color);
}

.experience-content h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.experience-content p {
  margin-bottom: 0;
  color: #666;
}

/* Image with Shape */
.image-with-shape {
  position: relative;
  z-index: 1;
}

.image-with-shape img {
  border-radius: var(--border-radius);
  position: relative;
  z-index: 2;
  width: 100%;
}

.image-shape {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  border-radius: var(--border-radius);
  top: 30px;
  right: -30px;
  z-index: 1;
}

/* Pricing Card */
.pricing-card {
  background-color: var(--light-color);
  border-radius: var(--border-radius);
  padding: 40px 30px;
  box-shadow: var(--box-shadow);
  text-align: center;
  height: 100%;
  position: relative;
  transition: var(--transition);
}

.pricing-card:hover {
  transform: translateY(-10px);
}

.pricing-card.featured {
  background-color: var(--primary-color);
  color: white;
}

.pricing-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: white;
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 600;
  padding: 5px 15px;
  border-radius: 20px;
}

.pricing-header {
  margin-bottom: 20px;
}

.pricing-header h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}

.pricing-stars {
  color: #ffc107;
  margin-bottom: 20px;
}

.pricing-price {
  margin-bottom: 30px;
}

.pricing-price h4 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 5px;
}

.pricing-price p {
  font-size: 16px;
  opacity: 0.8;
}

.pricing-features {
  margin-bottom: 30px;
}

.pricing-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.pricing-features li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}

.pricing-features li i {
  color: var(--success-color);
  margin-right: 10px;
  font-size: 16px;
}

.pricing-card.featured .pricing-features li i {
  color: white;
}

.pricing-action .btn {
  width: 100%;
}

.pricing-card.featured .btn-outline-primary {
  color: var(--primary-color);
  background-color: white;
  border-color: white;
}

.pricing-card.featured .btn-outline-primary:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

/* Contact Form */
.contact-info {
  padding-right: 30px;
}

.contact-feature {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}

.contact-feature-icon {
  width: 60px;
  height: 60px;
  background-color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
}

.contact-feature-icon i {
  font-size: 24px;
  color: var(--primary-color);
}

.contact-feature-content h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.contact-feature-content p {
  margin-bottom: 0;
  color: #666;
}

.contact-form-container {
  background-color: var(--light-color);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
}

.nav-tabs {
  border-bottom: none;
  background-color: #f5f5f5;
}

.nav-tabs .nav-link {
  border: none;
  padding: 15px 30px;
  font-weight: 600;
  color: #666;
}

.nav-tabs .nav-link.active {
  background-color: var(--light-color);
  color: var(--primary-color);
  border-bottom: 3px solid var(--primary-color);
}

.form-label {
  font-weight: 500;
  margin-bottom: 8px;
}

.form-control,
.form-select {
  padding: 12px 15px;
  border-radius: var(--border-radius);
  border: 1px solid #ddd;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(32, 39, 68, 0.25);
}

/* Newsletter Section */
.newsletter-section {
  padding: 50px 0;
}

.newsletter-container {
  background-color: var(--primary-color);
  border-radius: var(--border-radius);
  padding: 50px;
  color: white;
}

.newsletter-container h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
}

.newsletter-container p {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 0;
}

.newsletter-form .input-group {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.newsletter-form .form-control {
  border: none;
  padding: 15px 20px;
}

.newsletter-form .btn {
  padding: 15px 30px;
  font-weight: 600;
}

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

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

.footer-widget h5 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 25px;
  color: white;
}

.footer-widget p {
  opacity: 0.8;
  margin-bottom: 10px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.footer-hours {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-hours li {
  margin-bottom: 12px;
  opacity: 0.8;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-top: 50px;
}

.footer-bottom p {
  opacity: 0.7;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
}

.footer-bottom a:hover {
  color: white;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .section-padding {
    padding: 70px 0;
  }

  .hero-section {
    padding: 80px 0;
  }

  .hero-title {
    font-size: 30px;
  }

  .section-title {
    font-size: 28px;
  }

  .contact-info,
  .service-header {
    padding-right: 0;
    margin-bottom: 40px;
  }

  .newsletter-container {
    padding: 30px;
  }

  .stats-container {
    flex-direction: column;
  }

  .stat-item {
    margin: 0 0 15px 0;
  }
}

@media (max-width: 767px) {
  .section-padding {
    padding: 50px 0;
  }

  .hero-section {
    padding: 60px 0;
  }

  .hero-title {
    font-size: 26px;
  }

  .section-title {
    font-size: 24px;
  }

  .image-shape,
  .hero-shape {
    display: none;
  }

  .newsletter-container {
    padding: 20px;
  }

  .carousel-item img {
    height: 300px;
  }
}

/* Animation Classes */
.animated {
  animation: fadeInUp 0.6s ease forwards;
}

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