:root {
            --primary: #2E8B57;       /* SeaGreen - Primary green */
            --secondary: #3CB371;     /* MediumSeaGreen - Secondary green */
            --accent: #32CD32;        /* LimeGreen - Accent green */
            --light: #f8f9fa;
            --dark: #1a1a1a;          /* Darker for better contrast with green */
            --success: #38b000;       /* Keeping success green */
            --light-green: #e8f5e9;   /* Very light green for backgrounds */
            --medium-green: #66bb6a;  /* Medium green for accents */
        }

        body {
            font-family: 'Poppins', sans-serif;
            color: var(--dark);
            background-color: var(--light-green);
        }
        a {
                text-decoration: none;
            }
        h1, h2, h3, h4, h5 {
            font-family: 'Playfair Display', serif;
            font-weight: 700;
        }

        .navbar {
            box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
            padding: 0.8rem 1rem;
            background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
        }

        .navbar-brand {
            font-weight: 700;
            color: white !important;
            font-size: 1.8rem;
            display: flex;
            align-items: center;
        }

        .logo-img {
            height: 40px;
            margin-right: 10px;
        }

        .nav-link {
            font-weight: 500;
            padding: 0.5rem 1rem !important;
            transition: all 0.3s;
            color: rgba(255, 255, 255, 0.85) !important;
        }

        .nav-link:hover {
            color: white !important;
            transform: translateY(-2px);
        }

        .hero-section {
            background: linear-gradient(rgba(46, 139, 87, 0.9), rgba(60, 179, 113, 0.85)), url('https://images.unsplash.com/photo-1507842217343-583bb7270b66?ixlib=rb-4.0.3') center/cover no-repeat;
            color: white;
            padding: 5rem 0;
            margin-bottom: 3rem;
            border-radius: 0 0 30px 30px;
        }

        .search-box {
            background: rgba(255, 255, 255, 0.95);
            padding: 2rem;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
            position: relative;
        }

        .search-container {
            position: relative;
        }

        .search-input-group {
            display: flex;
        }

        .search-input {
            flex: 1;
            padding: 0.75rem 1rem;
            border: 2px solid #e9ecef;
            border-radius: 8px 0 0 8px;
            font-size: 1rem;
            transition: all 0.3s;
        }

        .search-input:focus {
            outline: none;
            border-color: var(--primary);
        }
        .form-label{
            color: #1a1a1a;
        }
        .form-check-label{
            color: #1a1a1a;
        }
                .search-btn {
            padding: 0.75rem 1.5rem;
            background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
            color: white;
            border: none;
            border-radius: 0 8px 8px 0;
            cursor: pointer;
            transition: all 0.3s;
        }

        .search-btn:hover {
            background: linear-gradient(90deg, var(--secondary) 0%, var(--accent) 100%);
        }

        .search-results {
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            background: white;
            border-radius: 0 0 8px 8px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
            z-index: 1000;
            max-height: 400px;
            overflow-y: auto;
            display: none;
        }

        .search-result-item {
            display: flex;
            align-items: center;
            padding: 12px 15px;
            border-bottom: 1px solid #eee;
            transition: background-color 0.2s;
            cursor: pointer;
        }

        .search-result-item:hover {
            background-color: #f8f9fa;
        }

        .search-result-img {
            width: 45px;
            height: 60px;
            object-fit: cover;
            border-radius: 4px;
            margin-right: 15px;
        }

        .search-result-info {
            flex: 1;
        }

        .search-result-title {
            font-weight: 600;
            margin-bottom: 3px;
            font-size: 0.95rem;
		color:black;
        }

        .search-result-author {
            color: #6c757d;
            font-size: 0.85rem;
        }

        .btn-primary {
            background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
            border: none;
            padding: 0.7rem 1.8rem;
            border-radius: 8px;
            font-weight: 500;
            transition: all 0.3s;
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            background: linear-gradient(90deg, var(--secondary) 0%, var(--accent) 100%);
        }

        .section-title {
            position: relative;
            margin-bottom: 2.5rem;
            padding-bottom: 0.8rem;
            text-align: center;
            color: var(--primary);
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
            border-radius: 2px;
        }

        .book-card {
            transition: all 0.3s;
            border: none;
            border-radius: 12px;
            overflow: hidden;
            height: 100%;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.09);
            background: white;
        }

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

        .book-cover {
            height: 220px;
            object-fit: cover;
            transition: transform 0.5s;
        }

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

        .book-card .card-body {
            padding: 1.5rem;
        }

        .book-title {
            font-size: 1.2rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            color: var(--dark);
        }

        .book-author {
            color: var(--medium-green);
            font-size: 0.9rem;
            margin-bottom: 1rem;
        }

        .journal-card {
            transition: all 0.3s;
            border: none;
            border-radius: 12px;
            overflow: hidden;
            height: 100%;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.09);
            background: white;
        }

        .journal-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
        }

        .journal-cover {
            height: 180px;
            object-fit: cover;
        }

        .journal-card .card-body {
            padding: 1.5rem;
        }

        .journal-title {
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            color: var(--dark);
        }

        .journal-meta {
            color: var(--medium-green);
            font-size: 0.85rem;
            margin-bottom: 1rem;
        }

        .action-buttons .btn {
            padding: 0.5rem 1rem;
            font-size: 0.9rem;
            border-radius: 6px;
        }

        .btn-view {
            background: var(--primary);
            color: white;
        }

        .btn-view:hover {
            background: var(--secondary);
            color: white;
        }

        .btn-download {
            background: var(--success);
            color: white;
        }

        .btn-download:hover {
            background: var(--accent);
            color: white;
        }

        footer {
            background: linear-gradient(90deg, #1a5632 0%, #1e7a4c 100%);
            color: white;
            padding: 4rem 0 2rem;
            margin-top: 5rem;
        }

        .footer-title {
            font-weight: 700;
            margin-bottom: 1.5rem;
            position: relative;
            padding-bottom: 0.8rem;
            color: white;
        }

        .footer-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 3px;
            background: var(--accent);
            border-radius: 2px;
        }

        .footer-link {
            color: #e8f5e9;
            text-decoration: none;
            transition: color 0.3s;
            margin-bottom: 0.8rem;
            display: block;
        }

        .footer-link:hover {
            color: white;
        }

        .social-icon {
            width: 40px;
            height: 40px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            margin-right: 0.7rem;
            transition: all 0.3s;
        }

        .social-icon:hover {
            background: var(--accent);
            transform: translateY(-3px);
        }

        .copyright {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 1.5rem;
            margin-top: 3rem;
            color: #e8f5e9;
        }

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

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

        /* Badge styles */
        .badge.bg-primary {
            background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%) !important;
        }

        .badge.bg-info {
            background: linear-gradient(90deg, var(--secondary) 0%, var(--accent) 100%) !important;
        }

        .badge.bg-success {
            background: linear-gradient(90deg, var(--success) 0%, var(--accent) 100%) !important;
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            .hero-section {
                padding: 3rem 0;
            }

            .section-title {
                font-size: 1.8rem;
            }

            .search-results {
                max-height: 300px;
            }

            .search-input-group {
                flex-direction: column;
            }

            .search-input {
                border-radius: 8px;
                margin-bottom: 10px;
            }

            .search-btn {
                border-radius: 8px;
                width: 100%;
            }
        }
