/*--------------------------------------------------------------
1. Variables Globales y Configuración
--------------------------------------------------------------*/
:root {
  /* Fuentes */
  --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Nunito", sans-serif;
  --nav-font: "Inter", sans-serif;

  /* Colores Globales */
  --background-color: #fdfdfd;         /* Fondo general */
  --default-color: #212529;            /* Color de texto principal */
  --heading-color: #2d465e;            /* Color de títulos y subtítulos */
  --accent-color: #0d83fd;             /* Color de acento (botones, enlaces, etc.) */
  --surface-color: #fdfdfd;            /* Fondo de elementos en caja */
  --contrast-color: #fdfdfd;           /* Color de contraste para textos sobre acentos */

  /* Colores para el Menú de Navegación */
  --nav-color: #212529;
  --nav-hover-color: #0d83fd;
  --nav-mobile-background-color: #fdfdfd;
  --nav-dropdown-background-color: #fdfdfd;
  --nav-dropdown-color: #212529;
  --nav-dropdown-hover-color: #0d83fd;

  /* Comportamiento */
  scroll-behavior: smooth;
}

/* Presets de color */
.light-background {
  --background-color: #f3f9ff;
  --surface-color: #fdfdfd;
}

.dark-background {
  --background-color: #0d83fd;
  --default-color: #fdfdfd;
  --heading-color: #fdfdfd;
  --surface-color: #409dfd;
  --contrast-color: #fdfdfd;
}


/*--------------------------------------------------------------
2. Estilos Globales y Clases Compartidas
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
  margin: 0;
  padding: 0;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}
a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/*--------------------------------------------------------------
3. Sección de Beneficios
--------------------------------------------------------------*/
.benefits-section {
  padding: 50px 20px;
  text-align: center;
  background: #4C96EA;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.benefits-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Contenedor de tarjetas */

[data-aos-delay] {
  transition-delay: 0 !important;
}

section,
.section {
  color: white; 
  background-color: #fdfdfd;
  padding: 60px 0;
  scroll-margin-top: 90px;
  overflow: clip;
}

@media (max-width: 1199px) {
  section,
  .section {
    scroll-margin-top: 66px;
  }
}

.section-title2 {
  text-align: center;
  padding-bottom: 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.section-title2 h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
  padding-bottom: 20px;
  display: block;
  position: relative;
  color: white; 
}

.section-title2 h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: black;
  left: 50%;
  transform: translateX(-50%);
  bottom: -5px;
}

.container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.benefit-card {
  background: white;
  color: black;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 300px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 220px;
}
.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
}
.benefit-card img {
  max-width: 60px;
  height: auto;
  margin-bottom: 10px;
}
.benefit-card h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}


/*--------------------------------------------------------------
4. Formularios PHP Email
--------------------------------------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}
.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}
.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}
.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}
@keyframes php-email-form-loading {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


/*--------------------------------------------------------------
5. Global Header y Navegación
--------------------------------------------------------------*/
#faq {
  margin-top: 100px;
}
#contact {
  margin-top: 100px;
}
#about {
  margin-top: 100px;
}
#service-details {
  margin-top: 100px;
}
#hero {
  margin-top: 100px
}
:root {
  --primary-blue: #4da0ff;
  --secondary-blue: #356caa;
  --light-gray: #f9f9f9;
  --soft-gray: #e0e0e0;
  --white: #ffffff;
  --shadow: rgba(0, 0, 0, 0.08);
}

.header {
  background-color: #fdfdfd;
  padding: 8px 20px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  transition: top 0.4s ease, opacity 0.4s ease;
  box-shadow: 0 3px 10px var(--shadow);
  border-radius: 55px;
  max-width: 1000px;
  margin: 40px auto;
}

.header.hidden {
  top: -130px;
  opacity: 0;
  pointer-events: none;
}

body.scrolled .header {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo img {
  height: 78px;
  width: auto;
}

.navmenu {
  align-items: center;
}

.navmenu ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 3px;
  margin: -9px;
}

.navmenu a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 28px;
  transition: color 0.3s;
}

.navmenu a:hover {
  color: var(--primary-blue);
}

/* Dropdown container */
.dropdown {
  position: relative;
  cursor: pointer;
}

