
.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
}

.old-date {
    text-decoration: line-through;
    color: gray;
}

.new-date {
    font-weight: bold;
}

.hero .hero-content h3 {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero .hero-content h3 .accent-text {
    color: var(--accent-color);
}

.hero .btn-danger {
    background-color: #fe3f40;
    border-color: #fe3f40;
    color: white;
    padding: 0.75rem 2.5rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.hero .btn-danger:hover {
    background-color: color-mix(in srgb, #fe3f40, black 20%);
    border-color: color-mix(in srgb, #fe3f40, black 20%);
}

.customer-avatars {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    max-width: 380px;
    margin: auto;
}

.avatar {
    width: 20px;
    /* lebih kecil */
    height: 20px;
    /* lebih kecil */
    object-fit: contain;
    border-radius: 50%;
    background: #fff;
    padding: 2px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}


.blog-section {
    background: #f9fafc;
}

/* label */

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-top: 10px;
}

.section-title span {
    color: #0d6efd;
}

.section-desc {
    color: #6c757d;
    margin-top: 15px;
}


/* featured news */

.featured-news {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.featured-news img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.news-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    color: #fff;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.85),
            rgba(0, 0, 0, 0.65),
            rgba(0, 0, 0, 0.1));
    border-radius: 0 0 16px 16px;
}

.news-overlay h4 a {
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
}

.news-overlay h4 a:hover {
    color: #ff4d4f;
}

.news-overlay p {
    color: #e6e6e6;
    font-size: 14px;
}



/* card berita */

.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.news-card img {
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 20px;
}

.news-date {
    font-size: 13px;
    color: #999;
}

.news-content h5 {
    font-size: 18px;
    margin-top: 10px;
    font-weight: 600;
}



.ptn-card {
    background: #fff;
    border-radius: 14px;
    padding: 25px 20px;
    height: 100%;
    transition: all .3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.ptn-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.ptn-logo img {
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
}

.ptn-name {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    min-height: 50px;
}

.ptn-link {
    margin-top: 10px;
    font-size: 14px;
    color: #0d83fd;
    font-weight: 500;
}

.ptn-card:hover .ptn-link {
    text-decoration: underline;
}

.announcement-section {
    background: #f7f9fc;
}

.announcement-image img {
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* card */

.announcement-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.announcement-card h2 {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 15px;
}

.announcement-card h2 span {
    color: #0d83fd;
}

.announcement-card p {
    color: #6c757d;
    line-height: 1.7;
}

.announcement-card .btn {
    margin-top: 15px;
    border-radius: 8px;
    padding: 12px 25px;
    font-weight: 600;
}

/* hover button */

.announcement-card .btn:hover {
    background: #d93031;
}

.bank-section {
    background: #f8fafc;
}

/* title */

.bank-section h2 {
    font-size: 34px;
    font-weight: 700;
}

.bank-section h2 span {
    color: #fe3f40;
}

/* card */

.bank-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 12px;
    padding: 30px;
    height: 120px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
}

.bank-card img {
    max-width: 120px;
    opacity: 0.85;
    transition: 0.3s;
}

/* hover */

.bank-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.bank-card:hover img {
    opacity: 1;
    transform: scale(1.05);
}
