* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  height: 2000px;
  font-family: Arial, sans-serif;
}

/* HEADER */
#header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  padding: 0px 40px;
  transition: all 0.3s ease;
  background: transparent;
  z-index: 1000;
}

/* SCROLL */
#header.scrolled {
  background: rgba(255, 255, 255, 0.656);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* CONTENEDOR */
.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.logo img {
  height: 70px;
}

/* NAV */
nav {
  display: flex;
}

nav a {
  margin: 0 15px;
  text-decoration: none;
  font-weight: 600;

  /* 🔥 CLAVE: siempre visible */
  color: white;
  text-shadow: 0 0 5px rgba(0,0,0,0.7);
  transition: all 0.3s;
}

/* CUANDO SCROLL */
#header.scrolled nav a {
  color: #222;
  text-shadow: none;
}

/* BOTÓN */
.login-btn {
  background: black;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
}

/* HAMBURGUESA */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* 📱 RESPONSIVE */
@media (max-width: 768px) {

  .menu-toggle {
    display: block;
  }

  nav {
    position: absolute;
    top: 80px;
    right: 20px;
    background: white;
    flex-direction: column;
    width: 200px;
    padding: 15px;
    border-radius: 10px;
    display: none;
  }

  nav a {
    color: #222;
    text-shadow: none;
    margin: 10px 0;
  }

  nav.active {
    display: flex;
  }

  .login-btn {
    display: none;
  }
}







/*esta seccion es para el hero */
/* VIDEO FIJO */
.video-bg {
  position: fixed; /* 🔥 CLAVE */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1; /* queda atrás de todo */
}

/* HERO */
.hero {
  height: 100vh;
  position: relative;
}

/* OVERLAY */
.hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
}

/* CONTENIDO */
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}



.hero-btn {
  margin-top: 25px;
  padding: 14px 35px;
  background: linear-gradient(135deg, #2f6fed, #4facfe);
  color: white;
  border-radius: 30px;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 5px 15px rgba(47,111,237,0.4);
  transition: 0.3s;
  text-decoration:none;
}

.hero-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 25px rgba(47,111,237,0.6);
}
/* TEXTO */
.hero-content h1 {
  font-size: 70px;
  color: white;
  text-shadow: 0 0 20px rgba(0,0,0,0.7);
}

.hero-content p {
  color: #ddd;
}

/* SIGUIENTE SECCIÓN */
.next-section {
  background: white;
  padding: 120px 20px;
  position: relative;
  z-index: 5;
}












/* SECCIÓN */
.about {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 100px 80px;
  background: #f5f5f5;
  gap: 50px;
}

/* TEXTO */
.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 50px;
  color: #222;
  margin-bottom: 20px;
}

.about-text p {
  color: #666;
  font-size: 16px;
  margin-bottom: 30px;
}

/* BOTÓN */
.about-btn {
  padding: 12px 30px;
  border: 1px solid #222;
  background: transparent;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s;
}

.about-btn:hover {
  background: #222;
  color: white;
}

/* IMAGEN */
.about-image {
  flex: 1;
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: 20px;
}

/* CARD */
.review-card {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: #e9ecef;
  padding: 20px 25px;
  border-radius: 10px;
  max-width: 300px;
}

.review-card .quote {
  font-weight: 600;
  color: #333;
}

.review-card span {
  display: block;
  margin-top: 10px;
  color: #777;
}
@media (max-width: 768px) {
  .about {
    flex-direction: column;
    padding: 60px 20px;
  }

  .about-text h2 {
    font-size: 32px;
  }

  .about-image {
    width: 100%;
  }

  .review-card {
    position: relative;
    margin-top: -40px;
  }
}









/* SECCIÓN */
.services {
  background: #1f2a3a;
  padding: 100px 60px;
  text-align: center;
}

/* HEADER */
.services-header h2 {
  color: white;
  font-size: 40px;
  margin-bottom: 10px;
}

.services-header p {
  color: #ccc;
  margin-bottom: 60px;
}

/* CONTENEDOR */
.services-container {
  display: flex;
  gap: 30px;
  justify-content: center;
}

/* CARD */
.service-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  width: 300px;
  transition: transform 0.3s ease, box-shadow 0.3s;
}

/* HOVER */
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* IMAGEN */
.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* CONTENIDO */
.service-content {
  padding: 20px;
  text-align: left;
}

.service-content h3 {
  margin-bottom: 10px;
  color: #222;
}

.service-content p {
  color: #666;
  font-size: 14px;
}@media (max-width: 768px) {

  .services {
    padding: 60px 20px;
  }

  .services-container {
    flex-direction: column;
    align-items: center;
  }

  .service-card {
    width: 100%;
    max-width: 350px;
  }
}








/* SUBSCRIBE SECTION */
.subscribe {
  background: #1f2a3a;
  padding: 80px 20px 100px;
  text-align: center;

  /* 🔥 ESTO LO PEGA ARRIBA */
  margin-top: -50px;
}

