* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Poppins", sans-serif;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    padding: 1rem 8rem;
    border-bottom: 2px solid #eee;
    top: 0;
    z-index: 1000;
    position: sticky;
}

.navbar .logo img {
    width: 250px;
    vertical-align: middle;
    display: inline-block;
    height: 100%;
}

.burger-menu {
    display: none;
    right: 20px;
    top: 20px;
    cursor: pointer;
}

.burger-menu div {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    width: 100%;
    transition: box-shadow 0.3s ease-in-out;
    white-space: nowrap; /* Prevent wrapping */
}

.nav-links.active {
    display: flex;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.nav-links li {
    display: inline-block;
}

.nav-links a {
    color: #2f4b3c;
    text-decoration: none;
    font-size: 16px;
}

.nav-links a:hover {
    color: #b80000;
}

.nav-links a.active {
    font-weight: bold;
    color: #b80000;
}

.close-btn {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 34px;
    color: #333;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

/* Mobile Styles */
@media (max-width: 1100px) {
    .navbar {
        padding: 1rem;
    }
    .burger-menu {
        display: block;
    }
    .nav-links {
        display: none;
        width: 80%;
        flex-direction: column;
        padding-top: 20px;
        padding-left: 30px;
        position: absolute;
        top: 0;
        left: -100%;
        background-color: white;
        height: 100vh;
        gap: 2rem;
        transition: left 0.3s ease-in-out;
        overflow-y: auto;
        max-height: 100vh;
    }
    .nav-links.active {
        display: flex;
        left: 0;
        padding-bottom: 20px;
    }
    .cta {
        display: none;
    }
    .consultation-button {
        width: 100%;
        text-align: center;
    }
    .close-btn {
        display: block;
    }
}

/* Desktop Styles */
@media (min-width: 1110px) {
    .nav-links {
        display: flex;
        position: static;
        width: auto;
        gap: 1.5rem;
    }
    .burger-menu {
        display: none;
    }
}

/* Dropdown styles */
.nav-links li {
    position: relative;
}

.dropdown .dropdown-toggle {
    background: transparent;
    border: 0;
    padding: 0;
    font: inherit;
    color: #2f4b3c;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.dropdown .dropdown-toggle:hover {
    color: #b80000;
}
/* Dropdown menu styles */
.dropdown-menu {
    margin-top: 10px;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 150px; /* Set minimum width */
    max-width: 250px; /* Maximum width */
    background: #fff;
    border: 1px solid #e6e8eb;
    border-radius: 10px;
    padding: 5px;
    display: none;
    z-index: 1002;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* When dropdown is open */
.dropdown.open > .dropdown-menu {
    display: block;
}

/* Center dropdown (default behavior for larger screens) */
.dropdown-center .dropdown-menu {
    left: 50%;
    /* padding-right: 20px; */
    transform: translateX(-50%);
}

/* Align dropdown to the right edge */
.dropdown-right .dropdown-menu {
    left: auto;
    right: 0;
    transform: none;
}

/* Align dropdown to the left edge */
.dropdown-left .dropdown-menu {
    left: 0;
    transform: none;
}

/* For responsive (mobile-first) view, force left alignment */
@media (max-width: 1110px) {
    .dropdown-menu {
        left: 0 !important; /* Force left alignment */
        transform: none !important; /* Remove any centering or shifting */
        width: 100%; /* Ensure full width for better visibility */
    }
}

.dropdown-menu .dropdown-item {
    list-style: none;
    overflow: hidden;
    display: block;
}

.dropdown-item a {
    display: block;
    padding: 10px 14px;
    margin: 2px 0;
    border-radius: 8px;
    text-decoration: none;
    color: #1d2d25;
    width: 100%;
}

.dropdown-item a:hover {
    background: #f3f5f6;
    color: #b80000;
}

.dropdown-item.active a {
    background: #b80000;
    color: #fff;
}

@media (max-width: 1110px) {
    .dropdown-menu {
        width: 95%;
        min-width: auto;
        padding-top: 10px;
        position: relative;
        top: 0;
    }
}

/*  */
.hero {
    position: relative;
    height: 70vh;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    color: #fff;
    margin: 30px 120px;
    padding: 0 60px;
}
@media (max-width: 1410px) {
    .hero {
        margin: 30px 30px;
        padding: 0 20px;
    }
}
@media screen and (max-width: 768px) {
    .hero h1 {
        font-size: 2rem !important;
    }
    .hero p {
        font-size: 1rem !important;
    }
    .hero {
        padding: 0 20px;
    }
    .hero-content {
        padding-bottom: 30px !important;
    }
}
.hero-image {
    position: absolute;
    border-radius: 20px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}
.hero-content {
    position: relative;
    max-width: 800px;
    z-index: 1;
    padding-bottom: 60px;
}
.hero h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
    line-height: 1.2;
}
.hero p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #fff;
}
.hero .btn {
    background-color: #b80000;
    color: #fff;
    padding: 10px 30px;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}
.hero .btn:hover {
    background-color: #b80000;
}
.swiper-container {
    width: 100%;
    height: 100%;
}
.swiper-slide {
    width: 100%;
    height: 100%;
}
.hero-image {
    border-radius: 20px;
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}
.hero-content {
    position: relative;
    max-width: 800px;
    z-index: 1;
    padding-bottom: 60px;
}
.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
    line-height: 1.2;
}
.hero p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #fff;
}
.hero .btn {
    background-color: #b80000;
    color: #fff;
    padding: 10px 30px;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}
.hero .btn:hover {
    background-color: #b80000;
}
.category {
    margin: 20px 0 0 0;
    background-color: #fff;
    text-align: center;
    padding: 15px 0 0 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    justify-content: center;
    border-bottom: none;
    position: relative;
}
.category::-webkit-scrollbar {
    display: none;
}
.category ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    box-shadow: none;
}
.category ul li {
    margin: 0 5px;
    text-align: center;
}
.category ul li a.active {
    background-color: #b80000;
    color: #fff;
    border-color: #b80000;
}
.category-info {
    margin: 20px 0 40px 0;
    background-color: #fff;
    text-align: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: center;
    border-bottom: none;
    position: relative;
}
.category-info::-webkit-scrollbar {
    display: none;
}
.category-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    box-shadow: none;
}
.category-info ul li {
    margin: 0 5px;
    text-align: center;
}
.category-info ul li a {
    text-decoration: none;
    font-size: 1rem;
    color: rgb(44, 62, 80);
    font-weight: bold;
    padding: 8px 15px;
    border: 1px solid #b80000;
    background-color: #fcfcfd;
    border-radius: 10px;
    transition:
        background-color 0.3s,
        color 0.3s;
    display: inline-block;
    white-space: nowrap;
    width: auto;
    min-width: 100px;
    box-sizing: border-box;
}
.category-info ul li a:hover,
.category-info ul li a:focus,
.category-info ul li a:active {
    background-color: #b80000;
    color: #fff;
    border: 1px solid #fff;
}
.category-info ul li a.active {
    background-color: #b80000;
    color: #fff;
    border-color: #ffffff;
}
@media screen and (max-width: 768px) {
    .category {
        margin: 20px;
    }
    .category ul {
        justify-content: flex-start;
    }
    .category ul li {
        margin: 0 5px;
        width: auto;
        white-space: nowrap;
    }
    .category ul li a {
        font-size: 0.9rem;
        padding: 6px 10px;
    }
    .category-info {
        margin: 20px 0;
    }
    .category-info ul {
        justify-content: flex-start;
    }
    .category-info ul li {
        margin: 0 5px;
        width: auto;
        white-space: nowrap;
    }
    .category-info ul li a {
        font-size: 0.9rem;
        padding: 6px 10px;
    }
}
h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: #333;
}

