.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    border-bottom: 2px solid #ccc;
    box-shadow: 0px 0px 5px #888;
    z-index: 999;
}

.hero {
    height: 100vh;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-image: url('../assets/img/background/plane.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero .partners {
    position: absolute;
    bottom: 15px;
}


/* baru */

/* PAKET ISLAMI STYLE */
.paket-islami {
    margin: 10vh auto;
}

.paket-islami img {
    height: 250px; /* Atur tinggi gambar */
}

.paket-islami .p-5 {
    height: 200px; /* Atur tinggi konten pos */
    overflow: hidden; /* Biarkan konten pos terpotong jika lebih tinggi dari 180px */
}


/* CLOCK */
:root {
    --primary-light: #8abdff;
    --primary: #000;
    --primary-dark: #000;
    --white: #fff;
    --greyLight-1: #e4ebf5;
    --greyLight-2: #c8d0e7;
    --greyLight-3: #bec8e4;
    --greyDark: #9baacf;
}

.jam {
    text-align: center;
    font-weight: bold;
    font-size: 30px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
/* Mengatur grid 6 kolom */
.parent-clock {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    margin: 2vh 0 5vh;
}

/* Mengatur grid 3 kolom pada layar mobile */
@media screen and (max-width: 767px) {
    .parent-clock {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        grid-auto-flow: dense;
    }
}

.cover-clock h2 {
    text-align: center;
    font-weight: bold;
}

.clock {
    grid-column: 0.6666666667;
    grid-row: 0.3333333333;
    width: 100px;
    height: 100px;
    justify-self: center;
    box-shadow: 0.15rem 0.15rem 0.3rem var(--greyLight-2), -0.1rem -0.1rem 0.25rem var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.clock .hand {
    position: absolute;
    transform-origin: bottom;
    bottom: 50px;
    border-radius: 0.1rem;
    z-index: 200;
}

.clock .hours, .clock .hours-arab, .clock .hours-turki, .clock .hours-mesir, .clock .hours-uzbekistan, .clock .hours-china {
    width: 0.2rem;
    height: 1.3rem;
    background: var(--greyLight-3);
}

.clock .minutes , .clock .minutes-arab, .clock .minutes-turki, .clock .minutes-mesir, .clock .minutes-uzbekistan, .clock .minutes-china {
    width: 0.2rem;
    height: 1.9rem;
    background: var(--greyDark);
}

.clock .seconds, .clock .seconds-arab, .clock .seconds-turki, .clock .seconds-mesir, .clock .seconds-uzbekistan, .clock .seconds-china {
    width: 0.1rem;
    height: 2.2rem;
    background: var(--primary);
}

.clock .point {
    position: absolute;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: var(--primary);
    z-index: 300;
}

.clock .marker {
    width: 85%;
    height: 85%;
    border-radius: 50%;
    position: relative;
    box-shadow: inset 0.1rem 0.1rem 0.25rem var(--greyLight-2), inset -0.1rem -0.1rem 0.25rem var(--white);
}

.clock .marker::after {
    content: "";
    width: 50%;
    height: 50%;
    position: absolute;
    box-shadow: inset 0.5px 0.5px 0.5px var(--greyLight-2), inset -0.5px -0.5px 0.5px var(--white);
    border-radius: 50%;
    top: 20%;
    left: 20%;
    filter: blur(0.5px);
}

.clock .marker__1,
.clock .marker__2,
.clock .marker__3,
.clock .marker__4 {
    position: absolute;
    border-radius: 0.05rem;
    box-shadow: inset 0.5px 0.5px 0.5px var(--greyLight-2), inset -0.5px -0.5px 0.5px var(--white);
}

.clock .marker__1,
.clock .marker__2 {
    width: 0.1rem;
    height: 0.3rem;
    left: 2.8rem;
}

.clock .marker__3,
.clock .marker__4 {
    width: 0.3rem;
    height: 0.1rem;
    top: 2.8rem;
}

.clock .marker__1 {
    top: 1%;
}

.clock .marker__2 {
    top: 99%;
    transform: translateY(-0.3rem);
}

.clock .marker__3 {
    left: 1%;
}

.clock .marker__4 {
    left: 99%;
    transform: translateX(-0.3rem);
}


/* flipcard */
.flip-card {
    position: relative;
    border: none;
    perspective: 1000px;
}

.flip-card .flip-front,
.flip-card .flip-back {
    padding: 32px;
    padding: 2rem;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    background: #FFF;
    box-shadow: 0px 0px 44px -10px rgba(0, 0, 0, 0.15);
    transform-style: preserve-3d;
    transition: ease transform 500ms;
}

.flip-card .flip-front .flip-content,
.flip-card .flip-back .flip-content {
    transform: translate3d(0, 0, 1px);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.flip-card .flip-front.overlay:before,
.flip-card .flip-back.overlay:before {
    transform: translate3d(0, 0, 0px);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.flip-card .flip-front {
    transform: translate3d(0, 0, 1px) rotateY(0deg);
}

.flip-card .flip-back {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translate3d(0, 0, -1px) rotateY(180deg);
}

.flip-card:hover .flip-front {
    transform: translate3d(0, 0, -1px) rotateY(-180deg);
}

.flip-card:hover .flip-back {
    transform: translate3d(0, 0, 1px) rotateY(0deg);
}

.flip-card.flip-card-vertical .flip-front {
    transform: translate3d(0, 0, 1px) rotateX(0deg);
}

.flip-card.flip-card-vertical .flip-back {
    transform: translate3d(0, 0, -1px) rotateX(180deg);
}

.flip-card.flip-card-vertical:hover .flip-front {
    transform: translate3d(0, 0, -1px) rotateX(-180deg);
}

.flip-card.flip-card-vertical:hover .flip-back {
    transform: translate3d(0, 0, 1px) rotateX(0deg);
}

.flip-card.flip-card-3d .flip-front .flip-content,
.flip-card.flip-card-3d .flip-back .flip-content {
    perspective: inherit;
    transform: translate3d(0, 0, 60px);
}

.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-left: 30px;
    margin-right: 30px;
}

.col-md-3 {
    flex: 0 0 calc(25% - 20px);
    max-width: calc(25% - 20px);
    margin-bottom: 20px;
    padding-left: 10px;
    padding-right: 10px;
}

.col-md-2 {
    flex: 0 0 calc(20% - 20px);
    max-width: calc(20% - 20px);
    margin-bottom: 20px;
    padding-left: 10px;
    padding-right: 10px;
}

/* For tablets and larger phones */
@media (max-width: 768px) {
    .col-md-3 {
        flex: 0 0 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
}

/* For smaller phones */
@media (max-width: 576px) {
    .col-md-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* For tablets and larger phones */
/* Style untuk layar desktop */
.col-md-2 {
    flex: 0 0 calc(20% - 20px);
    max-width: calc(20% - 20px);
    margin-bottom: 20px;
    padding-left: 10px;
    padding-right: 10px;
}

/* Untuk tablet dan ponsel yang lebih besar */
@media (max-width: 768px) {
    .col-md-2 {
        flex: 0 0 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
}

/* Untuk ponsel kecil */
@media (max-width: 576px) {
    .col-md-2 {
        flex: 0 0 calc(100% - 20px);
        max-width: calc(100% - 20px);
    }
}


.flip-content img {
    display: block;
    margin: 0 auto;
}

.flip-back {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 5rem; /* Adjust padding as needed */
    color: #ffffff; /* White text color */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center; /* Center align text */
}

/* btn */
.btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: all 0.15s ease-in-out;
    cursor: pointer;
    text-decoration: none;
}

.btn-modern {
    color: #fff;
    background-color: #343a40;
    border-color: #343a40;
}

.btn-dark {
    color: #fff;
    background-color: #343a40;
    border-color: #343a40;
}

.btn:hover {
    color: #fff;
    background-color: #23272b;
    border-color: #1d2124;
}

.btn-primary {
    color: #fff;
    background-color: #343a40;
    border-color: #343a40;
}


/* Contain all images in a flex container */

.image-container {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    width: 100%; /* Full width */
    height: auto; /* Adjust height automatically */
}


/* Style each image item */

.image-section {
    margin-top: 0;
    margin-bottom: 0;
    margin-right: 0;
    margin-left: 0;
    padding-top: 0;
    padding-right: 0;
    padding-left: 0;
    padding-bottom: 0;

}

.image-item {
    flex: 1 0 20%; /* Adjust the basis to fit 5 images per row */
    margin-top: 0;
    margin-bottom: 0;
    margin-right: 0;
    margin-left: 0;
    padding-top: 0;
    padding-right: 0;
    padding-left: 0;
    padding-bottom: 0;
}


.image-item img {
    display: block; /* Remove space below images */
    width: 100%;
    height: auto; /* Maintain aspect ratio */
    margin-top: 0;
    margin-bottom: 0;
    margin-right: 0;
    margin-left: 0;
    padding-top: 0;
    padding-right: 0;
    padding-left: 0;
    padding-bottom: 0;
}


/* Adjustments for smaller screens */

@media (max-width: 768px) {
    .image-item {
        flex: 1 0 50%; /* 2 images per row on medium screens */
        margin-top: 0;
        margin-bottom: 0;
        margin-right: 0;
        margin-left: 0;
        padding-top: 0;
        padding-right: 0;
        padding-left: 0;
        padding-bottom: 0;
    }
}

@media (max-width: 576px) {
    .image-item {
        flex: 1 0 100%; /* 1 image per row on small screens */
        margin-top: 0;
        margin-bottom: 0;
        margin-right: 0;
        margin-left: 0;
        padding-top: 0;
        padding-right: 0;
        padding-left: 0;
        padding-bottom: 0;
    }

    .image-item img {
        display: block; /* Remove space below images */
        width: 100%; /* Ensure image takes full width of its container */
        height: auto; /* Maintain aspect ratio */
        margin-top: 0;
        margin-bottom: 0;
        margin-right: 0;
        margin-left: 0;
        padding-top: 0;
        padding-right: 0;
        padding-left: 0;
        padding-bottom: 0;
    }
}






