/* Navigation Bar */
.navbar {
    background: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);
    padding: 1rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-logo {
    height: 32px;
    width: auto;
    border-radius: 6px;
    transition: transform 0.3s ease;
    max-width: 120px;
    object-fit: contain;
    flex-shrink: 0;
    min-width: auto;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-brand h1 {
    color: white;
    font-size: 1.5rem;
    margin: 0;
    font-weight: 600;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.nav-link.active {
    background: rgba(255, 255, 255, 0.3);
    font-weight: 600;
}

.admin-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.admin-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.admin-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.5);
    background: linear-gradient(135deg, #ee5a24 0%, #ff6b6b 100%);
}

.admin-btn:hover::before {
    left: 100%;
}

.admin-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 75%;
        max-width: 320px;
        background: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding-top: 80px;
        gap: 0;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
        z-index: 999;
        overflow-y: auto;
        display: flex;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        width: 100%;
        padding: 1.2rem 2rem;
        border-radius: 0;
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        display: block;
        font-size: 1rem;
        font-weight: 500;
        transition: all 0.3s ease;
    }

    .nav-link:hover {
        background: rgba(255, 255, 255, 0.15);
        transform: translateX(-5px);
        padding-left: 2.5rem;
    }

    .nav-link.active {
        background: rgba(255, 255, 255, 0.25);
        font-weight: 600;
        border-left: 4px solid white;
    }

    .admin-btn {
        margin: 1rem 2rem;
        width: calc(100% - 4rem);
    }

    .nav-brand h1 {
        font-size: 1.1rem;
    }

    /* Ensure menu toggle is always visible and accessible */
    .menu-toggle {
        position: relative;
        z-index: 1001;
    }

    .menu-toggle:hover span {
        background: rgba(255, 255, 255, 0.8);
    }

    .menu-toggle.active span {
        background: white;
    }

    /* Add overlay when menu is open */
    .nav-menu.active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
    }

    /* Improve touch targets for mobile */
    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .menu-toggle {
        min-width: 44px;
        min-height: 44px;
        justify-content: center;
    }
    
    .nav-menu {
        padding: 1rem 0;
    }
    
    .nav-link {
        padding: 0.8rem 1.5rem !important;
        font-size: 0.95rem !important;
        margin: 0.2rem 0;
    }
    
    .nav-brand h1 {
        font-size: 1.3rem !important;
    }
    
    .nav-link {
        padding: 0.6rem 1rem !important;
        font-size: 0.9rem !important;
        margin: 0.1rem 0;
    }
}

/* Extra small screens optimization */
@media (max-width: 480px) {
    .nav-menu {
        width: 85%;
        max-width: 280px;
    }

    .nav-link {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }

    .nav-link:hover {
        padding-left: 2rem;
    }

    .nav-brand h1 {
        font-size: 1rem;
    }

    .nav-container {
        padding: 0 0.5rem;
    }
}

/* Welcome Header */
.welcome-header {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9), rgba(118, 75, 162, 0.9)), url('../Images/Library image.jfif');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.welcome-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.welcome-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.welcome-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    color: #ffffff;
    line-height: 1.1;
}

.welcome-subtitle {
    font-size: 1.6rem;
    margin-bottom: 2.5rem;
    opacity: 1;
    color: #f8f9fa;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.welcome-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.2);
    padding: 2.5rem 3rem;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.stat-label {
    font-size: 1.2rem;
    opacity: 1;
    color: #f8f9fa;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Study Inspiration Section */
.study-inspiration-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 4rem;
}

.study-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.study-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.study-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.85) 0%, rgba(39, 174, 96, 0.85) 100%);
}

.study-content {
    text-align: center;
    color: white;
    z-index: 1;
    padding: 2rem;
    max-width: 800px;
}

.study-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.study-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
}

.study-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.study-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.study-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 0.5rem;
}

.study-label {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.study-cta-btn {
    display: inline-block;
    background: white;
    color: #27ae60;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.study-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Books Importance Section */
.books-importance-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 4rem;
}

.books-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.books-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.books-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.85) 0%, rgba(41, 128, 185, 0.85) 100%);
}

.books-content {
    text-align: center;
    color: white;
    z-index: 1;
    padding: 2rem;
    max-width: 900px;
}

.books-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.books-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
}

.books-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.books-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.books-feature:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.25);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-text {
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.books-cta-btn {
    display: inline-block;
    background: white;
    color: #3498db;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.books-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Learning Community Section */
.learning-community-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 4rem;
}

.community-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.community-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.community-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.85) 0%, rgba(142, 68, 173, 0.85) 100%);
}

.community-content {
    text-align: center;
    color: white;
    z-index: 1;
    padding: 2rem;
    max-width: 1000px;
}

.community-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.community-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
}

.community-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.15);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.25);
}

.benefit-icon {
    font-size: 2rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.benefit-content {
    text-align: left;
}

.benefit-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.benefit-content p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0;
    line-height: 1.5;
}

.community-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.community-btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.community-btn.primary {
    background: white;
    color: #9b59b6;
}

.community-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.community-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.community-btn.secondary:hover {
    background: white;
    color: #9b59b6;
    transform: translateY(-3px);
}

/* Knowledge Empowerment Section */
.knowledge-empowerment-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 4rem;
}

.empowerment-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.empowerment-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.empowerment-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(230, 126, 34, 0.85) 0%, rgba(211, 84, 0, 0.85) 100%);
}

.empowerment-content {
    text-align: center;
    color: white;
    z-index: 1;
    padding: 2rem;
    max-width: 1000px;
}

.empowerment-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.empowerment-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
}

.empowerment-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.pillar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    padding: 2rem 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.pillar-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.25);
}

.pillar-number {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pillar-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pillar-content p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0;
    line-height: 1.5;
}

.empowerment-cta-btn {
    display: inline-block;
    background: white;
    color: #e67e22;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.empowerment-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
    .study-content h2,
    .books-content h2,
    .community-content h2,
    .empowerment-content h2 {
        font-size: 2rem;
    }
    
    .study-stats {
        gap: 2rem;
    }
    
    .books-features,
    .community-benefits,
    .empowerment-pillars {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .community-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .study-number {
        font-size: 2rem;
    }
    
    .pillar-number {
        font-size: 1.5rem;
        width: 40px;
        height: 40px;
    }
}

/* Enhanced Footer Styling */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ecf0f1;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    border-top: 4px solid #3498db;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #3498db;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-section h4 {
    color: #ecf0f1;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ecf0f1;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: #3498db;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
    border-color: #3498db;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 0.25rem 0;
    position: relative;
}

.footer-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #3498db;
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: #3498db;
    transform: translateX(5px);
}

.footer-links a:hover::before {
    width: 100%;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 2rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: #95a5a6;
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-section h3,
    .footer-section h4 {
        text-align: center;
    }
    
    .footer-links a:hover {
        transform: none;
    }
}

/* Series Parts Styling */
.series-parts {
    padding: 2rem;
    text-align: center;
}

.series-parts h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 3rem;
    position: relative;
}

.series-parts h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.parts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.part-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.part-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: #667eea;
}

.part-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.part-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
}

.part-status {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.part-content {
    padding: 2rem;
}

.part-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.part-content p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.recording-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.duration,
.type,
.quality {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #495057;
    border: 1px solid #dee2e6;
}

.play-recording-btn {
    width: 100%;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    font-size: 1rem;
}

.play-recording-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #218838 0%, #1ea085 100%);
}

/* Audio Player Section */
.audio-player {
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    margin-bottom: 3rem;
}

.audio-player h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
}

.player-container {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.player-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.current-recording h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.current-recording p {
    color: #6c757d;
    font-size: 0.9rem;
}

.player-controls {
    display: flex;
    gap: 0.5rem;
}

.control-btn {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.control-btn.play-btn {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
}

.player-progress {
    margin-bottom: 2rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width: 0%;
    transition: width 0.3s ease;
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #6c757d;
}

.player-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.volume-control span {
    font-size: 1.2rem;
}

#volume-slider {
    width: 100px;
    height: 6px;
    border-radius: 3px;
    background: #e9ecef;
    outline: none;
    cursor: pointer;
}

.speed-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.speed-control label {
    font-weight: 600;
    color: #495057;
}

#playback-speed {
    padding: 0.5rem;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    background: white;
    cursor: pointer;
}

/* Responsive Design for Series Parts */
@media (max-width: 768px) {
    .series-parts {
        padding: 1rem;
    }
    
    .series-parts h2 {
        font-size: 2rem;
    }
    
    .parts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .player-display {
        flex-direction: column;
        text-align: center;
    }
    
    .player-options {
        flex-direction: column;
        align-items: center;
    }
    
    .recording-details {
        justify-content: center;
    }
}

/* Raym Box Index Card System */
.raym-box-index {
    padding: 2rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.index-header {
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out;
}

.index-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    position: relative;
    text-transform: capitalize;
}

.index-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.index-header p {
    font-size: 1.2rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.topic-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.topic-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out backwards;
}

.topic-card:nth-child(1) { animation-delay: 0.1s; }
.topic-card:nth-child(2) { animation-delay: 0.2s; }
.topic-card:nth-child(3) { animation-delay: 0.3s; }

.topic-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px 16px 0 0;
    transition: height 0.3s ease;
    pointer-events: none;
}

.topic-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: #667eea;
}

.topic-card:hover::before {
    height: 6px;
}

.topic-card[data-topic="coming-soon"]::before {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
}

.topic-card[data-topic="coming-soon"]:hover {
    border-color: #6c757d;
}

.topic-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    transition: transform 0.3s ease;
}

.topic-card:hover .topic-icon {
    transform: scale(1.1);
}

.topic-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    text-transform: capitalize;
}

.topic-content p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.topic-count {
    display: inline-block;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #495057;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.topic-card:hover .topic-count {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-2px);
}

.topic-arrow {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #667eea;
    font-weight: bold;
    transition: all 0.3s ease;
}

.topic-card:hover .topic-arrow {
    transform: translateY(-50%) translateX(8px);
    color: #764ba2;
}

/* Topic Detail Section */
.topic-detail {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.topic-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
    animation: fadeInUp 0.5s ease-out;
}

.back-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-size: 0.9rem;
}

