/* =========================================
   1. GENERAL Y LAYOUT (main.php)
   ========================================= */
body {
    background-color: #000;
    color: #fff;
    font-family: 'Arial', sans-serif;
    margin: 0;
}

.myaqp-navbar {
    background-color: #111;
    height: 80px;
}

.myaqp-navbar .nav-link {
    color: #eee;
    text-transform: uppercase;
    font-weight: 600;
    transition: 0.3s;
}

.myaqp-navbar .nav-link:hover,
.myaqp-navbar .nav-link.active {
    color: #28a745;
}

.btn-aula-virtual {
    border: 2px solid #28a745;
    color: #fff;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: 0.3s;
}

/* =========================================
   2. BOTONES UNIFICADOS (Sin duplicados)
   ========================================= */
.btn-myaqp {
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: bold;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease all;
    border: 2px solid transparent;
}

.btn-cotizar {
    background-color: #28a745;
    border-color: #28a745;
}

.btn-cotizar:hover {
    background-color: transparent;
    color: #28a745;
}

.btn-whatsapp {
    background-color: #25d366;
    border-color: #25d366;
}

.btn-whatsapp:hover {
    background-color: #128c7e;
    border-color: #128c7e;
    transform: scale(1.05);
}

/* =========================================
   3. SECCIÓN HERO
   ========================================= */
.myaqp-hero {
    position: relative;
    height: 100vh;
    background: center / cover no-repeat;
}

.myaqp-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.myaqp-hero-container {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    gap: 2rem;
}

.myaqp-hero-text { max-width: 50%; }

.myaqp-hero-text h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
}

.myaqp-hero-logo img {
    max-width: 550px;
    height: auto;
}

/* =========================================
   4. SECCIÓN ESTADÍSTICAS (Stats)
   ========================================= */
.myaqp-stats {
    background-color: #000b1a; /* Azul oscuro corporativo */
    color: #fff;
}

.text-danger { color: #ff0000 !important; }

.counter-box h2 { color: #fff; }

.counter-box p {
    color: #aaa;
    letter-spacing: 1px;
}

/* =========================================
   5. SECCIÓN SERVICIOS (Cards)
   ========================================= */
.myaqp-services-home {
    background-color: #000;
}

.service-card-home {
    background: #111;
    border: 1px solid #222;
    padding: 40px 25px;
    border-radius: 15px;
    transition: 0.3s;
    height: 100%;
}

.service-card-home:hover {
    border-color: #28a745;
    transform: translateY(-10px);
}

.card-icon {
    font-size: 3rem;
    color: #28a745;
    margin-bottom: 20px;
}

.btn-ver-mas {
    color: #28a745;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: 0.3s;
}

/* =========================================
   6. SECCIÓN VALIDADOR (Buscador)
   ========================================= */
.myaqp-validator {
    background-color: #000;
    width: 100%;
}

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

.validator-box {
    background: #0a0a0a;
    border: 1px dashed #28a745;
    border-radius: 15px;
}

.validator-title {
    font-size: 2.5rem;
    font-weight: 700;
}

.validator-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
}

.val-input {
    background: #1a1a1a !important;
    border: none !important;
    color: #fff !important;
    padding: 15px !important;
    border-radius: 0 !important;
    flex: 1;
}

.btn-val {
    background-color: #28a745;
    color: #fff;
    border: none;
    padding: 0 30px;
    font-weight: bold;
}

/* =========================================
   7. SECCIÓN CLIENTES (Logos)
   ========================================= */
.myaqp-clients { background-color: #000; }

.client-logo {
    filter: grayscale(1) brightness(0.7);
    transition: 0.4s;
    max-height: 70px;
    margin: 0 auto;
}

.client-logo:hover {
    filter: grayscale(0) brightness(1);
    transform: scale(1.1);
}

/* =========================================
   8. FOOTER PROFESIONAL
   ========================================= */
.myaqp-footer-cta {
    background: linear-gradient(90deg, #b30000 0%, #ff0000 100%);
}

.myaqp-footer-dark {
    background-color: #000d1a;
    color: #fff;
}

.footer-list li a {
    color: #cbd5e0;
    text-decoration: none;
    transition: 0.3s;
}

.footer-list li a:hover { color: #ff0000; }

.footer-socials a {
    color: #fff;
    font-size: 1.2rem;
    margin-right: 15px;
}

.footer-socials a:hover { color: #ff0000; }

/* Estilos certificados */
.bg-success-soft { background-color: rgba(40, 167, 69, 0.1); }
.bg-danger-soft { background-color: rgba(220, 53, 69, 0.1); }

.table-dark {
    background-color: #111 !important;
}

.table-hover tbody tr:hover {
    background-color: #1a1a1a !important;
}

.modal-content.bg-dark {
    background-color: #0a0a0a !important;
}

.val-input {
    height: 55px;
}

  /* ---pagina de contact --- */
.contact-icon-box {
    width: 50px;
    height: 50px;
    background-color: #111;
    border: 1px solid #28a745;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #28a745;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.val-input {
    border-radius: 10px !important;
}

label.form-label {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

select.val-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 12px;
}
/* pagia servicios */
.myaqp-page-header {
    height: 300px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.service-img-wrapper {
    overflow: hidden;
    border-radius: 15px;
    border: 1px solid #333;
}

.service-img-wrapper img {
    transition: transform 0.5s ease;
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.service-img-wrapper:hover img {
    transform: scale(1.1);
}

.footer-links li a:before {
    content: "✓";
    color: #28a745;
    margin-right: 10px;
}

/* Pagina de clientes */
.client-card {
    background-color: #0a0a0a;
    border: 1px solid #222;
    padding: 30px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 140px;
    transition: all 0.4s ease;
}

.client-card:hover {
    border-color: #28a745;
    background-color: #111;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(40, 167, 69, 0.1);
}

.client-logo-page {
    filter: grayscale(1) brightness(0.6);
    transition: all 0.4s ease;
    max-height: 80px;
}

.client-card:hover .client-logo-page {
    filter: grayscale(0) brightness(1);
}

/* Reutilizamos el estilo de cabecera de Servicios */
.myaqp-page-header {
    height: 300px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

/* Responsive */
@media (max-width: 991.98px) {
  .swiper-slide img { width: 180px; height: 250px; }

  .myaqp-navbar .navbar-collapse {
    justify-content: flex-start;
  }

  .myaqp-navbar .navbar-nav {
    flex-direction: column;
    gap: 0.25rem;
  }

  .myaqp-hero-container {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 2rem;
  }

  .myaqp-hero-text {
    max-width: 100%;
  }

  .myaqp-hero-logo img {
    max-width: 350px;
  }
}

@media (max-width: 768px) {
  .swiper-slide img { width: 140px; height: 200px; }

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

  .myaqp-hero-tagline {
    font-size: 1rem;
  }

  .myaqp-btn-cta {
    font-size: 1rem;
    padding: 0.5rem 1.25rem;
  }

  .myaqp-hero-logo img {
    max-width: 250px;
  }
  .dglobel-login__box {
    padding: 30px 25px;
    max-width: 320px;
  }

  .dglobel-login__title {
    font-size: 1.5rem;
  }

  .dglobel-login__text {
    font-size: 0.9rem;
  }
  .encabezado-galeria {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
  .swiper-slide img { width: 120px; height: 160px; }

  .myaqp-hero {
    height: auto;
    padding: 4rem 1rem;
  }

  .myaqp-hero-container {
    padding: 0;
  }

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

  .myaqp-hero-logo img {
    max-width: 180px;
  }
}
