/* 
* Unitech Fusion - Main Stylesheet
* Primary Color: #1e51db
*/

:root {
    --primary-color: #347cf1;
    --secondary-color: #3361cd;
    --accent-color: #4d7cfe;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --gray-color: #6c757d;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
}

/* General Styles */
body {
    font-family: var(--font-secondary);
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

/* Prevenir scroll horizontal en dispositivos móviles */
.container, .container-fluid, .row {
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}

/* Asegurar que las imágenes sean responsivas */
img {
    max-width: 100%;
    height: auto;
}

/* Ajustar tablas para dispositivos móviles */
table {
    max-width: 100%;
    display: block;
    overflow-x: auto;
}

/* SOLUCIÓN FINAL PARA EL BOTÓN DEL MENÚ MÓVIL */
.navbar-toggler {
    background-color: #FFFFFF !important;
    padding: 10px 15px !important;
    margin: 5px !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2) !important;
    z-index: 9999 !important;
    position: relative !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    opacity: 1 !important;
    width: 30px !important;
    height: 30px !important;
    display: inline-block !important;
}

/* Asegurar que el menú desplegable tenga texto negro sobre fondo blanco */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: rgba(255, 255, 255, 0.98) !important;
        padding: 15px !important;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2) !important;
        margin-top: 10px !important;
        z-index: 9998 !important;
    }
    
    .navbar-nav .nav-link {
        color: #000000 !important;
        padding: 12px 15px !important;
        font-weight: 600 !important;
    }
    
    /* Estilos específicos para el botón del menú en móviles */
    .site-header .navbar-toggler,
    .navbar-dark .navbar-toggler,
    .navbar-light .navbar-toggler {
        background-color: #FFFFFF !important;
    }
    
    .site-header .navbar-toggler-icon,
    .navbar-dark .navbar-toggler-icon,
    .navbar-light .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--dark-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

.btn {
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

.section-padding {
    padding: 100px 0;
    padding-top: 40px;
}

.section-title {
    margin-bottom: 60px;
    text-align: center;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-title p {
    font-size: 1.1rem;
    color: var(--gray-color);
}

/* Header Styles */
.site-header {
    padding: 8px 0; /* Reducido de 15px */
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    height: 50px;
}

.navbar-nav .nav-link {
    font-family: var(--font-secondary);
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-color);
    padding: 0.5rem 1rem;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

/* Hero Section */
/* Hero Section - Reducción de altura */
.hero-section {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding-top: 25px; /* Reducido de 40px */
    padding: 50px 0 0; /* Reducido de 80px */
    background: linear-gradient(135deg, var(--primary-color), #2159e2);
}

.hero-content {
    padding-bottom: 25px; /* Reducido de 40px */
}

.hero-content h1 {
    font-size: 2.5rem; /* Reducido de 3rem */
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px; /* Reducido de 20px */
}

.hero-content p {
    font-size: 1.2rem; /* Reducido de 1.3rem */
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px; /* Reducido de 30px */
}

.hero-image {
    display: flex;
    align-items: flex-end;
    height: 65%; /* Reducido de 80% */
    justify-content: center;
    margin-top: 15px; /* Reducido de 20px */
}

.hero-image img {
    max-width: 80%;
    max-height: 80%; /* Reducción proporcional */
    margin-bottom: 0;
}

/* Hero Section Adjustments */
.hero-section {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding-top: 32px; /* Reduced by 20% from 40px */
    padding: 64px 0 0; /* Reduced by 20% from 80px */
}

.hero-content {
    padding-bottom: 32px; /* Reduced by 20% from 40px */
}

/* Additional height reduction for responsive views */
@media (max-width: 991px) {
    .hero-content {
        text-align: center;
        padding-bottom: 24px; /* Reduced by 20% from 30px */
    }
    
    .hero-image {
        margin-top: 16px; /* Reduced by 20% from 20px */
    }
}

.service-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    max-width: 100%;
    height: auto;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--gray-color);
    margin-bottom: 20px;
}

/* Why Choose Us Section */
.why-choose-section {
    padding: 100px 0;
}

.feature-card {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background-color: var(--light-color);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    max-width: 100%;
    height: auto;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--gray-color);
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background-color: var(--light-color);
}

