/* Mengubah warna navbar */
.md-header {
    background-color: #846BAE !important; /* Deep Purple */
}

/* Mengubah warna sidebar */


/* Mengubah warna tautan (links) */

.md-tabs {
    background-color: #846BAE;
}

/* Background full screen */
#background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: url('../assets/ibik3.png') no-repeat center center fixed;
    background-size: cover;
}

/* Content box di kiri bawah */
#content-box {
    position: absolute;
    bottom: 7%;
    left: 7%;
    max-width: 500px;
    color: black;
}

/* Styling teks */
#content-box p {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: black;
}

/* Tombol */
.buttons {
    display: flex;
    gap: 10px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1.2em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.3s ease-in-out;
}

.btn-primary {
    background: #876eaf;
    color: white;
}
.btn-mulai {
    background: white;
    color: #876eaf;
}


.btn-primary:hover {
    background: #876eaf;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.4);
}

p {
    text-align: left;
}


/* Mengatur kontainer utama agar melebar ke seluruh layar */
.md-main__inner {
    max-width: 100% !important;
}

.md-content h1{
    margin-bottom: -1rem;
}

.md-content h2{
    margin-bottom: -1rem;
}
.md-content h3{
    margin-bottom: -1rem; /* Ubah sesuai kebutuhan, default biasanya 1rem */
}

.md-content h4{
    margin-bottom: -0.7rem; /* Ubah sesuai kebutuhan, default biasanya 1rem */
}



/* Mengurangi jarak bawah gambar */
.md-content img {
    margin-bottom: -0.1rem; /* Default biasanya 1rem, ubah sesuai kebutuhan */
}

/* Default (Light Mode) */
:root {
--table-border-color: black;
--table-header-bg: #f5f5f5;
--table-text-color: black;
}

/* Dark Mode */
[data-md-color-scheme="slate"] {
--table-border-color: white;
--table-header-bg: #333;
--table-text-color: white;
}

.md-typeset table {
border-collapse: collapse;
width: 100%;
}

.md-typeset table th,
.md-typeset table td {
border: 2px solid var(--table-border-color);
padding: 8px;
color: var(--table-text-color);
}

.md-typeset table th {
background-color: var(--table-header-bg);
font-weight: bold;
}

#hero-section {
    display: flex;
    width: 100%;
    height: 400px;
    align-items: center;
    justify-content: center;
    text-align: center;
    justify-content: space-between;
    align-items: center;
    background: url('{{ "assets/vector.png" | url }}') no-repeat center center/cover;
    padding-left: 80px;
    padding-right: 80px;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;

}

.hero-content {
    max-width: 50%;
    z-index: 2;
}

.hero-content h1{
    margin-bottom: 10px;
    font-size: 48px;
    color : #ffffff;
    display: flex;
    text-align: left;
    font-weight: bold;
    
}

.hero-content p{
    color: #ffffff;
    font-size: 22px;
    display: flex;
}

.hero-logo {
    width:30%;
    height: auto;
    z-index: 3;
    width: 500px;
}

.hero-buttons {
    display: flex;
    margin-top: 20px;
}

.hero-buttons a {
    margin-right: 10px;
}

.btn-primary {
    background-color: #dddede;
}

.btn-secondary {
    background-color: #dddede;
    border-color: none;
}

.btn-secondary:hover{
    background-color: #876eaf;
    border-color: #846BAE;
}

/* Section Styling */
#featured-section {
    text-align: center;
    margin-top: 100px;
    padding: 50px 20px;
}

#featured-section h2 {
    font-weight: bold;
    font-size: 28px;
    color: #876eaf; /* Warna teks sesuai tampilan */
    margin-bottom: 50px;
}

/* Grid Container */
.featured-container {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}
.title-2{
    margin-top: 100px;
}

/* Card Styling */
.featured-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between; /* Pastikan isi sejajar */
    background: white;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 20px;
    width: 250px; /* Sesuaikan ukuran card */
    min-height: 350px; /* Pastikan tinggi seragam */
    text-align: center;
}
.featured-item:hover {
    transform: translateY(-5px);
}

/* Icon Styling */
.featured-icon img {
    width: 100px; /* Sesuaikan ukuran ikon */
    height: auto;
    margin-bottom: -60px;
}

/* Card Title */
.featured-content h3 {
    font-size: 18px;
    font-weight: bold;
    color: #876eaf;
    margin-bottom: 10px;
}

/* Card Description */
.featured-content p {
    font-size: 15px;
    color: #000000;
    text-align: center;
    flex-grow: 1; /* Memastikan teks merata */
}


/* Responsive untuk Tablet */
@media (max-width: 1024px) {
    #hero-section {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-overlay {
        display: none;
    }

    .hero-content {
        max-width: 80%;
    }
    .hero-content h1 {
        font-size: 32px;
        color: #876eaf;
        text-align: center;
    }

    .hero-content p {
        font-size: 24px;
        color: #876eaf;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-logo {
        display: none;
    }
}

/* Responsive untuk Mobile */
@media (max-width: 768px) {
    #hero-section {
        flex-direction: column;
        padding: 20px;
    }

    .hero-content h1 {
        font-size: 32px;
        color: #876eaf;
        text-align: center;
    }

    .hero-content p {
        font-size: 26px;
        color: #876eaf;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-logo {
        display: none;
    }
}

/* Responsive untuk layar sangat kecil (Smartphone kecil) */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .hero-buttons a {
        width: 50%;
        text-align: center;
    }

    .hero-logo {
        display: none;
    }
}

/* Responsive untuk Mobile */
@media (max-width: 768px) {
    .featured-container {
        flex-direction: column;
        align-items: center;
    }

    .featured-item {
        width: 90%;
    }
}   