﻿/**
* Template Name: Mentor
* Template URL: https://bootstrapmade.com/mentor-free-education-bootstrap-theme/
* Updated: Aug 07 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
    --default-font: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --heading-font: "Raleway", sans-serif;
    --nav-font: "Poppins", sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
    --background-color: #ffffff; /* Background color for the entire website, including individual sections #ffffff */
    --default-color: #3d4348; /* Default color used for the majority of the text content across the entire website */
    --heading-color: #3e5055; /* Color for headings, subheadings and title throughout the website */
    --accent-color: #388da8; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
    --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
    --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
    --nav-color: #313336; /* The default color of the main navmenu links */
    --nav-hover-color: #77b6ca; /* Applied to main navmenu links when they are hovered over or active */
    --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
    --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
    --nav-dropdown-color: #313336; /* Used for navigation links of the dropdown items in the navigation menu. */
    --nav-dropdown-hover-color: #77b6ca; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
    --background-color: #f8fbfc; 
    --surface-color: #ffffff;
}


.navbar-nav .nav-link {
    color: #77b6ca !important; /* Cambia el color de los enlaces a blanco color que estaba antes: #f8f9fa */
}


.dark-background {
    --background-color: #060606;
    --default-color: #ffffff;
    --heading-color: #ffffff;
    --surface-color: #252525;
    --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
    scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
    color: var(--default-color);
    background-color: var(--background-color);
    font-family: var(--default-font);
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: 0.3s;
}

    a:hover {
        color: color-mix(in srgb, var(--accent-color), transparent 25%);
        text-decoration: none;
    }

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading-color);
    font-family: var(--heading-font);
}

/* En sección catálogo subrayar titulo
------------------------------*/
.subrayado-azul {
    color: #000; /* Texto negro */
    text-decoration: underline;
    text-decoration-color: #3399ff; /* Azul claro */
    text-underline-offset: 6px; /* Espacio entre texto y subrayado */
}



/* Pulsating Play Button
------------------------------*/
.pulsating-play-btn {
    width: 94px;
    height: 94px;
    background: radial-gradient(var(--accent-color) 50%, color-mix(in srgb, var(--accent-color), transparent 75%) 52%);
    border-radius: 50%;
    display: block;
    position: relative;
    overflow: hidden;
}

    .pulsating-play-btn:before {
        content: "";
        position: absolute;
        width: 120px;
        height: 120px;
        animation-delay: 0s;
        animation: pulsate-play-btn 2s;
        animation-direction: forwards;
        animation-iteration-count: infinite;
        animation-timing-function: steps;
        opacity: 1;
        border-radius: 50%;
        border: 5px solid color-mix(in srgb, var(--accent-color), transparent 30%);
        top: -15%;
        left: -15%;
        background: rgba(198, 16, 0, 0);
    }

    .pulsating-play-btn:after {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translateX(-40%) translateY(-50%);
        width: 0;
        height: 0;
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        border-left: 15px solid #fff;
        z-index: 100;
        transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
    }

    .pulsating-play-btn:hover:before {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translateX(-40%) translateY(-50%);
        width: 0;
        height: 0;
        border: none;
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        border-left: 15px solid #fff;
        z-index: 200;
        animation: none;
        border-radius: 0;
    }

    .pulsating-play-btn:hover:after {
        border-left: 15px solid var(--accent-color);
        transform: scale(20);
    }

@keyframes pulsate-play-btn {
    0% {
        transform: scale(0.6, 0.6);
        opacity: 1;
    }

    100% {
        transform: scale(1, 1);
        opacity: 0;
    }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 15px 0;
    transition: all 0.5s;
    z-index: 997;
}

    .header .logo {
        line-height: 1;
    }

        .header .logo img {
            max-height: 36px;
            margin-right: 8px;
        }

        .header .logo h1 {
            font-weight: 700;
            font-size: 30px;
            margin: 0;
            letter-spacing: 1px;
            text-transform: uppercase;
            color: var(--accent-color);
        }

    .header .btn-getstarted,
    .header .btn-getstarted:focus {
        color: var(--contrast-color);
        background: var(--accent-color);
        font-size: 14px;
        padding: 8px 25px;
        margin: 0 0 0 30px;
        border-radius: 50px;
        transition: 0.3s;
    }

        .header .btn-getstarted:hover,
        .header .btn-getstarted:focus:hover {
            color: var(--contrast-color);
            background: color-mix(in srgb, var(--accent-color), transparent 15%);
        }

@media (max-width: 1200px) {
    .header .logo {
        order: 1;
    }

    .header .btn-getstarted {
        order: 2;
        margin: 0 15px 0 0;
        padding: 6px 15px;
    }

    .header .navmenu {
        order: 3;
    }
}

.scrolled .header {
    box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
    .navmenu {
        padding: 0;
    }

        .navmenu ul {
            margin: 0;
            padding: 0;
            display: flex;
            list-style: none;
            align-items: center;
        }

        .navmenu li {
            position: relative;
        }

        .navmenu a,
        .navmenu a:focus {
            color: var(--nav-color);
            padding: 18px 15px;
            font-size: 16px;
            font-family: var(--nav-font);
            font-weight: 400;
            display: flex;
            align-items: center;
            justify-content: space-between;
            white-space: nowrap;
            transition: 0.3s;
        }

            .navmenu a i,
            .navmenu a:focus i {
                font-size: 12px;
                line-height: 0;
                margin-left: 5px;
                transition: 0.3s;
            }

        .navmenu li:last-child a {
            padding-right: 0;
        }

        .navmenu li:hover > a,
        .navmenu .active,
        .navmenu .active:focus {
            color: var(--nav-hover-color);
        }

        .navmenu .dropdown ul {
            margin: 0;
            padding: 10px 0;
            background: var(--nav-dropdown-background-color);
            display: block;
            position: absolute;
            visibility: hidden;
            left: 14px;
            top: 130%;
            opacity: 0;
            transition: 0.3s;
            border-radius: 4px;
            z-index: 99;
            box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
        }

            .navmenu .dropdown ul li {
                min-width: 200px;
            }

            .navmenu .dropdown ul a {
                padding: 10px 20px;
                font-size: 15px;
                text-transform: none;
                color: var(--nav-dropdown-color);
            }

                .navmenu .dropdown ul a i {
                    font-size: 12px;
                }

                .navmenu .dropdown ul a:hover,
                .navmenu .dropdown ul .active:hover,
                .navmenu .dropdown ul li:hover > a {
                    color: var(--nav-dropdown-hover-color);
                }

        .navmenu .dropdown:hover > ul {
            opacity: 1;
            top: 100%;
            visibility: visible;
        }

        .navmenu .dropdown .dropdown ul {
            top: 0;
            left: -90%;
            visibility: hidden;
        }

        .navmenu .dropdown .dropdown:hover > ul {
            opacity: 1;
            top: 0;
            left: -100%;
            visibility: visible;
        }
}

