
body {
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, #002d72, #00aaff);
  color: #fff;
  margin: 0;
}
.navbar {
  background-color: rgba(0,0,0,0.1);
  backdrop-filter: blur(5px);
}
.hero {
  text-align: center;
  padding: 100px 20px;
}
.hero h1 {
  font-size: 3rem;
  font-weight: 700;
}
.hero p {
  font-size: 1.2rem;
}
.services .card {
  background-color: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.services .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}
.services .card i {
  color: #00c6ff;
  transition: color 0.3s ease, transform 0.3s ease;
}
.services .card:hover i {
  color: #fff;
  transform: scale(1.2);
}
.services .card h4 {
  color: #00e6e6;
}
.services .card p {
  color: #cceeff;
}
footer {
  background: linear-gradient(0deg, #002d72, #004080);
  color: white;
  padding: 30px 0 10px;
}
footer h5 {
  font-weight: bold;
}
footer ul {
  list-style: none;
  padding: 0;
}
footer ul li {
  margin-bottom: 5px;
}
footer .social-icons i {
  font-size: 1.5rem;
  margin: 0 8px;
  color: white;
}
footer a {
  color: #00e6e6;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}


/* Footer mejorado */
footer {
  background: linear-gradient(45deg, #001f4d, #003366);
  color: #fff;
  padding: 30px 0 10px;
  position: relative;
}

footer h5 {
  font-weight: bold;
  margin-bottom: 15px;
}

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

footer ul li {
  margin-bottom: 5px;
}

footer .social-icons i {
  font-size: 1.5rem;
  margin: 0 8px;
  color: #00e6e6;
  transition: transform 0.3s, color 0.3s;
}

footer .social-icons i:hover {
  color: #66ffff;
  transform: scale(1.2);
}

footer .col-md-3 {
  border-right: 1px solid rgba(255,255,255,0.1);
}

footer .col-md-3:last-child {
  border-right: none;
}

footer .col-md-3:hover {
  background-color: rgba(255,255,255,0.05);
}

footer a {
  color: #00e6e6;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
  color: #66ffff;
}


/* Footer más claro */
footer {
  background: linear-gradient(45deg, #007acc, #00c6ff);
}


/* Animación en iconos de servicios */
#servicios .rounded-circle {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#servicios .rounded-circle:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}


/* Slider mejorado con imágenes */
.hero-slide {
  height: 500px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide h1, .hero-slide p {
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}


/* Footer más oscuro y con diseño mejorado */
footer {
  background: linear-gradient(45deg, #000f2e, #001f4d);
  color: #fff;
  padding: 30px 0 10px;
  position: relative;
}

footer h5 {
  font-weight: bold;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

footer ul li {
  margin-bottom: 5px;
}

footer .social-icons i {
  font-size: 1.5rem;
  margin: 0 8px;
  color: #00e6e6;
  transition: transform 0.3s ease, color 0.3s ease;
}

footer .social-icons i:hover {
  color: #66ffff;
  transform: scale(1.2);
}

footer .col-md-3 {
  border-right: 1px solid rgba(255,255,255,0.1);
}

footer .col-md-3:last-child {
  border-right: none;
}

footer .col-md-3:hover {
  background-color: rgba(255,255,255,0.05);
}

footer a {
  color: #00e6e6;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
  color: #66ffff;
}

footer p.copyright {
  text-align: center;
  margin-top: 15px;
  font-size: 0.9rem;
  color: #aaa;
}


/* Animaciones y elementos visuales adicionales */
.hero h1, .hero p, .hero a {
  animation: fadeInDown 1s ease forwards;
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

#servicios .col-md-4 {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

#servicios .col-md-4:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

#contacto form {
  animation: fadeInUp 1s ease forwards;
}

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

footer .social-icons i {
  animation: pulse 2s infinite;
}

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


/* Back to Top button */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 50px;
  height: 50px;
  background: #007acc;
  border-radius: 50%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 999;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}


/* Animación suave al cargar */
body {
  opacity: 0;
  animation: fadeInBody 1s ease forwards;
}

@keyframes fadeInBody {
  to {
    opacity: 1;
  }
}

/* Parallax efecto para la hero */
.hero {
  background: linear-gradient(135deg, rgba(0,45,114,0.8), rgba(0,170,255,0.8)), url('assets/slide1.jpg') center/cover fixed no-repeat;
}


/* Footer más claro pero elegante */
footer {
  background: linear-gradient(45deg, #001a40, #003366);
}

/* Navbar con hover elegante */
.navbar-nav .nav-link {
  position: relative;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #00e6e6;
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #00e6e6;
}

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

/* Footer enlaces con animación */
footer a {
  position: relative;
  display: inline-block;
  transition: color 0.3s ease;
}

footer a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: #00e6e6;
  transition: width 0.3s ease;
}

footer a:hover::after {
  width: 100%;
}


/* Secciones que aparecen al hacer scroll */
.scroll-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate.show {
  opacity: 1;
  transform: translateY(0);
}


/* Hero refinado con animación de fondo */
.hero {
  background: linear-gradient(135deg, #0052cc, #007bff);
  background-size: 400% 400%;
  animation: gradientMove 10s ease infinite;
  color: #fff;
  text-align: center;
  padding: 100px 20px;
}

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

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: fadeInDown 1s ease-out;
}

.hero p {
  font-size: 1.25rem;
  margin-top: 15px;
  animation: fadeInUp 1s ease-out;
}

.hero a.btn {
  margin-top: 30px;
  font-size: 1rem;
  padding: 12px 30px;
  border-radius: 30px;
  background: #fff;
  color: #0052cc;
  font-weight: 600;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  animation: fadeInUp 1.5s ease-out;
}

.hero a.btn:hover {
  background: #00aaff;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}


/* Colores más vivos y combinados */
body {
  background-color: #f4f9ff;
}

.hero {
  background: linear-gradient(135deg, #004080, #00bfff);
}

#servicios {
  background: #e6f7ff;
}

#servicios .col-md-4 {
  background: #ffffff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

#servicios .col-md-4:hover {
  background: #e0f0ff;
  transform: translateY(-5px);
}

#contacto form {
  background: #f0f8ff;
  border-radius: 8px;
}

footer {
  background: linear-gradient(45deg, #00264d, #004080);
}

footer a {
  color: #66ccff;
}

footer a:hover {
  color: #99ddff;
}

/* Botones más vivos */
.btn-primary {
  background-color: #007acc;
  border-color: #007acc;
}

.btn-primary:hover {
  background-color: #005fa3;
  border-color: #005fa3;
}


/* Logo SKYCLOUD estilizado */
.navbar-brand {
  font-family: 'Segoe UI', 'Arial Black', sans-serif;
  font-weight: 700;
  font-size: 1.75rem;
  letter-spacing: 1px;
  color: #66ccff !important;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
  transition: transform 0.3s ease, color 0.3s ease;
}

.navbar-brand:hover {
  color: #99ddff !important;
  transform: scale(1.05);
}


/* Ajuste en la sección Nuestros Servicios */
#servicios {
  background: linear-gradient(180deg, #cce6ff, #e6f2ff);
}

#servicios .col-md-4 {
  background: transparent;
  box-shadow: none;
}

#servicios .col-md-4:hover {
  background: rgba(255, 255, 255, 0.1);
}


/* Animación para las letras del logo */
.navbar-brand span {
  display: inline-block;
  transition: transform 0.3s ease;
}

.navbar-brand span.animate {
  animation: wave 1s infinite alternate;
}

@keyframes wave {
  0% { transform: translateY(0); }
  100% { transform: translateY(-3px); }
}


/* Typewriter effect styling */
.hero h1.typewriter {
  overflow: hidden;
  border-right: .15em solid #fff;
  white-space: nowrap;
  margin: 0 auto;
  letter-spacing: .05em;
  animation: blink-caret .75s step-end infinite;
}

@keyframes blink-caret {
  from, to { border-color: transparent; }
  50% { border-color: #fff; }
}

/* Oculta cualquier cursor agregado por la clase typewriter */
.typewriter::after {
  content: none !important;
  display: none !important;
  animation: none !important;
  border: 0 !important;
}

/* Por si el “cursor” se simuló con borde derecho */
.typewriter {
  border-right: 0 !important;
}

.logo-img {
  height: 45px;
  width: auto;
  object-fit: contain;
  display: inline-block;
}

/* Portafolio Section */
#portafolio {
  background-color: #f4f9ff;
}

.portfolio-card {
  border: none;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  background: #fff;
}

.portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 82, 204, 0.15);
}

.portfolio-card .card-img-top {
  transition: transform 0.3s ease;
}

.portfolio-card:hover .card-img-top {
  transform: scale(1.05);
}

.portfolio-card .badge {
  font-size: 0.75rem;
  padding: 5px 10px;
}

.portfolio-card ul li {
  font-size: 0.9rem;
  margin-bottom: 8px;
}

/* Testimonials */
.testimonial-card {
  border-left: 4px solid #0052cc;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 20px rgba(0, 82, 204, 0.1);
}

.testimonial-avatar {
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* Statistics */
.stat-card {
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: scale(1.05);
}

.stat-card h2 {
  color: #0052cc;
  transition: color 0.3s ease;
}

.stat-card:hover h2 {
  color: #007bff;
}

/* Proceso Section */
#proceso {
  background: linear-gradient(135deg, #0052cc, #007bff);
}

.proceso-step {
  opacity: 0;
  transform: translateX(-30px);
  animation: slideInFromLeft 0.6s ease forwards;
}

.proceso-step:nth-child(1) { animation-delay: 0.1s; }
.proceso-step:nth-child(2) { animation-delay: 0.2s; }
.proceso-step:nth-child(3) { animation-delay: 0.3s; }
.proceso-step:nth-child(4) { animation-delay: 0.4s; }
.proceso-step:nth-child(5) { animation-delay: 0.5s; }

@keyframes slideInFromLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.proceso-step:hover .step-number {
  transform: scale(1.1) rotate(5deg);
}

.step-content {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Timeline Visual */
.timeline-visual {
  background: linear-gradient(135deg, #f8f9fa, #ffffff);
}

.timeline-circle {
  box-shadow: 0 3px 10px rgba(0, 82, 204, 0.3);
  transition: transform 0.3s ease;
}

.timeline-circle:hover {
  transform: scale(1.1);
}

.timeline-item {
  flex: 0 0 auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .timeline-connector {
    display: none;
  }

  .timeline-item {
    margin-bottom: 15px;
  }
}

/* Nosotros Section */
#nosotros {
  background-color: #ffffff;
}

.about-image-wrapper {
  position: relative;
}

.about-image-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 82, 204, 0.1), rgba(0, 170, 255, 0.1));
  border-radius: 10px;
  top: -10px;
  left: -10px;
  z-index: 0;
}

.about-image-content {
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 82, 204, 0.2) !important;
}

