* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

header {
    background-color: #21098a;
    padding: 10px 0;
}


.logo {
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: bold;
    display: flex;
    justify-content: center;
}

@media (max-width: 768px) {
    .logo {
        font-size: 1.5rem;
    }
}

@media (min-width: 769px) {
    .logo {
        font-size: 1.6rem;
    }
}

@media (min-width: 1200px) {
    .logo {
        font-size: 2rem;
    }
}


.container {
    width: 100%;
    height: 20vh;
    display: flex;
    flex-direction: column;
}

.franja {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: #21098a;
}

.animated-text {
    font-size: 2rem;
    color: white;
    background-color: #21098a;
    position: relative;
    animation: fadeIn 2s;
}

@keyframes fadeIn {
    0% {
        transform: translateY(200%);
        opacity: 0;
    }

    25% {
        transform: translateY(100%);
        opacity: 1;
    }

    50% {
        transform: translateY(0);
        opacity: 1;
    }

    75% {
        transform: translateY(-100%);
        opacity: 1;
    }

    100% {
        transform: translateY(-200%);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .animated-text {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .animated-text {
        font-size: 1.7rem;
    }
}

.call-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 15vh;
    background-color: #21098a;
}

.call-button {
    background-color: #24e250;
    color: white;
    text-decoration: none;
    padding: 12px 26px;
    border-radius: 50px;
    font-size: 1.8rem;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.call-button:hover {
    background-color: #f0f32f;
}

@media (max-width: 768px) {
    .call-button {
        padding: 12px 25px;
        font-size: 1.7rem;
    }
}

@media (max-width: 480px) {
    .call-button {
        padding: 15px 25px;
        font-size: 1.6rem;
    }
}

.bounce-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #21098a;
    height: 10vh;
}

.bounce-text {
    font-size: 2rem;
    font-weight: bold;
    color: #ff2f2f;
    text-align: center;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .bounce-text {
        font-size: 1.9rem;
    }
}

@media (max-width: 480px) {
    .bounce-text {
        font-size: 1.8rem;
    }
}

.independent-section * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.independent-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 20px;
    background-color: #f57539;
    color: #fff
}

.independent-container {
    max-width: 800px;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: #333;
}

.independent-title {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #050505;
}

.independent-text {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #555;
}

@media (max-width: 768px) {
    .independent-title {
        font-size: 1.75rem;
    }

    .independent-text {
        font-size: 1.2rem;
    }

    .independent-container {
        padding: 15px;
    }
}

@media (min-width: 769px) {
    .independent-title {
        font-size: 2rem;
    }

    .independent-text {
        font-size: 1.5rem;
    }
}

#responsive-section {
    display: auto;
    background-color: #f4f4f4;
    padding: 20px;
    margin: 10px;
    text-align: center;
    max-width: 100%;
}

#responsive-section h1 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 10px;
}

#responsive-section p {
    font-size: 1.6rem;
    color: #666;
    line-height: 1.5;
}

@media (min-width: 768px) {
    #responsive-section h1 {
        font-size: 1.8rem; 
    }

    #responsive-section p {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    #responsive-section h1 {
        font-size: 1.7rem;
    }

    #responsive-section p {
        font-size: 1.3rem;
    }
}

.banner {
    position: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background-color: #25D366;
    color: white;
    padding: 15px 20px;
    text-align: center;
    z-index: 1000;
}

.banner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.banner h2 {
    font-size: 1.7rem;
    margin-bottom: 10px;
}

.whatsapp-button {
    background-color: white;
    color: #25D366;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 1.5rem;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.whatsapp-button:hover {
    background-color: #f5f10a;
}

@media (min-width: 768px) {
    .banner {
        padding: 20px;
    }

    .banner h2 {
        font-size: 1.5rem;
    }

    .whatsapp-button {
        font-size: 1.7rem;
        padding: 15px 25px;
    }
}

.elegant-footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.footer-text {
    margin: 0;
    font-size: 1.3rem;
}

.footer-links {
    margin-top: 10px;
}

.footer-link {
    color: #3498db;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-link:hover {
    color: #f39c12;
    transform: translateY(-3px);
}

@keyframes elegant-glow {
    0% {
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    }

    50% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
    }

    100% {
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    }
}

@media (max-width: 600px) {
    .footer-text {
        font-size: 1.1rem;
    }

    .footer-link {
        display: block;
        margin: 5px 0;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.seccion-servicios-ondara {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f5f5f5;
    padding: 20px;
    text-align: center;
    height: 69vh;
    color: #333;
}

.contenido h2 {
    font-size: 1.8rem;
    font-weight: bold;
    color: #004d40;
    margin-bottom: 10px;
    animation: fadeInUp 2s ease-out forwards;
}

.contenido p {
    font-size: 1.2rem;
    color: #555;
    animation: fadeInUp 2s ease-out forwards;
    animation-delay: 1s;
}

.imagen-animada img {
    max-width: 80%;
    height: auto;
    animation: slideIn 2s ease-out forwards;
    animation-delay: 1s;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateX(-100%);
    }
    
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (min-width: 768px) {
    .seccion-servicios-ondara {
        flex-direction: row;
        justify-content: space-around;
        text-align: left;
    }

    .contenido h2 {
        font-size: 1.8rem;
    }

    .contenido p {
        font-size: 1.4rem;
    }

    .imagen-animada img {
        max-width: 70%;
    }
}