/* Global Variables and Root Styles */
:root {
  --default-font: "Montserrat", sans-serif;
  --heading-font: "Montserrat", sans-serif;
  --nav-font: "Raleway", sans-serif;
  
  --background-color: #ffffff;
  --default-color: #333;
  --heading-color: #1979d8;
  --accent-color: #1979d8;
  --contrast-color: #ffffff;
  --nav-color: rgb(255, 255, 255);
  --nav-hover-color: #ffffff;
  --nav-dropdown-background-color: #1979d8;
  --nav-dropdown-color: #ffff;
  --nav-dropdown-hover-color: #ffffff;
  
  scroll-behavior: smooth;
}

/* Configuración mejorada de scroll suave */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Espacio para el header fijo */
}

/* Mejorar el scroll suave en navegadores modernos */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
  
  * {
    scroll-behavior: smooth;
  }
}

/* Respetar preferencias de accesibilidad */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  
  * {
    scroll-behavior: auto;
  }
}

/* Mejorar la experiencia de scroll en todos los elementos */
* {
  scroll-behavior: smooth;
}

/* Configuración específica para secciones */
section {
  scroll-margin-top: 100px; /* Espacio para el header fijo */
}

/* Mejorar el scroll en navegadores que soportan scroll-padding */
@supports (scroll-padding-top: 80px) {
  html {
    scroll-padding-top: 100px;
  }
}

/* Fallback para navegadores más antiguos */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
  html {
    scroll-behavior: smooth;
  }
}

/* Clients Section */
.clients-container {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 20px;
  width: 100%;
  font-family: var(--default-font);
}
.clients-wrapper {
  display: flex;
  gap: 40px;
  animation: scroll 20s linear infinite;
  width: calc(150px * 12);
}
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.clients-wrapper:hover {
  animation-play-state: paused;
}
.clients {
  width: 150px;
  height: 100px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: transform 0.6s ease, filter 0.6s ease;
  flex-shrink: 0;
}
.clients:hover {
  filter: grayscale(0%);
  transform: scale(1.2);
}

/* Clients Section */
.clients-container1 {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 10px;
  width: 100%;
  font-family: var(--default-font);
}
.clients-wrapper1 {
  display: flex;
  gap: 40px;
  animation: scroll 15s linear infinite;
  width: calc(150px * 10);
}
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-30%);
  }
}
.clients-wrapper1:hover {
  animation-play-state: paused;
}
.clients1 {
  width: 100px;
  height: 80px;
  object-fit: contain;
  filter: grayscale(50%);
  transition: transform 0.6s ease, filter 0.6s ease;
  flex-shrink: 0;
}
.clients1:hover {
  filter: grayscale(0%);
  transform: scale(1.2);
}

/* General Styles */
body {
  color: var(--default-color);
  font-family: var(--default-font);
}
a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.3s;
}
a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
}
h1, h2, h3, h4, h5, h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

#typewriter-title {
  font-family: 'Courier New', Courier, monospace;
  text-shadow: 0 0 10px #333;
  font-weight: 900;
  white-space: pre;
  overflow-wrap: break-word;
  border-right: 0.15em solid rgb(255, 255, 255);
  display: inline-block;
  animation: blink-caret 0.75s step-end infinite;
  transition: max-width 0.5s, font-size 0.5s;
  font-size: 4vw;
  max-width: auto;
}

@media (min-width: 769px) {
  #typewriter-title {
    font-size: 2vw;
  }
}
@media (max-width: 768px) {
  #typewriter-title {
    font-size: 4vw;
    white-space: normal;
    overflow-wrap: break-word;
  }
}
@media (max-width: 480px) {
  #typewriter-title {
    font-size: 6vw;
    font-weight: bold;
    white-space: normal;
    overflow-wrap: break-word;
  }
}
@keyframes blink-caret {
  from, to { border-color: transparent; }
  50% { 
    border-color: rgb(248, 248, 248);
  }
}
.hide {
  display: none !important;
}

/* Global Header */
.header {
  --background-color: rgba(255, 255, 255, 0);
  --heading-color: #ffffff;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 10px 0;
  transition: all 0.5s;
  z-index: 997;
  text-shadow: 0 0 5px #333;
}
.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: -180%;
  width: 200%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(145, 186, 248, 0.171), transparent);
}
.header .logo {
  line-height: 1;
}
.header .logo h1 {
  font-size: 25px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}
.scrolled .header {
  box-shadow: 0px 0 18px color-mix(in srgb, var(--default-color), transparent 85%);
  background: linear-gradient(120deg, #0062c7, #0054b3);
  text-decoration: #fff;
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: white;
  transition: transform 0.3s;
}
.logo:hover {
  transform: scale(1.05);
}
.sitename {
  font-size: 2em;
  margin-left: 10px;
  position: relative;
  overflow: visible;
  white-space: nowrap;
  color: #fff;
}
.sitename2 {

  color: #fff !important;
}
.sitename3 {
  color: #0054b3 !important;
}

.sitename:hover {
  animation: textGlow 2s infinite;
}
.logo-img {
  width: 50px;
  height: auto;
  filter: brightness(1.5);
  transition: transform 0.3s, filter 0.3s, box-shadow 0.3s;
}
.logo-img:hover {
  transform: rotate(5deg) scale(1.1);
  filter: brightness(2);
}

/* Navigation Menu */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }
  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }
  .navmenu li {
    position: relative;
  }
  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 16px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: color 0.3s;
  }
  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: font-size 0.3s;
  }
  .navmenu li:last-child a {
    padding-right: 0;
  }
  .navmenu li:hover > a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }
  .navmenu .dropdown ul {
    margin: 0;
    padding: 8px 0;
    background: #1979d8;
    display: block;
    position: absolute;
    visibility: hidden;
    left: 0;
    top: 100%;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 99;
    box-shadow: 0 10px 40px rgba(25, 121, 216, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    min-width: 220px;
  }
  .navmenu .dropdown ul li {
    min-width: 220px;
    position: relative;
  }
  .navmenu .dropdown ul a {
    padding: 12px 20px;
    font-size: 14px;
    text-transform: none;
    color: var(--nav-dropdown-color);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 2px 8px;
    position: relative;
    overflow: hidden;
  }
  .navmenu .dropdown ul a i {
    font-size: 14px;
    width: 16px;
    text-align: center;
    transition: transform 0.3s ease;
  }
  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover > a {
    color: var(--nav-dropdown-hover-color);
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(4px);
  }
  .navmenu .dropdown ul a:hover i {
    transform: scale(1.1);
  }
  .navmenu .dropdown:hover > ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
    transform: translateY(0);
  }
  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }
  .navmenu .dropdown .dropdown:hover > ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }
  .navmenu {
    padding: 0;
    z-index: 9997;
  }
  .navmenu ul {
    display: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background: linear-gradient(120deg, #0062c7, #0054b3);
    overflow-y: auto;
    transition: opacity 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px color-mix(in srgb, var(--default-color), transparent 90%);
  }
  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: color 0.3s;
  }
  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  }
  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }
  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    background-color: #26498a;
    color: #ffffff;
  }
  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }
  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background: linear-gradient(120deg, #0062c7, #0054b3);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }
  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }
  .navmenu .dropdown > .dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }
  .mobile-nav-active {
    overflow: hidden;
  }
  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }
  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }
  .mobile-nav-active .navmenu > ul {
    display: block;
  }
}

