/* Base swiper styling */
.swiper {
    width: 100%;
    height: 800px;
}

@media screen and (max-width: 2000px) {
    .swiper {
        height: 280px;
    }
}

@media screen and (min-width: 2001px) and (max-width: 4000px) {
    .swiper {
        height: 350px;
    }
}

/* Swiper navigation buttons */
.swiper-button-next,
.swiper-button-prev {
    background-color: white;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    border: 1px solid #c7c8c9;
    color: #333;
}

.swiper-pagination-bullet {
    width: 15px;
    height: 15px;
    background-color: #333;
    border: 1px solid #fff;
}

/* Hover effects for swiper buttons */
.swiper-button-next:after,
.swiper-rtl .swiper-button-prev:after,
.swiper-button-prev:after,
.swiper-rtl .swiper-button-next:after {
    font-size: smaller;
}

/* Column styles for responsive grids */
.column {
    float: left;
    padding: 10px;
    width: 20%;
    position: relative;
}

@media screen and (max-width: 1200px) {
    .column {
        width: 33.33%;
    }
}

/* Image hover effect inside the grid */
.column img {
    opacity: 1;
    cursor: pointer;
    width: 100%;
    height: auto;
    transition: opacity 0.3s ease-in-out;
}

.column img:hover {
    opacity: 0.75;
}

/* Clearing floats after columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}

/* The expanding image container */
.container {
    position: relative;
    display: none;
}

/* Text inside the expanded image */
#imgtext {
    position: absolute;
    bottom: 15px;
    left: 15px;
    color: white;
    font-size: 20px;
}

/* Close button for expanding image */
.closebtn {
    position: absolute;
    top: 10px;
    right: 15px;
    color: white;
    font-size: 35px;
    cursor: pointer;
}

/* Mouse hover effect */
.mouse {
    z-index: -1;
    position: absolute;
    top: -10px;
    width: 0px;
    height: 0px;
    background-image: url('../img/bg.jpg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    border-radius: 50%;
    pointer-events: none;
    background-color: black;
    opacity: 0;
    transition: width 0.25s ease, height 0.25s ease, margin 0.25s ease;
    margin-top: -125px;
    margin-left: -125px;
    overflow: hidden;
}

/* Card styling */
.card {
    border: none;
}

/* Column image wrapper with a fixed height */
.column .img-wrapper {
    height: 220px;
    width: 100%;
    background-size: cover !important;
}

@media screen and (min-width: 2250px) {
    .column .img-wrapper {
        height: 350px;
    }
}

/* Overlay effect */
.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .3s ease;
    background-color: #373e40;
    padding: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Hover effect to show overlay */
.column:hover .overlay,
.swiper-slide:hover .overlay {
    opacity: 0.75;
}

/* Icon inside the overlay */
.icon {
    color: white;
    font-size: 50px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

/* Hover effect on icon */
.fa-user:hover {
    color: #eee;
}
.form-control:focus {
    padding: 0.5rem 1rem;
    box-shadow: inset 0 0 0 0.125rem rgba(13, 110, 253, .25);
}