/* Global CSS */
h1,
h2,
h3,
h4,
h5,
h6,
div{
    font-family: "Poppins", sans-serif;
}

.product h3,
.artikel h5,
.testimoni h5,
.cta-page h4,
.keunggulan h2,
.list-kota h3,
.kontak-kami .container h2,
.tentang-kami-page h2,
.faq-section h5 {
    font-size: 32px;
}

p,
a,
ul li,
span,
b,
.header .nav-link,
.header-mobile .menu p,
button,
.btn {
    font-family: "Poppins", sans-serif;
    font-size: 16px;
}

.nav-link,
.header-mobile .icon p {
    color: #0f0f0f;
    font-family: Inter, Arial, Helvetica, sans-serif;
}

/* Akhir global CSS */

/* Header */
.header-desktop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    z-index: 9999999;
    margin: -10px 0;
}

.header-desktop img {
    width: 80px !important;
}

.menu {
    border-radius: 15px 15px 0 0;
}

.header-desktop .header .nav-link {
    color: #c26424;
    font-weight: 600;
}

.header-beranda {
    background-color: #c26424;
    padding: 170px 0 100px 0;
    border-radius: 0 0 20px 20px;
}

.header-beranda h1 {
    padding-top: 50px;
    color: #ffffff;
}

.header-beranda .text-header {
    width: 70%;
}

.header-beranda .text-header p {
    text-align: left;
    font-size: 18px;
}

.header-beranda .container .image-header img {
    width: 100%;
    padding: 0 50px;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,.18);
}

.menu .icon p {
    margin: -7px 0 5px 0;
}

.menu .icon a i {
    color: #0D3B2E;
}

.header-beranda .container .btn {
    background-color: #ffffff;
    color: #c26424;
    padding: 10px 25px;
    border-radius: 30px;
}

.header-beranda .text-header .alamat {
    color: #0f0f0f;
    font-size: 1px;
}

.header-beranda .card {
    padding: 20px 20px 10px 50px;
    box-shadow: 1px 1px 7px #ccc;
    border-radius: 20px;
}

/* Akhir header */


/* Section Produk */
.product .list-product .d-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: stretch;
}

.product .list-product .d-flex .card-section {
    width: calc(25% - 10px);
    box-shadow: 1px 2px 2px #aaa;
    border-radius: 20px;
    padding: 10px;
    display: flex;
    flex-direction: column;
}

.product img {
    width: 100%;
}

.product .list-product .d-flex .card-section .btn {
    background-color: #f38120;
    border-radius: 20px;
    color: #ffffff;
    margin-top: auto;
    display: inline-block;
    width: fit-content;
    align-self: flex-start;
    align-self: center;
}

/* Akhir Section Produk */

/* Section CTA */
.cta-page .container {
    background-color: #f38120;
    padding: 100px 30px;
    border-radius: 20px;
    margin-top: 100px;
    color: #ffffff;
}

.cta-page .container .button-cta {
    background-color: #ffffff;
    display: inline-block;
    border-radius: 30px;
    padding: 10px 10px 5px 40px;
}

.cta-page .container .button-cta a {
    font-weight: bold;
    margin-left: 8px;
}

.cta-page .container .button-cta img {
    margin-left: -20px;
    margin-top: 4px;
    width: 30px;
}

.cta-page .container .text-cta {
    width: 55%;
    text-align: justify;
}

.cta-page .container .image-cta {
    position: relative;
    margin-top: -600px;
}

.cta-page .container img {
    position: absolute;
}

/* Akhir Section CTA */

/* Section Keunggulan */
.keunggulan {
    background-image: url('../images/bg-2.webp');
    background-size: cover;
    background-repeat: no-repeat;
    padding-bottom: 50px;
}

.keunggulan .container {
    position: relative;
}

.keunggulan .container .list-keunggulan {
    padding-top: 50px;
}

.keunggulan .container .d-grid {
    grid-template-columns:
        repeat(4, 1fr);
    gap: 10px;
    align-items: stretch;
}

.keunggulan .card-section {
    background-color: #ffffffc0;
    border-radius: 20px;
    padding: 20px 20px 10px 20px;
}

.keunggulan .card-section img {
    width: 30%;
    display: block;
    margin: auto;
}

.keunggulan .card-section .title {
    color: #0D3B2E;
    font-weight: 700;
}

.keunggulan .card-section p {
    color: #000000;
    text-align: center;
}

/* Akhir Section Keunggulan */

/* Section list kota */
.list-kota .container {
    box-shadow: 1px 1px 3px #aaa;
    padding: 30px;
}