/* ========================
   Navmenu - Mobile Mejorado
   ======================== */
@media (max-width: 1199px) {

    /* Botón hamburguesa */
    .mobile-nav-toggle {
        color: var(--nav-color);
        font-size: 30px;
        cursor: pointer;
        transition: color 0.3s, transform 0.3s;
        z-index: 10000;
        position: relative;
    }

        .mobile-nav-toggle:hover {
            color: var(--accent-color);
            transform: scale(1.1);
        }

    /* Contenedor del menú */
    .navmenu {
        padding: 0;
        z-index: 9997;
        position: relative;
    }

        .navmenu ul {
            display: none;
            list-style: none;
            position: fixed;
            inset: 0;
            padding: 20px;
            margin: 0;
            background-color: var(--nav-mobile-background-color, #fff);
            border-radius: 10px;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
            overflow-y: auto;
            transition: all 0.3s ease-in-out;
            max-width: 400px;
            width: 90%;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
        }

        .navmenu a,
        .navmenu a:focus {
            color: var(--nav-dropdown-color, #333);
            padding: 12px 15px;
            font-family: var(--nav-font, sans-serif);
            font-size: 16px;
            font-weight: 500;
            display: flex;
            justify-content: space-between;
            align-items: center;
            text-decoration: none;
            border-radius: 6px;
            transition: background 0.3s, color 0.3s;
        }

            .navmenu a:hover,
            .navmenu .active,
            .navmenu .active:focus {
                background-color: var(--accent-color, #007bff);
                color: var(--contrast-color, #fff);
            }

            .navmenu a i {
                font-size: 14px;
                margin-left: 5px;
                display: flex;
                align-items: center;
                justify-content: center;
                border-radius: 50%;
                transition: background 0.3s, color 0.3s, transform 0.3s;
            }

        .navmenu .dropdown ul {
            display: none;
            padding: 10px 0;
            margin-left: 15px;
            background-color: rgba(0, 0, 0, 0.05);
            border-radius: 6px;
            transition: all 0.3s ease-in-out;
        }

        .navmenu .dropdown > .dropdown-active {
            display: block;
        }

    /* Estado menú activo */
    .mobile-nav-active {
        overflow: hidden;
    }

        .mobile-nav-active .mobile-nav-toggle {
            position: fixed;
            top: 20px;
            right: 20px;
            font-size: 32px;
            color: #fff;
        }

        .mobile-nav-active .navmenu > ul {
            display: block;
        }

    /* Evitar scroll horizontal */
    html, body {
        overflow-x: hidden;
    }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
    color: var(--default-color);
    background-color: var(--background-color);
    font-size: 14px;
    padding-bottom: 50px;
    position: relative;
}

    .footer .footer-top {
        padding-top: 50px;
    }

    .footer .footer-about .logo {
        margin-bottom: 0;
    }

        .footer .footer-about .logo img {
            max-height: 40px;
            margin-right: 6px;
        }

        .footer .footer-about .logo span {
            font-size: 26px;
            font-weight: 700;
            letter-spacing: 1px;
            font-family: var(--heading-font);
            color: var(--heading-color);
        }

    .footer .footer-about p {
        font-size: 14px;
        font-family: var(--heading-font);
    }

    .footer .social-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
        font-size: 16px;
        color: color-mix(in srgb, var(--default-color), transparent 30%);
        margin-right: 10px;
        transition: 0.3s;
    }

        .footer .social-links a:hover {
            color: var(--accent-color);
            border-color: var(--accent-color);
        }

    .footer h4 {
        font-size: 16px;
        font-weight: bold;
        position: relative;
        padding-bottom: 12px;
    }

    .footer .footer-links {
        margin-bottom: 30px;
    }

        .footer .footer-links ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

            .footer .footer-links ul i {
                padding-right: 2px;
                font-size: 12px;
                line-height: 0;
            }

            .footer .footer-links ul li {
                padding: 10px 0;
                display: flex;
                align-items: center;
            }

                .footer .footer-links ul li:first-child {
                    padding-top: 0;
                }

            .footer .footer-links ul a {
                color: color-mix(in srgb, var(--default-color), transparent 30%);
                display: inline-block;
                line-height: 1;
            }

                .footer .footer-links ul a:hover {
                    color: var(--accent-color);
                }

    .footer .footer-contact p {
        margin-bottom: 5px;
    }

    .footer .footer-newsletter .newsletter-form {
        margin-top: 30px;
        margin-bottom: 15px;
        padding: 6px 8px;
        position: relative;
        border-radius: 50px;
        border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
        display: flex;
        background-color: var(--surface-color);
        transition: 0.3s;
    }

        .footer .footer-newsletter .newsletter-form:focus-within {
            border-color: var(--accent-color);
        }

        .footer .footer-newsletter .newsletter-form input[type=email] {
            border: 0;
            padding: 4px 8px;
            width: 100%;
            background-color: var(--surface-color);
            color: var(--default-color);
        }

            .footer .footer-newsletter .newsletter-form input[type=email]:focus-visible {
                outline: none;
            }

        .footer .footer-newsletter .newsletter-form input[type=submit] {
            border: 0;
            font-size: 16px;
            padding: 0 20px 2px 20px;
            margin: -7px -8px -7px 0;
            background: var(--accent-color);
            color: var(--contrast-color);
            transition: 0.3s;
            border-radius: 50px;
        }

            .footer .footer-newsletter .newsletter-form input[type=submit]:hover {
                background: color-mix(in srgb, var(--accent-color), transparent 20%);
            }

    .footer .copyright {
        padding-top: 25px;
        padding-bottom: 25px;
        background-color: color-mix(in srgb, var(--default-color), transparent 95%);
    }

        .footer .copyright p {
            margin-bottom: 0;
        }

    .footer .credits {
        margin-top: 6px;
        font-size: 13px;
    }

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    overflow: hidden;
    background: var(--background-color);
    transition: all 0.6s ease-out;
}

    #preloader:before {
        content: "";
        position: fixed;
        top: calc(50% - 30px);
        left: calc(50% - 30px);
        border: 6px solid #ffffff;
        border-color: var(--accent-color) transparent var(--accent-color) transparent;
        border-radius: 50%;
        width: 60px;
        height: 60px;
        animation: animate-preloader 1.5s linear infinite;
    }

@keyframes animate-preloader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: -15px;
    z-index: 99999;
    background-color: var(--accent-color);
    width: 44px;
    height: 44px;
    border-radius: 50px;
    transition: all 0.4s;
}

    .scroll-top i {
        font-size: 24px;
        color: var(--contrast-color);
        line-height: 0;
    }

    .scroll-top:hover {
        background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
        color: var(--contrast-color);
    }

    .scroll-top.active {
        visibility: visible;
        opacity: 1;
        bottom: 15px;
    }


