/* General */
body {
    font-family: 'Arial', sans-serif;
    background: #f4f7fa;
    color: #333;
}

/* Top bar */
.top-bar {
    background: #587ac5;
    color: #fff;
    font-size: 14px;
    padding: 10px 0;
}

/* Navbar */
.navbar-brand {
    font-size: 26px;
    display: flex;
    align-items: center;
}

.logo {
    height: auto;
}

/* Hero Section */
.hero-section {
    background: url('../images/header_v4_1.jpg') no-repeat center center / cover;
    color: #ffffff;
    height: 680px; /* Altura fija para escritorio */
    display: flex;
    align-items: center;
    text-align: left;
}

.hero-section-about {
    background: url('../images/hero_about_v5.jpg') no-repeat center center / cover;
    color: #ffffff;
    height: 680px; /* Altura fija para escritorio */
    display: flex;
    align-items: center;
    text-align: left;
}

/* Sección de Servicios */
.services-section {
    background: #fff;
    padding: 80px 0;
}

.service-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: #eef2ff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 15px;
    font-size: 32px;
    color: #587ac5;
}

.service-card h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.service-card p {
    font-size: 16px;
    color: #666;
}

/* Nueva Sección de Contacto */
.contact-hero {
    background: url('../images/contact_bg.jpg') no-repeat center center / cover;
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.contact-hero h2 {
    font-size: 2.5rem;
    font-weight: bold;
}

.contact-hero p {
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background: #181818;
    color: #dcdcdc;
    padding: 50px 0;
}

.footer-logo {
    width: 270px;
    margin-bottom: 15px;
}

.footer h5 {
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
}

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

.footer ul li {
    margin-bottom: 8px;
}

.footer ul li a {
    text-decoration: none;
    color: #bfbfbf;
    transition: color 0.3s ease;
}

.footer ul li a:hover {
    color: #587ac5;
}

/* Social Icons */
.social-icons {
    margin-top: 10px;
}

.social-icons a {
    font-size: 20px;
    color: #bfbfbf;
    transition: color 0.3s ease;
    margin: 0 10px;
}

.social-icons a:hover {
    color: #587ac5;
}

/* Copyright */
.footer hr {
    opacity: 0.2;
    margin: 20px 0;
}

/* Sección Sobre Nosotros */
.about-section {
    background: #587ac5;
    padding: 80px 0;
}

.about-badge {
    font-size: 16px;
    padding: 10px 15px;
    background: rgb(255 255 255 / 91%);
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    color: #ffffff;
}

/* Títulos y texto */
.about-section h2 {
    font-size: 2.2rem;
    font-weight: bold;
    color: #ffffff;
}

.about-section p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #ffffff;
}

/* Lista de checks */
.about-section ul {
    padding: 0;
    list-style: none;
}

.about-section ul li {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-section ul li i {
    font-size: 20px;
    color: #f8d210;
}

/* Botón */
.about-section .btn {
    padding: 12px 20px;
    font-size: 1rem;
}

/* Imagen */
.about-image img {
    border-radius: 10px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
}


/* Sección Beneficios de Cloud Minds */
.benefits-section {
    background: #ffffff;
    padding: 80px 0;
}

/* Badge más grande */
.benefits-badge {
    font-size: 18px; /* Más grande */
    padding: 12px 18px; /* Más espacioso */
    background: rgba(0, 123, 255, 0.1);
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    color: #666; /* Color gris para "¿Por qué elegir" */
}

/* Títulos y texto */
.benefits-section h2 {
    font-size: 2.4rem; /* Más grande */
    font-weight: bold;
    color: #333;
}

.benefits-section p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #555;
}

/* Lista con checks */
.benefits-section ul {
    padding: 0;
    list-style: none;
}

.benefits-section ul li {
    font-size: 1.1rem; /* Un poco más grande */
    margin-bottom: 12px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 12px;
}

.benefits-section ul li i {
    font-size: 22px; /* Íconos más grandes */
    color: #007bff;
}