.dropdown-menu {
  display: none !important;
  position: absolute;
  background-color: #fdfdfd;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  margin-top: 10px;
  padding: 10px 0;
  z-index: 1000;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.dropdown:hover .dropdown-menu {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(-100);
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: #333;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.3s ease, padding 0.2s ease;
  border-radius: 6px;
}

.dropdown-menu li a:hover {
  background-color: var(--soft-gray);
  padding-left: 25px; 
}

.dropdown-menu li {
  transition: transform 0.2s ease;
}

.dropdown-menu li:nth-child(even) {
  transition-delay: 0.1s;
}

.dropdown-menu li:nth-child(odd) {
  transition-delay: 0.2s;
}

.btn-contact {
  background-color: var(--primary-blue);
  color: var(--white);
  border: none;
  padding: 7px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 17px;
  transition: background-color 0.3s ease;
  text-decoration: none;
}
.language-switcher {
  position: fixed;
  top: 10px;
  right: 30px;
  z-index: 1001;
}

.btn-language {
  background-color: var(--primary-blue);
  color: var(--white);
  font-size: 15px;
  padding: 6px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
}
.mobile-nav-toggle {
  display: none;
  font-size: 50px;
  color: #333;
  background: none;
  border: none;
  cursor: pointer;
}

/* === PANTALLAS GRANDES === */
@media (min-width: 993px) {
  .navmenu ul {
    gap: 0px;
  }

  .navmenu a {
    font-size: 20px;
    padding: 20px;
  }

  .dropdown:hover .dropdown-menu {
    display: block !important;
  }

  .logo {
    margin-right: 0px;
  }

  .btn-contact {
    margin-left: 40px;
  }

  .header-container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }

  .navmenu {
    flex: 1;
    justify-content: center;
  }

  .navmenu ul {
    justify-content: center;
    width: 100%;
  }

  .header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
  }
}

/* === RESPONSIVE PEQUEÑAS === */
@media (max-width: 992px) {
  .dropdown.dropdown-active .dropdown-menu {
    display: block !important;
  }
  
  .navmenu a{
    font-size: 15px;
  }
  .dropdown-menu li a {
    font-size: 14px;
  }

  .btn-contact {
    font-size: 15px;
    padding: 6px 8px;
    margin-left: 8.5px;
  }

  .logo img {
    height: 57px;
    margin-top: 10px;
  }

  .btn-language{
    font-size: 13px
  }
}

@media (max-width: 576px) {
  .logo img {
    height: 43px;
    margin-left: 0;
  }

  .navmenu ul {
    gap: 10px;
  }

  .navmenu a {
    font-size: 13px;
  }

  .dropdown-menu li a {
    font-size: 12px;
    padding: 3px 9px;
  }

  .btn-contact {
    font-size: 13px;
    padding: 4px 10px;
  }
  .btn-language {
    font-size: 10px;
    padding: 4px 7px;
  }
}

/*--------------------------------------------------------------
6. Global Footer
--------------------------------------------------------------*/
.footer {
  color: #ffffff;
  background-color: #4C96EA; 
  font-size: 14px;
  position: relative;
}
.footer .footer-top { padding-top: 50px; }
.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 25px;
}
.footer .footer-about .logo img {
  max-height: 40px;
  margin-right: 6px;
}
.footer .footer-about .logo span {
  color: #ffffff;
  font-family: var(--heading-font);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
}
.footer .footer-about p {
  font-size: 14px;
  font-family: var(--heading-font);
}
.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, #ffffff, transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, #ffffff, transparent 20%);
  margin-right: 10px;
  transition: 0.3s;
}
.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}
.footer h4 {
  font-size: 16px;
  font-weight: bold;
  padding-bottom: 12px;
  position: relative;
  color: #ffffff; /* Texto en blanco */
}
.footer .footer-links { margin-bottom: 30px; }
.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer .footer-links ul i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
}
.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}
.footer .footer-links ul li:first-child { padding-top: 0; }
.footer .footer-links ul a {
  color: color-mix(in srgb, #ffffff, transparent 30%);
  display: inline-block;
  line-height: 1;
}
.footer .footer-links ul a:hover { color: var(--accent-color); }
.footer .footer-contact p { 
  margin-bottom: 5px; 
  color: #ffffff; 
}
.footer .copyright {
  padding: 25px 0;
  border-top: 1px solid color-mix(in srgb, #ffffff, transparent 90%);
}
.footer .copyright p { 
  margin-bottom: 0; 
  color: #ffffff;
}
.footer .credits {
  margin-top: 8px;
  font-size: 13px;
  color: #ffffff; 
}

/*--------------------------------------------------------------
7. Botón de Scroll Top
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}
.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}
.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}
.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}


/*--------------------------------------------------------------
8. Utilidades Generales y Ajustes AOS
--------------------------------------------------------------*/
[data-aos-delay] {
  transition-delay: 0 !important;
}
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 90px;
  overflow: clip;
}
@media (max-width: 1199px) {
  section,
  .section {
    scroll-margin-top: 66px;
  }
}
.section-title {
  text-align: center;
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;  
  position: relative;
}
.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
  padding-bottom: 20px;
  display: block;
  position: relative;
}
.section-title h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 50%;
  transform: translateX(-50%);
  bottom: -5px;
}
.section-title p {
  text-align: center;
  display: block;
  font-size: 19.5px;
}


