/* --------------------------------------------------
:: CSS FCS PROJECT
-------------------------------------------------- */
/***
* text
 */
body {
    margin: 0;
    box-sizing: content-box;
}
a {
    color: #6839ab;
}
a:hover {
    color:  #ff0057;
}
.text-color-primary {
    color: #6839ab;
}
.text-color-secundary {
    color: #51596C;
}
.text-color-tertiary {
    color: #85858d;
}
.text-left {
    text-align: left!important;
}
.text-110 {
    font-size: 1.1em!important;
}
.text-20x {
    font-size:20px;
}
.text-hover-link:hover,
.text-hover-link:focus {
    text-decoration: underline;
}
/***
* style title
 */

h1 {
    position: relative;
    padding: 0;
    margin: 0;
    font-family: "Raleway", sans-serif;
    font-weight: 300;
    font-size: 40px;
    color: #6839ab;
    -webkit-transition: all 0.4s ease 0s;
    -o-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
}

h1 span {
    display: block;
    font-size: 0.5em;
    line-height: 1.3;
}
h1 em {
    font-style: normal;
    font-weight: 600;
}

.one h1 {
    text-align: center;
    text-transform: uppercase;
    padding-bottom: 5px;
    margin-bottom: 30px;
}
.one h1:before {
    width: 28px;
    height: 5px;
    display: block;
    content: "";
    position: absolute;
    bottom: 3px;
    left: 50%;
    margin-left: -14px;
    background-color: #6839ab;
}
.one h1:after {
    width: 100px;
    height: 1px;
    display: block;
    content: "";
    position: relative;
    margin-top: 25px;
    left: 50%;
    margin-left: -50px;
    background-color: #6839ab;
}

.h1-fsc {
    position: relative;
    padding: 0;
    margin: 0;
    font-family: "Raleway", sans-serif;
    font-weight: 300;
    font-size: 40px;
    color: #6839ab;
    -webkit-transition: all 0.4s ease 0s;
    -o-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
    text-align: center;
    text-transform: uppercase;
    padding-bottom: 5px;
    margin-bottom: 30px;
}
.breadcrumb-area-car .breadcrumb-content h2 {
    font-size: 3.5rem;
    color: #848aa6;
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: -1px;
}
.list-group-item {
    color: #85858d;
}
.list-group-item:last-child {
    border-bottom: solid;
}
.list-group-flush>.list-group-item:last-child {
    border-bottom-width: 1px;
    border-bottom-color: #dee2e6;
}
.right {
    text-align: right;
    float: right;
}
.ul-mt-15 >li {
    margin-top: 15px;
}
.h-60 {
    height: 60% !important;
}
.h-70 {
    height: 70% !important;
}
.text-box {
    color: #85858d;
    margin-top:20px;
    display:block;
    overflow:hidden;
    text-overflow:ellipsis;
    font-family: sans-serif;
    line-height: 1.7;
    text-align: left;
}
.center {
    text-align: center;
}
.h-500 {
    min-height: 500px
}
.h-10 {
    min-height: 10vh !important;
}
.h-90 {
    height: 90% !important;
}
    /***
     *  Material-switch
     */
.material-switch > input[type="checkbox"] {
    display: none;
}
.material-switch > label {
    cursor: pointer;
    height: 0;
    position: relative;
    width: 40px;
}
.material-switch > label::before {
    background: rgb(0, 0, 0);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    content: '';
    height: 16px;
    position:absolute;
    opacity: 0.3;
    transition: all 0.4s ease-in-out;
    width: 40px;
}
.material-switch > label::after {
    background: rgb(255, 255, 255);
    border-radius: 16px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    content: '';
    height: 24px;
    left: -5px;
    position: absolute;
    top: -5px;
    transition: all 0.3s ease-in-out;
    width: 24px;
}
.material-switch > input[type="checkbox"]:checked + label::before {
    background: rgba(63, 81, 181, 0.23);
    opacity: 0.5;
}
.material-switch > input[type="checkbox"]:checked + label::after {
    background: #6839ab;
    left: 20px;
}
.material-switch > span {
    margin-left: 20px;
    position: absolute;
}
/***
* color
 */
