/* Versión: 2 - Optimizada para móviles */

/*
 * Estilos para la página de la autoescuela
 * Utiliza una paleta de colores agradable y diseño responsivo para adaptarse a
 * diferentes tamaños de pantalla. Las clases container ayudan a centrar y
 * limitar el contenido a un ancho legible. El objetivo es un sitio fácil de
 * navegar que represente profesionalismo y confianza.
 */

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f9f9f9;
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Animación suave de formas borrosas que se mueven lentamente en segundo plano */
@keyframes blobMove1 {
  0% {
    transform: translate(-30%, -20%) scale(1);
  }
  50% {
    transform: translate(30%, 10%) scale(1.3);
  }
  100% {
    transform: translate(-30%, -20%) scale(1);
  }
}

@keyframes blobMove2 {
  0% {
    transform: translate(20%, -30%) scale(1.2);
  }
  50% {
    transform: translate(-20%, 30%) scale(0.9);
  }
  100% {
    transform: translate(20%, -30%) scale(1.2);
  }
}

/* Animación de pulso suave para los iconos de las características */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
  }
}

/* Utilidad para envolver contenido y centrarlo */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Encabezado fijo con navegación */
.header {
  background-color: #01579b;
  color: #fff;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  /* Sombra suave para dar profundidad al encabezado */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header .logo {
  font-size: 1.5rem;
  font-weight: 600;
}

.header .nav a {
  color: #fff;
  margin-left: 20px;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s ease-in-out;
  position: relative;
}
.header .nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background-color: #ffb74d;
  transition: width 0.3s ease;
}
.header .nav a:hover::after {
  width: 100%;
}
.header .nav a:hover {
  opacity: 0.8;
}

/* Hero section */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  color: #fff;
  background-color: #1e88e5;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(270deg, rgba(30, 136, 229, 0.9), rgba(255, 87, 34, 0.8), rgba(30, 136, 229, 0.9));
  background-size: 600% 600%;
  animation: gradientShift 10s ease infinite;
  z-index: 0;
}
.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}
.hero-text {
  flex: 1 1 50%;
  padding: 20px;
}
.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  font-weight: 700;
}
.hero-text p {
  font-size: 1.25rem;
  margin-bottom: 25px;
  max-width: 450px;
}
.btn-primary {
  display: inline-block;
  background-color: #ff7043;
  color: #fff;
  padding: 14px 30px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.2s ease-in-out;
}
.btn-primary:hover {
  background-color: #d84315;
}
.hero-illustration {
  flex: 1 1 40%;
  text-align: center;
  padding: 20px;
}
.hero-illustration img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2));
}

/* Slider styles */
.slider {
  position: relative;
  width: 100%;
  height: 450px;
  overflow: hidden;
  margin-top: 0;
}
.slides {
  position: relative;
  height: 100%;
  width: 100%;
}
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 0;
}
.slide.active {
  opacity: 1;
  z-index: 2;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.6);
}
.slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 2;
  max-width: 80%;
}
.slide-content h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  font-weight: 700;
}
.slide-content p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

/* Slider arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.3);
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 10px 16px;
  cursor: pointer;
  z-index: 3;
  transition: background-color 0.2s ease;
}
.slider-arrow:hover {
  background-color: rgba(0,0,0,0.5);
}
.slider-arrow.prev {
  left: 10px;
}
.slider-arrow.next {
  right: 10px;
}

/* Slider dots */
.slider-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}

/* Barra superior oscura similar a las páginas profesionales */
.top-bar {
  background-color: #2c2c2c;
  height: 8px;
  width: 100%;
}

