/* Prevenir desbordamiento horizontal */
body {
  overflow-x: hidden;
  max-width: 100vw;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
  background-attachment: fixed;
}

html {
  overflow-x: hidden;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
  background-attachment: fixed;
}

* {
  box-sizing: border-box;
}

body,
html {
  font-family: "Open Sans", sans-serif;
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased !important;
  color: #777;
  font-weight: 400;
  width: 100% !important;
  height: 100% !important;
  margin: 0;
  padding: 0;
}
h2,
h3,
h4 {
  font-family: "Raleway", sans-serif;
}
h2 {
  text-transform: uppercase;
  margin: 0 0 20px;
  font-weight: 800;
  font-size: 36px;
  color: #333;
}
h3 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
}
h4 {
  font-size: 18px;
  color: #333;
  font-weight: 600;
}
h5 {
  text-transform: uppercase;
  font-weight: 700;
  line-height: 20px;
}
p {
  font-size: 15px;
}
p.intro {
  margin: 12px 0 0;
  line-height: 24px;
}
a {
  color: #608dfd;
  font-weight: 400;
}
a:hover,
a:focus {
  text-decoration: none;
  color: #608dfd;
}
ul,
ol {
  list-style: none;
}
ul,
ol {
  padding: 0;
  webkit-padding: 0;
  moz-padding: 0;
}
hr {
  height: 2px;
  width: 70px;
  text-align: center;
  position: relative;
  background: #1e7a46;
  margin-bottom: 20px;
  border: 0;
}
/* TopBar */
#topbar {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
  color: #fff;
  padding: 8px 0;
  font-size: 13px;
  border-bottom: 1px solid rgba(99, 114, 255, 0.2);
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar-right {
  justify-content: flex-end;
}

.topbar-text {
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.3s ease;
}

.topbar-text:hover {
  color: #5ca9fb;
}

.topbar-text i {
  color: #5ca9fb;
  font-size: 12px;
}

/* Responsive TopBar */
@media (max-width: 768px) {
  #topbar {
    padding: 6px 0;
    font-size: 12px;
  }
  
  .topbar-left,
  .topbar-right {
    gap: 15px;
  }
  
  .topbar-text {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  #topbar {
    padding: 4px 0;
    font-size: 11px;
  }
  
  .topbar-left,
  .topbar-right {
    gap: 10px;
    flex-wrap: wrap;
  }
  
  .topbar-text {
    font-size: 10px;
  }
}

/* Navigation */
#menu {
  padding: 15px;
  transition: all 0.8s;
}
#menu.navbar-default {
  background-color: #fff;
  border-color: rgba(231, 231, 231, 0);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}
#menu a.navbar-brand {
  font-family: "Raleway", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #333;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-logo {
  max-height: 50px;
  width: auto;
  border-radius: 0;
  object-fit: contain;
  transition: transform 0.3s ease;
  border: none;
}

.navbar-logo:hover {
  transform: scale(1.1);
}