.back-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.topic-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design for Index Cards */
@media (max-width: 768px) {
    .raym-box-index {
        padding: 1rem;
    }
    
    .index-header h2 {
        font-size: 2rem;
    }
    
    .index-header p {
        font-size: 1rem;
    }
    
    .topic-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .topic-card {
        padding: 1.5rem;
    }
    
    .topic-icon {
        font-size: 2.5rem;
    }
    
    .topic-content h3 {
        font-size: 1.3rem;
    }
    
    .topic-arrow {
        right: 1.5rem;
    }
    
    .topic-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .topic-header h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .raym-box-index {
        padding: 0.5rem;
    }
    
    .index-header {
        margin-bottom: 2rem;
    }
    
    .index-header h2 {
        font-size: 1.8rem;
    }
    
    .index-header p {
        font-size: 0.9rem;
    }
    
    .topic-cards-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .topic-card {
        padding: 1rem;
    }
    
    .topic-icon {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .topic-content h3 {
        font-size: 1.2rem;
    }
    
    .topic-content p {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
    }
    
    .topic-count {
        font-size: 0.75rem;
        padding: 0.25rem 0.6rem;
    }
    
    .topic-arrow {
        font-size: 1.2rem;
        right: 1rem;
    }
    
    .topic-detail {
        padding: 1rem;
    }
    
    .topic-header {
        margin-bottom: 1rem;
    }
    
    .topic-header h2 {
        font-size: 1.3rem;
    }
    
    .back-btn {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Ultra small screens for Raym Box */
@media (max-width: 360px) {
    .raym-box-index {
        padding: 0.3rem;
    }
    
    .index-header h2 {
        font-size: 1.6rem;
    }
    
    .index-header p {
        font-size: 0.85rem;
    }
    
    .topic-card {
        padding: 0.8rem;
    }
    
    .topic-icon {
        font-size: 1.8rem;
    }
    
    .topic-content h3 {
        font-size: 1.1rem;
    }
    
    .topic-content p {
        font-size: 0.8rem;
    }
    
    .topic-count {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }
    
    .topic-arrow {
        font-size: 1rem;
        right: 0.8rem;
    }
    
    .topic-detail {
        padding: 0.5rem;
    }
    
    .topic-header h2 {
        font-size: 1.2rem;
    }
    
    .back-btn {
        font-size: 0.8rem;
        padding: 0.3rem 0.7rem;
    }
}

/* Audio and Poetry Collections Mobile Responsiveness */
@media (max-width: 768px) {
    .audio-collection,
    .poetry-collection {
        padding: 0.8rem;
        max-height: 500px;
    }
    
    .audio-item,
    .poem-item {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .audio-item h4,
    .poem-header h4 {
        font-size: 1.2rem;
    }
    
    .poem-author {
        font-size: 0.9rem;
    }
    
    .poem-content {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .poem-line {
        margin: 0.6rem 0;
    }
}

@media (max-width: 480px) {
    .audio-collection,
    .poetry-collection {
        padding: 0.5rem;
        max-height: 400px;
    }
    
    .audio-item,
    .poem-item {
        padding: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .audio-item h4,
    .poem-header h4 {
        font-size: 1.1rem;
    }
    
    .poem-author {
        font-size: 0.85rem;
    }
    
    .poem-content {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .poem-line {
        margin: 0.5rem 0;
    }
    
    .poem-header {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 360px) {
    .audio-collection,
    .poetry-collection {
        padding: 0.3rem;
        max-height: 350px;
    }
    
    .audio-item,
    .poem-item {
        padding: 0.8rem;
        margin-bottom: 0.6rem;
    }
    
    .audio-item h4,
    .poem-header h4 {
        font-size: 1rem;
    }
    
    .poem-author {
        font-size: 0.8rem;
    }
    
    .poem-content {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .poem-line {
        margin: 0.4rem 0;
    }
}

/* Poetry Collection Styling */
.poetry-collection {
    margin: 2rem 0;
    max-height: 600px;
    overflow-y: auto;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.poem-item {
    margin-bottom: 2rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid #667eea;
}

.poem-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.poem-item:last-child {
    margin-bottom: 0;
}

.poem-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.poem-header h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.poem-author {
    font-size: 1rem;
    color: #6c757d;
    font-style: italic;
    margin: 0;
}

.poem-content {
    line-height: 1.8;
    color: #2c3e50;
    text-align: left;
    font-size: 1.05rem;
}

.poem-line {
    margin: 0.8rem 0;
    padding: 0.2rem 0;
    transition: all 0.3s ease;
}

.poem-line:hover {
    color: #667eea;
    transform: translateX(5px);
}

/* Responsive Design for Poetry Collection */
@media (max-width: 768px) {
    .poetry-collection {
        max-height: none;
        padding: 0.5rem;
    }
    
    .poem-item {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .poem-header h4 {
        font-size: 1.3rem;
    }
    
    .poem-content {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .poem-line {
        margin: 0.6rem 0;
    }
}

/* Audio Collection Styling */
.audio-collection {
    margin: 2rem 0;
    max-height: 600px;
    overflow-y: auto;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.audio-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.audio-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.audio-item:last-child {
    margin-bottom: 0;
}

.audio-item h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive Design for Audio Collection */
@media (max-width: 768px) {
    .audio-collection {
        max-height: none;
        padding: 0.5rem;
    }
    
    .audio-item {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .audio-item h4 {
        font-size: 1.1rem;
    }
}

/* Raym Box Page Styling */
.raym-box-intro {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin-bottom: 3rem;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.raym-box-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../Images/Studying 3.jfif');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: 0;
}

.intro-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.intro-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.intro-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
}

.intro-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.25);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-text {
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Music Series Showcase */
.music-series-showcase {
    padding: 2rem;
    text-align: center;
}

.music-series-showcase h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 3rem;
    position: relative;
}

.music-series-showcase h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.music-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.music-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.music-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.music-card.featured-series {
    border: 3px solid #667eea;
    transform: scale(1.05);
}

.music-card.featured-series:hover {
    transform: scale(1.05) translateY(-10px);
}

.music-visual {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.music-icon {
    font-size: 4rem;
    color: white;
    z-index: 1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.music-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
}

.music-content {
    padding: 2rem;
}

.music-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.music-content p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.music-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.track-count,
.duration,
.quality {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #495057;
    border: 1px solid #dee2e6;
}

.music-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.play-series-btn,
.download-series-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.play-series-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.play-series-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.download-series-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.download-series-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
}

/* Music Player Section */
.music-player-section {
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    margin-bottom: 3rem;
}

.music-player {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.player-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.now-playing h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.now-playing p {
    color: #6c757d;
    font-size: 0.9rem;
}

.player-controls {
    display: flex;
    gap: 0.5rem;
}

.control-btn {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.control-btn.play-btn {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
}

.player-progress {
    margin-bottom: 2rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width: 0%;
    transition: width 0.3s ease;
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #6c757d;
}

.player-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.volume-control span {
    font-size: 1.2rem;
}

#volume-slider {
    width: 100px;
    height: 6px;
    border-radius: 3px;
    background: #e9ecef;
    outline: none;
    cursor: pointer;
}

.speed-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.speed-control label {
    font-weight: 600;
    color: #495057;
}

#playback-speed {
    padding: 0.5rem;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    background: white;
    cursor: pointer;
}

/* Playlist Section */
.playlist-section {
    padding: 2rem;
}

.playlist-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
}

.playlist-container {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.playlist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.playlist-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
}

.clear-btn {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.clear-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4);
}

.playlist-tracks {
    max-height: 400px;
    overflow-y: auto;
}

.track-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #f8f9fa;
    transition: all 0.3s ease;
}

.track-item:hover {
    background: #f8f9fa;
}

.track-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.track-number {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.track-details h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.track-details p {
    font-size: 0.85rem;
    color: #6c757d;
    margin: 0;
}

.track-duration {
    color: #6c757d;
    font-weight: 500;
    margin: 0 1rem;
}

.track-actions {
    display: flex;
    gap: 0.5rem;
}

.track-play-btn,
.track-remove-btn {
    width: 35px;
    height: 35px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.track-play-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.track-play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
}

.track-remove-btn {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
}

.track-remove-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4);
}

/* Responsive Design for Raym Box */
@media (max-width: 768px) {
    .raym-box-intro {
        padding: 2rem 1rem;
    }
    
    .intro-content h2 {
        font-size: 2rem;
    }
    
    .intro-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .music-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .music-card.featured-series {
        transform: none;
    }
    
    .music-card.featured-series:hover {
        transform: translateY(-10px);
    }
    
    .player-header {
        flex-direction: column;
        text-align: center;
    }
    
    .player-options {
        flex-direction: column;
        align-items: center;
    }
    
    .track-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .track-actions {
        align-self: flex-end;
    }
}

/* Welcome Main Content */
.welcome-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.intro-section {
    text-align: center;
    margin-bottom: 4rem;
}

.intro-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2d3748;
}

.intro-section p {
    font-size: 1.2rem;
    color: #4a5568;
    max-width: 600px;
    margin: 0 auto;
}

/* Room Cards Showcase */
.rooms-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.room-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.room-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);
}

.room-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    border-color: #2193b0;
}

.room-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
    background: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.room-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    font-weight: 700;
}

.room-card p {
    color: #5a6c7d;
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1.1rem;
}

.room-btn {
    display: inline-block;
    background: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);
    color: white;
    text-decoration: none;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 15px rgba(33, 147, 176, 0.3);
}

.room-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(33, 147, 176, 0.5);
    background: linear-gradient(135deg, #6dd5ed 0%, #2193b0 100%);
}

/* Features Section */
.features-section {
    text-align: center;
    margin-top: 4rem;
}

.features-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2d3748;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-item {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #667eea;
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2d3748;
}

.feature-item p {
    color: #4a5568;
    line-height: 1.6;
}

/* Room Pages */
.room-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 3rem 2rem;
    text-align: center;
    color: white;
}

.room-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.room-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.room-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Room Pages Mobile Responsiveness */
@media (max-width: 768px) {
    .room-main {
        padding: 2rem 1rem;
    }
    
    .room-header {
        padding: 2rem 1rem;
    }
    
    .room-header h1 {
        font-size: 2rem;
    }
    
    .room-header p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .room-main {
        padding: 1rem 0.5rem;
    }
    
    .room-header {
        padding: 1.5rem 0.5rem;
    }
    
    .room-header h1 {
        font-size: 1.8rem;
    }
    
    .room-header p {
        font-size: 0.9rem;
    }
}

@media (max-width: 360px) {
    .room-main {
        padding: 0.5rem 0.3rem;
    }
    
    .room-header {
        padding: 1rem 0.3rem;
    }
    
    .room-header h1 {
        font-size: 1.6rem;
    }
    
    .room-header p {
        font-size: 0.85rem;
    }
}

/* Book Room */
.book-container {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
}

.book-info h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #2d3748;
}

.book-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #4a5568;
}

.book-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.book-meta span {
    color: #667eea;
    font-weight: 600;
}

.chapter-content {
    line-height: 1.8;
    color: #2d3748;
    margin-bottom: 2rem;
}

.read-more-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.book-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.download-book-btn, .share-book-btn {
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.download-book-btn:hover, .share-book-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(72, 187, 120, 0.4);
}

/* More Books Grid */
.more-books h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #2d3748;
    text-align: center;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.book-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.book-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #2d3748;
}

.book-card p {
    color: #4a5568;
    margin-bottom: 1.5rem;
}

.read-chapter-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    padding: 0.6rem 1.5rem;
    border-radius: 20px;
    display: inline-block;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-chapter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .welcome-content h1 {
        font-size: 2rem;
    }
    
    .welcome-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .rooms-showcase {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .books-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .book-card {
        padding: 1.5rem;
    }

    .book-card h3 {
        font-size: 1.1rem;
    }

    .book-actions {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .read-pdf-btn,
    .download-pdf-btn {
        width: 100%;
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
        text-align: center;
    }

    .book-info h3 {
        font-size: 1.1rem;
    }

    .book-info p {
        font-size: 0.9rem;
    }

    .book-type {
        font-size: 0.85rem;
    }
}

/* Admin Login Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    animation: fadeIn 0.3s ease-out;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease-out;
    position: relative;
    overflow: hidden;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-header {
    padding: 2rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.modal-header h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin: 0;
    font-weight: 700;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #6c757d;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: #f8f9fa;
    color: #2c3e50;
    transform: rotate(90deg);
}

.modal-form {
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #4a5568;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.cancel-btn, .login-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.cancel-btn {
    background: #e2e8f0;
    color: #4a5568;
}

.cancel-btn:hover {
    background: #cbd5e0;
}

.login-btn {
    background: linear-gradient(135deg, #4299e1, #3182ce);
    color: white;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(66, 153, 225, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

header {
    text-align: center;
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

header h1 {
    font-size: 2.5rem;
    color: #5a67d8;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

header p {
    font-size: 1.1rem;
    color: #718096;
}

main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.room {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    min-height: 400px;
}

.room:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.room-header {
    padding: 1.5rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.room-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0.2));
    pointer-events: none;
}

.room-header h2 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.room-icon {
    font-size: 3rem;
    text-align: center;
    margin-top: 1rem;
    opacity: 0.8;
}

/* Individual Room Colors */
#book-room .room-header {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
}

#bible-room .room-header {
    background: linear-gradient(135deg, #4834d4, #686de0);
}

#music-room .room-header {
    background: linear-gradient(135deg, #f9ca24, #f0932b);
}

#article-room .room-header {
    background: linear-gradient(135deg, #00d2d3, #01a3a4);
}

#quote-room .room-header {
    background: linear-gradient(135deg, #a29bfe, #6c5ce7);
}

.room-content {
    padding: 1.5rem;
}

/* Book Room Styles */
.book-title {
    color: #ff6b6b;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.chapter-title {
    color: #ee5a24;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.chapter-content p {
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #4a5568;
}

.read-more-btn {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(238, 90, 36, 0.4);
}

/* Bible Room Styles */
.verse-container {
    text-align: center;
}

.verse-reference {
    font-size: 1.1rem;
    color: #4834d4;
    font-weight: bold;
    margin-bottom: 1rem;
}

.verse-text {
    font-size: 1.3rem;
    font-style: italic;
    color: #2d3748;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(72, 52, 212, 0.1);
    border-radius: 10px;
}

