/* ===== MARCA DE AGUA ===== */
body::after {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 9999;
    background:
        url('../img/valecom-logo.png') 6%  12% / 70px  no-repeat,
        url('../img/valecom-logo.png') 88% 18% / 110px no-repeat,
        url('../img/valecom-logo.png') 45% 72% / 55px  no-repeat,
        url('../img/valecom-logo.png') 75% 58% / 90px  no-repeat,
        url('../img/valecom-logo.png') 20% 85% / 75px  no-repeat,
        url('../img/valecom-logo.png') 92% 82% / 50px  no-repeat;
    opacity: 0.04;
}

/* 
* Valecom - Custom CSS MEJORADO basado en TotalTech.com.mx
* Paleta de colores:
* Primarios: 
*   - Azul Valecom (#0F4C81)
*   - Verde tecnológico (#00B2A9)
* Acentos:
*   - Rojo energético (#E83151)
*   - Amarillo éxito (#FFB400)
* Neutros:
*   - Gris platino (#F8F9FC)
*   - Gris perla (#E4E8F0)
*   - Gris pizarra (#52616B)
*   - Azul oscuro (#1E2D40)
* Colores por sector:
*   - Salud (#36C7D0)
*   - Construcción (#F9A826)
*   - Agricultura (#7BB661)
*   - Educación (#8662C7)
*   - Manufactura (#2D8BBA)
*   - Bienes Raíces (#D55E8A)
*   - Finanzas (#24A99B)
*   - Logística (#E67E22)
*   - Legal (#6B5B95)
*   - Energía (#FF793F)
*   - Hospitalidad (#1A7BB5)
*/

/* ===== Global Styles ===== */
:root {
    /* Colores primarios */
    --primary: #0F4C81;
    --primary-hover: #0D3F6B;
    --secondary: #00B2A9;
    --secondary-hover: #009D95;
    
    /* Colores de acento */
    --accent-red: #E83151;
    --accent-yellow: #FFB400;
    
    /* Colores neutros */
    --light-gray: #F8F9FC;
    --mid-gray: #E4E8F0;
    --dark-gray: #52616B;
    --dark-blue: #1E2D40;
    
    /* Colores por sector */
    --health: #36C7D0;
    --construction: #F9A826;
    --agriculture: #7BB661;
    --education: #8662C7;
    --manufacturing: #2D8BBA;
    --realestate: #D55E8A;
    --finance: #24A99B;
    --logistics: #E67E22;
    --legal: #6B5B95;
    --energy: #FF793F;
    --hospitality: #1A7BB5;
}

body {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    color: var(--dark-blue);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--primary);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-hover);
}