.brand-text {
  font-size: 20px;
  font-weight: 700;
  color: #333;
}
#menu.navbar-default .navbar-nav > li > a {
  font-family: "Lato", sans-serif;
  text-transform: uppercase;
  color: #555;
  font-size: 15px;
  font-weight: 400;
  padding: 8px 2px;
  border-radius: 0;
  margin: 9px 20px 0;
}
#menu.navbar-default .navbar-nav > li > a:after {
  display: block;
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #6372ff 0%, #5ca9fb 100%);
  content: "";
  transition: width 0.2s;
}
#menu.navbar-default .navbar-nav > li > a:hover:after {
  width: 100%;
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  background-color: transparent;
}
.navbar-default .navbar-nav > .active > a:after,
.navbar-default .navbar-nav > .active > a:hover:after,
.navbar-default .navbar-nav > .active > a:focus:after {
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  bottom: -1px !important;
  width: 100% !important;
  height: 2px !important;
  background: linear-gradient(to right, #6372ff 0%, #5ca9fb 100%) !important;
  content: "" !important;
  transition: width 0.2s !important;
}
.navbar-toggle {
  border-radius: 0;
}
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background-color: #fff;
  border-color: #608dfd;
}
.navbar-default .navbar-toggle:hover > .icon-bar {
  background-color: #608dfd;
}
.section-title {
  margin-bottom: 70px;
}
.section-title h2 {
  position: relative;
  margin-top: 10px;
  margin-bottom: 15px;
  padding-bottom: 15px;
}
.section-title h2::after {
  display: none;
}
.section-title p {
  font-size: 18px;
}
.btn-custom {
  font-family: "Raleway", sans-serif;
  text-transform: uppercase;
  color: #fff;
  background-color: #5ca9fb;
  background-image: linear-gradient(to right, #5ca9fb 0%, #6372ff 100%);
  padding: 14px 34px;
  letter-spacing: 1px;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  border-radius: 25px;
  transition: all 0.5s linear;
  border: 0;
}
.btn-custom:hover,
.btn-custom:focus,
.btn-custom.focus,
.btn-custom:active,
.btn-custom.active {
  color: #fff;
  background-image: none;
  background-color: #6372ff;
}
.btn:active,
.btn.active {
  background-image: none;
  outline: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}
a:focus,
.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus {
  outline: none;
  outline-offset: none;
}
/* Header Section - Futuristic Layout */
.intro {
  width: 100%;
  padding: 50px 0;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Animated background particles */
.intro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(99, 114, 255, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(92, 169, 251, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 40% 80%, rgba(99, 114, 255, 0.05) 0%, transparent 50%);
  animation: backgroundPulse 8s ease-in-out infinite;
}

@keyframes backgroundPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

/* Hero Layout */
.hero-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80vh;
  position: relative;
  z-index: 2;
}

/* Left Text */
.left-text {
  flex: 1;
  padding: 0 30px;
  text-align: left;
}

.futuristic-title {
  font-family: "Raleway", sans-serif;
  color: #fff;
  font-size: 2.5rem;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 20px 0;
  background: linear-gradient(45deg, #6372ff, #5ca9fb, #00d4ff);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease-in-out infinite;
  text-shadow: 0 0 30px rgba(99, 114, 255, 0.5);
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.glowing-line {
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #6372ff, #5ca9fb);
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(99, 114, 255, 0.8);
  animation: lineGlow 2s ease-in-out infinite alternate;
}

@keyframes lineGlow {
  0% { box-shadow: 0 0 20px rgba(99, 114, 255, 0.8); }
  100% { box-shadow: 0 0 40px rgba(99, 114, 255, 1), 0 0 60px rgba(92, 169, 251, 0.5); }
}

/* Center Logo */
.logo-center {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.logo-glow {
  position: relative;
  animation: logoFloat 6s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  25% { transform: translateY(-10px) rotate(1deg); }
  50% { transform: translateY(-20px) rotate(0deg); }
  75% { transform: translateY(-10px) rotate(-1deg); }
}

.main-logo {
  max-width: 250px;
  max-height: 250px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 0 30px rgba(99, 114, 255, 0.6));
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  border: 3px solid rgba(99, 114, 255, 0.3);
  box-shadow: 
    0 0 50px rgba(99, 114, 255, 0.4),
    inset 0 0 20px rgba(99, 114, 0.1);
}

.main-logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 50px rgba(99, 114, 255, 0.9));
}

.hologram-effect {
  position: absolute;
  top: -30px;
  left: -30px;
  right: -30px;
  bottom: -30px;
  border: 3px solid rgba(99, 114, 255, 0.4);
  border-radius: 50%;
  animation: hologramPulse 4s ease-in-out infinite;
  box-shadow: 
    0 0 30px rgba(99, 114, 255, 0.3),
    inset 0 0 30px rgba(99, 114, 255, 0.1);
}

@keyframes hologramPulse {
  0%, 100% { 
    opacity: 0.3;
    transform: scale(1);
  }
  50% { 
    opacity: 0.8;
    transform: scale(1.1);
  }
}

/* Right Text */
.right-text {
  flex: 1;
  padding: 0 30px;
  text-align: right;
}

.right-title {
  font-family: "Raleway", sans-serif;
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 10px 0;
  background: linear-gradient(45deg, #5ca9fb, #6372ff, #00d4ff);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease-in-out infinite;
  text-shadow: 0 0 20px rgba(92, 169, 251, 0.5);
  letter-spacing: 1px;
}

.right-subtitle {
  color: #5ca9fb;
  font-size: 1rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0 0 20px 0;
  text-shadow: 0 0 15px rgba(92, 169, 251, 0.6);
  animation: subtitleGlow 2s ease-in-out infinite alternate;
}

@keyframes subtitleGlow {
  0% { 
    text-shadow: 0 0 15px rgba(92, 169, 251, 0.6);
    opacity: 0.8;
  }
  100% { 
    text-shadow: 0 0 25px rgba(92, 169, 251, 0.9), 0 0 35px rgba(99, 114, 255, 0.4);
    opacity: 1;
  }
}

.futuristic-description {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 1.6;
  margin: 0 0 40px 0;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes textGlow {
  0% { text-shadow: 0 0 10px rgba(255, 255, 255, 0.3); }
  100% { text-shadow: 0 0 20px rgba(255, 255, 255, 0.6), 0 0 30px rgba(99, 114, 255, 0.3); }
}

/* Futuristic Button */
.btn-futuristic {
  position: relative;
  display: inline-block;
  padding: 15px 40px;
  background: transparent;
  border: 2px solid #6372ff;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  overflow: hidden;
  transition: all 0.3s ease;
  border-radius: 0;
}

.btn-futuristic:hover {
  color: #000;
  background: #6372ff;
  box-shadow: 0 0 30px rgba(99, 114, 255, 0.8);
  transform: translateY(-2px);
}

.btn-glow {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s ease;
}

.btn-futuristic:hover .btn-glow {
  left: 100%;
}
/* Responsive adjustments */
/* Compensar altura de navbar fixed para que no tape el contenido */
#header {
  padding-top: 0;
}

@media (max-width: 768px) {
  /* Compensar altura de navbar fixed (aprox 70-80px) */
  #header {
    padding-top: 80px;
  }
  
  .intro {
    padding-top: 20px;
    min-height: calc(100vh - 80px);
  }
  
  .hero-layout {
    flex-direction: column;
    text-align: center;
    gap: 30px;
    padding: 0 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .left-text, .right-text {
    padding: 0 15px;
    text-align: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .futuristic-title {
    font-size: 1.8rem;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  /* Ocultar la línea debajo del título en móvil */
  .glowing-line {
    display: none;
  }
  
  .right-title {
    font-size: 1.5rem;
  }
  
  .right-subtitle {
    font-size: 0.9rem;
  }
  
  .futuristic-description {
    font-size: 1.2rem;
    line-height: 1.5;
  }
  
  .main-logo {
    max-width: 220px;
    max-height: 220px;
    width: 220px;
    height: 220px;
  }
}

@media (max-width: 480px) {
  /* Compensar altura de navbar fixed en móvil pequeño (aprox 70px) */
  #header {
    padding-top: 70px;
  }
  
  .intro {
    padding-top: 15px;
    min-height: calc(100vh - 70px);
  }
  
  .hero-layout {
    gap: 25px;
    padding: 0 10px;
  }
  
  .left-text, .right-text {
    padding: 0 10px;
  }
  
  .futuristic-title {
    font-size: 1.4rem;
    line-height: 1.2;
  }
  
  /* Ocultar la línea debajo del título en móvil pequeño */
  .glowing-line {
    display: none;
  }
  
  .futuristic-description {
    font-size: 1rem;
  }
  
  .main-logo {
    max-width: 180px;
    max-height: 180px;
    width: 180px;
    height: 180px;
  }
}
/* Features Section - Futuristic */
#features {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
  position: relative;
  overflow: hidden;
  scroll-margin-top: 80px;
}

#features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 20%, rgba(99, 114, 255, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(92, 169, 251, 0.1) 0%, transparent 50%);
  animation: backgroundPulse 8s ease-in-out infinite;
}

#features h2 {
  color: #fff;
  text-shadow: 0 0 20px rgba(99, 114, 255, 0.5);
  animation: textGlow 3s ease-in-out infinite alternate;
}

