@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&display=swap');

/* start: Global */
/* body {
    font-family: 'Outfit', sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
} */
/* end: Global */



/* start: Slider */
.wrapper {
    position: relative;
    max-width: 100%;
    width: 100%;
}
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background-color: rgba(0, 0, 0, .5);
    font-size: 20px;
    cursor: pointer;
    border: none;
    outline: none;
}
.arrow:hover {
    background-color: rgba(0, 0, 0, .7);
}
.arrow.prev {
    left: 0;
}
.arrow.next {
    right: 0;
}
.card-wrapper {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% / 4) - 12px);
    overflow-x: auto;
    padding: 24px;
    gap: 24px;
    cursor: grab;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 24px;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.card-wrapper::-webkit-scrollbar {
    display: none;
}
.card-wrapper.grab {
    cursor: grabbing;
    user-select: none;
    scroll-snap-type: none;
    scroll-behavior: auto;
}
.card-wrapper.no-smooth {
    scroll-behavior: auto;
}
.card-item {
    scroll-snap-align: start;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 8px 8px 24px rgba(0, 0, 0, .1);
}
.card-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
/* .card-info {
    padding: 16px;
} */
.card-title {
    font-weight: 600;
    margin-bottom: 10px;
    display: inline-block;
    font-size: 20px;
    text-decoration: none;
    color: #222;
}
.card-title:hover {
    color: #006aff;
}
.card-description {
    color: #888;
}
/* end: Slider */


.bg-mission {
    position: relative;
    background: url('/img/1.jpg') no-repeat center center;
    background-color: black;
    background-size: cover;
    min-height: 300px;
   
    color: white; /* Optional: For text content */
    overflow: hidden; /* Ensure no overflow */
}

.bg-mission::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Adjust the opacity for desired dull effect */
    z-index: 1;
}

.bg-mission * {
    position: relative;
    z-index: 2; /* Ensure text or content appears above the overlay */
}

.bg-vision {
    position: relative;
    background: url('/img/4.jpeg') no-repeat center center;
    background-color: black;
    background-size: cover;
    min-height: 300px;
   
    color: white; /* Optional: For text content */
    overflow: hidden; /* Ensure no overflow */
}

.bg-vision::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Adjust the opacity for desired dull effect */
    z-index: 1;
}

.bg-vision * {
    position: relative;
    z-index: 2; /* Ensure text or content appears above the overlay */
}



@media screen and (max-width: 575px) {
    .arrow {
        display: none;
    }
    .card-wrapper {
        margin-left: -16px;
        width: 100vw;
        grid-auto-columns: 100%;
    }
}