/* TÍTULO */
.subscribe h2 {
  color: white;
  font-size: 32px;
  margin-bottom: 10px;
}

/* TEXTO */
.subscribe p {
  color: #ccc;
  margin-bottom: 30px;
}

/* FORM */
.subscribe-form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* LABEL */
.subscribe-form label {
  color: #ccc;
  font-size: 14px;
  margin-bottom: 5px;
}

/* INPUT */
.subscribe-form input {
  width: 400px;
  max-width: 90%;
  padding: 12px 15px;
  border-radius: 10px;
  border: none;
  outline: none;
  margin-bottom: 20px;
  background: #eee;
}

/* BOTÓN */
.subscribe-form button {
  background: #2f6fed;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.3s;
}

/* HOVER */
.subscribe-form button:hover {
  background: #1e4db7;
}









/* WRAPPER (🔥 CLAVE PARA QUE NO SE VEA FEO) */
.testimonial-wrapper {
  background: #f5f5f5;
  padding: 100px 20px;
  display: flex;
  justify-content: center;
}

/* CARD */
.testimonial {
  display: flex;
  width: 100%;
  max-width: 1000px;
  border-radius: 15px;
  overflow: hidden;
  background: white;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* IMAGEN */
.testimonial-img {
  flex: 1;
}

.testimonial-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CONTENIDO */
.testimonial-content {
  flex: 1;
  background: #1f2a3a;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 40px;
  text-align: center;
}

/* ESTRELLAS */
.stars {
  font-size: 20px;
  letter-spacing: 3px;
}

/* TEXTO */
.testimonial-text {
  font-size: 16px;
  max-width: 300px;
}

/* USUARIO */
.user {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.user img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  margin-bottom: 10px;
}

.user span {
  font-size: 14px;
  color: #ccc;
}@media (max-width: 768px) {

  .testimonial {
    flex-direction: column;
  }

  .testimonial-img img {
    height: 250px;
  }

}










/* ===== Footer (light navy theme) this is for the footer styles ===== */
:root{
  --footer-bg: #121a27;       /* navy muy oscuro */
  --footer-text: #e8eef8;     /* texto claro */
  --footer-muted: #9fb0c7;    /* texto secundario */
  --footer-border: rgba(255,255,255,0.08);
}

.site-footer{
  background: var(--footer-bg);
  color: var(--footer-text);
  padding-top: 40px;
}

.footer-container{
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 18px 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 880px){
  .footer-container{
    grid-template-columns: 1.2fr 1fr 1.2fr; /* 3 columnas */
    align-items: start;
  }
}

.footer-col h3{
  margin: 0 0 10px;
  font-size: clamp(1.2rem, 0.8rem + 1vw, 1.6rem);
  font-weight: 900;
}

.footer-col .muted{
  color: var(--footer-muted);
  margin: 0 0 16px;
}

/* Redes */
.social-list{
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: flex;
  gap: 16px;
}
.social-list a{
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: #ffffff;
  border: 1px solid var(--footer-border);
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
}
.social-list a:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.18);
}
.social-list i{ font-size: 18px; }

/* Info (Email / Phone) */
.info-block{
  margin: 10px 0 18px;
}
.label{
  display:block;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--footer-text);
  margin-bottom: 6px;
}
.value a{
  color: var(--footer-muted);
  text-decoration: none;
}
.value a:hover{ color: #ffffff; }

/* Form */
.input-row{
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--footer-border);
  border-radius: 12px;
  padding: 0 12px;
  display: flex;
  align-items: center;
}
.input-row input{
  width: 100%;
  background: transparent;
  border: 0;
  outline: 0;
  color: #fff;
  padding: 12px 0;
  font-size: 0.98rem;
}
.input-row input::placeholder{ color: rgba(255,255,255,0.65); }

.footer-btn{
  margin-top: 12px;
  display: inline-block;
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(180deg, var(--brand, #0b3b63) 0%, var(--brand-600, #0a3356) 100%);
  box-shadow: 0 10px 22px rgba(11,59,99,.25);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease;
}
.footer-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(11,59,99,.34);
}

/* Bottom line */
.footer-bottom{
  border-top: 1px solid var(--footer-border);
  padding: 16px 18px 26px;
  text-align: left;
  color: var(--footer-muted);
}
.footer-bottom p{
  max-width: 1240px;
  margin: 0 auto;
}


/*estilos de los logo de los iconos de x facebook etc*/



.social{
  display: flex;
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.social li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;     /* ✅ fondo circular */
  overflow: hidden;       /* ✅ asegura círculo */
  background: #f1f5f9;    /* opcional: gris suave */
  transition: background .2s ease, transform .2s ease;
}

.social li a:hover {
  background: #e2e8f0;    /* hover */
  transform: scale(1.05);
}

.social img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  transition: transform .2s ease, opacity .2s ease;
}

.social img:hover {
  transform: scale(1.12);
  opacity: .9;
}

