:root {
  --azul-oscuro: #0D2AD1;
  --celeste: #70A9D5;
  --gris-claro: #F5F5F5;
  --blanco: #FFFFFF;
  --gris-texto: #4a4a4a;
  --azul-acento: #007bff;
  --azul-acento-hover: #0056b3;
  --azul-oscuro-oscuro: #1e1e2d;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: var(--gris-claro);
  color: var(--gris-texto);
  scroll-behavior: smooth;
  line-height: 1.6;
}

/* Prevent scrolling when chat is open */
body.chat-no-scroll {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

/* Improve focus indicators for accessibility */
*:focus-visible {
  outline: 2px solid var(--azul-acento);
  outline-offset: 2px;
}

/* Smooth animations for better UX */
.chat-box, .chat-overlay, .whatsapp-button, .btn, .choice-btn {
  will-change: transform, opacity;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(13, 42, 209, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1001;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
  background: rgba(13, 42, 209, 0.98);
  box-shadow: 0 4px 20px rgba(13, 42, 209, 0.2);
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.navbar-brand {
  flex-shrink: 0;
}

.navbar-logo {
  height: 110px;
  width: auto;
  transition: transform 0.3s ease;
}

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

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--blanco);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--celeste);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--celeste);
  transition: width 0.3s ease;
}

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

.navbar-cta {
  padding: 0.6rem 1.5rem !important;
  font-size: 0.9rem !important;
  background: linear-gradient(135deg, var(--celeste), var(--azul-acento)) !important;
  border: none !important;
  white-space: nowrap;
}

.navbar-cta:hover {
  background: linear-gradient(135deg, var(--azul-acento), var(--azul-acento-hover)) !important;
  transform: translateY(-1px);
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  gap: 4px;
}

.hamburger-line {
  width: 25px;
  height: 2px;
  background: var(--blanco);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.navbar-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.navbar-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.navbar-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* HERO SECTION */
.hero {
  min-height: 100vh;
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.3)), 
              url('image/Dr.Andersson_Tms.jpg') center 40%/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  color: var(--blanco);
  margin-top: -70px;
  padding-top: 100px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.3));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  color: var(--blanco);
  padding: 0.6rem 1.5rem;
  border-radius: 25px;
  font-size: 0.8rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  position: relative;
  overflow: hidden;
  opacity: 0.9;
}

.hero-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.8s;
}

.hero-badge:hover::before {
  left: 100%;
}

.hero-content h1 {
  font-family: 'Lora', serif;
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 6px rgba(0,0,0,0.7);
}

.hero-features {
  list-style: none;
  margin: 0 auto 2rem;
  padding: 0;
  display: grid;
  gap: 1rem;
  max-width: 450px;
}

.hero-features li {
  display: flex;
  align-items: center;
  font-size: clamp(0.95rem, 2.8vw, 1.2rem);
  line-height: 1.5;
}

.hero-features i {
  font-size: 1.5rem;
  color: var(--azul-acento);
  margin-right: 0.75rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.btn {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--azul-acento) 0%, var(--azul-acento-hover) 100%);
  color: var(--blanco);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--azul-acento-hover) 0%, var(--azul-oscuro) 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 123, 255, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--blanco);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--azul-oscuro);
  border: 1px solid rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
}

/* RECONOCIDO POR */
.reconocido-por {
  margin-top: 2rem;
}

.reconocido-texto {
  font-size: 1rem;
  color: var(--blanco);
  margin-bottom: 1.25rem;
  opacity: 0.95;
  font-weight: 400;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.media-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  padding: 1.5rem 0;
}

.media-logos img {
  height: 45px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  opacity: 0.9;
  transition: all 0.3s ease;
  filter: brightness(1.3) contrast(1.2);
}

.media-logos img:hover {
  opacity: 1;
  transform: scale(1.08);
  filter: brightness(1.4) contrast(1.3);
}

/* SCROLL DOWN INDICATOR */
.scroll-down {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounceDown 2s infinite;
  z-index: 2;
}

