/**************************HEADER STYLES**************************/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    background: #ffffff;
}

/********************************NAVBAR STYLES********************************/
.navbar-nav {
    background: #ffffff;
    border-radius: 50px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #c0c0c0;
}

.navbar-nav .nav-link {
    background: transparent;
    border-radius: 50px;
    padding: 8px 24px;
    margin: 0;
    transition: background 0.2s, color 0.2s;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
    background: #85A8F8;
    color: #fff !important;
}

.nav-link.active {
  color: #0d3b66 !important; /* biru tua */
  font-weight: bold;
}

/*********************************COURSEL STYLES*********************************/
.text-primary {
    color: #85A8F8 !important;
}

.carousel-controls-right button {
  background: #85A8F8;
  border: none;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: background 0.2s, color 0.2s;
  margin: 0 4px;
  outline: none;
}

.carousel-controls-right button .fa,
.carousel-controls-right button .fa-solid,
.carousel-controls-right button i {
  color: #3563E9;
  transition: color 0.2s;
}

.carousel-controls-right {
    position: absolute;
    top: 50%;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transform: translateY(-50%);
    z-index: 2;
}

.carousel-controls-right .carousel-control-prev,
.carousel-controls-right .carousel-control-next {
    position: static !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    width: auto;
    height: auto;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    font-size: 2.5rem;
}

.hero-left {
    height: 100%;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    background: #EFF3FD;
}

.hero-left h1 {
    font-weight: bold;
    text-align: left;
    width: 100%;
}

.carousel-inner,
.carousel-item,
.carousel-item img {
    height: 600px;
    /* Atur tinggi sesuai kebutuhan */
}


.carousel-item .col-md-6 {
    height: 100%;
    display: flex;
    align-items: stretch;
}

.carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    display: block;
}

.carousel-item .row {
    height: 100%;
}
/*********************************KATALOG CARD STYLES*********************************/
.katalog-card {
    background: #EFF3FD;
    border-radius: 24px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
    padding: 2.5rem 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.katalog-card h2 {
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
    color: #212529;
}

.katalog-card .btn {
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.75rem 2.5rem;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.08);
    transition: background 0.2s, color 0.2s;
    background: #85A8F8;
}

.katalog-card .btn:hover {
    background: #0a58ca;
    color: #fff;
}

/*********************************TENTANG & KONTAK CARD STYLES*********************************/

.tentang-box {
    background-color: #EFF3FD;
    border-radius: 12px;
    padding: 50px;
    position: relative;
    z-index: 10;
    max-width: 950px;
    margin-left: 1%;
    font-size: 1.05rem;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.tentang-box h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #3563E9 !important;
}

