/* Template 3 CSS */

.service_header-container_t3 {
    position: relative;
    z-index: 1;
    background-color: var(--color_two);
    color: white;
    text-align: center;
    padding: 1rem 0 6rem;
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0.05) 75%, transparent 75%, transparent);
    background-size: 50px 50px;
    width: 100vw;
}
.service_header_t3 {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
}
.service_description-bar_t3 {
    font-size: 20px;
    margin-top: 15px;
    padding: 0 2rem;
}
.content-container_t3 {
    position: relative;
    z-index: 2;
    margin-top: -60px;
}
.service_container_t3 {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}
.mall3_card_t3 {
    position: relative;
    width: 250px;
    height: 350px;
    perspective: 1000px;
    cursor: pointer;
}
.mall3_card-inner_t3 {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}
.mall3_card_t3.flipped .mall3_card-inner_t3 {
    transform: rotateY(180deg);
}
.mall3_card-front_t3, .mall3_card-back_t3 {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
}
.mall3_card-front_t3 {
    background: #fff;
    transform: rotateY(0deg);
}
.mall3_card-front_t3 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.mall3_card-front_t3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to top, var(--color_one), transparent);
}
.mall3_card-title_t3 {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    width: 100%;
    z-index: 2;
}
.mall3_card-back_t3 {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    padding: 20px;
    background: var(--color_two);
    color: white;
    transform: rotateY(180deg);
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0.05) 75%, transparent 75%, transparent);
    background-size: 50px 50px;
}
.btn_service_t3 {
    background-color: var(--color_one);
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: auto;
    align-self: center;
}
.btn_service_t3:hover {
    background-color: var(--color_two);
    border: 1px solid var(--color_one);
    color: var(--color_one);
}