.scroll-down i {
  font-size: 2rem;
  color: var(--blanco);
  opacity: 0.8;
}

@keyframes bounceDown {
  0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
  40% { transform: translate(-50%, 8px); }
  60% { transform: translate(-50%, 4px); }
}

/* BENEFICIOS SECTION */
.benefits-section {
  padding: 5rem 2rem;
  background: var(--blanco);
  max-width: 1200px;
  margin: 0 auto;
}

.benefits-section h2 {
  font-size: clamp(2rem, 5vw, 2.5rem);
  text-align: center;
  margin-bottom: 1rem;
  color: var(--azul-oscuro);
  line-height: 1.2;
}

.benefits-intro {
  text-align: center;
  font-size: clamp(1rem, 3vw, 1.2rem);
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

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

.benefit-card {
  background: var(--gris-claro);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.benefit-card.featured {
  background: linear-gradient(135deg, var(--azul-acento), var(--celeste));
  color: var(--blanco);
}

.benefit-card i {
  font-size: clamp(2.5rem, 5vw, 3rem);
  color: var(--azul-acento);
  margin-bottom: 1rem;
}

.benefit-card.featured i {
  color: var(--blanco);
}

.benefit-card h3 {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  margin-bottom: 1rem;
  color: var(--azul-oscuro);
  line-height: 1.3;
}

.benefit-card.featured h3 {
  color: var(--blanco);
}

.benefit-card p {
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  line-height: 1.6;
}

/* VIDEO TESTIMONIO SECTION */
.video-testimonio-section {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #f8f9ff 0%, #e8f2ff 100%);
}

.video-testimonio-container {
  max-width: 1000px;
  margin: 0 auto;
}

.video-testimonio-content {
  text-align: center;
}

.video-testimonio-header h2 {
  font-size: clamp(2rem, 5vw, 2.5rem);
  color: var(--azul-oscuro);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.video-testimonio-subtitle {
  font-size: clamp(1.1rem, 3vw, 1.3rem);
  color: var(--gris-texto);
  margin-bottom: 3rem;
  line-height: 1.6;
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto 2rem;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(13, 42, 209, 0.15);
  background: var(--blanco);
  border: 1px solid rgba(13, 42, 209, 0.1);
}

.video-container::before {
  content: '';
  display: block;
  padding-top: 56.25%; /* 16:9 aspect ratio */
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-description {
  max-width: 700px;
  margin: 0 auto;
}

.video-description p {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  line-height: 1.7;
  color: var(--gris-texto);
  opacity: 0.9;
}

/* Responsive adjustments for video section */
@media (max-width: 768px) {
  .video-testimonio-section {
    padding: 3rem 1rem;
  }
  
  .video-container {
    border-radius: 12px;
  }
  
  .video-testimonio-header h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
  }
}

/* CTA SECTION */
.cta-section {
  background: var(--azul-oscuro);
  color: var(--blanco);
  padding: 4rem 2rem;
  text-align: center;
}

.cta-section h3 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.cta-section p {
  font-size: clamp(1rem, 3vw, 1.2rem);
  margin-bottom: 2rem;
  line-height: 1.5;
}

.cta-btn {
  display: inline-block;
  background: var(--azul-acento);
  color: var(--blanco);
  padding: 0.75rem 1.75rem;
  font-size: clamp(1rem, 3vw, 1.1rem);
  font-weight: 500;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}

.cta-btn:hover {
  background: var(--azul-acento-hover);
  transform: translateY(-2px);
}

/* SOBRE INBA SECTION */
.sobre-inba-section {
  padding: 5rem 2rem;
  background: var(--gris-claro);
}

.sobre-inba-container {
  max-width: 1200px;
  margin: 0 auto;
}

.sobre-inba-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

.sobre-inba-text h2 {
  font-size: clamp(2rem, 5vw, 2.5rem);
  color: var(--azul-oscuro);
  margin-bottom: 1.5rem;
  text-align: center;
  line-height: 1.2;
}

.sobre-inba-intro {
  font-size: clamp(1.1rem, 3vw, 1.3rem);
  text-align: center;
  margin-bottom: 3rem;
  line-height: 1.6;
  color: var(--gris-texto);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.inba-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.inba-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--blanco);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 123, 255, 0.1);
}

.inba-feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  border-color: var(--azul-acento);
}