/*--------------------------------------------------------------
9. Sección Hero
--------------------------------------------------------------*/
/* Variables de color */
:root {
  --accent-color: #3b82f6;
  --contrast-color: #fdfdfd;
  --default-color: #111827;
  --heading-color: #1f2937;
  --surface-color: #fdfdfd;
}

/* Estilos globales */
* {
  box-sizing: border-box;
}

body, html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: Arial, sans-serif;
  background-color: var(--surface-color);
}

/* Sección Hero */
.hero {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 50%, transparent 50%);
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.hero-content {
  text-align: center;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--heading-color);
}

.hero-content h1 .text-highlight {
  color: var(--accent-color);
}

.hero-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--default-color);
  margin-bottom: 1.5rem;
  padding: 0 1rem;
}

.hero-image {
  max-width: 100%;
  height: auto;
}

/* Media Queries para responsividad */
@media (max-width: 992px) {
  .hero-content {
    text-align: center;
    margin-bottom: 3rem;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 1.75rem;
  }

  .hero-content p {
    font-size: 0.95rem;
    padding: 0 0.5rem;
  }
}


/*--------------------------------------------------------------
10. Sección About
--------------------------------------------------------------*/
.about .about-meta {
  color: var(--accent-color);
  font-weight: 700;
  margin-bottom: 1rem;
  display: inline-block;
  font-size: 1.13rem;
}
.about .about-title {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  line-height: 1.2;
  font-weight: 700;
}
@media (max-width: 992px) {
  .about .about-title { font-size: 2rem; }
}
.about .about-description {
  margin-bottom: 2rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}
.about .feature-list-wrapper { margin-bottom: 2rem; }
.about .feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.about .feature-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 1rem;
}
.about .feature-list li i {
  color: var(--accent-color);
  font-size: 1.25rem;
}
.about .profile .profile-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}
.about .profile .profile-name {
  font-size: 1.125rem;
  margin: 0;
}
.about .profile .profile-position {
  color: var(--accent-color);
  margin: 0;
  font-size: 0.875rem;
}
.about .contact-info {
  padding: 1rem 1.5rem;
  background-color: var(--surface-color);
  border-radius: 0.5rem;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.06);
}
.about .contact-info i {
  color: var(--accent-color);
  font-size: 1.5rem;
}
.about .contact-info .contact-label {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 0.875rem;
  margin: 0;
}
.about .contact-info .contact-number {
  font-weight: 600;
  margin: 0;
}
.about .image-wrapper { position: relative; }
@media (max-width: 992px) {
  .about .image-wrapper {
    padding-left: 0;
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
}
@media (max-width: 992px) {
  .about .image-wrapper .images {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
}
@media (max-width: 992px) {
  .about .image-wrapper .main-image { margin-left: 0; }
}
.about .image-wrapper .small-image {
  position: absolute;
  top: 20%;
  left: -10%;
  width: 45%;
  border: 8px solid var(--surface-color);
}
@media (max-width: 992px) {
  .about .image-wrapper .small-image {
    position: static;
    width: 100%;
    margin: 0 auto;
    border: 0;
  }
}
.about .image-wrapper .experience-badge {
  position: absolute;
  bottom: 5%;
  right: -7%;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 1rem;
  border-radius: 0.5rem;
  text-align: center;
  min-width: 200px;
  border: 1px solid white; 
  animation: experience-float 3s ease-in-out infinite;
}
@media (max-width: 992px) {
  .about .image-wrapper .experience-badge {
    position: static;
    width: fit-content;
    margin: 0 auto;
  }
}
.about .image-wrapper .experience-badge h3 {
  color: var(--contrast-color);
  font-size: 2.5rem;
  margin: 1;
  line-height: 0.5;
}
.about .image-wrapper .experience-badge h3 span {
  font-size: 1.1rem;
  display: inline-block;
  margin-left: 0.2rem;
}
.about .image-wrapper .experience-badge p {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
}
@keyframes experience-float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

/*-------------------------------------------------------------*/
.about .image-wrapper .experience-badge2 {
  position: absolute;
  bottom: 15%;
  right: 32%;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 1rem;
  border-radius: 0.5rem;
  text-align: center;
  min-width: 200px;
  border: 1px solid white; 
  animation: experience-float 3s ease-in-out infinite;
}

@media (max-width: 992px) {
  .about .image-wrapper .experience-badge2 {
    position: static;
    width: fit-content;
    margin: 0 auto;
  }
}

.about .image-wrapper .experience-badge2 h3 {
  color: var(--contrast-color);
  font-size: 2.5rem;
  margin: 0.3rem;
  line-height: 0.5;
}

.about .image-wrapper .experience-badge2 h3 span {
  font-size: 1rem;
  display: inline-block;
  margin-left: 0.25rem;
}

.about .image-wrapper .experience-badge2 p {
  margin: 0rem 0;
  font-size: 0.875rem;
}

@keyframes experience-float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.faq .faq-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  margin-top: 3rem;
  color: var(--heading-color);
}

.faq .faq-description {
  font-size: 1rem;
  color: var(--default-color);
  margin-bottom: 2rem;
}

.faq .faq-arrow {
  color: var(--accent-color);
}

.faq .faq-container .faq-item {
  background-color: var(--surface-color);
  position: relative;
  padding: 20px;
  margin-bottom: 15px;
  margin-top: 20px;
  border-radius: 10px;
  overflow: hidden;
}

.faq .faq-container .faq-item:last-child {
  margin-bottom: 0;
}

.faq .faq-container .faq-item h3 {
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  margin: 0 30px 0 0;
  transition: 0.3s;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.faq .faq-container .faq-item h3 .num {
  color: var(--accent-color);
  padding-right: 5px;
}

.faq .faq-container .faq-item h3:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.3s ease-in-out;
  visibility: hidden;
  opacity: 0;
}

.faq .faq-container .faq-item .faq-content p {
  margin-bottom: 0;
  overflow: hidden;
}

.faq .faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 16px;
  line-height: 0;
  transition: 0.3s;
  cursor: pointer;
}

