/* ================== Section 2 =====================*/
.card-container {
    margin-left: auto;
    margin-right: auto;
	display: flex;
    animation: fadeInUp 1s ease-in-out 0.6s forwards;
	gap: 40px;
	justify-content: center;
}

.left-card-container {
    position: relative;
    top: -150px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
	align-items: flex-end;

}

.middle-card-container {
	position: relative;
    top: -150px;
	flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
	align-items: center;
}

.middle-card-container .card-table, .left-card-container .card-table{
    width: 100%;
    border-collapse: collapse;
	font-size: 1.2em;
    font-weight: 600;

}

.right-card-container {
	position: relative;
    top: -150px;
	flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
	align-items: flex-start;
}


.left-card {
	position: relative;
	font-size: 16px;
	line-height: 24px;
	padding: 40px 40px;
	font-weight: 600;
	overflow: hidden;
	color: #146A0E;
	background: #19EC15;
	letter-spacing: .8px;
	border-radius: 7px;
	text-decoration: none;
	display: inline-flex;
	justify-content: center;
	text-align: center;
	white-space: nowrap;
	transition: all .3s ease;
	width: 400px;
	flex-direction: column;
	align-items: center;
}

.middle-card {
	position: relative;
	font-size: 16px;
	line-height: 24px;
	padding: 40px 40px;
	font-weight: 600;
	overflow: hidden;
	color: #146A0E;
	background: #CAF8BF;
	letter-spacing: .8px;
	border-radius: 7px;
	text-decoration: none;
	display: inline-flex;
	justify-content: center;
	text-align: center;
	white-space: nowrap;
	transition: all .3s ease;
	width: 400px;
	flex-direction: column;
	align-items: center;
}

.right-card {
	position: relative;
	font-size: 16px;
	line-height: 24px;
	padding: 40px 40px;
	font-weight: 600;
	overflow: hidden;
	color: #CAF8BF;
	background: #146A0E;
	letter-spacing: .8px;
	border-radius: 7px;
	text-decoration: none;
	display: inline-flex;
	justify-content: center;
	text-align: center;
	white-space: nowrap;
	transition: all .3s ease;
	width: 400px;
	flex-direction: column;
	align-items: center;
}

/* .info-box {
	width: 346px;
} */

.left-card:hover, .middle-card:hover, .right-card:hover {
    transform: scale(1.05); /* Membesar saat di-hover */
}

/* Tempat untuk ikon */
.card-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
}

/* Style untuk ikon */
.card-icon img {
    width: 100%;
    height: auto;
}

/* Style untuk judul */
.cta-title {
    font-size: 1.6em;
    font-weight: bold;
    margin: 10px 0 25px;
    text-align: center;
}

.cta-title-2 {
    display: none;
}


.card-table td:empty {
    height: 28px;
}

/* Style jadwal poliklinik */
.right-card-container .card-table {
    width: 100%;
    border-collapse: collapse;
	font-size: 1.2em;
	font-weight: 400;
}

.card-table td {
    padding: 2px 0;
}

.day {
    text-align: left;
}

@media (max-width: 992px) {
    .card-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    } 
    
    .card-table td:empty {
        display: none;
    }

    .left-card-container,
    .middle-card-container {
        top: -80px;
        flex: 0 0 auto;
        align-items: center;
    }

    .right-card-container {
        top: -80px;
        flex: 1 0 100%;
        align-items: center;
        display: flex; 
        justify-content: center;
    }

    /* Pisahkan rule ini dari .right-card */
    .left-card, .middle-card {
        width: 280px; 
        padding: 25px; 
        font-size: 14px; 
        white-space: normal; 
    }

    .right-card {
        width: 100%;
        max-width: 580px; sama */
        padding: 25px; 
        font-size: 14px; 
        white-space: normal; 
    }

    .card-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 10px;
    }

    .cta-title {
        display: none;
    }
    
    .cta-title-2 {
        display: block;
        font-size: 1.3em; 
    }
    
    .middle-card-container .card-table, 
    .left-card-container .card-table,
    .right-card-container .card-table {
        font-size: 1em;
    }

    .card-table td:empty {
        height: 15px;
    }
}

@media (max-width: 600px) {
    .card-table td:empty {
        display:none;
    }
    
    /* Pisahkan rule ini dari .right-card */
    .left-card, .middle-card {
        width: 170px;
        padding: 20px;
        font-size: 18px;
    }

c
    /* BUAT RULE BARU UNTUK .right-card */
    .right-card {
        width: 100%; /* Warisi 100% width */
        padding: 20px;
        font-size: 18px;
        white-space: normal; /* Pastikan ini ada jika ter-override */
    }

    .cta-title {
        display: none;
    }
    
    .cta-title-2 {
        font-size: 1.2em;
        margin-bottom: 10px;
    }
    
    .card-icon {
        width: 40px;
        height: 40px;
    }

    .middle-card-container .card-table, 
    .left-card-container .card-table,
    .right-card-container .card-table {
        font-size: 0.7em; 
    }
    
        .right-card-container {
        margin-left: -20px;
        margin-right: -20px;
        display: flex;
        justify-content: center;
    }

    .right-card {
        width: 360px; 
        max-width: none; /* hapus batasan lebar */
        padding: 25px;
        font-size: 18px;
        white-space: normal;
        box-sizing: border-box;
    }
}

@media (max-width: 396px) {
    .left-card, .middle-card, .right-card {
        width: 280px;
    }
    }
}