/* Modernized Footer */
.footer {
  color: #fff;
  background: linear-gradient(135deg, #0062c7, #003c88);
  font-size: 15px;
  position: relative;
  font-family: 'Montserrat', sans-serif;
}

.footer .footer-top {
  padding: 60px 0 40px;
  background: #e7ebee;
  color: #0d1b30;
}

.footer .footer-about {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.footer .footer-about .logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer .footer-about .logo img {
  max-height: 45px;
  margin-right: 10px;
}

.footer .footer-about .logo span {
  font-size: 28px;
  font-weight: 700;
}

.footer .footer-about p {
  color: #333;
  font-size: 15px;
  line-height: 1.6;
  max-width: 95%;
}

.footer .social-links a {
  background-color: #0054b3;
  color: #fff !important;
  width: 40px;
  aspect-ratio: 1 / 1; /* Mantiene forma circular */
  font-size: 18px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 84, 179, 0.2);
}


.footer .social-links a:hover {
  background-color: #003c88;
  transform: scale(1.1);
}

.footer h4 {
  color: #003c88;
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 15px;
  position: relative;
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: #0054b3;
}

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

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

.footer .footer-links ul li {
  padding: 8px 0;
}

.footer .footer-links ul li a {
  color: #0054b3;
  font-size: 15px;
  transition: color 0.3s ease;
}

.footer .footer-links ul li a:hover {
  color: #003c88;
  text-decoration: underline;
}

.footer .footer-contact p,
.footer .footer-contact a,
.footer .footer-contact strong {
  color: #0054b3;
  font-size: 15px;
  transition: color 0.3s ease;
}

.footer .footer-contact a:hover {
  color: #003c88;
}

.footer .copyright {
  padding: 20px 0;
  color: #fff;
  font-size: 14px;
}

.footer .copyright p {
  margin: 0;
}

.footer .credits {
  margin-top: 5px;
  font-size: 13px;
  color: #dbe9ff;
}
.footer .credits a{
  margin-top: 5px;
  font-size: 13px;
  color: #dbe9ff;
  font-weight: bold;
}

/* Responsive Improvements */
@media (max-width: 768px) {
  .footer .footer-about,
  .footer .footer-links,
  .footer .footer-contact {
    text-align: center;
  }

  .footer .social-links {
    justify-content: center;
  }

  .footer .footer-links ul li {
    justify-content: center;
  }
}

/* Ajustes adicionales para que el footer se alinee bien en desktop */
@media (min-width: 992px) {
  .footer .footer-top .row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
  }

  .footer .footer-about {
    flex: 1.5;
    min-width: 250px;
  }

  .footer .footer-links,
  .footer .footer-contact {
    flex: 1;
    min-width: 180px;
  }

  .footer .footer-contact {
    text-align: left;
  }
}

/* En pantallas medianas y chicas: apilar las columnas */
@media (max-width: 991px) {
  .footer .footer-top .row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer .footer-about,
  .footer .footer-links,
  .footer .footer-contact {
    width: 100%;
    margin-bottom: 30px;
  }

  .footer .footer-contact {
    text-align: center;
  }

  .footer .social-links {
    justify-content: center;
  }
}

.footer h4 {
  color: #003c88;
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 15px;
  position: relative;
  text-align: center; /* Añadido */
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background-color: #0054b3;
  transition: width 0.3s ease;
}

.footer h4:hover::after {
  width: 50px;
}

/* En pantallas medianas y chicas: centrado también */
@media (max-width: 991px) {
  .footer h4 {
    text-align: center;
  }
}

.footer-book-call-btn {
  background-color: #0054b3;
  color: #fff;
  padding: 14px 32px;
  font-size: 16px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(0, 84, 179, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0px;
}

.footer-book-call-btn:hover {
  background-color: #003c88;
  transform: translateY(-2px);
}

/* Centrado solo en footer */
.footer .footer-book-call-btn {
  margin-left: auto;
  margin-right: auto;
}

/* Responsivo */
@media (max-width: 768px) {
  .footer .footer-book-call-btn {
    width: 100%;
    max-width: 280px;
  }
}


/* Preloader */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background: linear-gradient(120deg, #0062c7, #0054b3);
  transition: all 0.6s ease-out;
  display: flex;
  justify-content: center;
  align-items: center;
}
#preloader img {
  width: 300px;
  height: auto;
  animation: logo-pulse 1.5s infinite ease-in-out;
}
@keyframes logo-pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
}

/* Scroll Top Button */
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background: linear-gradient(135deg, #0062c7 0%, #0054b3 100%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 98, 199, 0.3),
              inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  transform: translateY(20px);
  overflow: hidden;
  isolation: isolate;
  animation: scrollTopPulse 3s ease-in-out infinite;
}
.scroll-top i {
  font-size: 24px;
  color: white;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}