#features h2::after {
  display: none;
}

#features i.fa {
  font-size: 42px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  color: #fff;
  width: 120px;
  height: 120px;
  line-height: 120px;
  padding: 0;
  border-radius: 50%;
  background: linear-gradient(to right, #6372ff 0%, #5ca9fb 100%);
  box-shadow: 
    0 0 30px rgba(99, 114, 255, 0.6),
    0 0 50px rgba(92, 169, 251, 0.4),
    10px 10px 10px rgba(0, 0, 0, 0.05);
  animation: iconGlow 3s ease-in-out infinite alternate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@keyframes iconGlow {
  0% { 
    box-shadow: 0 0 30px rgba(99, 114, 255, 0.6), 0 0 50px rgba(92, 169, 251, 0.4);
    transform: scale(1);
  }
  100% { 
    box-shadow: 0 0 40px rgba(99, 114, 255, 0.8), 0 0 60px rgba(92, 169, 251, 0.6);
    transform: scale(1.02);
  }
}

#features i.fa:hover {
  transform: scale(1.1);
  box-shadow: 
    0 0 50px rgba(99, 114, 255, 0.9),
    0 0 70px rgba(92, 169, 251, 0.7);
}

#features h3 {
  font-weight: 600;
  padding: 5px 0;
  color: #fff;
  text-shadow: 0 0 10px rgba(99, 114, 255, 0.3);
}