/* Estilo del encabezado principal inspirado en Andina */
.main-header {
  background-color: #ffffff;
  padding: 10px 0;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 42px;
  height: 42px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-name {
  color: #e53935;
  font-weight: 700;
  font-size: 1.3rem;
}
.logo-tagline {
  color: #01579b;
  font-size: 0.75rem;
}

.main-nav {
  display: flex;
  align-items: center;
}
.main-nav a {
  margin: 0 12px;
  color: #01579b;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  padding: 6px 0;
  transition: color 0.3s ease;
}
.main-nav a:hover {
  color: #e53935;
}

.header-right {
  display: flex;
  align-items: center;
}
.btn-signup {
  background-color: #e53935;
  color: #fff;
  padding: 8px 18px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  margin-right: 20px;
  transition: background-color 0.3s ease;
}
.btn-signup:hover {
  background-color: #c62828;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}
.social-icon {
  font-size: 1.2rem;
  color: #01579b;
  transition: color 0.3s ease;
}
.social-icon:hover {
  color: #e53935;
}

/* Wave divider after el slider */
.wave-divider {
  position: relative;
  width: 100%;
  height: 80px;
  margin-top: -5px;
  overflow: hidden;
  line-height: 0;
  z-index: 1;
}
.wave-divider svg {
  display: block;
  width: 100%;
  height: 100%;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.dot.active {
  background-color: #ff7043;
}

@media (max-width: 768px) {
  .slider {
    height: 350px;
  }
  .slide-content h1 {
    font-size: 2rem;
  }
  .slide-content p {
    font-size: 1rem;
  }
}

/* Sección Sobre Nosotros */
.about {
  padding: 60px 0;
  background-color: #fff;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  /* Permitir posicionar elementos decorativos detrás del contenido */
  position: relative;
  overflow: hidden;
}

/* Formas borrosas de colores cálidos y fríos que se mueven en el fondo de la sección de "Nosotros". Estas pseudo-elementos aportan un efecto luminoso y moderno. */
.about::before,
.about::after {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  z-index: -1;
  opacity: 0.25;
  filter: blur(120px);
}
.about::before {
  background: radial-gradient(circle at top left, #ffe082, transparent 70%);
  animation: blobMove1 40s linear infinite;
}
.about::after {
  background: radial-gradient(circle at bottom right, #80d8ff, transparent 70%);
  animation: blobMove2 50s linear infinite;
}

/* Features section */
.features {
  padding: 60px 0;
  background-color: #fafafa;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  position: relative;
  overflow: hidden;
}

/* Formas decorativas para la sección de características. Añaden un toque de color y movimiento discreto */
.features::before,
.features::after {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  top: -60%;
  left: -60%;
  z-index: -1;
  opacity: 0.15;
  filter: blur(150px);
}
.features::before {
  background: radial-gradient(circle at top right, #b2ebf2, transparent 70%);
  animation: blobMove1 45s linear infinite;
}
.features::after {
  background: radial-gradient(circle at bottom left, #ffccbc, transparent 70%);
  animation: blobMove2 55s linear infinite;
}
.features h2 {
  text-align: center;
  color: #01579b;
  font-size: 2rem;
  margin-bottom: 30px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}
.feature-item {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 20px;
  flex: 1 1 250px;
  max-width: 300px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-item .icon {
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  margin: 0 auto 15px auto;
  border-radius: 50%;
  background: linear-gradient(135deg, #4fc3f7, #81d4fa);
  color: #01579b;
  transition: transform 0.3s ease;
  /* Animación continua que hace palpitar suavemente a los iconos, aportando dinamismo */
  animation: pulse 6s ease-in-out infinite;
}
.feature-item h3 {
  margin: 0 0 10px;
  color: #01579b;
}
.feature-item p {
  margin: 0;
  font-size: 0.95rem;
}
.feature-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.feature-item:hover .icon {
  transform: scale(1.1);
}

/* Testimonials section */
.testimonials {
  padding: 60px 0;
  background-color: #fff;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}
.testimonials h2 {
  text-align: center;
  color: #01579b;
  font-size: 2rem;
  margin-bottom: 30px;
}
.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.testimonial-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  flex: 1 1 250px;
  max-width: 320px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.testimonial-item .quote {
  font-style: italic;
  margin-bottom: 15px;
  color: #555;
}
.testimonial-item .author {
  font-weight: 600;
  color: #01579b;
  text-align: right;
}

/* CTA bottom section */
.cta-bottom {
  background: linear-gradient(90deg, #ff7043 0%, #f4511e 100%);
  color: #fff;
  padding: 60px 0;
  text-align: center;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}
.cta-content h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
}
.cta-content p {
  font-size: 1.1rem;
  margin-bottom: 25px;
}
.cta-content .btn-primary {
  background-color: #01579b;
  color: #fff;
  padding: 14px 30px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.2s ease-in-out;
}
.cta-content .btn-primary:hover {
  background-color: #003f6b;
}
.about h2 {
  color: #01579b;
  font-size: 2rem;
  margin-bottom: 20px;
}
.about p {
  margin-bottom: 15px;
  font-size: 1rem;
}

/* Sección Servicios */
.services {
  padding: 60px 0;
  background-color: #e3f2fd;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}
.services h2 {
  color: #01579b;
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
}
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.card {
  background-color: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 20px;
  flex: 1 1 250px;
  max-width: 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card h3 {
  margin-top: 0;
  color: #01579b;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.card p {
  margin-bottom: 0;
}

/* Sección Contacto */
.contact {
  padding: 60px 0;
  background-color: #fff;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}
.contact h2 {
  color: #01579b;
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
}
.contact p {
  text-align: center;
  margin-bottom: 30px;
}
.contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}
.info-item {
  flex: 1 1 200px;
  text-align: center;
}
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.contact-form input,
.contact-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}
.contact-form button {
  align-self: flex-start;
  background-color: #01579b;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.2s ease-in-out;
}
.contact-form button:hover {
  background-color: #003f6b;
}

/* Nueva sección sobre nosotros con tres columnas al estilo Andina */
.about-new {
  display: grid;
  grid-template-columns: 1fr 0.8fr 1fr;
  align-items: stretch;
  min-height: 480px;
}

/* Columna izquierda: gradiente con corte diagonal */
.about-left {
  position: relative;
  background: linear-gradient(135deg, #004ba0 0%, #e91e63 100%);
  color: #ffffff;
  padding: 60px 40px;
  clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
  overflow: hidden;
}
.about-left-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  max-width: 450px;
}
.about-left-content p {
  font-size: 1.1rem;
  margin-bottom: 0;
  max-width: 450px;
}

/* Columna central: contenedor para superponer imágenes */
.about-center {
  position: relative;
  background-color: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 40px 20px;
}
.about-center img {
  max-width: 100%;
  height: auto;
}
.about-instructor {
  position: relative;
  z-index: 2;
  width: 70%;
  max-width: 280px;
}
.about-center-car {
  position: absolute;
  bottom: -20px;
  right: -60px;
  width: 80%;
  max-width: 300px;
  z-index: 1;
  opacity: 0.9;
}

/* Columna derecha: contenido sobre nosotros */
.about-right {
  background: #ffffff;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-right h2 {
  color: #01579b;
  font-size: 2rem;
  margin-bottom: 20px;
}
.about-right p {
  font-size: 1rem;
  margin-bottom: 25px;
  color: #555555;
}
.btn-secondary {
  display: inline-block;
  background-color: #e53935;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}
.btn-secondary:hover {
  background-color: #c62828;
}

/* Sección de información y ventajas (info-section) */
.info-section {
  padding: 60px 0;
  background-color: #fff;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}
.info-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.info-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 60px;
}
.info-block:last-child {
  margin-bottom: 0;
}
.info-block:nth-of-type(even) {
  grid-template-columns: 1fr 1fr;
}
.info-block:nth-of-type(even) .info-text {
  order: 2;
}
.info-block:nth-of-type(even) .info-image {
  order: 1;
}
.info-text {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
/* Encabezado dentro de cada bloque de información: icono + título */
.info-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 10px;
}

/* Icono que acompaña al título en los bloques de información */
.info-icon {
  font-size: 2rem;
  line-height: 1;
  color: #e53935;
}
.info-text h3 {
  font-size: 1.75rem;
  margin-bottom: 10px;
  color: #01579b;
}
.info-text h3 .highlight {
  color: #e53935;
}
.info-text p {
  font-size: 1rem;
  color: #555;
  margin: 0;
  max-width: 500px;
}
.info-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Barra de métricas destacadas */
.metrics-bar {
  background-color: #01579b;
  color: #ffffff;
  padding: 30px 0;
}
.metrics-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 150px;
}
.metric-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}
.metric-number {
  font-weight: 700;
  font-size: 1.5rem;
}
.metric-item p {
  margin: 0;
  font-size: 1rem;
}

/*=======================
 * Pasos para obtener la licencia
 * Inspirados en el flujo visual de la autoescuela Andina.
 * Cada paso tiene un marcador redondo de color alterno y una tarjeta informativa.
 * Una línea vertical conecta los marcadores para sugerir el camino a seguir.
 */
.steps {
  background-color: #f5f5f5;
  padding: 60px 0;
  overflow: hidden;
}
.steps h2 {
  text-align: center;
  color: #01579b;
  font-size: 2.5rem;
  margin-bottom: 40px;
}
.steps-wrapper {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}
.steps-wrapper::before {
  content: "";
  position: absolute;
  top: 40px;
  bottom: 40px;
  left: 40px;
  width: 4px;
  background-color: #e0e0e0;
  z-index: 0;
}
.step-item {
  display: flex;
  align-items: flex-start;
  position: relative;
  margin-bottom: 40px;
}
.step-item:last-child {
  margin-bottom: 0;
}
.step-marker {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 700;
  flex-shrink: 0;
  z-index: 1;
}
.step-marker.blue {
  background-color: #01579b;
}
.step-marker.red {
  background-color: #e53935;
}
.step-content {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  padding: 20px 30px;
  margin-left: 20px;
  width: calc(100% - 100px);
  position: relative;
}
.step-content h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.6rem;
  color: #01579b;
}
.step-content p {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 1rem;
  color: #555555;
  line-height: 1.5;
}
.btn-step {
  display: inline-block;
  background-color: #01579b;
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.2s ease;
  font-size: 0.9rem;
}
.btn-step:hover {
  background-color: #013f70;
}

/* Responsivo para la sección de pasos */
@media (max-width: 768px) {
  .steps-wrapper::before {
    left: 30px;
  }
  .step-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .step-marker {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
  .step-content {
    margin-left: 0;
    margin-top: 10px;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .metrics-container {
    gap: 20px;
  }
  .metric-item {
    min-width: 120px;
  }
}

@media (max-width: 768px) {
  .info-block {
    grid-template-columns: 1fr;
  }
  .info-block:nth-of-type(even) .info-text,
  .info-block:nth-of-type(even) .info-image {
    order: unset;
  }
  .info-image img {
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .about-new {
    grid-template-columns: 1fr;
  }
  .about-left {
    clip-path: none;
    padding: 40px 20px;
  }
  .about-center {
    padding: 30px 20px;
  }
  .about-center-car {
    position: static;
    width: 80%;
    max-width: 250px;
    margin-top: -40px;
  }
  .about-instructor {
    width: 60%;
    max-width: 240px;
  }
  .about-right {
    padding: 40px 20px;
  }
}

/* Pie de página */
.footer {
  background-color: #01579b;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  font-size: 0.9rem;
}

/* Responsividad: ajusta diseño en pantallas pequeñas */
@media (max-width: 768px) {
  .hero {
    flex-direction: column-reverse;
    text-align: center;
  }
  .hero-content,
  .hero-image {
    flex: 1 1 100%;
  }
  .hero-image {
    text-align: center;
  }
  .service-cards {
    flex-direction: column;
    align-items: center;
  }
  .card {
    max-width: 100%;
  }
  .contact-info {
    flex-direction: column;
    align-items: center;
  }
  .contact-form button {
    align-self: center;
  }
}


/* === RESPONSIVE FIX ADICIONAL PARA TELÉFONOS === */
@media (max-width: 768px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1rem;
    max-width: 100%;
  }

  .main-nav {
    flex-direction: column;
    gap: 10px;
  }

  .header-inner {
    flex-direction: column;
    gap: 10px;
  }

  .slide-content h1 {
    font-size: 1.5rem;
  }

  .slide-content p {
    font-size: 1rem;
  }

  .cta-content h2 {
    font-size: 1.8rem;
  }

  .cta-content p {
    font-size: 1rem;
  }

  .feature-grid {
    flex-direction: column;
    align-items: center;
  }

  .testimonial-grid {
    flex-direction: column;
    align-items: center;
  }

  .metrics-container {
    flex-direction: column;
    gap: 20px;
  }

  .service-cards {
    flex-direction: column;
  }

  .info-block {
    grid-template-columns: 1fr !important;
  }

  .about-new {
    grid-template-columns: 1fr;
  }

  .header-right {
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }

  .main-nav a {
    margin: 5px 0;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }
}
