/* Card Toefl */
.free-trial-label {
    position: absolute;
    top: 1px;
    right: 1px;
    background-color: #ff0000;
    color: #ffffff;
    padding: 5px 10px;
    border-radius: 5px;
}

/* separator di itp */
.separator {
    border: none;
    /* Hilangkan border bawaan */
    border-top: 2px solid #0f0f0f00;
    /* Tambahkan border atas dengan ketebalan 2px dan warna abu-abu */
    margin: 10px 0;
    /* Atur margin atas dan bawah agar terlihat lebih rapi */
}

.mohon-dibaca {
    text-align: center;
    padding-top: 50px;
    padding-bottom: 30px;
}

.mohon-dibaca-2 {
    text-align: left;
    margin-top: 50px;
    background-color: orange;
    display: inline-block;
    padding: 5px;
}

/*MOHON DIBACA*/
#card-mohon {
    max-width: 1000px;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    margin: 0 auto;
    text-align: left;
}

#card-mohon p {
    text-align: justify;
    line-height: 2;
}

#mohon-dibaca-ol {
    line-height: 30px;
}

/* petunjuk */
.custom-card {
    width: 100%;
    max-width: 600px;
    /* Sesuaikan lebar card sesuai kebutuhan */
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
    /* Efek transisi saat hover */
    margin: 0 auto;
    margin-bottom: 30px;
}

/* .card #petunjuk-tes-online #petunjuk-tes-offline {
            width: 300px;
            border: 1px solid #ccc;
            border-radius: 5px;
            overflow: hidden;
            margin-bottom: 20px;
        } */

.card-header {
    background-color: #007bff;
    color: white;
    padding: 10px;
    cursor: pointer;
}

.card-header:hover {
    transform: scale(1.05);
    /* Perbesar card saat dihover */
    background-color: #ff7b00;
    /* Warna latar belakang saat dihover */
    color: white;
    /* Warna teks saat dihover */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    /* Tambahkan bayangan saat dihover */
}

.card-headera {
    background-color: #ffae00;
    color: white;
    padding: 10px;
    cursor: pointer;
}

.card-headera:hover {
    transform: scale(1.05);
    /* Perbesar card saat dihover */
    background-color: #ff7b00;
    /* Warna latar belakang saat dihover */
    color: white;
    /* Warna teks saat dihover */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    /* Tambahkan bayangan saat dihover */
}

.card-content {
    line-height: 40px;
    padding: 10px;
    display: none;
}

.card-content.active {
    display: block;
}

#persyaratan-device {
    text-align: left;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 15px;
}

#persyaratan-dvc {
    text-align: left;
    padding-left: 15px;
}

#persyaratan-minim {
    text-align: left;
    padding-left: 15px;
}

#hal-ini {
    text-align: justify;
    padding-left: 15px;
    line-height: 40px;
    margin-top: 5px;
}

#konsultasi-bersama-kami {
    border-radius: 20px;
    padding: 10px 20px;
}

#col-12-custom {
    display: flex;
    margin-top: 70px;
}

.card-title,
.btn {
    display: inline-block;
    vertical-align: middle;
    padding-left: 5px;
    padding-right: 15px;
}
.card-body .d-flex {
    justify-content: center;
    align-items: center;
}

#otw-placement {
    width: 100%;
    max-width: 600px;
    border-radius: 10px;
    margin: 0 auto;
}
/* floating button saya simpan di floating.css */

/* halaman toefl prediction dan tryout */
#tp {
    padding-left: 50px;
    padding-right: 50px;
    line-height: 35px;
}

#iconcek {
    color: #0055f3;
}

#asww {
    margin-top: 50px;
    margin-bottom: 50px;
}

#tipe-pertanyaan {
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
}

#tipe-pertanyaan img {
    width: 80px;
    margin: 0 auto;
}

/* ielts */
/* #ielts-img {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
    margin-top: -30px;
    margin-bottom: 20px;
} */

#mengujikan {
    max-width: 250px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
}

#mengujikan img {
    width: 80px;
    margin: 0 auto;
}

/* khusus card ielts */
#ielts-card {
    width: 100%;
    max-width: 300px; /* Adjust the max-width as needed */
    margin: 0 auto; /* Center the card horizontally */
    gap: 5px; /* Adjust this value to control the spacing between cards */
    margin-left: 40px;
}

#ielts-card .card-img-top {
    width: 100%;
    height: auto; /* Maintain aspect ratio */
}

.card-body {
    padding: 20px;
}

