/* Global CSS */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Poppins", sans-serif;
}

.list-produk h3,
.artikel h5,
.testimoni h2,
.cta-page h4,
.pengajar h3,
.kurikulum h3,
.fitur-unggulan h3,
.keunggulan h3,
.list-kota h3,
.kontak-kami .container h2,
.tentang-kami-page h2 {
    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: #045323;
    font-family: Inter, Arial, Helvetica, sans-serif;
}

/* Akhir global CSS */

/* Header */
.header-desktop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #045323;
    z-index: 9999999;
    margin: -10px 0;
}

.navbar-brand img {
    border-radius: 10px;
}

.menu {
    border-radius: 15px 15px 0 0;
}

.header-desktop .header .nav-link {
    color: #ffffff;
    font-weight: 600;
}

.header-beranda {
    background-color: #ffffff;
    padding: 100px 0 60px 0;
    border-radius: 0 0 20px 20px;
}

.header-beranda h1 {
    padding-top: 50px;
    color: #045323;
    -webkit-text-stroke-width: .8px;
    /* Lebar garis luar */
    -webkit-text-stroke-color: #02240f;
    /* Warna garis luar */
}

.header-beranda .text-header {
    width: 100%;
}

.header-beranda .text-header p {
    text-align: left;
    font-size: 18px;
}

.header-beranda .container .image-header img {
    width: 100%;
    padding-left: 50px;
}

.menu .icon p {
    margin: -7px 0 5px 0;
}

.menu .icon a i {
    color: #045323;
}

.header-beranda .container .btn {
    background-color: #045323;
    box-shadow: 3px 3px 0 #f2c300;
    color: #ffffff;
    padding: 10px 25px;
    border-radius: 30px;
}

.kelebihan .btn {
    background-color: #045323;
    color: #ffffff;
    border-radius: 10px;
    display: flex;               
    align-items: center;        
    justify-content: center;     
    text-align: center;
    font-weight: 600;
    font-size: 20px;
}


.header-beranda .container .btn:active {
    background-color: #033d1a;
    box-shadow: 1px 1px 0 #dbb002;
    transform: translateY(2px);
}

.header-beranda .text-header .alamat {
    color: #04532400;
    font-size: 1px;
}

.header-beranda .card {
    padding: 20px 20px 10px 50px;
    box-shadow: 1px 1px 7px #ccc;
    border-radius: 20px;
}

.header-beranda ul li {
    text-align: start;
}

.header-beranda ul span i {
    font-size: 12px;
}

.header-beranda p b {
    font-size: 18px;
}

/* Akhir header */


/* Section Produk */
.section-produk {
    margin-top: 40px;
    background-image: url('../images/bg-4.webp');
    background-size: cover;
    background-repeat: no-repeat;
    padding: 40px 0;
}

.section-produk .container .card-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* agar baris terakhir otomatis rata tengah */
    gap: 20px;
}

.section-produk .container .card-wrap .card-section {
    flex: 1 1 calc(33.333% - 20px);
    /* default: 3 kolom */
    max-width: calc(33.333% - 20px);
}

@media (max-width: 991px) {
    .section-produk .container .card-wrap .card-section {
        flex: 1 1 calc(50% - 20px);
        /* tablet: 2 kolom */
        max-width: calc(50% - 20px);
    }
}

@media (max-width: 767px) {
    .section-produk .container .card-wrap .card-section {
        flex: 1 1 100%;
        /* mobile: 1 kolom */
        max-width: 100%;
    }
}

.section-produk .container .card-wrap img,
.section-produk #detail-produk .card-wrap img {
    width: 100%;
    border-radius: 20px;
    display: block;
    margin: auto;
}

.section-produk .card-section {
    box-shadow: 1px 3px 5px #ddd;
    background-color: #ffffffcc;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding-bottom: 20px;
}

.section-produk .container .card-section .text-product {
    padding: 0 20px;
    text-align: left;
}

.section-produk .card-section .judul-produk {
    font-size: 20px;
}

.section-produk .btn {
    background-color: #a80000;
    color: #fff;
    border-radius: 20px;
    font-size: 16px;
}

.section-produk #button-lihat-produk {
    padding: 10px 30px;
    font-size: 18px;
    border-radius: 30px;
    font-weight: 700;
}

.section-produk .card-section .button-produk {
    margin-top: -60px;
}

/* Akhir Section Produk */

/* Section CTA */
.cta-page .container {
    background-color: #f2c300;
    padding: 100px 30px;
    border-radius: 20px;
    margin-top: 100px;
    color: #013616;
}

.cta-page .container .button-cta {
    background-color: #045323;
    display: inline-block;
    border-radius: 30px;
    padding: 10px 10px 5px 25px;
}

.cta-page .container .button-cta a {
    font-weight: bold;
    margin-left: -7px;
    margin-top: -15px;
}

