
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');


body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Hero Section */
#hero {
    position: relative;
    height: 35vh; /* Ocupa1el 90% de la pantalla para mostrar parte de la siguiente sección */
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    background-color: #1c1c1c;
}

/* Fondo animado con formas */
#hero .animated-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

/* Forma irregular animada */
.shape-1 {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #f4bfb6, #f5d6c6, #e2d1c3);
    border-radius: 50%;
    animation: moveShape 10s infinite ease-in-out;
}

.shape-2 {
    position: absolute;
    bottom: -15%;
    right: -15%;
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, #bfb5f4, #d1c2f5, #d3c3e2);
    border-radius: 50%;
    animation: moveShape 12s infinite ease-in-out;
}

/* Media query para pantallas más pequeñas (responsive) */
@media (max-width: 768px) {
    .shape-1 {
        width: 200px;
        height: 200px; /* Reducimos el tamaño de los círculos */
        top: -5%;
        left: -5%;
    }

    .shape-2 {
        width: 300px;
        height: 300px; /* También reducimos el segundo círculo */
        bottom: -10%;
        right: -10%;
    }
}

/* Animación suave de las formas */
@keyframes moveShape {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(30px, -30px);
    }
}


/* Estilos del texto */
#hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    color: #ffffff;
    margin: 0;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7); /* Sombra para contraste */
}

#hero p {
    font-size: 2.5rem; /* Frase más vistosa */
    font-weight: bold;
    color: #f4e3b6; /* Dorado suave */
    margin: 20px 0;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

/* Nombre del closer */
/* Nombre del closer - actualización de estilo */
#hero small.closer-name {
    font-family: 'Poppins', sans-serif; /* Fuente más moderna y elegante */
    font-size: 1.5rem; /* Un poco más grande */
    color: #e5c17c; /* Un tono dorado suave para hacerlo destacar */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5); /* Sombra sutil para mayor legibilidad */
}

/* Botón CTA */
.btn-primary {
    background-color: #e5c17c !important;
    border-color: #e5c17c !important;
    color: #333 !important;
    font-weight: bold;
}

.btn-primary:hover {
    background-color: #d4b571 !important;
    border-color: #d4b571 !important;
}

/* Estilo de la imagen con borde */
/* Estilo de la imagen con un cuadrado de fondo */
.img-container {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.img-container img {
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); /* Sombra para dar profundidad */
}

/* Cuadrado de fondo detrás de la imagen */
.img-container::before {
    content: '';
    position: absolute;
    top: 20px;  /* Ajusta la posición hacia abajo */
    left: 20px; /* Ajusta el desplazamiento hacia la izquierda */
    width: 100%;
    height: 100%;
    background-color: #e5c17c; /* Color dorado suave */
    z-index: -1; /* Colocar detrás de la imagen */
    transition: transform 0.5s ease;
}

.img-container:hover::before {
    transform: translateX(-10px) translateY(-10px); /* Efecto de movimiento al hacer hover */
}

/* Título "Sobre Mí" */
.about-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
    position: relative;
}

.about-title::after {
    content: '';
    width: 80px;
    height: 4px;
    background-color: #e5c17c;
    display: block;
    margin-top: 8px;
}

/* Estilización del texto */
.about-text {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.8;
    text-align: justify;
    transition: color 0.3s ease, transform 0.3s ease;
    animation: slideUp 1.5s ease both;
}

.about-text:hover {
    color: #333;
    transform: translateY(-5px);
}

/* Animación de deslizamiento hacia arriba */
@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Servicios: Estilización general */
#services {
    background-color: #f8f9fa; /* Fondo claro */
    padding: 60px 0;
}

/* Servicios: Estilización general */
#services {
    background-color: #f8f9fa;
    padding: 60px 0;
}

/* Título de la sección */
#services h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 50px;
    position: relative;
}

#services h2::after {
    content: '';
    width: 80px;
    height: 4px;
    background-color: #e5c17c;
    display: block;
    margin: 20px auto 0;
}

/* Estilo de las cards */
.service-card {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Estilo del ícono en la card */
.icon-box {
    position: absolute;
    top: -30px;
    left: 20px;
    background-color: #e5c17c;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: #fff;
    transition: transform 0.3s ease;
}

/* Animación del icono al hacer hover */
.service-card:hover .icon-box {
    transform: rotate(15deg) scale(1.1); /* Rotación y escala suave */
}

/* Títulos de los servicios dentro de la card */
.service-card h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    color: #333;
    margin-top: 40px;
    margin-bottom: 15px;
}

/* Texto descriptivo dentro de la card */
.service-card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* Media queries para hacer el diseño responsivo */
@media (max-width: 768px) {
    .service-card {
        padding: 20px;
    }

    .icon-box {
        width: 50px;
        height: 50px;
        font-size: 20px;
        top: -25px;
    }

    .service-card h4 {
        font-size: 1.4rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }
}
@media (max-width: 576px) {
    #services .row {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .service-card {
        width: 100%; /* Asegura que cada tarjeta ocupe el ancho completo */
        margin-bottom: 20px;
    }

    .service-card p {
        font-size: 1rem;
        text-align: justify;
    }
}


