.tm-section-1 {
    background-image: url('../../images/tim-kami/bg-section-1.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    position: relative;
    height: 600px;
    border-bottom-right-radius: 270px;
    padding: 100px 130px;
}

.tm-s1-group-foto {
    width: 400px;
    background-color: #3D62C2;
    border-radius: 30px 30px 300px 30px;
    box-shadow: 0 0 50px black;
}

.tm-s1-group-foto img {
    width: 400px;
    z-index: 2;
    border-radius: 30px 30px 300px 30px;
    position: relative;
}

.acc-bg-section-1 {
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
}

.acc-bg-section-1 img {
    width: 400px;
}

.acc-for-md {
    display: none;
}




.tm-section-2 {
    width: 100%;
    height: fit-content;
    padding: 100px;
    overflow-x: hidden;
}

.tm-section-2 h2 {
    width: 100%;
    text-align: right;
    margin-bottom: 100px;
    padding-right: 20px;
    font-weight: bold;
}

.tm-s2-bg {
    height: fit-content;
    margin-bottom: 30px;
}

/* .set-padding {
  filter: grayscale(100%);
  cursor: pointer;
  transition: filter 0.5s ease;
}

.set-padding.active {
  filter: grayscale(0%);
} */

.tm-s2-bg img {
    width: 100%;
    object-fit: cover;
}

.s2-top-left {
    background-color: #FF6600;
    border-radius: 30px 300px 30px 300px;
}

.s2-top-right {
    background-color: #BA2C3C;
    border-radius: 300px 30px 300px 30px;
}

.s2-bot-left {
    background-color: #2E4A94;
    border-radius: 300px 30px 300px 30px;
}

.s2-bot-right {
    background-color: #BD5329;
    border-radius: 30px 300px 30px 300px;
}

.bg-title {
    background: #F4F3F3;
    opacity: 84%;
    color: white;
    width: fit-content;
    padding: 5px 70px;
    position: absolute;
    bottom: 30px;
}

.bgt-top-left {
    border-radius: 0 50px 0 30px;
}

.bgt-top-right {
    border-radius: 50px 0 30px 0;
}

.bgt-bot-left {
    border-radius: 0 50px 0 30px;
}

.bgt-bot-right {
    border-radius: 50px 0 30px 0;
}

.justify-self-right {
    justify-self: right;
}

.bg-title p {
    margin: 0;
    color: black;
    font-size: 24px;
    font-weight: bold;
}

.tm2-s2-group-logo {
    position: relative;
    width: 100%;
}

.tm-s2-bg-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    z-index: 1;
    border-radius: 50%;
}

.tm-s2-bg-logo img {
    width: 100px;
}




.tm-section-3 {
    padding: 0 50px 0 120px;
    overflow-x: hidden;
}