.card-title {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 5px;
    padding: 10px;
}

.card-text {
    margin-bottom: 1.5rem;
}

.ielts-opsi {
    background-color: #0056b3; /* Darker blue background for contrast */
    padding-left: 20px; /* Add some padding */
    padding-right: 20px; /* Add some padding */
    display: inline-block;
    border-radius: 20px; /* Optional: rounded corners */
    color: white; /* Ensure text color is white */
    margin-bottom: 20px;
    font-size: 12px;
}

.ielts-benefit {
    text-align: left;
    margin-top: 15px;
}

.ielts-harga {
    text-align: left;
    margin-top: 15px;
    margin-bottom: 20px;
}

.ielts-tes .button-group {
    display: flex; /* Use flexbox for horizontal alignment */
    gap: 2px; /* Space between buttons */
}

.ielts-tes .btn {
    flex: 1; /* Allow buttons to grow equally */
    white-space: normal; /* Allow text to wrap */
    text-align: center; /* Center the text */
    padding: 10px; /* Adjust padding as needed */
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition for hover effects */
}
.konsultasikan-btn {
    flex: none; /* Prevent this button from growing */
    width: 155px; /* Fixed width to control the button size */
    white-space: normal; /* Allow text to wrap */
    background-color: #0eb62a;
    color: white;
}
.konsultasikan-btn:hover {
    background-color: #0a8d21; /* Darker green on hover */
    color: #e0e0e0; /* Slightly lighter text color on hover */
    transform: translateY(-5px);
}
.daftar1 {
    flex: none; /* Prevent this button from growing */
    white-space: normal; /* Allow text to wrap */
    background-color: #1e90ff;
    color: white;
}
.daftar1:hover {
    background-color: #0d4ba8; /* Darker green on hover */
    color: #e0e0e0; /* Slightly lighter text color on hover */
    transform: translateY(-5px);
}

#ascw {
    margin-top: 50px;
    margin-bottom: 50px;
}
#ascw #tipe-pertanyaan {
    max-width: 300px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
}

#asw1 {
    margin-top: 50px;
    margin-bottom: 50px;
}

#asw1 #tipe-pertanyaan {
    max-width: 250px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
}

/* Button WA */
#floating-button {
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 999;
}

#floating-button {
    width: auto; /* Lebar button mengikuti panjang tulisan di dalamnya */
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    background-color: #0eb62a;
    padding: 5px 10px; /* Padding untuk ruang tambahan di sekitar teks */
}
#floating-button a {
    color: white; /* Warna teks putih */
    text-decoration: none; /* Hapus dekorasi hyperlink */
}
#floating-button:hover {
    background-color: rgb(
        0,
        37,
        245
    ); /* Perubahan warna latar belakang saat hover */
    transform: translateY(-5px); /* Angkat tombol sedikit saat dihover */
}

/* IELTS */
.page-title {
    text-align: center;
    font-size: 30px;
    font-weight: bold;
    margin-top: 0; /* Remove top margin */
    margin-bottom: 5px; Reduce bottom margin
    background-color: transparent; /* Ensure no background color */
}

#ielts-img {
    display: block;
    margin: -10px auto 10px; /* Mengurangi jarak atas dengan memberikan nilai negatif */
    max-width: 500px; /* Ukuran gambar tetap */
}

#toeflitp-img {
    display: block;
    margin: 40px auto 10px; /* Mengurangi jarak atas dengan memberikan nilai negatif */
    max-width: 500px; /* Ukuran gambar tetap */
    width: 100%; /* Membuat gambar responsif pada ukuran layar lebih kecil */
}

@media (max-width: 768px) { /* Untuk tablet dan perangkat dengan lebar layar 768px atau kurang */
    #toeflitp-img {
        max-width: 80%; /* Ukuran gambar 80% dari lebar layar pada perangkat lebih kecil */
    }
}

@media (max-width: 480px) { /* Untuk perangkat mobile dengan lebar layar 480px atau kurang */
    #toeflitp-img {
        max-width: 100%; /* Ukuran gambar 100% dari lebar layar pada perangkat mobile */
    }
}


#cm {
    border: 3px solid #007bff;
}
#cm .card-text {
    text-align: justify;
}


.mohon-dibaca {
    text-align: center;
    padding-top: 50px;
    padding-bottom: 30px;
}

#card-ielts {
    margin-top: 10px;
}
#card-ielts {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    text-align: center;
    /* Remove any existing height and overflow properties */
    height: auto;
    overflow: visible;
}

