body {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.accent-color {
    color: #181E4B !important;
}

.accent-color-2 {
    color: #D62924 !important;
}

.accent-color-3 {
    color: #5E6282 !important;
}

.accent-color-background {
    background-color: #181E4B !important;
}

.accent-color-background-2 {
    background-color: #D62924 !important;
}

.accent-color-background-2-faded {
    background-color: #f2e1e0 !important;
}

.primary-color-background-faded {
    background-color: #CCE0F7;
}

.success-color-background-faded {
    background-color: #C7E9D3;
}

.accent-color-background-3 {
    background-color: #5E6282 !important;
}

.bg-shadow {
    box-shadow: -2px 9px 60px rgba(214, 41, 36, 0.56) !important;
}

.fw-extrabold {
    font-weight: 800 !important;
}

/* Menghilangkan default button style */
.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 1rem;
    font-size: 1rem;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Hover di area pertanyaan */
.faq-question:hover {
    background-color: #fafafa;
}

/* Jika pertanyaan sedang terbuka (bukan collapsed), warnai teks menjadi merah */
.faq-question:not(.collapsed) {
    color: #dc3545; /* meniru .text-danger */
}

/* Ikon panah, rotasi saat item dibuka */
.faq-question i {
    transition: transform 0.3s ease;
}

.faq-question:not(.collapsed) i {
    transform: rotate(90deg);
}

/* Jawaban: border kiri merah, sedikit padding */
.faq-answer {
    padding: 1rem;
    border-left: 4px solid #dc3545;
    margin-left: 0.5rem; /* agar sedikit bergeser ke kanan */
}

.faq-item.border-bottom {
    border-color: #eee !important;
}

.nav-logo {
    height: 80px;
}

@media only screen and (max-width: 600px) {
    .nav-logo {
        height: 60px;
    }
}

.banner-header {
    font-size: 5rem;
    letter-spacing: -2px;
    line-height: 1.2 !important;
    font-weight: 800;
}

@media only screen and (max-width: 600px) {
    .banner-header {
        font-size: 3rem;
        letter-spacing: -1px;
    }
}

.banner-subtitle {
    width: 73%;
}

@media only screen and (max-width: 600px) {
    .banner-subtitle {
        width: 100%;
    }
}

.countdown-card {
    background-color: #fff;
    border-radius: 4rem 20rem 4rem 4rem !important;
    overflow: hidden;
}

@media only screen and (max-width: 600px) {
    .countdown-card {
        border-radius: 2rem !important;
    }
}

.news-card {
    border-radius: 1.2rem;
    overflow: hidden;
    min-height: 500px;
    padding: 25px;
}

@media only screen and (max-width: 600px) {
    .news-card {
        min-height: 300px;
        padding: 25px;
    }
}

.galeri-card {
    width: 100%;
    border-radius: 30px;
}

@media only screen and (max-width: 600px) {
    .galeri-card {
        border-radius: 16px;
    }
}

/* List Misi */
.misi-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #b02a37; /* Warna merah KONI */
    margin-bottom: 12px;
}

/* Icon Misi */
.misi-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 28px;
    height: 28px;
    background: #D62924;
    color: white;
    font-weight: bold;
    border-radius: 50%;
}

/* Kartu Struktur Organisasi */
.team-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.team-pic {
    width: 100%;
    height: 550px;
    object-fit: cover;
    border-radius: 150px 40px 16px 16px;
}

.shape-svg {
    width: 100%;
    height: 550px;
    position: absolute;
    object-fit: cover;
}

/* Layer Overlay */
.team-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
}

/* SVG Shape */
.shape-svg {
    position: absolute;
    bottom: 0;
    left: 0;
    top: -35px;
    z-index: 1;
}

/* Teks di atas SVG */
.team-text {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 2;
    color: white;
}

/* Statistik Card */
.stat-card {
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
}

.stat-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.stat-card h3 {
    font-size: 24px;
    font-weight: bold;
    color: #b02a37;
}

.stat-card p {
    margin: 0;
    font-size: 14px;
}

/* Section Atlet Berprestasi */
.athlete-section {
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.athlete-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
}

.athlete-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 16px;
}

/* Overlay Atlet */
.athlete-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(176, 42, 55, 0.9);
    color: white;
    padding: 12px;
    text-align: left;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

.athlete-overlay h5 {
    font-size: 16px;
    font-weight: bold;
}

.athlete-overlay p {
    font-size: 14px;
    margin: 0;
}

/* Filter Buttons */
.filter-btn {
    background: rgba(214, 41, 36, 0.1);
    color: #b02a37;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
}

.filter-btn.active {
    background: #D62924;
    color: white;
}

.filter-btn:hover {
    background: #D62924;
    color: white;
}

/* Hide elements by default */
.filter-item {
    display: none;
}

/* Show all elements by default */
.filter-item.show {
    display: block;
}

/* KONI Provinsi Card Hover Effects */
.koni-provinsi-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
    border-color: #D62924 !important;
}

.koni-provinsi-card img {
    transition: transform 0.3s ease;
}

.koni-provinsi-card:hover img {
    transform: scale(1.1);
}

/* Organisasi Fungsional Card Hover Effects */
.org-fungsional-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
    border-color: #D62924 !important;
}

.org-fungsional-card img {
    transition: transform 0.3s ease;
}

.org-fungsional-card:hover img {
    transform: scale(1.1);
}

/* Gallery Cards */
.gallery-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.gallery-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-card:hover {
    transform: scale(1.05);
}

.gallery-text {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(176, 42, 55, 0.9);
    color: white;
    padding: 12px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
}

.header-banner {
    background-size: cover;
    background-position: center;
    position: relative;
}

.banner-card {
    position: relative;
    z-index: 2;
    margin: 30px 0;
}

.banner-content {
    background-color: #fff;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
}

.banner-label {
    font-weight: bold;
    padding: 5px 15px;
    border-radius: 100px;
    display: inline-block;
    position: absolute;
    top: 20px;
    left: 20px;
}

.pon-logo {
    max-height: 150px;
    margin-top: 25px;
}

.event-details {
    padding: 20px 30px 30px;
}

.event-details h1 {
    color: #12263f;
    font-weight: 800;
    margin-top: 15px;
    margin-bottom: 20px;
}

.event-info {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #5e6e82;
}

.event-info i {
    color: #2c7be5;
    margin-right: 10px;
}

.mascot-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
}

.pon-mascot {
    max-height: 300px;
    position: relative;
    z-index: 1;
}

.bubble-pattern {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: radial-gradient(circle, #fdd1d1 10%, transparent 10%),
    radial-gradient(circle, #fdd1d1 10%, transparent 10%);
    background-size: 30px 30px;
    background-position: 0 0, 15px 15px;
    opacity: 0.3;
    z-index: 0;
}

.sponsors-container {
    padding: 3rem 0;
}

.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 2rem;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.sponsor-item {
    display: flex;
    justify-content: center;
    align-items: center;
}

.sponsor-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.sponsor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.sponsor-logo-container {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.sponsor-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.sponsor-logo-2 {
    max-width: 100px;
    object-fit: contain;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .sponsor-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 576px) {
    .sponsor-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 1rem;
    }
    .sponsor-logo-container {
        height: 80px;
    }
    .sponsor-card {
        padding: 1rem;
    }
}