.stat-badge {
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.stat-badge:hover {
  transform: scale(1.05);
  background-color: #e3f2fd !important;
}

/* Values */
.value-item {
  transition: transform 0.3s ease;
}

.value-item:hover {
  transform: translateX(10px);
}

.value-icon {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-item:hover .value-icon {
  transform: rotate(5deg) scale(1.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Mission and Vision Cards */
.mission-card, .vision-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-card:hover, .vision-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
}

/* Industries */
.industry-badge {
  background-color: #f8f9fa;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.industry-badge:hover {
  background-color: #e3f2fd;
  border-color: #0052cc;
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 82, 204, 0.15);
}

.industry-badge i {
  transition: transform 0.3s ease;
}

.industry-badge:hover i {
  transform: scale(1.2);
}

/* CTA Boxes */
.cta-box {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 82, 204, 0.3);
}

/* Enhanced Buttons */
.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: white;
}

.hero .btn {
  transition: all 0.3s ease;
}

.hero .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Tecnologías Section */
#tecnologias {
  background-color: #ffffff;
}

.tech-badge {
  background-color: #f8f9fa;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.tech-badge:hover {
  background-color: #ffffff;
  border-color: #0052cc;
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 82, 204, 0.2);
}

.tech-badge i {
  transition: transform 0.3s ease;
}