/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
    [data-aos-delay] {
        transition-delay: 0 !important;
    }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
    --default-color: var(--contrast-color);
    --background-color: var(--accent-color);
    --heading-color: var(--contrast-color);
    color: var(--default-color);
    background-color: var(--background-color);
    position: relative;
}

    .page-title .heading {
        padding: 80px 0;
        border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    }

        .page-title .heading h1 {
            font-size: 38px;
            font-weight: 700;
        }

    .page-title nav {
        background-color: color-mix(in srgb, var(--accent-color) 90%, black 5%);
        padding: 20px 0;
    }

        .page-title nav a {
            color: var(--default-color);
        }

        .page-title nav ol {
            display: flex;
            flex-wrap: wrap;
            list-style: none;
            margin: 0;
            font-size: 16px;
            font-weight: 600;
        }

            .page-title nav ol li + li {
                padding-left: 10px;
            }

                .page-title nav ol li + li::before {
                    content: "/";
                    display: inline-block;
                    padding-right: 10px;
                    color: color-mix(in srgb, var(--default-color), transparent 70%);
                }

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 60px 0;
    scroll-margin-top: 900px;
    overflow: clip;
}

@media (max-width: 1199px) {

    section,
    .section {
        scroll-margin-top: 66px;
    }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
    padding-bottom: 60px;
    position: relative;
}

    .section-title h2 {
        font-size: 14px;
        font-weight: 500;
        padding: 0;
        line-height: 1px;
        margin: 0;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        color: color-mix(in srgb, var(--default-color), transparent 50%);
        position: relative;
    }

        .section-title h2::after {
            content: "";
            width: 120px;
            height: 1px;
            display: inline-block;
            background: var(--accent-color);
            margin: 4px 10px;
        }

    .section-title p {
        color: var(--heading-color);
        margin: 0;
        font-size: 36px;
        font-weight: 700;
        font-family: var(--nav-font);
        text-transform: uppercase;
    }

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
    width: 100%;
    min-height: 80vh;
    position: relative;
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--default-color);
}

    .hero img {
        position: absolute;
        inset: 0;
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 1;
    }

    .hero:before {
        content: "";
        background: color-mix(in srgb, var(--background-color), transparent 60%);
        position: absolute;
        inset: 0;
        z-index: 2;
    }

    .hero .container {
        position: relative;
        z-index: 3;
    }

    .hero h2 {
        margin: 0;
        font-size: 48px;
        font-weight: 700;
    }

    .hero p {
        color: color-mix(in srgb, var(--default-color), transparent 20%);
        margin: 10px 0 0 0;
        font-size: 24px;
    }

    .hero .btn-get-started {
        font-weight: 500;
        font-size: 15px;
        letter-spacing: 1px;
        display: inline-block;
        padding: 8px 35px 10px 35px;
        border-radius: 50px;
        transition: 0.4s;
        margin-top: 30px;
        border: 2px solid var(--default-color);
        color: var(--default-color);
    }

        .hero .btn-get-started:hover {
            background: var(--accent-color);
            border: 2px solid var(--accent-color);
        }

