html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}


/* CARLOS LUIS */
html {
    scroll-behavior: smooth;
}

/* Asegura que el logo no sea demasiado grande en móviles */
.navbar-brand img {
    max-height: 40px; /* Ajusta según el tamaño de tu logo original */
    transition: transform 0.2s;
}

/* Efecto sutil al pasar el mouse por el logo */
.navbar-brand:hover img {
    transform: scale(1.05);
}


/*COLORES*/
:root {
    --paica-dark-blue: #1a325a; /* Color azul oscuro principal del logo */
    --paica-grey: #c1c1c1; /* Gris del escudo */
    --paica-bg: #f8f9fa; /* Gris muy claro para secciones */
}

/* Navbar blanco */
.navbar {
    background-color: #ffffff !important;
    border-bottom: 2px solid var(--paica-dark-blue);
}

    .navbar .nav-link {
        color: var(--paica-dark-blue) !important;
        font-weight: 600;
    }

        .navbar .nav-link:hover {
            color: #007bff !important; /* Azul más brillante al pasar el mouse */
        }

/* Ajuste del Hero para usar tus colores */
.hero-section {
    background-color: var(--paica-dark-blue) !important;
    color: white;
}


.hero-gradient {
    /* Degradado de azul profundo a azul eléctrico suave */
    background: linear-gradient(135deg, #1a325a 0%, #2a5298 100%);
    position: relative;
    overflow: hidden; /* Asegura que la marca de agua no se salga */
}

    /* Mejora la tipografía para que resalte más */
    .hero-gradient h1 {
        font-weight: 700;
        letter-spacing: -1px;
        color: #ffffff;
        text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    }

    .hero-gradient .lead {
        color: #e0e0e0;
        font-weight: 300;
    }


    /*CONTACTO*/
/* Estilo para los botones */
.btn-primary {
    background-color: #1a325a; /* Tu azul principal */
    border-color: #1a325a;
}

    .btn-primary:hover {
        background-color: #2a5298;
        border-color: #2a5298;
    }

/* Footer */
footer {
    border-top: 4px solid #1a325a !important;
}



/*PREGUNTAS FRECUENTES*/
.accordion-button:not(.collapsed) {
    background-color: #e7f1ff;
    color: #1a325a;
    font-weight: bold;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: #1a325a;
}


/*WHATSAPP*/
/* Botón Flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366; /* Color oficial de WhatsApp */
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

    .whatsapp-float:hover {
        transform: scale(1.1);
        background-color: #128c7e;
        color: #fff;
    }


/* Estilo Base de las Tarjetas */
.service-card {
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: #ffffff;
    border: 1px solid #e1e8ed;
    position: relative;
    overflow: hidden;
}

    /* Efecto de Elevación al pasar el mouse */
    .service-card:hover {
        transform: translateY(-15px);
        box-shadow: 0 20px 30px rgba(26, 50, 90, 0.15);
        border-color: #1a325a;
    }

    /* Animación del Icono */
    .service-card .icon-box {
        transition: transform 0.3s ease;
    }

    .service-card:hover .icon-box {
        transform: scale(1.2) rotate(5deg);
    }

    /* Estilo para los textos */
    .service-card h5 {
        color: #1a325a;
        margin-bottom: 15px;
    }



html {
    scroll-behavior: smooth;
}

/*HERO*/
.hero-section {
    min-height: 80vh; /* Ocupa el 80% de la altura de la pantalla */
    background: linear-gradient(135deg, #1a325a 0%, #2d5a8c 100%);
    position: relative;
    padding: 100px 0;
}

    /* Efecto de partículas sutiles o fondo limpio */
    .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"><circle cx="20" cy="20" r="1" fill="white" fill-opacity="0.1"/></svg>');
        opacity: 0.3;
    }

    .hero-section h1 {
        letter-spacing: -1px;
    }

/* Botones del Hero */
.btn-light {
    color: #1a325a;
    font-weight: 600;
    transition: transform 0.3s ease;
}

    .btn-light:hover {
        transform: scale(1.05);
    }

.btn-outline-light:hover {
    background: white;
    color: #1a325a;
}S


 /*LOGOS*/
.tech-logo {
    max-height: 50px;
    filter: grayscale(100%); /* Logos en blanco y negro */
    opacity: 0.6;
    transition: all 0.3s ease;
}

    .tech-logo:hover {
        filter: grayscale(0%); /* El logo cobra color al pasar el mouse */
        opacity: 1;
        transform: scale(1.1);
    }

.footer-section {
    background-color: #1a325a; /* Tu azul corporativo */
    border-top: 5px solid #2d5a8c; /* Un acento superior para separar del contenido */
}

    .footer-section a:hover {
        color: #ffffff !important;
        text-decoration: underline !important;
    }

    .footer-section i {
        transition: transform 0.3s ease;
        display: inline-block;
    }

        .footer-section i:hover {
            transform: scale(1.2);
        }

/* Color específico para Facebook al pasar el mouse */
.bi-facebook:hover {
    color: #4267B2;
}
/* Color para Instagram */
.bi-instagram:hover {
    color: #E1306C;
}
/* Color para LinkedIn */
.bi-linkedin:hover {
    color: #0077b5;
}

/* Color específico para Facebook al pasar el mouse */
.bi-facebook:hover {
    color: #4267B2;
}
/* Color para Instagram */
.bi-instagram:hover {
    color: #E1306C;
}
/* Color para TikTok (Color oficial) */
.bi-tiktok:hover {
    color: #00f2ea;
}

.tech-logo {
    max-height: 50px;
    filter: grayscale(100%); /* Forzamos blanco y negro */
    opacity: 0.6;
    transition: all 0.3s ease;
}

    .tech-logo:hover {
        filter: grayscale(0%); /* Recuperan su color original al pasar el mouse */
        opacity: 1;
        transform: scale(1.1);
    }


    /*PROYECTOS*/
.project-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

    .project-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
    }

.card-accent {
    height: 6px;
    background: linear-gradient(90deg, #1a325a, #2d5a8c);
}

.badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
}