.faq .faq-container .faq-item .faq-toggle:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-active h3 {
  color: var(--accent-color);
}

.faq .faq-container .faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  padding-top: 10px;
}

.faq .faq-container .faq-active .faq-toggle {
  transform: rotate(90deg);
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.testimonials .testimonial-item {
  background-color: var(--surface-color);
  box-shadow: 0px 2px 30px rgba(0, 0, 0, 0.08);
  padding: 30px;
  position: relative;
  height: 100%;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50px;
  border: 6px solid var(--background-color);
  float: left;
  margin: 0 10px 0 0;
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 0;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0;
}

.testimonials .testimonial-item .stars {
  margin: 10px 0;
}

.testimonials .testimonial-item .stars i {
  color: #ffc107;
  margin: 0 1px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 50%);
  font-size: 26px;
  line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 15px 0 0 0;
  padding: 0;
}

.cta {
  background-color: #f3f9ff; 
  padding: 60px 0;
  text-align: center;
  font-family: 'Roboto', sans-serif; 
  animation: fadeInUp 1s ease-out; 
}

.cta-title {
  font-size: 36px;
  color: #333;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeIn 1s ease-out forwards 0.2s; 
}

.cta-description {
  font-size: 18px;
  color: #666;
  margin-bottom: 30px;
  opacity: 0;
  animation: fadeIn 1s ease-out forwards 0.4s; 
}

/* Botón centrado */
.cta-btn {
  font-size: 18px;
  padding: 12px 40px;
  color: #4C96EA;
  background-color: #fff;
  border-radius: 30px;
  border: 2px solid #4C96EA;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-left: 85px;
  margin-right: 70px;
  opacity: 0;
  animation: fadeIn 1s ease-out forwards 0.6s; 
}

.cta-btn:hover {
  background-color: #4C96EA;
  color: #fff;
  transform: translateY(-5px); /
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .cta-title {
    font-size: 28px; 
    margin-bottom: 15px;
  }

  .cta-description {
    font-size: 16px; 
    margin-bottom: 20px;
  }

  .cta-btn {
    font-size: 16px;
    padding: 10px 30px; 
  }
}

