/* Custom Styles to match the mockup's specific look */

:root {
    --primary-color: #e05826;
    --secondary-color: #f8f9fa;
    --text-dark: #212529;
    --text-muted: #6c757d;
}

[x-cloak] {
    display: none !important;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
}

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

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

.btn-primary-custom {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    text-transform: uppercase;
    border-radius: 0;

}

.btn-primary-custom:hover {
    background-color: #c94b1e;
    border-color: #c94b1e;
    color: white;
}

/* Navbar */
header {
    background-color: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-dark) !important;
}

.logo-img {
    height: auto;
    width: 180px;
    max-width: 100%;
}

.nav-link {
    font-weight: 400;
    text-transform: none;
    font-size: 0.95rem;
    color: var(--text-dark) !important;
    padding: 0.5rem 1rem !important;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
#hero {
    position: relative;
    overflow: hidden;
}

.carousel-item {
    height: 85vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.3) 60%, transparent 100%);
    z-index: 1;
}

.hero-text {
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-weight: 800;
    font-size: 4.5rem;
    line-height: 1;
    text-shadow: none;
    color: var(--primary-color) !important;
    text-align: left;
}

.hero-text h1 span {
    display: block;
    color: var(--primary-color);
}

.hero-text p {
    color: var(--text-dark) !important;
    font-size: 1.1rem;
    text-shadow: none;
    max-width: 600px;
}

/* Advisory Section */
#advisory {
    background-color: var(--secondary-color);
    padding: 80px 0;
}

.advisory-card {
    background: white;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Stats Section */
#stats {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.stat-item {
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.stat-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 400;
}

.stats-container {
    background-color: #fff;
    background-image: url('../img/flecha.png');
    background-repeat: no-repeat;
    background-position: calc(100% + 50px) center;
    background-size: auto 100%;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

/* Testimonials */
#testimonials {
    padding: 80px 0;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

#testimonials::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 350px;
    height: 350px;
    background-image: url('../img/smart-fondo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom left;
    opacity: 0.8;
    z-index: 0;
    pointer-events: none;
    opacity: 0.3;
}

#testimonials .container {
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background: #f4f4f4;
    padding: 2.5rem;
    border-radius: 8px;
    border: none;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.client-logo {
    height: auto;
    object-fit: contain;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.testimonial-card:hover .client-logo {
    filter: grayscale(0%);
    opacity: 1;
}

/* Services / Equipment */
#services {
    padding: 80px 0;
    background-color: #f1f1f1;
}

/* Footer / CTA */
#contact {
    padding: 80px 0;
}

footer {
    background-color: #000;
    color: #fff;
    padding: 40px 0;
    font-size: 0.85rem;
}

footer a {
    color: #ccc;
    text-decoration: none;
}

footer a:hover {
    color: #fff;
}


/* Testimonials Header Specifics */
#testimonials h2 {
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 1.1rem;
    line-height: 1.4;
}

@media (max-width: 991.98px) {
    .section-subtitle {
        text-align: left !important;
        margin-top: 1rem;
    }

    #testimonials .text-lg-end {
        text-align: left !important;
    }
}

.team-container {
    position: relative;
    height: 700px;
    overflow: hidden;
}

.team-container img {
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.team-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 300px;
    background: linear-gradient(to top, #ffffff 20%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    z-index: 2;
}

.parallax-banner {
    background-image: url('../img/parallax.png');
    height: 400px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

@media (max-width: 768px) {
    .parallax-banner {
        background-attachment: scroll;
        height: 250px;
    }
}

.equipment-content {
    background-color: #f8f9fa;
}

.equipment-item {
    height: 100%;
}

.equipment-item img {
    height: 250px;
    object-fit: cover;
    width: 100%;
    filter: grayscale(100%);
    transition: filter 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.equipment-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.02);
}

.equipment-item h5 {
    font-size: 1.1rem;
    color: #000;
    margin-top: 1.5rem;
}

.equipment-item p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    color: #555;
}

/* Footer Styles */
.footer {
    background-color: #000;
    color: #fff;
    padding: 3rem 0;
}

.footer-logo {
    height: 40px;
}

.footer-divider {
    border-color: #333;
    opacity: 1;
}

.footer-link {
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #ccc;
}

.small {
    font-size: 0.85rem;
}

.nosotros-hero {
    height: 60vh;
    min-height: 400px;
    background-image: url('../img/team-smarttcoding.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 76px;
}

.nosotros-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    z-index: 1;
}

.nosotros-hero .container {
    position: relative;
    z-index: 2;
}

.nosotros-logo-container {
    padding: 2rem;
}

.nosotros-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0;
    line-height: 1;
    letter-spacing: 2px;
}

.nosotros-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0;
    letter-spacing: 3px;
}

#nosotros-content {
    background-color: #fff;
    padding: 80px 0;
}

.nosotros-text-content {
    max-width: 900px;
    margin: 0 auto;
}

.nosotros-text-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.nosotros-text-content .lead {
    font-weight: 400;
}

@media (max-width: 768px) {
    .nosotros-title {
        font-size: 2.5rem;
    }

    .nosotros-subtitle {
        font-size: 0.9rem;
    }

    .nosotros-hero {
        height: 50vh;
        min-height: 300px;
    }
}

#nuestra-historia h2,
#mision h3,
#valores h2 {
    color: var(--primary-color);
}

.mision-card {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.mision-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
}

.valor-card {
    background: #fff;
    padding: 2rem;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.valor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(224, 88, 38, 0.15);
}

.valor-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.valor-card h4 {
    font-size: 1.2rem;
}

.valor-card p {
    color: #555;
    line-height: 1.6;
}

#el-equipo {
    background-color: #e8e8e8;
}

