﻿
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    z-index: 9999;
}
/* Modal content */
.modal-content {
    margin: 0 auto;
    padding: 0; /* Remove padding for clean look */
    border: none; /* Remove border */
    width: 80%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Close button container */
.close-box {
    position: absolute;
    top: 0px; /* Adjust as needed */
    right: 0px; /* Adjust as needed */
    background-color: #f1f1f1; /* Box background color */
    padding: 0px; /* Space inside the box */
    border: 1px solid #ccc; /* Box border */
    border-radius: 4px; /* Rounded corners */
}

/* Close button */
.close {
    margin-bottom: -25px;
    margin-top: -25px;
    font-size: 50px; /* Make the button bigger */
    color: black;
    font-weight: bold;
    cursor: pointer;
    background-color: transparent; /* No background color */
    border: none; /* No border */
}

    .close:hover, .close:focus {
        color: #fff; /* Subtle hover effect */
        text-decoration: none;
    }




.numCounter {
    height: 65px !important;
    color: white !important;
}

/* Default: Desktop View */
.desktop-bg {
    display: block;
}

.mobile-bg {
    display: none;
}

/* Mobile View: Change Background */
@@media (max-width: 767px) {
    .masthead__bg {
        /* background-image: url('/assets_knowle/img/home-1/hero/bg-m1.jpg'); /* Change Image */

        background-size: cover;
        background-position: center;
        height: 100%;
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
        color: red;
    }

    .desktop-bg {
        display: none;
    }

    .mobile-bg {
        display: block;
        width: 100%;
        height: auto;
    }

    .swiper-container {
        margin-left: -32px;
    }

    .masthead {
        margin-top: -10px;
    }

    .rightpaddingmarginzero {
        padding-right: 0 !important;
    }

    .paddingrightzero {
        padding-right: 0;
    }

    .margintop {
        margin-top: -30px !important;
    }
}
/* Custom styles for Swiper pagination */
.swiper-pagination {
    position: absolute;
    bottom: 0px; /* Adjust as needed */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: #ccc; /* Inactive bullet color */
    opacity: 1;
    margin: 0 8px !important; /* Space between bullets */
}

.swiper-pagination-bullet-active {
    background-color: #007aff; /* Active bullet color */
}