@media (max-width: 768px) {
    .hero h2 {
        font-size: 32px;
    }

    .hero p {
        font-size: 18px;
    }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h3 {
    font-size: 2rem;
    font-weight: 700;
}

.about .content ul {
    list-style: none;
    padding: 0;
}

    .about .content ul li {
        padding-bottom: 10px;
    }

    .about .content ul i {
        font-size: 1.25rem;
        margin-right: 4px;
        color: var(--accent-color);
    }

.about .content p:last-child {
    margin-bottom: 0;
}

.about .content .read-more {
    background: var(--accent-color);
    color: var(--contrast-color);
    font-family: var(--heading-font);
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 1px;
    padding: 10px 24px 12px 24px;
    border-radius: 50px;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .about .content .read-more i {
        font-size: 18px;
        margin-left: 5px;
        line-height: 0;
        transition: 0.3s;
    }

    .about .content .read-more:hover {
        background: color-mix(in srgb, var(--accent-color), transparent 20%);
        padding-right: 19px;
    }

        .about .content .read-more:hover i {
            margin-left: 10px;
        }

/*--------------------------------------------------------------
# Counts Section
--------------------------------------------------------------*/
.counts {
    padding: 25px 0;
}

    .counts .stats-item {
        padding: 30px;
        width: 100%;
    }

        .counts .stats-item span {
            font-size: 48px;
            display: block;
            color: var(--accent-color);
            font-weight: 700;
        }

        .counts .stats-item p {
            color: color-mix(in srgb, var(--default-color), transparent 40%);
            padding: 0;
            margin: 0;
            font-family: var(--heading-font);
            font-size: 15px;
            font-weight: 600;
        }

/*--------------------------------------------------------------
# Why Us Section
--------------------------------------------------------------*/
.why-us .why-box {
    color: var(--contrast-color);
    background: var(--accent-color);
    padding: 30px;
}

    .why-us .why-box h3 {
        color: var(--contrast-color);
        font-weight: 700;
        font-size: 34px;
        margin-bottom: 30px;
    }

    .why-us .why-box p {
        margin-bottom: 30px;
    }

    .why-us .why-box .more-btn {
        display: inline-block;
        background: color-mix(in srgb, var(--contrast-color), transparent 85%);
        padding: 8px 40px 10px 40px;
        color: var(--contrast-color);
        transition: all ease-in-out 0.4s;
        border-radius: 50px;
    }

        .why-us .why-box .more-btn i {
            font-size: 14px;
        }

        .why-us .why-box .more-btn:hover {
            color: var(--accent-color);
            background: var(--surface-color);
        }

.why-us .icon-box {
    background-color: var(--surface-color);
    text-align: center;
    padding: 40px 30px;
    width: 100%;
    height: 100%;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

    .why-us .icon-box i {
        color: var(--accent-color);
        font-size: 32px;
        margin-bottom: 30px;
        background: color-mix(in srgb, var(--accent-color), transparent 95%);
        border-radius: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 72px;
        height: 72px;
        transition: 0.3s;
    }

    .why-us .icon-box h4 {
        font-size: 20px;
        font-weight: 700;
        margin: 0 0 30px 0;
    }

    .why-us .icon-box p {
        font-size: 15px;
        color: color-mix(in srgb, var(--default-color), transparent 30%);
    }

    .why-us .icon-box:hover i {
        color: var(--contrast-color);
        background: var(--accent-color);
    }

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features {
    padding: 10px 0;
}

    .features .features-item {
        background-color: var(--surface-color);
        display: flex;
        align-items: center;
        padding: 20px;
        transition: 0.3s;
        border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
        position: relative;
    }

        .features .features-item i {
            font-size: 32px;
            padding-right: 10px;
            line-height: 0;
        }

        .features .features-item h3 {
            font-weight: 700;
            margin: 0;
            padding: 0;
            line-height: 1;
            font-size: 16px;
        }

            .features .features-item h3 a {
                color: var(--heading-color);
                transition: 0.3s;
            }

        .features .features-item:hover {
            border-color: var(--accent-color);
        }

            .features .features-item:hover h3 a {
                color: var(--accent-color);
            }

/*--------------------------------------------------------------
# Courses Section
--------------------------------------------------------------*/
.courses .course-item {
    background-color: var(--surface-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    border-radius: 5px;
}

.courses .course-content {
    padding: 15px;
}

    .courses .course-content h3 {
        font-weight: 700;
        font-size: 20px;
    }

        .courses .course-content h3 a {
            color: var(--heading-color);
            transition: 0.3s;
        }

            .courses .course-content h3 a:hover {
                color: var(--accent-color);
            }

    .courses .course-content .category {
        background: var(--accent-color);
        color: var(--contrast-color);
        font-size: 14px;
        padding: 6px 14px;
        margin: 0;
        border-radius: 5px;
    }

    .courses .course-content .price {
        margin: 0;
        font-weight: 700;
        font-size: 18px;
        color: color-mix(in srgb, var(--default-color), transparent 20%);
    }

    .courses .course-content .description {
        font-size: 14px;
        color: color-mix(in srgb, var(--default-color), transparent 20%);
    }

.courses .trainer {
    padding-top: 15px;
    border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

    .courses .trainer .trainer-profile img {
        max-width: 50px;
        border-radius: 50px;
    }

    .courses .trainer .trainer-profile .trainer-link {
        padding-left: 10px;
        font-weight: 600;
        font-size: 16px;
        color: color-mix(in srgb, var(--default-color), transparent 20%);
        transition: 0.3s;
    }

        .courses .trainer .trainer-profile .trainer-link:hover {
            color: var(--accent-color);
        }

    .courses .trainer .trainer-rank {
        font-size: 18px;
        color: color-mix(in srgb, var(--default-color), transparent 60%);
    }

        .courses .trainer .trainer-rank .user-icon {
            font-size: 22px;
        }

/*--------------------------------------------------------------
# Trainers Index Section
--------------------------------------------------------------*/
.trainers-index .member {
    background-color: var(--surface-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    text-align: center;
    margin-bottom: 20px;
}

    .trainers-index .member img {
        margin: -1px -1px 30px -1px;
    }

    .trainers-index .member .member-content {
        padding: 0 20px 30px 20px;
    }

    .trainers-index .member h4 {
        font-weight: 700;
        margin-bottom: 2px;
        font-size: 18px;
    }

    .trainers-index .member span {
        font-style: italic;
        display: block;
        font-size: 13px;
        color: color-mix(in srgb, var(--default-color), transparent 20%);
    }

    .trainers-index .member p {
        padding-top: 10px;
        font-size: 14px;
        font-style: italic;
        color: color-mix(in srgb, var(--default-color), transparent 40%);
    }

    .trainers-index .member .social {
        margin-top: 15px;
    }

        .trainers-index .member .social a {
            color: color-mix(in srgb, var(--default-color), transparent 60%);
            transition: 0.3s;
        }

            .trainers-index .member .social a:hover {
                color: var(--accent-color);
            }

        .trainers-index .member .social i {
            font-size: 18px;
            margin: 0 2px;
        }

/*--------------------------------------------------------------
# About Us Section
--------------------------------------------------------------*/
.about-us .content h3 {
    font-size: 2rem;
    font-weight: 700;
}

.about-us .content ul {
    list-style: none;
    padding: 0;
}

    .about-us .content ul li {
        padding-bottom: 10px;
    }

    .about-us .content ul i {
        font-size: 1.25rem;
        margin-right: 4px;
        color: var(--accent-color);
    }

.about-us .content p:last-child {
    margin-bottom: 0;
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonial-wrap {
    padding-left: 50px;
}

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
    overflow: hidden;
}

.testimonials .testimonial-item {
    background-color: var(--surface-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-sizing: content-box;
    padding: 30px 30px 30px 60px;
    margin: 30px 15px;
    min-height: 200px;
    position: relative;
}

    .testimonials .testimonial-item .testimonial-img {
        width: 90px;
        border-radius: 10px;
        border: 6px solid var(--background-color);
        position: absolute;
        left: -45px;
    }

    .testimonials .testimonial-item h3 {
        font-size: 18px;
        font-weight: bold;
        margin: 10px 0 5px 0;
    }

    .testimonials .testimonial-item h4 {
        color: color-mix(in srgb, var(--default-color), transparent 50%);
        font-size: 14px;
        margin: 0;
    }

    .testimonials .testimonial-item .stars {
        margin: 10px 0;
    }

        .testimonials .testimonial-item .stars i {
            color: #ffc107;
            margin: 0 1px;
        }

    .testimonials .testimonial-item .quote-icon-left,
    .testimonials .testimonial-item .quote-icon-right {
        color: color-mix(in srgb, var(--accent-color), transparent 60%);
        font-size: 26px;
        line-height: 0;
    }

    .testimonials .testimonial-item .quote-icon-left {
        display: inline-block;
        left: -5px;
        position: relative;
    }

    .testimonials .testimonial-item .quote-icon-right {
        display: inline-block;
        right: -5px;
        position: relative;
        top: 10px;
        transform: scale(-1, -1);
    }

    .testimonials .testimonial-item p {
        font-style: italic;
        margin: 15px auto 15px auto;
    }

.testimonials .swiper-wrapper {
    height: auto;
}

.testimonials .swiper-pagination {
    margin-top: 20px;
    position: relative;
}

    .testimonials .swiper-pagination .swiper-pagination-bullet {
        width: 12px;
        height: 12px;
        background-color: var(--background-color);
        opacity: 1;
        border: 1px solid var(--accent-color);
    }

    .testimonials .swiper-pagination .swiper-pagination-bullet-active {
        background-color: var(--accent-color);
    }

@media (max-width: 767px) {
    .testimonials .testimonial-wrap {
        padding-left: 0;
    }

    .testimonials .testimonials-carousel,
    .testimonials .testimonials-slider {
        overflow: hidden;
    }

    .testimonials .testimonial-item {
        padding: 30px;
        margin: 15px;
    }

        .testimonials .testimonial-item .testimonial-img {
            position: static;
            left: auto;
        }
}

/*--------------------------------------------------------------
# Courses Course Details Section
--------------------------------------------------------------*/
.courses-course-details {
    padding-bottom: 20px;
}

    .courses-course-details h3 {
        font-size: 24px;
        margin: 30px 0 15px 0;
        font-weight: 700;
        position: relative;
        padding-bottom: 10px;
    }

        .courses-course-details h3:before {
            content: "";
            position: absolute;
            display: block;
            width: 100%;
            height: 1px;
            background: color-mix(in srgb, var(--default-color), transparent 90%);
            bottom: 0;
            left: 0;
        }

        .courses-course-details h3:after {
            content: "";
            position: absolute;
            display: block;
            width: 60px;
            height: 1px;
            background: var(--accent-color);
            bottom: 0;
            left: 0;
        }

    .courses-course-details .course-info {
        background: color-mix(in srgb, var(--default-color), transparent 95%);
        padding: 10px 15px;
        margin-bottom: 15px;
    }

        .courses-course-details .course-info h5 {
            font-weight: 400;
            font-size: 16px;
            margin: 0;
            font-family: var(--nav-font);
        }

        .courses-course-details .course-info p {
            margin: 0;
            font-weight: 600;
        }

        .courses-course-details .course-info a {
            color: var(--accent-color);
        }

/*--------------------------------------------------------------
# Tabs Section
--------------------------------------------------------------*/
.tabs {
    padding-top: 30;
}

    .tabs .nav-tabs {
        border: 0;
    }

    .tabs .nav-link {
        background-color: var(--background-color);
        border: 0;
        padding: 12px 15px;
        transition: 0.3s;
        color: var(--default-color);
        border-radius: 0;
        border-right: 2px solid color-mix(in srgb, var(--default-color), transparent 90%);
        font-weight: 600;
        font-size: 15px;
    }

        .tabs .nav-link:hover {
            color: var(--accent-color);
        }

        .tabs .nav-link.active {
            background-color: var(--surface-color);
            color: var(--accent-color);
            border-color: var(--accent-color);
        }

    .tabs .tab-pane.active {
        animation: fadeIn 0.5s ease-out;
    }

    .tabs .details h3 {
        font-size: 26px;
        font-weight: 600;
        margin-bottom: 20px;
    }

    .tabs .details p {
        color: color-mix(in srgb, var(--default-color), transparent 20%);
    }

        .tabs .details p:last-child {
            margin-bottom: 0;
        }

@media (max-width: 992px) {
    .tabs .nav-link {
        border: 0;
        padding: 15px;
    }

        .tabs .nav-link.active {
            color: var(--accent-color);
            background: var(--accent-color);
        }
}

/*--------------------------------------------------------------
# Trainers Section
--------------------------------------------------------------*/
.trainers .member {
    position: relative;
}

    .trainers .member .member-img {
        margin: 0 80px;
        border-radius: 50%;
        overflow: hidden;
        position: relative;
    }

@media (max-width: 1024px) {
    .trainers .member .member-img {
        margin: 0 60px;
    }
}

.trainers .member .member-img img {
    position: relative;
    z-index: 1;
}

.trainers .member .member-img .social {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    padding-bottom: 20px;
    transition: 0.3s;
    visibility: hidden;
    opacity: 0;
}

    .trainers .member .member-img .social a {
        transition: 0.3s;
        color: var(--contrast-color);
        font-size: 20px;
        margin: 0 8px;
    }

        .trainers .member .member-img .social a:hover {
            color: var(--accent-color);
        }

.trainers .member .member-info {
    margin-top: 30px;
}

    .trainers .member .member-info h4 {
        font-weight: 700;
        margin-bottom: 6px;
        font-size: 18px;
    }

    .trainers .member .member-info span {
        font-style: italic;
        display: block;
        font-size: 15px;
        color: color-mix(in srgb, var(--default-color), transparent 40%);
        margin-bottom: 10px;
    }

    .trainers .member .member-info p {
        margin-bottom: 0;
        font-size: 14px;
    }

.trainers .member:hover .member-img .social {
    padding-bottom: 0;
    visibility: visible;
    opacity: 1;
}

/*--------------------------------------------------------------
# Events Section
--------------------------------------------------------------*/
.events .card {
    background-color: var(--background-color);
    border: 0;
    padding: 0 30px;
    margin-bottom: 60px;
    position: relative;
}

.events .card-img {
    width: calc(100% + 60px);
    margin-left: -30px;
    overflow: hidden;
    z-index: 9;
    border-radius: 0;
}

    .events .card-img img {
        max-width: 100%;
        transition: all 0.3s ease-in-out;
    }

.events .card-body {
    z-index: 10;
    background: var(--surface-color);
    border-top: 4px solid var(--surface-color);
    padding: 30px;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
    margin-top: -60px;
    transition: 0.3s;
}

.events .card-title {
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

    .events .card-title a {
        color: var(--default-color);
        transition: 0.3s;
    }

.events .card-text {
    color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.events .card:hover img {
    transform: scale(1.1);
}

.events .card:hover .card-body {
    border-color: var(--accent-color);
}

    .events .card:hover .card-body .card-title a {
        color: var(--accent-color);
    }

/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/
.pricing .pricing-item {
    background-color: var(--surface-color);
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}

    .pricing .pricing-item h3 {
        margin: -20px -20px 20px -20px;
        padding: 20px 15px;
        font-size: 16px;
        font-weight: 600;
        color: color-mix(in srgb, var(--default-color), transparent 20%);
        background: color-mix(in srgb, var(--default-color), transparent 95%);
    }

    .pricing .pricing-item h4 {
        font-size: 36px;
        font-weight: 600;
        font-family: var(--heading-font);
    }

        .pricing .pricing-item h4 sup {
            font-size: 20px;
            top: -15px;
            left: -3px;
        }

        .pricing .pricing-item h4 span {
            color: color-mix(in srgb, var(--default-color), transparent 40%);
            font-size: 16px;
            font-weight: 300;
        }

    .pricing .pricing-item ul {
        padding: 15px 0;
        list-style: none;
        text-align: center;
        line-height: 20px;
        font-size: 14px;
    }

        .pricing .pricing-item ul li {
            padding-bottom: 16px;
        }

        .pricing .pricing-item ul i {
            color: var(--accent-color);
            font-size: 18px;
            padding-right: 4px;
        }

        .pricing .pricing-item ul .na {
            color: color-mix(in srgb, var(--default-color), transparent 40%);
            text-decoration: line-through;
        }

.pricing .btn-wrap {
    background: color-mix(in srgb, var(--default-color), transparent 95%);
    margin: 0 -20px -20px -20px;
    padding: 20px 15px;
    text-align: center;
}

.pricing .btn-buy {
    background: var(--accent-color);
    color: var(--contrast-color);
    display: inline-block;
    padding: 8px 35px 10px 35px;
    border-radius: 4px;
    transition: none;
    font-size: 14px;
    font-weight: 400;
    font-family: var(--heading-font);
    font-weight: 600;
    transition: 0.3s;
}

    .pricing .btn-buy:hover {
        background: color-mix(in srgb, var(--accent-color), transparent 20%);
    }

.pricing .featured h3 {
    background: var(--accent-color);
    color: var(--contrast-color);
}

.pricing .advanced {
    background: var(--accent-color);
    color: var(--contrast-color);
    width: 200px;
    position: absolute;
    top: 18px;
    right: -68px;
    transform: rotate(45deg);
    z-index: 1;
    font-size: 14px;
    padding: 1px 0 3px 0;
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact {
    padding-top: 8px;
    padding-bottom: 40px;
}

    .contact .info-item + .info-item {
        margin-top: 40px;
    }

    .contact .info-item i {
        color: var(--contrast-color);
        background: var(--accent-color);
        font-size: 20px;
        width: 48px;
        height: 48px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 50px;
        transition: all 0.3s ease-in-out;
        margin-right: 15px;
    }

    .contact .info-item h3 {
        padding: 0;
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 5px;
    }

    .contact .info-item p {
        padding: 0;
        margin-bottom: 0;
        font-size: 14px;
    }

    .contact .php-email-form {
        height: 100%;
    }

        .contact .php-email-form input[type=text],
        .contact .php-email-form input[type=email],
        .contact .php-email-form textarea {
            font-size: 14px;
            padding: 10px 15px;
            box-shadow: none;
            border-radius: 0;
            color: var(--default-color);
            background-color: color-mix(in srgb, var(--background-color), transparent 50%);
            border-color: color-mix(in srgb, var(--default-color), transparent 80%);
        }

            .contact .php-email-form input[type=text]:focus,
            .contact .php-email-form input[type=email]:focus,
            .contact .php-email-form textarea:focus {
                border-color: var(--accent-color);
            }

            .contact .php-email-form input[type=text]::placeholder,
            .contact .php-email-form input[type=email]::placeholder,
            .contact .php-email-form textarea::placeholder {
                color: color-mix(in srgb, var(--default-color), transparent 70%);
            }

        .contact .php-email-form button[type=submit] {
            color: var(--contrast-color);
            background: var(--accent-color);
            border: 0;
            padding: 10px 30px 12px 30px;
            transition: 0.4s;
            border-radius: 50px;
        }

            .contact .php-email-form button[type=submit]:hover {
                background: color-mix(in srgb, var(--accent-color), transparent 20%);
            }

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
    /* Add your styles here */

}


.mensaje-exito {
    color: #155724;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
    font-weight: bold;
    display: block;
}


.validator-msg {
    color: red;
    font-size: 1.5rem; /* 🔺 Aumentado tamaño de letra */
    font-weight: bold; /* 🔸 Más destacada */
    margin-top: 6px;
    display: none;
}

    .validator-msg:not(:empty) {
        display: block;
    }

.session-bar {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}



/* Estilo uniforme para nombre de usuario */
.nombre-usuario {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    margin-right: 8px;
    white-space: nowrap;
}

/* Estilo de los botones de sesión */
.btn-cerrar-sesion,
.btn-iniciar-sesion {
    font-size: 14px !important;
    padding: 4px 12px !important;
    line-height: 1.4 !important;
    border-radius: 4px !important;
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
}

/* Botón cerrar sesión específico */
.btn-cerrar-sesion {
    background-color: transparent;
    color: #dc3545;
    border: 1px solid #dc3545;
}

/* Botón iniciar sesión específico */
.btn-iniciar-sesion {
    background-color: #0d6efd;
    color: white;
    border: none;
}

    /* Íconos alineados */
    .btn-cerrar-sesion i,
    .btn-iniciar-sesion i {
        font-size: 16px;
    }





/* CatalogoAdmin Imagenes */

.tabla-imagenes {
    margin: 20px auto;
    border-collapse: collapse;
    width: 80%;
    text-align: center;
}

    .tabla-imagenes th {
        background-color: #3498db;
        color: white;
        padding: 10px;
        border-radius: 4px;
    }

    .tabla-imagenes td {
        padding: 12px;
        vertical-align: middle;
        border-bottom: 1px solid #eee;
    }

/* Botón icono */
.btn-icon {
    display: inline-block;
    padding: 8px 10px;
    margin: 4px;
    border-radius: 8px;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: transform .12s ease, opacity .12s ease;
}

/* Colores */
.btn-editar {
    background: #27ae60;
}

    .btn-editar:hover {
        transform: translateY(-2px);
    }

.btn-eliminar {
    background: #e74c3c;
}

    .btn-eliminar:hover {
        transform: translateY(-2px);
    }

.btn-guardar {
    background: #2980b9;
}

    .btn-guardar:hover {
        transform: translateY(-2px);
    }

.btn-cancelar {
    background: #95a5a6;
}

    .btn-cancelar:hover {
        transform: translateY(-2px);
    }







/* CatalogoAdmin Precios */

/* Centrar tabla */
.tabla-precios {
    margin: auto;
    border-collapse: collapse;
    width: 80%;
}

    /* Cabecera */
    .tabla-precios th {
        background-color: #3498db;
        color: white;
        padding: 10px;
        text-align: center;
    }

    /* Celdas */
    .tabla-precios td {
        padding: 10px 15px;
        border-bottom: 1px solid #ddd;
        vertical-align: middle;
        text-align: center;
    }

    /* Botones */
    .tabla-precios input[type=submit],
    .tabla-precios input[type=button] {
        padding: 6px 12px;
        border-radius: 6px;
        border: none;
        font-weight: bold;
        cursor: pointer;
        transition: 0.3s ease;
    }

    /* Editar */
    .tabla-precios input[value=Editar] {
        background-color: #27ae60;
        color: white;
    }

        .tabla-precios input[value=Editar]:hover {
            background-color: #2ecc71;
        }

    /* Actualizar */
    .tabla-precios input[value=Actualizar] {
        background-color: #2980b9;
        color: white;
    }

        .tabla-precios input[value=Actualizar]:hover {
            background-color: #3498db;
        }

    /* Cancelar */
    .tabla-precios input[value=Cancelar] {
        background-color: #e67e22;
        color: white;
    }

        .tabla-precios input[value=Cancelar]:hover {
            background-color: #f39c12;
        }





.tabla-precios {
    border-collapse: collapse;
    width: auto;
}

    .tabla-precios th {
        background-color: #ff80ab; /* rosa suave */
        color: white;
        padding: 10px;
        text-align: center;
    }

    .tabla-precios td {
        padding: 8px;
        text-align: center;
    }

.btn-editar {
    background-color: #ffca28; /* amarillo */
    border: none;
    padding: 5px 10px;
    border-radius: 6px;
    cursor: pointer;
    color: white;
}

.btn-eliminar {
    background-color: #e57373; /* rojo suave */
    border: none;
    padding: 5px 10px;
    border-radius: 6px;
    cursor: pointer;
    color: white;
}

.btn-guardar {
    background-color: #81c784; /* verde */
    border: none;
    padding: 5px 10px;
    border-radius: 6px;
    cursor: pointer;
    color: white;
}

.btn-cancelar {
    background-color: #90a4ae; /* gris azulado */
    border: none;
    padding: 5px 10px;
    border-radius: 6px;
    cursor: pointer;
    color: white;
}

/* Efecto hover */
.btn-editar:hover {
    background-color: #f4b400;
}

.btn-eliminar:hover {
    background-color: #d32f2f;
}

.btn-guardar:hover {
    background-color: #388e3c;
}

.btn-cancelar:hover {
    background-color: #607d8b;
}


/* Botón verde de "Agregar Imagen" */
.btn-agregar {
    background-color: #28a745; /* verde */
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 5px;
    cursor: pointer;
}

    .btn-agregar:hover {
        background-color: #218838; /* verde más oscuro */
    }



.btn-editar {
    background-color: #2196f3; /* Azul */
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}

    .btn-editar:hover {
        background-color: #1976d2; /* Azul más oscuro al pasar el mouse */
    }

.btn-guardar {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

    .btn-guardar:hover {
        background-color: #45a049;
    }

.btn-cancelar {
    background-color: #777;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

    .btn-cancelar:hover {
        background-color: #555;
    }
/* Centrar verticalmente texto y botones en la tabla */
table td {
    vertical-align: middle;
    padding: 8px 12px;
}

/* Aumentar separación entre filas */
table tr {
    height: 50px;
}







#gvCarrusel {
    border-collapse: collapse;
    width: 100%;
}

    #gvCarrusel tr {
        display: grid;
        grid-template-columns: repeat(3, 1fr); /* 3 columnas */
        gap: 20px; /* espacio entre imágenes */
        border: none;
    }

    #gvCarrusel td {
        text-align: center;
        border: none;
        vertical-align: top;
    }

    #gvCarrusel img {
        width: 100%;
        max-width: 200px;
        border-radius: 10px;
    }






/* Quita el estilo de tabla del GridView */
#gvImagenes table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    display: flex !important;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
}

/* Oculta filas y columnas como tabla */
#gvImagenes tr {
    display: flex !important;
    flex-direction: column;
    border: none !important;
    background: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    width: 180px; /* ancho fijo para que salgan 3 por fila */
    text-align: center;
}

#gvImagenes td {
    border: none !important;
}

/* Imagen */
#gvImagenes img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Botones */
#gvImagenes .btn-icon {
    margin-top: 8px;
    margin-right: 5px;
    border: none;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

#gvImagenes .btn-editar {
    background-color: #4CAF50;
    color: white;
}

#gvImagenes .btn-eliminar {
    background-color: #f44336;
    color: white;
}

#gvImagenes .btn-guardar {
    background-color: #2196F3;
    color: white;
}

#gvImagenes .btn-cancelar {
    background-color: #9E9E9E;
    color: white;
}
/* Centrar el encabezado "Imagen" */
#gvImagenes th {
    width: 100%;
    text-align: center;
    font-weight: bold;
    margin-bottom: 10px;
}