#features p {
  color: rgba(255, 255, 255, 0.8);
}

/* Features Responsive Grid */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  margin-top: 40px;
  width: 100%;
}

.feature-item {
  display: flex;
  justify-content: center;
  align-items: stretch;
  margin-bottom: 30px;
  flex: 1;
  min-width: 250px;
  max-width: 300px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(99, 114, 255, 0.2);
  border-radius: 15px;
  padding: 30px 20px;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 300px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(99, 114, 255, 0.2);
  border-color: rgba(99, 114, 255, 0.5);
}

.feature-card i.fa {
  font-size: 36px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  color: #fff;
  width: 80px;
  height: 80px;
  line-height: 80px;
  padding: 0;
  border-radius: 50%;
  background: linear-gradient(to right, #6372ff 0%, #5ca9fb 100%);
  box-shadow: 
    0 0 20px rgba(99, 114, 255, 0.4),
    0 0 30px rgba(92, 169, 251, 0.3);
  animation: iconGlow 3s ease-in-out infinite alternate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.feature-card i.fa:hover {
  transform: scale(1.1);
  box-shadow: 
    0 0 30px rgba(99, 114, 255, 0.7),
    0 0 40px rgba(92, 169, 251, 0.5);
}

.feature-card h3 {
  font-weight: 600;
  padding: 10px 0;
  color: #fff;
  text-shadow: 0 0 10px rgba(99, 114, 255, 0.3);
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Responsive Design for Features */
@media (max-width: 1200px) {
  .features-grid {
    gap: 15px;
  }
  
  .feature-item {
    flex: 1;
    min-width: 220px;
    max-width: 280px;
    margin-bottom: 20px;
  }
  
  .feature-card {
    max-width: 280px;
    min-height: 260px;
    padding: 25px 15px;
  }
  
  .feature-card i.fa {
    width: 70px;
    height: 70px;
    line-height: 70px;
    font-size: 32px;
  }
}

@media (max-width: 992px) {
  .features-grid {
    gap: 15px;
  }
  
  .feature-item {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    margin-bottom: 20px;
  }
  
  .feature-card {
    max-width: 250px;
    min-height: 240px;
    padding: 20px 15px;
  }
  
  .feature-card i.fa {
    width: 60px;
    height: 60px;
    line-height: 60px;
    font-size: 28px;
  }
  
  .feature-card h3 {
    font-size: 1.1rem;
  }
  
  .feature-card p {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  /* Ajustar scroll para móvil - id específico para el scroll al título */
  #caracteristicas-titulo {
    scroll-margin-top: 120px;
  }
  
  #servicios-titulo {
    scroll-margin-top: 120px;
  }
  
  #nosotros-titulo {
    scroll-margin-top: 120px;
  }
  
  #contacto-titulo {
    scroll-margin-top: 120px;
  }
  
  /* Centrar el título de características en móvil */
  #features .section-title {
    margin-left: auto !important;
    margin-right: auto !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }
  
  #features .section-title h2 {
    text-align: center !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  
  /* Centrar el contenedor de características */
  #features .row.features-grid {
    margin-left: 0;
    margin-right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .features-grid {
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
    align-items: center;
    justify-content: center;
  }
  
  .feature-item {
    width: 100%;
    max-width: 400px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    float: none;
  }
  
  .feature-card {
    max-width: 100%;
    min-height: 220px;
    padding: 25px 20px;
    width: 100%;
    margin: 0 auto;
    display: block;
  }
  
  .feature-card i.fa {
    width: 70px;
    height: 70px;
    line-height: 70px;
    font-size: 30px;
  }
  
  .feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
  }
  
  .feature-card p {
    font-size: 1rem;
    line-height: 1.5;
  }
}