@media (max-width: 767px) {
    #card-ielts {
        height: 150px; /* Set a fixed height for mobile devices */
        overflow: hidden; /* Ensure overflow content is hidden */
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    #card-ielts {
        height: 400px !important; /* Fixed height for tablets */
        overflow: hidden !important;
    }
}

@media (min-width: 1025px) and (max-width: 1280px) {
    #card-ielts {
        height: 500px !important; /* Fixed height for small desktops */
        overflow: hidden !important;
    }
}

#card-ielts img {
    width: 60px;
    margin: 0 auto;
}

.description p {
    margin: 0;
}

.ielts-opsi {
    background-color: #0056b3; /* Darker blue background for contrast */
    padding-left: 20px; /* Add some padding */
    padding-right: 20px; /* Add some padding */
    display: inline-block;
    border-radius: 20px; /* Optional: rounded corners */
    color: white; /* Ensure text color is white */
    margin-bottom: 20px;
    font-size: 12px;
}

.ielts-benefit {
    text-align: left;
    margin-top: 15px;
}

.ielts-harga {
    text-align: left;
    margin-top: 15px;
    margin-bottom: 20px;
}

.button-group {
    display: flex; /* Use flexbox for horizontal alignment */
    gap: 2px; /* Space between buttons */
}

.btn {
    flex: 1; /* Allow buttons to grow equally */
    white-space: normal; /* Allow text to wrap */
    text-align: center; /* Center the text */
    padding: 10px; /* Adjust padding as needed */
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition for hover effects */
}
.konsultasikan-btn {
    flex: none; /* Prevent this button from growing */
    width: 155px; /* Fixed width to control the button size */
    white-space: normal; /* Allow text to wrap */
    background-color: #0eb62a;
    color: white;
}
.konsultasikan-btn:hover {
    background-color: #0a8d21; /* Darker green on hover */
    color: #e0e0e0; /* Slightly lighter text color on hover */
    transform: translateY(-5px);
}
.daftar1 {
    flex: none; /* Prevent this button from growing */
    white-space: normal; /* Allow text to wrap */
    background-color: #1e90ff;
    color: white;
}
.daftar1:hover {
    background-color: #0d4ba8; /* Darker green on hover */
    color: #e0e0e0; /* Slightly lighter text color on hover */
    transform: translateY(-5px);
}

/* TOEL ITP */
#pitp {
    text-align: justify;
}

#title-itp {
    margin-bottom: -50px;
}

#card-mohon {
    border: #ffb700 3px solid;
    line-height: 35px;
}

#card-itp {
    border: 1px solid #003cff;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    border-radius: 15px;
}

#card-itp:hover {
    background-color: #eaebef;
    color: rgb(255, 255, 255);
    transform: scale(1.05); /* Slightly scales up the card */
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-15px);
    }
    60% {
        transform: translateY(-7px);
    }
}

#card-itp:hover {
    animation: bounce 0.6s;
}

#card-itp .free-trial-label {
    position: absolute;
    margin-top: -25px;
    margin-right: -30px;
    /* top: 1px;
    right: 1px; */
    background-color: #ff0000;
    color: #ffffff;
    padding: 5px 10px;
    border-radius: 5px;
}

#card-itp {
    margin: 5px;
    padding: 10px;
    position: relative;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 767px) {
    #card-itp {
        margin: 10px; /* Smaller margin for mobile devices */
    }

    #card-itp .free-trial-label {
        top: 5px; /* Adjusted positioning for mobile devices */
        right: 5px; /* Adjusted positioning for mobile devices */
        font-size: 12px; /* Optional: smaller font size for mobile */
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    #card-itp {
        margin: 15px; /* Medium margin for tablets */
    }

    #card-itp .free-trial-label {
        top: 8px; /* Adjusted positioning for tablets */
        right: 8px; /* Adjusted positioning for tablets */
        font-size: 14px; /* Optional: medium font size for tablets */
    }
}

@media (min-width: 1025px) {
    #card-itp {
        margin: 20px; /* Larger margin for larger screens */
    }

    #card-itp .free-trial-label {
        top: 10px; /* Adjusted positioning for larger screens */
        right: 10px; /* Adjusted positioning for larger screens */
        font-size: 16px; /* Optional: larger font size for desktops */
    }
}

#separator {
    border: 0;
    height: 1px;
    background: #525252; /* Color of the separator */
    margin: 5px 0; /* Adjust the spacing around the separator */
}

@media (max-width: 576px) {
    .card-container {
        margin-bottom: 20px; /* Adds space between cards on mobile */
    }
}