/* Mensaje para CatalogoAdmin */
.mensaje {
    font-weight: bold;
    margin-top: 10px;
    display: block;
    padding: 8px;
    border-radius: 5px;
}

    .mensaje.error {
        color: #a94442;
        background-color: #f2dede;
        border: 1px solid #ebccd1;
    }

    .mensaje.exito {
        color: #3c763d;
        background-color: #dff0d8;
        border: 1px solid #d6e9c6;
    }



.pricing-card h3 {
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    line-height: 1.2;
    white-space: normal; /* permite que el texto se divida en varias líneas */
    overflow-wrap: break-word; /* rompe la palabra solo al final de la línea si es necesario */
    word-break: normal; /* no corta en medio de letras */
}




.galeria {
    margin: 0 auto; /* centra la tabla */
    width: auto !important; /* que no ocupe todo el ancho */
    border-collapse: collapse;
}

    .galeria td {
        text-align: center; /* centra dentro de cada celda */
        padding: 15px 0;
    }

    .galeria img {
        display: block;
        margin: 0 auto;
        width: 150px;
        border-radius: 8px;
    }


/* Links activos en menú */
.menu-item {
    color: black; /* Color por defecto */
    text-decoration: none;
    padding: 10px;
}

    .menu-item:hover {
        color: #007bff; /* Azul al pasar el mouse */
    }

    .menu-item.active {
        color: white; /* Texto blanco en activo */
        background-color: #007bff; /* Fondo azul */
        border-radius: 5px; /* Opcional: bordes redondeados */
    }