button.btn:hover {
    background-color: #b80000;
}
@media screen and (max-width: 768px) {
    h2 {
        font-size: 1.2rem;
    }
    button.btn {
        padding: 12px;
        font-size: 1rem;
    }
}
@media screen and (max-width: 480px) {
    h2 {
        font-size: 1rem;
    }
    label {
        font-size: 0.9rem;
    }

    button.btn {
        width: 100%;
        padding: 14px;
        font-size: 0.9rem;
    }
}
label {
    display: block;
    font-size: 1rem;
    color: #555;
    text-align: left;
}
.image-container img {
    height: 500px;
    object-fit: contain;
    display: block;
}
h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #333;
}
p {
    font-size: 1rem;
    color: #555;
}

input {
    padding: 12px;
    font-size: 1rem;
    border-radius: 10px;
    border: 2px solid #ddd;
}
input:focus {
    border-color: #b80000;
}
button.btn {
    font-family: "Poppins", sans-serif;

    margin-top: 10px;
    padding: 10px;
    background: linear-gradient(90deg, #bb0803, #ee4426);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
button.btn-contact {
    font-family: "Poppins", sans-serif;

    margin-top: 10px;
    padding: 10px;
    background: #fff;
    color: #b80000;
    border: 1px solid #b80000;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
button.btn:hover {
    background-color: #083a08;
}
@media screen and (max-width: 768px) {
    .image-container {
        padding: 1rem;
        display: none;
    }
    button.btn {
        padding: 12px;
        font-size: 1rem;
    }
}
@media screen and (max-width: 480px) {
    h2 {
        font-size: 1rem;
    }
    label {
        font-size: 0.9rem;
    }
    input {
        font-size: 0.9rem;
    }
    button.btn {
        width: 100%;
        padding: 14px;
        font-size: 0.9rem;
    }
}
.text-center {
    text-align: center;
}
@media screen and (max-width: 768px) {
    .image-container {
        padding: 1rem;
        display: none;
    }
    button.btn {
        padding: 12px;
        font-size: 1rem;
    }
    input {
        font-size: 0.9rem;
    }
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.container-search-menu {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 0 20px;
}
.read-more {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 20px;
    cursor: pointer;
}
.container-news {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 0 auto;
}
.container-profile {
    justify-content: space-between;
    gap: 20px;
    margin: 0 auto;
}
.left-column {
    width: 60%;
}
.right-column {
    width: 40%;
}
.left-column-info {
    width: 100%;
}
.right-column-info {
    width: 30%;
}
@media screen and (max-width: 1064px) {
    .right-column-info {
        display: none;
    }
    .left-column-info {
        width: 100%;
    }
}
.detail-image {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    display: block;
    margin: auto;
    margin-top: 10px;
    margin-bottom: 20px;
    max-height: 500px;
    object-fit: cover;
}

.detail-text figcaption{
    display: none;
}
.detail-image-profile {
    width: 80%;
    border-radius: 8px;
    display: block;
    margin: auto;
    margin-top: 10px;
    margin-bottom: 20px;
    max-height: 500px;
    object-fit: cover;
}
.name {
    font-size: 16px;
    font-weight: 550;
    color: #333;
}
.detail-text {
    margin: 10px 0;
    padding: 15px;
    font-size: 16px;
    background-color: #fcfcfd;
    border: 1px solid #ddd;
    color: #b80000;
    border-radius: 10px;
}
.detail-text h1 {
    font-size: 20px;
}

.detail-text img {
    width: 50%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: auto;
    margin-top: 10px;
    margin-bottom: 20px;
        cursor: default;
}
.detail-text a img {
        cursor: default;
    pointer-events: none;
}
    /*width: 100%;*/
    /*height: 420px;*/
    /*border-radius: 8px;*/
    /*display: block;*/
    /*margin: auto;*/
    /*margin-top: 10px;*/
    /*margin-bottom: 20px;*/
    /*max-height: 500px;*/
    /*object-fit: cover;*/

@media (max-width: 768px) {
    .detail-text img {
  width: 100%;
  height: auto;       
  border-radius: 8px;
  display: block;
  margin: 10px auto 20px;
  max-height: 500px; 
}}


@media (max-width: 768px) {
    
    .detail-text h1 {
        font-size: 18px;
    }
  
}

.detail-text p {
    margin: 0 0 1em; /* beri jarak antar paragraf */
    font-size: 16px;
    color: #333333;
}
.detail-text span {
    color: #333333;

}
.detail-text ol li {
    font-size: 16px;
    color: #02211f;
    line-height: 1.5;
    letter-spacing: 1px;
}
.detail-text ol {
    margin: 0;
    padding-left: 2.2em; /* atur jarak antara angka dan teks */
    list-style-position: outside; /* nomor di luar blok teks */
}
.detail-text ul  {
 margin: 0;
    padding-left: 2.2em; /* atur jarak antara angka dan teks */
    list-style-position: outside; /* nomor di luar blok teks */
}
.detail-text ul li {
    font-size: 16px;
    color: #02211f;
    line-height: 1.5;
    letter-spacing: 1px;
}

.detail-text ol li {
    font-size: 16px;
    color: #02211f;
    line-height: 1.5;
    letter-spacing: 1px;
}


.detail-text h3{
        color: #02211f;

}

.detail-text strong {
    color: #02211f;
    line-height: 1.5;
    letter-spacing: 1px;
}
@media (max-width: 768px) {
    .detail-text h2{
    font-size: 16px;
}
.detail-text h3{
    font-size: 16px;
}
    .detail-text ul li{
        font-size: 14px;
    }
    .detail-text ol li{
        font-size: 14px;
    }
    .detail-text ol{
        font-size: 14px;
        padding-left: 1.8em;
    }
}
.article {
    margin-bottom: 10px;
    background-color: #fcfcfd;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
}
.article-content {
    margin: 5px;
    display: flex;
    gap: 20px;
    align-items: center;
}
.article .date {
    display: block;
    font-size: 11px;
    color: #999;
}
.article .title {
    font-size: 14px;
    margin: 0;
}
.detail-article {
    margin: 10px 0;
    background-color: #fcfcfd;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
}
.detail-article .title {
    font-size: 14px;
    margin: 0;
}
.title {
    text-align: left;
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    color: #000;
}
.detail-title {
    text-align: left;
    font-size: 25px;
    font-weight: bold;
    margin: 0;
    letter-spacing: 1px;
}
.detail-title-side {
    text-align: left;
    font-size: 20px;
    font-weight: bold;
    margin: 20px 0 0 0;
}
.detail-title-rside {
    text-align: left;
    font-size: 20px;
    font-weight: bold;
    margin: 20px 0 10px 0;
}
.description {
    font-size: 12px;
    color: #555;
    line-height: 1.5;
    letter-spacing: 1px;
}
.large-image {
    width: 100%;
    height: 330px;
    border-radius: 8px;
    display: block;
    margin: auto;
    max-height: 500px;
    object-fit: cover;
}
@media (max-width: 1064px) {
    .container-news {
        flex-direction: column;
    }
    .container-profile {
        flex-direction: column;
    }
    .left-column,
    .right-column {
        width: 100%;
    }
    .large-image {
        height: 200px;
    }
    .thumbnail {
        width: 100px;
        height: 100px;
        margin: 0;
    }
}
.thumbnail {
    width: 120px;
    height: 100px;
    border-radius: 8px;
    object-fit: cover;
}
.thumbnail {
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
}
.container-video {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px 0 20px;
}
@media (max-width: 768px) {
    .container {
        padding: 10px 20px 10px 20px;
    }
    .container-video {
        padding: 30px 30px 0 30px;
    }
}
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.tips-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
}
.package-content h2 {
    font-size: 20px;
    margin-top: 1rem;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: bold;
    color: #333;
    width: 100%;
    display: inline-block;
}
h2 {
    font-size: 26px;
    font-weight: bold;
}
.see-more-btn p {
    color: #d1ad4f !important;
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
}
.see-more-btn a {
    text-decoration: none;
}
p {
    font-size: 18px;
    line-height: 1.5;
    letter-spacing: 1px;
}
@media (max-width: 768px) {
    p {
        font-size: 1rem;
    }
}
.news-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
}
.news-item {
    display: flex;
    gap: 20px;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin: 10px 0;
}
.news-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}
.news-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.news-content h2 {
    text-align: left;
    margin: 0;
    font-size: 16px;
    color: #333;
}
.news-content p {
    text-align: left;
    margin: 0;
    font-size: 12px;
}
@media (max-width: 768px) {
    .news-content h2 {
        text-align: left;
        margin: 0;
        font-size: 12px;
        color: #333;
    }
    .news-content p {
        text-align: left;
        margin: 0;
        font-size: 10px;
    }
    .news-image {
        width: 100px;
        height: 100px;
        object-fit: cover;
        border-radius: 8px;
    }
    .time {
        font-size: 10px !important;
    }
}
.time {
    color: #777;
    font-size: 12px;
}

footer {
    background-color: white;
    margin: 80px 20px 20px 20px;
    padding: 40px 0;
    color: #333;
    border-top: 1px solid #ddd;
}
.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    /* margin: 0 auto; */
    margin: 0 auto 30px auto;
    padding: 0 20px;
    width: 100%;
    gap: 150px;
}
@media (max-width: 768px) {
    .footer-container {
        margin-bottom: 0; /* Menghilangkan margin-top di tampilan HP */
    }
}
.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    gap: 10px;
}
.footer-logo img {
    width: 100px;
}
.footer-logo h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #d1ad4f;
}
.footer-logo p {
    font-size: 1rem;
    color: #6c757d;
}
.footer-column h3 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}
.footer-column ul {
    list-style-type: none;
    padding: 0;
}
.footer-column ul li {
    margin-bottom: 10px;
}
.footer-column ul li a {
    color: #2c3e50;
    text-decoration: none;
}
.footer-column ul li a:hover {
    text-decoration: underline;
}
.social-links {
    display: flex;
    gap: 10px;
}
.footer__social-link {
    font-size: 1.5rem;
    transition: 0.3s;
}
.footer__social-link:hover {
    color: #d1ad4f;
}
.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0px;
}
.footer-bottom p {
    color: #6c757d;
    font-size: 1rem;
    margin: 0;
}
.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}
.footer-column {
    flex: 1 1 0;
    text-align: left;
}
@media (min-width: 768px) {
    .footer-container {
        flex-direction: row;
        justify-content: space-between;
    }
    .footer-logo {
        margin-right: 50px;
    }
    .footer-links {
        flex-direction: row;
        width: 100%;
    }
    .footer-column {
        width: auto;
        flex: 1 1 150px;
        min-width: 100px;
    }
}
@media (max-width: 768px) {
    footer {
        margin: 40px 20px 20px 20px;
    }
    .footer-container {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding: 20px 0 0 0;
        gap: 0;
    }
    .footer-logo {
        flex-direction: row;
        align-items: flex-start;
        width: 100%;
        margin-bottom: 20px;
    }
    .footer-logo img {
        width: 200px;
        margin-right: 10px;
    }
    .footer-links {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        margin-top: 20px;
    }
    .footer-column {
        text-align: left;
        margin-bottom: 15px;
        flex: 1 1 150px;
        min-width: 100px;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin-top: 20px;
    }
    .footer-bottom p {
        color: #6c757d;
        width: 100%;
        font-size: 1rem;
        margin-bottom: 10px;
    }
}