.scroll-top::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.05)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}
.scroll-top::after {
  content: '';
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  transform: scale(0);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}
.scroll-top:hover {
  transform: translateY(-8px) scale(1.1);
  background: linear-gradient(135deg, #0054b3 0%, #004499 100%);
  box-shadow: 0 8px 30px rgba(0, 98, 199, 0.4),
              0 4px 12px rgba(0, 98, 199, 0.3);
}
.scroll-top:hover::before {
  opacity: 1;
}
.scroll-top:hover i {
  transform: translateY(-3px) scale(1.1);
  color: #fff;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}
.scroll-top:active {
  transform: scale(0.95);
}
.scroll-top:active::after {
  transform: scale(1);
  opacity: 1;
  animation: ripple 0.6s ease-out;
}
.scroll-top.active {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollTopPulse {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(0, 98, 199, 0.3),
                inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  }
  50% {
    box-shadow: 0 6px 25px rgba(0, 98, 199, 0.5),
                inset 0 0 0 1px rgba(255, 255, 255, 0.3),
                0 0 0 8px rgba(0, 98, 199, 0.1);
  }
}
@keyframes ripple {
  to {
    transform: scale(2);
    opacity: 0;
  }
}
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}
@media (max-width: 768px) {
  .scroll-top {
    width: 45px;
    height: 45px;
    right: 15px;
    bottom: 15px;
  }
  .scroll-top i {
    font-size: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-top,
  .scroll-top i {
    transition: none;
    animation: none;
  }
  .scroll-top:hover {
    transform: none;
  }
}
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/* Enhanced White Background Effects */
/* More visible gradient overlays for white backgrounds */
.enhanced-white-bg {
  background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 30%, #f8fafc 70%, #ffffff 100%);
  position: relative;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

.enhanced-white-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(25, 121, 216, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 80% 20%, rgba(30, 75, 122, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 40% 40%, rgba(38, 73, 138, 0.06) 0%, transparent 60%),
    radial-gradient(circle at 60% 70%, rgba(25, 121, 216, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.enhanced-white-bg > * {
  position: relative;
  z-index: 10;
}

/* More visible pattern overlay */
.pattern-white-bg {
  background: 
    linear-gradient(135deg, #ffffff 0%, #f0f8ff 40%, #f8fafc 80%, #ffffff 100%),
    radial-gradient(circle at 25% 25%, rgba(25, 121, 216, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 75% 75%, rgba(30, 75, 122, 0.06) 0%, transparent 60%);
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

.pattern-white-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(45deg, transparent 35%, rgba(25, 121, 216, 0.06) 50%, transparent 65%),
    linear-gradient(-45deg, transparent 35%, rgba(30, 75, 122, 0.04) 50%, transparent 65%),
    linear-gradient(90deg, transparent 40%, rgba(38, 73, 138, 0.03) 50%, transparent 60%);
  background-size: 80px 80px, 100px 100px, 120px 120px;
  pointer-events: none;
  z-index: 0;
}

.pattern-white-bg > * {
  position: relative;
  z-index: 10;
}

/* Glass morphism effect for cards */
.glass-white-bg {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Animated gradient background */
.animated-white-bg {
  background: linear-gradient(-45deg, #ffffff, #f8fafc, #ffffff, #f0f8ff);
  background-size: 400% 400%;
  animation: gradient-shift 15s ease infinite;
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Subtle texture overlay */
.texture-white-bg {
  background: 
    linear-gradient(135deg, #ffffff 0%, #f8fafc 100%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231979d8' fill-opacity='0.02'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-size: 60px 60px;
}

/* More visible floating particles effect */
.particles-white-bg {
  background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 50%, #f8fafc 100%);
  position: relative;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

.particles-white-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 20%, rgba(25, 121, 216, 0.15) 2px, transparent 2px),
    radial-gradient(circle at 80% 80%, rgba(30, 75, 122, 0.12) 2px, transparent 2px),
    radial-gradient(circle at 40% 60%, rgba(38, 73, 138, 0.10) 2px, transparent 2px),
    radial-gradient(circle at 60% 30%, rgba(25, 121, 216, 0.08) 1px, transparent 1px);
  background-size: 80px 80px, 100px 100px, 60px 60px, 120px 120px;
  animation: float-particles 15s linear infinite;
  pointer-events: none;
  z-index: 0;
}

.particles-white-bg > * {
  position: relative;
  z-index: 10;
}

@keyframes float-particles {
  0% {
    transform: translateY(0) translateX(0);
  }
  25% {
    transform: translateY(-20px) translateX(10px);
  }
  50% {
    transform: translateY(-10px) translateX(-10px);
  }
  75% {
    transform: translateY(-30px) translateX(5px);
  }
  100% {
    transform: translateY(0) translateX(0);
  }
}

/* Tech Circuit Effect for Services - Performance Optimized */
.tech-circuit-bg {
  background: 
    linear-gradient(135deg, #ffffff 0%, #f0f8ff 20%, #e6f3ff 40%, #d1e7ff 60%, #f8fafc 80%, #ffffff 100%);
  position: relative;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  /* Performance optimizations */
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Circuit board pattern */
.tech-circuit-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    /* Horizontal circuit lines */
    linear-gradient(90deg, transparent 48%, rgba(25, 121, 216, 0.1) 49%, rgba(25, 121, 216, 0.1) 51%, transparent 52%),
    linear-gradient(90deg, transparent 78%, rgba(30, 75, 122, 0.08) 79%, rgba(30, 75, 122, 0.08) 81%, transparent 82%),
    /* Vertical circuit lines */
    linear-gradient(0deg, transparent 28%, rgba(38, 73, 138, 0.06) 29%, rgba(38, 73, 138, 0.06) 31%, transparent 32%),
    linear-gradient(0deg, transparent 58%, rgba(25, 121, 216, 0.05) 59%, rgba(25, 121, 216, 0.05) 61%, transparent 62%),
    /* Diagonal data streams */
    linear-gradient(45deg, transparent 38%, rgba(25, 121, 216, 0.04) 39%, rgba(25, 121, 216, 0.04) 41%, transparent 42%),
    linear-gradient(-45deg, transparent 68%, rgba(30, 75, 122, 0.03) 69%, rgba(30, 75, 122, 0.03) 71%, transparent 72%);
  background-size: 200px 200px, 150px 150px, 180px 180px, 120px 120px, 160px 160px, 140px 140px;
  animation: circuit-flow 20s linear infinite;
  /* Performance optimization */
  will-change: transform;
  transform: translateZ(0);
  pointer-events: none;
  z-index: 0;
}

/* Circuit nodes and connection points */
.tech-circuit-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    /* Circuit nodes */
    radial-gradient(circle at 20% 20%, rgba(25, 121, 216, 0.15) 2px, transparent 2px),
    radial-gradient(circle at 80% 30%, rgba(30, 75, 122, 0.12) 2px, transparent 2px),
    radial-gradient(circle at 40% 60%, rgba(38, 73, 138, 0.10) 2px, transparent 2px),
    radial-gradient(circle at 70% 80%, rgba(25, 121, 216, 0.08) 2px, transparent 2px),
    radial-gradient(circle at 10% 70%, rgba(30, 75, 122, 0.06) 1px, transparent 1px),
    radial-gradient(circle at 90% 10%, rgba(38, 73, 138, 0.05) 1px, transparent 1px);
  background-size: 300px 300px, 250px 250px, 200px 200px, 180px 180px, 150px 150px, 120px 120px;
  animation: circuit-pulse 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

/* Data flow animation - Optimized for performance */
@keyframes circuit-flow {
  0% {
    transform: translate3d(0, 0, 0);
  }
  25% {
    transform: translate3d(25px, 12px, 0);
  }
  50% {
    transform: translate3d(50px, 25px, 0);
  }
  75% {
    transform: translate3d(75px, 37px, 0);
  }
  100% {
    transform: translate3d(100px, 50px, 0);
  }
}

/* Circuit pulse animation */
@keyframes circuit-pulse {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  25% {
    opacity: 0.6;
    transform: scale(1.05);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.1);
  }
  75% {
    opacity: 0.4;
    transform: scale(0.95);
  }
}

.tech-circuit-bg > * {
  position: relative;
  z-index: 10;
}

/* Tech glitch effect for cards */
.services-1-card.tech-card {
  position: relative;
  overflow: hidden;
}

.services-1-card.tech-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(25, 121, 216, 0.1), transparent);
  animation: tech-scan 3s ease-in-out infinite;
  z-index: 1;
}

.services-1-card.tech-card:hover::before {
  animation: tech-scan-fast 1s ease-in-out infinite;
}

@keyframes tech-scan {
  0% {
    left: -100%;
  }
  50% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}

@keyframes tech-scan-fast {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* Binary code effect */
.tech-circuit-bg .binary-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(25, 121, 216, 0.02) 2px,
      rgba(25, 121, 216, 0.02) 4px
    );
  animation: binary-fall 15s linear infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes binary-fall {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(100%);
  }
}

/* Performance optimizations for mobile devices */
@media (max-width: 768px) {
  .tech-circuit-bg::before {
    animation-duration: 30s; /* Slower on mobile */
  }
  
  .tech-circuit-bg::after {
    animation-duration: 12s; /* Slower on mobile */
  }
  
  .binary-overlay {
    animation-duration: 25s; /* Slower on mobile */
  }
  
  .services-1-card.tech-card::before {
    animation-duration: 5s; /* Slower on mobile */
  }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  .tech-circuit-bg::before,
  .tech-circuit-bg::after,
  .binary-overlay,
  .services-1-card.tech-card::before {
    animation: none;
  }
  
  .tech-circuit-bg {
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 50%, #ffffff 100%);
  }
}

.wave-white-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 30% 20%, rgba(25, 121, 216, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(30, 75, 122, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(38, 73, 138, 0.06) 0%, transparent 60%);
  animation: wave-motion 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.wave-white-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(45deg, transparent 30%, rgba(25, 121, 216, 0.05) 50%, transparent 70%),
    linear-gradient(-45deg, transparent 30%, rgba(30, 75, 122, 0.03) 50%, transparent 70%);
  background-size: 100px 100px;
  animation: wave-motion 12s ease-in-out infinite reverse;
  pointer-events: none;
  z-index: 0;
}

.wave-white-bg > * {
  position: relative;
  z-index: 10;
}

@keyframes wave-motion {
  0%, 100% {
    transform: translateX(0) translateY(0) scale(1);
  }
  25% {
    transform: translateX(10px) translateY(-5px) scale(1.05);
  }
  50% {
    transform: translateX(-5px) translateY(10px) scale(0.95);
  }
  75% {
    transform: translateX(5px) translateY(-10px) scale(1.02);
  }
}

/* Full-width section containers */
.products-section,
.services-1-grid-section {
  position: relative;
  width: 100%;
}

.products-section .container,
.services-1-grid-section .container {
  position: relative;
  z-index: 10;
}

/* Global Page Titles & Breadcrumbs */
.page-title {
  --background-color: #1b2f45;
  --heading-color: var(--contrast-color);
  --default-color: var(--contrast-color);
  color: var(--default-color);
  background-color: var(--background-color);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 160px 0 60px 0;
  text-align: center;
  position: relative;
}
.page-title:before {
  content: "";
  background-color: color-mix(in srgb, var(--background-color), transparent 40%);
  position: absolute;
  inset: 0;
}
.page-title .container {
  position: relative;
}
.page-title h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}
.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}
.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}
.page-title .breadcrumbs ol li+li::before {
  content: "/";
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/* Global Sections */
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 100px;
  overflow: clip;
}
section .row {
  margin-left: px;
  margin-right: 0px;
}
@media (max-width: 1199px) {
  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/* Global Section Titles */
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}
.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
  padding-bottom: 5px;
}
.section-title p {
  margin-bottom: 0;
}

/* S Section */
.hero {
  --default-color: #ffffff;
  --background-color: #1b2f4581;
  --heading-color: #ffffff;
  width: 100%;
  min-height: 100vh;
  padding: 120px 0 60px;
  display: flex;
  align-items: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Ajusta el gradiente para lograr el efecto deseado:
     De oscuro en la parte superior a transparente en la parte inferior */
  background: linear-gradient(to bottom, #2f4eb3b3, rgba(218, 216, 216, 0));
  z-index: 1;
}
.lazy {
  opacity: 0;
  transition: opacity 0.1s ease-in;
}
.lazy.loaded {
  opacity: 1;
}
@media (min-width: 1200px) {
  .hero:after {
    content: "";
    width: 44%;
    position: absolute;
    z-index: 3;
  }
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}
.hero .container,
.hero .container-fluid {
  position: relative;
  z-index: 4;
}
.hero h1 {
  margin: 0;
  font-size: 3rem;
  font-weight: 700;
  z-index: 1;
}
.hero blockquote {
  text-shadow: 0 0 5px #00000093;
  color: #fff;
  font-size: clamp(20px, vw, 80px);
  font-weight: 700;
  line-height: 1; /* Ajusta este valor según lo necesites */
  padding-left: 10px;
  width: auto;
  border-left: 4px solid #fafafa;
  margin: 10px 0;
}


.hero .btn-get-started {
  color: var(--accent-color);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(240, 248, 255, 0.9));
  background-color: rgba(255, 255, 255, 0.9);
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  transition: all 0.3s ease;
  z-index: 5;
  position: relative;
  margin-top: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(25, 121, 216, 0.2);
  overflow: hidden;
}

/* Efecto de partículas para el botón */
.hero .btn-get-started::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(25, 121, 216, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(25, 121, 216, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 40% 80%, rgba(25, 121, 216, 0.1) 0%, transparent 50%);
  border-radius: 50px;
  animation: particle-float 4s ease-in-out infinite;
  pointer-events: none;
}

.hero .btn-get-started::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 60% 30%, rgba(255, 255, 255, 0.2) 0%, transparent 40%),
              radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.2) 0%, transparent 40%);
  border-radius: 50px;
  animation: particle-float 3s ease-in-out infinite reverse;
  pointer-events: none;
}