.testimonial-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
}

.testimonial-text:before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: -15px;
}

.client-info {
    display: flex;
    align-items: center;
}

.client-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.client-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-details h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.client-details p {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin: 0;
}

/* CTA Section */
.cta-section {
    padding: 0 0 40px 0; /* Eliminamos el padding superior */
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.project-cta {
    padding-top: 0;
    margin-top: 0;
}

.project-cta h3 {
    margin-top: 0;
}

/* Blog Section */
.blog-section {
    padding: 100px 0;
}

.blog-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    max-width: 100%;
    height: auto;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--gray-color);
    margin-bottom: 20px;
}

/* Why Choose Us Section */
.why-choose-section {
    padding: 100px 0;
}

.feature-card {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background-color: var(--light-color);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    max-width: 100%;
    height: auto;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--gray-color);
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background-color: var(--light-color);
}

.testimonial-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
}

.testimonial-text:before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: -15px;
}

.client-info {
    display: flex;
    align-items: center;
}

.client-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.client-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-details h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.client-details p {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin: 0;
}

/* CTA Section */
.cta-section {
    background-color: var(--primary-color);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Blog Section */
.blog-section {
    padding: 100px 0;
}

.blog-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 20px;
}

.blog-category {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    font-size: 0.8rem;
    padding: 5px 10px;
    border-radius: 3px;
    margin-bottom: 10px;
}

.blog-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.blog-card p {
    color: var(--gray-color);
    margin-bottom: 15px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--gray-color);
}

/* Footer Styles */
.site-footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 80px 0 0;
}

.footer-widget {
    margin-bottom: 40px;
}

.footer-widget h4 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h4:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
}

.footer-widget p {
    margin-bottom: 20px;
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: white;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    padding-left: 5px;
    color: var(--accent-color);
}

.newsletter-form .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    padding: 12px 15px;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form .btn {
    padding: 12px 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    margin-top: 40px;
}

.footer-bottom p {
    margin: 0;
    opacity: 0.7;
}

.footer-bottom-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.footer-bottom-links a {
    color: white;
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-bottom-links a:hover {
    opacity: 1;
}

/* Página de Contacto */
.contact-section {
    padding: 100px 0;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin-right: 15px;
}

.contact-details h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.contact-details p {
    color: var(--gray-color);
    margin: 0;
}

.contact-form .form-control {
    padding: 12px 15px;
    border: 1px solid #e1e1e1;
    border-radius: 5px;
    margin-bottom: 20px;
}

.contact-form textarea.form-control {
    height: 150px;
}

/* Página de Blog */
.blog-header {
    background-color: var(--primary-color);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.blog-header h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.blog-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.blog-filters {
    background-color: white;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.blog-filters .form-select {
    border: 1px solid #e1e1e1;
    padding: 10px 15px;
}

.blog-search .form-control {
    border: 1px solid #e1e1e1;
    padding: 10px 15px;
}

/* Página de Artículo de Blog */
.blog-post-header {
    background-color: var(--primary-color);
    color: white;
    padding: 100px 0;
}

.blog-post-header h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.blog-post-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.blog-post-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 0.9;
}

.blog-post-content {
    padding: 80px 0;
}

.blog-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 30px 0;
}

.blog-post-content h2, 
.blog-post-content h3 {
    margin-top: 40px;
    margin-bottom: 20px;
}

.blog-post-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.blog-post-content ul, 
.blog-post-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.blog-post-content li {
    margin-bottom: 10px;
}

.blog-post-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    background-color: var(--light-color);
    margin: 30px 0;
    font-style: italic;
}

.blog-author {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 50px 0;
}

.blog-author-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
}

.blog-author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-author-info h4 {
    margin-bottom: 10px;
}

.blog-author-info p {
    color: var(--gray-color);
    margin-bottom: 0;
}