@media (max-width: 480px) {
  .cta-title {
    font-size: 24px; 
    margin-bottom: 10px;
  }

  .cta-description {
    font-size: 14px; 
    margin-bottom: 15px;
  }

  .cta-btn {
    font-size: 14px; 
    padding: 8px 20px; 
  }
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features .nav-tabs {
  border: 0;
  background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  padding: 6px;
  width: auto;
}

.features .nav-item {
  margin: 0;
  padding: 0 5px 0 0;
}

.features .nav-item:last-child {
  padding-right: 0;
}

.features .nav-link {
  background-color: none;
  color: var(--heading-color);
  padding: 10px 30px;
  transition: 0.3s;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  height: 100%;
  border: 0;
  margin: 0;
}

@media (max-width: 468px) {
  .features .nav-link {
    padding: 8px 20px;
  }
}

.features .nav-link i {
  padding-right: 15px;
  font-size: 48px;
}

.features .nav-link h4 {
  font-size: 14px;
  font-weight: 500;
  margin: 0;
}

.features .nav-link:hover {
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.features .nav-link:hover h4 {
  color: var(--accent-color);
}

.features .nav-link.active {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.features .nav-link.active h4 {
  color: var(--contrast-color);
}

.features .tab-content {
  margin-top: 30px;
}

.features .tab-pane h3 {
  color: var(--heading-color);
  font-weight: 700;
  font-size: 32px;
  position: relative;
  margin-bottom: 20px;
  padding-bottom: 20px;
}

.features .tab-pane h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  bottom: 0;
}

.features .tab-pane ul {
  list-style: none;
  padding: 0;
}

.features .tab-pane ul li {
  padding-top: 10px;
}

.features .tab-pane ul i {
  font-size: 20px;
  padding-right: 4px;
  color: var(--accent-color);
}

.features .tab-pane p:last-child {
  margin-bottom: 0;
}
/*--------------------------------------------------------------
11. Sección Clients
--------------------------------------------------------------*/
.clients .swiper-slide img {
  opacity: 0.5;
  transition: 0.3s;
  filter: grayscale(100);
}
.clients .swiper-slide img:hover {
  filter: none;
  opacity: 1;
}
.clients .swiper-wrapper { height: auto; }
.clients .swiper-pagination {
  margin-top: 20px;
  position: relative;
}
.clients .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  opacity: 1;
  background-color: color-mix(in srgb, var(--default-color), transparent 80%);
}
.clients .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}


/*--------------------------------------------------------------
12 Contact Section
--------------------------------------------------------------*/
.contact .info-box {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 3rem;
  border-radius: 1rem;
  height: 100%;
}

.contact .info-box h3 {
  color: var(--contrast-color);
  font-size: 2rem;
  margin-bottom: 1rem;
}

@media (max-width: 767.98px) {
  .contact .info-box h3 {
    font-size: 1.75rem;
  }
}

.contact .info-box p {
  opacity: 0.8;
  margin-bottom: 2rem;
}

.contact .info-box a {
  color: var(--contrast-color);
}

@media (max-width: 992px) {
  .contact .info-box {
    padding: 1.5rem;
  }
}

.contact .info-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact .info-item:last-child {
  margin-bottom: 0;
}