/* Links pequeños en Contacto */
.link-pequeno {
    font-size: 0.85rem; /* entre small y fs-6 */
}




/* Precios en Catálogo para móviles */
/* Desktop (igual que ahora) */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    justify-items: center;
}

.pricing-card {
    width: 220px;
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

/* Tablet: 2 columnas */
@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ✅ Móvil: scroll horizontal en Catálogo */
@media (max-width: 576px) {
    .pricing-grid {
        display: flex !important;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 15px;
        padding-bottom: 8px;
    }

        .pricing-grid::-webkit-scrollbar {
            display: none;
        }
    /* opcional */
    .pricing-grid {
        scrollbar-width: none;
    }

    .pricing-card {
        flex: 0 0 auto;
        width: 220px !important;
        min-width: 220px;
    }
}




/* Tabla de precios en Admin */
/* Contenedor de tabla responsive */
.grid-wrapper {
    width: 100%;
    overflow-x: auto; /* habilita scroll horizontal */
    -webkit-overflow-scrolling: touch; /* scroll suave en iOS */
    padding-bottom: 10px; /* espacio debajo de la tabla */
}

/* Ancho mínimo para que las columnas no se reduzcan demasiado */
.tabla-precios {
    width: 100%;
    min-width: 600px; /* ajusta según el número de columnas */
    border-collapse: collapse;
}

    .tabla-precios th,
    .tabla-precios td {
        padding: 8px 12px;
        text-align: left;
        white-space: nowrap; /* evita que el contenido se rompa */
    }

/* Ajuste para móviles */
@media (max-width: 576px) {
    .tabla-precios th,
    .tabla-precios td {
        font-size: 0.9rem; /* letra más pequeña en móvil */
    }
}




/* Formulario de agregar precios en Admin */
.form-nuevo-servicio {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap; /* permite que los campos bajen de línea en móvil */
    margin: 15px 0;
}

    .form-nuevo-servicio input,
    .form-nuevo-servicio .btn {
        min-width: 150px; /* evita que se reduzcan demasiado */
        flex: 1 1 auto; /* ocupa el espacio disponible */
    }

/* Ajuste para móviles */
@media (max-width: 576px) {
    .form-nuevo-servicio input,
    .form-nuevo-servicio .btn {
        flex: 1 1 100%; /* cada campo ocupa toda la fila en móviles */
    }
}




/* Reducir el tamaño del texto y botones en móvil */
@media (max-width: 768px) {
    .admin-wrapper h3 {
        font-size: 1.2rem;
    }

    .search-bar {
        flex-direction: column;
        align-items: stretch;
    }

        .search-bar .btn {
            width: 100%;
        }
}





/* Ancho mínimo y evitar salto de línea */
/* Ancho mínimo y evitar salto de línea */
.col-fecha,
.col-hora {
    white-space: nowrap; /* NO permita saltos de línea */
    min-width: 120px; /* Ajusta el espacio mínimo para que quepa completo */
    text-align: center; /* Opcional: centra el contenido */
}

/* En móvil, permitir scroll horizontal */
.table-responsive {
    overflow-x: auto;
}




/* Fondo modal */
.modal {
    display: none; /* Oculto por defecto */
    position: fixed; /* Fijo sobre la pantalla */
    z-index: 1000; /* Encima de todo */
    left: 0;
    top: 0;
    width: 100%; /* Ancho completo */
    height: 100%; /* Alto completo */
    overflow: auto; /* Scroll si es necesario */
    background-color: rgba(0,0,0,0.5); /* Fondo semitransparente */
}

/* Contenido del modal */
.modal-content {
    background-color: #fff;
    margin: 10% auto; /* Centrado vertical y horizontal */
    padding: 20px;
    border-radius: 8px;
    width: 400px; /* Tamaño por defecto */
    max-width: 90%; /* Máximo ancho 90% en móviles */
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

    /* Botones dentro del modal */
    .modal-content .btn {
        width: 100%; /* Botones de ancho completo en móviles */
        margin-top: 10px;
    }

    /* Pie de página del modal */
    .modal-content small {
        display: block;
        text-align: center;
        color: #888;
        margin-top: 15px;
        font-size: 0.8em;
    }

/* Botón cerrar tipo "X" */
.close {
    cursor: pointer;
    float: right;
    font-size: 28px;
    font-weight: bold;
    color: #333;
}

    .close:hover {
        color: #ff0000;
    }

/* Media queries para pantallas pequeñas */
@media screen and (max-width: 480px) {
    .modal-content {
        margin: 20% 5%; /* Más margen arriba y lados más estrechos */
        width: 90%; /* Ajuste al ancho de pantalla */
        padding: 15px;
    }
}
  