.tech-badge:hover i {
  transform: scale(1.15) rotate(5deg);
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 90px;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.5);
  transition: all 0.3s ease;
  z-index: 998;
  animation: pulseWhatsApp 2s infinite;
}

.whatsapp-float:hover {
  background: #20ba5a;
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.7);
}

.whatsapp-float i {
  color: #fff;
}

@keyframes pulseWhatsApp {
  0%, 100% {
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.5);
  }
  50% {
    box-shadow: 0 4px 25px rgba(37, 211, 102, 0.8);
  }
}

/* Trust Indicators Section */
.trust-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e9ecef;
}

.trust-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 82, 204, 0.15) !important;
}

.trust-icon {
  transition: transform 0.3s ease;
}

.trust-card:hover .trust-icon {
  transform: scale(1.1) rotate(5deg);
}

.cert-badge {
  transition: all 0.3s ease;
  border-radius: 8px;
}

.cert-badge:hover {
  background-color: #f8f9fa;
  transform: translateY(-5px);
}

.trust-guarantee-box {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trust-guarantee-box:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 82, 204, 0.3);
}

/* Preview Cards - Landing Page */
.preview-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e9ecef;
}

.preview-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 82, 204, 0.15) !important;
}

.preview-card i {
  transition: transform 0.3s ease;
}