.feature-icon {
  background: linear-gradient(135deg, var(--azul-acento), var(--celeste));
  color: var(--blanco);
  padding: 1rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  min-height: 3rem;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

.feature-icon i {
  font-size: 1.5rem;
}

.feature-content h4 {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  color: var(--azul-oscuro);
  margin-bottom: 0.5rem;
  font-weight: 600;
  line-height: 1.3;
}

.feature-content p {
  font-size: clamp(0.9rem, 2vw, 1rem);
  color: var(--gris-texto);
  line-height: 1.5;
}

/* TESTIMONIOS SECTION */
.testimonios-section {
  padding: 48px 0;
  background: var(--blanco);
}

.testimonios-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.testimonios-section h2 {
  font-size: clamp(2rem, 5vw, 2.5rem);
  text-align: center;
  margin-bottom: 1rem;
  color: var(--azul-oscuro);
  line-height: 1.2;
}

.testimonios-subtitle {
  font-size: clamp(1rem, 3vw, 1.2rem);
  text-align: center;
  margin-bottom: 3rem;
  color: var(--gris-texto);
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.testimonios-carousel {
  position: relative;
  margin-top: 3rem;
}

.carousel-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  border-radius: 12px;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  align-items: stretch;
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--blanco);
  border: 2px solid var(--azul-acento);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
}

.carousel-button:hover {
  background: var(--azul-acento);
  color: var(--blanco);
  transform: translateY(-50%) scale(1.1);
}

.carousel-button.prev {
  left: -22px;
}

.carousel-button.next {
  right: -22px;
}

.carousel-button i {
  font-size: 1.2rem;
}

.testimonio-card {
  flex: 0 0 calc(33.33% - 2rem);
  padding: 32px;
  background: var(--blanco);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  margin: 0 1rem;
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(13, 42, 209, 0.08);
  transition: all 0.3s ease;
}

.testimonio-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-color: rgba(13, 42, 209, 0.15);
}

.stars {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.stars-icons {
  font-size: 1.2rem;
  color: var(--azul-acento);
  letter-spacing: 1px;
}

.stars-rating {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gris-texto);
  background: var(--gris-claro);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  min-width: 20px;
  text-align: center;
}

.quote-icon {
  font-size: 1.5rem;
  color: var(--azul-acento);
  margin-bottom: 0.5rem;
  display: block;
}

.testimonio-content {
  flex-grow: 1;
  margin-bottom: 1.25rem;
}

.testimonio-content p {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--gris-texto);
  margin: 0;
}

.testimonio-text {
  display: block;
}

.testimonio-text.truncated {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.testimonio-author {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(13, 42, 209, 0.08);
}

.testimonio-author h4 {
  font-size: 0.875rem;
  font-weight: bold;
  color: var(--azul-oscuro);
  margin: 0;
}

.google-badge {
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.google-badge:hover {
  opacity: 1;
}

.google-badge img {
  width: 28px;
  height: 28px;
}

.read-more {
  color: var(--azul-acento);
  cursor: pointer;
  text-decoration: underline;
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 0.5rem;
  display: inline-block;
}

.read-more:hover {
  color: var(--azul-acento-hover);
}

/* TESTIMONIOS CTA */
.testimonios-cta {
  text-align: center;
  margin-top: 4rem;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #f8f9ff 0%, #e8f2ff 100%);
  border-radius: 20px;
  border: 1px solid rgba(13, 42, 209, 0.1);
  box-shadow: 0 10px 30px rgba(13, 42, 209, 0.08);
}

.testimonios-cta h3 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--azul-oscuro);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.testimonios-cta p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--gris-texto);
  margin-bottom: 2rem;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.testimonios-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--azul-oscuro);
  color: var(--blanco);
  padding: 1rem 2rem;
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(13, 42, 209, 0.3);
  border: 2px solid var(--azul-oscuro);
}