/* footer {
    background-color: white;
    margin: 80px 20px 20px 20px;
    padding: 40px 0;
    color: #333;
    border-top: 1px solid #ddd;
}
.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 30px auto;
    padding: 0 20px;
    width: 100%;
}
@media (max-width: 768px) {
    .footer-container {
        margin-bottom: 0;
    }
}
.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    gap: 10px;
}
.footer-logo img {
    width: 200px;
}
.footer-logo h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #d1ad4f;
}
.footer-logo p {
    font-size: 1rem;
    color: #6c757d;
}
.footer-column h3 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}
.footer-column ul {
    list-style-type: none;
    padding: 0;
}
.footer-column ul li {
    margin-bottom: 10px;
}
.footer-column ul li a {
    color: #2c3e50;
    text-decoration: none;
}
.footer-column ul li a:hover {
    text-decoration: underline;
}
.social-links {
    display: flex;
    gap: 10px;
}
.footer__social-link {
    font-size: 1.5rem;
    transition: 0.3s;
}
.footer__social-link:hover {
    color: #d1ad4f;
}
.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0px;
}
.footer-bottom p {
    color: #6c757d;
    font-size: 1rem;
    margin: 0;
}
.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}
.footer-column {
    flex: 1 1 0;
    text-align: left;
}
@media (min-width: 768px) {
    .footer-container {
        flex-direction: row;
        justify-content: space-between;
    }
    .footer-logo {
        margin-right: 50px;
    }
    .footer-links {
        flex-direction: row;
        width: 100%;
    }
    .footer-column {
        width: auto;
        flex: 1 1 150px;
        min-width: 100px;
    }
}
@media (max-width: 768px) {
    footer {
        margin: 40px 20px 20px 20px;
    }
    .footer-container {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding: 20px 0 0 0;
        gap: 0;
    }
    .footer-logo {
        flex-direction: row;
        align-items: flex-start;
        width: 100%;
        margin-bottom: 20px;
    }
    .footer-logo img {
        width: 200px;
        margin-right: 10px;
    }
    .footer-links {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        margin-top: 20px;
    }
    .footer-column {
        text-align: left;
        margin-bottom: 15px;
        flex: 1 1 150px;
        min-width: 100px;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin-top: 20px;
    }
    .footer-bottom p {
        color: #6c757d;
        width: 100%;
        font-size: 1rem;
        margin-bottom: 10px;
    }
} */
#pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}
#pagination button {
    padding: 8px 15px;
    font-size: 16px;
    border: 1px solid #ddd;
    background-color: #fcfcfd;
    color: #2c3e50;
    cursor: pointer;
    border-radius: 100px;
    transition:
        background-color 0.3s,
        color 0.3s;
}
#pagination button:hover {
    background-color: #2c3e50;
    color: #fff;
}
#pagination button:disabled {
    background-color: #ccc;
    color: #fff;
    cursor: not-allowed;
}
#page-number {
    font-size: 15px;
    color: #333;
}
/* .post-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
} */
.post-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.detail-post-container {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
@media (max-width: 768px) {
    .post-container {
        gap: 20px;
    }
    .detail-post-container {
        gap: 20px;
    }
}
.post-tips {
    width: 46%;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease;
    text-decoration: none;
    padding: 10px;
    background-color: #fcfcfd;
    border: 1px solid #ddd;
    display: flex;
    flex-direction: column;
}
.post-tips img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
}
.date {
    font-size: 0.9rem;
    color: #7f8c8d;
    padding: 10px;
}
.creator {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: normal;
    margin-bottom: 20px;
}
.creator-date {
    font-size: 0.9rem;
    color: #7f8c8d;
}
@media (max-width: 600px) {
    .creator {
        align-items: flex-start;
    }
    .name,
    .creator-date {
        font-size: 14px;
    }
}
.creator-date {
    font-size: 0.9rem;
    color: #7f8c8d;
}
.info-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 10px;
}
.deskripsi-news {
    display: flex;
    align-items: center;
    gap: 10px;
    /* color: #b80000; merah elegan seperti di contoh */
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 500;
    /* margin: 0; */
    padding: 0 5px;
}
/* .deskripsi-news {
    font-size: 12px;
    color: #7f8c8d;
    padding: 0 5px;
} */
.info-list img {
    width: 23px !important;
    height: 20px !important;
    object-fit: contain !important   ;
    border-radius: 0 !important;
}
.container-article {
    padding: 10px 0 10px 0;
}
.post-tips h3 {
    font-size: 14px !important;
    color: #2c3e50;
    padding: 0 5px 0 5px;
    font-weight: bold;
}
.post {
    width: 30%;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease;
    text-decoration: none;
    padding: 10px;
    background-color: #fcfcfd;
    border: 1px solid #ddd;
    display: flex;
    flex-direction: column;
}
.post h3 {
    font-size: 18px !important;
    color: #2c3e50;
    padding: 0 5px 0 5px;
    font-weight: bold;
}
.post {
    width: 32%;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
    text-decoration: none;
    padding: 10px;
    background-color: #fcfcfd;
    border: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}