.contact .info-item .icon-box {
  width: 3.5rem;
  height: 3.5rem;
  background-color: color-mix(in srgb, var(--contrast-color), transparent 85%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: 0.3s;
}

.contact .info-item .icon-box i {
  font-size: 1.5rem;
  color: var(--contrast-color);
}

.contact .info-item:hover .icon-box {
  background-color: color-mix(in srgb, var(--contrast-color), transparent 70%);
}

.contact .info-item .content h4 {
  color: var(--contrast-color);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.contact .info-item .content p {
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.contact .info-item .content p:last-child {
  margin-bottom: 0;
}

.contact .contact-form {
  background-color: var(--surface-color);
  padding: 3rem;
  border-radius: 1rem;
  height: 100%;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.05);
}

@media (max-width: 992px) {
  .contact .contact-form {
    padding: 1.5rem;
  }
}

.contact .contact-form h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .contact .contact-form h3 {
    font-size: 1.75rem;
  }
}

.contact .contact-form p {
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin-bottom: 2rem;
}

.contact .contact-form .form-control,
.contact .contact-form .form-select {
  padding: 0.875rem 1.25rem;
  border-color: color-mix(in srgb, var(--default-color), transparent 90%);
  border-radius: 0.5rem;
  background-color: color-mix(in srgb, var(--surface-color) 90%, white 5%);
  color: var(--default-color);
}

.contact .contact-form .form-control:focus,
.contact .contact-form .form-select:focus {
  box-shadow: none;
  border-color: var(--accent-color);
}

.contact .contact-form .form-control::placeholder,
.contact .contact-form .form-select::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.contact .contact-form .btn {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 1rem 2rem;
  border-radius: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: 0.3s;
}

.contact .contact-form .btn i {
  font-size: 1.25rem;
}

.contact .contact-form .btn:hover {
  background-color: color-mix(in srgb, var(--accent-color), var(--contrast-color) 20%);
}

/*--------------------------------------------------------------
13. Sección Services y Service Details
--------------------------------------------------------------*/
.services .service-card {
  height: 100%;
  padding: 30px;
  background: var(--surface-color);
  border-radius: 10px;
  transition: all 0.3s ease;
}
.services .service-card:hover {
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.08);
}
.services .service-card:hover .icon {
  background: var(--accent-color);
  color: var(--contrast-color);
}
.services .service-card:hover .read-more {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
}
.services .service-card .icon {
  width: 60px;
  height: 60px;
  margin-right: 30px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--accent-color);
  font-size: 28px;
  transition: all 0.3s ease;
  line-height: 1;
}
.services .service-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
}
.services .service-card p {
  margin-bottom: 25px;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  font-size: 15px;
  line-height: 1.6;
}
.services .service-card .read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-color);
  font-weight: 500;
  transition: all 0.3s ease;
}
.services .service-card .read-more i {
  font-size: 14px;
  transition: transform 0.3s ease;
}
.services .service-card .read-more:hover i {
  transform: translateX(5px);
}

/* Services imgs */
.ia-img {
  width: 100%;  
  max-width: 400px;
  height: auto; 
  margin: 0 auto; 
  display: block; 
  opacity: 0; 
  animation: fadeIn 1s forwards;
}


@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: scale(0.8); /
  }
  100% {
    opacity: 1;
    transform: scale(1); 
  }
}

/* Responsividad */
@media (max-width: 768px) {
  .ia-img {
    max-width: 300px; 
  }
}


.services-img {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin: 0 auto;
  display: block;
  opacity: 0;
  transform: translateX(-30px);
  animation: slideIn 1s forwards;
}

@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateX(-30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 768px) {
  .services-img {
    max-width: 300px;
  }
}

.cloud-img {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin: 0 auto;
  display: block;
  opacity: 0;
  transform: scale(0.8);
  animation: zoomIn 1s forwards;
}

@keyframes zoomIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 768px) {
  .cloud-img {
    max-width: 300px;
  }
}


/* Service Details */
.service-details .service-box {
  background-color: var(--surface-color);
  padding: 20px;
  box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
}
.service-details .service-box + .service-box {
  margin-top: 30px;
}
.service-details .service-box h4 {
  font-size: 20px;
  font-weight: 700;
  border-bottom: 2px solid color-mix(in srgb, var(--default-color), transparent 92%);
  padding-bottom: 15px;
  margin-bottom: 15px;
}
.service-details .services-list {
  background-color: var(--surface-color);
}
.service-details .services-list a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  display: flex;
  align-items: center;
  padding: 12px 15px;
  margin-top: 15px;
  transition: 0.3s;
}
.service-details .services-list a:first-child {
  margin-top: 0;
}
.service-details .services-list a i {
  font-size: 16px;
  margin-right: 8px;
  color: var(--accent-color);
}
.service-details .services-list a.active {
  color: var(--contrast-color);
  background-color: var(--accent-color);
}
.service-details .services-list a.active i {
  color: var(--contrast-color);
}
.service-details .services-list a:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  color: var(--accent-color);
}

/* HELP BOX */
.service-details .help-box {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  margin-top: 30px;
  padding: 30px 15px;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-details .help-box:hover {
  transform: translateY(-5px);
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
}

.service-details .help-box h4 {
  color: #fff !important; 
}

.service-details .help-box a {
  color: var(--contrast-color);
  text-decoration: none;
  display: block;
  margin-top: 10px;
}

.service-details .help-box a:hover {
  text-decoration: underline;
}

.service-details .help-box .help-icon {
  font-size: 48px;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.service-details .services-img { margin-bottom: 20px; }
.service-details h3 {
  font-size: 26px;
  font-weight: 700;
}
.service-details p { font-size: 15px; }
.service-details ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}
.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}
.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}



/*--------------------------------------------------------------
14. Sección Starter (Personalizable)
--------------------------------------------------------------*/
.starter-section {
  /* Agrega aquí tus estilos personalizados */
}