@media (max-width: 576px) {
  /* Centrar el título de características en móvil pequeño */
  #features .section-title {
    margin-left: auto !important;
    margin-right: auto !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
    padding-left: 10px;
    padding-right: 10px;
    box-sizing: border-box;
  }
  
  #features .section-title h2 {
    text-align: center !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  
  /* Centrar el contenedor de características en móvil pequeño */
  #features .row.features-grid {
    margin-left: 0;
    margin-right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .features-grid {
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
    align-items: center;
    justify-content: center;
  }
  
  .feature-item {
    width: 100%;
    max-width: 350px;
    margin-bottom: 15px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    float: none;
  }
  
  .feature-card {
    min-height: 200px;
    padding: 20px 15px;
    margin: 0 auto;
    display: block;
  }
  
  .feature-card i.fa {
    width: 60px;
    height: 60px;
    line-height: 60px;
    font-size: 26px;
  }
  
  .feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }
  
  .feature-card p {
    font-size: 0.9rem;
  }
}
/* About Section - Futuristic */
#about {
  padding: 100px 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0a0a0a 100%);
  position: relative;
  overflow: hidden;
}

#about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 30%, rgba(92, 169, 251, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 70%, rgba(99, 114, 255, 0.1) 0%, transparent 50%);
  animation: backgroundPulse 8s ease-in-out infinite;
}

#about h2 {
  color: #fff;
  text-shadow: 0 0 20px rgba(99, 114, 255, 0.5);
  animation: textGlow 3s ease-in-out infinite alternate;
}

#about h3 {
  color: #5ca9fb;
  text-shadow: 0 0 15px rgba(92, 169, 251, 0.6);
}

#about p {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
}

#about h3 {
  font-size: 22px;
  margin: 0 0 20px;
}
#about h2 {
  position: relative;
  margin-bottom: 15px;
  padding-bottom: 15px;
}
#about h2::after {
  display: none;
}
#about .about-text li {
  margin-bottom: 6px;
  margin-left: 6px;
  list-style: none;
  padding: 0;
}
#about .about-text li:before {
  content: "\f00c";
  font-family: "FontAwesome";
  color: #5ca9fb;
  font-size: 11px;
  font-weight: 300;
  padding-right: 8px;
}
#about img {
  width: 520px;
  margin-top: 10px;
  background: #fff;
  border-right: 0;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.06);
}
#about p {
  line-height: 24px;
  margin: 30px 0;
}
/* Services Section */
#services {
  padding: 100px 0;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

#services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 25% 25%, rgba(99, 114, 255, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 75% 75%, rgba(92, 169, 251, 0.15) 0%, transparent 50%);
  animation: backgroundPulse 8s ease-in-out infinite;
}

#services h2 {
  color: #fff;
  text-shadow: 0 0 20px rgba(99, 114, 255, 0.5);
  animation: textGlow 3s ease-in-out infinite alternate;
}

#services h2::after {
  display: none;
}

#services .row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

#services .col-md-4 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 50px;
  text-align: center;
}

#services .service-desc {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  width: 100%;
  padding: 0 20px;
  text-align: center;
}
#services h2 {
  color: #fff;
}
#services .section-title h2::after {
  display: none;
}
#services i.fa {
  font-size: 42px;
  width: 120px;
  height: 120px;
  line-height: 120px;
  padding: 0;
  background: linear-gradient(to right, #6372ff 0%, #5ca9fb 100%);
  border-radius: 50%;
  color: #fff;
  box-shadow: 
    0 0 30px rgba(99, 114, 255, 0.6),
    0 0 50px rgba(92, 169, 251, 0.4),
    10px 10px 10px rgba(0, 0, 0, 0.05);
  animation: serviceIconGlow 3s ease-in-out infinite alternate;
  transition: all 0.3s ease;
  margin: 0 auto 25px auto;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@keyframes serviceIconGlow {
  0% { 
    box-shadow: 0 0 30px rgba(99, 114, 255, 0.6), 0 0 50px rgba(92, 169, 251, 0.4);
    transform: scale(1);
  }
  100% { 
    box-shadow: 0 0 40px rgba(99, 114, 255, 0.8), 0 0 60px rgba(92, 169, 251, 0.6);
    transform: scale(1.02);
  }
}

#services i.fa:hover {
  transform: scale(1.1);
  box-shadow: 
    0 0 50px rgba(99, 114, 255, 0.9),
    0 0 70px rgba(92, 169, 251, 0.7);
}