@keyframes particle-float {
  0%, 100% {
    transform: translateY(0px) scale(1);
    opacity: 0.7;
  }
  25% {
    transform: translateY(-2px) scale(1.05);
    opacity: 0.9;
  }
  50% {
    transform: translateY(-1px) scale(0.95);
    opacity: 0.8;
  }
  75% {
    transform: translateY(-3px) scale(1.02);
    opacity: 0.85;
  }
}
.hero .btn-get-started:hover {
  background: linear-gradient(135deg, var(--accent-color), #1e4b7a);
  color: var(--contrast-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(25, 121, 216, 0.4);
  border-color: var(--accent-color);
}

.hero .btn-get-started:hover::before {
  background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
              radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.3) 0%, transparent 50%);
  animation: particle-float-hover 2s ease-in-out infinite;
}

.hero .btn-get-started:hover::after {
  background: radial-gradient(circle at 60% 30%, rgba(255, 255, 255, 0.4) 0%, transparent 40%),
              radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.4) 0%, transparent 40%);
  animation: particle-float-hover 1.5s ease-in-out infinite reverse;
}

@keyframes particle-float-hover {
  0%, 100% {
    transform: translateY(0px) scale(1) rotate(0deg);
    opacity: 0.8;
  }
  25% {
    transform: translateY(-3px) scale(1.1) rotate(1deg);
    opacity: 1;
  }
  50% {
    transform: translateY(-2px) scale(0.9) rotate(-1deg);
    opacity: 0.9;
  }
  75% {
    transform: translateY(-4px) scale(1.05) rotate(0.5deg);
    opacity: 0.95;
  }
}
.hero .btn-watch-video {
  font-size: 16px;
  transition: color 0.5s;
  margin-left: 25px;
  color: var(--default-color);
  font-weight: 600;
  z-index: 5;
  position: relative;
}
.hero .btn-watch-video i {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
  font-size: 32px;
  transition: color 0.3s;
  line-height: 0;
  margin-right: 8px;
}
@media (max-width: 640px) {
  .hero h1 {
    font-size: 28px;
    line-height: 36px;
  }
  .hero .btn-get-started,
  .hero .btn-watch-video {
    font-size: 13px;
  }
}
@media (max-width: 768px) {
  .hero video {
    height: 100vh;
  }
}

/* Why Us Section */
.why-us {
  background-color: #fff;
  background-size: cover;
}

.why-us.enhanced-white-bg {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.why-us.enhanced-white-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(25, 121, 216, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(30, 75, 122, 0.02) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(38, 73, 138, 0.01) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.why-us.enhanced-white-bg > * {
  position: relative;
  z-index: 2;
}
.why-us h2 {
  color: #fff;
}
.why-us .img-bg {
  min-height: 500px;
  position: relative;
}
.why-us .img-bg img {
  inset: 0;
  display: block;
  width: 100%;
  height: 80%;
  object-fit: cover;
  position: absolute;
  z-index: 1;
}
.why-us .slides {
  background: #fdfdfd;
}
.why-us h3 {
  color: #3f63af;
  font-size: 24px;
  font-weight: 700;
}
.why-us h4 {
  color: #333;
  font-size: 18px;
  font-weight: 300;
}
.why-us .swiper {
  color: #333 !important;
  margin: 60px;
  margin-top: 5px;
  overflow: hidden;
}
.why-us .swiper-wrapper {
  color: #333 !important;
}
.why-us .swiper-button-prev:after,
.why-us .swiper-button-next:after {
  font-size: 24px;
  color: #333 !important;
}
.why-us .swiper-button-prev {
  top: 170px;
  left: 10px;
}
.why-us .swiper-button-next {
  top: 170px;
  right: 10px;
}
.why-us .swiper-pagination {
  margin-top: 3px;
  position: relative;
}
.why-us .swiper-pagination .swiper-pagination-bullet {
  color: #fff !important;
}
.why-us .swiper-pagination .swiper-pagination-bullet-active {
  color: #fff !important;
}
@media (max-width: 1200px) {
  .why-us .swiper {
    margin: 40px;
    margin-top: 5px;

  }
  .why-us .swiper-button-prev,
  .why-us .swiper-button-next {
    display: none;
  }
}
@media (max-width: 575px) {
  .why-us .swiper {
    margin: 40px;
  }
}

/* Products & Solutions Section */
#services.section {
  padding: 40px 0;
  background-color: #f9f9f9; /* Fondo neutro para contrastar con las tarjetas */
}

/* Título y descripción de la sección */
#services .section-title {
  text-align: center;
  margin-bottom: 0px;
  padding: 15px;
}

#services .section-title h2 {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(120deg, #0062c7, #0054b3);
    color: #fff;
  width: fit-content;
  margin:  auto;
  margin-bottom: 0;
  padding: 8px 20px;
  border-radius: 25px;
}


#services .section-title p {
  margin-top: 10px;
  font-size: 1.2rem;
  line-height: 1.5;
  color: #666;
  font-weight: 500;
  margin-bottom: 30px;
}

/* Tarjetas de producto (Service Items) */
.products-section {
  border-radius: 20px;
}

.section-title .gradient-title {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(90deg, #1979d8, #0054b3);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  margin-bottom: 10px;
}

.section-title .subtitle {
  color: #555;
  font-size: 1.1rem;
  font-weight: 500;
  max-width: 700px;
  margin: 0 auto;
}

/* Service card */
.service-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: all 0.35s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0, 84, 179, 0.25);
}

/* Icon styles */
.service-item .icon {
  background: linear-gradient(120deg, #0062c7, #0054b3);
  color: #fff;
  padding: 18px;
  border-radius: 14px;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  height: 60px;
}

.service-item .icon img {
  width: 2.5rem;
  height: 2.5rem;
  filter: brightness(0) invert(1);
  object-fit: contain;
}

/* Text content */
.service-item .title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1b2f45;
  margin-bottom: 8px;
}

.service-item .description {
  font-size: 1rem;
  line-height: 1.6;
  color: #5f5f5f;
  margin-bottom: 12px;
}

/* Link */
.service-item .readmore {
  font-size: 1rem;
  color: #0054b3;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
}

.service-item .readmore:hover {
  color: #003a86;
  text-decoration: underline;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .service-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .service-item .icon {
    margin-bottom: 15px;
  }
}


/* Product Section */
.product {
  background: #fff;
}