.testimonios-cta-btn:hover {
  background: var(--blanco);
  color: var(--azul-oscuro);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(13, 42, 209, 0.4);
}

.testimonios-cta-btn i {
  font-size: 1.2rem;
}

/* Responsive adjustments for testimonios CTA */
@media (max-width: 768px) {
  .testimonios-cta {
    margin-top: 3rem;
    padding: 2rem 1rem;
  }
  
  .testimonios-cta-btn {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
}

/* CONTACTO SECTION */
.contacto-section {
  padding: 5rem 2rem;
  background: var(--gris-claro);
  max-width: 1200px;
  margin: 0 auto;
}

.contacto-section h2 {
  font-size: clamp(2rem, 5vw, 2.5rem);
  text-align: center;
  margin-bottom: 3rem;
  color: var(--azul-oscuro);
  line-height: 1.2;
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.contacto-info h3 {
  font-size: clamp(1.25rem, 3.5vw, 1.5rem);
  margin-bottom: 1.5rem;
  color: var(--azul-oscuro);
  line-height: 1.3;
}

.contacto-info ul {
  list-style: none;
  padding: 0;
}

.contacto-info li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  line-height: 1.5;
}

.contacto-info li span {
  font-size: 1.5rem;
  margin-right: 1rem;
  min-width: 2rem;
}

.contacto-info a {
  color: var(--azul-acento);
  text-decoration: none;
}

.contacto-info a:hover {
  text-decoration: underline;
}

.map-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 45px;
  height: 45px;
  background: rgba(13, 42, 209, 0.75);
  color: var(--blanco);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(13, 42, 209, 0.15);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background: rgba(13, 42, 209, 0.9);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(13, 42, 209, 0.2);
}

.scroll-to-top i {
  font-size: 1.1rem;
}

/* WhatsApp Button */
.whatsapp-button {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: rgba(37, 211, 102, 0.92);
  color: white;
  padding: 0.8rem 1.2rem;
  border-radius: 40px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
  z-index: 998;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  white-space: nowrap;
  max-width: 240px;
  opacity: 0.9;
}

.whatsapp-button:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.25);
  background: rgba(37, 211, 102, 0.98);
  color: white;
  text-decoration: none;
  opacity: 1;
}

.whatsapp-button:active {
  transform: translateY(0) scale(0.98);
}

.whatsapp-button img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* RESPONSIVE */
/* Desktop Large */
@media (min-width: 1200px) {
  .hero {
    min-height: 100vh;
    padding-top: 120px;
    padding-bottom: 50px;
  }

  .hero-content {
    max-width: 720px;
    padding: 2.5rem 2rem;
  }

  .reconocido-texto {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }
}

/* Desktop Extra Large */
@media (min-width: 1440px) {
  .hero {
    padding-top: 130px;
    padding-bottom: 60px;
  }

  .hero-content {
    max-width: 800px;
    padding: 3rem 2rem;
  }

  .hero-content h1 {
    font-size: 4rem;
    margin-bottom: 2rem;
  }

  .hero-badge {
    padding: 0.8rem 2rem;
    font-size: 0.85rem;
    margin-bottom: 2rem;
    opacity: 0.85;
  }

  .hero-features {
    margin-bottom: 2.5rem;
  }

    .hero-features li {
    font-size: 1.2rem;
  }
}

/* Desktop Large continuación */
@media (min-width: 1200px) {
  .media-logos {
    gap: 4rem;
  }
  
  .media-logos img {
    height: 50px;
    max-width: 180px;
  }
  
  .btn {
    padding: 0.7rem 1.75rem;
    font-size: 1rem;
  }
  
  .cta-btn {
    padding: 0.85rem 2rem;
    font-size: 1.15rem;
  }
  
  .sobre-inba-section {
    padding: 6rem 2rem;
  }
  
  .inba-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-bottom: 5rem;
  }
  
  .inba-feature {
    padding: 2rem;
  }
  
  .testimonios-section {
    padding: 6rem 2rem;
  }
  
  .testimonios-carousel {
    margin-top: 4rem;
  }
  
  .testimonio-card {
    flex: 0 0 calc(33.33% - 2rem);
    padding: 2.5rem;
    min-height: 320px;
  }
  
  .carousel-button {
    width: 55px;
    height: 55px;
  }
  
  .carousel-button.prev {
    left: -27px;
  }
  
  .carousel-button.next {
    right: -27px;
  }
}