.preview-card:hover i {
  transform: scale(1.1) rotate(5deg);
}

/* ==================== POLÍTICAS LEGALES ==================== */

/* Páginas de políticas legales */
.legal-content {
  background-color: white;
  color: #333;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  line-height: 1.8;
}

.legal-content h3 {
  color: #0052cc;
  border-bottom: 2px solid #0052cc;
  padding-bottom: 10px;
  margin-top: 30px;
}

.legal-content h4 {
  color: #003d99;
  margin-top: 20px;
}

.legal-content ul {
  margin-left: 20px;
}

.legal-content ul li {
  margin-bottom: 10px;
}

.legal-content a {
  color: #0052cc;
  text-decoration: none;
  font-weight: 500;
}

.legal-content a:hover {
  color: #003d99;
  text-decoration: underline;
}

.legal-content .table {
  margin-top: 15px;
  margin-bottom: 15px;
}

.legal-content .table thead {
  background-color: #0052cc;
  color: white;
}

.legal-content .alert {
  border-radius: 8px;
}

/* ==================== BANNER DE COOKIES ==================== */

/* Banner de cookies */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #001a40, #003366);
  color: white;
  padding: 20px 0;
  box-shadow: 0 -5px 20px rgba(0,0,0,0.3);
  z-index: 9999;
  display: none;
  animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-banner h5 {
  font-weight: bold;
  margin-bottom: 10px;
}

.cookie-banner p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.cookie-banner a {
  color: #66ccff;
  font-weight: 500;
}

.cookie-banner a:hover {
  color: #99ddff;
}

.cookie-banner .btn-light {
  background-color: white;
  color: #003366;
  border: none;
  font-weight: 500;
}

.cookie-banner .btn-light:hover {
  background-color: #f0f0f0;
  color: #001a40;
}

.cookie-banner .btn-primary {
  background-color: #0052cc;
  border: none;
  font-weight: 500;
}

.cookie-banner .btn-primary:hover {
  background-color: #003d99;
}

.cookie-banner .btn-outline-light {
  border-color: white;
  color: white;
  font-weight: 500;
}

.cookie-banner .btn-outline-light:hover {
  background-color: rgba(255,255,255,0.1);
  border-color: white;
  color: white;
}

/* Modal de configuración de cookies */
.cookie-category {
  padding: 15px;
  border-left: 3px solid #0052cc;
  background-color: #f8f9fa;
  border-radius: 5px;
}

.cookie-category .form-check-input:checked {
  background-color: #0052cc;
  border-color: #0052cc;
}

.cookie-category .form-check-input:disabled {
  opacity: 0.7;
}

/* Responsive para banner de cookies */
@media (max-width: 991px) {
  .cookie-banner {
    padding: 15px 0;
  }

  .cookie-banner h5 {
    font-size: 1.1rem;
  }

  .cookie-banner p {
    font-size: 0.85rem;
  }

  .cookie-banner .btn {
    font-size: 0.9rem;
    padding: 8px 15px;
  }
}

@media (max-width: 576px) {
  .cookie-banner .btn {
    width: 100%;
    margin-bottom: 5px !important;
  }
}

/* ==================== MEJORAS AL FOOTER ==================== */

/* Enlaces del footer mejorados */
footer ul li {
  list-style: none;
  margin-bottom: 8px;
  transition: transform 0.2s ease;
}

footer ul li:hover {
  transform: translateX(5px);
}

footer ul li a {
  color: #66ccff;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer ul li a:hover {
  color: #99ddff;
  text-decoration: underline;
}