.product.pattern-white-bg {
  background: 
    linear-gradient(135deg, #ffffff 0%, #f8fafc 100%),
    radial-gradient(circle at 25% 25%, rgba(25, 121, 216, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(30, 75, 122, 0.03) 0%, transparent 50%);
  position: relative;
}

.product.pattern-white-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(45deg, transparent 40%, rgba(25, 121, 216, 0.02) 50%, transparent 60%),
    linear-gradient(-45deg, transparent 40%, rgba(30, 75, 122, 0.01) 50%, transparent 60%);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 1;
}

.product.pattern-white-bg > * {
  position: relative;
  z-index: 2;
}
.product .product-item {
  position: relative;
  height: 100%;
  margin-bottom: 30px;
}
.product .product-item .icon {
  margin-right: 20px;
}
.product .product-item .icon i {
  color: var(--accent-color);
  font-size: 40px;
  line-height: 0;
  transition: color 0.3s;
}
.product .product-item:hover .icon i {
  color: var(--accent-color);
}
.product .product-item .title {
  color: var(--heading-color);
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 20px;
  transition: color 0.3s;
}
.product .product-item .description {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 10px;
}
.product .product-item .readmore {
  display: flex;
  align-items: center;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  transition: color 0.3s;
  font-weight: 700;
  font-size: 14px;
}
.product .product-item .readmore i {
  margin-left: 8px;
}
.product .product-item:hover .title,
.product .product-item:hover .readmore,
.product .product-item:hover .icon i {
  color: var(--accent-color);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 1em;
  z-index: 1000;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
}
.cookie-banner.show {
  transform: translateY(0);
  display: flex;
}
.cookie-banner p {
  margin: 0 0 1em 0;
  width: 80%;
}
.cookie-banner .button-container {
  display: flex;
  gap: 0.5em;
  justify-content: center;
}
.cookie-banner button {
  background-color: #26498a;
  color: white;
  border: none;
  padding: 0.5em 1em;
  cursor: pointer;
  font-size: 0.875em;
  transition: background-color 0.3s, color 0.3s;
}
.cookie-banner button:hover {
  background-color: #ffffff;
  color: #26498a;
}

/* Service Details Section */
.product-details .service-box {
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}
.product-details .service-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  border-color: #163768;
}
.product-details .product-box + .product-box {
  margin-top: 30px;
}
.product-details .product-box h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #0054b3;
  border-bottom: 2px solid rgba(0, 0, 0, 0.05);
  padding-bottom: 15px;
  margin-bottom: 15px;
}
.product-details .product-list a {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  margin-top: 15px;
  background-color: #f9f9f9;
  color: #043e94;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
}
.product-details .product-list a:first-child {
  margin-top: 0;
}
.product-details .product-list a i {
  font-size: 2.5rem;
  margin-right: 8px;
  color: #043e94;
  background: #a7a7a723;
  padding: 15px;
  border-radius: 12px;
}
.product-details .product-list a:hover i {
  color: #fff !important;
}
.product-details .product-list a.active {
  color: #fff;
  background-color: linear-gradient(120deg, #0062c7, #0054b3);
}
.product-details .product-list a.active i {
  color: #fff;
}
.product-details .product-list a:hover {
  background-color: #0054b3;
  color: #fff;
}

/*==============================
=         General Styles       =
==============================*/
.cta-btn {
  background: #fff;
  color: #0054b3;
  font-weight: 600;
  padding: 12px 28px;
  font-size: 1rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
  margin: 10px;
}

.cta-btn:hover {
  background: #0054b3;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 84, 179, 0.4);
}

.cta-btn.alt {
  background: #e6f0ff;
  color: #0054b3;
}

.cta-btn.alt:hover {
  background: #003f91;
  color: #fff;
}

/*==============================
=     Call To Action (BG IMG)  =
==============================*/
.call-to-action {
  position: relative;
  background-color: #000;
  color: #fff;
  padding: 140px 0;
  overflow: hidden;
  z-index: 1;
  text-align: center;
}

.call-to-action img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3;
  filter: brightness(0.7) contrast(1.2);
}

.call-to-action .container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.call-to-action h3 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.call-to-action p {
  font-size: 1.2rem;
  color: #e0e0e0;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/*==============================
=    AI Banner (Split Layout)  =
==============================*/
.ai-banner-section {
  position: relative;
  padding: 120px 0;
  background-color: #0a1b3d;
  color: #fff;
  overflow: hidden;
}

.ai-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.5;
}

.ai-banner-section .container {
  position: relative;
  z-index: 2;
}

.text-white1 {
  color: #fff;;
  font-size: 2rem;
}

.promo-video {
  width: 800px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/*==============================
=         Responsive           =
==============================*/
@media (max-width: 991px) {
  .ai-banner-section {
    text-align: center;
    padding: 80px 20px;
  }

  .promo-video {
    width: 100%;
    margin-top: 30px;
  }

  .btn-group {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .call-to-action {
    padding: 100px 20px;
  }

  .call-to-action h3 {
    font-size: 2rem;
  }

  .call-to-action p {
    font-size: 1rem;
  }

  .cta-btn {
    font-size: 0.95rem;
    padding: 12px 28px;
  }
}

@media (max-width: 480px) {
  .call-to-action h3 {
    font-size: 1.6rem;
  }

  .call-to-action p {
    font-size: 0.95rem;
  }

  .cta-btn {
    font-size: 0.85rem;
    padding: 10px 24px;
  }
}


/* Intro Section */
.section-badge {
  display: inline-block;
  background: linear-gradient(120deg, #0062c7, #0054b3);
  color: #fff;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.intro-content {
  padding-right: 50px;
  margin-left: 15px;
}
.intro-content h3 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0054b3;
  margin-bottom: 25px;
  line-height: 1.2;
}
.intro-lead {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #666;
  font-weight: 500;
  margin-bottom: 30px;
}
.intro-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #666;
  margin-bottom: 20px;
}
.intro-features {
  margin-top: 30px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}
.feature-item i {
  color: #0054b3;
  font-size: 1.4rem;
}
.feature-item span {
  font-size: 1.1rem;
  color: #2a2c39;
}

/* Value Cards */
.value-cards {
  display: grid;
  gap: 25px;
}
.value-card {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.05);
}
.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  border-color: #0054b3;
}
.value-card i {
  font-size: 2.5rem;
  color: #0054b3;
  background: #a7a7a723;
  padding: 15px;
  border-radius: 12px;
}
.value-content h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #2a2c39;
  margin-bottom: 10px;
}
.value-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
  margin: 0;
}
@media (max-width: 991px) {
  .about-header {
    padding: 80px 0;
  }
  .about-title {
    font-size: 3rem;
  }
  .about-header-stats {
    flex-direction: column;
    gap: 30px;
  }
  .intro-content {
    padding-right: 0;
    margin-bottom: 50px;
  }
  .value-cards {
    margin-top: 30px;
  }
}
@media (max-width: 768px) {
  .about-title {
    font-size: 2.5rem;
  }
  .stat-number {
    font-size: 2.5rem;
  }
  .intro-content h3 {
    font-size: 2rem;
  }
  .value-card {
    flex-direction: column;
    text-align: center;
  }
  .value-card i {
    margin: 0 auto;
  }
}
@media (max-width: 576px) {
  .about-header {
    padding: 60px 0;
  }
  .about-subtitle {
    font-size: 1.1rem;
  }
  .section-badge {
    font-size: 0.8rem;
  }
  .feature-item {
    font-size: 1rem;
  }
}

/* About Section */
.about .content h3 {
  font-size: 2rem;
  font-weight: 700;
}
.about .content p {
  margin: 30px 0;
  color: #000;
}
.about .content ul {
  list-style: none;
  padding: 0;
}
.about .content ul li {
  padding: 0 0 15px 0;
  font-weight: 400;
  display: flex;
}
.about .content ul i {
  color: var(--accent-color);
  font-size: 1.25rem;
  margin-right: 0.5rem;
}

/* Our Clients Section */
.ourclients .ourclients-filters {
  padding: 0;
  margin: 0 auto 20px;
  list-style: none;
  text-align: center;
}
.ourclients .ourclients-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 0;
  font-size: 16px;
  font-weight: 600;
  margin: 0 10px;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 5px;
  transition: color 0.3s;
}
.ourclients .ourclients-filters li:hover,
.ourclients .ourclients-filters li.filter-active {
  color: var(--accent-color);
}
@media (max-width: 575px) {
  .ourclients .ourclients-filters li {
    font-size: 14px;
    margin: 0 5px;
  }
}
.ourclients .ourclients-item {
  position: relative;
}
.ourclients .ourclients-item .ourclients-info {
  opacity: 0;
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 0;
  z-index: 3;
  transition: opacity 0.3s, bottom 0.3s;
  background: color-mix(in srgb, var(--background-color), transparent 10%);
  padding: 15px;
}
.ourclients .ourclients-item .ourclients-info h4 {
  font-size: 18px;
  font-weight: 600;
  padding-right: 50px;
}
.ourclients .ourclients-item .ourclients-info p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 14px;
  margin-bottom: 0;
  padding-right: 50px;
}
.ourclients .ourclients-item .ourclients-info .preview-link,
.ourclients .ourclients-item .ourclients-info .details-link {
  position: absolute;
  right: 50px;
  font-size: 24px;
  top: calc(50% - 14px);
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  transition: color 0.3s;
  line-height: 0;
}
.ourclients .ourclients-item .ourclients-info .preview-link:hover,
.ourclients .ourclients-item .ourclients-info .details-link:hover {
  color: var(--accent-color);
}
.ourclients .ourclients-item .ourclients-info .details-link {
  right: 14px;
  font-size: 28px;
}
.ourclients .ourclients-item:hover .ourclients-info {
  opacity: 1;
  bottom: 20px;
}
/* Our Clients Details Section */
.ourclients-details .ourclients-details-slider img {
  width: 100%;
}
.ourclients-details .ourclients-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}
.ourclients-details .ourclients-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}
.ourclients-details .ourclients-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}
.ourclients-details .ourclients-info {
  padding: 30px;
  box-shadow: 0px 0 30px color-mix(in srgb, var(--default-color), transparent 90%);
}
.ourclients-details .ourclients-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
}
.ourclients-details .ourclients-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}
.ourclients-details .ourclients-info ul li+li {
  margin-top: 10px;
}
.ourclients-details .ourclients-description {
  padding-top: 30px;
}
.ourclients-details .ourclients-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}
.ourclients-details .ourclients-description p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

