body {
    background-color: #f4f7f9;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Header & Navigation */
.navbar {
    background-color: #4a4e69 !important;
     box-shadow: 0 4px 6px rgba(0,0,0,0.1);
 }
.nav-link, .navbar-brand {
    color: white !important;
     font-weight: 500;
 }
.nav-link:hover {
    color: #00b4d8 !important;
 }
.premium-btn {
    background-color: #ee8434;
     color: white;
     border-radius: 6px;
     font-weight: 700;
     transition: background-color 0.3s;
 }
.premium-btn:hover {
    background-color: #d1752b;
 }

/* Card & Headers */
.card {
    border-radius: 12px;
     box-shadow: 0 6px 16px rgba(0,0,0,0.05);
     border: none;
 }
.card-header-custom {
    border-bottom: 2px solid #e0eeef;
     padding-bottom: 10px;
     margin-bottom: 15px;
 }
.card-header-custom h3 {
    color: #4a4e69;
    font-weight: 600;
 }

/* Challenge & Leaderboard Styles */
.challenge-item {
    border-bottom: 1px solid #eee;
     padding-block: 15px;
     display: flex;
     justify-content: space-between;
     align-items: center;
 }

.challenge-item:last-child {
    border-bottom: none;
 }

.tag-tier {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75em;
    font-weight: 700;
    margin-right: 8px;
 }

 .tag-easy {
    background-color: #d4edda;
     color: #155724;
 }

 .tag-medium {
    background-color: #fff3cd;
     color: #856404;
 }

 .tag-hard {
    background-color: #ffcdcd;
     color: #850404;
 }

.challenge-meta {
    font-size: 0.9em;
     color: #555;
 }

.leaderboard-item {
    display: flex;
     justify-content: space-between;
     padding-block: 10px;
     border-bottom: 1px dashed #ddd;
 }
.leaderboard-item:first-child {
    font-weight: 700;
     color: #00b4d8;
     font-size: 1.05em;
 }
.leaderboard-item:last-child {
    border-bottom: none;
 }

/* Buttons */
.cta-action {
    background-color: #00b4d8;
     color: white;
     padding: 8px 18px;
     font-weight: 600;
     border: none;
     border-radius: 6px;
 }
.cta-upgrade {
    background-color: #ee8434;
     color: white;
     padding: 8px 18px;
     font-weight: 600;
     border: none;
     border-radius: 6px;
 }
.profile-link {
    font-weight: 600;
     color: #00b4d8 !important;
 }

/* Event Card */
.event-card-body {
    padding: 10px 0;
 }
.event-item {
    border-bottom: 1px solid #eee;
     padding-block: 10px;
 }
.event-item:last-child {
    border-bottom: none;
 }

.cta-login-btn {
    background-color: #00b4d8;
     color: white;
     border-radius: 6px;
     font-weight: 700;
     transition: background-color 0.3s;
 }
.cta-login-btn:hover {
    background-color: #008fa7;
 }
.premium-btn {
    background-color: #ee8434;
     color: white;
     border-radius: 6px;
     font-weight: 700;
     margin-left: 10px;
 }

.hero-section {
    background-image: url("../img/hero-image.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    color: white;
    padding: 60px 0;
    text-align: center;
    height: 60vh;
    opacity: 0.7;
}

.events-section {
    background-color: #4a4e69;
    color: white;
    padding: 60px 0;
    margin-bottom: 30px;
}

.hero-section h1 {
    font-size: 3em;
     font-weight: 700;
     margin-bottom: 20px;
 }
.hero-section p {
    font-size: 1.2em;
     margin-bottom: 30px;
     max-width: 800px;
     margin-inline: auto;
 }

/* Card Styles */
.card {
    border-radius: 12px;
     box-shadow: 0 6px 16px rgba(0,0,0,0.05);
     border: none;
     height: 100%;
 }
.card-title {
    color: #4a4e69;
     font-weight: 600;
 }

/* Challenge Preview */
.challenge-preview {
    padding: 10px 0;
     border-bottom: 1px dashed #eee;
 }
.tag-tier {
    padding: 4px 8px;
     border-radius: 4px;
     font-size: 0.75em;
     font-weight: 700;
     margin-right: 8px;
 }
.tag-free {
    background-color: #d4edda;
     color: #155724;
 }
.tag-premium {
    background-color: #fff3cd;
     color: #856404;
 }

 .bg-slate-blue {
    background-color: #4a4e69;
 }

 /* Konten Utama */
h1.challanges-header {
    color: #4a4e69;
    text-align: center;
    margin-bottom: 10px;
    font-size: 2.5em;
}

.tagline {
    text-align: center;
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #666;
}

/* Bagian Tantangan */
.challenge-section {
    background-color: white;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.challenge-section h2 {
    color: #4a4e69;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.challenge-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.challenge-table th, .challenge-table td {
    padding: 15px;
    border-bottom: 1px solid #ddd;
}

.challenge-table th {
    background-color: #eaf4ff;
    color: #007bff;
    font-weight: 600;
}

.challenge-table tr:hover {
    background-color: #f9f9f9;
}

.action-button {
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.start {
    background-color: #28a745;
    color: white;
}

.start:hover {
    background-color: #218838;
}

.continue {
    background-color: #ffc107;
    color: #333;
}

.continue:hover {
    background-color: #e0a800;
}

.view-solution {
    background-color: #6c757d;
    color: white;
}

/* Styling untuk Tingkat Kesulitan */
.level-mudah { color: #28a745; font-weight: bold; }
.level-menengah { color: #ffc107; font-weight: bold; }
.level-sulit { color: #dc3545; font-weight: bold; }

/* Leaderboard dan FAQ */
.leaderboard, .faq {
    text-align: center;
    padding: 20px;
    background-color: #eaf4ff;
    margin-bottom: 30px;
    border-radius: 8px;
}

.leaderboard a {
    display: inline-block;
    margin-top: 15px;
    color: #007bff;
    font-weight: bold;
    text-decoration: none;
}

.metric-group {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.metric-group h3 {
    margin-top: 0;
    color: #5c67f2;
}

.metric-option label {
    margin-right: 20px;
    font-weight: bold;
}

.score-display {
    text-align: center;
    margin-top: 30px;
    padding: 15px;
    border: 3px solid #5c67f2;
    border-radius: 4px;
    font-size: 1.2em;
}

#cvss-score {
    font-size: 2.5em;
    font-weight: bold;
    color: #d9534f;
    margin-top: 10px;
}

footer {
    bottom: 0;
    left: 0;
    width: 100%;
    /* Add other styling like background-color, padding, etc. */
}
