.text-white{
    color: #fff !important;
}
.text-black{
    color: #000 !important;
}
.font-title{
    font-size: 3rem !important;
}
.font-subtitle{
    font-size: 1.5rem !important;
}
.font-texto{
    font-size: 1.5rem !important;
}
.instagram-btn {
    position: fixed;
    bottom: 90px;
    left: 20px;
    padding: 10px 15px;
    text-align: center;
    border-radius: 50%;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    opacity: 1;
    z-index: 9900;
    background: #ffffffb2;
    font-size: 60px;
}

.whats-btn {
    font-size: 19px;
    font-weight: 500;
    position: fixed;
    bottom: 180px;
    left: 20px;
    background: #05cd51;
    color: #fff;
    padding: 10px 15px;
    text-align: center;
    border-radius: 50%;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    opacity: 1;
    z-index: 9900;
}
@media (max-width: 1399px) {
    .intro-wrapper.style2 {
        padding: 170px 0 150px !important;
    }
    .font-title{
        font-size: 2rem !important;
    }
    .font-subtitle{
        font-size: 1.2rem !important;
    }
    .font-texto{
        font-size: 1.18rem !important;
    }
    .intro-content{
        display: none !important;
    }
    #header-sticky{
        background-size: cover !important;
    }
}
.testimonio-web{
    display: block ;
}
.testimonio-movil{
    display: none ;
}
#headertestimonialsmobile{
    display: none ;
}
@media (max-width: 575px) {
    .section-padding {
        padding: 0px 0 !important;
    }
    .advantage-section{
        margin-top: -50px !important;
    }
    #modalImage{
        display: none !important;
    }
    .instagram-btn {
        padding: 8px 10px;
        font-size: 35px;
    }
    .whats-btn {
        font-size: 12px;
        padding: 5px 10px;
        bottom: 155px;
    }
    .testimonio-web{
        display: none !important;
    }
    .testimonio-movil{
        display: block !important;
    }
    .blog-card.style1 {
        margin-right: 0% !important;
        margin-left: 0% !important;
    }
    .header-section-2 {
        background-size: cover !important;
    }
    #headertestimonials{
        display: none !important;
    }
    #headertestimonialsmobile{
        display: block !important ;
    }
    #headeraboutus{
        display: none !important;
    }
}
@media (max-width: 991px) {
    .section-padding {
        padding: 0px 0 !important;
    }
    .advantage-section{
        margin-top: -50px !important;
    }
    #modalImage{
        display: none !important;
    }
    .instagram-btn {
        padding: 8px 10px;
        font-size: 35px;
    }
    .whats-btn {
        font-size: 12px;
        padding: 5px 10px;
        bottom: 155px;
    }
}
@media (max-width: 1199px) {
    .section-padding {
        padding: 0px 0 !important;
    }
    .advantage-section{
        margin-top: -50px !important;
    }
    #modalImage{
        display: none !important;
    }
    .instagram-btn {
        padding: 8px 10px;
        font-size: 35px;
    }
    .whats-btn {
        font-size: 12px;
        padding: 5px 10px;
        bottom: 90px;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 40px;
}

h1 {
    color: #2c3e50;
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.subtitle {
    color: #7f8c8d;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
}

.instructions {
    background-color: #e8f4fc;
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 30px;
    border-left: 4px solid #3498db;
}

.instructions h3 {
    color: #2980b9;
    margin-bottom: 8px;
}

/*.blog-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}*/

.blog-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.blog-card:hover::after {
    /*    content: 'Haz clic o mantén el cursor para más detalles';*/
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 0.8rem;
    color: #3498db;
    font-weight: 500;
}

.card-image {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.card-content {
    padding: 25px;
}

.card-category {
    display: inline-block;
    background-color: #e74c3c;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.card-category.tech {
    background-color: #3498db;
}

.card-category.design {
    background-color: #9b59b6;
}

.card-category.lifestyle {
    background-color: #2ecc71;
}

.card-title {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.4;
}

.card-excerpt {
    color: #7f8c8d;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #95a5a6;
    border-top: 1px solid #ecf0f1;
    padding-top: 15px;
}

.card-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.author-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background-color: white;
    border-radius: 16px;
    max-width: 800px;
    width: 90%;
    max-height: 70vh;
    /*    overflow-y: auto;*/
    position: relative;
    transform: translateY(30px);
    transition: transform 0.4s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-overlay.active .modal {
    transform: translateY(0);
    display:block;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #e74c3c;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.2s;
}

.modal-close:hover {
    background-color: #c0392b;
}

.modal-header {
    padding: 30px 30px 20px;
    border-bottom: 1px solid #ecf0f1;
}

.modal-category {
    display: inline-block;
    background-color: #e74c3c;
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.modal-title {
    font-size: 2rem;
    color: #2c3e50;
    line-height: 1.3;
    margin-bottom: 10px;
}

.modal-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.modal-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-content {
    padding: 30px;
}

.modal-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 25px;
}

.modal-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #444;
}

.modal-text p {
    margin-bottom: 20px;
}

/* Footer */
footer {
    text-align: center;
    /*    margin-top: 50px;
        padding-top: 20px;
        border-top: 1px solid #ddd;*/
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    /*    .blog-cards-container {
            grid-template-columns: 1fr;
        }*/

    .modal {
        width: 95%;
        max-height: 60vh;
    }

    .modal-title {
        font-size: 1.6rem;
    }

    h1 {
        font-size: 2.2rem;
    }
}
.phone:hover{
    color: #fff;
}