/* Página de Nosotros */
.about-header {
    background-color: var(--primary-color);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.about-header h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.about-story {
    padding: 100px 0;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
}

.team-section {
    padding: 100px 0;
    background-color: var(--light-color);
}

.team-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.team-image {
    height: 300px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-content {
    padding: 20px;
    text-align: center;
}

.team-content h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.team-content p {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.team-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: var(--light-color);
    border-radius: 50%;
    color: var(--gray-color);
    transition: all 0.3s ease;
}

.team-social a:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Página de Servicios */
.service-detail-section {
    padding: 100px 0;
}

.service-detail-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.service-detail-image img {
    width: 100%;
    height: auto;
}

.service-features {
    margin-top: 50px;
}

.service-feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.service-feature-icon {
    width: 50px;
    height: 50px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.service-feature-content h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* Página de Admin */
.admin-login {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: var(--light-color);
}

.login-form {
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

.login-form h2 {
    text-align: center;
    margin-bottom: 30px;
}

.login-form .form-control {
    padding: 12px 15px;
    border: 1px solid #e1e1e1;
    border-radius: 5px;
    margin-bottom: 20px;
}

.admin-header {
    background-color: var(--secondary-color);
    color: white;
    padding: 15px 0;
}

.admin-logo {
    height: 40px;
}

.admin-nav .nav-link {
    color: white;
    opacity: 0.8;
}

.admin-nav .nav-link:hover,
.admin-nav .nav-link.active {
    opacity: 1;
}

.admin-content {
    padding: 50px 0;
}

.admin-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.admin-card h2 {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e1e1e1;
}

.admin-table th {
    font-weight: 600;
}

.admin-form .form-control,
.admin-form .form-select {
    padding: 12px 15px;
    border: 1px solid #e1e1e1;
    border-radius: 5px;
    margin-bottom: 20px;
}

.admin-form textarea.form-control {
    height: 200px;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .hero-content {
        text-align: center;
        margin-bottom: 40px;
    }
    
    .hero-content h1 {
        font-size: 3rem;
        font-weight: 700;
        margin-bottom: 20px;
        color: white; /* Aseguramos que el título sea blanco */
    }
    
    .section-padding {
        padding: 70px 0;
    }
    
    .footer-bottom-links {
        justify-content: center;
        margin-top: 15px;
    }
    
    .footer-bottom p {
        text-align: center;
    }
}

@media (max-width: 767px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .section-padding {
        padding: 50px 0;
    }
    
    .blog-author {
        flex-direction: column;
        text-align: center;
    }
    
    .blog-author-image {
        margin: 0 auto 20px;
    }
}

/* Animaciones y efectos */
.fade-in {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estilos para el modal de descarga */
.modal-content {
    border: none;
    border-radius: 10px;
}

.modal-header {
    background-color: var(--primary-color);
    color: white;
    border-radius: 10px 10px 0 0;
}

.modal-title {
    color: white;
}

.btn-close {
    color: white;
    opacity: 0.8;
}

.download-form .form-control {
    padding: 12px 15px;
    border: 1px solid #e1e1e1;
    border-radius: 5px;
    margin-bottom: 20px;
}

/* Variables globales */
:root {
    --primary-color: #1e51db;
    --secondary-color: #4d7cfe;
    --accent-color: #ff6b6b;
    --dark-color: #111827;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --text-color: #333;
    --border-radius: 8px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Estilos generales */
body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.section-padding {
    padding: 50px 0; /* Reducido a la mitad */
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-color);
    margin-bottom: 3rem;
}

.bg-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.text-primary {
    color: var(--primary-color) !important;
}

/* Header y Navegación */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0;
    transition: var(--transition);
}

.site-header.scrolled {
    background-color: #fff;
    box-shadow: var(--box-shadow);
}

.navbar-brand img {
    max-height: 50px; /* Aumentado para que el logo sea más grande */
    width: auto;
}

.navbar-nav .nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

/* Botones */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(30, 81, 219, 0.3);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(30, 81, 219, 0.3);
}

.btn-light {
    background-color: white;
    color: var(--primary-color);
}

.btn-light:hover {
    background-color: #f8f9fa;
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* Page Header */
.page-header {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    margin-bottom: 0;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item.active {
    color: white;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* About Page Styles */
.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.experience-badge {
    position: absolute;
    bottom: -25px;
    right: 30px;
    background-color: var(--primary-color);
    color: white;
    padding: 15px 25px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
}

.experience-badge .years {
    font-size: 2rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
}

.mission-card, .vision-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.mission-card:hover, .vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.value-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.value-icon {
    width: 70px;
    height: 70px;
    line-height: 70px;
    font-size: 1.8rem;
    background-color: rgba(30, 81, 219, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.value-card:hover .value-icon {
    background-color: var(--primary-color);
    color: white;
}

.team-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.team-image {
    position: relative;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    transition: transform 0.5s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-content {
    padding: 20px;
    text-align: center;
}

.team-content h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.team-content p {
    color: var(--gray-color);
    margin-bottom: 15px;
}

.team-social a {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background-color: rgba(30, 81, 219, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    margin: 0 5px;
    transition: var(--transition);
}

.team-social a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.certification-item {
    background-color: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.certification-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.certification-item img {
    max-height: 80px;
    max-width: 100%;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

.stat-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

.client-item {
    background-color: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.client-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.client-item img {
    max-height: 60px;
    max-width: 100%;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.client-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.testimonial-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    margin-bottom: 20px;
    position: relative;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-color);
}

.testimonial-content::before {
    content: '\201C';
    font-size: 4rem;
    position: absolute;
    top: -20px;
    left: -10px;
    color: rgba(30, 81, 219, 0.1);
    font-family: Georgia, serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.testimonial-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0;
}

.testimonial-info p {
    color: var(--gray-color);
    margin-bottom: 0;
    font-size: 0.9rem;
}

.cta-section {
    padding: 40px 0;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 80px 0 0;
}

.footer-logo {
    max-width: 180px;
    margin-bottom: 20px;
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.footer-contact-info i {
    color: var(--accent-color);
    margin-right: 10px;
    margin-top: 5px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    margin-top: 60px;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .section-padding {
        padding: 70px 0;
    }
    
    .page-header {
        padding: 120px 0 60px;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .section-padding {
        padding: 50px 0;
    }
    
    .page-header {
        padding: 100px 0 40px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .experience-badge {
        right: 50%;
        transform: translateX(50%);
    }
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 1s ease-out;
}

/* Estilos para proyectos */
.project-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 8px 20px;
    background-color: white;
    border: 1px solid #e1e1e1;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.project-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.project-image {
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 81, 219, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-link {
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background-color: white;
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 1.2rem;
    transform: scale(0);
    transition: var(--transition);
}

.project-card:hover .project-link {
    transform: scale(1);
}

.project-content {
    padding: 25px;
}

.project-category {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.project-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.project-content p {
    color: var(--gray-color);
    margin-bottom: 0;
}

.project-modal .modal-content {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.project-meta {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e1e1e1;
}

.project-meta div {
    margin-bottom: 5px;
}

/* Continuación de los estilos del footer */
.social-links {
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    margin-right: 10px;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

.footer-newsletter {
    margin-top: 20px;
}

.footer-newsletter p {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form {
    position: relative;
}

.newsletter-form input {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: var(--border-radius);
    color: white;
}

.newsletter-form input:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.15);
}

.newsletter-form button {
    position: absolute;
    right: 5px;
    top: 5px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    padding: 7px 15px;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: var(--secondary-color);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    margin-top: 60px;
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a {
    color: var(--accent-color);
}

.footer-bottom a:hover {
    color: white;
}

/* Estilos para la página de servicios */
.service-detail-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 150px 0 80px;
    color: white;
}

.service-detail-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-detail-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.service-detail-section {
    padding: 100px 0;
}

.service-detail-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all 0.5s ease;
}

.service-detail-image:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-detail-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.service-detail-content p {
    margin-bottom: 20px;
    color: var(--gray-color);
}

.service-features {
    margin-top: 40px;
}

.service-feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.service-feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background-color: rgba(30, 81, 219, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 20px;
}

.service-feature-text h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.service-feature-text p {
    color: var(--gray-color);
    margin-bottom: 0;
}

.service-cta {
    background-color: #f8f9fa;
    border-radius: var(--border-radius);
    padding: 40px;
    margin-top: 50px;
    text-align: center;
}

.service-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.service-cta p {
    margin-bottom: 30px;
    color: var(--gray-color);
}

/* Estilos para la página de contacto */
.contact-info-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    text-align: center;
}

.contact-info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.contact-info-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(30, 81, 219, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.contact-info-card:hover .contact-info-icon {
    background-color: var(--primary-color);
    color: white;
}

.contact-info-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.contact-info-card p {
    color: var(--gray-color);
    margin-bottom: 0;
}

.contact-form {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--box-shadow);
}

.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    height: auto;
    padding: 12px 15px;
    border: 1px solid #e1e1e1;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(30, 81, 219, 0.25);
}

textarea.form-control {
    min-height: 150px;
}

.map-container {
    height: 450px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

/* Estilos para la página de blog */
.blog-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-image {
    position: relative;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
}

.blog-content {
    padding: 25px;
}

.blog-date {
    font-size: 0.85rem;
    color: var(--gray-color);
    margin-bottom: 10px;
    display: block;
}

.blog-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.blog-content p {
    color: var(--gray-color);
    margin-bottom: 20px;
}

.blog-author {
    display: flex;
    align-items: center;
}

.blog-author-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.blog-author-name {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Estilos para la página de precios */
.pricing-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    text-align: center;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card.popular {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    z-index: 1;
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--accent-color);
    color: white;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-header {
    padding: 30px;
    border-bottom: 1px solid #e1e1e1;
}

.pricing-name {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.pricing-duration {
    font-size: 0.9rem;
    color: var(--gray-color);
}

.pricing-features {
    padding: 30px;
    list-style: none;
    margin: 0;
}

.pricing-features li {
    margin-bottom: 15px;
    color: var(--gray-color);
}

.pricing-features li i {
    color: var(--primary-color);
    margin-right: 10px;
}

.pricing-footer {
    padding: 0 30px 30px;
}

/* Estilos para la sección de proceso */
.process-step {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.process-icon {
    position: relative;
    width: 80px;
    height: 80px;
    background-color: rgba(30, 81, 219, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.process-step:hover .process-icon {
    background-color: var(--primary-color);
    color: white;
}

.process-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    background-color: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
}

.process-step h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.process-step p {
    color: var(--gray-color);
    margin-bottom: 0;
}

/* Estilos para la sección de partners */
.partner-item {
    background-color: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.partner-item img {
    max-height: 60px;
    max-width: 100%;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.partner-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Estilos para la sección de FAQ */
.accordion-item {
    margin-bottom: 15px;
    border: none;
    border-radius: var(--border-radius) !important;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.accordion-button {
    padding: 20px;
    font-weight: 600;
    color: var(--text-color);
    background-color: white;
    border: none;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: white;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(30, 81, 219, 0.1);
}

.accordion-button::after {
    background-size: 16px;
    transition: var(--transition);
}

.accordion-body {
    padding: 0 20px 20px;
}

.accordion-body p {
    color: var(--gray-color);
    margin-bottom: 0;
}

/* Estilos para las tarjetas de servicio */
.service-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(30, 81, 219, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
    color: white;
}

.service-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.service-content p {
    color: var(--gray-color);
    margin-bottom: 20px;
}

/* Hero Section Adjustments */
.hero-section {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding-top: 40px;
    padding: 80px 0 0; /* Reducimos el padding para disminuir la altura */
}

.hero-content {
    padding-bottom: 40px; /* Ajustamos el padding inferior */
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.3rem; /* Aumentamos el tamaño de la fuente del subtítulo */
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.hero-image {
    display: flex;
    align-items: flex-end; /* Alineamos la imagen con la parte inferior */
    height: 80%;
    justify-content: center;
    margin-top: 20px;
}

.hero-image img {
    max-width: 100%;
    margin-bottom: 0; /* Aseguramos que no haya margen inferior */
}

/* Eliminamos la curva inferior del banner */
.hero-section::after {
    display: none; /* Eliminamos la franja azul debajo del banner */
}

@media (max-width: 991px) {
    .hero-content {
        text-align: center;
        padding-bottom: 30px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-image {
        justify-content: center;
        margin-top: 20px;
    }
}

@media (max-width: 767px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        color: rgba(255, 255, 255, 0.9);
    }
}

/* Asegurar que los botones flotantes sean visibles */
.floating-buttons-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.floating-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.floating-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.floating-button i {
    font-size: 24px;
}

.chat-button {
    background: linear-gradient(135deg, var(--primary-color), #2541b8);
    color: white;
}

.chat-button:hover {
    background: linear-gradient(135deg, #5a77ff, #2f4cce);
}

.whatsapp-button {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
}

.whatsapp-button:hover {
    background: linear-gradient(135deg, #2edc77, #159c8a);
}

/* Estilos para la ventana de chat */
.chat-window {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    height: 450px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.chat-window.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.chat-header {
    background: linear-gradient(135deg, var(--primary-color), #2541b8);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.chat-header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.chat-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
}

/* Estilos para los mensajes del chat */
.chat-body {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background-color: #f8f9fa;
}

.chat-message {
    display: flex;
    margin-bottom: 15px;
    max-width: 80%;
}

.bot-message {
    align-self: flex-start;
}

.user-message {
    align-self: flex-end;
    justify-content: flex-end;
    margin-left: auto;
}

.message-avatar {
    width: 36px;
    height: 36px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.message-content {
    background-color: white;
    padding: 10px 15px;
    border-radius: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.bot-message .message-content {
    background-color: white;
    border-top-left-radius: 5px;
}

.user-message .message-content {
    background-color: var(--primary-color);
    color: white;
    border-top-right-radius: 5px;
}

.faq-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.faq-option {
    background-color: #f0f2f5;
    border-radius: 15px;
    padding: 6px 12px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.faq-option:hover {
    background-color: #e4e6eb;
}

.chat-input-container {
    display: flex;
    gap: 10px;
}

.chat-input {
    flex: 1;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 10px 15px;
    outline: none;
}

.chat-send {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.chat-send:hover {
    background-color: #2541b8;
}

.hero-shape {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%; /* Reducido a la mitad de su altura original */
    overflow: hidden;
    line-height: 0;
}

.hero-shape {
    display: none;
}

.hero-title {
    color: white;
    font-size: 3.5rem; /* Puedes ajustar este valor */
}

.hero-subtitle {
    color: black;
    font-size: 1.3rem; /* Aumenta este valor si lo quieres aún más grande */
    font-weight: 400;  /* Opcional: puedes usar 500 o 600 para hacerlo más grueso */
    line-height: 1.6;  /* Opcional: mejora la legibilidad si el texto es largo */
}

.alert.fade {
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.footer-newsletter-form {
    margin-top: 15px;
}

.cta-project-section {
    padding-top: 40px !important;  /* Reducido a la mitad del padding original */
    padding-bottom: 40px !important;
}

.cta-project-section h2 {
    margin-bottom: 20px;  /* Espacio reducido debajo del título */
}

/* Cambiar color del ícono del menú hamburguesa */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Cambiar color del texto en el menú desplegable para móviles */
@media (max-width: 991.98px) {
    .navbar-nav .nav-link {
        color: #000 !important;
    }
    
    .navbar-collapse {
        background-color: rgba(255, 255, 255, 0.95);
        padding: 15px;
        border-radius: 8px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    
    /* Asegurar que el botón del menú sea visible */
    .navbar-toggler {
        border: 1px solid rgba(0, 0, 0, 0.3);
        background-color: rgba(255, 255, 255, 0.8);
    }
}

/* Prevenir scroll horizontal en dispositivos móviles */
html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

/* Asegurar que todos los contenedores respeten el ancho de la pantalla */
.container, .container-fluid, .row {
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}

/* Asegurar que las imágenes sean responsivas */
img {
    max-width: 100%;
    height: auto;
}

/* Ajustar tablas para dispositivos móviles */
table {
    max-width: 100%;
    display: block;
    overflow-x: auto;
}
