/* Variables de color */
:root {
    --primary-color: #0064C8;
    --secondary-color: #28a745;
    --accent-color: #17a2b8;
    --plus-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    padding-top: 76px;
    animation: fadeInUp 1s ease-out;
}

/* Cards Plus */
.plus-card {
    transition: all 0.3s ease;
    overflow: hidden;
}

.plus-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2) !important;
}

.plus-icon {
    animation: pulse 2s infinite;
}

/* Page Header */
.page-header {
    margin-top: 76px;
    min-height: 300px;
    display: flex;
    align-items: center;
}

/* Navbar */
.navbar {
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Botones personalizados */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #0052a3;
    border-color: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,100,200,0.3);
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .page-header {
        min-height: 200px;
    }
}

/* Efectos de fondo */
.bg-pattern {
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.15) 1px, transparent 0);
    background-size: 20px 20px;
}

/* Tarjetas de servicio */
.card {
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

/* Iconos animados */
.fas, .fab {
    transition: transform 0.3s ease;
}

.card:hover .fas,
.card:hover .fab {
    transform: scale(1.1);
}

/* Formularios */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0,100,200,0.25);
}

/* Footer links */
footer a:hover {
    color: #fff !important;
    padding-left: 5px;
    transition: all 0.3s ease;
}

/* Scroll to top button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-top.visible {
    opacity: 1;
}

.scroll-top:hover {
    background-color: #0052a3;
    transform: translateY(-5px);
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}