.bg-color-primary {
    background-color: #6839ab;
}
.color-black {
    color: #222222;
}
.bg-color-00 {
    background-color: rgba(104, 57, 171, 0.13);
}

/***
* panel cookies
 */
.panel-cookies {
    background-color: rgba(0, 0, 0, 0.5);
    bottom: 0;
    color:#fff;
    display: block;
    left: 0;
    min-height: 50px;
    padding-bottom: 10px;
    position:fixed;
    right: 0;
    text-align:center;
    width:100%;
    z-index:99999;
}
.panel-footer-secundary {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px 15px;
    border-top: 1px solid #e7eaec;
    text-align: center;
}
.text-underline {
    text-decoration: underline;
}
/***
* changes in theme.min.css
 */
.content-space-2 {
    padding-top: 2rem!important;
    padding-bottom: 2rem!important;
}

/***
* breadcrumb
 */
.breadcrumb-container {
    background-color: #f8f8f8;
    border-bottom: 1px solid #f4f4f4;
}
/***
 *    Buttons
 */
.button-01 {
    -webkit-transition: all ease-in-out 300ms;
    cursor: pointer;
    background: #6839ab;
    border-radius: 5px;
    border: 1px solid rgba(215, 255, 232, 0.4);
    box-shadow: 0 7px 5px -5px rgba(0, 0, 0, 0.4);
    color: #fff;
    display: inline-block;
    font-size: 12px;
    padding: 5px 5px;
    transition: all ease-in-out 300ms;
}
.button-01:hover {
    color: #fff;
    box-shadow: 0 37px 20px -20px rgba(0, 0, 0, 0.2);
    -webkit-transform: translate(0px, -10px) scale(1.2);
    transform: translate(0px, -2px) scale(1.0);
    background: #ff0057;
}
.button-02 {
    -webkit-transition: all ease-in-out 300ms;
    cursor: pointer;
    background: #85858d;
    border-radius: 5px;
    box-shadow: 0 17px 10px -10px rgba(0, 0, 0, 0.4);
    color: #fff;
    display: inline-block;
    min-width: 100px;
    padding: 8px;
    text-align: center;
    transition: all ease-in-out 300ms;
}
.button-02:hover {
    -webkit-transform: translate(0px, -10px) scale(1.2);
    box-shadow: 0 37px 20px -20px rgba(0, 0, 0, 0.2);
    transform: translate(0px, -2px) scale(1.0);
    background: #333;
    color: #fff;
    text-decoration: none;
}
.button-02-default {
    -webkit-transition: all ease-in-out 300ms;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 5px;
    box-shadow: 0 17px 10px -10px rgba(0, 0, 0, 0.2);
    color: #fff;
    display: inline-block;
    min-width: 100px;
    padding: 8px 8px;
    text-align: center;
    transition: all ease-in-out 300ms;
}
.button-02-default:hover {
    -webkit-transform: translate(0px, -10px) scale(1.2);
    box-shadow: 0 37px 20px -20px rgba(0, 0, 0, 0.2);
    transform: translate(0px, -2px) scale(1.0);
    background: #333;
    color: #fff;
    text-decoration: none;
}
.button-03 {
    -webkit-transition: all ease-in-out 300ms;
    cursor: pointer;
    background: #6839ab;
    border-radius: 5px;
    box-shadow: 0 17px 10px -10px rgba(0, 0, 0, 0.4);
    color: #fff;
    display: inline-block;
    min-width: 180px;
    padding: 10px 10px;
    text-align: center;
    transition: all ease-in-out 300ms;
}
.button-03:hover {
    -webkit-transform: translate(0px, -10px) scale(1.2);
    box-shadow: 0 37px 20px -20px rgba(0, 0, 0, 0.2);
    transform: translate(0px, -2px) scale(1.0);
    background: #333;
    color: #fff;
    text-decoration: none;
}
.button-04 {
    -webkit-transition: all ease-in-out 300ms;
    cursor: pointer;
    background: #6839ab;
    border-radius: 5px;
    box-shadow: 0 17px 10px -10px rgba(0, 0, 0, 0.4);
    color: #fff;
    display: inline-block;
    min-width: 150px;
    padding: 6px 6px;
    text-align: center;
    transition: all ease-in-out 300ms;
}
.button-04:hover {
    -webkit-transform: translate(0px, -10px) scale(1.2);
    box-shadow: 0 37px 20px -20px rgba(0, 0, 0, 0.2);
    transform: translate(0px, -2px) scale(1.0);
    background: #333;
    color: #fff;
    text-decoration: none;
}
.filter-btn-active {
    -webkit-transition: all ease-in-out 300ms;
    cursor: pointer;
    background: #6839ab;
    border-radius: 5px;
    box-shadow: 0 17px 10px -10px rgba(0, 0, 0, 0.4);
    color: #fff;
    display: inline-block;
    min-width: 150px;
    padding: 6px 6px;
    text-align: center;
    transition: all ease-in-out 300ms;
}
/* Contenedor principal: Usamos CSS Grid para la disposición automática */
.grid-container {
    display: grid;
    /* Esto crea columnas automáticas que no bajan de 260px */
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    width: 100%;
    max-width: 1200px;
}

