.container2 {
    max-width: 1200px;
    margin: 20px auto; /* Menambahkan margin untuk memberi jarak */
    padding: 15px; /* Menambahkan padding untuk menghindari elemen lengket */
    box-sizing: border-box; /* Memastikan padding tidak memengaruhi ukuran total */
}

.cards-container2 {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

/* Tata Imagination Challenge Card */
.tata-imagination-card {
    position: relative;
    height: 350px;
    overflow: hidden;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Tambahkan shadow */
    background-color: #fff; /* Tambahkan warna latar belakang */
}

.tata-imagination-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.tata-imagination-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.tata-imagination-card .content {
    position: relative;
    z-index: 3;
    color: white;
    padding: 20px;
}

.tata-imagination-card h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.tata-imagination-card p {
        border-left: 1px solid white;
    font-size: 16px;
    padding-left: 10px;
    margin-bottom: 20px;
}

.tata-imagination-card a {
    color: #c99a60;
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
    position: relative;
    transition: transform 0.3s ease;
}

.tata-imagination-card a::after {
    content: "→";
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.tata-imagination-card a:hover::after {
    transform: translateX(5px);
}

/* Beware of Job Scams Card */
.beware-job-scams-card {
    position: relative;
    height: 350px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;

    background-color: #7a7a7a; /* Warna abu-abu sesuai gambar */
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.beware-job-scams-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0; /* Tidak digunakan karena kita ingin background abu-abu solid */
}

.beware-job-scams-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.beware-job-scams-card .content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 20px;
}

.beware-job-scams-card h3 {
    font-size: 23px;
    margin-bottom: 10px;
    color: #c99a60;
    font-weight: bold;
}

.beware-job-scams-card p {
    line-height: 1.3rem;
    font-size: 15px;
    margin-bottom: 10px;
    text-align: left;
    border-left: 1px solid #c99a60;
    padding-left: 15px;
}

.beware-job-scams-card a {
    color: #c99a60;
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
    position: relative;
    transition: transform 0.3s ease;
}

.beware-job-scams-card a::after {
    content: "→";
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.beware-job-scams-card a:hover::after {
    transform: translateX(5px);
}

.beware-job-scams-card .icon-container {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 50px;
    color: rgba(255, 255, 255, 0.3); /* Warna abu-abu transparan */
    z-index: 3;
}

/* Bottom Cards */
.bottom-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.bottom-card {
    background-color: white;
    padding: 20px;
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);

}

.bottom-card:nth-child(2) {
    background-color: #c99a60;
    padding: 20px;
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);

}

.bottom-card .icon {
    font-size: 40px;
    color: #c99a60;
    margin-bottom: -5px;
}

/* Style khusus untuk angka employee count */
.bottom-card p.employees {
    font-size: 50px !important;
    color: #c99a60 !important;
    font-weight: 600 !important;
    margin-top: 25px !important;
    margin-bottom: 20px !important;
}

/* Responsive untuk HP */
@media (max-width: 768px) {
    .bottom-card p.employees {
        margin-top: 20px !important;
        margin-bottom: 15px !important;
    }
}


.bottom-card h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}

/* Target only the h3 inside the Featured Jobs card */
.bottom-card:nth-child(2) h3 {
    font-size: 30px;
    color: #ffffff;
    margin-bottom: 10px;
    padding-bottom: 5px;
    font-weight: bold;
    border-bottom: 1px solid #ffffff;
}

.bottom-card p:first-of-type {
    font-size: 17px;
    color: #fff;
    margin-bottom: 3px;
    font-weight: 600;
}

.bottom-card p:nth-of-type(2) {
    font-size: 14px;
    color: #fff;
    margin-bottom: 5px;
}


.bottom-card a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    display: inline-block;
    margin-top: 10px;
    transition: transform 0.3s ease;
}

.bottom-card a::after {
    content: "→";
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.bottom-card a:hover::after {
    transform: translateX(5px);
}

/* Responsif untuk layar kecil */
@media (max-width: 768px) {
    .cards-container2 {
        grid-template-columns: 1fr; /* Ubah menjadi satu kolom */
    }

    .bottom-cards {
        grid-template-columns: 1fr; /* Ubah menjadi satu kolom */
    }

    .bottom-card {
        height: auto;
        padding: 15px;
    }

    .bottom-card .icon {
        font-size: 30px;
    }

    .employees {
        font-size: 18px;
    }

    .beware-job-scams-card {
        height: 250px; /* Ukuran card lebih kecil */
    }

    .beware-job-scams-card h3 {
        font-size: 18px;
    }

    .beware-job-scams-card p {
        font-size: 14px;
    }

    .beware-job-scams-card .icon-container {
        font-size: 40px;
    }
}

.bottom-card h3 {
    font-size: 15px;
}

.bottom-card p {
    font-size: 12px;
}
}

/* Responsif untuk layar sangat kecil */
@media (max-width: 480px) {
    .tata-imagination-card, 
    .beware-job-scams-card {
        height: 250px; /* Tinggi card lebih kecil */
    }

    .tata-imagination-card .content, 
    .beware-job-scams-card .content {
        padding: 10px;
    }

    .tata-imagination-card h3 {
        font-size: 16px;
    }

    .beware-job-scams-card h3 {
        font-size: 18px;
        padding-top: 10px;
    }

    .tata-imagination-card p, 
    .beware-job-scams-card p {
        font-size: 13px;
    }
}
