@charset "utf-8";

/* Section Background */
.library-section {
    background: url(../../include/image/Library.jpg) center/cover no-repeat; /* optional image */
    position: relative;
    overflow: hidden;
}

/* 🔥 Blur overlay */
.library-section::before {
    content: "";
    position: absolute;
    inset: 0;
    backdrop-filter: blur(4px);
    background: rgba(0, 0, 0, 0.3); /* dark overlay */
    z-index: 1;
}

/* Content wrapper fix */
.library-section .container-fluid {
    position: relative;
    z-index: 2;
}

/* Right purple panel (GLASS EFFECT) */
.library-content {
    background: rgba(47, 42, 85, 0.75); /* transparent */
    color: #fff;
    padding: 50px;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
    
    /* 🔥 Glass effect */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

/* Image styling */
.library-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Heading */
.library-content h2 {
    font-weight: 700;
}

/* Button */
.btn-orange {
    background: #f47c20;
    color: #fff;
    border: none;
}
.btn-orange:hover {
    background: #d86612;
}

/* 📱 MOBILE FIX */
@media (max-width: 768px) {
    .library-content {
        clip-path: none;
        padding: 25px;
        text-align: center;
    }
}