﻿/* Base styles and resets */
body {
    color: #2c3e50;
    line-height: 1.6;
}

/* Section styling */
.section {
    padding: 60px 0;
}

    .section h1 {
        font-size: 2.5rem;
        color: #1a237e;
        margin-bottom: 2rem;
        position: relative;
        text-align: center;
    }

    .section h4 {
        color: #1a237e;
        font-size: 1.8rem;
        margin: 3rem 0 2rem;
        text-align: center;
        position: relative;
        padding-bottom: 15px;
    }

        .section h4::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 3px;
            background: #1a237e;
        }

/* Breadcrumb styling */
.bread-crumbs {
    background: #f8f9fa;
    padding: 15px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid #e9ecef;
}

.bread-crumbs-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

    .bread-crumbs-list li {
        display: flex;
        align-items: center;
    }

    .bread-crumbs-list a {
        color: #1a237e;
        text-decoration: none;
        transition: color 0.3s;
    }

        .bread-crumbs-list a:hover {
            color: #3949ab;
        }

/* Image enhancements */
.img-fluid {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .img-fluid:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

.img-thumbnail {
    border: none;
    padding: 8px;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Card improvements */
.primary-bg {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 50px 0;
}

.info-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    padding: 20px;
    width: 48%;
    margin-bottom: 20px;
    border: 1px solid rgba(0,0,0,0.05);
}

    .info-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }

.icon-container {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 12px;
}

.text-container {
    margin-left: 20px;
}

.title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a237e;
    margin-bottom: 8px;
}

.download-link {
    color: #3949ab;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

    .download-link:hover {
        color: #1a237e;
        transform: translateX(5px);
    }

/* Video container styling */
video {
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    margin: 30px 0;
}

/* Tooltip customization */
.tippy-box[data-theme~='custom-tooltip'] {
    font-size: 18px;
    background-color: #1a237e;
    color: #fff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    max-width: 350px !important;
    line-height: 1.6;
}

    .tippy-box[data-theme~='custom-tooltip'] .tippy-arrow {
        color: #1a237e;
    }

/* Responsive adjustments */
@media (max-width: 768px) {
    .section h1 {
        font-size: 2rem;
    }

    .section h4 {
        font-size: 1.5rem;
    }

    .info-card {
        width: 100%;
    }

    .bread-crumbs-list {
        flex-wrap: wrap;
    }
}

/* Animation classes */
.animate-fade-in {
    animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Contenedor principal */
.primary-bg {
    background-color: #f8f9fa;
    padding: 40px 0;
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 50px;
}

    /* Contenedor de las tarjetas */
    .primary-bg > div {
        width: 90%;
        max-width: 800px;
    }

        /* Layout de tarjetas */
        .primary-bg > div > div {
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 20px;
        }

/* Tarjeta individual */
.info-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    padding: 20px;
    width: calc(50% - 10px);
    margin: 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

    .info-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

/* Contenedor del icono */
.icon-container {
    width: 50px;
    height: 50px;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 10px;
}

/* Imagen del icono */
.icon-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Contenedor del texto */
.text-container {
    margin-left: 15px;
    flex-grow: 1;
}

    /* Título */
    .text-container .title {
        font-size: 1.1rem;
        font-weight: 600;
        color: #333;
        margin: 0 0 5px 0;
    }

/* Enlace de descarga */
.download-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    display: inline-block;
    transition: all 0.2s ease;
}

    .download-link:hover {
        color: #0056b3;
        text-decoration: underline;
    }

/* Responsive */
@media (max-width: 768px) {
    .info-card {
        width: 100%;
    }

    .primary-bg > div > div {
        gap: 15px;
    }
}

.text-box {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 15px;
    margin-top: 10px;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

    .text-box h5 {
        margin: 0;
        font-size: 18px;
        font-weight: bold;
    }

    .text-box p {
        margin: 5px 0;
        font-size: 14px;
        color: #555;
    }