.tentang-box p {
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

.kontak-box {
    background-color: #85A8F8;
    position: absolute;
    top: 35%;
    right: 17%;
    transform: translate(50%, -50%);
    width: 450px;
    height: 350px;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.kontak-box .fa-phone {
    font-size: 1.3rem;
}

.kontak-box .fa-whatsapp {
    font-size: 1.7rem;
}

.kontak-box h3 {
    font-weight: bold;
}

@media (max-width: 1399px) {
    .tentang-box {
        max-width: 900px;
        padding: 40px;
    }
    
    .tentang-box p {
        font-size: 1.1rem;
    }
    
    .kontak-box {
        width: 380px;
        height: 320px;
        right: 10%;
    }
}
/* Tablet landscape dan desktop kecil - penyesuaian positioning */
@media (max-width: 1199px) {
    .tentang-box {
        max-width: 700px;
        padding: 40px;
    }
    
    .tentang-box p {
        font-size: 1.1rem;
    }
    
    .kontak-box {
        width: 380px;
        height: 320px;
        right: 10%;
    }
}

/* Tablet portrait */
@media (max-width: 991px) {
    .tentang-box {
        max-width: 600px;
        padding: 35px;
        margin-left: 0;
    }
    
    .tentang-box h2 {
        font-size: 1.75rem;
    }
    
    .tentang-box p {
        font-size: 1rem;
    }
    
    .kontak-box {
        width: 340px;
        height: 300px;
        right: 5%;
        top: 40%;
    }
    
    .kontak-box h3 {
        font-size: 1.2rem;
    }
}

/* Tablet kecil dan mobile landscape */
@media (max-width: 768px) {
    .tentang-box {
        max-width: 100%;
        padding: 30px;
        min-height: auto;
    }
    
    .kontak-box {
        position: static;
        transform: none;
        width: 100%;
        max-width: 450px;
        height: auto;
        min-height: 280px;
        margin: 20px auto 0;
    }
}

/* Mobile portrait */
@media (max-width: 576px) {
    .tentang-box {
        padding: 25px 20px;
    }
    
    .tentang-box h2 {
        font-size: 1.5rem;
    }
    
    .tentang-box p {
        font-size: 0.95rem;
    }
    
    .kontak-box {
        padding: 25px 20px;
        min-height: 250px;
    }
    
    .kontak-box h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .kontak-box .fa-phone {
        font-size: 1.1rem;
    }
    
    .kontak-box .fa-whatsapp {
        font-size: 1.4rem;
    }
}

/* 
.tentang-box {
    background-color: #EFF3FD;
    border-radius: 12px;
    padding: 50px;
    position: relative;
    z-index: 10;
    max-width: 950px;
    margin-left: 1%;
    font-size: 1.05rem;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.tentang-box h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #3563E9 !important;
}

.tentang-box p {
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

.kontak-box {
    background-color: #85A8F8;
    position: absolute;
    top: 35%;
    right: 17%;
    transform: translate(50%, -50%);
    width: 450px;
    height: 350px;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.kontak-box .fa-phone {
    font-size: 1.3rem;
}

.kontak-box .fa-whatsapp {
    font-size: 1.7rem;
}

.kontak-box h3 {
    font-weight: bold;
}


@media (max-width: 768px) {
    .kontak-box {
        position: static;
        transform: none;
        width: 100%;
        margin-top: 20px;
    }
} */

/************************************PELAYANAN SPESIAL************************************/
/* .services {
    text-align: center;
    padding: 40px 20px;
    font-family: 'Arial', sans-serif;
}

.services-header h2 {
    font-size: 35px;
    font-weight: bold;
    margin-bottom: 5px;
}

.services-header p {
    color: #555;
    font-size: 20px;
    margin-bottom: 30px;
}

.services-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 150px;
    min-height: 100px;
    justify-content: flex-start;
}

.icon {
    background-color: #fff;
    color: #3563E9;
    font-size: 2.2rem;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(62, 123, 250, 0.12);
    transition: background 0.2s;
}

.line {
    width: 100px;
    height: 0;
    border-bottom: 4px dashed #ccc;
    margin: 0 10px;
    align-self: center;
    position: relative;
    top: -30px;
}

.service-item p {
    font-size: 17px;
    color: #222;
    margin: 0;
    line-height: 1.4;
} */
.services {
    text-align: center;
    padding: 40px 20px;
    font-family: 'Arial', sans-serif;
}

.services-header h2 {
    font-size: 35px;
    font-weight: bold;
    margin-bottom: 5px;
}

.services-header p {
    color: #555;
    font-size: 20px;
    margin-bottom: 30px;
}

.services-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 150px;
    min-height: 100px;
    justify-content: flex-start;
}

.icon {
    background-color: #fff;
    color: #3563E9;
    font-size: 2.2rem;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(62, 123, 250, 0.12);
    transition: background 0.2s;
}

.line {
    width: 100px;
    height: 0;
    border-bottom: 4px dashed #ccc;
    margin: 0 10px;
    align-self: center;
    position: relative;
    top: -30px;
}

.service-item p {
    font-size: 17px;
    color: #222;
    margin: 0;
    line-height: 1.4;
}

/* Responsive untuk layar kecil */
@media (max-width: 768px) {
    .services-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .line {
        display: none;
    }
    
    .service-item {
        max-width: 200px;
    }
}
/*****************************************PROMO CARD*****************************************/
.promo-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    gap: 40px;
}

.promo-content {
    max-width: 400px;
    text-align: center;
    margin-bottom: 32px;
}

.promo-content h2 {
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 10px;
    text-align: center;
    font-weight: bold;
}

.promo-content hr {
    width: 30%;
    height: 3px;
    background-color: #85A8F8;
    border: none;
    margin: 15px 0;
}