/* Imagen */
.benefits-section img {
    border-radius: 10px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
}

/* Responsivo */
@media (max-width: 992px) {
    .hero-section {
        padding: 100px 0;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section-about {
        padding: 100px 0;
    }

    .hero-section-about h1 {
        font-size: 2.5rem;
    }

    .contact-hero {
        padding: 60px 0;
    }

    .contact-hero h2 {
        font-size: 2rem;
    }
}

@media (max-width: 991px) {
    #contact-btn{
        margin-left: 0 !important;
    }
}

@media (max-width: 767px) {
    .service-card{
        margin-bottom: 2% !important;
    }
}

@media (max-width: 768px) {
    .logo {
        width: 180px !important;
    }

    .footer .text-center {
        text-align: center !important;
    }

    .service-card {
        padding: 20px;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .service-card h4 {
        font-size: 18px;
    }

    .service-card p {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 80px 0;
    }

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

    .hero-section p {
        font-size: 1rem;
    }

    .hero-section-about {
        padding: 80px 0;
    }

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

    .hero-section-about p {
        font-size: 1rem;
    }

    .contact-hero h2 {
        font-size: 1.8rem;
    }

    .contact-hero p {
        font-size: 1rem;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .about-section {
        padding: 60px 0;
        text-align: center;
    }
    
    .about-section h2 {
        font-size: 2rem;
    }

    .about-section p {
        font-size: 1rem;
    }
    
    .about-section ul li {
        font-size: 0.9rem;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .benefits-section {
        text-align: center;
    }

    .benefits-badge {
        font-size: 16px;
        padding: 10px 15px;
    }

    .benefits-section h2 {
        font-size: 2rem;
    }

    .benefits-section p {
        font-size: 1rem;
    }

    .benefits-section ul li {
        font-size: 1rem;
    }
}

/* Ajustes para pantallas medianas */
@media (max-width: 1200px) {
    .hero-section {
        height: 500px;
    }
    .hero-section-about {
        height: 500px;
    }
}

/* Ajustes para tablets */
@media (max-width: 992px) {
    .hero-section {
        height: 450px;
        text-align: center;
    }
    .hero-section-about {
        height: 450px;
        text-align: center;
    }
}

/* Ajustes para móviles */
@media (max-width: 768px) {
    .hero-section {
        height: 400px;
        padding: 80px 0;
    }

    .hero-section h1 {
        font-size: 2.2rem;
    }

    .hero-section p {
        font-size: 1rem;
    }
    .hero-section-about {
        height: 400px;
        padding: 80px 0;
    }

    .hero-section-about h1 {
        font-size: 2.2rem;
    }

    .hero-section-about p {
        font-size: 1rem;
    }
}

/* Sección de Ubicación */
.location-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.contact-info p {
    font-size: 1.1rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    font-size: 18px;
    color: #587ac5;
}

/* Mapa Responsivo */
.map-container {
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
}

.map-container iframe {
    width: 100%;
    height: 350px;
    border-radius: 10px;
}

/* Sección Quiénes Somos */
.about-cloudminds {
    background: #f8f9fa;
}

/* Ajuste de imagen */
.about-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
}

/* Lista de características con iconos */
.about-list {
    padding: 0;
    list-style: none;
}

.about-list li {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    color: #333;
}

/* Iconos */
.about-list i {
    font-size: 1.3rem;
    color: #587ac5;
}

/* Responsive */
@media (max-width: 768px) {
    .about-cloudminds {
        text-align: center;
        padding: 50px 20px;
    }

    .about-cloudminds h2 {
        font-size: 1.8rem;
    }

    .about-cloudminds p {
        font-size: 1rem;
    }

    .about-list li {
        font-size: 1rem;
        justify-content: center;
    }

    .about-list i {
        font-size: 1.2rem;
    }
}


/* Glow constante + pulso suave */
.cloud-card-glow {
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(88,122,197,0.6);
    box-shadow: 0 0 18px rgba(88,122,197,0.35);
    transition: all .35s ease;
    position: relative;
    cursor: pointer;
    animation: pulseGlow 3s infinite ease-in-out;
}

/* Pulso suave */
@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 18px rgba(88,122,197,0.35);
    }
    50% {
        box-shadow: 0 0 28px rgba(88,122,197,0.55);
    }
    100% {
        box-shadow: 0 0 18px rgba(88,122,197,0.35);
    }
}

