:root {
            --primary: #074359;
            --secondary: #376677;
            --accent: #8B4513; 
            --light: #f8f9fa;
            --dark: #07526e;
            --white: #ffffff;
            --gray: #6c757d;
            --dark-gray: #495057;
            --brown: #8B4513;        
            --light-brown: #A0522D;  
            --dark-brown: #654321;   
            --soft-brown: #D2B48C;  
            --navy-blue: #074359;
            --highlight: #A0522D;     
            --light-highlight: #D2B48C; 
            --off-white: #f5f5f5;
            --transition: all 0.3s ease;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Times New Roman', Times, serif;
        }

        body {
            background-color: var(--off-white);
            color: var(--dark-gray);
            line-height: 1.6;
        }

        .library-container {
            max-width: 1200px;
            margin: 100px auto 50px;
            padding: 0 20px;
        }

        /* Header Section */
        .library-header {
            text-align: center;
            margin-bottom: 40px;
            padding: 30px 0;
            /* background: linear-gradient(135deg, var(--navy-blue) 0%, var(--primary) 100%); */
            color: var(--white);
            border-radius: 10px;
            /* box-shadow: 0 5px 15px rgba(0,0,0,0.1); */
            position: relative;
            overflow: hidden;
        }

        /* .library-header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('img/library-pattern.png') repeat;
            opacity: 0.1;
            z-index: 0;
        } */

        .library-header h1 {
           background: linear-gradient(to bottom, #407284, #ffffff, #407284);
            width: 50%;
            margin-left: 300px;
            border-bottom-right-radius: 50px;
            border-top-left-radius: 50px;
            font-size: 2.8rem;
            margin-bottom: 20px;
            color: var(--primary);
        }

        .library-header h2 {
            font-size: 1.8rem;
            margin-bottom: 10px;
            color: var(--highlight);
            z-index: 1;
            position: relative;
        }

        .library-header p {
            max-width: 800px;
            margin: 0 auto;
            font-size: 1.1rem;
            z-index: 1;
            position: relative;
            color: var(--highlight);
        }

        /* Content Section */
        .library-content {
            background-color: var(--white);
            padding: 40px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            margin-bottom: 40px;
            border-top: 5px solid var(--brown);
        }

        .library-content p {
            margin-bottom: 20px;
            font-size: 1.1rem;
            line-height: 1.8;
        }

        /* Highlights Section */
        .highlights-section {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-bottom: 40px;
        }

        .highlight-card {
            background-color: var(--white);
            border-radius: 10px;
            padding: 30px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            transition: var(--transition);
            border-top: 3px solid var(--brown);
        }

        .highlight-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(139, 69, 19, 0.2);
        }

        .highlight-card h3 {
            color: var(--navy-blue);
            margin-bottom: 15px;
            font-size: 1.4rem;
            display: flex;
            align-items: center;
        }

        .highlight-card h3 i {
            margin-right: 15px;
            color: var(--brown);
        }

        .highlight-card p {
            color: var(--dark-gray);
            line-height: 1.7;
        }

        /* Timeline Section */
        .timeline-section {
            background-color: var(--white);
            padding: 40px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            margin-bottom: 40px;
        }

        .timeline-section h2 {
            color: var(--navy-blue);
            text-align: center;
            margin-bottom: 40px;
            font-size: 2rem;
            position: relative;
        }

        .timeline-section h2::after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 3px;
            background-color: var(--brown);
        }

        .timeline {
            position: relative;
            padding-left: 50px;
        }

        .timeline::before {
            content: '';
            position: absolute;
            top: 0;
            left: 20px;
            height: 100%;
            width: 3px;
            background-color: var(--brown);
        }

        .timeline-item {
            position: relative;
            margin-bottom: 40px;
        }

        .timeline-year {
            position: absolute;
            left: -50px;
            top: 0;
            width: 40px;
            height: 40px;
            background-color: var(--brown);
            color: var(--white);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            box-shadow: 0 4px 10px rgba(139, 69, 19, 0.3);
        }

        .timeline-content {
            background-color: var(--off-white);
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 3px 10px rgba(0,0,0,0.05);
            border-left: 3px solid var(--navy-blue);
        }

        .timeline-content h3 {
            color: var(--navy-blue);
            margin-bottom: 10px;
        }

        /* Resources Section */
        .resources-section {
            background-color: var(--white);
            padding: 40px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

        .resources-section h2 {
            color: var(--navy-blue);
            text-align: center;
            margin-bottom: 40px;
            font-size: 2rem;
            position: relative;
        }

        .resources-section h2::after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 3px;
            background-color: var(--brown);
        }

        .resources-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
        }

        .resource-card {
            background-color: var(--off-white);
            border-radius: 8px;
            padding: 25px;
            text-align: center;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            transition: var(--transition);
            border-top: 3px solid var(--navy-blue);
        }

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

        .resource-icon {
            font-size: 2.5rem;
            color: var(--brown);
            margin-bottom: 15px;
        }

        .resource-card h3 {
            color: var(--navy-blue);
            margin-bottom: 10px;
        }

        .resource-card p {
            color: var(--dark-gray);
            font-size: 0.95rem;
        }

        /* Responsive Adjustments */
        @media (max-width: 992px) {
            .library-header h1 {
                font-size: 2.2rem;
                margin-left: 0px;
                width: 100%;
            }
            
            .library-header h2 {
                font-size: 1.6rem;
            }
        }

        @media (max-width: 768px) {
            .library-container {
                margin-top: 70px;
            }
            
            .library-header {
                padding: 20px;
            }
            
            .library-header h1 {
                font-size: 2rem;
            }
            
            .library-content, 
            .timeline-section, 
            .resources-section {
                padding: 30px 20px;
            }
            
            .timeline {
                padding-left: 40px;
            }
            
            .timeline-year {
                left: -40px;
                width: 35px;
                height: 35px;
                font-size: 0.9rem;
            }
        }

        @media (max-width: 576px) {
            .library-header h1 {
                font-size: 1.8rem;
            }
            
            .library-header h2 {
                font-size: 1.4rem;
            }
            
            .timeline::before {
                left: 15px;
            }
            
            .timeline-year {
                left: -35px;
                width: 30px;
                height: 30px;
                font-size: 0.8rem;
            }
        }