/* ==== BUTTONS ==== */
.btn-info-nan {
    color: #000;
    background-color: #ffb300;
    border: none;
    text-decoration: none;
    font-weight: 400;
    border-radius: 20px;
    padding: 15px 30px;
    position: relative;
    transition: 0.3s all ease;
}

.btn-info-nan:hover,
.btn-info-nan a:hover {
    color: #fff;
    background-color: #596d71;
    border-radius: 10px;
}

/* ==== HEADINGS AND FORM ==== */
h1 {
    color: #333;
    font-size: 24px;
    text-align: center;
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

input[type="submit"] {
    background-color: #4caf50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s ease;
}

input[type="submit"]:hover {
    background-color: #45a049;
}

/* ==== CUSTOM SPINNERS & BROWSER COMPAT ==== */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

/* ==== LAYOUT ==== */
body {
    font-family: Arial, sans-serif;
}

.containern {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.column {
    flex: 25%;
    max-width: 25%;
    padding: 0 15px;
}

/* ==== CARDS ==== */
.card,
.card1 {
    background-color: #f9f9f9;
    padding: 16px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 0;
}

.card h3 {
    font-size: 36px;
    color: #333;
}

.card p {
    font-size: 18px;
}

/* Card variant */
.card1 {
    width: 92%;
    border-radius: 4px;
    padding: 26px 45px;
    margin: 12px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

/* Avatar */
.card-custom-avatar img {
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(10, 10, 10, 0.3);
    position: absolute;
    top: 150px;
    left: 1.25rem;
    width: 100px;
    height: 100px;
}

.card-header {
    padding: 0.75rem 1.25rem;
    background-color: rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

/* ==== NAV & SLIDER ==== */
.menu-bg-wrap {
    background-color: #0066cc;
    margin-left: -3%;
    width: 106%;
}

.slider-container {
    border-top: 0.5px solid #a2b2c9;
    border-bottom: 0.5px solid #a2b2c9;
    overflow: hidden;
    width: 100%;
    padding: 0;
}

.slider-row {
    position: fixed;
    bottom: 0;
    z-index: 1111;
    height: 45px;
    animation: scroll 50s linear infinite;
    white-space: nowrap;
    background-color: yellow;
    color: red;
}

.slider-span {
    display: inline-block;
    font-size: 20px;
    line-height: 45px;
    margin-right: 0.5%;
    text-transform: uppercase;
    color: red;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-40%);
    }
}

/* ==== MODALS ==== */
.modal,
.overlay {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 9998;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    animation: fadeIn 0.5s;
}

.iti--allow-dropdown input,
.iti--allow-dropdown input[type=tel],
.iti--allow-dropdown input[type=text],
.iti--separate-dial-code input,
.iti--separate-dial-code input[type=tel],
.iti--separate-dial-code input[type=text] {
    padding-right: 6px;
    padding-left: 95px !important;
    margin-left: 0;
}

.ccccc {
    background-color: #0066cc;
    color: white;
    padding: 20px;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
}

.modal-content {
    margin: 4% auto;
    padding: 20px;
    border: none;
    border-radius: 10px;
    width: 100%;
    max-width: 700px;
    background-color: rgba(255, 255, 255, 0);
    animation: slideDown 0.5s;
    text-align: end;
}

@keyframes slideDown {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.close {
    color: #aaa;
    float: left;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: black;
}

.hide {
    animation: fadeOut 0.5s;
}


@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}
#toTopBtn{
    display: none !important;
}

/* ==== HERO SECTION ==== */
.img {
    height: 80vh;
    background:
        linear-gradient(rgba(0, 0, 0, 0.589), rgba(0, 0, 0, 0.516)),
        /* Overlay */
        url(https://iop.liba.edu/libaimage/landingpageimage.webp) center / 100% no-repeat,
        #123456;
    /* Replace with your desired background color */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 6%;
}

@media (max-width: 768px) {
    .img {
        padding: 0 !important;
        background-color: #123456;
        background-image:
            linear-gradient(rgba(0, 0, 0, 0.589), rgba(0, 0, 0, 0.516)),
            url('https://iop.liba.edu/libaimage/moblinelanding.webp');
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
    }


    .ccccc {
        padding: 20px !important;
        border-radius: none;
    }

    .form-control {
        font-size: 16px;
        line-height: 1.5 !important;
        padding-left: 15px;
        padding-right: 15px;
        height: 35px !important;
    }
}

.ccccc {
    padding: 20px !important;
}

.img h3,
.img h5 {
    color: white;
    text-shadow: 2px 2px 4px #000;
    padding: 10px 5%;
}

.form-check {
    display: flex;
}

.img h3 {
    font-size: 30px;
}

.img h5 {
    font-size: 20px;
}

/* ==== POPUP ==== */
.popup {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    border: 1px solid #455A64;
    padding: 5px;
    border-radius: 25px;
    box-shadow: 1px 6px 20px 10px rgba(2, 2, 2, 0.2);
}

.popup input,
.popup select {
    width: 450px;
    padding: 15px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 14px;
}

.popup input[type="submit"] {
    background-color: #333;
    color: white;
    font-size: 16px;
    display: block;
    margin: 0 auto;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 10px;
}

/* ==== LOADER ==== */
.loader_outer {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    position: fixed;
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.5s ease-in-out;
}

.loader {
    width: 70px;
    height: 70px;
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

@keyframes spin {
    0% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ==== RESPONSIVE MEDIA QUERIES ==== */
@media (max-width: 600px) {
    #df-btn-cont {
        display: none !important;
    }

    .navbar-brand {
        padding: 0.3125rem 0;
        font-size: 1.25rem;
        white-space: nowrap;
        margin-right: -1rem;
    }

    .modal-content {
        width: 100%;
        max-width: 300px;
    }
    .modal-content h5 {
        font-size: 15px !important;
    }
    .modal-content a {
        color: #00204a;
        font-size: 10px;
        text-decoration: underline;
    }
    .modal-content label{
        font-size: 10px !important; 
        margin-left: 20px !important;
        margin-top: 10px;
    }



    .img h3 {
        font-size: 25px;
    }

    .img h5 {
        font-size: 15px !important;
    }

    .img-fluid {
        width: 15%;
        margin-top: 10px;
    }

    .imgpromotion {
        width: 100%;
    }
}

.imgpromotion {
    width: 80%;
}