/* Glow constante + pulso suave */
.cloud-card-glow {
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(88,122,197,0.6);
    box-shadow: 0 0 18px rgba(88,122,197,0.35);
    transition: all .35s ease;
    position: relative;
    cursor: pointer;
    animation: pulseGlow 3s infinite ease-in-out;
}

/* Pulso suave */
@keyframes pulseGlow {
    0% { box-shadow:0 0 18px rgba(88,122,197,0.35); }
    50% { box-shadow:0 0 28px rgba(88,122,197,0.55); }
    100% { box-shadow:0 0 18px rgba(88,122,197,0.35); }
}

/* Ícono clic animado (centrado hacia la mitad) */
.click-icon {
    position: absolute;
    bottom: 12px;
    right: 50%; 
    transform: translateX(60%); 
    font-size: 26px;
    color: #587ac5;
    opacity: 0.9;
    animation: clicky 1.2s infinite ease-in-out;
}

@keyframes clicky {
    0%   { transform: translateX(60%) scale(1); opacity: 0.9; }
    50%  { transform: translateX(60%) scale(1.3); opacity: 1; }
    100% { transform: translateX(60%) scale(1); opacity: 0.9; }
}

/* Hover más intenso */
.cloud-card-glow:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 38px rgba(88,122,197,0.65);
    border-color: rgba(88,122,197,0.9);
}


/*CODIGO DE PRUEBA PARA CONTACT*/




/* ============================================================
   HERO PRINCIPAL
============================================================ */
.contactHeroV2 {
    background: url('../images/header_contact.jpg') no-repeat center center / cover;
    position: relative;
    padding: 200px 30px;
    color: #fff;
    height: 680px;
}

.contactHeroV2-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.70),   /* izquierda bien oscurita */
        rgba(255, 255, 255, 0.25)  /* derecha clara y suave */
    );
}