.tm-s3-group-gambar {
    width: 100%;
    border-radius: 20px 150px 20px 150px;
    text-align: center;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.tm-s3-group-gambar img {
    width: 100%;
}

.tm-s3-bg-gambar {
    background-color: #FF6600;
    height: 80%;
    width: 100%;
    z-index: 0;
    border-radius: 20px 150px 20px 150px;
    position: absolute;
    bottom: 0;
}

.tm-s3-group-gambar img {
    z-index: 1;
    position: relative;
}

.s3-bg-teks {
    background: #F4F3F3;
    opacity: 84%;
    padding: 10px 50px 10px 70px;
}

.s3-bg-teks p {
    font-weight: bold;
    margin: 0;
}

.tm-s3-prev-next img {
    cursor: pointer;
    opacity: 1;
    transition: opacity 5s ease;
}

.tm-s3-prev-next img:hover {
    opacity: 0.9;
}

.fade {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.fade.show {
    opacity: 1;
}






.tm-section-4 {
    display: none;
    overflow-x: hidden;
    transition: all 0.5s ease;
}

.tm-section-4.show {
    display: block;
}

.s4-prev-next img {
    width: 50px;
}

.tm-s4-gambar-top img {
    width: 100%;
}

.tm-s4-line-1 p,
.tm-s4-line-2 p,
.tm-s4-line-3 p,
.tm-s4-line-4 p {
    color: white;
    font-size: 30px;
    font-weight: bold;
}

.tm-s4-line-1 {
    padding: 30px 100px;
    overflow-x: hidden;
    background: linear-gradient(to right, #FF6600, #BA2C3C);
}

.tm-s4-line-2 {
    padding: 30px 100px;
    overflow-x: hidden;
    background: linear-gradient(to right, #BA2C3C, #385AB2);
}

.tm-s4-line-3 {
    padding: 30px 100px;
    overflow-x: hidden;
    background: linear-gradient(to right, #385AB2, #0095FF);
}

.tm-s4-line-4 {
    padding: 30px 100px;
    overflow-x: hidden;
    background: linear-gradient(to right, #0095FF, #FF6600);
}

.tm-s4-group-gambar-bot {
    background: linear-gradient(to right, #446DD9, #243A73);
}

.tm-s4-gambar-bot {
    padding: 100px;
}

.s4-teks {
    padding: 100px;
}

.s4-acc img {
    z-index: 0;
    transform: translate(180%, -170%);
}




.tm-section-5 {
    overflow: hidden;
}

.tm-s5-gambar img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}






.tk-section-7 {
    padding: 100px;
    height: fit-content;
}

.tk-s7-alamat {
    margin: 0 0 70px 0;
}

.tk-s7-alamat h5 {
    margin-bottom: 30px;
}

.tk-s7-alamat p {
    margin-bottom: 30px;
}

.tk-s7-alamat a {
    background-color: #FF6600;
    padding: 10px 20px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    color: white !important;
    transition: transform 0.3s ease;
}

.tk-s7-alamat a:hover {
    background-color: #eb5e00;
    transform: translateX(10px);
}

.tk-s7-group-nama-kantor {
    width: fit-content;
    cursor: pointer;
    flex-direction: column;
    display: flex;
    align-items: center;
}

.tk-s7-nama-kantor:hover {
    color: #BC0028;
    transform: translateX(10px);
}

.tk-s7-nama-kantor-active {
    background-color: #BC0028;
    padding: 5px 20px;
    border-radius: 20px;
    border: none;
    color: white !important;
    cursor: pointer;
}

.tk-s7-nama-kantor {
    width: 100%;
    padding: 5px 20px;
    transition: transform 0.3s ease;
}

.tk-slider-container {
    position: relative;
    width: 100%;
    height: 500px;
    /* ✅ Atur tinggi container */
    overflow: hidden;
    padding: 0 0 0 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.tk-slider-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.tk-slider-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* ✅ Biar gambar tidak terpotong */
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 0;
}


.tk-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Menyesuaikan container 500px */
    object-fit: contain;
    /* Biar tidak ke-crop */
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 0;
    background-color: white;
    /* Atau warna lain agar tidak kosong */
}



.tk-slide.active {
    opacity: 1;
    z-index: 1;
}

/* Tombol kiri & kanan */
.tk-slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff59;
    color: black;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.tk-prev {
    left: 60px;
}

.tk-next {
    right: 10px;
}

.tk-s7-alamat {
    display: none;
}

.tk-s7-alamat.active {
    display: block;
}


.s7-line {
    width: 70%;
    height: 1px;
    background-color: #BC0028;
    justify-self: center;
}

.tm-s1-text h2 {
    font-size: 50px;
}

.tm-s1-text h4 {
    font-size: 32px;
}

.tm-s1-text p {
    font-size: 24px;
}

.tm-s1-text {
    margin-left: -40px;
}




@media (max-width: 1400px) {
    .s2-top-left {
        border-radius: 30px 150px 30px 150px;
    }

    .s2-top-right {
        border-radius: 150px 30px 150px 30px;
    }

    .s2-bot-left {
        border-radius: 150px 30px 150px 30px;
    }

    .s2-bot-right {
        border-radius: 30px 150px 30px 150px;
    }
}

@media (max-width: 1200px) {
    .tm-section-1 {
        padding: 100px 60px 80px 100px;
    }


    .bg-title p {
        font-size: 18px;
    }

    .tm-s1-text h2 {
        font-size: 40px;
    }

    .tm-s1-text h4 {
        font-size: 28px;
    }

    .tm-s1-text p {
        font-size: 20px;
    }

    .tm-s1-text {
        margin-left: -30px;
    }


    .tm-s3-group-gambar,
    .tm-s3-bg-gambar {
        border-radius: 20px 100px 20px 100px;
    }


    .tm-s4-gambar-bot,
    .s4-teks {
        padding: 100px 50px;
    }

    .tk-slider-container {
        padding: 50px 0;
    }

}

@media (max-width: 1040px) {
    .s3-bg-teks p {
        font-size: 12px;
    }


    .tm-s4-gambar-bot img {
        width: 400px;
    }

    .tm-s1-text h2 {
        font-size: 36px;
    }

    .tm-s1-text h4 {
        font-size: 24px;
    }

    .tm-s1-text p {
        font-size: 16px;
    }

    .tm-s1-text {
        margin-left: -20px;
    }
}

@media (max-width: 1000px) {

    .tm-s1-group-foto,
    .tm-s1-group-foto img,
    .acc-bg-section-1 img {
        width: 350px;
    }


    .tm-section-2 h2 {
        margin-bottom: 30px;
    }


    .tm-s3-prev-next img {
        width: 50px;
    }


    .tm-s4-line-1,
    .tm-s4-line-2,
    .tm-s4-line-3,
    .tm-s4-line-4 {
        padding: 20px 50px;
    }
}

@media (max-width: 900px) {
    .tm-section-1 {
        padding: 100px 50px 100px 0;
    }

    .tm-s1-group-foto,
    .tm-s1-group-foto img {
        border-radius: 0 20px 300px 0;
    }

    .acc-bg-section-1 {
        transform: translate(-100px, -100px);
    }


    .tm-section-2 {
        padding: 100px 50px;
    }

    .bg-title p {
        font-size: 14px;
    }

    .s2-top-left {
        border-radius: 30px 100px 30px 100px;
    }

    .s2-top-right {
        border-radius: 100px 30px 100px 30px;
    }

    .s2-bot-left {
        border-radius: 100px 30px 100px 30px;
    }

    .s2-bot-right {
        border-radius: 30px 100px 30px 100px;
    }

    .tm-s2-bg-logo {
        padding: 15px;
    }

    .tm-s2-bg-logo img {
        width: 70px;
    }


    .tm-s4-gambar-bot img {
        width: 350px;
    }

    .s4-prev-prex img,
    .s4-prev-next img {
        width: 40px;
    }


    .tk-section-7 {
        padding: 50px;
    }

    .tm-s1-text {
        margin-left: -10px;
    }
}

@media (max-width: 844px) {
    .tm-s3-bg-gambar {
        bottom: 40px;
        height: 70%;
    }


    .tm-s4-gambar-bot img {
        width: 300px;
    }
}

@media (max-width: 776px) {
    .tm-s3-bg-gambar {
        bottom: 65px;
    }
}

@media (max-width: 767px) {
    .tm-section-1 {
        height: fit-content;
        overflow-x: hidden;
    }

    .acc-for-md {
        display: block;
        position: absolute;
        right: -200px;
        top: 250px;
    }

    .tm-s1-text {
        padding: 100px 50px 0 50px;
        margin-left: 0;
    }


    .tm-section-2 {
        padding: 50px 20px;
    }


    .tm-section-3 {
        padding: 0 50px;
    }

    .tm-s3-teks {
        margin: 50px 0;
    }

    .tm-s3-bg-gambar {
        height: 80%;
        border-radius: 20px 150px 20px 150px;
        bottom: 60px;
    }

    .s3-bg-teks {
        padding: 20pxx;
    }

    .s3-bg-teks p {
        font-size: 16px;
    }


    .tm-s4-gambar-bot {
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .tm-s4-line-1 p,
    .tm-s4-line-2 p,
    .tm-s4-line-3 p,
    .tm-s4-line-4 p {
        font-size: 24px;
    }

    .tk-section-7 {
        padding: 40px;
    }
}

@media (max-width: 600px) {
    .bg-title {
        padding: 5px 0;
        width: 80%;
        text-align: center;
    }

    .bg-title p {
        font-size: 12px;
    }

    .s2-top-left {
        border-radius: 15px 70px 15px 70px;
    }

    .s2-top-right {
        border-radius: 70px 15px 70px 15px;
    }

    .s2-bot-left {
        border-radius: 70px 15px 70px 15px;
    }

    .s2-bot-right {
        border-radius: 15px 70px 15px 70px;
    }


    .tm-s4-line-1,
    .tm-s4-line-2,
    .tm-s4-line-3,
    .tm-s4-line-4 {
        padding: 20px 30px;
    }
}

@media (max-width: 500px) {
    .tm-section-1 {
        padding-right: 0;
    }

    .tm-s1-text {
        padding: 100px 50px;
    }

    .acc-for-md {
        right: -100px;
        top: 400px;
    }

    .acc-for-md img {
        width: 300px;
    }


    .set-padding {
        padding: 5px;
    }

    .tm-section-2 {
        padding: 50px 10px;
    }

    .tm-section-2 h2 {
        padding-right: 5px;
    }

    .tm-s2-bg {
        margin-bottom: 0;
    }

    .bg-title {
        bottom: 0;
    }

    .tm-s2-bg-logo {
        padding: 10px;
    }

    .tm-s2-bg-logo img {
        width: 50px;
    }


    .tm-section-3 {
        padding: 0 30px;
    }

    .s3-bg-teks {
        padding: 20px 10px;
    }

    .s3-bg-teks p {
        font-size: 14px;
    }


    .s4-teks {
        padding: 50px 30px 70px 30px;
    }

    .tm-s4-gambar-bot {
        padding-top: 70px;
    }

    .tm-s4-gambar-bot img {
        width: 270px;
    }
}

@media (max-width: 400px) {

    .tm-s1-group-foto,
    .tm-s1-group-foto img {
        width: 300px;
    }

    .s4-prev-prex img,
    .s4-prev-next img {
        width: 30px;
    }

    .tm-s4-line-1 p,
    .tm-s4-line-2 p,
    .tm-s4-line-3 p,
    .tm-s4-line-4 p {
        font-size: 20px;
    }
}