/* Skeleton Loader Styles */
.page-skeleton {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 9999;
    padding-top: 20px;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.page-skeleton.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Shimmer Animation */
.skeleton-box {
    background: #f0f0f0;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Structure mimicry */
.skeleton-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    height: 60px;
    margin-bottom: 40px;
}

.skeleton-logo {
    width: 120px;
    height: 30px;
}

.skeleton-menu {
    display: flex;
    gap: 20px;
}

.skeleton-menu-item {
    width: 80px;
    height: 20px;
}

.skeleton-hero {
    display: flex;
    align-items: center;
    padding: 0 15px;
}

.skeleton-hero-text {
    flex: 1;
    padding-right: 50px;
}

.skeleton-title {
    width: 80%;
    height: 60px;
    margin-bottom: 20px;
}

.skeleton-subtitle {
    width: 60%;
    height: 24px;
    margin-bottom: 40px;
}

.skeleton-btn-group {
    display: flex;
    gap: 20px;
}

.skeleton-btn {
    width: 150px;
    height: 45px;
    border-radius: 6px;
}

.skeleton-hero-img {
    flex: 1;
    height: 400px;
    border-radius: 12px;
}

@media (max-width: 991px) {
    .skeleton-menu {
        display: none;
    }

    .skeleton-hero {
        flex-direction: column;
    }

    .skeleton-hero-text {
        text-align: center;
        padding-right: 0;
        margin-bottom: 40px;
    }

    .skeleton-title,
    .skeleton-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .skeleton-btn-group {
        justify-content: center;
    }

    .skeleton-hero-img {
        width: 100%;
        height: 300px;
    }
}