.list-kota .container .d-grid {
    grid-template-columns:
        repeat(4, 1fr);
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.list-kota .container .d-grid a {
    color: #045323;
}

/* Akhir section list kota */


/* Section testimoni */
.carousel-container {
    position: relative;
    max-width: 100%;
    margin: auto;
    overflow: hidden;
}

.carousel-wrapper {
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial {
    background: #f9f9f9;
    border-radius: 20px;
    padding: 20px;
    margin: 10px;
    flex: 0 0 calc(33.333% - 20px);
    /* Default 3 kolom */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

    /* Bikin konten rata atas dan bawah */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Pastikan paragraf testimoni ada di bagian atas */
.testimonial p {
    flex-grow: 1;
    /* isi area di atas */
    margin-bottom: 15px;
    text-align: justify;
}

/* Bagian bawah: foto + nama sejajar */
.testimonial-footer {
    display: flex;
    align-items: center;
    gap: 10px;
}

.testimonial-footer p {
    margin: 0;
    font-weight: bold;
    font-size: 0.9rem;
}

.testimonial-footer img {
    width: 50px;
    border-radius: 50%;
}

/* Arrow Navigation */
.carousel-arrow {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    width: 45px;
    z-index: 2;
    border-radius: 50%;
}

.carousel-arrow.prev {
    left: 20px;
}

.carousel-arrow.next {
    right: 20px;
}

/* Dots Navigation */
.carousel-dots {
    text-align: center;
    margin-top: 15px;
}

.carousel-dots button {
    border: none;
    background: #ccc;
    width: 7px;
    height: 12px;
    margin: 5px;
    border-radius: 50%;
    cursor: pointer;
}

.carousel-dots button.active {
    background: #333;
}

/* Akhir Section Testimoni */


/* Section button WA */
.button-wa {
    position: fixed;
    bottom: 8%;
    right: 3%;
    z-index: 99999999;
    display: block;
    text-align: right;
}

.button-wa:hover {
    cursor: pointer;
}

.button-wa .popup-cta {
    width: 350px;
    display: none;
    background-color: #fff;
    margin-bottom: 20px;
    border-radius: 10px;
    padding-bottom: 10px;
}

#waIcon {
    transition: opacity .4s ease;
}

.button-wa .popup-cta .admin-item {
    background-color: #dddddd;
    margin: 10px;
    border-radius: 10px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.button-wa .popup-cta .popup-text {
    text-align: center;
    background-color: #045323;
    color: #ffffff;
    border-radius: 10px 10px 0 0;
    padding: 10px;
}

.button-wa .popup-cta .popup-text p {
    font-size: 14px;
}

.button-wa .popup-cta .admin-item span {
    text-align: center;
    display: block;
}

.button-wa .popup-cta .admin-item img {
    width: 50px;
    border-radius: 50%;
}

.button-wa img {
    width: 60px;
}

.button-wa .button-cta {
    background: #c26424;
    padding: 5px 0 5px 10px;
    border-radius: 20px;
}

/* Akhir section button WA */

/* Section footer */
footer {
    background-color: #c26424;
    padding: 20px 0 0 0;
    border-radius: 20px 20px 0 0;
}

footer .logo-footer {
    width: 120px;
    border-radius: 20px;
    background-color: #ffffff;
    margin-bottom: 20px;
}

footer h3,
footer h6 {
    margin-top: 10px;
    font-size: 18px;
    line-height: 1.5em;
}

footer .detail-navigasi {
    margin-top: -10px;
}

footer h6 {
    margin-bottom: 30px;
}

footer .navigasi-produk {
    display: grid;
    grid-template-columns:
        repeat(3, 1fr);
    grid-column-gap: 50px;
}

footer .list-produk ul li {
    color: #ffffff;
}

footer .list-produk i {
    font-size: 12px;
    color: #ffffff;
}

/* Akhir section footer */

.produk-page {
    margin-top: -50px;
}

/* Page kontak kami */
.kontak-kami {
    margin-top: -40px
}

.kontak-kami .container {
    margin-top: 120px
}

.kontak-kami .container .col {
    box-shadow: 2px 3px 7px #aaa;
    border-radius: 20px
}

/* Akhir page kontak kami */

.detail-produk .list-produk {
    margin-top: 100px;
    background-image: url('../images/bg-5.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    padding-bottom: 50px;
}

.faq-section {
    background-image: url('../images/bg-2.webp');
    background-position: bottom center;
    background-size: cover;
    background-repeat: no-repeat;
}

@media (max-width: 1024px) {
    .product .list-product .d-flex .card-section {
        width: calc(50% - 10px);
    }
}

@media only screen and (max-width: 767px) {

    /* Global CSS */
    .product h3,
    .artikel h5,
    .testimoni h5,
    .cta-page h4,
    .keunggulan h2,
    .list-kota h3,
    .kontak-kami .container h2,
    .tentang-kami-page h2,
    .faq-section h5 {
        font-size: 20px;
    }

    p,
    a,
    ul li,
    ol li,
    b,
    button,
    .accordion .accordion-item .accordion-button,
    i,
    footer h6,
    footer span {
        font-family: "Poppins", sans-serif;
        ;
        font-size: 13px;
    }

    .header-mobile .icon p,
    footer {
        font-size: 10px;
    }

    /* Akhir global CSS */

    /* Header */
    .header-mobile .menu {
        position: fixed;
        bottom: 0;
        right: 0;
        left: 0;
        padding: 0;
        z-index: 1000;
        background-color: #ffffff;
    }

    /* Akhir header */

    /* Section header */
    .header-beranda {
        display: block;
        position: relative;
        padding: 0;
        border-radius: 0;
    }

    .header-beranda .text-header {
        width: 100%;
    }

    .header-beranda .container .btn {
        font-size: 13px;
        padding: 5px 10px;
    }

    .header-beranda img {
        margin-top: 0;
    }

    .header-beranda #header-image-beranda {
        width: 100%;
    }

    .header-beranda ul span i {
        font-size: 10px;
    }

    .header-beranda #header-image-beranda {
        position: relative;
        border-radius: 0 0 20px 20px;
    }

    .header-beranda .d-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .header-beranda .card {
        padding: 20px 20px 10px 20px;
        box-shadow: 1px 1px 7px #ccc;
        border-radius: 20px;
        margin-bottom: 15px;
        margin-top: -10px;
    }

    .header-beranda .d-grid li {
        font-size: 12px;
        margin-left: -15px;
        margin-right: -15px;
        text-align: start;
        color: #045323;
    }

    .header-beranda .container p,
    .product .list-product .d-flex .card-section .btn {
        font-size: 13px;
    }

    .header-beranda .image-header {
        margin-top: 0px;
    }

    .header-beranda h1 {
        font-size: 22px;
    }

    .header-beranda ul li {
        font-size: 12px;
        margin-left: 20px;
    }

    .header-beranda #header-image-beranda {
        width: 85%;
        padding: 0;
        border-radius: 130px 130px 0 0;
        overflow: hidden;
        box-shadow: 0 20px 60px rgba(0,0,0,.18);
    }

    /* Akhir section header */

    /* Section produk */
    .product .list-product .d-flex .card-section {
        width: 100%;
    }

    /* Akhir section produk */

    .cta-page .container {
        padding: 30px 20px;
        margin-top: 20px;
    }

    .cta-page .container .image-cta {
        position: relative;
        margin-top: 0;
    }

    .cta-page .container img {
        position: relative;
        display: block;
        margin: auto;
        width: 200px;
        margin-top: 30px;
    }

    .cta-page .container .text-cta {
        width: 100%;
    }

    .cta-page .container .text-cta p {
        text-align: justify;
    }

    .cta-page .container .button-cta {
        padding: 7px 10px 3px 20px;
    }

    .cta-page .container .button-cta a {
        font-size: 11px;
        padding-left: 10px;
        margin-top: -40px;
        margin-bottom: -30px;
    }

    .cta-page .container .button-cta img {
        margin-left: -5px;
        width: 15px;
        margin-bottom: -15px;
    }

    .keunggulan {
        margin-top: 20px;
        padding: 0 0 20px 0;
    }

    .keunggulan .container {
        padding: 0;
    }

    .keunggulan .container .count {
        padding: 20px 0;
        position: relative;
        margin-top: -20px;
        border-radius: 0 0 20px 20px;
    }

    .keunggulan .container .count span {
        font-size: 22px;
    }

    .keunggulan .container .list-keunggulan {
        padding: 0 10px;
    }

    .keunggulan .card-section img {
        width: 20%;
    }

    .keunggulan .container .d-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .pengajar .container img {
        width: 100%;
    }

    .list-kota .container .d-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .button-wa {
        right: 0;
    }
    .button-wa .popup-cta {
        margin: auto;
        width: 95%;
    }

    .button-wa .popup-cta .admin-item {
        gap: 7px;
    }

    .button-wa .popup-cta .popup-text {
        padding: 5px;
    }

    .button-wa .popup-cta .popup-text p,
    .button-wa .popup-cta .admin-item span,
    .button-wa span {
        font-size: 13px;
    }

    .button-wa .popup-cta .admin-item img,
    .button-wa img {
        width: 40px;
    }

    /* Section testimoni */
    .testimoni {
        background-image: url('../images/bg-2.webp');
    }

    .testimonial {
        flex: 0 0 calc(100% - 20px);
        background-color: #ffffffcc;
    }

    .testimonial-footer p {
        font-size: 13px;
    }

    .testimonial-footer img {
        width: 30px;
    }

    /* Arrow Navigation */
    .carousel-arrow {
        padding: 3px;
        width: 30px;
    }

    /* Dots Navigation */
    .carousel-dots {
        display: none;
    }

    /* Akhir section testimoni */

    footer {
        padding-bottom: 30px;
    }

    footer .logo-footer {
        margin-bottom: 30px;
    }

    footer h3,
    footer h6 {
        margin-top: 0;
        font-size: 13px;
    }

    footer .alamat-kota {
        margin-bottom: 5px;
    }

    footer .detail-alamat {
        margin-bottom: 5px;
    }

    footer h6 {
        margin-bottom: 15px;
    }

    footer .navigasi-produk {
        display: grid;
        grid-template-columns:
            repeat(3, 1fr);
        gap: 0;
    }

    footer .list-produk ul {
        padding-left: 30px;
    }

    footer .list-produk i {
        font-size: 8px;
        margin-left: -10px;
    }

    .produk-page {
        margin-top: 0;
    }

    /* Page kontak kami */
    .kontak-kami .container {
        margin-top: 70px;
    }

    .kontak-kami .container .teks {
        box-shadow: 2px 3px 7px #aaa;
    }

    /* Akhir page kontak kami */

    .detail-produk .list-produk {
        margin-top: 30px;
        padding-bottom: 30px;
    }

    .header-beranda .container .image-header img {
        padding-left: 0;
    }
}

.logo-header-mobile {
    width: 20px;
}

.tiptap-editor {
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    min-height: 150px;
    padding: .75rem;
    background: white;
}

.tiptap-editor:focus {
    outline: 2px solid #2563eb;
}

.hero-content p {
    color: #ffffff;
    font-family: "Poppins", sans-serif;
}

.card-section .card-description img {
    width: 20px !important;
    height: 20px !important;
    margin-right: 7px;
}

.card-section .card-description ul {
    margin-top: 10px;
}

.card-section .card-description ul li {
    margin-top: 4px;
    font-size: 14px;
}

.pembimbing-section {
    margin-top: 50px;
    position: relative;
    padding: 50px 0;
    background-color: #d4d0d0c4;
}

.pembimbing-section .overlay {
    position: absolute;
    inset: 0;
}

.pembimbing-section .main-title {
    color: #000000;
    font-size: 26px;
} 

.sub-title {
    color: #000000;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
}

.mentor-card {
    color: #000000;
}

.mentor-image {
    background: #f58220;
    border: 8px solid #fff;
    border-radius: 20px;
    overflow: hidden;
    max-width: 280px;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.mentor-image img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {

    .pembimbing-section {
        margin-top: 30px;
        padding: 10 20px;
    }

    .pembimbing-section .main-title {
        font-size: 18px;
    } 

    .mentor-image {
        max-width: 220px;
    }
}

.gallery-section {
    padding: 80px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.gallery-section .container {
    position: relative;
    z-index: 2;
}

.gallery-subtitle {
    font-size: 13px;
    font-weight: 500;
    color: #000;
}

.gallery-title,
.partner-title {
    color: #000;
    font-size: 26px;
    font-weight: 700;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    align-items: start;
}

.gallery-item {
    overflow: hidden;
    border-radius: 18px;
    border: 6px solid #f38120;
    background: #f38120;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-item.portrait {
    height: 380px;
}

.gallery-item.landscape {
    height: 280px;
}

@media (max-width: 768px) {

    .gallery-section {
        padding: 40px 20px;
    }

    .gallery-title,
    .partner-title {
        font-size: 18px;
        line-height: 1.4;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .gallery-item.portrait,
    .gallery-item.landscape {
        height: auto;
    }

    .gallery-item img {
        height: auto;
    }
}

.partner-section {
    padding: 80px 0 50px 0;
    background: #f5f5f5;
    overflow: hidden;
}

.partner-subtitle {
    color: #f58220;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.partner-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.partner-track {
    display: flex;
    align-items: center;
    gap: 20px;
    width: max-content;
    animation: partnerSlide 60s linear infinite;
}

.partner-item {
    width: 220px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.partner-item img {
    width: 100%;
    max-width: 170px;
    object-fit: contain;

    filter: grayscale(100%);
    opacity: .8;
    transition: 11s;
}

.partner-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

@keyframes partnerSlide {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {

    .partner-section {
        padding: 40px 0;
    }

    .partner-track {
        gap: 10px;
    }

    .partner-item {
        width: 150px;
    }

    .partner-item img {
        max-width: 110px;
    }
}