/* --- Library Page Specific Styles --- */
#library {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

#library::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../assets/librarybg.avif);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: blur(2px);
    z-index: -2;
}

#library::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Frosted Glass Hero Section */
.frosted-glass-hero {
    position: relative;
    padding: 4rem 3rem;
    border-radius: 25px;
    margin-bottom: 3rem;
    overflow: hidden;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(180, 180, 180, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.frosted-glass-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg, 
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0.1) 100%
    );
    z-index: -1;
}

.hero-title {
    color: #ffffff;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.8),
        0 4px 8px rgba(0, 0, 0, 0.5),
        0 8px 16px rgba(0, 0, 0, 0.3);
    font-weight: 800;
    margin-bottom: 1.5rem;
    font-size: 3.5rem;
}

.hero-divider {
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    border-radius: 2px;
    margin: 0 auto 2rem auto;
}

.hero-description {
    color: #ffffff;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    text-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.6),
        0 2px 4px rgba(0, 0, 0, 0.4),
        0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Key Points List Styling */
.key-points-list {
    text-align: left;
    max-width: 700px;
    margin: 0 auto;
}

.key-point-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.2rem;
    padding: 0.8rem 0;
    font-size: 1rem;
    color: #ffffff;
    text-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.7),
        0 2px 4px rgba(0, 0, 0, 0.4);
}

.key-point-item i {
    color: #0063cd;
    font-size: 1.2rem;
    margin-right: 1rem;
    min-width: 20px;
    text-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.8),
        0 2px 4px rgba(0, 0, 0, 0.5);
}

.key-point-item span {
    flex: 1;
    line-height: 1.5;
    font-weight: 400;
    text-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.6),
        0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Frosted Glass Card Styling */
.frosted-glass-card {
    position: relative;
    padding: 3rem 2.5rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(15px);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.frosted-glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg, 
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0.1) 100%
    );
    z-index: -1;
}

.frosted-glass-card .card-header h3 {
    color: #ffffff;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.6),
        0 4px 8px rgba(0, 0, 0, 0.3);
}

.frosted-glass-card .card-header i {
    color: #0063cd;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.6),
        0 4px 8px rgba(0, 0, 0, 0.3);
}

.frosted-glass-card .philosophy-content h4 {
    color: #ffffff;
    text-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.6),
        0 2px 4px rgba(0, 0, 0, 0.3);
}

.frosted-glass-card .philosophy-content .lead {
    color: #ffffff;
    text-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.5),
        0 2px 4px rgba(0, 0, 0, 0.2);
}

.frosted-glass-card .quotes-section .blockquote p {
    color: #ffffff;
    text-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.6),
        0 2px 4px rgba(0, 0, 0, 0.3);
}

.frosted-glass-card .quotes-section .blockquote-footer {
    color: #0063cd;
    text-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.5);
}

.frosted-glass-card .quotes-section .blockquote {
    background: rgba(255, 255, 255, 0.1);
    border-left-color: #0063cd;
    backdrop-filter: blur(5px);
}

/* Philosophy Content */
.philosophy-content h4 {
    color: #0063cd;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.philosophy-content .lead {
    color: #495057;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Quotes Section */
.quotes-section h4 {
    color: #0063cd;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.quotes-section .blockquote {
    border-left: 4px solid #0063cd;
    padding-left: 1.5rem;
    margin: 2rem 0;
    background: rgba(0, 123, 255, 0.05);
    border-radius: 0 10px 10px 0;
    padding: 1.5rem;
}

.quotes-section .blockquote p {
    font-size: 1.2rem;
    color: #2c3e50;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.quotes-section .blockquote-footer {
    color: #0063cd;
    font-weight: 600;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .frosted-glass-hero {
        padding: 2.5rem 1.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .key-points-list {
        max-width: 100%;
    }
    
    .key-point-item {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        padding: 0.6rem 0;
    }
    
    .key-point-item i {
        font-size: 1.1rem;
        margin-right: 0.8rem;
    }
    
    .philosophy-content .lead {
        font-size: 1rem;
    }
    
    .quotes-section .blockquote p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .frosted-glass-hero {
        padding: 2rem 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
}
