/* ==================== Variables ==================== */
:root {
    --primary-color: #1565C0;      /* Deep Blue  — 30% */
    --secondary-color: #1976D2;    /* Medium Blue — hover/depth */
    --accent-color: #E8660D;       /* Orange      — 10% CTA */
    --dark-color: #0D2137;         /* Dark Navy   — footer/top-bar */
    --light-color: #F5F7FA;        /* Light Gray  — 60% base */
    --text-color: #1A2B3C;         /* Deep Slate */
    --text-light: #5C7080;         /* Muted Blue-Gray */
    --border-color: #D0DCE8;       /* Soft Blue-Gray Border */
    --success-color: #2E7D32;      /* Green — results/success */
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Poppins', sans-serif;
}

/* ==================== Global Styles ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

.main-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--heading-font);
    font-weight: 600;
    line-height: 1.3;
    color: var(--dark-color);
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* ==================== Top Bar ==================== */
.top-bar {
    background: var(--dark-color);
    color: white;
    padding: 8px 0;
    font-size: 13px;
}

.contact-info {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.contact-info span {
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.contact-info i {
    color: var(--accent-color);
}

.social-links {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.social-links a {
    color: white;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.social-links a:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

/* ==================== Navigation ==================== */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: var(--heading-font);
    font-size: clamp(1rem, 1.2vw + 0.5rem, 1.35rem);
    font-weight: 700;
    color: var(--dark-color) !important;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.logo-img {
    height: 45px;
    width: auto;
    transition: all 0.3s ease;
}

.logo-icon {
    background: var(--primary-color);
    color: white;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 1.2rem;
}

.logo-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    padding: 0.5rem 0.75rem !important;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 10px 0;
    margin-top: 10px;
}

.dropdown-item {
    padding: 10px 20px;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: var(--primary-color);
    color: white;
}

.btn-enroll {
    background: var(--accent-color);
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    color: white !important;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(232, 102, 13, 0.35);
    white-space: nowrap;
}

.btn-enroll:hover {
    background: #cf5a0a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 102, 13, 0.45);
    color: white !important;
}

/* ==================== Sticky Sidebar Enroll Button ==================== */
.sidebar-enroll-btn {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background: var(--accent-color);
    color: white !important;
    padding: 15px 12px;
    border-radius: 15px 0 0 15px;
    box-shadow: -4px 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    letter-spacing: 1px;
}

.sidebar-enroll-btn i {
    transform: rotate(90deg);
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.sidebar-enroll-btn:hover {
    right: 0;
    padding-right: 20px;
    box-shadow: -6px 6px 20px rgba(0, 0, 0, 0.3);
}

/* ==================== Hero Section ==================== */
.hero-section {
    min-height: 90vh;
    background: linear-gradient(160deg, rgba(13, 33, 55, 0.93) 0%, rgba(21, 101, 192, 0.82) 100%),
        url('https://images.unsplash.com/photo-1517694712202-14dd9538aa97?w=1200') center/cover;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 50%, rgba(232, 102, 13, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons .btn {
    margin: 0 10px 10px 0;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-light-custom {
    background: white;
    color: var(--primary-color);
    border: 2px solid white;
}

.btn-light-custom:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.25);
}

.btn-outline-light-custom {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-outline-light-custom:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.25);
}

/* ==================== Features Section ==================== */
.features-section {
    padding: 80px 0;
    background: var(--light-color);
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 35px rgba(21, 101, 192, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 2rem;
}

.feature-card h4 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.feature-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* ==================== Classes Section ==================== */
.classes-section {
    padding: 80px 0;
}

.class-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: white;
    height: 100%;
}

.class-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 35px rgba(21, 101, 192, 0.15);
}

.class-card-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.class-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--accent-color);
    color: white;
    padding: 0 4px;
    border-radius: 20px;
    font-size: 0.45rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1.4;
}

.class-card-body {
    padding: 25px;
}

.class-card-body h4 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.class-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.class-meta span i {
    color: var(--primary-color);
    margin-right: 5px;
}

.class-card-body p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.btn-primary-custom {
    background: var(--primary-color);
    border: none;
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(21, 101, 192, 0.3);
}

/* ==================== Testimonials Section ==================== */
.testimonials-section {
    padding: 80px 0;
    background: var(--light-color);
}

.testimonial-card {
    background: white;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    text-align: center;
    height: 100%;
}

.testimonial-image {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-color);
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.testimonial-role {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.stars {
    color: #FFD700;
    margin-bottom: 15px;
}

/* ==================== Footer ==================== */
.footer {
    background: var(--dark-color);
    color: rgba(255, 255, 255, 0.8);
}

.footer-top {
    padding: 60px 0 30px;
}

.footer-title {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-text {
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    gap: 12px;
}

.footer-contact i {
    color: var(--accent-color);
    margin-top: 3px;
}

.footer-bottom {
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.footer-bottom-links li {
    display: inline;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--accent-color);
}

/* ==================== Back to Top Button ==================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(232, 102, 13, 0.35);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(232, 102, 13, 0.5);
    background: #cf5a0a;
}

/* ==================== Lazy Loading & Shimmer ==================== */
.lazy-img-container {
    position: relative;
    overflow: hidden;
    background: #f0f0f0;
}

.lazy-img-container::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    background-image: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0,
            rgba(255, 255, 255, 0.2) 20%,
            rgba(255, 255, 255, 0.5) 60%,
            rgba(255, 255, 255, 0));
    animation: shimmer 2s infinite;
}

.lazy-img-container.loaded::after {
    display: none;
}

.lazy-img-container img {
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.lazy-img-container.loaded img {
    opacity: 1;
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

/* ==================== Image Decorations ==================== */
.img-decoration-wrapper {
    position: relative;
    padding: 12px;
    display: table;
    margin: 0 auto;
}

.img-decoration-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 70px;
    height: 70px;
    border-top: 5px solid var(--accent-color);
    border-left: 5px solid var(--accent-color);
    border-top-left-radius: 20px;
    z-index: 2;
}

.img-decoration-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 70px;
    height: 70px;
    border-bottom: 5px solid var(--primary-color);
    border-right: 5px solid var(--primary-color);
    border-bottom-right-radius: 20px;
    z-index: 2;
}

.img-decoration-wrapper .lazy-img-container {
    z-index: 1;
}

/* ==================== Page Header ==================== */
.page-header {
    padding: 100px 0 60px;
    background: linear-gradient(160deg, rgba(13, 33, 55, 0.93) 0%, rgba(21, 101, 192, 0.82) 100%),
        url('https://images.unsplash.com/photo-1504609773096-104ff2c73ba4?w=1200') center/cover;
    color: white;
    text-align: center;
}

.page-header h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 15px;
}