.cta-page .container .button-cta i {
    font-size: 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 .container .count {
    background-color: #f2c300;
    padding: 20px 30px;
    border-radius: 20px;
    color: #045323;
    box-shadow: 6px 6px 0 #045323;
    z-index: 99;
}

.keunggulan .container .count span {
    font-size: 40px;
    font-weight: 800;
}

/* Akhir Section Keunggulan */

.jenjang {
    margin-top: -80px;
    padding: 120px 0 50px 0;
    background-image: url('../images/bg-1.png');
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    z-index: -10;
}

.jenjang h2 {
    font-weight: 700;
}

.kelebihan {
    margin-top: 30px;
}

.kelebihan h3 {
    font-size: 32px;
    font-weight: 700;
}

.kelebihan .d-grid {
    grid-template-columns:
        repeat(5, 1fr);
    gap: 10px;
    
}

.kelebihan .d-grid .card {
    display: flex;               
    align-items: center;        
    justify-content: center;     
    text-align: center;
    min-height: 70px;        
    box-shadow: 1px 1px 5px #ccc;
    border-radius: 10px;
    padding: 10px;
    background-color: #ffffffcc;
}

.kelebihan .d-grid div p {
margin-bottom: 0;
align-items: center;
align-self: center;
}

.solusi {
    margin-top: 25px;
    padding: 50px 0;
    background-image: url('../images/bg-3.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center right;
}

.solusi h4 {
    font-size: 32px;
    font-weight: 700;
}

.solusi .container div {
    background-color: #ffffffaf;
    border-radius: 20px;
    padding: 15px;
}

.program {
    margin-top: 30px;
}

.program h4 {
    font-weight: 700;
    font-size: 32px;
}

.metode-belajar {
    margin-top: 70px;
}

.metode-belajar h6 {
    font-size: 32px;
    font-weight: 700;
}

.metode-belajar .d-grid {
    margin-top: 20px;
    grid-template-columns:
        repeat(2, 1fr);
    gap: 20px;
}

.metode-belajar .d-grid p {
    margin-top: 20px;
    font-weight: 600;
    font-size: 20px;
}

.metode-belajar .d-grid .kelas-online,
.metode-belajar .d-grid .kelas-offline {
    box-shadow: 1px 1px 5px #ccc;
    border-radius: 10px;
    text-align: center;
    padding: 10px;
}

.metode-belajar .d-grid .icon-metode-belajar {
    width: 60px;
    display: block;
    margin: auto;
}

.pengajar {
    margin-top: 170px;
}

.siswa h3,

.mapel h4 {
    margin-top: 40px;
    font-weight: 700;
    font-size: 32px;
}

.siswa .container button {
    background-color: #f2c300;
    border-radius: 10px;
    font-weight: 600;
    box-shadow: 3px 3px 0 #045323;
}

.faq-section {
    margin-top: 50px;
    margin-bottom: -40px;
    padding: 50px 0;
    background-image: url('../images/bg-2.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.list-kota h3,
.faq-section h2 {
    font-weight: 700;

}

/* Section Kurikulum */

.kurikulum {
    background-image: url('../images/bg-6.webp');
    background-size: cover;
    background-repeat: no-repeat;
    padding: 50px 0;
}

.kurikulum .container .d-grid {
    grid-template-columns:
        repeat(4, 1fr);
    gap: 20px;
}

.kurikulum .container .d-grid .card-section {
    border-radius: 20px;
    padding: 20px;
    box-shadow: 1px 1px 5px #aaa;
    background-color: #ffffffcc;
}

.kurikulum .container .d-grid .card-section .img-1 {
    width: 20%;
}

.kurikulum .container .d-grid .card-section .img-2 {
    width: 50%;
}

/* Akhir Section Kurikulum */

/* Section Fitur Unggulan */
.fitur-unggulan {
    background-image: url('../images/bg-4.webp');
    background-size: cover;
    background-position: center center;
    padding: 50px 0;
}

.fitur-unggulan .container .d-grid {
    grid-template-columns:
        repeat(3, 1fr);
    gap: 20px;
}

.fitur-unggulan .container .d-grid .card-section {
    background-color: #ffffffcc;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 1px 1px 5px #aaa;
}

.fitur-unggulan .container .d-grid .card-section img {
    width: 15%;
    margin: auto;
    display: block;
}

/* Akhir Section Fitur Unggulan */

/* Section list kota */
.list-kota .container {
    box-shadow: 1px 1px 3px #aaa;
    padding: 30px;
    border-radius: 20px;
}

.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;
}

.testimoni h2 {
    font-weight: 700;
}

.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: 10%;
    right: 5%;
    z-index: 99999999;
}

.button-wa img {
    width: 70px;
}

.button-wa a {
    background-color: #045323;
    padding: 5px 0 5px 10px;
    border-radius: 20px;
    color: #ffffff;
    font-weight: 600;
}

/* Akhir section button WA */

/* Section footer */
footer {
    background-color: #f2c300;
    padding: 20px 0 0 0;
    border-radius: 20px 20px 0 0;
}

footer .logo-footer {
    width: 300px;
    border-radius: 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: #013616;
}

footer .list-produk i {
    font-size: 10px;
    color: #013616;
}

/* 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;
}

@media only screen and (max-width: 767px) {

    /* Global CSS */
    .list-produk h3,
    .artikel h5,
    .testimoni h2,
    .cta-page h4,
    .pengajar h3,
    .kurikulum h3,
    .fitur-unggulan h3,
    .keunggulan h3,
    .list-kota h3,
    .kontak-kami .container h2,
    .tentang-kami-page h2 {
        font-size: 20px;
    }

    p,
    a,
    ul li,
    ol li,
    b,
    button,
    .accordion .accordion-item .accordion-button,
    i,
    footer h6 {
        font-family: "Poppins", sans-serif;
        font-size: 12px;
    }

    .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 .container .btn {
        font-size: 12px;
        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 {
        font-size: 12px;
    }

    .header-beranda .image-header {
        margin-top: 0px;
    }

    .header-beranda h1 {
        font-size: 22px;
    }

    .header-beranda ul li {
        font-size: 12px;
        margin-left: 20px;
    }

    /* Akhir section header */

    /* Section produk */
    .section-produk {
        margin-top: 30px;
        background-image: url('../images/bg-mobile-1.webp');
        padding: 20px 0;
    }

    .section-produk h3 {
        font-size: 20px;
    }

    .section-produk .d-grid {
        grid-template-columns:
            repeat(1, 1fr);
        gap: 10px;
    }

    .section-produk .card-section .judul-produk {
        font-size: 12px;
    }

    .section-produk .button a {
        font-size: 12px;
        font-weight: 500;
    }

    .section-produk #button-lihat-produk {
        margin-top: 20px;
        padding: 7px 20px;
        font-size: 14px;
    }

    .section-produk .card-section {
        margin-top: 20px;
    }

    /* Akhir section produk */

    .cta-page h4 {
        font-size: 18px;
    }

    .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: 8px 15px 5px 25px;
    }

    .cta-page .container .button-cta a {
        font-size: 11px;
        padding: 3px 3px 3px 8px;
        margin-left: -7px;
        margin-top: -10px;
    }

    .cta-page .container .button-cta i {
        font-size: 25px;
    }

    .cta-page p span {
        font-size: 14px;
    }

    .keunggulan {
        margin-top: 20px;
        padding: 0 0 20px 0;
    }

    .keunggulan .container {
        padding: 0;
    }

    .keunggulan .container .count {
        padding: 20px 0;
        box-shadow: 0 5px 0 #045323;
        border-radius: 0 0 20px 20px;
    }

    .keunggulan .container .count span {
        font-size: 22px;
    }

    .pengajar .container img {
        width: 100%;
    }

    /* Section Kurikulum */
    .kurikulum {
        padding: 20px 0;
    }

    .kurikulum .container .d-grid {
        grid-template-columns:
            repeat(1, 1fr);
        gap: 10px;
    }

    .kurikulum .container .d-grid .card-section {
        padding: 10px;
    }

    .kurikulum .container .d-grid .card-section .img-1 {
        width: 12%;
    }

    .kurikulum .container .d-grid .card-section .img-2 {
        width: 35%;
    }

    /* Akhir Section Kurikulum */

    /* Section Fitur Unggulan */
    .fitur-unggulan {
        background-image: url('../images/bg-mobile-1.webp');
        background-size: cover;
        background-position: bottom left;
        padding: 20px 0;
    }

    .fitur-unggulan .container .d-grid {
        grid-template-columns:
            repeat(1, 1fr);
        gap: 10px;
    }

    .fitur-unggulan .container .d-grid .card-section {
        padding: 10px;
    }

    /* Akhir Section Fitur Unggulan */
    .list-kota .container .d-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .button-wa img {
        width: 45px;
    }

    .testimonial {
        flex: 0 0 calc(100% - 20px);
        background-color: #ffffffcc;
    }

    .testimonial-footer p {
        font-size: 12px;
    }

    .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: 12px;
    }

    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;
    }

    .jenjang h2,
    .kelebihan h3,
    .solusi h4,
    .program h4,
    .metode-belajar h6,
    .siswa h3,
    .mapel h4,
    .faq-section h2 {
        font-size: 18px;
    }

    .jenjang {
        margin-top: -80px;
        padding: 100px 0 20px 0;
    }

    .kelebihan .d-grid {
        grid-template-columns:
            repeat(2, 1fr);
        gap: 10px;
    }

    .kelebihan .d-grid p {
        margin-bottom: 0;
    }

    .solusi {
        margin-top: 15px;
        padding: 30px 0;
    }

    .metode-belajar {
        margin-top: 20px;
    }

    .metode-belajar .d-grid {
        gap: 10px;
    }

    .metode-belajar .d-grid p {
        margin-top: 10px;
        font-size: 14px;
    }

    .pengajar {
        margin-top: 35px;
    }

    .siswa ul li {
        margin-left: 15px;
    }

    .kelebihan {
        margin-bottom: -40px;
    }

    .kelebihan .container {
        padding: 0;
    }

    .kelebihan .d-grid {
        background-image: url('../images/bg-2.webp');
        background-size: cover;
        background-repeat: no-repeat;
        padding-bottom: 70px;
    }

    .kelebihan .btn {
        font-size: 16px;
    }
}