.post img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.img-post {
    background: radial-gradient(circle, #4c9900, #006600); /* Radial gradient */
    border-radius: 8px;
    display: flex; /* Flexbox for centering image */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    padding-top: 20px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
    height: 200px; /* Fixed height for the container */
}

.img-post img {
    width: auto; /* Keeps the aspect ratio */
    height: 100%; /* Ensures all images have the same height */
    object-fit: contain; /* Prevents image distortion and ensures it's fully visible */
}
.img-post-lainnya {
    flex: 0 0 40%; /* gambar selalu 30% */
    max-width: 40%;
    background: radial-gradient(circle, #4c9900, #006600);
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 10px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
    width: 200px;
}

.img-post-lainnya img {
    width: auto;
    width: 0;
    object-fit: contain;
}

.detail-image {
    width: 100%;
    height: 800px;
    border-radius: 8px;
    justify-content: center; /* Memusatkan gambar secara horizontal */
    align-items: flex-end; /* Menempatkan gambar di bagian bawah */
    margin: auto;
    margin-top: 10px;
    margin-bottom: 20px;
    max-height: 600px;
    overflow: hidden; /* Menyembunyikan bagian gambar yang keluar dari container */
}

@media (max-width: 600px) {
    

.detail-image {
    width: 100%;
    height:auto ;
    border-radius: 8px;
    justify-content: center; /* Memusatkan gambar secara horizontal */
    align-items: flex-end; /* Menempatkan gambar di bagian bawah */
    margin: auto;
    margin-top: 10px;
    margin-bottom: 20px;
    overflow: hidden;
}
    .detail-image img {
        width: 100%; /* Lebar gambar lebih besar pada layar kecil */
    }
}

.detail-image img {
    padding-top: 30px;
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
}
.detail-image-scroll img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: contain;
}

/* Media query untuk ukuran layar kecil */
@media (max-width: 600px) {
    

    .detail-image img {
        width: 100%; /* Lebar gambar lebih besar pada layar kecil */
    }
}

@media (max-width: 1024px) {
    .post {
        width: 45%;
    }
    .post-tips {
        width: 45%;
    }
}
@media (max-width: 768px) {
    .post {
        width: 100%;
    }
    .post-tips {
        width: 100%;
    }
    .category-section {
        padding: 30px;
    }
    .category-sections {
        padding: 30px;
    }
}
a {
    text-decoration: none;
    color: #fff;
}
a .article .article-text h3.title {
    color: #333;
}
.article .article-text {
    flex: 1 1 70%; /* teks isi 70% */
    max-width: 70%;
}
.gallery-foto {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
.scroll-container {
    display: flex;
    gap: 10px;
    overflow-x: scroll;
    scroll-behavior: smooth;
    padding-bottom: 20px;
    position: relative;
    flex-wrap: nowrap;
}
.scroll-container::-webkit-scrollbar {
    display: none;
}
.scroll-container {
    scrollbar-width: none;
}
.stat-gallery {
    padding: 7px;
    text-align: center;
    background-color: #fcfcfd;
    flex: 0 0 auto;
    border: 1px solid #ddd;
    border-radius: 10px;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 140px;
}
.stat-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}
@media (max-width: 1024px) {
    .stat-gallery {
        width: 30%;
    }
}
@media (max-width: 768px) {
    .stat-gallery {
        width: 65%;
    }
    .scroll-buttons button {
        padding: 12px;
    }
}
@media (max-width: 480px) {
    .stat-gallery {
        width: 80%;
    }
    .scroll-buttons button {
        padding: 10px;
        font-size: 18px;
    }
}
.btn i {
    font-size: 20px;
    color: rgb(255, 255, 255);
    margin-right: 8px;
}
.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 16px;
}
.contact-form {
    background-color: #bb0803;
    padding: 20px;
    border-radius: 10px;
    margin: 0 auto;
    color: white;
    margin-top: 30px;
}
.contact-form h2 {
    padding: 0 20px;
    color: #fff;
    text-align: start;
    margin-bottom: 20px;
    font-size: 1.5rem;
}
.container-box {
    background-color: #b80000;
    padding: 20px;
    border-radius: 10px;
    margin: 0 auto;
    color: white;
    margin-top: 30px;
}
.container-box h2 {
    color: #fff;
    text-align: start;
    margin-bottom: 20px;
    font-size: 1.5rem;
}
.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: none;
    background-color: #ffffff;
    color: #02211f;
}
.contact-form button {
    padding: 10px 20px;
    border-radius: 5px;
    color: #b80000;
    border: none;
    cursor: pointer;
    width: 150px;
}

