@font-face {
    font-family: "Poppins Regular";
    src: url("../fonts/Poppins/Poppins-Regular.ttf");
}



@font-face {
    font-family: "Poppins Extra Bold";
    src: url("../fonts/Poppins/Poppins-ExtraBold.ttf");
}

@font-face {
    font-family: "Poppins Medium";
    src: url("../fonts/Poppins/Poppins-Medium.ttf");
}

/* Splash screen */
#splash-screen {
    position: fixed;
    inset: 0;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 1;
    transition: opacity 0.8s ease;
}

#splash-screen.hide {
    opacity: 0;
    pointer-events: none;
}

/* Splash logo */
.splash-logo {
    width: 128px;
    height: 128px;
    animation: zoomIn 1.5s ease forwards;
}

@keyframes zoomIn {
    0% { transform: scale(0.7); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* Loader */
#page-loader {
    position: fixed;
    inset: 0;
    background: #ffffff;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.5s ease;
}

#page-loader.show {
    display: flex;
    opacity: 1;
}

.loader-logo {
    width: 96px;
    height: 96px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

#page-loader {
    position: fixed;
    inset: 0; /* shorthand for top:0; right:0; bottom:0; left:0 */
    background: #ffffff;
    display: none; /* hidden by default */
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.5s ease;
}

#page-loader.show {
    display: flex;
    opacity: 1;
}

.loader-logo {
    width: 96px;   /* same as w-24 in Tailwind */
    height: 96px;
    animation: pulse 1.5s infinite;
}

/* simple pulse animation */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

html{
    scroll-behavior: smooth;
}

body{
    font-family: "Poppins Regular";
    color: #1A1A1A;
}

.bg-blue{
    background-color: blue;
}

.gray-text{
    color: #8D8D8D;
}

.yus-red-text{
    color: #FF2828;
}

.image-container{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Adjust height as needed */
    background-image: url("../images/splash_screen_bg.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
  
.centered-image{
    max-width: 30%; /* Ensure the image doesn't exceed its container */
    max-height: 30%; /* Ensure the image doesn't exceed its container */
}

#loginContainer{
    padding: 7%;
    height: 100vh;
}

#onBoardingOne, #onBoardingTwo, #onBoardingThree{
    padding: 5%;
    flex-direction: column;
    height: 100vh; /* Set container height to 100% of viewport height */
}

.content{
    flex: 1; /* Make the content div grow to fill the remaining space */
}

.giwa-submit-btn{
    padding: 4% 5%;
    border-radius: 20px;
    width: 100%;
}

.giwa-input-box{
    border: 1px solid #f2e9e9;
    padding-left: 4%;
    padding-right: 4%;
    width: 100%;
    height: 50px;
    background-color: #fff;
    font-size: 90%;
    border-radius: 5px;
}

.giwa-select-box{
    width: 100%;
    height: 40px;
    border-bottom: 2px solid #f2e9e9;
    margin-bottom: 2%;
    padding-left: 2%;
    padding-right: 2%;
}

.giwa-select-box:focus, .giwa-input-box:focus{
    outline: none;
}

.giwa-blue-bg{
    background-color: #1e3a8a;
}

.giwa-black-bg{
    background-color: #0e1731;
}

.giwa-white-bg{
    background-color: #fff;
}

.giwa-white-bg-sub{
    background-color: #ddd;
}

.giwa-green-bg{
    background-color: #198754;
}

.giwa-blue-text{
    color: #1e3a8a;
}

.dashboard-bg{
    background-color: #FFF;
}

.giwa-gray-bg{
    background-color: #f8f8f8;
    border-radius: 8px;
}

.loader{
    border: 16px solid #f3f3f3;
    border-top: 16px solid #1e3a8a;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    animation: spin 2s linear infinite;
    margin: 0 auto;
    display: none;
}
 
@keyframes spin {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
}

.yus-border-bottom{
    border-bottom: 1px solid #eee;
}

.yus-border-top{
    border-top: 1px solid #eee;
}

@media only screen and (max-width:768px)
{
    
    #nav-bottom{
        position: fixed;
        width: 100%;
        left: 0px;
        bottom: 0px;
        background: #f8f8f8;
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.12);
        z-index: 200;
        color: #1A1A1A;
    }

    .yus_icons_center{
        margin: 3px auto;
    }

}