#el-equipo h2 {
    color: #000;
}

.team-member-card {
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.team-member-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.team-member-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background-color: #f0f0f0;
}

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

.team-member-info {
    padding: 1.5rem;
    background: #fff;
}

.team-member-info h5 {
    font-size: 1.1rem;
    color: #000;
}

.team-member-info p {
    font-size: 0.9rem;
    color: #666;
}

/* Ruta SMARTek Page Styles */
.ruta-hero {
    height: 40vh;
    min-height: 300px;
    background-image: url('../img/ruta-hero.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 76px;
}

.ruta-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.75);
    z-index: 1;
}

.ruta-hero .container {
    position: relative;
    z-index: 2;
}

.ruta-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0;
    line-height: 1;
    letter-spacing: 2px;
}

#ruta-content {
    background-color: #fff;
    padding: 80px 0;
}

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

.ruta-description p {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
}

.ruta-description strong {
    color: var(--primary-color);
}

.ruta-steps {
    padding-left: 1rem;
}

.ruta-step-card {
    background: #fff;
    padding: 1.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.ruta-step-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(224, 88, 38, 0.1);
    transform: translateX(5px);
}

.ruta-step-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.ruta-step-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.ruta-step-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.ruta-step-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .ruta-title {
        font-size: 2.5rem;
    }

    .ruta-hero {
        height: 35vh;
        min-height: 250px;
    }

    .ruta-step-icon {
        width: 40px;
        height: 40px;
        margin-right: 1rem;
    }

    .ruta-step-icon i {
        font-size: 1.2rem;
    }
}

/* Contacto Page Styles */
.contacto-hero {
    height: 35vh;
    min-height: 250px;
    background-image: url('../img/contacto-hero.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 76px;
}

.contacto-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 1;
}

.contacto-hero .container {
    position: relative;
    z-index: 2;
}

.contacto-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0;
    line-height: 1;
    letter-spacing: 2px;
}

#contacto-form {
    background-color: #fff;
}

.contacto-form {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contacto-form .form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.contacto-form .form-control {
    border: 1px solid #ddd;
    padding: 0.75rem;
    border-radius: 4px;
    transition: border-color 0.3s ease;
}

.contacto-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(224, 88, 38, 0.15);
}

.contacto-form .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.contacto-form .form-check-label {
    color: #555;
    font-size: 0.95rem;
}

#contacto-info {
    background-color: #f8f9fa;
}

.contact-info-item {
    padding: 1rem;
    background: #fff;
    border-radius: 8px;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .contacto-title {
        font-size: 2.5rem;
    }

    .contacto-hero {
        height: 30vh;
        min-height: 200px;
    }

    .contacto-form {
        padding: 1.5rem;
    }
}

/* Productos Page Styles */
.productos-hero {
    height: 35vh;
    min-height: 250px;
    background-image: url('../img/productos-hero.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 76px;
}

.productos-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.75);
    z-index: 1;
}

.productos-hero .container {
    position: relative;
    z-index: 2;
}

.productos-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0;
    line-height: 1;
    letter-spacing: 2px;
}

#productos-intro {
    background-color: #fff;
}

.categoria-card {
    background: #fff;
    padding: 2rem;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.categoria-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(224, 88, 38, 0.2);
}

.categoria-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.categoria-icon i {
    font-size: 1.8rem;
    color: #fff;
}

.categoria-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.categoria-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 0;
}

#producto-destacado {
    background-color: #fff;
}

.producto-destacado-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #ffeee6;
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.producto-destacado-badge i {
    font-size: 1.2rem;
}

.producto-destacado-image {
    background-color: #f5f5f5;
    padding: 2rem;
    border-radius: 8px;
}

.producto-gallery-item {
    background-color: #f5f5f5;
    padding: 1rem;
    border-radius: 8px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.producto-gallery-item:hover {
    transform: scale(1.05);
}

.producto-gallery-item img {
    width: 100%;
    height: auto;
}

#productos-cta {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

@media (max-width: 768px) {
    .productos-title {
        font-size: 2.5rem;
    }

    .productos-hero {
        height: 30vh;
        min-height: 200px;
    }

    .categoria-card {
        padding: 1.5rem;
    }
}

/* Product Details - Mosaic Gallery */
.gallery-main-image {
    height: 100%;
    min-height: 400px;
}

/* Product Features List */
.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    background-color: #fff;
    width: 100%;
    max-width: 800px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    box-shadow: 0 4px 12px rgba(224, 88, 38, 0.1);
    transform: translateY(-2px);
}

.feature-item i {
    color: #000;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-item span {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.4;
}

#servicios-respaldo {
    background-color: #fff;
}

.service-support-card {
    border: 1px solid var(--primary-color);
    border-radius: 6px;
    padding: 1.5rem;
    background: #fff;
    transition: all 0.3s ease;
}

.service-support-card:hover {
    box-shadow: 0 8px 20px rgba(224, 88, 38, 0.15);
    transform: translateY(-5px);
}

.service-icon {
    font-size: 1.5rem;
    color: #000;
}

.service-support-card h5 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.whatsapp-float {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    width: 60px;
    height: 60px;
    background-color: #25d366 !important;
    color: #fff !important;
    border-radius: 50%;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128C7E !important;
    color: #fff !important;
    transform: scale(1.1);
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.5);
}

.whatsapp-float i {
    color: #fff !important;
}

/* Servicios Hero Styles */


.servicios-hero {
    height: 60vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 76px;
}

.servicios-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.servicios-hero .container {
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .servicios-hero {
        height: 50vh;
        min-height: 300px;
    }
}

.page-hero {
    height: 50vh;
    min-height: 350px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 76px;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .page-hero {
        height: 40vh;
        min-height: 250px;
    }
}