.breadcrumb {
    background: transparent;
    justify-content: center;
    margin-bottom: 0;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item.active {
    color: white;
}

/* ==================== Contact Page ==================== */
.contact-info-box {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.contact-info-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 35px rgba(21, 101, 192, 0.15);
}

.contact-info-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.8rem;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.form-control {
    border: 2px solid var(--border-color);
    padding: 12px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(21, 101, 192, 0.12);
}

/* ==================== Gallery Page ==================== */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 30px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 33, 55, 0.82);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: white;
    font-size: 2.5rem;
}

/* ==================== Faculty Page ==================== */
.faculty-card {
    text-align: center;
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.faculty-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 35px rgba(21, 101, 192, 0.15);
}

.faculty-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--light-color);
}

.faculty-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.faculty-name {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.faculty-title {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 500;
}

/* ==================== Responsive Design ==================== */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .nav-link {
        padding: 0.8rem 1rem !important;
    }

    .btn-enroll {
        margin-top: 10px;
    }

    .footer-bottom-links {
        margin-top: 15px;
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .sidebar-enroll-btn {
        display: flex;
        padding: 12px 8px;
        font-size: 0.9rem;
    }


    .sidebar-enroll-btn:hover {
        padding-right: 15px;
    }

    .back-to-top {
        bottom: 90px;
        /* Make room for the central floating button */
        right: 15px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 575px) {
    .navbar-brand {
        font-size: 1.1rem;
    }

    .logo-img {
        height: 38px;
    }

    .hero-section {
        min-height: 70vh;
    }

    .features-section,
    .classes-section,
    .testimonials-section {
        padding: 50px 0;
    }

    /* Very small screens: phone & email each on own line */
    .contact-info {
        flex-direction: column;
        gap: 4px;
    }

    .top-bar {
        font-size: 12px;
    }
}

/* ==================== Footer Credit ==================== */
.footer-bottom-links .credit-link {
    color: var(--accent-color);
}

.footer-bottom-links .credit-link:hover {
    color: white;
}

/* ==================== Documents Page Upgrade ==================== */
.card-hover-effect {
    transition: all 0.3s ease;
    border-radius: 12px !important;
}

.card-hover-effect:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(21, 101, 192, 0.12) !important;
    border-color: var(--primary-color) !important;
}

.badge-accent {
    background-color: var(--accent-color) !important;
    color: white;
}

.pulse-animation {
    animation: pulse-theme 2s infinite;
}

@keyframes pulse-theme {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(232, 102, 13, 0.6); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 6px rgba(232, 102, 13, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(232, 102, 13, 0); }
}

/* Accordion Upgrade */
#documentsAccordion .accordion-item {
    border-radius: 12px;
    overflow: hidden;
}