.promo-content p {
    font-size: 19px;
    margin-bottom: 20px;
    line-height: 1.6;
    text-align: justify;
}

.btn-promo {
    display: inline-block;
    background-color: #85A8F8;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 16px;
}

/* Video Styling */
/* .promo-video iframe {
    width: 650px;
    height: 370px;
    border-top-left-radius: 50px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
} */

/* .promo-video {
    margin-left: 90px;
} */
.promo-video {
    margin-left: 90px;
    max-width: 650px;
    width: 100%;
}

.promo-video iframe {
    width: 100%;
    height: 370px;
    border-top-left-radius: 50px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Media query untuk tablet */
@media (max-width: 768px) {
    .promo-video {
        margin-left: 20px;
        margin-right: 20px;
    }
    
    .promo-video iframe {
        height: 300px;
        border-top-left-radius: 30px;
    }
}

/* Media query untuk mobile */
@media (max-width: 480px) {
    .promo-video {
        margin-left: 15px;
        margin-right: 15px;
    }
    
    .promo-video iframe {
        height: 220px;
        border-top-left-radius: 20px;
    }
}

/*******************************BERITA************************************/
.berita {
    max-width: 1200px;
    margin: auto;
}

.berita-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.row.align-items-center.mb-5>.col-md-6:last-child>.bg-light>* {
    margin-bottom: 10px;
    margin-top: 15px;
}

.berita-header h2 {
    font-size: 2rem;
    font-weight: 700;
}

.btn.btn-primary.rounded-pill.px-4 {
    background-color: #85A8F8 !important;
    border: none !important;
    color: #fff !important;
    transition: background 0.2s;
}

.btn.btn-primary.rounded-pill.px-4:hover {
    background-color: #5a6dd8 !important;
    color: #fff !important;
}

.berita-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    gap: 20px;
}

/* Semua gambar berita ukuran sama */
.row.align-items-center.mb-5 img,
.berita-img {
    width: 63%;
    max-width: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    display: block;
}

.btn-baca {
    background-color: #85A8F8;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
    width: auto !important;
    min-width: 0 !important;
    box-shadow: none;
    margin: 0;
}

.p-3.bg-light.rounded {
    display: block !important;
}

.btn-baca:hover {
    background-color: #5a6dd8;
}

/* Berita: gambar konsisten */
.row.align-items-center.mb-5 img,
.berita-img {
    max-width: 90%;
    height: 260px;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    display: block;
}

.row.align-items-center.mb-5>.col-md-6:last-child>.bg-light {
    margin-left: -30%;
    height: 20%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Jarak vertikal di mobile */
@media (max-width: 767.98px) {
    .row.align-items-center.mb-5>.col-md-6:last-child>.bg-light {
        margin-left: 0;
        margin-top: 16px;
    }
}

.p-3.bg-light.rounded .text-primary.small.mb-1 {
    font-size: 1rem;
    color: #85A8F8 !important;
    margin-left: 10px;
    font-weight: bold;
}


/* ================================================= */
/* Tambahan Responsif Tanpa Mengubah Script Asli */
/* ================================================= */

@media (max-width: 991.98px) {
    /* Untuk layar laptop kecil */
    .berita-header {
        flex-wrap: wrap;
        gap: 10px;
    }

    .berita-header h2 {
        font-size: 1.75rem;
    }

    .row.align-items-center.mb-5 img,
    .berita-img {
        width: 100%;
        height: 220px;
        max-width: 100%;
    }

    .row.align-items-center.mb-5>.col-md-6:last-child>.bg-light {
        margin-left: 0;
        margin-top: 20px;
    }
}

@media (max-width: 575.98px) {
    /* Untuk HP kecil */
    .berita-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .berita-header h2 {
        font-size: 1.4rem;
    }

    .berita-item {
        flex-direction: column;
        gap: 15px;
    }

    .row.align-items-center.mb-5 img,
    .berita-img {
        width: 100%;
        height: auto;
    }

    .row.align-items-center.mb-5>.col-md-6:last-child>.bg-light {
        margin-left: 0;
        margin-top: 12px;
        height: auto;
    }

    .btn-baca {
        font-size: 13px;
        padding: 6px 10px;
    }
}