@media (min-width: 768px) {
    .contact-form .form-group {
        flex-direction: row;
        gap: 20px;
    }
    .contact-form textarea {
        width: 100%;
    }
}

.contact-form textarea {
    height: 200px;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 1px;
    color: #02211f;
    font-family: "Poppins", sans-serif;
}
.contact-form input,
.contact-form textarea {
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 1px;
    color: #02211f;
    font-family: "Poppins", sans-serif;
    padding: 10px;
    outline: none;
    transition: box-shadow 0.3s ease;
}

.contact-form input:hover,
.contact-form textarea:hover {
    cursor: pointer;
}

form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.btn-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background-color: #fff;
    color: #b80000;
    border: none;
    border-radius: 5px;
    font-size: 16px;
}
.btn-contact i {
    margin-right: 8px;
}
@media (max-width: 768px) {
    .contact-form button {
        width: 100%;
    }
}
.ppdb-form button {
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    width: 150px;
}
.ppdb-form {
    background-color: #fff;
    border-radius: 10px;
    margin: 0 auto;
    color: black;
    /* color: white; */
    margin-top: 30px;
    border: #cfcfd4 solid 1px;
}

@media (max-width: 768px) {
    .ppdb-title h2 {
        font-size: 16px;
    }
    .ppdb-form button {
        width: 100%;
    }
}
.ppdb-title h2 {
    padding: 10px;
    color: #fff;
    margin-bottom: 0;
}
.ppdb-title {
    background-color: #b80000;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.btn-ppdb {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background-color: #b80000;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    margin-top: 10px;
}
.btn-ppdb i {
    margin-right: 8px;
}
.btn-full {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background-color: #b80000;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    margin: 10px 0 10px 0;
    width: 100% !important;
}
.btn-full a {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #b80000;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    width: 100% !important;
}

/* Responsif untuk perangkat mobile */
@media (max-width: 768px) {
    .btn-full a {
        font-size: 12px;
    }
}

.btn-full i {
    margin-right: 8px;
}

form {
    /* padding: 0 20px; */
    padding: 20px;
}
/* Responsif untuk perangkat mobile */
@media (max-width: 768px) {
    form {
        /* padding: 0; */
        padding: 10px 10px 0 10px;
    }
}

.form-section h4 {
    color: #b80000;
    margin-bottom: 10px;
}
form label {
    display: block;
    margin-bottom: 5px;
    color: #000;
    font-weight: 500;
}
form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}
form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

.form-column h4 {
    color: #b80000;
}
/* form select option {
    padding: 10px;
    background-color: #fff;
    border: 1px solid transparent;
    color: #000;
    border-radius: 5px;
} */

