:root {
    --white: #fff;
    --light: #f6f6f6;
    --dark: #343a40;
    --hijau: #073e29;
    --btn-hijau: #073e29;
    --hijau-muda: #92e3a9;
    --hitam: #1e293b;
    --primary: #0d6efd;
    --red: #dc3545;
    --orange: #fd7e14;
    --warning: #ffc107;
    --coklat: #8a4524;
    --blue: #364d65;
    --bs-success: #71dd37;
    --text-success: #71dd37;

    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.5s ease;
}

.btn-hijau {
    color: #fff;
    background-color: var(--btn-hijau);
    border-color: var(--btn-hijau);
    box-shadow: 0 0.125rem 0.25rem 0 rgba(7, 62, 41, 0.4);
}
.btn-hijau:hover {
    color: #fff !important;
    background-color: #0f553a !important;
    border-color: #0f553a !important;
    transform: translateY(-1px) !important;
}

.btn-check:focus + .btn-hijau,
.btn-hijau:focus,
.btn-hijau.focus {
    color: #fff;
    background-color: var(--btn-hijau);
    border-color: var(--btn-hijau);
    transform: translateY(0);
    box-shadow: none;
}

.btn-outline-hijau {
    color: var(--btn-hijau);
    border-color: var(--btn-hijau);
    background: transparent;
}
.btn-outline-hijau:hover {
    color: #fff !important;
    background-color: #0f553a !important;
    border-color: #0f553a !important;
    box-shadow: 0 0.125rem 0.25rem 0 rgba(7, 62, 41, 0.4) !important;
    transform: translateY(-1px) !important;
}
.btn-check:focus + .btn-outline-hijau,
.btn-outline-hijau:focus {
    color: #fff;
    background-color: #0f553a;
    border-color: #0f553a;
    box-shadow: none;
    transform: translateY(0);
}

.btn-check:checked + .btn-outline-hijau,
.btn-check:active + .btn-outline-hijau,
.btn-outline-hijau:active,
.btn-outline-hijau.active,
.btn-outline-hijau.dropdown-toggle.show {
    color: #fff !important;
    background-color: var(--hijau) !important;
    border-color: var(--hijau) !important;
}
.btn-check:checked + .btn-outline-hijau:focus,
.btn-check:active + .btn-outline-hijau:focus,
.btn-outline-hijau:active:focus,
.btn-outline-hijau.active:focus,
.btn-outline-hijau.dropdown-toggle.show:focus {
    box-shadow: none;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--btn-hijau) !important;
}

/* ---------------------------------- Pendiri Yayasan ---------------------------------- */
.foto-pendiri-yayasan {
    width: 500px;
    height: 450px;
    object-fit: cover;
    border-radius: 15px;
}

.infoPendiri {
    width: 100%;
    height: 50vh;
    text-align: center;
    line-height: 50vh;
}

.pendiri-keterangan,
.deskripsi {
    color: var(--hitam) !important;
    text-align: justify;
}

.pendiri-yayasan .jabatan-pendiri {
    margin-top: -10px;
}
/* ---------------------------------- End Pendiri Yayasan ---------------------------------- */

.gambar_rounded {
    border-radius: 20px;
}

.border-radius-30 {
    border-radius: 30px;
}

.height_visi_misi {
    height: 300px;
}

.tentang,
.guru {
    font-size: 2.5rem;
    text-align: center;
    font-weight: bold;
    color: var(--hitam);
    text-shadow: 2px 2px 0px var(--bs-success);
}

.visi,
.misi {
    font-size: 2rem;
    text-align: center;
    font-weight: bold;
    color: var(--hitam);
    text-shadow: 2px 2px 0px var(--bs-success);
}

.justify-justify {
    text-align: justify !important;
}
/* ---------------------------------------------------------------------------------------------------------- */
.teachers-container {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    color: var(--secondary-color);
}

.section-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: var(--hijau);
    margin: 15px auto;
    border-radius: 2px;
}

.card-profile {
    border: none;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    background: white;
}

.card-profile:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.card-profile .card-img-top {
    height: 200px;
    width: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition);
}

.card-profile:hover .card-img-top {
    transform: scale(1.05);
}

.card-body {
    text-align: center;
}

.card-title {
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.card-text {
    color: #7f8c8d;
    margin-bottom: 1.5rem;
}

.social-links {
    gap: 0.5rem;
}

.bulat-wadah {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--light-color);
    color: var(--secondary-color);
    transition: var(--transition);
}

.bulat-wadah:hover {
    background: var(--hitam);
    color: white;
    transform: translateY(-3px);
}
/* Custom 5 Columns */
.col-xl-5col {
    flex: 0 0 auto;
    width: 20%; /* 5 kolom */
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .col-xl-5col {
        width: 25%; /* 4 kolom */
        margin-left: auto;
        margin-right: auto;
    }
    /* Tambahkan ini untuk memastikan row tetap di tengah */
    .row.g-4 {
        justify-content: center;
    }
}

@media (max-width: 992px) {
    .col-xl-5col {
        width: 33.333%; /* 3 kolom */
    }
}

@media (max-width: 768px) {
    .col-xl-5col {
        width: 50%; /* 2 kolom */
    }
}

@media (max-width: 576px) {
    .col-xl-5col {
        width: 90%; /* 1 kolom (hampir full width) */
        max-width: 300px; /* Agar tidak terlalu lebar di mobile */
    }
}

/* Jika ingin card juga rata tengah secara vertikal */
.card-profile {
    margin: 0 auto;
}
