/*--------------------------------------------------------------
# General Styles
--------------------------------------------------------------*/
:root {
    --primary-color: #1E3A5F;
    --secondary-color: #4A90E2;
    --neutral-color: #D9D9D9;
    --text-color: #333333;
    --light-color: #ffffff;
    --dark-color: #0F1E2E;
    --transition: all 0.3s ease;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

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

p {
    margin-bottom: 1rem;
}

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

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

.btn {
    transition: var(--transition);
    border-radius: 30px;
    padding: 10px 25px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .hero-buttons .btn {
        margin-bottom: 15px;
        display: block;
        width: 100%;
    }
    
    .hero-buttons .btn.ms-3 {
        margin-left: 0 !important;
    }
    
    .about-content .btn {
        margin-bottom: 15px;
        margin-right: 0 !important;
        display: block;
        width: 100%;
    }
}

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

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

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

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

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

/* WhatsApp Button Styles */
.btn-whatsapp {
    background: linear-gradient(45deg, #25d366, #128c7e);
    border: none;
    color: white !important;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    background: linear-gradient(45deg, #128c7e, #25d366);
    color: white !important;
}

/* Pack Description Styles */
.pack-description {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

/* Why Choose Us Section */
.why-choose-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    height: 100%;
}

.why-choose-item .icon-container {
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.why-choose-item .content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.why-choose-item .content p {
    color: var(--text-color);
    margin: 0;
    font-size: 0.9rem;
}

/* Benefits Section */
.benefit-item {
    padding: 2rem 1rem;
}

.benefit-icon {
    margin-bottom: 1rem;
}

.benefit-item h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.benefit-item p {
    color: var(--text-color);
    font-size: 0.95rem;
}

/* Testimonials */
.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-content {
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

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

.testimonial-author strong {
    color: var(--primary-color);
    display: block;
}

.testimonial-author span {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 15px;
}

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

.section-header p {
    font-size: 1.1rem;
    color: #666;
}

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

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

/*--------------------------------------------------------------
# Flash Messages
--------------------------------------------------------------*/
.flash-messages {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1000;
    width: 300px;
}

.alert {
    margin-bottom: 10px;
    box-shadow: var(--box-shadow);
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
.navbar {
    padding: 15px 0;
    transition: var(--transition);
    background-color: transparent;
}

.navbar.scrolled {
    background-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: white;
}

.navbar-logo {
    height: 50px;
    width: auto;
    border-radius: 4px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: white !important;
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: white;
    transition: var(--transition);
}

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

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    color: white;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-content {
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-buttons {
    margin-top: 30px;
}

.hero-image-container {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    width: 100%;
    height: auto;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services-section {
    padding: 100px 0;
}

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

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

.service-card.featured {
    border: 2px solid var(--secondary-color);
    transform: scale(1.05);
}

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

.card-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--secondary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 0 var(--border-radius) 0 var(--border-radius);
    font-weight: 500;
    z-index: 1;
}

.card-header {
    background-color: var(--primary-color);
    color: white;
    padding: 25px 20px;
    text-align: center;
}

.card-header h3 {
    margin-bottom: 10px;
    color: white;
    font-size: 1.5rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
}

.card-body {
    padding: 30px 20px;
}

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

.service-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--neutral-color);
    display: flex;
    align-items: center;
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features i {
    color: var(--secondary-color);
    margin-right: 10px;
}

/* WhatsApp buttons in service cards */
.service-card .btn-whatsapp {
    margin-top: 20px;
    font-weight: 500;
    padding: 12px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.service-card .btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.custom-service {
    background-color: rgba(74, 144, 226, 0.1);
    padding: 40px;
    border-radius: var(--border-radius);
    margin-top: 50px;
}

.custom-service h3 {
    margin-bottom: 15px;
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features-section {
    padding: 100px 0;
    background-color: #f8f9fa;
}

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

.feature-card:hover {
    transform: translateY(-10px);
}

.icon-container {
    width: 80px;
    height: 80px;
    background-color: rgba(74, 144, 226, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.icon-container i {
    color: var(--secondary-color);
    font-size: 2rem;
}

.feature-card h3 {
    margin-bottom: 15px;
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about-section {
    padding: 100px 0;
}

.about-image-container {
    position: relative;
}

.about-image {
    width: 100%;
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.about-video-container {
    position: relative;
    margin-bottom: 20px;
}

.about-video {
    width: 100%;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.about-video video {
    width: 100%;
    height: auto;
    display: block;
    background-color: #1E3A5F;
}

.about-content h2 {
    margin-bottom: 20px;
}

.about-content .lead {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 20px;
}

.stat-item {
    text-align: center;
    padding: 15px;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.stat-item p {
    margin-bottom: 0;
    color: #666;
}

/*--------------------------------------------------------------
# Mission Section
--------------------------------------------------------------*/
.mission-section {
    padding: 100px 0;
}

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

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

.mission-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
}

.mission-card .icon-container {
    width: 70px;
    height: 70px;
    background-color: rgba(74, 144, 226, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.mission-card .icon-container i {
    color: var(--secondary-color);
    font-size: 1.8rem;
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials-section {
    padding: 100px 0;
    background-color: #f8f9fa;
}

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

.quote-icon {
    color: var(--secondary-color);
    font-size: 2rem;
    margin-bottom: 20px;
    opacity: 0.3;
}

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

.client-info {
    display: flex;
    flex-direction: column;
}

.client-name {
    font-weight: 600;
    color: var(--primary-color);
}

.client-position {
    color: #666;
    font-size: 0.9rem;
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact-section {
    padding: 100px 0;
}

/* Ensure phone number displays horizontally on desktop only */
.contact-info .lead {
    white-space: nowrap;
    word-break: keep-all;
}

@media (max-width: 768px) {
    .contact-info .lead {
        white-space: normal;
        word-break: break-word;
    }
}

.contact-info {
    padding: 30px;
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--border-radius);
    height: 100%;
}

.info-item {
    display: flex;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-right: 20px;
    margin-top: 5px;
}

.info-item h3 {
    margin-bottom: 5px;
    color: white;
    font-size: 1.2rem;
}

.info-item p {
    margin-bottom: 0;
}

.social-links h3 {
    color: white;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
}

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

.social-icon:hover {
    background-color: var(--secondary-color);
    color: white;
}

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

.form-control {
    padding: 12px 15px;
    border-radius: var(--border-radius);
    border: 1px solid var(--neutral-color);
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--secondary-color);
}

/*--------------------------------------------------------------
# WhatsApp Button
--------------------------------------------------------------*/
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    z-index: 999;
    transition: var(--transition);
    animation: none;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    color: white;
}

/* Animaciones para destacar el botón de WhatsApp */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
        transform: scale(1);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
        transform: scale(1.1);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
        transform: scale(1);
    }
}

@keyframes shake {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    50% { transform: rotate(0deg); }
    75% { transform: rotate(10deg); }
    100% { transform: rotate(0deg); }
}

.whatsapp-button.highlight {
    animation: pulse 1.5s infinite, shake 0.5s 2s 3;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer-section {
    background-color: var(--primary-color);
    color: white;
}

.footer-top {
    padding: 60px 0 30px;
}

.footer-info h3 {
    margin-bottom: 20px;
    color: white;
    font-size: 1.8rem;
}

.footer-links h4 {
    color: white;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 20px;
}

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

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

.footer-links ul li:not(:last-child) {
    margin-bottom: 10px;
}

.footer-links ul a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    display: inline-block;
    padding: 2px 0;
}

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

.footer-contact h4 {
    color: white;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 20px;
}

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

.footer-contact p {
    margin-bottom: 0;
    line-height: 2;
}

.footer-contact i {
    color: var(--secondary-color);
    margin-right: 10px;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.8);
    margin-left: 20px;
}

.footer-legal-links a:hover {
    color: white;
}

/*--------------------------------------------------------------
# Responsive Styles
--------------------------------------------------------------*/
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .navbar {
        background-color: var(--primary-color);
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-section {
        height: auto;
        padding: 150px 0 100px;
    }

    .service-card.featured {
        transform: scale(1);
    }

    .service-card.featured:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2rem;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .about-image {
        margin-bottom: 30px;
    }

    .contact-info {
        margin-bottom: 30px;
    }

    .footer-info, .footer-links, .footer-contact {
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .btn {
        padding: 8px 20px;
    }

    .whatsapp-button {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}
/* Estilos para los iconos sociales en la barra de navegación */
.nav-social-links {
    display: flex;
    align-items: center;
}

.nav-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: white;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin-left: 8px;
    transition: var(--transition);
}

.nav-social-icon:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
}

/* Estilos para el selector de idioma */
.language-selector .dropdown-toggle::after {
    display: none;
}

/*--------------------------------------------------------------
# Blog Styles
--------------------------------------------------------------*/
.blog-section {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.blog-card {
    transition: var(--transition);
    box-shadow: var(--box-shadow);
    border: none;
    overflow: hidden;
}

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

.blog-card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

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

.placeholder-img {
    height: 200px;
}

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

.post-header {
    border-bottom: 1px solid var(--neutral-color);
    padding-bottom: 20px;
}

.post-meta {
    font-size: 0.9rem;
}

.featured-image {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    transition: var(--transition);
}

.post-content {
    line-height: 1.8;
}

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

.post-content h2, .post-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

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

.post-content blockquote {
    border-left: 4px solid var(--secondary-color);
    padding-left: 20px;
    font-style: italic;
    color: #666;
}

.share-buttons {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--neutral-color);
}

.pagination .page-link {
    color: var(--primary-color);
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Ajustes para la barra lateral del blog */
.list-group-item.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.language-dropdown .dropdown-toggle {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.language-dropdown .dropdown-menu {
    min-width: 110px;
    border-radius: 10px;
    margin-top: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.language-dropdown .dropdown-item {
    padding: 8px 15px;
    font-size: 0.9rem;
}

.language-dropdown .dropdown-item.active {
    background-color: var(--secondary-color);
    color: white;
}

.language-dropdown .dropdown-item:hover {
    background-color: rgba(74, 144, 226, 0.1);
}

.flag-icon {
    margin-right: 5px;
}

.language-selector .dropdown-menu {
    min-width: 120px;
}

.language-selector .dropdown-item {
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
}

.language-selector .dropdown-item.active {
    background-color: var(--primary-color);
    color: white;
}

.language-selector .flag-icon {
    margin-right: 8px;
    font-size: 1.2em;
}

/* Estilo para el logo y texto de la marca */
.logo-img {
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}

.brand-text {
    font-weight: 600;
    font-size: 1.4rem;
    color: white;
    vertical-align: middle;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

/* Estilos para los iconos sociales junto al logo */
.navbar-social-links {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.navbar-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: white;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin-left: 8px;
    transition: var(--transition);
}

.navbar-social-icon:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
}

@media (max-width: 992px) {
    .nav-social-links {
        margin-top: 15px;
        margin-bottom: 10px;
    }
}