body {
    margin: 0;
    overflow: hidden;
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    position: relative;
    width: 140px; /* Adjusted to 140px as per your request */
    height: 140px;
    border-radius: 50%;
    overflow: visible; 
}

.spinner {
    content: "";
    position: absolute;
    top: 45%;
    left: 45%;
    width: 120px; /* 140px minus 20px for the borders */
    height: 120px; 
    margin-top: -60px;  /* Half of the width */
    margin-left: -60px; /* Half of the height */
    border-radius: 50%;
    border: 10px solid transparent;
    border-top-color: #d5b276; /* Spinner color */
    animation: spin 1s linear infinite; /* Spinner animation */
}

.loader img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 1.5s infinite alternate; /* Pulsing animation */
    z-index: 1; /* Make sure the image is over the spinner */
}

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

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        transform: translate(-50%, -50%) scale(1.1);
    }
}