/* flashsale */
.card-body {
    text-align: center; /* Ensures text inside .card-body is centered */
}

.badge-container {
    text-align: center;
    margin: 0 auto;
}

.badge-custom {
    display: inline-block;
    padding-left: 50px;
    padding-right: 50px;
    padding-top: 2px;
    padding-bottom: 2px;
    border-radius: 30px;
    font-size: 0.875em;
    color: white;
    text-align: center;
    margin: 0 auto; /* Center the badge horizontally */
}

.badge-online {
    background-color: #2196f3; /* Biru untuk Online */
}

.badge-offline {
    background-color: #ff9800; /* Oranye untuk Offline */
}

/* btn flash sale */
.btn {
    border-radius: 20px; /* Memberikan border radius 20px */
}
/* Hover effect for primary button */
.btn-primary:hover {
    background-color: #0056b3; /* Biru tua */
    border-color: #004494; /* Biru lebih gelap untuk border */
}

/* Style for the Locked button to make it look disabled */
.btn-locked {
    background-color: #6c757d; /* Warna abu-abu untuk button disabled */
    border-color: #6c757d;
    cursor: not-allowed; /* Menampilkan cursor sebagai tidak bisa diklik */
}

/* Optional: Change text color for Locked button */
.btn-locked {
    color: #fff;
}

/* Additional CSS to ensure Locked button looks inactive */
.btn-locked:focus,
.btn-locked:hover {
    background-color: #6c757d; /* Tidak mengubah warna saat hover atau focus */
    border-color: #6c757d;
    box-shadow: none; /* Hapus shadow pada fokus */
}

/* profilnya mam */
/* Mengatur baris kontainer */
.row {
    display: flex; /* Menggunakan Flexbox untuk memudahkan penataan kolom */
    flex-wrap: wrap; /* Memastikan kolom tetap responsif pada layar kecil */
}

/* Mengatur kolom gambar */
.image-column {
    display: flex; /* Menggunakan Flexbox untuk memudahkan penataan elemen di dalam kolom gambar */
    align-items: center; /* Menyelaraskan elemen anak secara vertikal di tengah */
    padding: 0; /* Menghilangkan padding default */
}

/* Mengatur box gambar di dalam kolom gambar */
.image-column .image-box {
    display: flex; /* Menggunakan Flexbox di dalam box gambar */
    flex-direction: column; /* Menyusun gambar dan caption secara vertikal */
    align-items: center; /* Menyelaraskan gambar dan caption di tengah secara horizontal */
    justify-content: center; /* Menyelaraskan gambar di tengah secara vertikal */
    padding: 0; /* Menghilangkan padding default */
}

/* Mengatur gambar di dalam box gambar */
.image-column .image-box img {
    max-width: 90%; /* Mengatur lebar maksimum gambar menjadi 90% dari lebar kolom */
    height: auto; /* Mempertahankan rasio aspek gambar */
    border-radius: 20px; /* Menambahkan border-radius sebesar 20px */
    margin-bottom: 10px; /* Menambahkan jarak antara gambar dan caption */
}

/* Mengatur caption gambar */
.image-column .image-box figcaption {
    font-size: 14px; /* Mengatur ukuran font untuk caption */
    color: #333; /* Mengatur warna teks untuk caption */
    text-align: center; /* Menyelaraskan teks caption di tengah */
    margin: 0; /* Menghilangkan margin default */
    padding: 0; /* Menghilangkan padding default */
}

/* Mengatur kolom konten */
.content-column {
    display: flex; /* Menggunakan Flexbox untuk memudahkan penataan elemen di dalam kolom konten */
    align-items: center; /* Menyelaraskan elemen anak secara vertikal di tengah */
    padding: 0; /* Menghilangkan padding default */
}

/* Mengatur box konten di dalam kolom konten */
.content-column .content-box {
    display: flex;
    flex-direction: column; /* Menyusun konten secara vertikal */
    justify-content: center; /* Menyelaraskan konten di tengah secara vertikal */
    height: 100%; /* Memastikan konten kolom memiliki tinggi penuh */
    padding: 0; /* Menghilangkan padding default */
}

/* Mengatur paragraf di dalam box konten */
.content-column p {
    text-align: justify; /* Menyusun teks menjadi justified */
    line-height: 1.6; /* Menambahkan jarak antar baris untuk keterbacaan */
    margin: 0; /* Menghilangkan margin default */
}

/* visi misi */
.vision-mission-section {
    padding: 50px 0;
}

