/* ===== MARKETS / TEAM AREA TWO ===== */
.team__area-two {
    position: relative;
}

.section-pt-120 {
    padding-top: 120px;
}

.section-pb-90 {
    padding-bottom: 90px;
}

/* Container & Grid */
.team__area-two .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.team__area-two .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -12px;
}

.team__area-two .gutter-24 > * {
    padding: 0 12px;
}

.team__area-two .justify-content-center {
    justify-content: center;
}

.team__area-two .text-center {
    text-align: center;
}

/* Columns */
.team__area-two .col-lg-7 {
    flex: 0 0 auto;
    width: 58.333333%;
}

.team__area-two .col-xl-3 {
    flex: 0 0 auto;
    width: 25%;
}

.team__area-two .col-lg-4 {
    flex: 0 0 auto;
}

.team__area-two .col-sm-6 {
    flex: 0 0 auto;
}

/* Section Title */
.section__title {
    margin-bottom: 40px;
}

.section__title.mb-60 {
    margin-bottom: 60px;
}

.section__title .sub-title {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #fa4047;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    position: relative;
}

.section__title .sub-title::before,
.section__title .sub-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 2px;
    background: #fa4047;
    transform: translateY(-50%);
}

.section__title .sub-title::before {
    left: -40px;
}

.section__title .sub-title::after {
    right: -40px;
}

.section__title .title {
    font-size: 42px;
    font-weight: 700;
    color: #1a202c;
    line-height: 1.3;
    margin: 0;
}

/* Team Item Two */
.team__item-two {
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    transition: all 0.4s ease;
}

.team__item-two:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Team Thumb */
.team__thumb-two {
    position: relative;
    overflow: hidden;
}

.team__thumb-two::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(250, 64, 71, 0.3);
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none;
}

.team__item-two:hover .team__thumb-two::after {
    opacity: 1;
}

.team__thumb-two img {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.5s ease;
}

/* Hover Effects */
/* Zoom In */
.team__item-two[data-hover="zoom"]:hover .team__thumb-two img {
    transform: scale(1.1);
}

/* Zoom Out */
.team__item-two[data-hover="zoom-out"] .team__thumb-two img {
    transform: scale(1.1);
}
.team__item-two[data-hover="zoom-out"]:hover .team__thumb-two img {
    transform: scale(1);
}

/* Rotate */
.team__item-two[data-hover="rotate"]:hover .team__thumb-two img {
    transform: scale(1.1) rotate(3deg);
}

/* Slide Up */
.team__item-two[data-hover="slide-up"]:hover .team__thumb-two img {
    transform: translateY(-10px);
}

/* Grayscale */
.team__item-two[data-hover="grayscale"] .team__thumb-two img {
    filter: grayscale(100%);
}
.team__item-two[data-hover="grayscale"]:hover .team__thumb-two img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Brightness */
.team__item-two[data-hover="brightness"]:hover .team__thumb-two img {
    filter: brightness(1.2);
    transform: scale(1.05);
}

/* Team Content */
.team__content-two {
    padding: 20px;
    text-align: center;
}

.team__content-two .title {
    font-size: 20px;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 5px 0;
    transition: color 0.3s ease;
}

.team__item-two:hover .team__content-two .title {
    color: #fa4047;
}

.team__content-two span {
    display: block;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1199px) {
    .team__area-two .col-xl-3 {
        width: 33.333333%;
    }
}

@media (max-width: 991px) {
    .team__area-two .col-lg-7 {
        width: 100%;
    }
    
    .team__area-two .col-lg-4,
    .team__area-two .col-xl-3 {
        width: 50%;
    }
    
    .section__title .title {
        font-size: 32px;
    }
    
    .section-pt-120 {
        padding-top: 80px;
    }
    
    .section-pb-90 {
        padding-bottom: 60px;
    }
}

@media (max-width: 575px) {
    .team__area-two .col-sm-6,
    .team__area-two .col-lg-4,
    .team__area-two .col-xl-3 {
        width: 100%;
    }
    
    .section__title .title {
        font-size: 26px;
    }
    
    .section__title .sub-title::before,
    .section__title .sub-title::after {
        display: none;
    }
    
    .section-pt-120 {
        padding-top: 60px;
    }
    
    .section-pb-90 {
        padding-bottom: 40px;
    }
}