.detail-text-blur {
    margin: 10px 0;
    padding: 20px 15px;
    font-size: 16px;
    background: rgba(252, 252, 253, 0.2);
    border: 1px solid #ddd;
    color: #b80000;
    border-radius: 10px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.detail-text-blur p {
    font-size: 16px;
    color: #fff;
}
.video-yayasan {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    display: block;
    margin: 0 auto;
}
.detail-box {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px 20px;
    margin: 20px 0;
    background: #fff;
}
.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.detail-header h1 {
    margin: 0;
    color: #bb0803;
    font-size: 1.5rem;
}
.detail-box p {
    font-size: 16px;
    color: #063431;
    margin: 0;
}
.detail-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #b80000;
    border: 1px solid #b80000;
    padding: 4px 10px;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
}
.detail-link:hover {
    background: #b80000;
    color: #fff;
}
.sdit-hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
    align-items: stretch;
    margin: 24px 0;
}
.sdit-hero__card {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 14px;
    padding: 30px 24px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.sdit-hero__card h2 {
    text-align: start;
    margin: 0 0 12px 0;
    color: #b80000;
    font-size: 28px;
    line-height: 1.25;
    font-weight: 700;
}
.sdit-hero__card p {
    margin: 0;
    margin-top: 20px;
    color: #0c2d2b;
    font-size: 15.5px;
    line-height: 1.8;
    flex-grow: 1;
}
.sdit-hero__card p a {
    color: #0b6b64;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.sdit-hero__signature {
    margin-top: 18px;
    text-align: right;
    color: #0c2d2b;
}
.sdit-hero__signature span {
    display: block;
    font-size: 14px;
}
.sdit-hero__signature strong {
    display: block;
    font-size: 14px;
    color: #b80000;
}

.hero__photo {
    border-radius: 14px;
    display: grid;
    place-items: center;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}
.hero__photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}
.sdit-hero__photo {
    background: radial-gradient(circle, #4c9900, #006600);
    /* background: #b80000; */
    border-radius: 14px;
    display: grid;
    padding-top: 60px;
    place-items: center;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}
.sdit-hero__photo img {
    width: 100%;
    height: 100%;
    max-height: 520px;
    object-fit: contain;
    border-radius: 12px;
}
@media (max-width: 980px) {
    .sdit-hero {
        grid-template-columns: 1fr;
    }
    .sdit-hero__photo {
        min-height: 320px;
    }
}
@media (max-width: 560px) {
    .sdit-hero__card {
        padding: 18px;
        border-radius: 12px;
    }
    .sdit-hero__card h2 {
        font-size: 22px;
    }
    .sdit-hero__photo {
        border-radius: 12px;
        padding-top: 60px;
        min-height: 260px;
    }
}
:root {
    --green: linear-gradient(90deg, #bb0803, #ee4426);
    /* --green: #ee4426; */
    --green-700: #0b3e3a;
    --green-600: #0e5e57;
    --border: #e8e8e8;
    --radius: 10px;
}
.kompetensi-grid {
    margin: 60px 0;
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1024px) {
    .kompetensi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .kompetensi-grid {
        grid-template-columns: 1fr;
    }
}
.kompetensi-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 22px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
.kc-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.kc-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 28px;
    border-radius: 8px;
    background: var(--green);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
}
.kompetensi-card h3 {
    margin: 0;
    color: #bb0803;
    font-size: 18px;
    font-weight: 600;
}
.kompetensi-card p {
    margin: 0;
    color: #063431;
    line-height: 1.7;
    font-size: 15px;
}
.kompetensi-card.is-active {
    background: var(--green);
    color: #eaf7f6;
    border-color: transparent;
    transform: rotate(-3deg);
    transition: transform 0.3s ease;
}
.kompetensi-card.is-active h3 {
    color: #eaf7f6;
}
.kompetensi-card.is-active .kc-badge {
    background: #fff;
    color: #bb0803;
}
.kc-panel {
    margin-top: 6px;
    padding: 18px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.kc-panel p {
    color: #fff;
}
@media (hover: hover) {
    .kompetensi-card:not(.is-active):hover {
        border-color: #dcdcdc;
        box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
        transform: translateY(-1px);
        transition: 0.25s ease;
    }
}
.image-gedung {
    height: 500px;
    width: 100%;
    object-fit: cover;
}
.fasilitas-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
    align-items: center;
    margin: 40px 0;
}
.fasilitas-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 400px;
}
.fasilitas-header {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.fasilitas-count {
    font-size: 18px;
    color: #b80000;
    font-weight: bold;
}
.fasilitas-category {
    font-size: 22px;
    color: #b80000;
    font-weight: 600;
}
.fasilitas-images {
    display: flex;
    gap: 15px;
}
.fasilitas-images img {
    width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    max-height: 400px;
}
.fasilitas-navigation {
    display: flex;
    gap: 10px;
}
.nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nav-btn:first-child {
    background: #ffffff;
    color: #b80000;
    border: #006600 solid 2px;
}
.nav-btn.active {
    background: #b80000;
    color: #fff;
}
.desktop-nav {
    display: flex;
}
.mobile-nav {
    display: none;
}
@media (max-width: 768px) {
    .fasilitas-grid {
        grid-template-columns: 1fr;
        justify-items: center;
        margin-bottom: 12px;
    }
    .fasilitas-images {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .fasilitas-info {
        height: auto;
    }
    .fasilitas-images img {
        width: 100%;
        max-width: 100%;
    }
    .desktop-nav {
        display: none;
    }
    .mobile-nav {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin: 40px 0 20px 0;
    }
}
@media (min-width: 831px) and (max-width: 1035px) {
    .fasilitas-images img {
        max-width: 300px;
    }
}
@media (min-width: 768px) and (max-width: 830px) {
    .fasilitas-images img {
        max-width: 250px;
    }
}
@media (max-width: 767px) {
    .fasilitas-images img {
        width: 100%;
        max-width: 100%;
    }
}
.galeri-fasilitas {
    margin: 32px 0;
}
.galeri-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 18px;
    grid-auto-rows: 220px;
    align-items: stretch;
}
.col-1,
.col-2,
.col-3 {
    grid-row: span 2;
}
.galeri-col {
    display: grid;
    gap: 18px;
}
.col-2,
.col-3 {
    grid-template-rows: 1fr 1fr;
}
.card-img {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #eef2f1;
    height: 100%;
}
.card-img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.card-img figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 16px;
    text-align: center;
    color: #fff;
    font-weight: 600;
    /* background: linear-gradient(90deg, #bb0803, #ee4426); */
    background: linear-gradient(
        180deg,
        rgba(187, 8, 3, 0.55),
        rgba(238, 68, 38, 0.95)
    );
    /* background: linear-gradient(180deg, rgba(0, 102, 0, 0.55), rgba(0, 102, 0, 0.95)); */
    /* background: linear-gradient(
        180deg,
        rgba(1, 65, 62, 0.55),
        rgba(1, 65, 62, 0.95)
    ); */
    border-radius: 0 0 8px 8px;
    backdrop-filter: blur(3px);
}
.card-img:hover img {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}
@media (max-width: 1024px) {
    .galeri-grid {
        grid-template-columns: 1fr 1fr;
    }
    .col-3 {
        order: 3;
    }
}
@media (min-width: 831px) and (max-width: 1035px) {
    .galeri-grid {
        grid-auto-rows: 200px;
    }
}
@media (min-width: 768px) and (max-width: 830px) {
    .galeri-grid {
        grid-auto-rows: 180px;
    }
}

