
body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: #000000;
}

/* NAVBAR FIJO */
.navbar-custom {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: #000000;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-weight: bold;
    font-size: 22px;
    color: #ffffff;
}

.navbar-brand span {
    color: #10B981;
}

.nav-link {
    color: #ffffff !important;
    font-weight: 500;
    margin-left: 15px;
    transition: 0.3s;
}

.nav-link:hover {
    color: #03beabd4 !important;
}

.btn-custom2 {
    background-color: #03beabd4;
    color: #fff;
    border-radius: 20px;
    font-weight: 500;
    padding: 4px 12px;
    margin-left: 15px;
}

.btn-custom2:hover {
    background-color: #03beabd4;
}

/* HERO BASE */
.hero-section {
    position: relative;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(2, 6, 23, 0.95) 10%,
        rgba(2, 6, 23, 0.6) 30%,
        rgba(2, 6, 23, 0.2) 70%
    );
    z-index: 1;
}

.hero-section .container {
    z-index: 2;
}

.hero-title {
    font-size: 60px;
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
}

.text-gradient {
    background: #03beabd4;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 18px;
    color: #cbd5f5;
    margin-top: 20px;
    max-width: 500px;
}

.btn-custom {
    background: #03beabd4;
    color: #fff;
    border-radius: 30px;
    padding: 10px 20px;
    font-weight: 600;
    border: none;
    transition: 0.3s;
}

.btn-custom:hover {
    background-color: #03beabd4;
}

.btn-outline-light {
    border-radius: 30px;
    padding: 10px 20px;
}

.hero-title,
.hero-subtitle,
.hero-buttons {
    animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 38px;
    }

    .hero-subtitle {
        font-size: 16px;
    }
}

/* SECCIÓN SERVICIOS */
.services-section {
    padding: 100px 0;
    background-color: #000000;
    color: #fff;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    color: #03beabd4;
}

.section-subtitle {
    color: #94a3b8;
    margin-top: 10px;
}

.service-card {
    background: #0f172a;
    padding: 40px 25px;
    border-radius: 20px;
    transition: all 0.4s ease;
    height: 100%;
}

/* 🔥 EFECTO HOVER */
.service-card:hover {
    transform: translateY(-10px);
    background: #03beabd4; /* CAMBIO DE COLOR */
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* ICONO */
.service-card .icon i {
    font-size: 40px;
    margin-bottom: 20px;
    color: #03beabd4;
    transition: 0.3s;
}

/* ICONO EN HOVER */
.service-card:hover .icon i {
    color: #fff;
}

.service-card h4 {
    margin-bottom: 15px;
    transition: 0.3s;
}

.service-card p {
    color: #cbd5f5;
    font-size: 15px;
    transition: 0.3s;
}

/* TEXTO EN HOVER */
.service-card:hover h4,
.service-card:hover p {
    color: #fff;
}

/* SECCION PORQUE ELEGIRNOS */
.why-section {
    padding: 100px 0;
    background-color: #000000;
    color: #fff;
}

/* Contenedor de la imagen */
.why-img {
    max-width: 85%;
    border-radius: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

/* Hover elegante */
.why-img:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 30px 70px rgba(0,0,0,0.6);
}

/* Efecto glow detrás */
.why-section::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0,255,255,0.15), transparent 70%);
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    z-index: 0;
}

/* Asegura que el contenido esté encima */
.why-section .container {
    position: relative;
    z-index: 1;
}

.why-list {
    margin-top: 20px;
    list-style: none;
    padding: 0;
}

.why-list li {
    margin-bottom: 10px;
    font-size: 16px;
    color: #cbd5f5;
}

.why-img {
    max-width: 90%;
}

.stats-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #000000, #020617);
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* Glow de fondo */
.stats-section::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(3,190,171,0.15), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulseGlow 4s infinite ease-in-out;
}

@keyframes pulseGlow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

/* Caja */
.stat-box {
    padding: 30px;
    border-radius: 15px;
    transition: all 0.4s ease;
}

/* Hover PRO */
.stat-box:hover {
    transform: translateY(-12px) scale(1.07);
    background: rgba(255,255,255,0.05);
    box-shadow: 0 25px 60px rgba(3,190,171,0.2);
}

/* Número con efecto neón */
.stat-number {
    font-size: 55px;
    font-weight: bold;
    color: #03beab;

    text-shadow: 
        0 0 5px #03beab,
        0 0 10px #03beab,
        0 0 20px rgba(3,190,171,0.5);

    opacity: 0;
    transform: translateY(40px) scale(0.9);
    transition: all 0.6s ease;
}

/* Texto */
.stat-box p {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

/* Activación */
.stat-box.show .stat-number,
.stat-box.show p {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* SECCION SOBRE NOSOTROS */
.about-section {
    padding: 100px 0;
    background-color: #000000;
    color: #fff;
}

.about-img {
    max-width: 90%;
}

.about-text {
    color: #cbd5f5;
    margin-top: 15px;
    font-size: 16px;
}

/* SECCION CONTACTO */
.contact-section {
    padding: 100px 0;
    background: #000000;
    color: #fff;
}

.contact-section .form-control {
    background: #0f172a;
    border: none;
    color: #fff;
    border-radius: 10px;
    padding: 12px;
}

.contact-section .form-control::placeholder {
    color: #94a3b8;
}

.contact-section .btn-custom {
    margin-top: 10px;
}


.portfolio-section {
    padding: 100px 0;
    background: #000000;
    overflow: hidden;
}

/* CONTENEDOR */
.carousel-wrapper {
    width: 100%;
    overflow: hidden;
}

/* TRACK (lo que se mueve) */
.carousel-track {
    display: flex;
    width: max-content;
    animation: scroll 80s linear infinite;
}

/* PAUSA AL HOVER */
.carousel-wrapper:hover .carousel-track {
    animation-play-state: paused;
}

/* TARJETAS */
.portfolio-card {
    flex: 0 0 auto;
    margin: 0 15px;
}

.portfolio-card img {
    width: 450px; /* 🔥 AQUI controlas el tamaño */
    height: 450px;
    object-fit: cover;
    border-radius: 15px;
    transition: 0.3s;
}

/* EFECTO HOVER */
.portfolio-card:hover img {
    transform: scale(1.08);
}

/* ANIMACION INFINITA */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* SECCION FOOTER */
.footer {
    padding: 10px 0;
    font-weight: 700;
    background: #03beabd4;
    color: #000000;
}

/* SECCION REDES SOCIALES */
.social-float {
    position: fixed;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* BOTONES */
.social-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    text-decoration: none;

    opacity: 1;
    transform: translateY(0) scale(1);
    transition: transform 0.4s ease, opacity 0.4s ease;
}

/* 🔥 SALIDA */
.social-btn.hide {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
}

/* 🔥 ENTRADA CON PEQUEÑO "REBOTE" */
.social-btn.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* MODO CONTACTO */
.social-inline {
    position: static;
    flex-direction: row;
    justify-content: center;
    margin-top: 30px;
}

/* HOVER */
.social-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}


.whatsapp {
    background-color: #25D366;
}

.facebook {
    background-color: #1877F2;
}

.instagram {
    background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af);
}

.social-btn.email {
    background: #ea4335;
}

@media (max-width: 576px) {
    .social-float {
        right: 8px;
        gap: 6px;
    }

    .social-btn {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}