/* Desktop/Tablet */
@media (max-width: 1199px) and (min-width: 769px) {
  .hero {
    min-height: 100vh;
    padding-top: 110px;
    padding-bottom: 40px;
  }

  .hero-content {
    max-width: 680px;
    padding: 2rem;
  }

  .reconocido-texto {
    font-size: 1rem;
    margin-bottom: 1.2rem;
  }
  
  .media-logos {
    gap: 2.5rem;
  }
  
  .media-logos img {
    height: 42px;
    max-width: 150px;
  }
  
  .sobre-inba-section {
    padding: 4rem 2rem;
  }
  
  .inba-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
  }
  
  .testimonios-section {
    padding: 4rem 2rem;
  }
  
  .testimonio-card {
    flex: 0 0 calc(50% - 2rem);
    min-height: 220px;
    padding: 1.25rem;
  }
  
  .carousel-button.prev {
    left: -20px;
  }
  
  .carousel-button.next {
    right: -20px;
  }
}

/* Tablet/Mobile Large */
@media (max-width: 768px) {
  /* Navbar responsive */
  .navbar-container {
    padding: 0 1rem;
  }
  
  .navbar-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(13, 42, 209, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 2rem 1rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    gap: 0;
  }
  
  .navbar-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .navbar-nav {
    flex-direction: column;
    gap: 0;
    width: 100%;
    margin-bottom: 1.5rem;
  }
  
  .nav-item {
    width: 100%;
    text-align: center;
  }
  
  .nav-link {
    display: block;
    padding: 1rem;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .navbar-cta {
    width: 100%;
    text-align: center !important;
    padding: 1rem 2rem !important;
    font-size: 1rem !important;
  }
  
  .navbar-toggle {
    display: flex;
  }

  .hero-buttons .btn {
    width: 100%;
    text-align: center;
    padding: 0.65rem 1.25rem;
    font-size: 0.9rem;
  }

  .reconocido-texto {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }

  .media-logos {
    gap: 2.25rem;
    padding: 1.2rem 0;
  }

  .media-logos img {
    height: 42px;
    max-width: 140px;
  }
  
  .cta-btn {
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .contacto-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .whatsapp-button span {
    display: none;
  }

  .whatsapp-button {
    bottom: 1.5rem;
    right: 1.5rem;
    padding: 0.6rem;
    border-radius: 50%;
    max-width: 55px;
    gap: 0;
    opacity: 0.85;
  }
  
  .whatsapp-button img {
    width: 28px;
    height: 28px;
  }

  .scroll-to-top {
    width: 40px;
    height: 40px;
    bottom: 1.5rem;
    left: 1.5rem;
    background: rgba(13, 42, 209, 0.65);
    box-shadow: 0 2px 8px rgba(13, 42, 209, 0.12);
  }

  .scroll-to-top i {
    font-size: 0.95rem;
  }

  .hero-content {
    padding: 1rem;
  }

  .benefits-section {
    padding: 3rem 1rem;
  }

  .contacto-section {
    padding: 3rem 1rem;
  }

  .cta-section {
    padding: 3rem 1rem;
  }
  
  .sobre-inba-section {
    padding: 3rem 1rem;
  }
  
  .inba-features {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
  }
  
  .inba-feature {
    padding: 1.25rem;
  }
  
  .testimonios-section {
    padding: 3rem 1rem;
  }
  
  .testimonio-card {
    flex: 0 0 calc(100% - 2rem);
    min-height: 200px;
    padding: 1.25rem;
  }
  
  .carousel-button {
    width: 45px;
    height: 45px;
  }
  
  .carousel-button.prev {
    left: 10px;
  }
  
  .carousel-button.next {
    right: 10px;
  }
}

/* Mobile Small */
@media (max-width: 480px) {
  .navbar-container {
    padding: 0 0.75rem;
  }
  
  .navbar-logo {
    height: 110px;
  }
  
  .navbar-menu {
    padding: 1.5rem 0.75rem;
  }

  .hero-content h1 {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .hero-features {
    gap: 0.75rem;
  }
  
  .hero-features li {
    font-size: 0.9rem;
  }

  .hero-badge {
    font-size: 0.7rem;
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
    letter-spacing: 0.6px;
    opacity: 0.8;
  }
  
  .hero-buttons .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }

  .media-logos {
    gap: 1.75rem;
    padding: 1rem 0;
  }

  .media-logos img {
    height: 36px;
    max-width: 120px;
  }

  .reconocido-texto {
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
  }

  .benefit-card {
    padding: 1.5rem;
  }

  .benefit-card i {
    font-size: 2.5rem;
  }
  
  .cta-btn {
    padding: 0.65rem 1.4rem;
    font-size: 0.95rem;
  }
  
  .sobre-inba-section {
    padding: 2.5rem 1rem;
  }
  
  .sobre-inba-intro {
    margin-bottom: 2rem;
  }
  
  .inba-features {
    margin-bottom: 2.5rem;
  }
  
  .inba-feature {
    padding: 1rem;
    gap: 0.75rem;
    flex-direction: column;
    text-align: center;
  }
  
  .feature-icon {
    align-self: center;
    min-width: 2.5rem;
    min-height: 2.5rem;
    padding: 0.75rem;
  }
  
  .feature-icon i {
    font-size: 1.25rem;
  }
  
  .testimonios-section {
    padding: 2.5rem 1rem;
  }
  
  .testimonios-subtitle {
    margin-bottom: 2rem;
  }
  
  .testimonio-card {
    padding: 1rem;
    min-height: 180px;
  }
  
    .carousel-button {
    width: 40px;
    height: 40px;
  }

  .carousel-button i {
    font-size: 1rem;
  }

  .scroll-to-top {
    width: 36px;
    height: 36px;
    bottom: 1.2rem;
    left: 1.2rem;
    background: rgba(13, 42, 209, 0.6);
    box-shadow: 0 1px 6px rgba(13, 42, 209, 0.1);
  }

  .scroll-to-top i {
    font-size: 0.9rem;
  }
}

/* Mobile Extra Small */
@media (max-width: 360px) {
  .hero {
    min-height: calc(100vh - 70px);
    padding-top: 90px;
  }

  .hero-content {
    padding: 1rem 0.75rem;
  }

  .hero-content h1 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }

  .hero-badge {
    font-size: 0.65rem;
    padding: 0.4rem 0.8rem;
    margin-bottom: 0.75rem;
  }

  .hero-features {
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }

  .hero-features li {
    font-size: 0.85rem;
  }

  .hero-features i {
    font-size: 1.2rem;
    margin-right: 0.5rem;
  }

  .hero-buttons {
    gap: 0.75rem;
    margin-bottom: 2rem;
  }

  .hero-buttons .btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }

  .media-logos {
    gap: 1rem;
    padding: 0.5rem 0;
  }

  .media-logos img {
    height: 28px;
    max-width: 90px;
  }

  .reconocido-texto {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
  }
  
  .sobre-inba-section {
    padding: 2rem 0.75rem;
  }
  
  .testimonios-section {
    padding: 2rem 0.75rem;
  }

  .testimonio-card {
    padding: 0.75rem;
    min-height: 160px;
  }

  .scroll-to-top {
    width: 32px;
    height: 32px;
    bottom: 1rem;
    left: 1rem;
    background: rgba(13, 42, 209, 0.55);
    box-shadow: 0 1px 4px rgba(13, 42, 209, 0.08);
  }

  .scroll-to-top i {
    font-size: 0.85rem;
  }
}