@media (max-width: 520px) {
    .galeri-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }
    .galeri-col {
        gap: 14px;
    }
    .card-img figcaption {
        font-size: 0.95rem;
    }
}
@media (min-width: 520) and (max-width: 830px) {
    .galeri-grid {
        grid-template-columns: 1fr 1fr;
    }
}
:root {
    --vm-green-1: #0e4e49;
    --vm-green-2: #0b3e3a;
    --vm-text: #eaf7f6;
    --vm-muted: #fff;
    --vm-card-bg: rgba(255, 255, 255, 0.08);
    --vm-card-br: rgba(255, 255, 255, 0.25);
    --radius-xl: 22px;
    --radius-lg: 16px;
}
.vm-section {
    color: var(--vm-text);
    border-radius: 10px;
}
.vm-container {
    padding: 30px;
    border-radius: 10px;
    position: relative;
    background: linear-gradient(90deg, #bb0803, #ee4426);
}
.vm-header h2 {
    color: #fff;
    margin: 0 0 8px;
    font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem);
    font-weight: 800;
}
.vm-header p {
    margin: 0 0 18px;
    color: #fff;
}
.vm-grid-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 28px;
}
.vm-card {
    padding: 22px;
    border-radius: var(--radius-lg);
    color: #000;
    background: #fff;
}
.glass {
    background: var(--vm-card-bg);
    border: 1px solid var(--vm-card-br);
}
.vm-card h3 {
    color: rgb(44, 62, 80);
    margin: 0 0 10px;
    font-size: 1.2rem;
    font-weight: 800;
}
.vm-card p,
.vm-card li {
    color: rgb(44, 62, 80);
    font-size: 18px;
}
.vm-card ol {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 6px;
}
.vm-subheader h3 {
    color: #fff;
    margin: 6px 0 8px;
    font-size: 1.2rem;
    font-weight: 800;
}
.vm-subheader p {
    margin: 0 0 16px;
    color: var(--vm-muted);
    font-size: 16px;
}
.vm-grid-three {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.motto-card {
    background: #fff;
    color: #193230;
    border-radius: 14px;
    padding: 18px 18px;
}
.motto-card h4 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: bold;
    color: #02211f;
}
.motto-card p {
    margin: 0;
    color: #02211f;
    line-height: 1.55;
    font-size: 16px;
}
@media (max-width: 1024px) {
    .vm-grid-two {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 820px) {
    .vm-grid-three {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 560px) {
    .vm-container {
        padding: 16px;
    }
    .vm-grid-three {
        grid-template-columns: 1fr;
    }
    .motto-card {
        padding: 16px;
    }
}
.jenjang-grid h4 {
    padding-top: 15px;
    color: #fff;
}
.bullet {
    margin: 0;
    padding-left: 18px;
    color: #fff;
    display: grid;
    gap: 6px;
}
.btn-program {
    margin: 30px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background-color: #fff;
    color: #b80000;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    width: 210px !important;
}
.btn-program i {
    margin-right: 8px;
}
.detail-text-normal {
    margin-top: 6px;
    padding: 18px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.detail-text-normal p {
    font-size: 16px;
    color: #fff;
}
.jenjang-btn button {
    border-radius: 10px;
    border: #02211f 1px solid;
}
.map-container iframe {
    border-radius: 10px;
}
.faq-section {
    padding: 40px 0;
}
.faq-container {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.faq-item {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #ddd;
}
.faq-question {
    font-size: 16px;
    width: 100%;
    background: #fff;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 13px 18px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #b80000;
    transition:
        background 0.25s,
        color 0.25s;
    text-align: left;
}
@media (max-width: 600px) {
    .faq-question {
        justify-content: flex-start;
        gap: 8px;
    }
    .faq-question .icon {
        margin-left: auto;
    }
}
.faq-item.active .faq-question {
    background: #b80000;
    color: #fff;
}
.faq-question .icon {
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 1;
}
.faq-item.active .faq-question .icon {
    transform: rotate(0deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 18px;
    background: #b80000;
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.5;
    transition:
        max-height 0.35s ease,
        padding 0.35s ease;
}
.faq-item.active .faq-answer {
    max-height: 400px;
    padding: 16px 18px;
}
:root {
    --bg: #b80000;
    --ring: #ee4426;
    --card: #ffffff;
    --text: #0f1b1a;
    --muted: #5b6b68;
}
.testi-img img {
    border-radius: 10px;
    width: 300px;
    height: 180px;
    object-fit: cover;
}

.testi-maskapai img {
    max-width: 180px;
    height: 47px;
}

@media (max-width: 768px) {
    .testi-maskapai img {
        max-width: 100px;
        max-height: 30px;
    }
}

.testi-section {
    background: var(--bg);
    padding: 48px 16px;
    color: #eaf7f6;
}
.testi-wrap {
    max-width: 1200px;
    margin: 0 auto;
}
.testi-header {
    border: 2px solid var(--ring);
    border-radius: 16px;
    padding: 18px 20px;
    /* background: linear-gradient(90deg, #bb0803, #ee4426); */

    /* background: rgba(255, 255, 255, 0.06); */
    margin-bottom: 28px;
}
.testi-header h2 {
    margin: 0 0 6px;
    text-align: center;
    font-size: 24px;
    font-weight: 800;
    color: #ee4426;
}
.testi-header p {
    margin: 0;
    text-align: center;
    line-height: 1.45;
    font-size: 14px;
    color: #ee4426;
}
.testi-rows {
    display: flex;
    flex-direction: column;
    gap: 22px;
    overflow: hidden;
}
.testi-row {
    display: flex;
    gap: 16px;
    will-change: transform;
}
.testi-card {
    flex: 0 0 320px;
    background: var(--card);
    color: var(--text);
    border-radius: 14px;
    /* box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08); */
    padding: 16px;
    border: 1px solid #e8f2f1;
}
.testi-card p {
    font-size: 16px;
    margin: 0 0 12px;
    line-height: 1.2;
}
.testi-user {
    display: flex;
    align-items: center;
    gap: 10px;
}
.testi-user img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}
.testi-user strong {
    display: block;
    font-size: 14px;
}
.testi-user span {
    display: block;
    font-size: 12px;
    color: var(--muted);
}
@media (max-width: 768px) {
    .testi-header h2 {
        text-align: left;
        font-size: 20px;
    }
    .testi-header p {
        text-align: left;
        font-size: 13px;
    }
    .testi-card {
        flex-basis: 80vw;
        max-width: 300px;
    }
}

:root {
    --slider-height: 80vh;
    --overlay-dark: rgba(0, 0, 0, 0.65);
    --overlay-light: linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.75),
        rgba(0, 0, 0, 0.35)
    );
    --btn-color: #bb0803;
}

.hero-section {
    padding: 0;
    background: #bb0803;
}

.slider {
    width: 100%;
    margin: 0;
    position: relative;
    overflow: hidden;
    background: #e9ecef;
}

.slides {
    display: flex;
    width: 100%;
    height: var(--slider-height);
    transition: transform 0.6s ease;
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* make sure image sits behind overlay */
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 1;
    filter: saturate(0.98);
}

/* Overlay & improved contrast */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    background: linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.35),
        rgba(0, 0, 0, 0.15)
    ); /* lebih terang dari sebelumnya */
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 30px 80px;
    pointer-events: none; /* allow buttons inside to still be clickable by overriding below */
    border-radius: 0 !important;
}

.hero-overlay .hero-text {
    pointer-events: auto;
}

.hero-text {
    color: #ffffff;
    max-width: 1200px;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
}

/* stronger heading contrast and spacing */
.hero-text h1 {
    font-size: 42px;
    font-weight: 800;
    margin: 0 0 12px;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

/* paragraph readability */
.hero-text p {
    color: #fff;
    font-size: 20px;
    line-height: 1.6;
    margin: 0 0 22px;
    opacity: 0.98;
}

/* Make button stand out */
.hero-button {
    background: var(--btn-color);
    color: #fff;
    border: none;
    padding: 12px 26px;
    /* border-radius: 30px; */
    font-size: 16px;
    cursor: pointer;
    transition:
        transform 150ms ease,
        box-shadow 150ms ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}
.hero-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
}

/* If background images are still busy, provide an optional darker band behind text */
.hero-text::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    z-index: -1;
}

