/* Full screen loader background */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Loader container */
.loader {
    position: relative;
    text-align: center;
}

/* Main text (Jug effect) */
.loader-logo {
    font-size: 4.5rem; /* Desktop */
    font-weight: bold;
    font-family: Arial, sans-serif;
    text-transform: uppercase;
    color: silver;
    position: relative;
    display: inline-block;
}

/* Creating the fill effect */
.loader-logo::before {
    content: "Irtiqa Designs";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    color: #007bff;
    overflow: hidden;
    clip-path: inset(100% 0 0 0); /* Start fully hidden */
    transition: clip-path 2.5s ease-in-out;
}

/* Trigger the fill effect */
.fill-effect::before {
    clip-path: inset(0 0 0 0); /* Reveal from bottom to top */
}

/* Fade out loader */
.loaded .loader-wrapper {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .loader-logo {
        font-size: 2.5rem;
    }
}