/* Estilos generales de la sección */
#methodology {
    padding: 60px 0;
}

/* Título de la sección */
#methodology h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 50px;
    position: relative;
}

#methodology h2::after {
    content: '';
    width: 80px;
    height: 4px;
    background-color: #e5c17c;
    display: block;
    margin: 20px auto 0;
}

/* Estilo del texto */
.methodology-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    text-align: justify;
    transition: color 0.3s ease;
}

/* Imagen con fondo detrás */
.img-container-methodology {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.img-container-methodology img {
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); /* Sombra */
}

/* Cuadro detrás de la imagen */
.img-container-methodology::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    background-color: #e5c17c; /* Fondo dorado */
    z-index: -1;
    border-radius: 12px;
}

/* Media queries para pantallas pequeñas */
@media (max-width: 768px) {
    #methodology h2 {
        font-size: 2rem;
    }

    .methodology-text {
        font-size: 1rem;
    }
}

/* Estilo del título de la sección "Programa una Cita" */
#calendar h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 50px;
    position: relative;
    text-align: center;
}

#calendar h2::after {
    content: '';
    width: 80px;
    height: 4px;
    background-color: #e5c17c; /* Línea dorada */
    display: block;
    margin: 20px auto 0;
}

/* Estilo del ícono de ayuda flotante */
#floating-help-icon {
    position: absolute;
    bottom: 10%;
    right: 5%;
    font-size: 3rem;
    color: #e5c17c; /* Color dorado */
    animation: float 4s ease-in-out infinite;
    opacity: 0.8; /* Un poco transparente */
    cursor: pointer; /* Para hacerlo interactivo */
    z-index: 10; /* Asegurarse de que esté encima */
}

#floating-help-icon:hover {
    opacity: 1;
    transform: scale(1.1); /* Efecto hover para hacer zoom */
}

/* Animación flotante */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Asegurar que el ícono aparezca en pantallas pequeñas */
@media (max-width: 768px) {
    #floating-help-icon {
        font-size: 2.5rem;
        right: 2%;
    }
}

/* Estilos generales de la sección */
#value-formula {
    background: linear-gradient(135deg, #f9f9f9, #e6e6e6); /* Fondo claro */
    color: #333;
    overflow: hidden;
    position: relative;
}

#value-formula::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-position: 0 0, 50px 50px;
    background-size: 100px 100px;
    animation: backgroundMove 30s linear infinite;
    opacity: 0.2;
}

@keyframes backgroundMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(-50px, -50px);
    }
}

#value-formula h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

#value-formula h2::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: #e5c17c;
    margin: 20px auto 0;
}

/* Estilo de la fórmula */
.formula-container {
    perspective: 1000px;
    margin-bottom: 3rem;
}

.formula {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    font-size: 1.8rem;
    font-family: 'Georgia', serif; /* Fuente más elegante */
}

.formula-item, .formula-operator, .formula-result {
    margin: 0 10px;
    padding: 10px 20px;
    background: rgba(229, 193, 124, 0.1);
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.formula-operator {
    font-size: 2rem; /* Operadores más grandes y destacados */
    font-family: 'Times New Roman', serif;
}

.formula-item:hover, .formula-result:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.formula-result {
    background: #e5c17c;
    color: #1c1c1c;
    font-weight: bold;
    padding: 10px 30px;
}

/* Estilo del párrafo */
.value-paragraph {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    color: #333;
    line-height: 1.8;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.value-paragraph:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Responsividad */
@media (max-width: 768px) {
    .formula {
        font-size: 1rem;
    }

    .value-paragraph {
        font-size: 1rem;
    }
}
/* Estilo del título atractivo */
.attractive-title {
    font-family: 'Poppins', sans-serif;  /* Fuente moderna */
    font-size: 3rem;  /* Tamaño grande para impactar */
    font-weight: bold;
    color: #333;  /* Color base oscuro */
    text-transform: uppercase;
    letter-spacing: 2px;  /* Espaciado de letras para dar elegancia */
    position: relative;
    text-align: center;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;  /* Animación de entrada */
}

/* Destacar la palabra "Comercial" */
.attractive-title .highlight {
    color: #e5c17c;  /* Color dorado */
    font-size: 3.5rem;  /* Tamaño un poco mayor para dar énfasis */
    display: inline-block;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);  /* Sombra suave */
    animation: pulse 2s infinite;  /* Animación suave de brillo */
}

/* Animación de entrada suave */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animación de pulso suave para la palabra destacada */
@keyframes pulse {
    0% {
        transform: scale(1);
        text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }
    50% {
        transform: scale(1.05);  /* Crece ligeramente */
        text-shadow: 0 10px 20px rgba(229, 193, 124, 0.5);  /* Aumenta el brillo */
    }
    100% {
        transform: scale(1);
        text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }
}
.about-text {
    margin-bottom: 15px; /* Añade espacio entre párrafos */
    font-size: 1.1rem; /* Tamaño de fuente ajustado */
    line-height: 1.7;  /* Mejor interlineado para facilitar la lectura */
    color: #555;  /* Color del texto para buen contraste */
}