/* Dots */
.dots {
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}
.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: background 0.2s;
}
.dot.is-active {
    background: var(--btn-color);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    :root {
        --slider-height: 65vh;
    }
    .hero-overlay {
        padding: 48px;
    }
    .hero-text h1 {
        font-size: 34px;
    }
    .hero-text p {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .t-mobile {
        display: none !important;
    }
    :root {
        --slider-height: 50vh;
    }

    .hero-overlay {
        padding: 30px 20px;
        align-items: flex-end; /* posisi vertikal di bawah */
        justify-content: flex-start; /* posisi horizontal di kiri */
        text-align: left; /* teks rata kiri */
    }
    .hero-text {
        max-width: 92%;
    }
    .hero-text h1 {
        font-size: 24px;
    }
    .hero-text p {
        font-size: 14px;
        margin-bottom: 14px;
    }
    .hero-button {
        padding: 10px 18px;
        font-size: 14px;
    }
    .dots {
        bottom: 12px;
    }
}

/* Accessibility: respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .slides {
        transition: none;
    }
    .hero-button {
        transition: none;
    }
}
/* :root {
    --slider-height: min(70vw, 600px);
    --radius: 12px;
    --dot-size: 12px;
    --dot-gap: 10px;
    --dot-active: #b80000;
    --dot-idle: #9fc5b6;
}
.hero-section {
    padding: 0;
    background: #b80000;
}
.slider {
    width: 100%;
    margin: 0;
    position: relative;
    overflow: hidden;
    border-radius: 0;
    background: #e9ecef;
    box-shadow: none;
}
.slides {
    display: flex;
    width: 100%;
    height: var(--slider-height);
    transition: transform 0.6s ease;
    will-change: transform;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
    cursor: grab;
}
.slides:active {
    cursor: grabbing;
}
.slide {
    min-width: 100%;
    height: 100%;
    background: #000;
    position: relative;
    overflow: hidden;
    border-radius: inherit;
}
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}
.dots {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    display: flex;
    gap: var(--dot-gap);
    z-index: 5;
}
.dot {
    width: var(--dot-size);
    height: var(--dot-size);
    border-radius: 50%;
    border: 0;
    background: var(--dot-idle);
    opacity: 0.85;
    cursor: pointer;
    transition:
        background 0.2s ease,
        opacity 0.2s ease;
    position: relative;
}
.dot::after {
    content: "";
    position: absolute;
    inset: -6px;
}
.dot:is(:hover, :focus-visible) {
    opacity: 1;
}
.dot.is-active {
    background: var(--dot-active);
    opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
    .slides {
        transition: none;
    }
}
@media (max-width: 420px) {
    :root {
        --slider-height: min(82vw, 560px);
    }
} */
/*  */

/* Popup message styles */
.popup-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #333;
    color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 1000;
    max-width: 300px;
    transition: opacity 0.5s ease;
    border: solid 2px #fff;
}

.popup-message.success {
    background-color: #b80000; /* Green for success */
}
.popup-message.success p {
    background-color: #b80000; /* Green for success */
    font-size: 16px;
    color: #fff;
}

.popup-message.error {
    background-color: #dc3545; /* Red for error */
}

.popup-message button {
    background: none;
    color: white;
    border: none;
    font-size: 14px;
    cursor: pointer;
    margin-top: 10px;
}

.popup-message button:hover {
    text-decoration: underline;
}

/*  */
form label {
    display: block;
    margin-bottom: 5px;
    color: #000;
    font-weight: 500;
}

.form-section h4 {
    color: #b80000;
    margin-bottom: 10px;
}

form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    /* margin-bottom: 15px; */
}

.form-column {
    flex: 1;
    margin-right: 10px;
}

.form-column:last-child {
    margin-right: 0;
}

@media (max-width: 767px) {
    .form-column {
        flex: 100%;
        margin-right: 0;
    }
}

/* Filament */
/* Mengatur tampilan elemen dengan class .file-link-container */
.file-link-container {
    justify-content: center;
    align-items: center;
    font-family: Arial, sans-serif;
    margin: 0;
    height: 100%;
}

.file-link-box {
    background-color: #161617;
    padding: 20px; /* Spasi di dalam kontainer */
    border: 2px solid #ccc; /* Garis pinggir */
    border-color: #363638;
    border-radius: 8px; /* Menambah sudut melengkung */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Memberikan efek bayangan */
    text-align: center; /* Menyusun teks di tengah */
}

.file-link-box a {
    text-decoration: none;
    color: #ffffff; /* Warna teks untuk link */
    display: inline-block;
    margin-bottom: 10px; /* Jarak antar link */
}

.file-link-box a:hover {
    text-decoration: underline; /* Menambahkan garis bawah ketika hover */
}

/* <style > */
.floating-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #02211f;
    font-weight: 600;
    font-size: 14px;
    z-index: 1000;
    transition: transform 0.2s ease;
}

.floating-whatsapp:hover {
    transform: scale(1.05);
}

.floating-whatsapp-text {
    background: #ffffff;
    border: 1px solid #b80000;
    padding: 12px 20px;
    border-radius: 10px;

    margin-right: 15px;
    max-width: 220px;
    line-height: 1.4;
}

.floating-whatsapp-icon {
    background-color: #25d366;
    color: white;
    width: 55px;
    height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 28px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}
/* </style> */
/* Default: tampilkan versi laptop */
/* Default: tampilkan versi laptop */
/* Default: versi laptop */

.mobile {
    display: none !important;
}
.desktop {
    display: list-item !important; /* lebih rapi daripada inline-block */
}

/* Jika layar kecil (HP), tampilkan versi singkat */
@media screen and (max-width: 768px) {
    .mobile {
        display: list-item !important;
    }
    .desktop {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .contact-form {
        padding: 15px;
    }
    form {
        padding: 0;
    }
    .form-ppdb {
        padding: 10px 10px 0 10px;
    }
    .contact-form input,
    .contact-form textarea {
        font-size: 14px;
        letter-spacing: 0px;
    }
    .btn-full a {
        font-size: 16px;
    }
    .kompetensi-card h3 {
        font-size: 16px;
    }
    .sdit-hero__card h2 {
        font-size: 18px;
    }
    .sdit-hero__card p {
        margin-top: 0;
        line-height: 1.6;
        font-size: 13px;
    }
    .contact-form h2 {
        padding: 0;
        font-size: 20px;
    }
    .detail-text-blur p {
        font-size: 14px;
    }
    .motto-card h4 {
        margin: 0;
    }
    .vm-subheader p {
        font-size: 14px;
    }
    .motto-card p {
        font-size: 14px;
    }
    .faq-question {
        line-height: 1.3;
        letter-spacing: 0.5px;
    }
    .vm-card p,
    .vm-card li {
        font-size: 14px;
        line-height: 1.5;
        letter-spacing: 1px;
    }
    .vm-header h2 {
        font-size: 20px;
    }
    .detail-text p {
        font-size: 14px;
    }
    h1 {
        font-size: 20px;
    }
    .footer-logo img {
        width: 100px;
    }
    .btn-program {
        width: auto !important;
    }
    .container-box h2 {
        font-size: 20px;
    }
    .category-info ul li a {
        font-size: 14px;
    }
    .jenjang-btn button {
        font-size: 14px;
    }
    .jenjang-grid h4 {
        font-size: 14px;
        padding-bottom: 3px;
    }
    .detail-text-normal p {
        font-size: 14px;
    }
    .bullet {
        line-height: 1.5;
        letter-spacing: 1px;
        font-size: 14px;
    }
    .kompetensi-card p {
        font-size: 13px;
    }
    p {
        font-size: 14px;
    }
    .testi-card p {
        font-size: 12px;
    }
    .detail-header h1 {
        font-size: 18px;
    }

    .detail-box p {
        font-size: 13px;
    }
}
.title-detail h1 {
    font-size: 20px;
    color: #b80000;
}
.title-detail p {
    font-size: 16px;
    color: #b80000;
}

@media (max-width: 768px) {
    .title-detail h1 {
        font-size: 18px;
    }
    .title-detail p {
        font-size: 14px;
    }
}

/*  */