#services h3 {
  font-weight: 600;
  font-size: 20px;
  padding: 0;
  color: #fff;
  text-align: center;
  width: 100%;
  margin: 0 0 15px 0;
  text-shadow: 0 0 10px rgba(99, 114, 255, 0.3);
}

#services p {
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  width: 100%;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  padding: 0 10px;
  flex-grow: 1;
}
/* Portfolio Section - Futuristic */
#portfolio {
  padding: 100px 0;
  background: linear-gradient(135deg, #16213e 0%, #1a1a2e 50%, #0a0a0a 100%);
  position: relative;
  overflow: hidden;
}

#portfolio::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 40% 20%, rgba(92, 169, 251, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 60% 80%, rgba(99, 114, 255, 0.1) 0%, transparent 50%);
  animation: backgroundPulse 8s ease-in-out infinite;
}

#portfolio h2 {
  color: #fff;
  text-shadow: 0 0 20px rgba(99, 114, 255, 0.5);
  animation: textGlow 3s ease-in-out infinite alternate;
}

#portfolio h2::after {
  display: none;
}
.portfolio-item {
  margin: 1px -15px 0 -14px;
  padding: 0;
}
.portfolio-item .hover-bg {
  overflow: hidden;
  position: relative;
  margin: 0;
}
.hover-bg .hover-text {
  position: absolute;
  text-align: center;
  margin: 0 auto;
  color: #fff;
  background: linear-gradient(
    to right,
    rgba(99, 114, 255, 0.8) 0%,
    rgba(92, 169, 251, 0.8) 100%
  );
  padding: 30% 0 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: all 0.5s;
}
.hover-bg .hover-text > h4 {
  opacity: 0;
  color: #fff;
  -webkit-transform: translateY(100%);
  transform: translateY(100%);
  transition: all 0.3s;
  font-size: 18px;
  letter-spacing: 1px;
  font-weight: 500;
  text-transform: uppercase;
}
.hover-bg:hover .hover-text > h4 {
  opacity: 1;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}
.hover-bg:hover .hover-text {
  opacity: 1;
}
/* Testimonials Section */
#testimonials {
  padding: 100px 0;
  background: #f6f6f6;
}
#testimonials i {
  color: #e6e6e6;
  font-size: 32px;
  margin-bottom: 20px;
}
.testimonial {
  position: relative;
  padding: 20px;
}
.testimonial-image {
  float: left;
  margin-right: 15px;
}
.testimonial-image,
.testimonial-image img {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 50%;
}
.testimonial-content {
  position: relative;
  overflow: hidden;
}
.testimonial-content p {
  margin-bottom: 0;
  font-size: 14px;
  font-style: italic;
}
.testimonial-meta {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #666;
}
/* Team Section */
#team {
  padding: 100px 0;
}
#team h4 {
  margin: 5px 0;
}
#team .team-img {
  width: 240px;
}
#team .thumbnail {
  background: transparent;
  border: 0;
}
#team .thumbnail .caption {
  padding: 10px 0 0;
  color: #888;
}
/* Contact Section - Futuristic */
#contact {
  padding: 100px 0 60px;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
  color: rgba(255, 255, 255, 0.75);
  position: relative;
  overflow: hidden;
}

#contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 40%, rgba(99, 114, 255, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 70% 60%, rgba(92, 169, 251, 0.15) 0%, transparent 50%);
  animation: backgroundPulse 8s ease-in-out infinite;
}

#contact h2 {
  color: #fff;
  text-shadow: 0 0 20px rgba(99, 114, 255, 0.5);
  animation: textGlow 3s ease-in-out infinite alternate;
}

/* Footer Section - Futuristic */
#footer {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
  color: #fff;
  padding: 60px 0 30px;
  position: relative;
  overflow: hidden;
}

#footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 30%, rgba(99, 114, 255, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 70%, rgba(92, 169, 251, 0.1) 0%, transparent 50%);
  animation: backgroundPulse 10s ease-in-out infinite;
}

#footer h4 {
  color: #5ca9fb;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-shadow: 0 0 15px rgba(92, 169, 251, 0.5);
  animation: textGlow 4s ease-in-out infinite alternate;
}

#footer p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 15px;
}

#footer .copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(99, 114, 255, 0.2);
  text-shadow: 0 0 10px rgba(99, 114, 255, 0.3);
}

/* Footer Links */
#footer .footer-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

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

#footer .footer-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 8px 16px;
  border-radius: 25px;
  border: 2px solid #5ca9fb;
  background: linear-gradient(135deg, #5ca9fb 0%, #608dfd 100%);
  backdrop-filter: blur(10px);
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 4px 15px rgba(92, 169, 251, 0.4);
}

#footer .footer-link:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #608dfd 0%, #5ca9fb 100%);
  border-color: #ffffff;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(92, 169, 251, 0.6);
}

#footer .footer-bottom {
  margin-top: 20px;
}

#footer .footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  margin: 0;
}

/* Policy Pages Styles */
.policy-page {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
  color: #fff;
  min-height: 100vh;
  padding: 80px 0 40px;
  position: relative;
  overflow: hidden;
}

.policy-page::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 30%, rgba(99, 114, 255, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 70%, rgba(92, 169, 251, 0.1) 0%, transparent 50%);
  animation: backgroundPulse 10s ease-in-out infinite;
}

.policy-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(99, 114, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
  overflow-x: hidden;
}

.policy-content h1 {
  color: #5ca9fb;
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 0 20px rgba(92, 169, 251, 0.5);
  animation: textGlow 3s ease-in-out infinite alternate;
}

.policy-content h2 {
  color: #5ca9fb;
  font-size: 1.8rem;
  font-weight: 600;
  margin: 30px 0 15px;
  text-shadow: 0 0 15px rgba(92, 169, 251, 0.4);
}

.policy-content h3 {
  color: #608dfd;
  font-size: 1.4rem;
  font-weight: 600;
  margin: 25px 0 10px;
}

.policy-content p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  margin-bottom: 15px;
  font-size: 16px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}

.policy-content ul, .policy-content ol {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  margin-bottom: 20px;
  padding-left: 25px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}

.policy-content li {
  margin-bottom: 8px;
}

.policy-content strong {
  color: #5ca9fb;
  font-weight: 600;
}

.policy-content a {
  color: #5ca9fb;
  text-decoration: none;
  border-bottom: none;
  transition: all 0.3s ease;
  word-break: break-all;
  word-wrap: break-word;
  overflow-wrap: break-word;
  display: block;
  margin-bottom: 10px;
}

.policy-content a.policy-inline-link {
  display: inline;
  margin: 0;
  word-break: break-all;
  overflow-wrap: break-word;
}

.policy-content a:hover {
  color: #608dfd;
  border-bottom: none;
  text-shadow: 0 0 10px rgba(92, 169, 251, 0.5);
}

.policy-section {
  margin-bottom: 30px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 15px;
  border-left: 4px solid rgba(92, 169, 251, 0.3);
}

.policy-footer {
  text-align: center;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(99, 114, 255, 0.2);
}

.btn-back {
  display: inline-block;
  background: linear-gradient(135deg, #5ca9fb 0%, #608dfd 100%);
  color: #fff;
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(92, 169, 251, 0.3);
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}

.btn-back:hover {
  background: linear-gradient(135deg, #608dfd 0%, #5ca9fb 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(92, 169, 251, 0.4);
  color: #fff;
  text-decoration: none;
}

.cookie-table {
  overflow-x: auto;
  margin: 20px 0;
}

.cookie-table table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
}

.cookie-table th,
.cookie-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid rgba(99, 114, 255, 0.2);
}

.cookie-table th {
  background: rgba(92, 169, 251, 0.2);
  color: #5ca9fb;
  font-weight: 600;
}

.cookie-table td {
  color: rgba(255, 255, 255, 0.9);
}

.cookie-table tr:hover {
  background: rgba(92, 169, 251, 0.1);
}

