.font-serial {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    color: rgb(255, 255, 255);
    background-color: rgb(78 112 203);
    width: 35px;
    height: 35px;
    text-align: center;
}

.font-serial-shadow {
    width: 30px;
    height: 30px;
    box-shadow: 10px 10px;
}
.line_brake {
    width: 80%;
    height: 2px;
    background-color: rgb(74, 122, 211);
}
.backgroundColor {
    background-color: rgb(31, 84, 177);
    border-radius:5px
}
.top-left-form-header {
    height: 51px;
    width: 88%;
    margin: 2% 0 -19px 30px;
}
.top-left-form-header-sec {
    font-weight: bolder;
   /* height: 51px;*/
    display: flex;
    justify-content: center;
    align-items: center;
    /* text-align: center; */
    margin-bottom: 0px;
    margin-top: 0px;
    border-radius:5px;
}
/*form classes*/
.form-lable-style {
    width: 40%;
    /* height: 9px; */
    background-color: #246fa5;
    color: aliceblue;
    height: 33px;
    /* margin-top: 0px; */
    display: flex;
    /* justify-items: center; */
    /* justify-content: center; */
    align-items: center;
}
.form-input-style {
    height: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.button-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    gap: 20px;
}

.modal-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 320px;
    height: 100px;
    color: white;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.2s ease;
}

.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex; /* hidden by default with d-none */
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1050;
}

.custom-modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.custom-close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}
//btn pop
.custom-modal {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
}

.custom-modal-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    position: relative;
    max-width: 500px;
    width: 90%;
    text-align: center;
}

.custom-close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 30px;
    cursor: pointer;
}

.btn-bg-image,
.btn-bg-image-2 {
    display: inline-block;
    width: 450px;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: none;
    border-radius: 8px;
    margin-top: 15px;
    text-decoration: none;
}

.btn-bg-image {
    background-image: url('/img/popbtnImages/buttonpolacoltd.png');
}

.btn-bg-image-2 {
    background-image: url('/img/popbtnImages/buttonkingkaitori.png');
}

    .btn-bg-image:hover,
    .btn-bg-image-2:hover {
        transform: scale(1.03);
        opacity: 0.95;
    }

/* Responsive Styles */
@media (max-width: 768px) {
    .btn-bg-image,
    .btn-bg-image-2 {
        width: 350px;
        height: 160px;
    }
}

@media (max-width: 480px) {
    .btn-bg-image,
    .btn-bg-image-2 {
        width: 280px;
        height: 130px;
    }
}



/* Improve text visibility in nav on large screens */
@media (min-width: 992px) {
    #mainNav .nav-link {
        font-size: 1.1rem; /* Slightly larger text */
        font-weight: 600; /* Semi-bold */
        color: #003366 !important; /* Darker color for contrast */
        padding: 0.75rem 1.2rem; /* Better click area */
    }

        #mainNav .nav-link:hover {
            color: #0056b3 !important; /* Brighter on hover */
            background-color: rgba(0, 0, 0, 0.05); /* Light hover background */
            border-radius: 5px;
        }

    #mainNav i {
        font-size: 1.2rem;
        margin-right: 0.4rem;
    }
}