/* Team Section */
.team .team-member {
  overflow: hidden;
  border-radius: 5px;
  box-shadow: 0px 2px 15px color-mix(in srgb, var(--default-color), transparent 90%);
  height: 100%;
}
.team .team-member .member-img {
  position: relative;
  overflow: hidden;
}
.team .team-member .social {
  position: absolute;
  left: 0;
  bottom: 30px;
  right: 0;
  opacity: 0;
  transition: opacity 0.3s, bottom 0.3s;
  text-align: center;
}
.team .team-member .social a {
  background: color-mix(in srgb, var(--background-color), transparent 25%);
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0 3px;
  border-radius: 4px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s, color 0.3s;
}
.team .team-member .social a:hover {
  background: var(--accent-color);
  color: var(--background-color);
}
.team .team-member .social i {
  font-size: 18px;
}
.team .team-member .member-info {
  padding: 25px 15px;
}
.team .team-member .member-info h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 18px;
}
.team .team-member .member-info span {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}
.team .team-member:hover .social {
  opacity: 1;
  bottom: 15px;
}

/* FAQ Section */
#faq .accordion-item {
  border: none;
  background: #fff !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

#faq .accordion-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(135deg, rgba(25, 121, 216, 0.03) 0%, rgba(30, 75, 122, 0.02) 50%, rgba(38, 73, 138, 0.01) 100%),
    radial-gradient(circle at 20% 20%, rgba(25, 121, 216, 0.02) 0%, transparent 40%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

#faq .accordion-item:hover::before {
  opacity: 1;
}

#faq .accordion-item > * {
  position: relative;
  z-index: 10;
}

#faq .accordion-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#faq .accordion-button {
  background: #2b5e96;
  color: #fff !important;
  font-weight: 500;
  border-radius: 8px;
  padding: 15px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
#faq .accordion-button:not(.collapsed) {
  background-color: #26498a;
  color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
#faq .accordion-button:after {
  margin-left: auto;
  transition: transform 0.2s ease-in-out;
  color: #fff !important;
}
#faq .accordion-button:not(.collapsed):after {
  transform: rotate(180deg);
}
#faq .accordion-body {
  padding: 20px;
  background: #f1f7ff;
}
#faq .accordion-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/*--------------------------------------------------------------
# WhatsApp Button - Estandarizado
---------------------------------------------------------------*/
.whatsapp-button {
  position: fixed;
  bottom: 70px;
  right: 15px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  z-index: 1000;
  animation: whatsappPulse 2s infinite;
  cursor: pointer;
}

.whatsapp-button:hover {
  background: #128c7e;
  color: white;
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-button i {
  transition: transform 0.3s ease;
}

.whatsapp-button:hover i {
  transform: scale(1.1);
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: #333;
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: #333;
}

.whatsapp-button:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  right: 75px;
}

@keyframes whatsappPulse {
  0% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.8), 0 0 0 10px rgba(37, 211, 102, 0.1);
  }
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
}

/* Responsive WhatsApp Button */
@media (max-width: 768px) {
  .whatsapp-button {
    bottom: 65px;
    right: 15px;
    width: 55px;
    height: 55px;
    font-size: 24px;
  }
  
  .whatsapp-tooltip {
    font-size: 12px;
    padding: 6px 10px;
  }
  
  .whatsapp-button:hover .whatsapp-tooltip {
    right: 70px;
  }
}

@media (max-width: 480px) {
  .whatsapp-button {
    bottom: 60px;
    right: 15px;
    width: 50px;
    height: 50px;
    font-size: 22px;
  }
  
  .whatsapp-tooltip {
    display: none;
  }
}

/* Accesibilidad: reduce animaciones si el usuario lo prefiere */
@media (prefers-reduced-motion: reduce) {
  .whatsapp-button,
  .whatsapp-tooltip {
    transition: none;
    animation: none;
  }
}
#faq .accordion-button:hover {
  background-color: #fff;
  color: #26498a !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
#faq .accordion-item:active {
  transform: translateY(0);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

/* Contact Section */
.contact {
  background-image: url("../img/contact-bg.png");
  background-position: left center;
  background-repeat: no-repeat;
  position: relative;
}
@media (max-width: 640px) {
  .contact {
    background-position: center 50px;
    background-size: contain;
  }
}
.contact:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}
.contact .info-item + .info-item {
  margin-top: 40px;
}
.contact .info-item i {
  background: var(--accent-color);
  color: var(--contrast-color);
  font-size: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  margin-right: 15px;
  transition: background-color 0.3s, color 0.3s;
}
.contact .info-item h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 5px;
}
.contact .info-item p {
  font-size: 14px;
  margin-bottom: 0;
}
.contact .php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #fff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}
.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}
.contact .php-email-form .loading {
  display: none;
  background: var(--background-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}
.contact .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(--background-color);
  animation: animate-loading 1s linear infinite;
}
.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  border-radius: 0;
  color: var(--default-color);
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}
.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}
.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}
.contact .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  border-radius: 50px;
  transition: background-color 0.4s;
}
.contact .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}
@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Tech Card */
.tech-card {
  background: linear-gradient(120deg, #0062c7, #0054b3);
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}
.tech-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: #ffffff1a;
  transition: left 0.3s ease;
  z-index: 1;
}
.tech-card:hover::before {
  left: 0;
}
.tech-card:hover {
  transform: translateY(-10px);
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
}
.tech-card .card-body {
  padding: 2rem;
  position: relative;
  z-index: 2;
}
.tech-card .card-title {
  color: #fff;
  font-size: 1.5rem;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.tech-card .card-text {
  color: #f0f0f0;
  font-size: 1.1rem;
}

/* YouTube Videos Section */
#youtube-videos {
  background: linear-gradient(120deg, #0062c7, #0054b3);

  padding: 60px 0;
}
#youtube-videos .section-title h2 {
  color: #ffffff;
  margin-bottom: 0;
}
#youtube-videos .section-title h5 {
  color: #ffffff !important;
  margin-bottom: 0;
}
#youtube-videos .section-title p {
  color: rgba(255, 255, 255, 0.7);
}
.carousel-inner {
  max-width: 800px;
  margin: 0 auto;
  width: 90%;
}
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}
.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
}
.carousel-control-prev,
.carousel-control-next {
  width: 10%;
}
.carousel-item {
  transition: transform 1.5s ease-in-out !important;
}
@media (max-width: 768px) {
  .carousel-inner {
    width: 95%;
  }
}
@media (max-width: 480px) {
  .carousel-inner {
    width: 100%;
  }
  .video-wrapper,
  .video-wrapper iframe {
    border-radius: 0;
  }
}
/* Submenu for "Contact Us" */
.navmenu .dropdown:hover > ul {
  left: -20px;
}

/* LinkedIn Posts Section */
.linkedin-posts {
  background-color: #f8f9fa;
  padding: 60px 0;
}
.linkedin-posts-menu {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 15px;
}
.linkedin-post-title {
  padding: 10px 15px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border-radius: 4px;
}
.linkedin-post-title:hover {
  background-color: #e9ecef;
}
.linkedin-post-title.active {
  background-color: #163768;
  color: #ffffff;
}
#linkedin-feed {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 15px;
  min-height: 600px;
}
#linkedin-feed iframe {
  width: 100%;
  border: none;
}
@media (max-width: 992px) {
  .linkedin-posts-menu {
    margin-bottom: 20px;
  }
}
.vermaslinked {
  background-color: #163768 !important;
  border: none;
}