.vision-mission-section .content-box {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.vision-column {
    text-align: left;
}

.mission-column {
    text-align: left;
}

.vision-mission-section h3 {
    margin-bottom: 20px;
    font-size: 24px;
}

.vision-mission-section ul {
    list-style: disc;
    padding-left: 20px;
}

/* BLOG */
/* Styles for the Blog Section */
.blog-section {
    padding: 60px 0; /* Adjust padding for top and bottom */
}

.outer-container {
    max-width: 1200px; /* Limit the max width */
    margin: 0 auto; /* Center the container */
    padding: 0 15px; /* Add horizontal padding */
}

.sec-title {
    text-align: center; /* Center the section title */
    margin-bottom: 40px; /* Add spacing below the title */
}

.sec-title h2 {
    font-size: 2.5rem; /* Adjust font size for the section title */
    font-weight: bold;
}

.separator {
    display: block;
    height: 4px;
    width: 80px;
    margin: 10px auto;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.card {
    border: 1px solid #ddd; /* Light border for the card */
    border-radius: 8px; /* Rounded corners */
    overflow: hidden; /* Hide overflowing content */
    margin-bottom: 30px; /* Space below each card */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    transition: transform 0.3s, box-shadow 0.3s; /* Smooth transition for hover effects */
}

.card-img-top {
    height: 200px; /* Fixed height for images */
    object-fit: cover; /* Cover the image area */
}

.card-body {
    padding: 15px; /* Padding inside the card */
}

.card-title {
    font-size: 1.25rem; /* Font size for the card title */
    margin-bottom: 10px; /* Space below the title */
}

.card-text {
    font-size: 1rem; /* Font size for the card text */
    margin-bottom: 15px; /* Space below the text */
}

.btn-primary {
    background-color: #007bff; /* Primary button background */
    border-color: #007bff; /* Primary button border color */
}

.btn-primary:hover {
    background-color: #0056b3; /* Darker background on hover */
    border-color: #004085; /* Darker border color on hover */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card-img-top {
        height: 150px; /* Smaller image height on smaller screens */
    }

    .sec-title h2 {
        font-size: 2rem; /* Smaller font size for the section title on smaller screens */
    }
}

@media (max-width: 576px) {
    .card {
        margin-bottom: 20px; /* Less space below cards on very small screens */
    }

    .card-img-top {
        height: 120px; /* Smaller image height on extra small screens */
    }

    .sec-title h2 {
        font-size: 1.5rem; /* Even smaller font size for the section title on extra small screens */
    }
}

/* Program section */
/* CSS untuk mengatur ukuran dan gaya card */
.program-section .six-item-carousel .image-box {
    display: flex;
    justify-content: center;
    align-items: center;
}

.program-section .six-item-carousel .card {
    width: 300px; /* Atur lebar card sesuai kebutuhan */
    height: 400px; /* Atur tinggi card sesuai kebutuhan */
    overflow: hidden;
    border: 1px solid #ddd; /* Tambahkan border jika diinginkan */
    border-radius: 8px; /* Atur border-radius jika diinginkan */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Tambahkan shadow jika diinginkan */
    transition: transform 0.3s ease;
}

.program-section .six-item-carousel .card:hover {
    transform: scale(1.05); /* Efek zoom saat hover */
}

.program-section .six-item-carousel .card-img-top {
    width: 100%;
    height: 200px; /* Sesuaikan tinggi gambar sesuai kebutuhan */
    object-fit: cover; /* Mengatur gambar agar tidak pecah */
}

.program-section .six-item-carousel .card-body {
    padding: 15px; /* Padding di dalam card-body */
    text-align: center; /* Atur agar teks berada di tengah */
}

.program-section .six-item-carousel .card-title {
    font-size: 18px; /* Atur ukuran font judul */
    margin-bottom: 10px; /* Jarak bawah judul */
}

.program-section .six-item-carousel .card-text {
    font-size: 14px; /* Atur ukuran font deskripsi */
    color: #666; /* Warna teks deskripsi */
    margin-bottom: 15px; /* Jarak bawah deskripsi */
}

.program-section .six-item-carousel .btn-primary {
    display: inline-block;
    margin-top: 10px;
    font-size: 14px; /* Atur ukuran font tombol */
    padding: 10px 20px; /* Padding tombol */
    border-radius: 5px; /* Border-radius tombol */
}

.program-section .six-item-carousel .btn-primary i {
    margin-left: 5px; /* Jarak antara teks dan icon */
}