/* Estilo de cada caja/tarjeta */
.data-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-bottom: 4px solid transparent;
}

/***
* services page
 */
.data-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
}
.icon-container {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
    padding: 15px;
    border-radius: 50%;
    background-color: #f8f9fa;
    width: 80px;
    height: 80px;
    line-height: 50px; /* Centrado vertical visual */
    transition: background-color 0.3s ease, color 0.3s ease;
}
.data-card:hover .icon-container {
    background-color: inherit; /* Se llena con el color al hacer hover */
    color: white;
}
.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
    min-height: 70px;
}
.card-desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    min-height: 150px;
}
.card-link {
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    opacity: 0.8;
    transition: opacity 0.3s;
}
.card-fcs-body {
    min-height: 120px;
}

.card-sede { border-bottom-color: #0056b3; }
.card-sede .icon-container { color: #0056b3; }
.card-sede:hover .icon-container { background-color: #0056b3; }
.card-sede .card-link { color: #0056b3; }

.card-transparencia { border-bottom-color: #1abc9c; }
.card-transparencia .icon-container { color: #1abc9c; }
.card-transparencia:hover .icon-container { background-color: #1abc9c; }
.card-transparencia .card-link { color: #1abc9c; }

.card-diversidad { border-bottom-color: #e67e22; }
.card-diversidad .icon-container { color: #e67e22; }
.card-diversidad:hover .icon-container { background-color: #e67e22; }
.card-diversidad .card-link { color: #e67e22; }

.card-social { border-bottom-color: #e74c3c; }
.card-social .icon-container { color: #e74c3c; }
.card-social:hover .icon-container { background-color: #e74c3c; }
.card-social .card-link { color: #e74c3c; }

/***
* banner logos
 */
.partners-banner {
    background-color: #ffffff;
    padding: 40px 0;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.partners-banner h3 {
    color: #333;
    margin-bottom: 30px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    opacity: 0.6;
}
.owl-carousel .item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}
.logo-img {
    max-width: 150px;
    height: auto;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}
.logo-img:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}
.text-brand-purple { color: #4b0082; }
.font-bold { font-weight: 700; }
.text-dark { color: #1f2937; }

/* Icon Colors */
.icon-blue { color: #60a5fa; }
.icon-green { color: #22c55e; }
.icon-orange { color: #fb923c; }
.icon-red { color: #b91c1c; }