.blog-videos-cta {
  background: linear-gradient(135deg, #0054b3, #003c88);
}

.youtube-preview-wrapper {
  backdrop-filter: blur(8px);
  padding: 10px;
  border-radius: 15px;
  min-height: 320px;
}

.blog-videos-cta .book-call-btn2 {
  min-width: 220px;
  text-align: center;
}

.cta-ai-upgrade-section {
  background-color: #001f4d;
  position: relative;
  padding: 100px 0;
  z-index: 1;
  overflow: hidden;
}
.cta-ai-upgrade-section2 {
  background-color: #001f4d;
  position: relative;
  padding: 100px 0;
  z-index: 1;
  overflow: hidden;
}

.cta-ai-bg2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
  z-index: 0;
  opacity: 0.5;

}
.cta-ai-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
  z-index: 0;
  opacity: 0.5;
}

.cta-ai-title {
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.cta-ai-subtitle {
  color: #dbe9ff;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.cta-ai-btn {
  background: linear-gradient(120deg, #0054b3, #0062c7);
  color: #fff;
  padding: 14px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.cta-ai-btn:hover {
  background: linear-gradient(120deg, #003a86, #0054b3);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
  color: #fff;
}


.navmenu .nav-link {
  display: flex;
  align-items: center;
}
.navmenu .nav-link i {
  margin-right: 8px;
}
.navmenu .nav-link span {
  flex: 1;
}
/* Feed Grid for Instagram */
.feed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  padding: 20px;
  animation: fadeIn 1s ease-in-out;
}
.instagram-embed-container {
  width: 100%;
  min-height: 450px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  border-radius: 10px;
  background-color: #f9f9f9;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.instagram-embed-container:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}
.instagram-embed-container iframe {
  max-width: 100% !important;
  width: 100% !important;
  border-radius: 10px;
}
@media (max-width: 767px) {
  .feed-grid {
    grid-template-columns: 1fr;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Mobile Optimizations */
@media screen and (max-width: 767px) {
  .call-to-action .phone-1 {
    position: relative;
    inset: auto;
    top: 20px !important;
    left: 50% !important;
    transform: translateX(-50%);
    width: 100% !important;
    box-shadow: 0 15px 50px 0 rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    margin-bottom: 40px;
  }
  .call-to-action .dashboardcommerce {
    position: relative;
    inset: auto;
    top: 20px !important;
    left: 50% !important;
    transform: translateX(-50%);
    width: 100% !important;
    box-shadow: 0 15px 50px 0 rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    margin-bottom: 40px;
  }
}
/* PC Styles for Call To Action */
.call-to-action .phone-1 {
  inset: 0;
  position: relative;
  box-shadow: 0 15px 50px 0 rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  top: -50px;
  width: 65%;
  height: auto;
}
.call-to-action .dashboardcommerce {
  inset: 0;
  position: relative;
  top: 0px;
  box-shadow: 0 15px 50px 0 rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  width: 90%;
  height: auto;
}
@media screen and (min-width: 768px) {
  .call-to-action .phone-1 {
    position: absolute;
    left: 60%;
  }
  .call-to-action .dashboardcommerce {
    position: absolute;
  }
}
@media screen and (min-width: 1024px) {
  .call-to-action .phone-1 {
    left: 700px;
    transform: none;
  }
  .call-to-action .dashboardcommerce {
    transform: none;
  }
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.774);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.modal.show {
  opacity: 1;
}
.modal-content {
  background-color: #163768;
  margin: 10% auto;
  padding: 20px;
  border: 1px solid #000;
  width: 90%;
  max-width: 800px;
  transform: scale(0.7);
  transition: transform 0.3s ease;
}
.modal.show .modal-content {
  transform: scale(1);
}
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}
.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
}
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
@media (max-width: 768px) {
  .modal-content {
    margin: 20% auto;
    width: 95%;
  }
}

/* Logo Headers */
.logo-header {
  width: 20px;
  height: 25px;
  margin-right: 10px;
}
.logo-header2 {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

/* YouTube Videos Preview */
.youtube-videos .video-preview {
  aspect-ratio: 16/9;
  margin-bottom: 20px;
}
.youtube-videos .play-button:hover {
  background-color: red !important;
  transition: background-color 0.3s ease;
}
.youtube-videos .carousel-item {
  padding: 0 15px;
}
.youtube-videos iframe {
  aspect-ratio: 16/9;
}

/* Book Call Button */
.book-call-btn {
  position: relative;
  background: #fff;
  color: white;
  right: -15px;
  padding: 10px 20px !important;
  border-radius: 14px;
  font-weight: 600;
  text-decoration: none;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.15),
              inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  isolation: isolate;
}
.book-call-content {
  position: relative;
  z-index: 2;
  color: #0860c5;
  font-weight: 700;
  text-shadow: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  transition: transform 0.3s ease;
}
.book-call-hover {
  position: absolute;
  color: #fff !important;
  inset: 0;
  background: linear-gradient(120deg, #0062c7, #0054b3);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  transform: translateY(100%);
  z-index: 1;
}
.book-call-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(173, 180, 196, 0.25),
              inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  color: white !important;
}
.book-call-btn:hover .book-call-hover {
  opacity: 1;
  transform: translateY(0);
}
.book-call-btn:hover .book-call-content {
  transform: translateY(-1px);
  color: #fff !important;
}
.book-call-btn:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}
.book-call-btn i {
  font-size: 1.25em;
  transition: transform 0.3s ease;
}
.book-call-btn:hover i {
  transform: scale(1.1);
}
.book-call-btn::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.15) 0%,
    transparent 70%
  );
  transform: rotate(45deg);
  transition: 0.4s ease;
  opacity: 0;
  z-index: 1;
}
.book-call-btn:hover::before {
  opacity: 1;
  animation: shine 2s infinite;
}
@keyframes shine {
  0% {
    transform: rotate(45deg) translateX(-150%) scale(1.5);
  }
  100% {
    transform: rotate(45deg) translateX(150%) scale(1.5);
  }
}
@media (max-width: 768px) {
  .book-call-btn {
    padding: 10px 20px !important;
    font-size: 0.9em;
    border-radius: 12px;
    width: fit-content;
    margin-block: 10px;
  }
  .book-call-content {
    gap: 8px;
  }
  .book-call-btn::before {
    display: none;
  }
  .book-call-btn:hover {
    transform: translateY(-1px) scale(1.01);
  }
}
@media (prefers-reduced-motion: reduce) {
  .book-call-btn,
  .book-call-content,
  .book-call-hover,
  .book-call-btn i {
    transition: none;
    animation: none;
  }
  .book-call-btn:hover {
    transform: none;
  }
}
/* Book Call Button */
.book-call-btn2 {
  position: relative;
  background: #0860c5;
  color: white;
  right: -15px;
  padding: 10px 20px !important;
  border-radius: 14px;
  font-weight: 600;
  text-decoration: none;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.15),
  inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  isolation: isolate;
}
.book-call-content2 {
  position: relative;
  z-index: 2;
  color: white;
  font-weight: 700;
  text-shadow: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  transition: transform 0.3s ease;
}
.book-call-hover2 {
  position: absolute;
  color: #fff !important;
  inset: 0;
  background: linear-gradient(120deg, #3068a3, #397dcc);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  transform: translateY(100%);
  z-index: 1;
}
.book-call-btn2:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(173, 180, 196, 0.25),
              inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  color: white !important;
}
.book-call-btn2:hover .book-call-hover2 {
  opacity: 1;
  transform: translateY(0);
}
.book-call-btn2:hover .book-call-content2 {
  transform: translateY(-1px);
  color: #fff !important;
}
.book-call-btn2:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}
.book-call-btn2 i {
  font-size: 1.25em;
  transition: transform 0.3s ease;
}
.book-call-btn2:hover i {
  transform: scale(1.1);
}
.book-call-btn2::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.15) 0%,
    transparent 70%
  );
  transform: rotate(45deg);
  transition: 0.4s ease;
  opacity: 0;
  z-index: 1;
}
.book-call-btn2:hover::before {
  opacity: 1;
  animation: shine 2s infinite;
}
@keyframes shine {
  0% {
    transform: rotate(45deg) translateX(-150%) scale(1.5);
  }
  100% {
    transform: rotate(45deg) translateX(150%) scale(1.5);
  }
}
@media (max-width: 768px) {
  .book-call-btn2 {
    padding: 10px 20px !important;
    font-size: 0.9em;
    border-radius: 12px;
  }
  .book-call-content2 {
    gap: 8px;
  }
  .book-call-btn2::before {
    display: none;
  }
  .book-call-btn2:hover {
    transform: translateY(-1px) scale(1.01);
  }
}
@media (prefers-reduced-motion: reduce) {
  .book-call-btn2,
  .book-call-content2,
  .book-call-hover2,
  .book-call-btn2 i {
    transition: none;
    animation: none;
  }
  .book-call-btn2:hover {
    transform: none;
  }
}


