/* Styling untuk modal */
.modal-content {
    transition: transform 0.3s ease-in-out;
}

.modal-content:hover {
    transform: scale(1.02);
}

/* Styling untuk tombol close */
.btn-close-custom {
    background: transparent;
    border: 2px solid #fff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 10; /* Pastikan tombol di atas gambar */
}

.btn-close-custom:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.x-icon {
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 1;
}

/* Efek hover pada gambar */
.img-fluid {
    transition: transform 0.3s ease;
}

.img-fluid:hover {
    transform: scale(1.05);
}


.tp-brand__item img {
    max-width: 30% !important;
}
.tp-courses__avata p {
    margin-bottom: 0;
    font-weight: bold;
}
.tp-courses__thumb img {
    width: 100%;
    /* height: 250px; */
    object-fit: cover;
    object-position: top center;
}
/* .tp-courses-4__thumb img {
    width: 100%;
    height: 250px;

    object-position: top center !important;
} */

.w-box-size {
    width: 376px;
    height: 483px;
    text-align: center;
}

.tp-courses-4__content {
    padding: 30px !important;
}
.tp-courses-4__title {
    font-size: 24px !important;
    text-align: justify;
}
.tp-courses-4__summary {
    text-align: justify;
}
.tp-courses-4__price {
    padding: 30px !important;
}

.process-section {
    padding: 60px 0;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: "";
    position: absolute;
    width: 4px;
    background-color: #4e73df;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 20px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item::after {
    content: "";
    position: absolute;
    width: 25px;
    height: 25px;
    right: -12.5px;
    background-color: white;
    border: 4px solid #4e73df;
    top: 25px;
    border-radius: 50%;
    z-index: 1;
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.right::after {
    left: -12.5px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: white;
    position: relative;
    border-radius: 6px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
}

.step-icon {
    font-size: 2rem;
    color: #4e73df;
    margin-bottom: 10px;
    background: #e6f0fa;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-number {
    font-size: 1.2rem;
    font-weight: bold;
    color: #4e73df;
    margin-bottom: 5px;
}

.card-title {
    color: #333;
    font-weight: 600;
    margin-bottom: 10px;
}

.section-title {
    color: #4e73df;
    /* margin-bottom: 40px; */
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}
.service-icon {
    font-size: 2.5rem;
    color: #4e73df;
    margin-bottom: 15px;
    background: #e6f0fa;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}
/* .section-title {
    color: #4e73df;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
} */
.card-title {
    color: #333;
    font-weight: 600;
    margin-bottom: 10px;
}
.benefit-section {
    background: #fff;
    padding: 60px 0;
}
.benefit-item {
    text-align: center;
    margin-bottom: 30px;
}
.benefit-icon {
    font-size: 2rem;
    color: #4e73df;
    margin-bottom: 10px;
}
.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}
.pricing-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}
.pricing-features li i {
    margin-right: 10px;
    color: #4e73df;
}
.price {
    font-size: 1.8rem;
    font-weight: 600;
    color: #4e73df;
    margin-bottom: 20px;
    text-align: center;
}
.cta-section {
    background: linear-gradient(135deg, #4e73df 0%, #8e2de2 100%);
    color: white;
    padding: 40px 0;
    text-align: center;
}
.btn-cta {
    background: white;
    color: #4e73df;
    font-weight: 600;
    padding: 10px 30px;
    border-radius: 25px;
    transition: background 0.3s ease, color 0.3s ease;
}
.btn-cta:hover {
    background: #4e73df;
    color: white;
    border-color: white;
}

/* Styling untuk list di card */
.service-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}
.service-card ul li {
    margin-bottom: 5px;
    font-weight: bold;
}
/* Styling untuk stats section */
.stats-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
}
.stats-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}
.stats-card span {
    font-size: 2rem;
    font-weight: 600;
    color: #4e73df;
}

.btn-alur {
    background: #4e73df;
    color: white;
    font-weight: 600;
    padding: 10px 30px;
    border-radius: 25px;
    transition: background 0.3s ease;
    display: block;
    margin: 0 auto;
    width: fit-content;
}
.btn-alur:hover {
    background: #8e2de2;
    color: white;
}
.modal-content {
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}
.accordion-button {
    font-weight: 600;
    color: #333;
    background: #e6f0fa;
    border-radius: 10px !important;
}
.accordion-button:not(.collapsed) {
    background: #4e73df;
    color: white;
}
.accordion-button:focus {
    box-shadow: none;
}
.accordion-body {
    background: white;
    border-radius: 0 0 10px 10px;
    color: #555;
}
.accordion-item {
    border: none;
    margin-bottom: 15px;
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}
.accordion-collapse {
    transition: height 0.3s ease;
}
@media (max-width: 768px) {
    .service-card ul,
    .stats-card p {
        font-size: 0.9rem;
    }
    .stats-card span {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item::after {
        left: 20px;
    }

    .right {
        left: 0%;
    }
}

.tp-hero__img {
    width: 735px;
    /* height: 835px; */
    overflow: hidden; /* Memastikan gambar tidak meluber */
    position: relative; /* Untuk kontrol posisi gambar */
}

.tp-hero__img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Gambar di-crop agar sesuai tanpa distorsi */
    object-position: center; /* Posisi tengah untuk fokus gambar */
    display: block; /* Menghilangkan whitespace di bawah gambar */
}

/* Untuk responsivitas di layar kecil */
@media (max-width: 991px) {
    .tp-hero__img {
        width: 100%; /* Mengisi lebar kolom */
        height: auto; /* Menyesuaikan tinggi */
        aspect-ratio: 735 / 835; /* Menjaga rasio 735:835 */
        margin-left: 0 !important;
    }

    .tp-hero__img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* Untuk layar sangat kecil (misalnya mobile) */
@media (max-width: 576px) {
    .tp-hero__img {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1; /* Mengubah ke rasio persegi untuk mobile agar lebih fleksibel */
    }
}

/* Styling tambahan untuk carousel agar responsif */
.carousel-inner {
    width: 100%;
    height: 100%;
}

.carousel-item {
    width: 100%;
    height: 100%;
}