#documentsAccordion .accordion-button {
    transition: all 0.3s ease;
}

#documentsAccordion .accordion-button:not(.collapsed) {
    background: rgba(21, 101, 192, 0.06) !important;
    color: var(--primary-color) !important;
    box-shadow: none;
}

#documentsAccordion .accordion-button:not(.collapsed) i {
    color: var(--primary-color) !important;
}

/* Documents Button Upgrade */
.btn-outline-primary-custom {
    color: var(--primary-color);
    border-color: var(--primary-color);
    border-width: 2px;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-primary-custom:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
    box-shadow: 0 5px 15px rgba(232, 102, 13, 0.3);
}

/* Premium Icon Container */
.doc-icon-container {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--light-color);
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.doc-icon-pdf { color: #e74c3c; }
.doc-icon-word { color: #3498db; }
.doc-icon-excel { color: #2ecc71; }
.doc-icon-powerpoint { color: #f39c12; }
.doc-icon-archive { color: #95a5a6; }
.doc-icon-image { color: #9b59b6; }
.doc-icon-default { color: var(--text-light); }

/* ==================== Pagination Branding ==================== */
.pagination .page-link {
    color: var(--primary-color);
    border-color: var(--border-color);
    border-radius: 8px;
    margin: 0 4px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.pagination .page-link:hover, 
.pagination .page-link:focus {
    background-color: var(--light-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
    box-shadow: none;
    transform: translateY(-2px);
}

.pagination .page-item.active .page-link {
    background: var(--primary-color);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 10px rgba(21, 101, 192, 0.25);
}

.pagination .page-item.disabled .page-link {
    color: #adb5bd;
    background-color: #f8f9fa;
    border-color: var(--border-color);
    transform: none;
    pointer-events: none;
}

/* ==================== Skeleton & Lazy Loading ==================== */
.lazy-img-container {
    position: relative;
    overflow: hidden;
    background-color: #f6f7f8;
}

.skeleton {
    background: #f6f7f8;
    background-image: linear-gradient(
        to right,
        #f6f7f8 0%,
        #e9ecef 20%,
        #f6f7f8 40%,
        #f6f7f8 100%
    );
    background-repeat: no-repeat;
    background-size: 800px 100%;
    animation: shimmer 1.5s infinite linear;
}

@keyframes shimmer {
    0% { background-position: -468px 0; }
    100% { background-position: 468px 0; }
}

.lazy-img-container img {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lazy-img-container img.loaded {
    opacity: 1;
}

.lazy-img-container.loaded {
    background-image: none !important;
}