.contactHeroV2-content {
    position: relative;
    max-width: 1300px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.contactHeroV2-text h1 {
    font-size: 4rem;
    font-weight: 700;
}

.contactHeroV2-text p {
    font-size: 1.5rem;
    opacity: .95;
}

.contactHeroV2-icon img {
    width: 100px;
    filter: drop-shadow(0 5px 20px rgba(0,0,0,0.4));
}

@media (max-width: 992px) {
    .contactHeroV2-content {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================================
   GRID PRINCIPAL
============================================================ */
.contactGrid {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

@media (max-width: 992px) {
    .contactGrid { grid-template-columns: 1fr; }
}

/* ============================================================
   CARDS GENERALES
============================================================ */
.contactCard {
    background: #fff;
    border-radius: 14px;
    padding: 20px 22px;
    box-shadow: 0 6px 14px rgba(0,0,0,0.07);
    border: 1px solid rgba(0,0,0,0.05);
}

/* ============================================================
   FORMULARIO
============================================================ */
.formCard h2 {
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.formCard p {
    color: #555;
    margin-bottom: 18px;
    font-size: 0.9rem;
}

.contactFormV2 input,
.contactFormV2 textarea {
    width: 100%;
    font-size: 14px;
    border-radius: 10px;
    border: 1px solid #ddd;
    padding: 9px 11px;
    margin-bottom: 10px;
    background: #fafafa;
    transition: .25s;
}

.contactFormV2 input:focus,
.contactFormV2 textarea:focus {
    background: #fff;
    border-color: #587ac5;
}

.contactFormV2 textarea {
    height: 100px;
    resize: none;
}

#contactCharCount {
    font-size: 11px;
    color: #666;
    text-align: right;
}

.contact-btn {
    width: 100%;
    padding: 11px;
    border: none;
    border-radius: 10px;
    background: #587ac5;
    color: #fff;
    font-size: .95rem;
    font-weight: 700;
    cursor: pointer;
    transition: .3s;
}

.contact-btn:hover {
    background: #3c58a8;
}

/* ============================================================
   IMÁGENES — TODAS IGUAL TAMAÑO PERFECTO
============================================================ */
.imageCard {
    padding: 0 !important;
    overflow: hidden;
    height: 430px;        
    width: 100%;
    border-radius: 14px;
    position: relative;
}


.imageCard img {
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;  
    border-radius: 14px;
}


/* ============================================================
   BLOQUE 2 — INFO + IMAGEN + MAPA
============================================================ */
.second-contact-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1000px;
    margin: 40px auto;
    gap: 25px;
    padding: 0 20px;
}

@media (max-width: 992px) {
    .second-contact-block { grid-template-columns: 1fr; }
}

.infoCardV2 h2 {
    font-size: 1.45rem;
    margin-bottom: 15px;
}

.contact-info-list {
    list-style: none;
    padding-left: 0;
    font-size: 0.95rem;
    color: #444;
}

.contact-info-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.contact-info-list i {
    font-size: 16px;
    color: #587ac5;
}

/* Redes */
.contact-social-icons a {
    font-size: 18px;
    margin-right: 10px;
    color: #587ac5;
}

.contact-social-icons a:hover {
    color: #30457d;
}

/* MAPA */
.contact-map-box iframe {
    width: 100%;
    height: 230px;
    border-radius: 12px;
    border: none;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* ============================================================
   FAQ – ESTILO
============================================================ */
.faq-section {
    background: #fff;
    padding: 80px 20px;
}

.faq-container {
    max-width: 1100px;
    margin: auto;
}

.faq-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 40px;
    color: #333;
}

/* Tarjeta del FAQ */
.faq-item {
    background: #ffffff;
    border-radius: 16px;
    margin-bottom: 18px;
    box-shadow: 0 5px 16px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
    transition: all .25s ease;
}

.faq-item.open {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.10);
}

/* Pregunta */
.faq-question {
    width: 100%;
    border: none;
    background: #f3f5ff;
    padding: 18px 22px;
    font-size: 1.1rem;
    color: #333;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background: #ebeeff;
}

/* Flecha */
.faq-arrow {
    transition: transform .3s ease;
    font-size: 1rem;
    color: #587ac5;
}

.faq-item.open .faq-arrow {
    transform: rotate(180deg);
}

/* Respuesta */
.faq-answer {
    display: none;
    padding: 18px 22px;
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.faq-item.open .faq-answer {
    display: block;
    animation: faqFade .25s ease;
}

/* Animación suave */
@keyframes faqFade {
    from { opacity: 0; transform: translateY(-5px); }
    to   { opacity: 1; transform: translateY(0); }
}


/* ================================
   HERO – Ajustes específicos del logo
================================ */
.contactHeroV2-icon {
    flex-shrink: 0; /* evita que se reduzca */
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.contactHeroV2-icon img {
    width: 280px;
    max-width: 100%;
    height: auto;           /* mantiene proporción exacta */
    object-fit: contain;
    filter: drop-shadow(0 6px 25px rgba(0,0,0,0.35));
    animation: heroLogoFloat 6s ease-in-out infinite;
}

/* Animación suave flotante */
@keyframes heroLogoFloat {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

/* Responsive */
@media (max-width: 992px) {
    .contactHeroV2-icon img {
        width: 180px;
        margin-top: 20px;
    }
}

.faq-cloud-inline {
    display: inline-flex;
    align-items: center;
    gap: 0; /* evita separación */
}

/* CLOUD (gris) */
.faq-cloud-grey {
    color: #666;
    font-weight: 700;
    margin-right: 0; /* pegaditos */
}

/* MINDS (azul) */
.faq-cloud-blue {
    color: #587ac5;
    font-weight: 700;
    margin-left: 0;
}

/* Alineación del botón */
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
}
