/* General Styles */
html {
    scroll-behavior: smooth;
}

body {
    padding-top: 76px;
}

/* Header Section */
.header-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('img/fondo.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    margin-bottom: 30px;
}

/* Section Backgrounds */
.section-bg-1 { background-color: #f8f9fa; }
.section-bg-2 { background-color: #ffffff; }
.section-bg-3 { background-color: #f1f3f5; }
.section-bg-4 { background-color: #ffffff; }
.section-bg-5 { background-color: #f8f9fa; }
.section-bg-6 { background-color: #ffffff; }
.section-bg-7 { background-color: #f1f3f5; }
.section-bg-8 { background-color: #ffffff; }

/* Section Padding */
section {
    padding: 80px 0;
}

/* Card Styles */
.card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

/* Navigation Styles */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: bold;
}

/* Form Styles */
.form-control:focus {
    box-shadow: none;
    border-color: #0d6efd;
}

/* Icon Styles */
.bi {
    margin-right: 5px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .header-section {
        padding: 60px 0;
    }

    section {
        padding: 40px 0;
    }

    .card {
        margin-bottom: 20px;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.header-section h1,
.header-section p {
    animation: fadeIn 1.5s ease-in-out;
}


.fab {
    position: fixed;
bottom: 30px;
right: 20px;
z-index: 9999;
width: 60px;
height: 60px;
border-radius: 50%;
background-color: #25D366;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
animation: breathe 2s ease-in-out infinite;
overflow: hidden;
}


/*Estilos solo al icono whatsapp*/
.fab-btn i {
color: #fff;
font-size: 24px;
animation: beat 2s ease-in-out infinite;
text-decoration: none;
}

/*Estilos con animation contorno respirando*/
@keyframes breathe {
0% {
box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
}
70% {
box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
}
100% {
box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
}
}

/*Estilos de animacion del icono latiendo*/
@keyframes beat {
0% {
transform: scale(1);
}
50% {
transform: scale(1.2);
}
100% {
transform: scale(1);
}
}