:root {
    --primary-color: #0b6b4f;   /* deep green */
    --secondary-color: #f39c63; /* warm orange */
    --accent-color: #ffc857;    /* light accent */
    --bg-color: #f8faf8;
    --text-color: #1f2933;
}

body {
    font-family: 'Inter', 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    padding-top: 70px;
}

/* Brand logo text styling */
.brand-name {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text-color);
    letter-spacing: 0.6px;
}

.hero {
    background: linear-gradient(135deg, rgba(11,107,79,0.95), rgba(243,156,99,0.95));
    color: white;
    padding: 64px 0 56px;
}

.card {
    transition: transform 0.3s ease;
}

.card:hover {
    transform: scale(1.02);
}

#caracteristicas i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

#programa-afiliados {
    background-color: #f4f4f4;
}

.social-links a {
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

#catalogo-cursos .card {
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
}

#catalogo-cursos .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.btn-ver-detalles {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
}

/* Floating WhatsApp bubble */
.whatsapp-bubble {
    position: fixed;
    right: 16px;
    bottom: 20px;
    width: 56px;
    height: 56px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(0,0,0,0.16);
    z-index: 1050;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
    font-size: 22px;
}

.whatsapp-bubble:active {
    transform: scale(0.96);
}

/* Ensure bubble doesn't overlap modal actions on small screens */
@media (max-width: 576px) {
    .whatsapp-bubble {
        right: 12px;
        bottom: 12px;
        width: 52px;
        height: 52px;
    }
}