.btn {
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

.btn-secondary {
    background-color: var(--secondary);
    border-color: var(--secondary);
}

.btn-secondary:hover, .btn-secondary:focus {
    background-color: var(--secondary-hover);
    border-color: var(--secondary-hover);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-accent {
    background-color: var(--accent-red);
    border-color: var(--accent-red);
    color: white;
}

.btn-accent:hover {
    background-color: #D12945;
    border-color: #D12945;
    color: white;
}

.section-title {
    position: relative;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.section-description {
    color: var(--dark-gray);
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
}

/* ===== Header Styles ===== */
.header {
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    background-color: white;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.navbar-brand img {
    transition: all 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    color: var(--dark-blue);
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after, 
.navbar-nav .nav-link.active::after {
    width: 80%;
}

.dropdown-menu {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.dropdown-item {
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: var(--light-gray);
}

.sector-icon {
    width: 20px;
    height: 20px;
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f9fc, #e4e8f0);
    background-size: cover;
    background-position: center;
    padding: 10rem 0 5rem;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
}

/* ===== Introduction Section ===== */
.introduction {
    padding: 5rem 0;
}

/* ===== Benefits Section ===== */
.benefits {
    background-color: var(--light-gray);
    padding: 5rem 0;
}

.benefit-card {
    background-color: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.benefit-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.benefit-description {
    color: var(--dark-gray);
}

/* ===== Sectors Section ===== */
.sectors {
    padding: 5rem 0;
}

.sector-card {
    background-color: white;
    border-radius: 15px;
    padding: 2.5rem 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-top: 5px solid var(--primary);
}

.sector-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0;
    background-color: rgba(15, 76, 129, 0.05);
    transition: all 0.3s ease;
}

.sector-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.sector-card:hover::before {
    height: 100%;
}

.sector-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.sector-card:hover .sector-logo {
    transform: scale(1.1);
}

.sector-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.sector-description {
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
}

/* Colores de borde por sector */
.health-card { border-color: var(--health); }
.construction-card { border-color: var(--construction); }
.agriculture-card { border-color: var(--agriculture); }
.education-card { border-color: var(--education); }
.manufacturing-card { border-color: var(--manufacturing); }
.realestate-card { border-color: var(--realestate); }
.finance-card { border-color: var(--finance); }
.logistics-card { border-color: var(--logistics); }
.legal-card { border-color: var(--legal); }
.energy-card { border-color: var(--energy); }
.hospitality-card { border-color: var(--hospitality); }

/* ===== Testimonials Section ===== */
.testimonials {
    background-color: var(--light-gray);
    padding: 5rem 0;
}

.testimonial-card {
    background-color: white;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin: 0 1rem;
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    font-family: Georgia, serif;
    font-size: 5rem;
    position: absolute;
    top: 10px;
    left: 20px;
    color: rgba(15, 76, 129, 0.1);
}

.testimonial-content p {
    font-style: italic;
    color: var(--dark-gray);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.testimonial-author h4 {
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.testimonial-author p {
    color: var(--dark-gray);
    font-style: normal;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    border-radius: 50%;
    opacity: 0.7;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-control-prev {
    left: -25px;
}

.carousel-control-next {
    right: -25px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

/* ===== CTA Section ===== */
.cta {
    padding: 5rem 0;
}

.cta-card {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 15px;
    padding: 4rem 2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(15, 76, 129, 0.3);
}

.cta-card h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-card p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-card .btn {
    background-color: white;
    color: var(--primary);
    border-color: white;
    padding: 0.75rem 2.5rem;
    font-size: 1.1rem;
}

.cta-card .btn:hover {
    background-color: transparent;
    color: white;
}

/* ===== Footer ===== */
.footer {
    background-color: var(--dark-blue);
    color: #fff;
    padding: 5rem 0 2rem;
}

.footer h5 {
    color: white;
    font-size: 1.25rem;
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary);
}

.footer p {
    color: rgba(255, 255, 255, 0.7);
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer a:hover {
    color: var(--secondary);
    text-decoration: none;
}

.footer .btn-outline-primary {
    color: white;
    border-color: white;
}

.footer .btn-outline-primary:hover {
    background-color: white;
    color: var(--primary);
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--secondary);
    color: white;
    transform: translateY(-3px);
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.1);
}

/* ===== Modal ===== */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.modal-header {
    border-bottom: 2px solid var(--light-gray);
    padding: 1.5rem;
}

.modal-body {
    padding: 2rem 1.5rem;
}

.modal-footer {
    border-top: 2px solid var(--light-gray);
    padding: 1.5rem;
}

/* ===== Responsive Styles ===== */
@media (max-width: 992px) {
    .navbar-nav {
        margin-top: 1rem;
    }
    
    .hero {
        padding: 8rem 0 4rem;
        min-height: auto;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
    
    .benefit-card, .sector-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .benefit-card, .sector-card, .testimonial-card {
        padding: 1.5rem;
    }
    
    .cta-card {
        padding: 2.5rem 1.5rem;
    }
    
    .cta-card h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .footer {
        text-align: center;
    }
    
    .footer h5::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer .btn-outline-primary {
        margin-bottom: 2rem;
    }
}
/* ===== MEJORAS ADICIONALES BASADAS EN TOTALTECH ===== */

/* Timeline mejorado */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
}

.timeline-item {
    display: flex;
    margin-bottom: 4rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    flex: 0 0 50%;
    text-align: right;
    padding-right: 3rem;
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary);
}

.timeline-item:nth-child(even) .timeline-year {
    text-align: left;
    padding-right: 0;
    padding-left: 3rem;
}

.timeline-content {
    flex: 0 0 50%;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.timeline-item::after {
    content: '';
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--primary);
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--primary);
    z-index: 10;
}

/* Feature Banners */
.feature-banners {
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.feature-banner {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-banner:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-icon i {
    font-size: 2.5rem;
    color: white;
}

.service-card:hover .service-icon {
    transform: rotate(5deg) scale(1.1);
}

/* Testimonial Cards */
.testimonial-card {
    background-color: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.testimonial-image img {
    border-radius: 10px;
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Client Logos */
.client-logo {
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.client-logo img {
    max-width: 100%;
    max-height: 80px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.client-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Contact Page Styles */
.contact-hero {
    min-height: 70vh;
    background: linear-gradient(135deg, rgba(15, 76, 129, 0.05), rgba(0, 178, 169, 0.05));
    padding: 10rem 0 5rem;
}

.contact-info-box {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.contact-info-box a {
    color: var(--dark-gray);
}

.contact-info-box a:hover {
    color: var(--primary);
}

.contact-form-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.contact-option-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.contact-option-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.option-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.option-icon i {
    font-size: 3rem;
    color: white;
}

/* Sector-specific button colors */
.btn-agriculture {
    background-color: var(--agriculture);
    border-color: var(--agriculture);
    color: white;
}

.btn-agriculture:hover {
    background-color: #6BA054;
    border-color: #6BA054;
    color: white;
}

.btn-construction {
    background-color: var(--construction);
    border-color: var(--construction);
    color: white;
}

.btn-construction:hover {
    background-color: #E09617;
    border-color: #E09617;
    color: white;
}

.btn-health {
    background-color: var(--health);
    border-color: var(--health);
    color: white;
}

.btn-health:hover {
    background-color: #2AB5BC;
    border-color: #2AB5BC;
    color: white;
}

.btn-education {
    background-color: var(--education);
    border-color: var(--education);
    color: white;
}

.btn-education:hover {
    background-color: #7452B8;
    border-color: #7452B8;
    color: white;
}

.btn-manufacturing {
    background-color: var(--manufacturing);
    border-color: var(--manufacturing);
    color: white;
}

.btn-manufacturing:hover {
    background-color: #2479A6;
    border-color: #2479A6;
    color: white;
}

/* Responsive adjustments for timeline */
@media (max-width: 992px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
    }
    
    .timeline-year {
        flex: 0 0 100px;
        text-align: left;
        padding-right: 0;
        padding-left: 60px;
        font-size: 1.5rem;
    }
    
    .timeline-content {
        flex: 1;
        margin-left: 1rem;
    }
    
    .timeline-item::after {
        left: 30px;
    }
}

/* Animación de pulso para CTA */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.cta-card::before {
    animation: pulse 4s ease-in-out infinite;
}