/* Services-1 Grid Styles */
.services-1-grid-section {
  background-color: #f9f9f9;
}

.services-1-grid-section .section-badge {
  display: inline-block;
  background: linear-gradient(120deg, #0062c7, #0054b3);
  color: #fff;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.services-1-grid-section .section-title h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #0054b3;
  margin-bottom: 10px;
}

.services-1-grid-section .section-title p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 0px;
}

.services-1-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.services-1-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(135deg, rgba(25, 121, 216, 0.05) 0%, rgba(30, 75, 122, 0.03) 50%, rgba(38, 73, 138, 0.02) 100%),
    radial-gradient(circle at 30% 30%, rgba(25, 121, 216, 0.04) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.services-1-card:hover::before {
  opacity: 1;
}

.services-1-card > * {
  position: relative;
  z-index: 10;
}

.services-1-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.services-1-card {
  align-items: flex-start;
  gap: 20px;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.services-1-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  border-color: #0054b3;
}

.services-1-card .icon {
  background: linear-gradient(120deg, #0062c7, #0054b3);
  color: #fff;
  font-size: 1.8rem;
  padding: 16px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.services-1-card .title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #2a2c39;
}

.services-1-card .description {
  font-size: 1rem;
  color: #666;
  margin-bottom: 10px;
}

.services-1-card .readmore {
  font-size: 0.95rem;
  font-weight: 500;
  color: #0054b3;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.3s ease;
}

.services-1-card .readmore:hover {
  color: #003f91;
}

.services-1-card.hidden {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
  display: none;
}

.services-1-card.show {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.show-more-btn {
  display: inline-block;
  margin: 40px auto 0;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  background: linear-gradient(120deg, #0054b3, #0062c7);
  color: white;
  border: none;
  border-radius: 50px;
  transition: background-color 0.3s ease;
}

.show-more-btn:hover {
  background: linear-gradient(120deg, #004099, #005bb8);
}

@media (max-width: 991px) {
  .services-1-grid-section .section-title h2 {
    font-size: 1.8rem;
  }
  .services-1-grid-section .section-title p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .services-1-card {
    flex-direction: column;
    text-align: center;
  }
  .services-1-card .icon {
    margin-bottom: 15px;
    margin-left: auto;
    margin-right: auto;
  }
}

#product-content ul {
  list-style-position: inside;
  padding-left: 0;
  text-align: center;
}

#product-content ul li {
  display: list-item;
  text-align: center;
  margin-bottom: 8px;
}


/* Language toggle button – icon only */
#lang-toggle {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--nav-color);
  font-size: 16px;
  margin-left: 25px;
  padding: 8px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

#lang-toggle i {
  font-size: 16px;
  transition: transform 0.3s ease;
}

#lang-toggle .lang-text {
  display: none;
}

#lang-toggle:hover {
  background: rgba(25, 121, 216, 0.2);
  border-color: var(--accent-color);
  color: var(--accent-color);
  transform: translateY(-1px) scale(1.1);
  box-shadow: 0 4px 12px rgba(25, 121, 216, 0.3);
}

#lang-toggle:hover i {
  transform: rotate(15deg);
}

#lang-toggle:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(25, 121, 216, 0.3);
}

#lang-toggle:active {
  transform: translateY(0) scale(1.05);
  box-shadow: 0 2px 8px rgba(25, 121, 216, 0.2);
}

/* ===== LUCID STYLES ===== */
.lucid-hero {
  text-align: center;
  padding: 2rem 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  color: #1f2937;
  border-radius: 20px;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.1);
  border: 2px solid #8b5cf6;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.lucid-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(30px, -30px) rotate(120deg); }
  66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.lucid-hero:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(139, 92, 246, 0.15);
}


.lucid-logo {
  position: relative;
  z-index: 2;
}

.lucid-title {
  font-size: 3rem;
  font-weight: 700;
  margin: 0;
  color: #8b5cf6;
  letter-spacing: -0.02em;
}

.lucid-tagline {
  font-size: 1.2rem;
  font-weight: 300;
  margin: 0.8rem 0;
  color: #8b5cf6;
}

.lucid-subtitle {
  font-size: 1rem;
  margin: 1rem 0 1.5rem;
  color: #4b5563;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 2;
}

.lucid-cta {
  position: relative;
  z-index: 2;
}

.lucid-btn-primary {
  background: #8b5cf6;
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(139, 92, 246, 0.3);
  border: 2px solid #8b5cf6;
}

.lucid-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
  color: white;
  text-decoration: none;
  background: #7c3aed;
}

.lucid-btn-secondary {
  background: transparent;
  color: #8b5cf6;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s ease;
  border: 2px solid #8b5cf6;
}

.lucid-btn-secondary:hover {
  background: #8b5cf6;
  color: white;
  transform: translateY(-2px);
  text-decoration: none;
}

.lucid-what-is {
  margin: 1rem 0;
}

.lucid-what-is h3 {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1.2rem;
}

.problem-section,
.detection-section,
.benefits-section,
.result-section,
.importance-section {
  margin: 0.8rem 0;
  padding: 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.problem-section::before,
.detection-section::before,
.benefits-section::before,
.result-section::before,
.importance-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
  transition: all 0.3s ease;
}

.problem-section:hover,
.detection-section:hover,
.benefits-section:hover,
.result-section:hover,
.importance-section:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.12);
  border-color: #8b5cf6;
}

.problem-section:hover::before,
.detection-section:hover::before,
.benefits-section:hover::before,
.result-section:hover::before,
.importance-section:hover::before {
  width: 6px;
}

.problem-section h4,
.detection-section h4,
.benefits-section h4,
.result-section h4,
.importance-section h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #8b5cf6;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
}

.problem-section p {
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.4;
  margin: 0;
}

.detection-subtitle {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.6rem;
}

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

.distortion-item {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.85rem;
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  position: relative;
  overflow: hidden;
}

.distortion-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
  transition: all 0.3s ease;
}

.distortion-item:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.15);
  border-color: #8b5cf6;
}

.distortion-item:hover::before {
  width: 6px;
}

.distortion-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.distortion-item:hover .distortion-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.distortion-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.distortion-content strong {
  color: #8b5cf6;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.3;
}

.distortion-content span {
  color: #64748b;
  font-size: 0.8rem;
  line-height: 1.4;
}

.benefits-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.8rem;
  margin-top: 0.8rem;
}

.benefit-category {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 1.2rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.benefit-category::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.benefit-category:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.1);
  border-color: #8b5cf6;
}

.benefit-category:hover::before {
  transform: scaleX(1);
}

.benefit-category h5 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #8b5cf6;
  margin-bottom: 0.8rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e2e8f0;
  position: relative;
  transition: all 0.3s ease;
}

.benefit-category:hover h5 {
  color: #7c3aed;
  border-bottom-color: #8b5cf6;
}

.benefit-category ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefit-category li {
  padding: 0.3rem 0;
  color: #4b5563;
  line-height: 1.3;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.8rem;
}

.benefit-category li:last-child {
  border-bottom: none;
}

.benefit-category li strong {
  color: #1f2937;
  font-weight: 600;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.5rem;
  margin-top: 0.6rem;
}

.result-item {
  background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
  color: white;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  font-weight: 500;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.8rem;
  position: relative;
  overflow: hidden;
}

.result-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.result-item:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.result-item:hover::before {
  left: 100%;
}

.importance-section p {
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.4;
  margin-bottom: 0.6rem;
}

.summary {
  background: #f0f9ff;
  padding: 0.6rem;
  border-radius: 8px;
  border-left: 3px solid #8b5cf6;
  font-size: 0.9rem;
  color: #1e40af;
  font-weight: 500;
  margin: 0;
}




/* Responsive Design */
@media (max-width: 768px) {
  .lucid-title {
    font-size: 2.2rem;
  }
  
  .lucid-tagline {
    font-size: 1rem;
  }
  
  .distortions-grid,
  .benefits-categories,
  .result-grid {
    grid-template-columns: 1fr;
  }
  
  .lucid-hero {
    padding: 1.5rem 0.8rem;
  }
  
  
  .problem-section,
  .detection-section,
  .benefits-section,
  .result-section,
  .importance-section {
    padding: 0.6rem;
  }
}


