/* ===== SCROLLBAR STYLING ===== */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #000000;
    backdrop-filter: blur(5.85px);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(100deg, #86ff05, #d4bd0d);
    backdrop-filter: blur(5.85px);
    border-radius: 25px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: rgb(94, 255, 0);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(20px);
    }
}

@keyframes parallax {
    0% { transform: translateY(-20px); }
    50% { transform: translateY(20px); }
    100% { transform: translateY(-20px); }
}

@keyframes pulse {
    0% { transform: scale(1.1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(5deg); }
    100% { transform: scale(1.1) rotate(0deg); }
}

@keyframes shimmer {
    0% { background-position: -100% 0; }
    100% { background-position: 200% 0; }
}

/* ===== INFO SECTION CONTAINER ===== */
.info-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, #ffffff, #f8f8f8);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/Canales/Imagenes_Canales/Fondo1.jpg') no-repeat center center/cover;
    opacity: 0.1;
    z-index: -1;
    transform: translateY(-20px);
    animation: parallax 10s infinite linear;
}

/* ===== SECTION TYPOGRAPHY ===== */
.info-section h2 {
    font-size: 2.65em;
    margin-bottom: 15px;
    margin-top: -35px;
    color: #000000;
    font-family: "Archivo", Sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    animation: fadeIn 1s ease-in-out;
    z-index: 2;
    position: relative;
}

.info-section p {
    font-size: 1.5em;
    margin-bottom: 50px;
    color: #000000;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeIn 1.5s ease-in-out;
    z-index: 2;
    line-height: 1.4;
    margin-top: -10px;
}

.info-section p::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 190px;
    height: 4px;
    background: linear-gradient(90deg, #86ff05, #fff700);
    border-radius: 2px;
}

/* ===== INFO CONTENT GRID ===== */
.info-content {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    animation: fadeIn 2s ease-in-out;
    max-width: 1500px;
    margin: 0 auto;
}


/* ===== INFO ITEM CARDS ===== */
.info-item {
    flex: 1 1 calc(50% - 50px);
    max-width: 300px;
    max-height: 300px;
    margin: 10px;
    text-align: center;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 6px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    z-index: 2;
    border: 2px solid #000000;
}

/* Card background effects */
.info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 213, 71, 0.1), rgba(55, 255, 0, 0.1));
    opacity: 0;
    z-index: -1;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Card bottom border effect */
.info-item::after {
    content: '';
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #86ff05, #fff700, #86ff05);
    background-size: 200% 100%;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Card hover effects */
.info-item:hover::before {
    opacity: 1;
    backdrop-filter: blur(5.85px);
}

.info-item:hover::after {
    bottom: 0;
    animation: shimmer 2s infinite linear;
}

.info-item:hover {
    background: #000000;
    color: #ffffff;
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 213, 71, 0.2), 0 10px 10px rgba(0, 0, 0, 0.1);
    border-color: #86ff05;
}

/* ===== CARD CONTENT STYLING ===== */
/* Icon styling */
.info-item i {
    font-size: 3.25em;
    color: #86ff05;
    margin-top: 30px;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    display: inline-block;
}

/* Heading styling */
.info-item h3 {
    font-size: 1.85em;
    margin-top: 15px;
    color: #000000;
    font-weight: bold;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
}

.info-item h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #86ff05, #ffee00);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform: translateX(-50%);
}

.info-item:hover h3 {
    color: #ffffff;
}

.info-item:hover h3::after {
    width: 50%;
}

/* Paragraph styling */
.info-item p {
    font-size: 1.25em;
    color: #000000;
    padding: 0 25px 25px;
    margin-top: 10px;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    opacity: 0.8;
}

.info-item:hover p {
    color: #ffffff;
    opacity: 1;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .info-content {
        gap: 20px;
    }
    
    .info-section h2 {
        font-size: 2em;
    }
    
    .info-section p {
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    .info-item {
        flex: 1 1 calc(50% - 20px);
    }
    
    .info-section {
        padding: 80px 15px;
    }
    
    .info-section h2 {
        font-size: 2.5em;
    }
}

@media (max-width: 480px) {
    .info-item {
        flex: 1 1 calc(100% - 20px);
        max-width: 100%;
    }

    .info-section {
        height: auto;
        padding: 60px 15px;
        min-height: 1600px;
    }

    .info-section h2 {
        font-size: 2em;
        line-height: 1.1;
        letter-spacing: normal;
        font-weight: 800;
        margin-top: -30px;
        margin-bottom: 30px;
    }

    .info-item h3 {
        font-size: 1.85em;
        font-weight: 600;
        margin-bottom: 20px;
    }

    .info-section p {
        font-size: 1.25em;
        font-weight: 500;
        margin-bottom: 35px;
    }
    
    .info-content {
        gap: 15px;
    }
}