/* Pantallas con altura reducida */
@media screen and (max-height: 800px) {
  .hero {
    min-height: calc(100vh - 50px);
    padding-top: 80px;
  }

  .hero-content {
    padding: 1.5rem;
  }

  .hero-badge {
    margin-bottom: 1rem;
  }

  .hero-content h1 {
    margin-bottom: 1rem;
  }

  .hero-features {
    margin-bottom: 1.5rem;
  }

  .hero-buttons {
    margin-bottom: 2rem;
  }

  .media-logos {
    padding: 1rem 0;
  }
}

/* Pantallas muy pequeñas en altura */
@media screen and (max-height: 600px) {
  .hero {
    min-height: auto;
    padding: 100px 0 40px;
  }

  .hero-content {
    padding: 1rem;
  }

  .hero-badge {
    margin-bottom: 0.75rem;
  }

  .hero-content h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 0.75rem;
  }

  .hero-features {
    margin-bottom: 1rem;
  }

  .hero-buttons {
    margin-bottom: 1.5rem;
  }

  .media-logos {
    padding: 0.75rem 0;
  }

  .reconocido-texto {
    margin-bottom: 0.5rem;
  }
}

/* AOS Animation Overrides */
[data-aos] {
  opacity: 0;
  transform: translateY(20px);
  transition-property: opacity, transform;
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive styles for testimonials */
@media (min-width: 1200px) {
  .testimonio-card {
    flex: 0 0 calc(33.33% - 2rem);
  }
  
  .carousel-button.prev {
    left: -25px;
  }
  
  .carousel-button.next {
    right: -25px;
  }
}

@media (max-width: 1199px) and (min-width: 769px) {
  .testimonio-card {
    flex: 0 0 calc(50% - 2rem);
  }
  
  .carousel-button.prev {
    left: -20px;
  }
  
  .carousel-button.next {
    right: -20px;
  }
}

@media (max-width: 768px) {
  .testimonios-container {
    padding: 0 1rem;
  }
  
  .testimonio-card {
    flex: 0 0 calc(100% - 2rem);
    margin: 0 1rem;
    min-height: 250px;
  }
  
  .carousel-button {
    width: 40px;
    height: 40px;
  }
  
  .carousel-button.prev {
    left: -15px;
  }
  
  .carousel-button.next {
    right: -15px;
  }
  
  .carousel-button i {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .testimonios-section {
    padding: 32px 0;
  }
  
  .testimonios-container {
    padding: 0 0.5rem;
  }
  
  .testimonio-card {
    padding: 24px;
    margin: 0 0.5rem;
    min-height: 220px;
  }
  
  .carousel-button {
    width: 36px;
    height: 36px;
  }
  
  .carousel-button.prev {
    left: -10px;
  }
  
  .carousel-button.next {
    right: -10px;
  }
}

/* ===== CHAT BOT STYLES ===== */
.chat-box {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 360px;
  max-width: calc(100vw - 40px);
  max-height: 600px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.1);
  font-family: 'Roboto', system-ui, -apple-system, sans-serif;
  z-index: 10000;
  overflow: hidden;
  transform: translateY(100%) scale(0.8);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  backdrop-filter: blur(10px);
}

.chat-box.visible {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.chat-box.hidden {
  display: none;
}

.chat-header {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.chat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.chat-title h4 {
  color: white;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.status-indicator {
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-indicator::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.chat-close {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-close:hover {
  background: rgba(255, 255, 255, 0.15);
}

.chat-messages {
  height: 400px;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  scroll-behavior: smooth;
}

.chat-messages::-webkit-scrollbar {
  width: 4px;
}

.chat-messages::-webkit-scrollbar-track {
  background: #f1f5f9;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 2px;
}

.bot-msg, .user-msg {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 18px;
  line-height: 1.5;
  font-size: 14px;
  position: relative;
  animation: messageSlide 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes messageSlide {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.bot-msg {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  color: #1e293b;
  align-self: flex-start;
  border: 1px solid #e2e8f0;
  margin-right: auto;
}

.user-msg {
  background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
  color: white;
  align-self: flex-end;
  margin-left: auto;
}

.choices-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
  max-width: 100%;
}

.choice-btn {
  background: white;
  border: 2px solid #e2e8f0;
  color: #475569;
  padding: 12px 16px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
}

.choice-btn:hover {
  border-color: #3b82f6;
  background: #f8fafc;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.choice-btn:active {
  transform: translateY(0);
}

.choice-btn::after {
  content: '→';
  color: #94a3b8;
  font-size: 16px;
  transition: color 0.3s ease;
}

.choice-btn:hover::after {
  color: #3b82f6;
}

.input-container {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.chat-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: all 0.3s ease;
  background: white;
}

.chat-input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.chat-input.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.chat-input.warning {
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.chat-input::placeholder {
  color: #94a3b8;
}

.input-error {
  color: #ef4444;
  font-size: 12px;
  margin-top: 4px;
  padding: 4px 8px;
  background: rgba(239, 68, 68, 0.1);
  border-radius: 6px;
  animation: slideDown 0.3s ease;
}

.input-hint {
  font-size: 12px;
  color: #64748b;
  margin-top: 4px;
  padding: 2px 0;
  transition: color 0.3s ease;
}

.chat-input.success {
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.send-btn {
  width: 100%;
  padding: 12px 16px;
  background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
}

.send-btn:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

.send-btn:active {
  transform: translateY(0);
}

.send-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.typing-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 16px;
  max-width: 60px;
  align-self: flex-start;
  background: #f1f5f9;
  border-radius: 18px;
  margin-right: auto;
}

.typing-dot {
  width: 6px;
  height: 6px;
  background: #94a3b8;
  border-radius: 50%;
  animation: typing 1.4s infinite;
}

.typing-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  30% {
    transform: translateY(-8px);
    opacity: 1;
  }
}

.chat-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 9999;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.chat-overlay.hidden {
  display: none;
  visibility: hidden;
  pointer-events: none;
}

.chat-overlay.visible {
  opacity: 1;
  pointer-events: auto;
  display: block;
  visibility: visible;
}

/* ===== RESPONSIVE CHAT ===== */
@media (max-width: 768px) {
  .chat-box {
    width: calc(100vw - 20px);
    right: 10px;
    bottom: 10px;
    max-height: 70vh;
  }
  
  .chat-messages {
    height: 350px;
  }
  
  .choices-container {
    gap: 6px;
  }
  
  .choice-btn {
    padding: 10px 14px;
    font-size: 13px;
    min-height: 44px;
  }
}

@media (max-width: 480px) {
  .chat-box {
    width: calc(100vw - 16px);
    right: 8px;
    bottom: 8px;
    border-radius: 16px;
  }
  
  .chat-header {
    padding: 14px 16px;
  }
  
  .chat-messages {
    padding: 16px;
    height: 320px;
  }
}

/* ===== VIDEO CONTAINER STYLES ===== */
.video-container {
  background: #f8fafc;
  border-radius: 12px;
  padding: 16px;
  margin: 8px 0;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.video-wrapper {
  position: relative;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.video-wrapper iframe {
  display: block;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.video-wrapper:hover iframe {
  transform: scale(1.02);
}

.video-info {
  text-align: center;
}

.video-info h4 {
  color: #1e293b;
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px 0;
  line-height: 1.4;
}

.video-info p {
  color: #64748b;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

/* Responsive video container */
@media (max-width: 768px) {
  .video-container {
    padding: 12px;
    margin: 6px 0;
  }
  
  .video-wrapper iframe {
    height: 180px;
  }
  
  .video-info h4 {
    font-size: 15px;
  }
  
  .video-info p {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .video-container {
    padding: 10px;
  }
  
  .video-wrapper iframe {
    height: 160px;
  }
  
  .video-info h4 {
    font-size: 14px;
  }
  
  .video-info p {
    font-size: 12px;
  }
}