@media (max-width: 768px) {
  .policy-content {
    padding: 20px;
    margin: 0 15px;
    overflow-x: hidden;
  }
  
  .policy-content h1 {
    font-size: 2rem;
  }
  
  .policy-content h2 {
    font-size: 1.5rem;
  }
  
  .policy-content h3 {
    font-size: 1.2rem;
  }
  
  .policy-content a {
    word-break: break-all;
    overflow-wrap: break-word;
    display: inline-block;
    max-width: 100%;
  }
  
  .cookie-table {
    font-size: 14px;
    overflow-x: auto;
    display: block;
    width: 100%;
  }
  
  .cookie-table table {
    min-width: 100%;
    table-layout: auto;
  }
  
  .cookie-table td,
  .cookie-table th {
    word-break: break-word;
    overflow-wrap: break-word;
  }
}

/* Asegurar que las tablas responsive no se desborden */
.policy-content .table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  margin: 20px 0;
}

.policy-content .table-responsive table {
  width: 100%;
  min-width: 600px;
}

.policy-content .table-responsive table td,
.policy-content .table-responsive table th {
  word-break: break-word;
  overflow-wrap: break-word;
  padding: 8px;
}

@media (max-width: 768px) {
  #footer h4 {
    font-size: 1.3rem;
    margin-top: 30px;
  }
  
  #footer .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  #footer .footer-link {
    font-size: 14px;
    padding: 6px 12px;
  }
}
#contact .section-title {
  margin-bottom: 40px;
}
#contact .section-title p {
  font-size: 16px;
}
#contact h2 {
  color: #fff;
  margin-top: 10px;
  margin-bottom: 15px;
  padding-bottom: 15px;
}
#contact .section-title h2::after {
  display: none;
}
#contact h3 {
  color: #fff;
  margin-top: 80px;
  margin-bottom: 25px;
  padding-bottom: 20px;
  font-weight: 400;
}
#contact form {
  padding-top: 20px;
}
#contact .text-danger {
  color: #cc0033;
  text-align: left;
}
#contact .btn-custom {
  margin: 30px 0;
  background: transparent;
  border: 2px solid #fff;
}
#contact .btn-custom:hover {
  color: #1f386e;
  background: #fff;
}
label {
  font-size: 12px;
  font-weight: 400;
  font-family: "Open Sans", sans-serif;
  float: left;
}
#contact .form-control {
  display: block;
  width: 100%;
  padding: 6px 12px;
  font-size: 16px;
  line-height: 1.42857143;
  color: #444;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ddd;
  border-radius: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-transition: none;
  -o-transition: none;
  transition: none;
}
#contact .form-control:focus {
  border-color: #999;
  outline: 0;
  -webkit-box-shadow: transparent;
  box-shadow: transparent;
}
.form-control::-webkit-input-placeholder {
  color: #777;
}
.form-control:-moz-placeholder {
  color: #777;
}
.form-control::-moz-placeholder {
  color: #777;
}
.form-control:-ms-input-placeholder {
  color: #777;
}
#contact .contact-item {
  margin: 20px 0;
}
#contact .contact-item span {
  color: rgba(255, 255, 255, 1);
  margin-bottom: 10px;
  display: block;
}
#contact .contact-item i.fa {
  margin-right: 10px;
}
#contact .social {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 50px;
  margin-top: 50px;
  text-align: center;
}
#contact .social ul li {
  display: inline-block;
  margin: 0 20px;
}
#contact .social i.fa {
  font-size: 22px;
  width: 48px;
  height: 48px;
  padding: 12px 0;
  border: 2px solid #fff;
  color: #fff;
  border-radius: 50%;
  transition: all 0.3s;
}
#contact .social i.fa:hover {
  color: #608dfd;
  background: #fff;
}
/* Footer Section*/
#footer {
  background: #f6f6f6;
  padding: 30px 0;
}
#footer p {
  color: #888;
  font-size: 14px;
}
#footer a {
  color: #608dfd;
}
#footer a:hover {
  border-bottom: 2px solid #608dfd;
}

@media (max-width: 768px) {
  #about img {
    margin: 50px 0;
  }
}

/* Asegurar que containers no causen desbordamiento */
.container {
  max-width: 100%;
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 5px;
    padding-right: 5px;
  }
}
