/* ======================================
   Archivo: styles.css
   Descripción: Estilos personalizados para la landing page institucional de Educonsulting
   Autor: Educonsulting | BrandGPT
   ====================================== */

/* ============================
   VARIABLES DE COLOR Y FUENTES
============================= */
:root {
    --ec-blue: #0659B2;        /* Azul institucional */
    --ec-green: #02D66C;       /* Verde para CTA */
    --ec-light: #f9f9f9;       /* Fondo claro */
    --ec-dark: #1e1e1e;        /* Texto principal */
    --ec-grey: #e0e0e0;        /* Líneas, bordes */
    --ec-font-title: 'Montserrat', sans-serif;
    --ec-font-body: 'Open Sans', sans-serif;
  }
  
  /* ============================
     RESET GENERAL
  ============================= */
  body {
    font-family: var(--ec-font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ec-dark);
    background-color: white;
    margin: 0;
    padding: 0;
  }
  
  h2, h3, h4, h5 {
    font-family: var(--ec-font-title);
    font-weight: 700;
    color: var(--ec-blue);
  }
  
  p {
    margin-bottom: 1rem;
  }
  
  /* ============================
     NAVEGACIÓN (HEADER)
  ============================= */
  .navbar {
    background-color: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    padding: 1rem;
    transition: all 0.3s ease;
  }
  
  .navbar-brand {
    font-weight: bold;
    color: var(--ec-blue);
  }
  
  .nav-link {
    color: var(--ec-dark);
    font-weight: 500;
    transition: color 0.3s ease;
  }
  
  .nav-link:hover {
    color: var(--ec-green);
  }
  
  /* ============================
     HERO CON CARRUSEL
  ============================= */
  .hero-carousel {
    position: relative;
    height: 100vh;
    overflow: hidden;
  }
  
  .hero-carousel img {
    object-fit: cover;
    height: 100vh;
    width: 100%;
  }
  
  .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
  }
  
  .hero-content {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
  }
  
  /* ============================
     BOTONES CTA
  ============================= */
  .btn-cta {
    background-color: var(--ec-green);
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: none;
    transition: background-color 0.3s ease;
  }
  
  .btn-cta:hover {
    background-color: #00c45a;
  }
  
  /* ============================
     TARJETAS (BENEFICIOS, ETC.)
  ============================= */
  .card-custom {
    border: none;
    border-radius: 0.75rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
  }
  
  .card-custom:hover {
    transform: translateY(-5px);
  }
  
  /* ============================
     FORMULARIO DE CONTACTO
  ============================= */
  .contact-section {
    background-color: var(--ec-light);
    padding: 4rem 0;
  }
  
  .form-control:focus {
    border-color: var(--ec-green);
    box-shadow: 0 0 0 0.25rem rgba(2, 214, 108, 0.25);
  }
  
  /* ============================
     FOOTER
  ============================= */
  .footer {
    background-color: #043874;
    color: #f4f4f4;
    padding: 2rem 0;
  }
  
  .footer a {
    color: #f4f4f4;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  .footer a:hover {
    text-decoration: underline;
  }
  
  /* ============================
     ANIMACIONES BÁSICAS
  ============================= */
  .fade-in {
    animation: fadeIn 1s ease-in-out both;
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* ============================
     ESTILOS PARA VIDEOS YOUTUBE EMBEBIDOS
  ============================= */
  .video-container {
    position: relative;
    padding-bottom: 56.25%; /* Proporción 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 0.75rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
  }
  
  .video-container iframe,
  .video-container object,
  .video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
  }
  
  /* ============================
     MEDIA QUERIES (RESPONSIVE)
  ============================= */
  @media (max-width: 768px) {
    .hero-content h1 {
      font-size: 1.8rem;
      color: var(--ec-blue);

    }
    .hero-content p {
      font-size: 1rem;
    }
    .btn-cta {
      width: 100%;
    }
  }
  