.verse-reflection {
    background: rgba(72, 52, 212, 0.05);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.verse-reflection h4 {
    color: #4834d4;
    margin-bottom: 0.5rem;
}

.verse-reflection p {
    color: #4a5568;
    line-height: 1.5;
}

.new-verse-btn {
    background: linear-gradient(135deg, #4834d4, #686de0);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.new-verse-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(72, 52, 212, 0.4);
}

/* Music Room Styles */
.music-player {
    text-align: center;
}

.album-art {
    width: 150px;
    height: 150px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #f9ca24, #f0932b);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(240, 147, 43, 0.3);
}

.album-placeholder {
    font-size: 4rem;
    color: white;
}

.song-title {
    color: #f0932b;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.artist {
    color: #718096;
    margin-bottom: 1.5rem;
}

.player-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.play-btn, .pause-btn, .download-btn {
    background: linear-gradient(135deg, #f9ca24, #f0932b);
    color: white;
    border: none;
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.play-btn:hover, .pause-btn:hover, .download-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(240, 147, 43, 0.4);
}

.download-btn {
    background: linear-gradient(135deg, #48bb78, #38a169);
}

.download-btn:hover {
    box-shadow: 0 5px 15px rgba(72, 187, 120, 0.4);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress {
    height: 100%;
    background: linear-gradient(135deg, #f9ca24, #f0932b);
    width: 0%;
    transition: width 0.3s ease;
}

.lyrics-preview {
    background: rgba(249, 202, 36, 0.1);
    padding: 1rem;
    border-radius: 10px;
    font-style: italic;
    color: #4a5568;
}

/* Article Room Styles */
.weekly-article {
    text-align: left;
}

.article-title {
    color: #00d2d3;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.article-excerpt p {
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 1rem;
}

.article-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.read-article-btn, .download-article-btn {
    background: linear-gradient(135deg, #00d2d3, #01a3a4);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.read-article-btn:hover, .download-article-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 210, 211, 0.4);
}

.download-article-btn {
    background: linear-gradient(135deg, #48bb78, #38a169);
}

.download-article-btn:hover {
    box-shadow: 0 5px 15px rgba(72, 187, 120, 0.4);
}

/* Quote Room Styles */
.quote-container {
    text-align: center;
}

.quote-text {
    font-size: 1.3rem;
    font-style: italic;
    color: #2d3748;
    line-height: 1.6;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(108, 92, 231, 0.1);
    border-radius: 10px;
}

.quote-author {
    color: #6c5ce7;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.quote-theme {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.theme-tag {
    background: rgba(108, 92, 231, 0.2);
    color: #6c5ce7;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
}

.new-quote-btn {
    background: linear-gradient(135deg, #a29bfe, #6c5ce7);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.new-quote-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.4);
}

/* Breadcrumb Navigation */
.breadcrumb {
    margin-top: 1.5rem;
    font-size: 1rem;
    color: #6c757d;
    font-weight: 500;
    padding: 0.5rem 0;
}

.breadcrumb a {
    color: #2193b0;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 600;
}

.breadcrumb a:hover {
    color: #6dd5ed;
    text-decoration: underline;
}

/* Enhanced Header Styling */
.room-header {
    background: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);
    color: white;
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

/* Spiritual Growth Department Header */
.books-spiritual .room-header {
    background: url('../Images/Studying 1.jfif');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.books-spiritual .room-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.85), rgba(118, 75, 162, 0.85));
    z-index: 1;
}

.books-spiritual .room-header h1,
.books-spiritual .room-header p,
.books-spiritual .room-header .breadcrumb {
    position: relative;
    z-index: 2;
}

.books-spiritual .room-header .breadcrumb {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: inline-block;
    margin-top: 1rem;
}

.books-spiritual .room-header .breadcrumb a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.books-spiritual .room-header .breadcrumb a:hover {
    text-decoration: underline;
}

.room-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.room-header p {
    font-size: 1.4rem;
    font-weight: 500;
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.6;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Enhanced Section Headers */
.spiritual-books h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.spiritual-books h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);
    border-radius: 2px;
}

/* Enhanced Book Info Text */
.spiritual-book .book-info h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    line-height: 1.3;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.spiritual-book .book-info p {
    color: #5a6c7d;
    margin-bottom: 0.5rem;
    font-style: italic;
    font-size: 1rem;
    font-weight: 500;
}

.ministry-of-healing .book-info h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    line-height: 1.3;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.ministry-of-healing .book-info p {
    color: #5a6c7d;
    margin-bottom: 0.5rem;
    font-style: italic;
    font-size: 1rem;
    font-weight: 500;
}

/* Enhanced Book Title Labels */
.book-title {
    color: white;
    font-size: 1rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.25rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.book-author {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.85rem;
    font-style: italic;
    font-weight: 500;
}

/* Enhanced Department Name Labels */
.dept-name {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.dept-count {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Coming Soon Cards */
.coming-soon-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed #dee2e6;
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    transition: all 0.3s ease;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.coming-soon-card:hover {
    border-color: #2193b0;
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
}

.coming-soon-content h3 {
    color: #495057;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.coming-soon-content p {
    color: #6c757d;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.coming-soon-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Department Cards */
.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.department-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #2193b0;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(33, 147, 176, 0.2);
    display: flex;
    flex-direction: column;
}

.department-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(33, 147, 176, 0.3);
    border-color: #6dd5ed;
}

.department-icon {
    background: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);
    padding: 2rem;
    text-align: center;
    font-size: 3rem;
}

.department-label {
    background: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dept-name {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.dept-count {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
}

.department-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);
}

.dept-diagram {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Spiritual Department Diagram */
.spiritual-diagram .circle {
    width: 40px;
    height: 40px;
    border: 3px solid white;
    border-radius: 50%;
    position: relative;
}

.spiritual-diagram .rays {
    position: absolute;
    width: 50px;
    height: 50px;
    top: 5px;
    left: 5px;
}

.spiritual-diagram .rays::before,
.spiritual-diagram .rays::after {
    content: '';
    position: absolute;
    background: white;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.spiritual-diagram .rays::before {
    width: 2px;
    height: 50px;
}

.spiritual-diagram .rays::after {
    width: 50px;
    height: 2px;
}

.spiritual-diagram .center-dot {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Academic Department Diagram */
.book-stack {
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: center;
}

.book-layer {
    width: 40px;
    height: 8px;
    background: white;
    border-radius: 2px;
}

.book-layer:nth-child(2) {
    width: 35px;
}

.book-layer:nth-child(3) {
    width: 30px;
}

/* Financial Department Diagram */
.coin {
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.coin-inner {
    width: 35px;
    height: 35px;
    border: 2px solid #2193b0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.coin-symbol {
    color: #2193b0;
    font-weight: 700;
    font-size: 1.2rem;
}

/* Health Department Diagram */
.heart {
    position: relative;
    width: 40px;
    height: 40px;
}

.heart-shape {
    width: 20px;
    height: 30px;
    background: white;
    position: relative;
    transform: rotate(-45deg);
    margin-left: 10px;
}

.heart-shape::before,
.heart-shape::after {
    content: '';
    width: 20px;
    height: 30px;
    background: white;
    border-radius: 50%;
    position: absolute;
}

.heart-shape::before {
    top: -15px;
    left: 0;
}

.heart-shape::after {
    top: 0;
    left: 15px;
}

/* Physical Department Diagram */
.dumbbell {
    display: flex;
    align-items: center;
    gap: 2px;
}

.dumbbell-bar {
    width: 25px;
    height: 4px;
    background: white;
}

.dumbbell-weight {
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
}

/* Book Visual Styling */
.book-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #6b46c1 0%, #9333ea 100%);
}

.book-diagram {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.book-label {
    text-align: center;
}

.book-title {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
}

.book-author {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
    font-style: italic;
}

/* Healing Book Diagram */
.cross {
    position: relative;
    width: 30px;
    height: 30px;
}

.cross-vertical {
    width: 4px;
    height: 30px;
    background: white;
    position: absolute;
    left: 13px;
}

.cross-horizontal {
    width: 30px;
    height: 4px;
    background: white;
    position: absolute;
    top: 13px;
}

/* Desire Book Diagram */
.star {
    position: relative;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.star-point {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 16px solid white;
    transform-origin: center 8px;
}

.star-point:nth-child(1) { transform: rotate(0deg); }
.star-point:nth-child(2) { transform: rotate(72deg); }
.star-point:nth-child(3) { transform: rotate(144deg); }
.star-point:nth-child(4) { transform: rotate(216deg); }
.star-point:nth-child(5) { transform: rotate(288deg); }

/* Steps Book Diagram */
.stairs {
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: flex-start;
}

.step {
    width: 8px;
    height: 8px;
    background: white;
}

.step:nth-child(2) { width: 16px; margin-left: 8px; }
.step:nth-child(3) { width: 24px; margin-left: 16px; }
.step:nth-child(4) { width: 32px; margin-left: 24px; }

/* Patriarchs Book Diagram */
.tent {
    position: relative;
    width: 40px;
    height: 30px;
}

.tent-roof {
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 20px solid white;
    position: absolute;
    top: 0;
}

.tent-pole {
    width: 2px;
    height: 15px;
    background: white;
    position: absolute;
    bottom: 0;
    left: 19px;
}

/* Prophets Book Diagram */
.crown {
    position: relative;
    width: 40px;
    height: 25px;
}

.crown-base {
    width: 40px;
    height: 8px;
    background: white;
    position: absolute;
    bottom: 0;
}

.crown-point {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 15px solid white;
    position: absolute;
    bottom: 8px;
}

.crown-point:nth-child(1) { left: 5px; }
.crown-point:nth-child(2) { left: 14px; }
.crown-point:nth-child(3) { left: 23px; }

/* Controversy Book Diagram */
.scales {
    position: relative;
    width: 40px;
    height: 30px;
}

.scales-bar {
    width: 30px;
    height: 2px;
    background: white;
    position: absolute;
    top: 10px;
    left: 5px;
}

.scales-pan {
    width: 12px;
    height: 8px;
    background: white;
    position: absolute;
    top: 12px;
}

.scales-pan.left { left: 2px; }
.scales-pan.right { right: 2px; }

.scales-stand {
    width: 2px;
    height: 15px;
    background: white;
    position: absolute;
    bottom: 0;
    left: 19px;
}

/* Sabbath School Book Diagram */
.bible {
    position: relative;
    width: 40px;
    height: 50px;
}

.bible-cover {
    width: 35px;
    height: 45px;
    background: white;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bible-pages {
    width: 30px;
    height: 40px;
    background: #f8f9fa;
    position: absolute;
    top: 2px;
    left: 2px;
    border-radius: 1px;
}

.bible-cross {
    width: 2px;
    height: 20px;
    background: #2193b0;
    position: absolute;
    top: 12px;
    left: 16px;
}

.bible-cross::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 2px;
    background: #2193b0;
    top: 8px;
    left: -3px;
}

/* Messages Book Diagram */
.envelope {
    position: relative;
    width: 35px;
    height: 25px;
}

.envelope-body {
    width: 35px;
    height: 20px;
    background: white;
    position: absolute;
    bottom: 0;
}

.envelope-flap {
    width: 0;
    height: 0;
    border-left: 17.5px solid transparent;
    border-right: 17.5px solid transparent;
    border-bottom: 12px solid white;
    position: absolute;
    top: 0;
}

/* Department-specific colors for book visuals */
.ministry-of-healing .book-diagram {
    background: linear-gradient(135deg, #6b46c1 0%, #9333ea 100%);
}

.spiritual-book .book-visual {
    background: linear-gradient(135deg, #6b46c1 0%, #9333ea 100%);
}

/* Department-specific colors for department visuals */
.spiritual-dept .department-visual {
    background: linear-gradient(135deg, #6b46c1 0%, #9333ea 100%);
}

.academic-dept .department-visual {
    background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
}

.financial-dept .department-visual {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
}

.health-dept .department-visual {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
}

.physical-dept .department-visual {
    background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
}

.department-icon span {
    filter: brightness(0) invert(1);
}

.department-info {
    padding: 1.5rem;
    text-align: center;
    flex: 1;
}

.department-info h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.department-info p {
    color: #5a6c7d;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.dept-type {
    display: inline-block;
    background: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.department-actions {
    padding: 0 1.5rem 1.5rem;
}

.browse-dept-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.browse-dept-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(33, 147, 176, 0.4);
    text-decoration: none;
    color: white;
}

/* Department-specific colors */
.spiritual-dept .department-icon {
    background: linear-gradient(135deg, #6b46c1 0%, #9333ea 100%);
}

.academic-dept .department-icon {
    background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
}

.financial-dept .department-icon {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
}

.health-dept .department-icon {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
}

.physical-dept .department-icon {
    background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
}

/* Articles Page Styling */
.article-featured {
    margin-bottom: 4rem;
}

.article-card-featured {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(52, 152, 219, 0.15);
    overflow: hidden;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.article-card-featured:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(52, 152, 219, 0.2);
}

.article-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    background: linear-gradient(135deg, #3498db 0%, #5dade2 100%);
    color: white;
}

.article-date-badge {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.article-day {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.article-date {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 500;
}

.new-article-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.new-article-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.article-content-featured {
    padding: 3rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.article-title-featured {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-author-featured {
    font-size: 1.1rem;
    font-weight: 600;
    color: #3498db;
    margin-bottom: 1rem;
}

.article-meta-featured {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.read-time {
    background: linear-gradient(135deg, #3498db 0%, #5dade2 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.article-category {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.article-excerpt-featured {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #495057;
    text-align: left;
}

.article-excerpt-featured p {
    margin-bottom: 1.5rem;
}

.article-excerpt-featured p:last-child {
    margin-bottom: 0;
}

.article-actions-featured {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

/* Article Reflection Section */
.article-reflection {
    max-width: 800px;
    margin: 0 auto 4rem;
}

.reflection-content {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    text-align: center;
}

.reflection-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.reflection-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #3498db 0%, #5dade2 100%);
    border-radius: 2px;
}

.reflection-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #495057;
    margin-bottom: 2.5rem;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.reflection-highlights {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.15);
    border-color: #3498db;
}

.highlight-icon {
    font-size: 1.2rem;
}

.highlight-text {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .article-title-featured {
        font-size: 1.6rem;
    }
    
    .article-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .article-excerpt-featured {
        font-size: 1rem;
        text-align: center;
    }
    
    .reflection-content {
        padding: 2rem 1.5rem;
    }
    
    .reflection-content h2 {
        font-size: 1.5rem;
    }
    
    .reflection-text {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .reflection-highlights {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .highlight-item {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* Quotes Page Styling */
.quote-featured {
    margin-bottom: 4rem;
}

.quote-card-featured {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(108, 92, 231, 0.15);
    overflow: hidden;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.quote-card-featured:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(108, 92, 231, 0.2);
}

.quote-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    color: white;
}

.quote-date-badge {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.quote-day {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.quote-date {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 500;
}

.new-quote-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.new-quote-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.quote-content-featured {
    padding: 3rem;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.quote-text-featured {
    font-size: 2.2rem;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-style: italic;
    position: relative;
    padding: 0 2rem;
}

.quote-text-featured::before,
.quote-text-featured::after {
    content: '"';
    position: absolute;
    font-size: 4rem;
    color: #6c5ce7;
    opacity: 0.2;
    font-family: Georgia, serif;
}

.quote-text-featured::before {
    top: -1rem;
    left: 0;
}

.quote-text-featured::after {
    bottom: -2rem;
    right: 0;
}

.quote-author-featured {
    font-size: 1.3rem;
    font-weight: 600;
    color: #6c5ce7;
    margin-bottom: 1.5rem;
}

.quote-theme-featured {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.theme-tag {
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.quote-actions-featured {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

/* Quote Reflection Section */
.quote-reflection {
    max-width: 800px;
    margin: 0 auto 4rem;
}

.reflection-content {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    text-align: center;
}

.reflection-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.reflection-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    border-radius: 2px;
}

.reflection-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #495057;
    margin-bottom: 2.5rem;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.reflection-highlights {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.15);
    border-color: #6c5ce7;
}

.highlight-icon {
    font-size: 1.2rem;
}

.highlight-text {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .quote-text-featured {
        font-size: 1.6rem;
        padding: 0 1rem;
    }
    
    .quote-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .reflection-content {
        padding: 2rem 1.5rem;
    }
    
    .reflection-content h2 {
        font-size: 1.5rem;
    }
    
    .reflection-text {
        font-size: 1.1rem;
    }
    
    .reflection-highlights {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .highlight-item {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* Verses Page Styling */
.verse-featured {
    margin-bottom: 4rem;
}

.verse-card-featured {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(33, 147, 176, 0.15);
    overflow: hidden;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.verse-card-featured:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(33, 147, 176, 0.2);
}

.verse-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    background: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);
    color: white;
}

.verse-date-badge {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.verse-day {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.verse-date {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 500;
}

.new-verse-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.new-verse-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn-icon {
    font-size: 1rem;
}

.verse-content-featured {
    padding: 3rem;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.verse-reference-featured {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2193b0;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.verse-text-featured {
    font-size: 2rem;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
    position: relative;
    padding: 0 2rem;
}

.verse-text-featured::before,
.verse-text-featured::after {
    content: '"';
    position: absolute;
    font-size: 4rem;
    color: #2193b0;
    opacity: 0.2;
    font-family: Georgia, serif;
}

.verse-text-featured::before {
    top: -1rem;
    left: 0;
}

.verse-text-featured::after {
    bottom: -2rem;
    right: 0;
}

.verse-translation {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
    font-style: italic;
}

.verse-actions-featured {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.action-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #e9ecef;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.action-btn:hover {
    background: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);
    border-color: #2193b0;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(33, 147, 176, 0.3);
}

/* Verse Reflection Section */
.verse-reflection {
    max-width: 800px;
    margin: 0 auto 4rem;
}

.reflection-content {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    text-align: center;
}

.reflection-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.reflection-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);
    border-radius: 2px;
}

.reflection-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #495057;
    margin-bottom: 2.5rem;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.reflection-highlights {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(33, 147, 176, 0.15);
    border-color: #2193b0;
}

.highlight-icon {
    font-size: 1.2rem;
}

.highlight-text {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .reflection-content {
        padding: 2rem 1.5rem;
    }
    
    .reflection-content h2 {
        font-size: 1.5rem;
    }
    
    .reflection-text {
        font-size: 1.1rem;
    }
    
    .reflection-highlights {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .highlight-item {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* Spiritual Book Cards */
.spiritual-book {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #2193b0;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(33, 147, 176, 0.2);
}

.spiritual-book:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(33, 147, 176, 0.3);
    border-color: #6dd5ed;
}

.spiritual-book .book-info {
    padding: 1.5rem;
    text-align: center;
}

.spiritual-book .book-info h3 {
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.spiritual-book .book-info p {
    color: #5a6c7d;
    margin-bottom: 0.5rem;
    font-style: italic;
    font-size: 0.9rem;
}

.spiritual-book .book-actions {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Book Cover Images Styling */
.book-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.book-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.book-card:hover .book-cover-img {
    transform: scale(1.05);
}

.book-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
    border-radius: 12px;
}

/* Ministry of Healing Book Card */
.ministry-of-healing {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #2193b0;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(33, 147, 176, 0.2);
}

.ministry-of-healing:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(33, 147, 176, 0.3);
    border-color: #6dd5ed;
}

.book-cover {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.book-label {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #6b46c1 0%, #9333ea 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.book-abbr {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.book-author {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
    font-style: italic;
}

.book-label::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.5s ease;
}

.spiritual-book:hover .book-label::before {
    animation: shimmer 0.5s ease;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.book-cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ministry-of-healing:hover .book-cover-image {
    transform: scale(1.05);
}

.ministry-of-healing .book-info {
    padding: 1.5rem;
    text-align: center;
}

.ministry-of-healing .book-info h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.ministry-of-healing .book-info p {
    color: #5a6c7d;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.book-type {
    display: inline-block;
    background: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.ministry-of-healing .book-actions {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.read-pdf-btn, .download-pdf-btn {
    flex: 1;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.read-pdf-btn {
    background: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);
    color: white;
}

.read-pdf-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(33, 147, 176, 0.4);
}

.download-pdf-btn {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
}

.download-pdf-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(72, 187, 120, 0.4);
}

/* PDF Reader Modal */
.pdf-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    animation: fadeIn 0.3s ease-out;
}

.pdf-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pdf-modal-content {
    background: white;
    border-radius: 16px;
    width: 95%;
    max-width: 1200px;
    height: 90vh;
    max-height: 900px;
    display: flex;
    flex-direction: column;
    animation: slideIn 0.3s ease-out;
    position: relative;
}

.pdf-modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px 16px 0 0;
}

.pdf-modal-header h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin: 0;
    font-weight: 700;
}

.close-pdf-modal {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #6c757d;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-pdf-modal:hover {
    background: #f8f9fa;
    color: #2c3e50;
    transform: rotate(90deg);
}

.pdf-controls {
    padding: 1rem;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid #e2e8f0;
    flex-wrap: wrap;
}

.pdf-controls button {
    padding: 0.5rem 1rem;
    border: 1px solid #e2e8f0;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.pdf-controls button:hover {
    background: #2193b0;
    color: white;
    border-color: #2193b0;
}

.pdf-page-info {
    padding: 0.5rem 1rem;
    background: #2193b0;
    color: white;
    border-radius: 6px;
    font-weight: 600;
    min-width: 80px;
    text-align: center;
}

.pdf-viewer {
    flex: 1;
    padding: 1rem;
    background: #f8f9fa;
    overflow: auto;
    display: flex;
}

.pdf-viewer iframe {
    border: none;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: 100%;
    min-height: 500px;
}

/* Mobile Responsive for PDF Reader */
@media (max-width: 768px) {
    .pdf-modal-content {
        width: 100%;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        margin: 0;
    }

    .pdf-modal-header {
        padding: 1rem;
        border-radius: 0;
    }

    .pdf-modal-header h3 {
        font-size: 1.1rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: calc(100% - 50px);
    }

    .close-pdf-modal {
        width: 36px;
        height: 36px;
        font-size: 1.5rem;
    }

    .pdf-controls {
        padding: 0.75rem;
        gap: 0.5rem;
        justify-content: center;
    }

    .pdf-controls button {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }

    .pdf-page-info {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
        min-width: 60px;
    }

    .pdf-viewer {
        padding: 0.5rem;
        display: flex;
    }

    .pdf-viewer iframe {
        width: 100%;
        height: 100%;
        min-height: auto;
        border-radius: 4px;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .pdf-modal-header h3 {
        font-size: 0.95rem;
    }

    .pdf-controls {
        padding: 0.5rem;
        gap: 0.3rem;
    }

    .pdf-controls button {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }

    .pdf-page-info {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
        min-width: 50px;
    }

    .pdf-viewer {
        padding: 0.25rem;
        display: flex;
    }
    
    .pdf-viewer iframe {
        min-height: auto;
    }
}

/* Hidden Admin Icon */
.admin-hidden-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    opacity: 0.3;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(33, 147, 176, 0.3);
    border: 2px solid transparent;
}

.admin-hidden-icon:hover {
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(33, 147, 176, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
}

.admin-hidden-icon span {
    pointer-events: none;
}

/* Clean Media Pages (Music & Videos) */
.media-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.media-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.media-header-simple {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem;
    text-align: center;
}

.media-header-simple h2 {
    color: white;
    font-size: 2rem;
    margin: 0;
    font-weight: 700;
}

.media-content-card {
    padding: 2.5rem;
}

.media-info-simple {
    text-align: center;
    margin-bottom: 2rem;
}

.media-info-simple h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin: 0 0 0.5rem 0;
    font-weight: 700;
}

.media-subtitle {
    font-size: 1.1rem;
    color: #7f8c8d;
    margin: 0;
    font-style: italic;
}

.audio-player-simple,
.video-player-simple {
    text-align: center;
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.media-description {
    max-width: 700px;
    margin: 2rem auto 0;
    line-height: 1.8;
    color: #555;
    text-align: center;
}

.media-description p {
    margin-bottom: 1.5rem;
}

.scripture-quote {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #e0f7fa 0%, #e1bee7 100%);
    border-left: 4px solid #667eea;
    border-radius: 8px;
    text-align: left;
}

.scripture-quote p {
    font-style: italic;
    color: #2c3e50;
    font-size: 1.1rem;
    margin: 0 0 0.5rem 0;
    line-height: 1.6;
}

.scripture-quote span {
    color: #555;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Mobile Responsive for Media Pages */
@media (max-width: 768px) {
    .media-section {
        padding: 2rem 1rem;
    }

    .media-content-card {
        padding: 1.5rem;
    }

    .media-info-simple h3 {
        font-size: 1.5rem;
    }

    .media-header-simple h2 {
        font-size: 1.5rem;
    }

    .audio-player-simple,
    .video-player-simple {
        padding: 1rem;
    }
}

/* Old Music Page Styles (keeping for compatibility) */
.music-featured {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.music-player-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.music-header {
    background: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);
    padding: 2rem;
    text-align: center;
    color: white;
}

.music-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.music-title {
    font-size: 2rem;
    margin: 0;
    font-weight: 700;
}

.music-card {
    padding: 2.5rem;
}

.album-art {
    text-align: center;
    margin-bottom: 2rem;
}

.album-art-placeholder {
    width: 250px;
    height: 250px;
    margin: 0 auto;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
    transition: transform 0.3s ease;
}

.album-art-placeholder:hover {
    transform: scale(1.05) rotate(2deg);
}

.music-note-icon {
    font-size: 6rem;
    color: white;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.song-info {
    text-align: center;
    margin-bottom: 2rem;
}

.song-title {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.song-artist {
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-bottom: 1rem;
    font-style: italic;
}

.song-description {
    color: #555;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.audio-player {
    margin: 2rem 0;
    text-align: center;
}

.audio-player audio {
    width: 100%;
    max-width: 500px;
    border-radius: 50px;
    outline: none;
}

.player-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 15px;
}

.control-btn {
    background: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(33, 147, 176, 0.3);
}

.control-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(33, 147, 176, 0.5);
}

.control-btn:active {
    transform: scale(0.95);
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.volume-icon {
    font-size: 1.5rem;
}

.volume-slider {
    width: 150px;
    height: 6px;
    border-radius: 5px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    background: linear-gradient(to right, #2193b0 0%, #6dd5ed 100%);
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.music-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.music-actions .action-btn {
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.music-actions .action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

.lyrics-section {
    background: #f8f9fa;
    padding: 2.5rem;
    margin-top: 2rem;
    border-top: 3px solid #2193b0;
}

.lyrics-title {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 700;
}

.lyrics-content {
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    color: #555;
}

.lyrics-content ul {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.lyrics-content li {
    padding: 0.8rem 0;
    font-size: 1.1rem;
    color: #2c3e50;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .music-card {
        padding: 1.5rem;
    }

    .album-art-placeholder {
        width: 200px;
        height: 200px;
    }

    .music-note-icon {
        font-size: 4rem;
    }

    .song-title {
        font-size: 1.5rem;
    }

    .player-controls {
        flex-direction: column;
        gap: 1.5rem;
    }

    .volume-slider {
        width: 200px;
    }

    .music-actions {
        flex-direction: column;
    }

    .music-actions .action-btn {
        width: 100%;
        justify-content: center;
    }

    .lyrics-section {
        padding: 1.5rem;
    }
}

/* Video Page Styles */
.video-featured {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.video-player-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.video-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem;
    text-align: center;
    color: white;
}

.video-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

.video-title {
    font-size: 2rem;
    margin: 0;
    font-weight: 700;
}

.video-card {
    padding: 2.5rem;
}

.video-info {
    text-align: center;
    margin-bottom: 2rem;
}

.video-name {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.video-artist {
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-bottom: 1rem;
    font-style: italic;
}

.video-description {
    color: #555;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.video-player-wrapper {
    margin: 2rem 0;
    text-align: center;
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.video-player {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    outline: none;
}

.video-message-section {
    background: #f8f9fa;
    padding: 2.5rem;
    margin-top: 2rem;
    border-top: 3px solid #667eea;
}

.message-title {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 700;
}

.message-content {
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    color: #555;
}

.message-content ul {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.message-content li {
    padding: 0.8rem 0;
    font-size: 1.1rem;
    color: #2c3e50;
}

/* Mobile Responsive for Videos */
@media (max-width: 768px) {
    .video-card {
        padding: 1.5rem;
    }

    .video-name {
        font-size: 1.5rem;
    }

    .video-player-wrapper {
        margin: 1.5rem 0;
    }

    .video-message-section {
        padding: 1.5rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    .rooms-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .room {
        min-height: 350px;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .quote-theme {
        flex-direction: column;
        align-items: center;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.room {
    animation: fadeIn 0.6s ease-out;
}

.room:nth-child(1) { animation-delay: 0.1s; }
.room:nth-child(2) { animation-delay: 0.2s; }
.room:nth-child(3) { animation-delay: 0.3s; }
.room:nth-child(4) { animation-delay: 0.4s; }
.room:nth-child(5) { animation-delay: 0.5s; }

/* Loading animation */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.loading {
    animation: pulse 1.5s infinite;
}

/* Calendar Styles */
.calendar-section {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.calendar-container {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    width: 100%;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.calendar-month-year {
    font-size: 1.8rem;
    color: #2c3e50;
    font-weight: 700;
}

.calendar-nav-btn {
    background: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-nav-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(33, 147, 176, 0.4);
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.weekday {
    text-align: center;
    font-weight: 700;
    color: #2193b0;
    padding: 0.5rem;
    font-size: 0.9rem;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #2c3e50;
    position: relative;
}

.calendar-day:hover {
    background: #f8f9fa;
    transform: scale(1.05);
}

.calendar-day.today {
    background: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);
    color: white;
    font-weight: 700;
}

.calendar-day.other-month {
    color: #cbd5e0;
}

.calendar-day.has-event::after {
    content: '';
    position: absolute;
    bottom: 5px;
    width: 6px;
    height: 6px;
    background: #ff6b6b;
    border-radius: 50%;
}

.calendar-day.selected {
    background: #e3f2fd;
    border: 2px solid #2193b0;
}

/* Responsive Calendar */
@media (max-width: 768px) {
    .calendar-container {
        padding: 1rem;
        margin: 0 1rem;
    }

    .calendar-header {
        margin-bottom: 1rem;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .calendar-month-year {
        font-size: 1.3rem;
        text-align: center;
        flex: 1;
    }

    .calendar-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }

    .weekday {
        font-size: 0.75rem;
        padding: 0.3rem;
    }

    .calendar-days {
        gap: 0.3rem;
    }

    .calendar-day {
        font-size: 0.9rem;
        min-height: 40px;
    }
}

/* Extra small screens for calendar */
@media (max-width: 480px) {
    .calendar-container {
        padding: 0.5rem;
        margin: 0 0.5rem;
    }

    .calendar-header {
        margin-bottom: 0.8rem;
    }

    .calendar-month-year {
        font-size: 1.1rem;
    }

    .calendar-nav-btn {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }

    .weekday {
        font-size: 0.7rem;
        padding: 0.2rem;
    }

    .calendar-days {
        gap: 0.2rem;
    }

    .calendar-day {
        font-size: 0.8rem;
        min-height: 35px;
    }

    .calendar-day.has-event::after {
        width: 3px;
        height: 3px;
        bottom: 3px;
    }
}

/* Ultra small screens for calendar */
@media (max-width: 360px) {
    .calendar-container {
        padding: 0.3rem;
        margin: 0 0.3rem;
    }

    .calendar-month-year {
        font-size: 1rem;
    }

    .calendar-nav-btn {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }

    .weekday {
        font-size: 0.65rem;
        padding: 0.15rem;
    }

    .calendar-day {
        font-size: 0.75rem;
        min-height: 32px;
    }
}

/* Mobile Responsive Design for Raym Box */
@media (max-width: 768px) {
    .raym-box-index {
        padding: 1rem;
    }
    
    .index-header h2 {
        font-size: 2rem;
    }
    
    .index-header p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .topic-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .topic-card {
        padding: 1.5rem;
    }
    
    .topic-icon {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
    }
    
    .topic-content h3 {
        font-size: 1.3rem;
    }
    
    .topic-content p {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }
    
    .topic-count {
        font-size: 0.75rem;
        padding: 0.25rem 0.6rem;
    }
    
    .topic-arrow {
        right: 1.5rem;
        font-size: 1.2rem;
    }
    
    .topic-card:hover {
        transform: translateY(-5px);
    }
    
    .topic-card:hover .topic-arrow {
        transform: translateY(-50%) translateX(5px);
    }
    
    /* Topic Detail Mobile */
    .topic-detail {
        padding: 1rem;
    }
    
    .topic-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .back-button {
        align-self: flex-start;
        margin-bottom: 1rem;
    }
    
    .media-description {
        padding: 1rem;
    }
    
    .media-description h3 {
        font-size: 1.5rem;
    }
    
    .media-description p {
        font-size: 0.95rem;
    }
    
    .scripture-quote {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .scripture-quote p {
        font-size: 0.9rem;
    }
    
    /* Audio List Mobile */
    .audio-list {
        margin: 1rem;
    }
    
    .audio-list h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .audio-item {
        margin-bottom: 1.5rem;
        padding: 1rem;
    }
    
    .audio-item h4 {
        font-size: 1.1rem;
    }
    
    .audio-player-wrapper {
        margin: 10px 0;
    }
    
    /* Poems List Mobile */
    .poems-list {
        margin: 1rem;
    }
    
    .poems-list h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .poems-grid {
        gap: 1rem;
    }
    
    .poem-item {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .poem-item-header h4 {
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
    }
    
    .poem-author {
        font-size: 0.85rem;
    }
    
    .poem-item-arrow {
        display: none;
    }
    
    /* Poem Detail Mobile */
    .poem-detail {
        padding: 1rem;
    }
    
    .poem-detail h3 {
        font-size: 1.5rem;
    }
    
    .poem-detail .poem-author {
        font-size: 1rem;
    }
    
    .poem-content {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .poem-stanza {
        margin-bottom: 1rem;
    }
    
    .sabbath-wish {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .sabbath-wish h3 {
        font-size: 1.1rem;
    }
    
    .sabbath-wish p {
        font-size: 0.9rem;
    }
    
    .scripture-verse {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .scripture-verse-text {
        font-size: 0.9rem;
    }
    
    .scripture-verse-reference {
        font-size: 0.85rem;
    }
}

/* Extra Small Screens (320px - 480px) */
@media (max-width: 480px) {
    .raym-box-index {
        padding: 0.5rem;
    }
    
    .index-header h2 {
        font-size: 1.8rem;
    }
    
    .index-header p {
        font-size: 0.95rem;
    }
    
    .topic-cards-grid {
        gap: 1rem;
        padding: 0 0.5rem;
    }
    
    .topic-card {
        padding: 1rem;
    }
    
    .topic-icon {
        font-size: 2rem;
    }
    
    .topic-content h3 {
        font-size: 1.2rem;
    }
    
    .topic-content p {
        font-size: 0.85rem;
    }
    
    .topic-arrow {
        right: 1rem;
        font-size: 1rem;
    }
    
    .topic-detail {
        padding: 0.5rem;
    }
    
    .media-description {
        padding: 0.5rem;
    }
    
    .media-description h3 {
        font-size: 1.3rem;
    }
    
    .audio-list,
    .poems-list {
        margin: 0.5rem;
    }
    
    .audio-item,
    .poem-item {
        padding: 0.75rem;
    }
    
    .poem-content {
        font-size: 0.9rem;
    }
}

/* Alphabetical Book Grouping Styles */
.alphabetical-books {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.letter-group {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.letter-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.letter-header h3 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 2rem;
    font-weight: 800;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    min-width: 80px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.letter-header h3::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: rotate(45deg);
    animation: letterShimmer 4s ease-in-out infinite;
}

@keyframes letterShimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    50% { transform: translateX(100%) translateY(100%) rotate(45deg); }
    100% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
}

.letter-header::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, #667eea, transparent);
    margin-left: 2rem;
    border-radius: 1px;
}

/* Enhanced spacing for letter groups */
.letter-group .books-grid {
    margin-left: 0;
    padding-left: 0;
}

/* Responsive adjustments for alphabetical grouping */
@media (max-width: 768px) {
    .alphabetical-books {
        gap: 2rem;
    }
    
    .letter-group {
        gap: 1rem;
    }
    
    .letter-header h3 {
        font-size: 1.5rem;
        padding: 0.8rem 1.2rem;
        min-width: 60px;
    }
    
    .letter-header::after {
        margin-left: 1rem;
    }
    
    .letter-group .books-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .letter-header h3 {
        font-size: 1.3rem;
        padding: 0.6rem 1rem;
        min-width: 50px;
    }
    
    .letter-header::after {
        margin-left: 0.8rem;
    }
}

/* Book Diagrams for New Spiritual Books */
.home-diagram .house {
    width: 60px;
    height: 50px;
    position: relative;
    margin: 0 auto;
}

.home-diagram .house-roof {
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 20px solid #8b4513;
    position: absolute;
    top: 0;
    left: 0;
}

.home-diagram .house-body {
    width: 40px;
    height: 25px;
    background: #d2691e;
    position: absolute;
    bottom: 0;
    left: 10px;
}

.home-diagram .house-door {
    width: 8px;
    height: 12px;
    background: #654321;
    position: absolute;
    bottom: 0;
    left: 26px;
}

.home-diagram .house-windows {
    width: 6px;
    height: 6px;
    background: #87ceeb;
    position: absolute;
    top: 5px;
    left: 17px;
    box-shadow: 12px 0 0 #87ceeb;
}

.child-diagram .child {
    width: 40px;
    height: 60px;
    position: relative;
    margin: 0 auto;
}

.child-diagram .child-head {
    width: 20px;
    height: 20px;
    background: #fdbcb4;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 10px;
}

.child-diagram .child-body {
    width: 25px;
    height: 30px;
    background: #4169e1;
    border-radius: 10px 10px 0 0;
    position: absolute;
    top: 18px;
    left: 7.5px;
}

.child-diagram .child-arms {
    width: 35px;
    height: 8px;
    background: #4169e1;
    position: absolute;
    top: 25px;
    left: 2.5px;
    border-radius: 4px;
}

.church-diagram .church {
    width: 50px;
    height: 60px;
    position: relative;
    margin: 0 auto;
}

.church-diagram .church-steeple {
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 25px solid #8b4513;
    position: absolute;
    top: 0;
    left: 10px;
}

.church-diagram .church-body {
    width: 40px;
    height: 30px;
    background: #d2691e;
    position: absolute;
    top: 23px;
    left: 5px;
}

.church-diagram .church-cross {
    width: 4px;
    height: 15px;
    background: #ffd700;
    position: absolute;
    top: -10px;
    left: 23px;
}

.church-diagram .church-cross::before {
    content: '';
    width: 12px;
    height: 4px;
    background: #ffd700;
    position: absolute;
    top: 3px;
    left: -4px;
}

.stewardship-diagram .hands {
    width: 60px;
    height: 40px;
    position: relative;
    margin: 0 auto;
}

.stewardship-diagram .hand-left,
.stewardship-diagram .hand-right {
    width: 20px;
    height: 25px;
    background: #fdbcb4;
    border-radius: 10px;
    position: absolute;
    top: 10px;
}

.stewardship-diagram .hand-left {
    left: 5px;
    transform: rotate(-20deg);
}

.stewardship-diagram .hand-right {
    right: 5px;
    transform: rotate(20deg);
}

.stewardship-diagram .gift {
    width: 15px;
    height: 15px;
    background: #ffd700;
    position: absolute;
    top: 0;
    left: 22.5px;
    transform: rotate(45deg);
}

.stewardship-diagram .gift::before {
    content: '';
    width: 20px;
    height: 3px;
    background: #ff6347;
    position: absolute;
    top: 6px;
    left: -2.5px;
    transform: rotate(-45deg);
}

.gospel-diagram .gospel {
    width: 50px;
    height: 50px;
    position: relative;
    margin: 0 auto;
}

.gospel-diagram .gospel-book {
    width: 30px;
    height: 20px;
    background: #8b4513;
    position: absolute;
    top: 20px;
    left: 10px;
    border-radius: 2px;
}

.gospel-diagram .gospel-light {
    width: 20px;
    height: 20px;
    background: #ffd700;
    border-radius: 50%;
    position: absolute;
    top: 5px;
    left: 15px;
    box-shadow: 0 0 15px #ffd700;
}

.gospel-diagram .gospel-rays {
    position: absolute;
    top: 15px;
    left: 25px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 15px solid rgba(255, 215, 0, 0.3);
    transform: rotate(180deg);
}

.letters-diagram .envelope {
    width: 50px;
    height: 35px;
    position: relative;
    margin: 0 auto;
}

.letters-diagram .envelope-body {
    width: 50px;
    height: 30px;
    background: #f5f5dc;
    position: absolute;
    bottom: 0;
    border-radius: 2px;
}

.letters-diagram .envelope-flap {
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 15px solid #d2691e;
    position: absolute;
    top: 0;
    left: 0;
}

.letters-diagram .heart {
    width: 15px;
    height: 15px;
    background: #ff69b4;
    position: absolute;
    top: 10px;
    left: 17.5px;
    transform: rotate(-45deg);
}

.letters-diagram .heart::before,
.letters-diagram .heart::after {
    content: '';
    width: 15px;
    height: 15px;
    background: #ff69b4;
    border-radius: 50%;
    position: absolute;
}

.letters-diagram .heart::before {
    top: -7.5px;
    left: 0;
}

.letters-diagram .heart::after {
    top: 0;
    left: 7.5px;
}

.minister-diagram .minister {
    width: 40px;
    height: 60px;
    position: relative;
    margin: 0 auto;
}

.minister-diagram .minister-body {
    width: 25px;
    height: 35px;
    background: #2c3e50;
    border-radius: 5px 5px 0 0;
    position: absolute;
    top: 15px;
    left: 7.5px;
}

.minister-diagram .minister-collar {
    width: 25px;
    height: 5px;
    background: #ffffff;
    position: absolute;
    top: 15px;
    left: 7.5px;
}

.minister-diagram .minister-bible {
    width: 15px;
    height: 20px;
    background: #8b4513;
    position: absolute;
    top: 25px;
    left: 12.5px;
    border-radius: 2px;
    transform: rotate(-10deg);
}

.testimonies-diagram .volumes {
    width: 60px;
    height: 60px;
    position: relative;
    margin: 0 auto;
    z-index: 5;
}

.testimonies-diagram .volume-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

.testimonies-diagram .volume {
    width: 12px;
    height: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: absolute;
    border-radius: 1px;
    color: white;
    font-size: 6px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Volume indicators removed - replaced with testimonies icon */

/* Testimonies Modal Styles */
.testimonies-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    overflow: auto;
}

.testimonies-modal.show {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.testimonies-modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border-radius: 15px;
    width: 90%;
    max-width: 1200px;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

.testimonies-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #667eea;
}

.testimonies-modal-header h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 700;
}

.close-testimonies-modal {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
}

.close-testimonies-modal:hover {
    color: #e74c3c;
}

.testimonies-volumes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.volume-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #667eea;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.1);
}

.volume-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
    border-color: #764ba2;
}

.volume-card h4 {
    color: #667eea;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.volume-card p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonies-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.testimonies-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.testimonies-collection {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.12), rgba(118, 75, 162, 0.12));
    border: 3px solid #667eea;
    position: relative;
    overflow: visible;
    transform: scale(1.05);
    box-shadow: 0 10px 35px rgba(102, 126, 234, 0.25);
    border-radius: 16px;
}

.testimonies-collection::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: shimmer 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    50% { transform: translateX(100%) translateY(100%) rotate(45deg); }
    100% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
}

.testimonies-collection .book-visual {
    position: relative;
}

/* Collection badge removed */

.testimonies-collection .book-label {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    margin-top: 10px;
}

.testimonies-collection .book-title {
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.testimonies-collection .book-author {
    font-size: 0.8rem;
    opacity: 0.9;
    font-weight: 500;
}

.testimonies-collection .book-info h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.testimonies-collection .book-info p {
    color: #555;
    font-weight: 600;
    margin-bottom: 8px;
}

.testimonies-collection .book-type {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 12px;
}

.collection-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.highlight-item {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.testimonies-collection .testimonies-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
    position: relative;
    z-index: 10;
}

.testimonies-collection .testimonies-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
    background: linear-gradient(135deg, #5a6fd8, #6a4190);
}

.testimonies-collection:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.4);
    border-color: #764ba2;
}

/* Responsive Design for Testimonies Collection */
@media (max-width: 768px) {
    .testimonies-collection {
        transform: scale(1) !important;
        margin: 0.5rem !important;
    }
    
    .testimonies-collection .book-visual {
        margin-bottom: 1rem !important;
    }
    
    .testimonies-diagram .volumes {
        width: 50px !important;
        height: 50px !important;
    }
    
    .testimonies-diagram .volume {
        width: 10px !important;
        height: 13px !important;
    }
    
    /* Collection badge responsive styles removed */
    
    .testimonies-collection .book-info h3 {
        font-size: 1.2rem !important;
    }
    
    .testimonies-collection .book-info p {
        font-size: 0.9rem !important;
    }
    
    .testimonies-collection .book-type {
        font-size: 0.8rem !important;
        padding: 3px 8px !important;
    }
    
    .testimonies-collection .testimonies-btn {
        font-size: 0.9rem !important;
        padding: 0.8rem 1.5rem !important;
    }
}

@media (max-width: 480px) {
    .testimonies-collection {
        margin: 0.25rem !important;
        padding: 1rem !important;
    }
    
    .testimonies-diagram .volumes {
        width: 40px !important;
        height: 40px !important;
    }
    
    .testimonies-diagram .volume {
        width: 8px !important;
        height: 10px !important;
    }
    
    /* Collection badge responsive styles removed */
    
    .testimonies-collection .book-info h3 {
        font-size: 1.1rem !important;
    }
    
    .testimonies-collection .book-info p {
        font-size: 0.85rem !important;
    }
    
    .testimonies-collection .book-type {
        font-size: 0.75rem !important;
        padding: 2px 6px !important;
    }
    
    .testimonies-collection .testimonies-btn {
        font-size: 0.8rem !important;
        padding: 0.6rem 1.2rem !important;
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive for Testimonies Modal */
@media (max-width: 768px) {
    .testimonies-modal {
        padding: 0.5rem;
    }
    
    .testimonies-modal-content {
        margin: 5% auto;
        width: 95%;
        padding: 1.5rem;
        border-radius: 12px;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .testimonies-modal-header {
        padding-bottom: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .testimonies-modal-header h3 {
        font-size: 1.4rem;
        line-height: 1.3;
    }
    
    .close-testimonies-modal {
        font-size: 1.8rem;
        min-width: 40px;
        min-height: 40px;
    }
    
    .testimonies-volumes-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 0.8rem;
    }
    
    .volume-card {
        padding: 0.8rem;
        border-radius: 10px;
        text-align: center;
        min-height: 140px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .volume-card h4 {
        font-size: 1rem;
        margin-bottom: 0.4rem;
        line-height: 1.2;
    }
    
    .volume-card p {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
        line-height: 1.3;
        flex: 1;
    }
    
    .read-pdf-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
        border-radius: 8px;
        margin-top: auto;
    }
}

@media (max-width: 480px) {
    .testimonies-modal {
        padding: 0.25rem;
    }
    
    .testimonies-modal-content {
        margin: 2% auto;
        width: 98%;
        padding: 1rem;
        border-radius: 10px;
        max-height: 95vh;
        overflow-y: auto;
    }
    
    .testimonies-modal-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding-bottom: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .testimonies-modal-header h3 {
        font-size: 1.2rem;
        line-height: 1.4;
        flex: 1;
    }
    
    .close-testimonies-modal {
        position: absolute;
        top: 1rem;
        right: 1rem;
        font-size: 1.5rem;
        min-width: 35px;
        min-height: 35px;
    }
    
    .testimonies-volumes-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 0.6rem;
    }
    
    .volume-card {
        padding: 0.6rem;
        border-radius: 8px;
        min-height: 120px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .volume-card h4 {
        font-size: 0.95rem;
        margin-bottom: 0.3rem;
        line-height: 1.2;
    }
    
    .volume-card p {
        font-size: 0.75rem;
        margin-bottom: 0.6rem;
        line-height: 1.3;
        flex: 1;
    }
    
    .read-pdf-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
        border-radius: 6px;
        width: 100%;
        max-width: 150px;
    }
}

@media (max-width: 360px) {
    .testimonies-modal-content {
        padding: 0.8rem;
    }
    
    .testimonies-modal-header h3 {
        font-size: 1.1rem;
    }
    
    .close-testimonies-modal {
        font-size: 1.4rem;
        min-width: 30px;
        min-height: 30px;
    }
    
    .volume-card {
        padding: 0.5rem;
        min-height: 110px;
    }
    
    .volume-card h4 {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }
    
    .volume-card p {
        font-size: 0.7rem;
        margin-bottom: 0.5rem;
        line-height: 1.2;
    }
    
    .read-pdf-btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.75rem;
    }
}

/* Health Book Diagrams */
.health-diagram .health-icon {
    font-size: 3rem;
    animation: healthPulse 2s ease-in-out infinite;
}

@keyframes healthPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.diet-diagram .diet-plate {
    width: 60px;
    height: 60px;
    position: relative;
    margin: 0 auto;
}

.diet-diagram .plate {
    width: 50px;
    height: 50px;
    background: #f0f0f0;
    border-radius: 50%;
    position: absolute;
    top: 5px;
    left: 5px;
    border: 3px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.diet-diagram .food-item {
    position: absolute;
    border-radius: 50%;
}

.diet-diagram .food-1 {
    width: 12px;
    height: 12px;
    background: #ff6b6b;
    top: 8px;
    left: 19px;
}

.diet-diagram .food-2 {
    width: 10px;
    height: 10px;
    background: #4ecdc4;
    top: 19px;
    left: 8px;
}

.diet-diagram .food-3 {
    width: 14px;
    height: 14px;
    background: #45b7d1;
    top: 19px;
    left: 28px;
}

.diet-diagram .food-4 {
    width: 8px;
    height: 8px;
    background: #96ceb4;
    top: 30px;
    left: 21px;
}

.living-diagram .living-icon {
    width: 60px;
    height: 60px;
    position: relative;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.living-diagram .heart-beat {
    width: 20px;
    height: 20px;
    background: #e74c3c;
    position: relative;
    transform: rotate(-45deg);
    animation: heartBeat 1.5s ease-in-out infinite;
}

.living-diagram .heart-beat::before,
.living-diagram .heart-beat::after {
    content: '';
    width: 20px;
    height: 20px;
    background: #e74c3c;
    border-radius: 50%;
    position: absolute;
}

.living-diagram .heart-beat::before {
    top: -10px;
    left: 0;
}

.living-diagram .heart-beat::after {
    top: 0;
    left: 10px;
}

@keyframes heartBeat {
    0%, 100% { transform: rotate(-45deg) scale(1); }
    25% { transform: rotate(-45deg) scale(1.1); }
    45% { transform: rotate(-45deg) scale(1); }
}

.living-diagram .pulse-ring {
    position: absolute;
    border: 2px solid #e74c3c;
    border-radius: 50%;
    opacity: 0;
    animation: pulseRing 2s ease-out infinite;
}

.living-diagram .pulse-1 {
    width: 30px;
    height: 30px;
    animation-delay: 0s;
}

.living-diagram .pulse-2 {
    width: 40px;
    height: 40px;
    animation-delay: 0.5s;
}

.living-diagram .pulse-3 {
    width: 50px;
    height: 50px;
    animation-delay: 1s;
}

@keyframes pulseRing {
    0% {
        transform: scale(0.5);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Video Gallery Styles */
.video-gallery {
    margin-top: 3rem;
}

.gallery-header {
    text-align: center;
    margin-bottom: 2rem;
}

.gallery-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gallery-header p {
    font-size: 1.2rem;
    color: #666;
    font-weight: 400;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.video-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.video-thumbnail::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: thumbnailShimmer 3s ease-in-out infinite;
}

@keyframes thumbnailShimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    50% { transform: translateX(100%) translateY(100%) rotate(45deg); }
    100% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
}

.play-button {
    font-size: 3rem;
    color: white;
    background: rgba(0, 0, 0, 0.3);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.play-button:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: scale(1.1);
}

.video-info {
    padding: 1.5rem;
}

.video-info h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.video-preacher {
    font-size: 1rem;
    color: #667eea;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.video-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.watch-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    width: 100%;
}

.watch-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5a6fd8, #6a4190);
}

/* Video Modal Styles */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.video-modal-content {
    background: white;
    border-radius: 20px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

.video-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px 20px 0 0;
}

.video-modal-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.close-video-modal {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-video-modal:hover {
    background: rgba(255, 255, 255, 0.2);
}

.video-modal-body {
    padding: 2rem;
}

.video-modal-info {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.video-modal-info p {
    margin: 0;
    color: #555;
    line-height: 1.6;
}

/* Responsive Video Gallery */
@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .gallery-header h2 {
        font-size: 2rem;
    }
    
    .video-modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .video-modal-body {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .video-info {
        padding: 1rem;
    }
    
    .video-info h4 {
        font-size: 1.1rem;
    }
    
    .video-thumbnail {
        height: 150px;
    }
    
    .play-button {
        font-size: 2rem;
        width: 60px;
        height: 60px;
    }
}

/* Sermon Section Styles */
.sermons-list {
    margin-top: 2rem;
}

.sermons-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.sermon-item {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sermon-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.sermon-item-header {
    flex: 1;
}

.sermon-item-header h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.sermon-preacher {
    font-size: 1rem;
    color: #667eea;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.sermon-duration {
    font-size: 0.9rem;
    color: #666;
    font-weight: 400;
}

.sermon-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-right: 1rem;
}

.topic-tag {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.sermon-item-arrow {
    font-size: 1.5rem;
    color: #667eea;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.sermon-item:hover .sermon-item-arrow {
    transform: translateX(5px);
}

/* Sermon Detail Styles */
.sermon-detail {
    max-width: 900px;
    margin: 0 auto;
}

.sermon-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    border-radius: 15px;
    border: 2px solid rgba(102, 126, 234, 0.2);
}

.sermon-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sermon-header .sermon-preacher {
    font-size: 1.2rem;
    color: #667eea;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.sermon-header .sermon-duration {
    font-size: 1rem;
    color: #666;
    font-weight: 400;
}

.sermon-description {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.sermon-description p {
    margin: 0;
    color: #555;
    line-height: 1.6;
    font-size: 1.1rem;
}

.sermon-topics {
    margin-bottom: 2rem;
}

.sermon-topics h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.topics-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.topics-list .topic-tag {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.sermon-video {
    margin-bottom: 2rem;
    text-align: center;
}

.sermon-video h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
}

.video-player-wrapper {
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    padding: 0.5rem;
}

.back-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    margin-bottom: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.back-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5a6fd8, #6a4190);
}

/* Responsive Sermon Styles */
@media (max-width: 768px) {
    .sermon-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .sermon-topics {
        justify-content: center;
        margin-right: 0;
    }
    
    .sermon-header {
        padding: 1.5rem;
    }
    
    .sermon-header h3 {
        font-size: 1.5rem;
    }
    
    .sermon-detail {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .sermon-item-header h4 {
        font-size: 1.1rem;
    }
    
    .sermon-header h3 {
        font-size: 1.3rem;
    }
    
    .topics-list {
        justify-content: center;
    }
    
    .topics-list .topic-tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Special Navigation Section Styles */
.special-nav-section {
    margin: 3rem 2rem;
}

.special-nav-header h3 {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.special-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.special-nav-card {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    display: block;
    position: relative;
    overflow: hidden;
}

.special-nav-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: specialNavShimmer 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes specialNavShimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    50% { transform: translateX(100%) translateY(100%) rotate(45deg); }
    100% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
}

.special-nav-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.special-nav-card:hover .special-nav-arrow {
    transform: translateX(5px);
}

.special-nav-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.special-nav-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.special-nav-card p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.special-nav-arrow {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

/* Videos Card Specific Styling */
.special-nav-card[href="videos.html"] {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    box-shadow: 0 8px 25px rgba(238, 90, 36, 0.3);
}

.special-nav-card[href="videos.html"]:hover {
    box-shadow: 0 12px 35px rgba(238, 90, 36, 0.4);
}

/* Music Card Specific Styling */
.special-nav-card[href="music.html"] {
    background: linear-gradient(135deg, #f9ca24, #f0932b);
    box-shadow: 0 8px 25px rgba(240, 147, 43, 0.3);
}

.special-nav-card[href="music.html"]:hover {
    box-shadow: 0 12px 35px rgba(240, 147, 43, 0.4);
}

/* Responsive Special Navigation */
@media (max-width: 768px) {
    .special-nav-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .special-nav-section {
        margin: 2rem 1rem;
    }
    
    .special-nav-card {
        padding: 1.5rem;
    }
    
    .special-nav-icon {
        font-size: 2.5rem;
    }
    
    .special-nav-card h4 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .special-nav-header h3 {
        font-size: 1.5rem;
    }
    
    .special-nav-card {
        padding: 1.2rem;
    }
    
    .special-nav-icon {
        font-size: 2rem;
    }
    
    .special-nav-card h4 {
        font-size: 1.2rem;
    }
    
    .special-nav-card p {
        font-size: 0.9rem;
    }
}

/* Audio Player Mobile Compatibility */
.audio-player-wrapper {
    position: relative;
}

audio {
    max-width: 100%;
    height: auto;
    min-height: 54px;
}

/* Mobile-specific audio fixes */
@media (max-width: 768px) {
    audio {
        width: 100% !important;
        height: 54px !important;
        min-height: 54px !important;
    }
    
    .audio-item {
        margin-bottom: 20px;
    }
    
    .audio-player-wrapper {
        margin: 15px 0;
    }
}

/* Audio fallback styling */
.audio-fallback {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 12px;
    margin-top: 10px;
}

.audio-fallback a {
    color: #856404;
    text-decoration: underline;
    font-weight: 600;
}

.audio-fallback a:hover {
    text-decoration: none;
}

/* Poetry Section Styles */
.poems-list {
    margin-top: 2rem;
}

.poems-list h3 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.poems-grid {
    display: grid;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.poem-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.poem-item:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.poem-item-header h4 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 600;
}

.poem-item-header p {
    margin: 0;
    color: #7f8c8d;
    font-size: 0.9rem;
    font-style: italic;
}

.poem-item-arrow {
    font-size: 1.5rem;
    color: #667eea;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.poem-item:hover .poem-item-arrow {
    transform: translateX(5px);
}

.poem-detail {
    max-width: 800px;
    margin: 0 auto;
}

.back-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.back-button:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    transform: translateY(-1px);
}

.poem-detail .poem-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e9ecef;
}

.poem-detail .poem-header h3 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 700;
}

.poem-detail .poem-author {
    margin: 0;
    color: #7f8c8d;
    font-size: 1.1rem;
    font-style: italic;
}

.poem-detail .poem-content {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid #667eea;
    line-height: 1.8;
}

.poem-detail .poem-line {
    margin: 0 0 1rem 0;
    color: #333;
    font-size: 1.05rem;
    text-align: left;
}

.poem-detail .poem-line:last-child {
    margin-bottom: 0;
}

/* Mobile responsiveness for poetry */
@media (max-width: 768px) {
    .poems-grid {
        gap: 0.8rem;
    }
    
    .poem-item {
        padding: 1rem;
    }
    
    .poem-item-header h4 {
        font-size: 1.1rem;
    }
    
    .poem-detail .poem-header h3 {
        font-size: 1.5rem;
    }
    
    .poem-detail .poem-content {
        padding: 1.5rem;
    }
    
    .poem-detail .poem-line {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .poem-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .poem-item-arrow {
        transform: rotate(90deg);
    }
    
    .poem-item:hover .poem-item-arrow {
        transform: rotate(90deg) translateX(5px);
    }
    
    .poem-detail .poem-header h3 {
        font-size: 1.3rem;
    }
    
    .poem-detail .poem-content {
        padding: 1rem;
    }
}

/* RML Poster Section */
.rml-poster-section {
    padding: 3rem 2rem 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 249, 250, 0.98));
    position: relative;
    overflow: hidden;
}

.rml-poster-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    pointer-events: none;
}

.rml-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.rml-heading {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease-out;
}

.rml-description-card {
    max-width: 600px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.15));
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.1);
    animation: fadeInUp 1s ease-out 0.3s both;
    transition: all 0.3s ease;
}

.rml-description-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.4);
}

.rml-description-content {
    position: relative;
    z-index: 1;
}

.rml-description-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rml-description-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.rml-description-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
    font-weight: 500;
    font-style: italic;
}

.rml-poster-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: visible;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.rml-poster-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(102, 126, 234, 0.2);
}

.rml-poster-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
    object-fit: contain;
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.rml-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent 40%);
    padding: 1.5rem 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    pointer-events: none;
}

.rml-poster-wrapper:hover .rml-overlay {
    transform: translateY(0);
}

.rml-content {
    text-align: center;
    color: white;
}

.rml-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.rml-description {
    font-size: 1.1rem;
    margin: 0.5rem 0;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.rml-features {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.rml-feature {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Featured Song Section */
.featured-song-section {
    padding: 3rem 2rem 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 249, 250, 0.98));
    position: relative;
    overflow: hidden;
}

.featured-song-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.03), rgba(118, 75, 162, 0.03));
    pointer-events: none;
}

.featured-song-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.featured-song-heading {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease-out;
}

.featured-song-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.1);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.song-info {
    text-align: center;
    margin-bottom: 2rem;
}

.song-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.song-artist {
    font-size: 1.2rem;
    color: #667eea;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.song-language {
    font-size: 1rem;
    color: #666;
    font-style: italic;
    margin: 0;
}

.song-video-player {
    margin: 2rem 0;
    text-align: center;
}

.song-description {
    margin-top: 2rem;
}

.song-about {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 1.5rem;
    text-align: center;
}

.song-lyrics-theme {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.song-lyrics-theme h4 {
    color: #667eea;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.song-lyrics-theme p {
    color: #333;
    font-size: 1rem;
    margin: 0;
    text-align: center;
    font-style: italic;
}

.scripture-quote {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 193, 7, 0.15));
    border-left: 4px solid #ffd700;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 8px;
    text-align: center;
}

.scripture-quote p {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.scripture-quote span {
    font-size: 0.9rem;
    color: #666;
    font-weight: 600;
}

.song-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.play-song-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.play-song-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.more-songs-btn {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.1);
}

.more-songs-btn:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

/* Peace Poster Section */
.peace-poster-section {
    padding: 3rem 2rem 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 249, 250, 0.95));
    position: relative;
    overflow: hidden;
}

.peace-poster-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    pointer-events: none;
}

.peace-poster-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.peace-heading {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease-out;
}

.peace-poster-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: visible;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.peace-poster-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.peace-poster-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
    object-fit: contain;
    max-width: 100%;
}

/* Removed image scale to prevent cropping */

.peace-poster-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent 30%);
    padding: 1.5rem 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    pointer-events: none;
}

.peace-poster-wrapper:hover .peace-poster-overlay {
    transform: translateY(0);
}

.peace-content {
    text-align: center;
    color: white;
}

.peace-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.peace-description {
    font-size: 1.1rem;
    margin: 0;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile responsiveness for Happy Sabbath Section */
@media (max-width: 768px) {
    .sabbath-section {
        padding: 2rem 1rem 1.5rem;
    }
    
    .sabbath-heading {
        font-size: clamp(1.5rem, 3vw, 2.5rem);
        margin-bottom: 1.5rem;
    }
    
    .sabbath-verse-card {
        max-width: 100%;
        margin: 0 auto 1.5rem;
        padding: 1.5rem;
    }
    
    .sabbath-verse-title {
        font-size: 1.3rem;
    }
    
    .sabbath-verse-text {
        font-size: 1.1rem;
    }
    
    .sabbath-verse-reference {
        font-size: 1rem;
    }
    
    .sabbath-poster-wrapper {
        max-width: 100%;
        border-radius: 15px;
        overflow: visible;
    }
    
    .sabbath-overlay {
        padding: 1.5rem;
    }
    
    .sabbath-title {
        font-size: 1.5rem;
    }
    
    .sabbath-verse {
        font-size: 1rem;
    }
    
    .sabbath-blessing {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .sabbath-section {
        padding: 1.5rem 0.5rem 1rem;
    }
    
    .sabbath-heading {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .sabbath-verse-card {
        margin: 0 auto 1rem;
        padding: 1rem;
    }
    
    .sabbath-verse-title {
        font-size: 1.2rem;
    }
    
    .sabbath-verse-text {
        font-size: 1rem;
    }
    
    .sabbath-verse-reference {
        font-size: 0.9rem;
    }
    
    .sabbath-poster-wrapper {
        border-radius: 10px;
        overflow: visible;
    }
    
    .sabbath-overlay {
        padding: 1rem;
        transform: translateY(100%);
    }
    
    .sabbath-title {
        font-size: 1.3rem;
    }
    
    .sabbath-verse {
        font-size: 0.9rem;
    }
    
    .sabbath-blessing {
        font-size: 0.8rem;
    }
}

/* Mobile responsiveness for Featured Song Section */
@media (max-width: 768px) {
    .featured-song-section {
        padding: 2rem 1rem 1.5rem;
    }
    
    .featured-song-heading {
        font-size: clamp(1.5rem, 3vw, 2.5rem);
        margin-bottom: 1.5rem;
    }
    
    .featured-song-card {
        padding: 1.5rem;
        border-radius: 15px;
    }
    
    .song-title {
        font-size: 1.6rem;
    }
    
    .song-artist {
        font-size: 1rem;
    }
    
    .song-language {
        font-size: 0.9rem;
    }
    
    .song-about {
        font-size: 1rem;
    }
    
    .song-lyrics-theme {
        padding: 1rem;
    }
    
    .song-actions {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .play-song-btn, .more-songs-btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .featured-song-section {
        padding: 1.5rem 0.5rem 1rem;
    }
    
    .featured-song-heading {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .featured-song-card {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .song-title {
        font-size: 1.4rem;
    }
    
    .song-artist {
        font-size: 0.95rem;
    }
    
    .song-language {
        font-size: 0.85rem;
    }
    
    .song-about {
        font-size: 0.95rem;
    }
    
    .song-lyrics-theme {
        padding: 0.8rem;
    }
    
    .song-lyrics-theme h4 {
        font-size: 1rem;
    }
    
    .song-lyrics-theme p {
        font-size: 0.9rem;
    }
    
    .scripture-quote {
        padding: 1rem;
    }
    
    .scripture-quote p {
        font-size: 1rem;
    }
    
    .scripture-quote span {
        font-size: 0.85rem;
    }
}

/* Extra small screens optimization */
@media (max-width: 400px) {
    .featured-song-section {
        padding: 1rem 0.3rem 0.8rem;
    }
    
    .featured-song-heading {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
    }
    
    .featured-song-card {
        padding: 0.8rem;
        border-radius: 10px;
    }
    
    .song-title {
        font-size: 1.2rem;
        line-height: 1.2;
    }
    
    .song-artist {
        font-size: 0.9rem;
    }
    
    .song-language {
        font-size: 0.8rem;
    }
    
    .song-about {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .song-lyrics-theme {
        padding: 0.6rem;
        margin-bottom: 1rem;
    }
    
    .song-lyrics-theme h4 {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }
    
    .song-lyrics-theme p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .scripture-quote {
        padding: 0.8rem;
        margin: 1rem 0;
    }
    
    .scripture-quote p {
        font-size: 0.9rem;
        line-height: 1.3;
    }
    
    .scripture-quote span {
        font-size: 0.8rem;
    }
    
    .song-actions {
        gap: 0.6rem;
        margin-top: 1.5rem;
    }
    
    .play-song-btn, .more-songs-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Ultra small screens optimization */
@media (max-width: 320px) {
    .featured-song-section {
        padding: 0.8rem 0.2rem 0.6rem;
    }
    
    .featured-song-heading {
        font-size: 1.4rem;
        margin-bottom: 0.6rem;
    }
    
    .featured-song-card {
        padding: 0.6rem;
        border-radius: 8px;
    }
    
    .song-title {
        font-size: 1.1rem;
        line-height: 1.2;
    }
    
    .song-artist {
        font-size: 0.85rem;
    }
    
    .song-language {
        font-size: 0.75rem;
    }
    
    .song-about {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    .song-lyrics-theme {
        padding: 0.5rem;
        margin-bottom: 0.8rem;
    }
    
    .song-lyrics-theme h4 {
        font-size: 0.85rem;
        margin-bottom: 0.2rem;
    }
    
    .song-lyrics-theme p {
        font-size: 0.75rem;
        line-height: 1.2;
    }
    
    .scripture-quote {
        padding: 0.6rem;
        margin: 0.8rem 0;
    }
    
    .scripture-quote p {
        font-size: 0.85rem;
        line-height: 1.2;
    }
    
    .scripture-quote span {
        font-size: 0.75rem;
    }
    
    .song-actions {
        gap: 0.5rem;
        margin-top: 1rem;
    }
    
    .play-song-btn, .more-songs-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
        min-height: 36px;
    }
    
    /* Video player optimization for ultra small screens */
    .song-video-player video {
        max-width: 100% !important;
        height: auto !important;
        border-radius: 8px !important;
        max-height: 200px !important;
    }
}

/* Logo responsive design */
@media (max-width: 768px) {
    .nav-logo {
        height: 28px;
        max-width: 100px;
    }
    
    .nav-brand h1 {
        font-size: 1.3rem;
    }
    
    .nav-brand {
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .nav-logo {
        height: 24px;
        max-width: 80px;
    }
    
    .nav-brand h1 {
        font-size: 1.1rem;
    }
    
    .nav-brand {
        gap: 0.5rem;
    }
}

/* Extra small screens optimization */
@media (max-width: 400px) {
    .nav-logo {
        height: 20px;
        max-width: 70px;
    }
    
    .nav-brand h1 {
        font-size: 1rem;
    }
    
    .nav-brand {
        gap: 0.4rem;
    }
}

/* Ultra small screens optimization */
@media (max-width: 320px) {
    .nav-logo {
        height: 18px;
        max-width: 60px;
    }
    
    .nav-brand h1 {
        font-size: 0.9rem;
    }
    
    .nav-brand {
        gap: 0.3rem;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
}

/* Mobile responsiveness for RML Poster Section */
@media (max-width: 768px) {
    .rml-poster-section {
        padding: 2rem 1rem 1.5rem;
    }
    
    .rml-heading {
        font-size: clamp(1.5rem, 3vw, 2.5rem);
        margin-bottom: 1.5rem;
    }
    
    .rml-description-card {
        max-width: 100%;
        margin: 0 auto 1.5rem;
        padding: 1.5rem;
    }
    
    .rml-description-title {
        font-size: 1.3rem;
    }
    
    .rml-description-text {
        font-size: 1.1rem;
    }
    
    .rml-description-subtitle {
        font-size: 1rem;
    }
    
    .rml-poster-wrapper {
        max-width: 100%;
        border-radius: 15px;
        overflow: visible;
        margin: 0 auto;
    }
    
    .rml-poster-image {
        border-radius: 15px;
        max-height: 60vh;
        object-fit: contain;
    }
    
    .rml-overlay {
        padding: 1.5rem;
    }
    
    .rml-title {
        font-size: 1.5rem;
    }
    
    .rml-description {
        font-size: 1rem;
    }
    
    .rml-features {
        gap: 0.8rem;
    }
    
    .rml-feature {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 480px) {
    .rml-poster-section {
        padding: 1.5rem 0.5rem 1rem;
    }
    
    .rml-heading {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .rml-description-card {
        margin: 0 auto 1rem;
        padding: 1rem;
    }
    
    .rml-description-title {
        font-size: 1.2rem;
    }
    
    .rml-description-text {
        font-size: 1rem;
    }
    
    .rml-description-subtitle {
        font-size: 0.9rem;
    }
    
    .rml-poster-wrapper {
        border-radius: 10px;
        overflow: visible;
        margin: 0 auto;
        width: 95%;
        max-width: none;
    }
    
    .rml-poster-image {
        border-radius: 10px;
        max-height: 50vh;
        object-fit: contain;
        width: 100%;
        height: auto;
    }
    
    .rml-overlay {
        padding: 1rem;
        transform: translateY(100%);
    }
    
    .rml-title {
        font-size: 1.3rem;
    }
    
    .rml-description {
        font-size: 0.9rem;
    }
    
    .rml-features {
        gap: 0.6rem;
        flex-direction: column;
        align-items: center;
    }
    
    .rml-feature {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
}

@media (max-width: 360px) {
    .rml-poster-section {
        padding: 1rem 0.3rem 0.8rem;
    }
    
    .rml-heading {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }
    
    .rml-description-card {
        margin: 0 auto 0.8rem;
        padding: 0.8rem;
    }
    
    .rml-description-title {
        font-size: 1.1rem;
    }
    
    .rml-description-text {
        font-size: 0.9rem;
    }
    
    .rml-description-subtitle {
        font-size: 0.8rem;
    }
    
    .rml-poster-wrapper {
        border-radius: 8px;
        margin: 0 auto;
        width: 98%;
    }
    
    .rml-poster-image {
        border-radius: 8px;
        max-height: 45vh;
        object-fit: contain;
        width: 100%;
        height: auto;
    }
    
    .rml-overlay {
        padding: 0.8rem;
    }
    
    .rml-title {
        font-size: 1.1rem;
    }
    
    .rml-description {
        font-size: 0.8rem;
    }
    
    .rml-features {
        gap: 0.5rem;
        flex-direction: column;
        align-items: center;
    }
    
    .rml-feature {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }
}

/* Mobile responsiveness for Peace Poster Section */
@media (max-width: 768px) {
    .peace-poster-section {
        padding: 2rem 1rem 1.5rem;
    }
    
    .peace-heading {
        font-size: clamp(1.5rem, 3vw, 2.5rem);
        margin-bottom: 1.5rem;
    }
    
    .peace-poster-wrapper {
        max-width: 100%;
        border-radius: 15px;
        overflow: visible;
    }
    
    .peace-poster-overlay {
        padding: 1.5rem;
    }
    
    .peace-title {
        font-size: 1.5rem;
    }
    
    .peace-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .peace-poster-section {
        padding: 1.5rem 0.5rem 1rem;
    }
    
    .peace-heading {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .peace-poster-wrapper {
        border-radius: 10px;
        overflow: visible;
    }
    
    .peace-poster-overlay {
        padding: 1rem;
        transform: translateY(100%);
    }
    
    .peace-title {
        font-size: 1.3rem;
    }
    
    .peace-description {
        font-size: 0.9rem;
    }
}
