.portals-grid{
    display: grid;
    grid-template-rows: auto auto;
    grid-row-gap: 16px;
    grid-column-gap: 16px;
    grid-column-gap: 40px;
    grid-row-gap: 40px;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: auto;
}
.w-button{
    background-color: #f8f800 !important;
}
.w-button:hover{
    background-color: black !important;
}

.f-margin-bottom-137 h3{
    color: black !important;
}

.f-contact-image-wrapper{
    margin-right: 100px;
}

.social-buttons{
    -ms-grid-columns: 1fr 1fr 1fr 1fr !important;
    grid-template-columns: 1fr 1fr 1fr 1fr !important;
}

.f-cta-logo-card-3{
    height: 60px !important;
}

.div-block-34, .div-block-33, .div-block-35{
    background-color: white !important;
}

.f-h3-heading-4{
    text-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
    color: white !important;
}

.salesheader{
    background-position: 0% 23% !important;
    height: 630px !important;
}

.div-block-29{
    margin-left: 0px !important;
    margin-bottom: 0px !important;
}

.staging-icons-container{
    margin-top: 130px;
    margin-bottom: 100px;
}

.before-after{
    object-fit: contain !important;
}

@media(max-width: 1040px){
    .staging-icons-container{
        display: flex !important;
        flex-direction: column;
        margin-top: 100px;
        margin-bottom: 80px;
    }
    .staging-icons{
        margin-top: 20px;
    }
}

@media(max-width: 990px){
    .portals-grid{
        grid-template-columns: 1fr 1fr !important;
    }
}

@media(max-width: 767px){
    .f-margin-bottom-74{
        margin-top: 50px !important;
    }
    .f-section-large-3{
        height: fit-content !important;
    }
    .portals-grid{
        grid-template-columns: 1fr !important;
    }
    .uui-team09_list-wrapper{
        margin-top: 0px !important;
        margin-bottom: 666px !important;
    }
}

@media(max-width: 640px){
    .staging-icons{
        height: 80px !important;
        width: 80px !important;
    }
    .staging-icons-container{
        margin-top: 80px;
        margin-bottom: 50px;
    }
    .uui-team09_list-wrapper{
        margin-top: 50px !important;
        margin-bottom: 200px !important;
    }
}

@media(max-width: 479px){
    .uui-team09_list-wrapper{
        margin-top: 20px !important;
        margin-bottom: 100px !important;
    }
}

/* Nuevo layout para empleados */
.company-description {
    max-width: 1200px;
    margin: 0 auto 4rem auto;
    padding: 0 1rem;
    text-align: center;
}

.company-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 2rem;
}

.company-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    max-width: 900px;
    margin: 0 auto;
    text-align: justify;
}

.company-text strong {
    color: #1a1a1a;
    font-weight: 600;
}

.employees-grid-container {
    width: 100%;
    padding: 2rem 0;
}

.employees-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.employee-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.employee-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.employee-image {
    width: 100%;
    height: 250px;
    object-fit: contain;
    object-position: center;
}

.employee-info {
    padding: 1.5rem;
}

.employee-name {
    font-size: 1.25rem;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.employee-position {
    font-size: 0.9rem;
    font-weight: 600;
    background-color: #f8f800;
    color: #1a1a1a;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 10px;
}

.employee-description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 990px) {
    .employees-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .company-title {
        font-size: 2rem;
    }

    .company-text {
        font-size: 1rem;
        text-align: left;
    }

    .employees-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .employee-image {
        height: 200px;
    }
}

/* Nuevos estilos para diferenciación de empleados */

/* Contenedor de imagen con overlay para badge */
.employee-image-container {
    position: relative;
    overflow: hidden;
}

/* Badge para tipo de empleado */
.employee-type-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.agent-badge {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
}

/* Estilos diferenciados para tarjetas de empleados */
.employee-card {
    border-left: 4px solid #000000;
    box-shadow: 0 4px 6px rgba(248, 248, 0, 0.1);
}

.employee-card:hover {
    box-shadow: 0 8px 25px rgba(248, 248, 0, 0.15);
}

/* Acciones de empleado */
.employee-actions {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

/* Botón Ver Propiedades */
.view-properties-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f800;
    color: #000;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
}

.view-properties-btn:hover {
    transform: translateY(-1px);
    color: #000;
    text-decoration: none;
}

.view-properties-btn:active {
    transform: translateY(0);
}

/* Contador de propiedades */
.properties-count {
    margin-left: 5px;
    background: rgba(0, 0, 0, 0.2);
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #000;
}

/* Animaciones para badges */
.agent-badge {
    animation: fadeInScale 0.5s ease-out;
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive para acciones de empleado */
@media (max-width: 767px) {
    .employee-type-badge {
        top: 5px;
        right: 5px;
        padding: 3px 8px;
        font-size: 0.625rem;
    }

    .view-properties-btn {
        padding: 10px 12px;
        font-size: 0.8rem;
    }

    .properties-count {
        font-size: 0.7rem;
    }
}

/* Efectos hover mejorados */
.employee-card {
    transition: all 0.3s ease;
}

.employee-card:hover {
    transform: translateY(-3px);
}

.employee-card:hover .employee-image {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}
