body {
    background-color: #ffffff;
    color: #333;
    font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.text-playfair {
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    font-weight: auto;
    font-style: normal;
  }

.navbar-brand {
    font-weight: bold;
    color: #6a9f58 !important;
}

.nav-link {
    color: rgba(0,0,0,.7) !important;
}

.nav-link:hover {
    color: rgb(189, 110, 134) !important;
    border-bottom: rgb(189, 110, 134) 2px solid;
}

.text-p{
    color: rgb(189, 110, 134) !important;
}

.text-b{
    color: #fff !important;
}

.bg-p{
    background-color: rgb(189, 110, 134) !important;
    border: rgb(189, 110, 134) !important;;
}

.bg-white{
    background-color: #fff;
    border: #fff;
    color: rgb(189, 110, 134) !important;
    text-shadow: none;
}

.bg-white:hover{    
    color: black !important;    
}

.hero-section {
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-repeat: no-repeat !important;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
}

.hero-section {
    position: relative;
    height: 50vh;
    overflow: hidden;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(5px);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
}

footer {
    background-color: #e0e0e0;
    color: #333;
}

.image-column {
    background-image: url('../img/home/cel-derecho4.png') !important; /* Reemplaza con tu URL de imagen */
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-image {
    background-image: url('../img/home/fondocel5.png') !important;
    /*filter: blur(3px);
    -webkit-filter: blur(3px);*/
    height: 100% !important;
    width: 100%;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}

.bg-image2 {
    /*background-image: url('../img/home/mesas.jpg') !important;*/
    background-color: red;
    /*filter: blur(3px);
    -webkit-filter: blur(3px);*/
    height: 83% !important;
    width: 100%;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}

.bg-overlay{
    background-color: rgb(189, 110, 134);
    opacity: 0.9;
    transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
    height: 83%;
    width: 100%;
    left: 0;
    position: absolute;
}

.bg-text {
    color: #000000;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 100%;
    padding: 20px;
    text-align: justify;
    /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 1.5) !important; */
    font-weight: bolder !important;
}

.bg-text2 {
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 80%;
    padding: 20px;
    text-align: left;
    /*text-shadow: 2px 2px 4px rgba(0, 0, 0, 1.5) !important;*/
    font-weight: bolder !important;
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.loader {
    border: 4px solid #f3f3f3;
    border-radius: 50%;
    border-top: 4px solid #3498db;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    display: none;
}

.card {
    transition: all 0.2s ease;
    cursor: pointer;
}

.card:hover {
    box-shadow: 5px 6px 6px 2px #e9ecef;
    transform: scale(1.1);
}

.social-bar {
    background-color: #8c8c8c;
    color: white;
    text-align: center;
    padding: 2px 0;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1039;
}

.social-bar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.social-bar li {
    margin: 0 10px;
}

.social-bar a {
    color: white;
    text-decoration: none;
    display: block;
}

.social-bar img {
    width: 20px;
    height: 20px;
}

.fixed-topDefault{
    top: 27px !important;
}

.hidden{
    opacity: 0;
}

.navbar-collapse {    
    flex-grow: 0 !important;    
}

.central-vertical {
    display: flex;
    align-items: center;
    justify-content: center;
    /* height: 200px; */
}

.titulo{
    font-size: 3rem;
    line-height: 2.5rem;
    color: rgb(189, 110, 134);
}

.titulo2{
    font-size: 3rem;
    line-height: 2.5rem;
    color: #fff;
}

.text-sub{
    font-family: "Rubik", Sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.16em;
}

.mb-10{
    margin-bottom: 10px;
}

.mb-20{
    margin-bottom: 20px;
}

.mb-40{
    margin-bottom: 40px;
}

.section-mision{
    height: 89vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9); */
}

.text-green{
    color: #93b750 !important;
}

.nav-tabs .nav-link.active {
    background-color: #fff !important;
    border-color: rgb(189, 110, 134) #fff #fff !important;
    border-top: 2px solid transparent;
    font-weight: bold;
}

#tablist>.nav-item{
    background-color: #f6f1f1;
}

.card-img-top {
    height: auto !important;
    object-fit: cover;
}

.subtitulo {
    font-size: 1.9rem;
    line-height: 2.5rem;
    color: #888888 !important;
}

.nav-pills .nav-link.active, .nav-pills .show {
    color: #fff !important;
    background-color: rgb(189, 110, 134) !important;
    border-color: rgb(189, 110, 134) !important;
    border-top: 2px solid transparent !important;
    font-weight: bold !important;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Media Query para pantallas móviles */
@media (max-width: 768px) {
    .hidden-mob {
        display: none;
    }
        
    .titulo {
        font-size: 2.2rem !important;
    }    

    .card-img-top{
        width: 40% !important;
    }

    .div-programas{
        margin-top: -20% !important;
    }

    .div-direccion{
        margin-top: 30px;
        text-align: center !important;
    }

    .img-hacemos{
        height: 320px !important;
    }

    .text-center-m{
        text-align: center !important;
    }
}