﻿.tab-container{
    background-color: #fff;
    margin: 1.5em 0;
    padding: 5px;
    border-radius: 5px;
}

.tab{
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
    border-radius: 5px 5px 0 0;
    margin-top: .5em;
}

.tab a{
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    font-size: 16px;
    font-weight: bold;
}

.tab a:hover{
    background-color: #C2BA98;
    color: #636569;
}

    .tab a.active {
        background-color: #C2BA98;
        color: #636569;
    }

.tabContent{
    display: none;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-top: none;
    border-radius: 0 0 5px 5px;
}

.tabContent p{
    text-align: center;
    margin: .5em 0;
}

/*Iconos Etica e Integridad*/

.container{
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 1.5em 0;
}

.container .serviceBox{
    position: relative;
    width: 280px;
    height: 280px;
    background-color: #cacaca;
    border-radius: 20px;
    overflow: hidden;
}

.container .serviceBox .icon{
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #C2BA98;
    transition: 0.4s;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    transition-delay: 0.25%;
}

.container .serviceBox:hover .icon{
    top: 30px;
    left: calc(50% - 40px);
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

.container .serviceBox .icon img{
    width: 150px;
    height: 150px;
    transition: 0.4s;
}

.container .serviceBox:hover .icon img{
    width: 60px;
    height: 60px;
}

.container .serviceBox .content{
    position: relative;
    padding: 20px;
    color: #000;
    text-align: center;
    margin-top: 10px;
    z-index: 1;
    transform: scale(0);
    transition: 0.5s;
    transition-delay: 0%;
}

.container .serviceBox:hover .content{
    transform: scale(1);
    transition-delay: 0.25%;
}

.container .serviceBox .content h2{
    margin-top: 10px;
    margin-bottom: 5px;
    font-size: 14px;
}

.container .serviceBox .content p{
    font-weight: 300;
    line-height: 1.5em;
    font-size: 14px;
}