/* About Library Specific Styles */

/* Page Header */
.about-header {
    background: linear-gradient(135deg, #003060 0%, #055C9D 50%, #0E86D4 100%);
    color: white;
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.about-header:before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    top: -150px;
    right: -150px;
    animation: float 6s ease-in-out infinite;
}

.about-header:after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    bottom: -100px;
    left: -100px;
    animation: float 8s ease-in-out infinite reverse;
}

.about-header h1 {
    font-family: 'Alegreya SC', serif;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
	color:#fff;
}

.about-header .lead {
    font-size: 20px;
    font-weight: 300;
    opacity: 0.9;
    position: relative;
    z-index: 1;
	text-align:center;
	color:#fff;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Library Overview Section */
.library-overview {
    padding: 80px 0;
    background: linear-gradient(to bottom, #f9fbff, white);
    position: relative;
}

.library-overview:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239CC6F4' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.mission-content {
    position: relative;
    z-index: 1;
}

.mission-content h4 {
    color: #055C9D;
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    margin: 30px 0 15px 0;
    font-weight: 500;
}

.mission-content h4 i {
    margin-right: 10px;
    color: #0E86D4;
}

.values-list {
    list-style: none;
    padding: 0;
}

.values-list li {
    margin-bottom: 15px;
    padding: 15px;
    background: rgba(104, 187, 227, 0.1);
    border-left: 4px solid #0E86D4;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.values-list li:hover {
    background: rgba(104, 187, 227, 0.15);
    transform: translateX(5px);
}

/* Library Stats Card */
.library-stats-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 48, 96, 0.1);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    height: fit-content;
}

.library-stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 48, 96, 0.15);
}

.library-stats-card h3 {
    color: #003060;
    font-family: 'Alegreya SC', serif;
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
    border-bottom: 2px solid #68BBE3;
    padding-bottom: 15px;
    font-weight: 700;
}

.library-stats-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.library-stats-card ul li {
    margin-bottom: 0;
    transition: all 0.3s ease;
}

.library-stats-card ul li a {
    display: block;
    padding: 18px 20px;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f8ff 100%);
    border-radius: 12px;
    text-decoration: none;
    color: #003060;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 15px;
    border-left: 4px solid #68BBE3;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateX(0);
}

.library-stats-card ul li a:before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0E86D4, #68BBE3);
    transition: all 0.4s ease;
    z-index: -1;
}

.library-stats-card ul li a:after {
    content: "→";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%) translateX(30px);
    opacity: 0;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
}

.library-stats-card ul li a:hover {
    color: white;
    border-left-color: #A5D8FF;
    transform: translateX(8px);
    padding-right: 50px;
    box-shadow: 0 8px 25px rgba(14, 134, 212, 0.3);
}

.library-stats-card ul li a:hover:before {
    left: 0;
}

.library-stats-card ul li a:hover:after {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.library-stats-card ul li:last-child a {
    margin-bottom: 0;
}

/* Additional styling for better visual hierarchy */
.library-stats-card ul li a:hover {
    animation: gentle-pulse 0.6s ease-in-out;
}

@keyframes gentle-pulse {
    0% {
        transform: translateX(8px) scale(1);
    }
    50% {
        transform: translateX(8px) scale(1.02);
    }
    100% {
        transform: translateX(8px) scale(1);
    }
}

/* Library History Section */
.library-history {
    padding: 80px 0;
    background: white;
}

.library-history h2 {
    color: #055C9D;
    font-family: 'Alegreya SC', serif;
    font-size: 36px;
    margin-bottom: 30px;
    position: relative;
}

.library-history h2:after {
    content: "";
    position: absolute;
    width: 80px;
    height: 4px;
    background: #68BBE3;
    bottom: -10px;
    left: 0;
}

.timeline {
    margin-top: 40px;
}

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

.timeline-marker {
    position: absolute;
    left: 0;
    top: 8px;
    width: 20px;
    height: 20px;
    background: #0E86D4;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 4px #68BBE3;
}

.timeline-item:before {
    content: "";
    position: absolute;
    left: 9px;
    top: 28px;
    width: 2px;
    height: calc(100% + 10px);
    background: #68BBE3;
}

.timeline-item:last-child:before {
    display: none;
}

.timeline-item h5 {
    color: #003060;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Services Section */
.library-services {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #fff 100%);
    position: relative;
}

.library-services:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%239CC6F4' fill-opacity='0.1' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 48, 96, 0.1);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 48, 96, 0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #0E86D4, #68BBE3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, #003060, #055C9D);
    transform: scale(1.1);
}

.service-icon i {
    font-size: 32px;
    color: white;
}

.service-card h4 {
    color: #003060;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.service-card p {
    color: #656565;
    line-height: 1.6;
}

/* Library Rules Section */
.library-rules {
    padding: 80px 0;
    background: white;
}

.rules-content h4 {
    color: #055C9D;
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    margin: 30px 0 20px 0;
    border-left: 4px solid #0E86D4;
    padding-left: 15px;
}

.rules-content ul {
    list-style: none;
    padding: 0;
}

.rules-content ul li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 30px;
}

.rules-content ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0E86D4;
    font-weight: bold;
    font-size: 16px;
}

.borrowing-table .table {
    border: 2px solid #68BBE3;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 20px;
}

.borrowing-table .table th {
    background: #003060;
    color: white;
    border: none;
    padding: 15px;
    font-weight: 600;
}

.borrowing-table .table td {
    padding: 12px 15px;
    border-color: #e9ecef;
}

.borrowing-table .table tbody tr:hover {
    background: #f8f9ff;
}

/* Timings and Contact Cards */
.timings-card, .contact-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 48, 96, 0.1);
    transition: all 0.3s ease;
}

.timings-card:hover, .contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 48, 96, 0.15);
}

.timings-card h3, .contact-card h3 {
    color: #003060;
    font-size: 20px;
    margin-bottom: 25px;
    text-align: center;
    border-bottom: 2px solid #68BBE3;
    padding-bottom: 15px;
}

.timings-card h3 i, .contact-card h3 i {
    margin-right: 10px;
    color: #0E86D4;
}

.timing-section {
    margin-bottom: 25px;
    padding: 15px;
    background: #f8f9ff;
    border-radius: 8px;
}

.timing-section h5 {
    color: #055C9D;
    font-weight: 600;
    margin-bottom: 10px;
}

.contact-info p {
    margin-bottom: 15px;
    color: #656565;
}

.contact-info i {
    color: #0E86D4;
    width: 20px;
    margin-right: 10px;
}

/* Staff Section */
.library-staff {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #fff 100%);
}

.staff-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 48, 96, 0.1);
    transition: all 0.3s ease;
}

.staff-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 48, 96, 0.2);
}

.staff-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.staff-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.staff-card:hover .staff-image img {
    transform: scale(1.05);
}

.staff-info {
    padding: 25px;
}

.staff-info h4 {
    color: #003060;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

.designation {
    color: #0E86D4;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 5px;
}

.qualification {
    color: #656565;
    font-style: italic;
    margin-bottom: 15px;
}

/* Call to Action Section */
.library-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #003060 0%, #055C9D 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.library-cta:before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    top: -200px;
    right: -200px;
    animation: float 8s ease-in-out infinite;
}

.library-cta:after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    bottom: -150px;
    left: -150px;
    animation: float 6s ease-in-out infinite reverse;
}

.library-cta h2 {
    font-family: 'Alegreya SC', serif;
    font-size: 36px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
	color:#fff;
}

.library-cta p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
	color:#fff;
}

.cta-buttons {
    position: relative;
    z-index: 1;
}

.cta-buttons .btn {
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cta-buttons .btn-primary {
    background: linear-gradient(45deg, #0E86D4, #68BBE3);
    border: none;
    color: white;
}

.cta-buttons .btn-primary:hover {
    background: linear-gradient(45deg, #68BBE3, #A5D8FF);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(104, 187, 227, 0.4);
}

.cta-buttons .btn-outline-primary {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.cta-buttons .btn-outline-primary:hover {
    background: white;
    color: #003060;
    transform: translateY(-3px);
}

/* Library Collection Styles */
.library-collection {
    position: relative;
    z-index: 1;
}

.library-collection h2 {
    color: #055C9D;
    font-family: 'Alegreya SC', serif;
    font-size: 36px;
    margin-bottom: 30px;
    position: relative;
}

.library-collection h2:after {
    content: "";
    position: absolute;
    width: 80px;
    height: 4px;
    background: #68BBE3;
    bottom: -10px;
    left: 0;
}

/* Collection Table Styling */
.library-collection > table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 48, 96, 0.1);
    border: 2px solid #68BBE3;
}

.library-collection > table th {
    background: linear-gradient(135deg, #003060 0%, #055C9D 100%);
    color: white;
    padding: 20px 15px;
    text-align: left;
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.library-collection > table th:first-child {
    width: 60%;
}

.library-collection > table th:last-child {
    width: 40%;
    text-align: center;
}

.library-collection > table td {
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
    font-weight: 500;
}

.library-collection > table td:first-child {
    color: #003060;
    font-weight: 600;
    border-right: 1px solid #e9ecef;
}

.library-collection > table td:last-child {
    text-align: center;
    color: #0E86D4;
    font-weight: 700;
    font-size: 16px;
}

.library-collection > table tbody tr {
    transition: all 0.3s ease;
}

.library-collection > table tbody tr:nth-child(even) {
    background: #f8f9ff;
}

.library-collection > table tbody tr:hover {
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 48, 96, 0.1);
}

.library-collection > table tbody tr:hover td:first-child {
    color: #055C9D;
}

.library-collection > table tbody tr:hover td:last-child {
    color: #003060;
    font-size: 18px;
}

/* Collection Statistics Summary */
.collection-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 48, 96, 0.1);
    border-left: 4px solid #0E86D4;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 48, 96, 0.15);
    border-left-color: #003060;
}

.stat-card h4 {
    color: #003060;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-card p {
    color: #656565;
    font-weight: 500;
    margin: 0;
}

/* Journals and Newspapers Section */
.library-collection h4 {
    color: #055C9D;
    font-family: 'Oswald', sans-serif;
    font-size: 26px;
    margin: 40px 0 25px 0;
    font-weight: 600;
    border-left: 5px solid #0E86D4;
    padding-left: 15px;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f8ff 100%);
    padding: 15px 20px;
    border-radius: 8px;
    position: relative;
}

.library-collection h4 i {
    margin-right: 10px;
    color: #0E86D4;
    font-size: 24px;
}

.library-collection h4:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 100%;
    background: linear-gradient(135deg, #0E86D4, #68BBE3);
    opacity: 0.1;
    border-radius: 0 8px 8px 0;
}

/* Journals and Newspapers Lists */
.library-collection .values-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-bottom: 40px;
}

.library-collection .values-list li {
    background: white;
    padding: 18px 20px;
    border-radius: 10px;
    border-left: 4px solid #68BBE3;
    box-shadow: 0 3px 15px rgba(0, 48, 96, 0.08);
    transition: all 0.3s ease;
    font-weight: 500;
    color: #003060;
    position: relative;
    overflow: hidden;
}

.library-collection .values-list li:before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9ff, #e6f3ff);
    transition: all 0.4s ease;
    z-index: -1;
}

.library-collection .values-list li:hover {
    transform: translateX(8px) translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 48, 96, 0.15);
    border-left-color: #0E86D4;
    color: #055C9D;
}

.library-collection .values-list li:hover:before {
    left: 0;
}

.library-collection .values-list li:after {
    content: "📖";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
    font-size: 18px;
}

.library-collection .values-list li:hover:after {
    opacity: 1;
}

/* Responsive Design for Collection */
@media (max-width: 768px) {
    .library-collection > table {
        font-size: 14px;
    }
    
    .library-collection > table th,
    .library-collection > table td {
        padding: 12px 8px;
    }
    
    .library-collection h4 {
        font-size: 22px;
        padding: 12px 15px;
    }
    
    .library-collection .values-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .library-collection .values-list li {
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .library-collection > table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .library-collection h2 {
        font-size: 28px;
    }
    
    .library-collection h4 {
        font-size: 20px;
        padding: 10px 12px;
    }
}

/* Active navigation link */
.top-menu li a.active {
    color: #68BBE3 !important;
    font-weight: 600;
}

.top-menu li a.active:after {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-header h1 {
        font-size: 32px;
    }
    
    .about-header .lead {
        font-size: 16px;
    }
    
    .library-overview, .library-history, .library-services, .library-rules, .library-staff, .library-cta {
        padding: 50px 0;
    }
    
    .service-card {
        margin-bottom: 30px;
    }
    
    .cta-buttons .btn {
        display: block;
        margin-bottom: 15px;
        text-align: center;
    }
    
    .cta-buttons .btn.ms-3 {
        margin-left: 0 !important;
    }
}

@media (max-width: 576px) {
    .about-header {
        padding: 60px 0 40px;
    }
    
    .about-header h1 {
        font-size: 28px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon i {
        font-size: 24px;
    }
    
    .staff-image {
        height: 200px;
    }
}

/*===============================Photo Gallery===================================*/
.photo-gallery-area {
    width: 100%;
    float: left;
    height: auto;
    overflow: hidden;
    padding: 20px;
}

.photo-gallery-area p {
    padding: 0px 1%;
}

.photo-gallery-area ol {
    padding: 0px;
    margin: 20px 10px;
}

.photo-gallery-area ol li {
    padding: 3px 7px;
    font-size: 14px;
    line-height: 24px;
    text-align: justify;
    list-style: upper-roman;
    list-style-position: inside;
}

.photo-gallery-area ul li {
    padding: 7px;
    font-size: 14px;
    line-height: 24px;
    text-align: justify;
    list-style-position: inside;
}

.photo-gallery-area ul li:before {    
    font-family: 'FontAwesome';
    content: '\f105';
    margin: 0 10px 0 0px;
    color: #002147;
}

.photo-gallery-area li i {
    margin-right: 5px;
    color: #69a37b;
    font-size: 22px;
}

.photo-gallery-area li em {
    margin-right: 5px;
    color: #69a37b;
    font-size: 22px;
}

.photo-gallery-area table {
    width: 95%;
    margin: 2% 1%;
    padding: 1%;
    border: #404f48 1px solid;
    font-size: 14px;
    line-height: 24px;
    text-align: justify;
}

.photo-gallery-area table tr:nth-child(odd) {
    background-color: #f1f1f1;
}

.photo-gallery-area table tr:nth-child(even) {
    background-color: #fafafa;
}

.photo-gallery-area table tr td {
    padding: 5px;
    text-align: left;
}

.photo-gallery-area table tr td a {
    padding: 4px 8px;
    background-color: #002147;
    color: #FFF;
}

.photo-gallery-area table tr th {
    background-color: #002147;
    color: #d9fde5;
    text-align: center;
}

/* Fixed E-Resources Links */
.photo-gallery-area a {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    z-index: 1;
}

.photo-gallery-area a img {
    width: 100%;
    height: auto;
    display: block;
    border: 0;
    transition: all 0.3s ease;
}

.photo-gallery-area h3 {
    border-bottom: #504025 1px dotted;
    color: #504025;
    margin: 20px 0px;
    width: 100%;
    float: none;
    display: block;
    clear: both;
}

/* Enhanced Thumb Cover Styles for Better Link Functionality */
.thumb-cover {
    margin: 10px 0px;
    padding: 0px;
    float: left;
    height: auto;
    overflow: hidden;
    -webkit-box-shadow: 0px 0px 14px -1px rgba(153,153,153,1);
    -moz-box-shadow: 0px 0px 14px -1px rgba(153,153,153,1);
    box-shadow: 0px 0px 14px -1px rgba(153,153,153,1);
    -webkit-border-radius: 27px;
    -moz-border-radius: 27px;
    border-radius: 27px;
    transition: all 0.3s ease;
    position: relative;
}

/* Enhanced Publication Thumb Link Styles */
.publication-thumb {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    z-index: 10;
    border-radius: 27px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.publication-thumb:hover,
.publication-thumb:focus,
.publication-thumb:active {
    text-decoration: none;
    outline: none;
    transform: scale(1.05);
}

.publication-thumb img {
    width: 100%;
    height: auto;
    display: block;
    border: 0;
    border-radius: 27px;
    transition: all 0.3s ease;
}

/* Hover Effects for Thumb Cover */
.thumb-cover:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 25px rgba(153,153,153,0.3);
}

.thumb-cover:hover .publication-thumb img {
    transform: scale(1.1);
}

/* Ensure Links are Clickable */
.photo-gallery-area .publication-thumb {
    pointer-events: auto;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Add a subtle overlay on hover to indicate clickability */
.publication-thumb:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 48, 96, 0);
    z-index: 1;
    transition: all 0.3s ease;
    border-radius: 27px;
}

.publication-thumb:hover:before {
    background: rgba(0, 48, 96, 0.1);
}

/* Add a small external link icon */
.publication-thumb:after {
    content: "🔗";
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    z-index: 2;
}

.publication-thumb:hover:after {
    opacity: 1;
    transform: scale(1);
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .thumb-cover {
        margin: 15px 0;
    }
    
    .publication-thumb:after {
        width: 25px;
        height: 25px;
        font-size: 10px;
        top: 8px;
        right: 8px;
    }
}

/* Fix for any potential z-index issues */
.photo-gallery-area {
    position: relative;
    z-index: 1;
}

.photo-gallery-area .row {
    position: relative;
    z-index: 1;
}

/*===============================Job Sites Styles===================================*/

/* Job Sites Grid Layout */
.job-sites-grid {
    margin-top: 40px;
}

.job-category-title {
    color: #055C9D;
    font-family: 'Oswald', sans-serif;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px;
    padding: 20px 25px;
    background: linear-gradient(135deg, #f8f9ff 0%, #e6f3ff 100%);
    border-left: 5px solid #0E86D4;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.job-category-title:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 100%;
    background: linear-gradient(135deg, #0E86D4, #68BBE3);
    opacity: 0.1;
    border-radius: 0 10px 10px 0;
}

.job-category-title i {
    margin-right: 15px;
    color: #0E86D4;
    font-size: 26px;
}

/* Job Site Cards */
.job-site-card {
    background: white;
    padding: 30px 25px;
    border-radius: 15px;
    text-align: center;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 48, 96, 0.1);
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.job-site-card:before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9ff, #e6f3ff);
    transition: all 0.4s ease;
    z-index: -1;
}

.job-site-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 48, 96, 0.2);
    border-color: #68BBE3;
}

.job-site-card:hover:before {
    left: 0;
}

.job-site-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #0E86D4, #68BBE3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.job-site-card:hover .job-site-icon {
    background: linear-gradient(135deg, #003060, #055C9D);
    transform: scale(1.1) rotate(5deg);
}

.job-site-icon i {
    font-size: 32px;
    color: white;
}

.job-site-card h4 {
    color: #003060;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: 'Oswald', sans-serif;
    position: relative;
    z-index: 1;
}

.job-site-card p {
    color: #656565;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 14px;
    position: relative;
    z-index: 1;
}

.job-site-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    background: linear-gradient(135deg, #0E86D4, #68BBE3);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.job-site-link:before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #003060, #055C9D);
    transition: all 0.3s ease;
    z-index: -1;
}

.job-site-link:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(14, 134, 212, 0.4);
    text-decoration: none;
}

.job-site-link:hover:before {
    left: 0;
}

.job-site-link i {
    transition: all 0.3s ease;
}

.job-site-link:hover i {
    transform: translateX(3px);
}

/* Career Tips Section */
.career-tips-section {
    margin-top: 60px;
    padding: 50px 30px;
    background: linear-gradient(135deg, #f0f9ff 0%, #fff 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.career-tips-section:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%239CC6F4' fill-opacity='0.1' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
}

.career-tips-section h3 {
    color: #003060;
    font-family: 'Alegreya SC', serif;
    font-size: 32px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.career-tips-section h3 i {
    margin-right: 15px;
    color: #0E86D4;
}

.tip-card {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 48, 96, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid #68BBE3;
    position: relative;
    z-index: 1;
}

.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 48, 96, 0.15);
    border-top-color: #0E86D4;
}

.tip-card i {
    font-size: 40px;
    color: #0E86D4;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.tip-card:hover i {
    color: #003060;
    transform: scale(1.1);
}

.tip-card h5 {
    color: #003060;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: 'Oswald', sans-serif;
}

.tip-card p {
    color: #656565;
    line-height: 1.6;
    font-size: 14px;
    margin: 0;
}

/* Responsive Design for Job Sites */
@media (max-width: 992px) {
    .job-category-title {
        font-size: 24px;
        padding: 15px 20px;
    }
    
    .job-site-card {
        margin-bottom: 30px;
    }
    
    .career-tips-section {
        padding: 40px 20px;
    }
}

@media (max-width: 768px) {
    .job-category-title {
        font-size: 22px;
        padding: 12px 15px;
    }
    
    .job-category-title i {
        font-size: 22px;
        margin-right: 10px;
    }
    
    .job-site-icon {
        width: 60px;
        height: 60px;
    }
    
    .job-site-icon i {
        font-size: 24px;
    }
    
    .job-site-card h4 {
        font-size: 18px;
    }
    
    .career-tips-section h3 {
        font-size: 26px;
    }
    
    .tip-card {
        margin-bottom: 20px;
    }
    
    .tip-card i {
        font-size: 32px;
    }
}

@media (max-width: 576px) {
    .job-sites-grid {
        margin-top: 20px;
    }
    
    .job-category-title {
        font-size: 20px;
        padding: 10px 12px;
        margin-bottom: 20px;
    }
    
    .job-site-card {
        padding: 25px 20px;
    }
    
    .career-tips-section {
        margin-top: 40px;
        padding: 30px 15px;
    }
    
    .career-tips-section h3 {
        font-size: 24px;
    }
}

/*===============================Contact Us Styles===================================*/

/* Contact Methods Grid */
.contact-methods-grid {
    margin-bottom: 60px;
}

.contact-method-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 48, 96, 0.1);
    border-top: 4px solid #68BBE3;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-method-card:before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9ff, #e6f3ff);
    transition: all 0.4s ease;
    z-index: -1;
}

.contact-method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 48, 96, 0.2);
    border-top-color: #0E86D4;
}

.contact-method-card:hover:before {
    left: 0;
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #0E86D4, #68BBE3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.contact-method-card:hover .contact-icon {
    background: linear-gradient(135deg, #003060, #055C9D);
    transform: scale(1.1);
}

.contact-icon i {
    font-size: 32px;
    color: white;
}

.contact-method-card h4 {
    color: #003060;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Oswald', sans-serif;
}

.contact-method-card p {
    color: #656565;
    line-height: 1.8;
    margin: 0;
}

.contact-method-card a {
    color: #0E86D4;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-method-card a:hover {
    color: #003060;
    text-decoration: underline;
}

/* Section Titles */
.section-title {
    color: #055C9D;
    font-family: 'Oswald', sans-serif;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px;
    padding: 20px 25px;
    background: linear-gradient(135deg, #f8f9ff 0%, #e6f3ff 100%);
    border-left: 5px solid #0E86D4;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.section-title:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 100%;
    background: linear-gradient(135deg, #0E86D4, #68BBE3);
    opacity: 0.1;
    border-radius: 0 10px 10px 0;
}

.section-title i {
    margin-right: 15px;
    color: #0E86D4;
    font-size: 26px;
}

/* Contact Form Section */
.contact-form-section {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 48, 96, 0.1);
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
}

.contact-form-section:hover {
    border-color: #68BBE3;
    box-shadow: 0 10px 30px rgba(0, 48, 96, 0.15);
}

.contact-form .form-floating > .form-control,
.contact-form .form-floating > .form-select {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 1rem 0.75rem;
    transition: all 0.3s ease;
}

.contact-form .form-floating > .form-control:focus,
.contact-form .form-floating > .form-select:focus {
    border-color: #68BBE3;
    box-shadow: 0 4px 15px rgba(104, 187, 227, 0.2);
}

.contact-form .form-floating > label {
    color: #656565;
    font-weight: 500;
}

.contact-form .btn-primary {
    background: linear-gradient(135deg, #0E86D4, #68BBE3);
    border: none;
    padding: 15px 30px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-form .btn-primary:hover {
    background: linear-gradient(135deg, #003060, #055C9D);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 134, 212, 0.4);
}

/* Contact Sidebar Cards */
.contact-sidebar-card {
    background: white;
    padding: 30px 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 48, 96, 0.1);
    border-left: 4px solid #68BBE3;
    transition: all 0.3s ease;
}

.contact-sidebar-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 48, 96, 0.15);
    border-left-color: #0E86D4;
}

.contact-sidebar-card h4 {
    color: #003060;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    font-family: 'Oswald', sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-sidebar-card h4 i {
    color: #0E86D4;
    font-size: 18px;
}

/* Hours List */
.hours-list {
    space-y: 15px;
}

.hour-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: #f8f9ff;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.hour-item:hover {
    background: #e6f3ff;
    transform: translateX(3px);
}

.hour-item.special {
    background: linear-gradient(135deg, #68BBE3, #A5D8FF);
    color: white;
}

.hour-item.special:hover {
    background: linear-gradient(135deg, #0E86D4, #68BBE3);
}

.hour-item .day {
    font-weight: 600;
    color: #003060;
}

.hour-item.special .day {
    color: white;
}

.hour-item .time {
    font-weight: 500;
    color: #0E86D4;
}

.hour-item.special .time {
    color: white;
    font-weight: 600;
}

/* Contact Person */
.contact-person {
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9ff;
    border-radius: 10px;
    border-left: 3px solid #68BBE3;
    transition: all 0.3s ease;
}

.contact-person:hover {
    background: #e6f3ff;
    border-left-color: #0E86D4;
    transform: translateX(5px);
}

.contact-person:last-child {
    margin-bottom: 0;
}

.contact-person h5 {
    color: #003060;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: 'Oswald', sans-serif;
}

.contact-person p {
    color: #656565;
    line-height: 1.8;
    margin: 0;
}

.contact-person a {
    color: #0E86D4;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-person a:hover {
    color: #003060;
    text-decoration: underline;
}

.contact-person i {
    width: 18px;
    margin-right: 8px;
    color: #68BBE3;
}

/* Quick Links */
.quick-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: #f8f9ff;
    border-radius: 10px;
    text-decoration: none;
    color: #003060;
    font-weight: 600;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.quick-link:hover {
    background: #e6f3ff;
    color: #0E86D4;
    text-decoration: none;
    transform: translateX(5px);
    border-left-color: #68BBE3;
}

.quick-link i {
    color: #68BBE3;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.quick-link:hover i {
    color: #0E86D4;
}

/* FAQ Section */
.faq-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #fff 100%);
    padding: 50px 40px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.faq-section:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%239CC6F4' fill-opacity='0.1' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
}

.faq-item {
    background: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 3px 15px rgba(0, 48, 96, 0.08);
    border-left: 4px solid #68BBE3;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 48, 96, 0.15);
    border-left-color: #0E86D4;
}

.faq-item h5 {
    color: #003060;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
}

.faq-item p {
    color: #656565;
    line-height: 1.7;
    margin: 0;
}

/* Map Section */
.map-section {
    text-align: center;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 48, 96, 0.15);
    margin-bottom: 30px;
}

.map-info {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 48, 96, 0.1);
}

.map-info .col-md-4 {
    padding: 20px;
    transition: all 0.3s ease;
}

.map-info .col-md-4:hover {
    transform: translateY(-3px);
}

.map-info i {
    font-size: 40px;
    color: #0E86D4;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.map-info .col-md-4:hover i {
    color: #003060;
    transform: scale(1.1);
}

.map-info h6 {
    color: #003060;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: 'Oswald', sans-serif;
}

.map-info p {
    color: #656565;
    margin: 0;
}

/* Responsive Design for Contact Page */
@media (max-width: 992px) {
    .contact-form-section {
        padding: 30px 25px;
        margin-bottom: 40px;
    }
    
    .contact-sidebar-card {
        margin-bottom: 30px;
    }
    
    .faq-section {
        padding: 40px 25px;
    }
}

@media (max-width: 768px) {
    .contact-method-card {
        margin-bottom: 30px;
        padding: 30px 20px;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
    }
    
    .contact-icon i {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 24px;
        padding: 15px 20px;
    }
    
    .section-title i {
        font-size: 22px;
        margin-right: 10px;
    }
    
    .contact-form-section {
        padding: 25px 20px;
    }
    
    .contact-sidebar-card {
        padding: 25px 20px;
    }
    
    .faq-section {
        padding: 30px 20px;
    }
    
    .faq-item {
        padding: 20px;
    }
    
    .map-info {
        padding: 25px 15px;
    }
    
    .map-info i {
        font-size: 32px;
    }
}

@media (max-width: 576px) {
    .contact-methods-grid {
        margin-bottom: 40px;
    }
    
    .contact-method-card {
        padding: 25px 15px;
    }
    
    .contact-method-card h4 {
        font-size: 20px;
    }
    
    .section-title {
        font-size: 22px;
        padding: 12px 15px;
    }
    
    .hour-item {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
    
    .contact-person {
        padding: 15px;
    }
    
    .faq-item {
        padding: 18px;
    }
    
    .faq-item h5 {
        font-size: 16px;
    }
}

/*===============================Library Layout Styles===================================*/

/* Layout Showcase */
.layout-showcase {
    margin-bottom: 60px;
}

.layout-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 48, 96, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.layout-image-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 48, 96, 0.3);
}

.layout-image {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.3s ease;
}

.layout-image-container:hover .layout-image {
    transform: scale(1.02);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 48, 96, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
}

.layout-image-container:hover .image-overlay {
    background: rgba(0, 48, 96, 0.1);
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: white;
    background: rgba(0, 48, 96, 0.8);
    padding: 20px 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.layout-image-container:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content i {
    font-size: 32px;
    margin-bottom: 10px;
    color: #68BBE3;
}

.overlay-content p {
    margin: 0;
    font-weight: 600;
    font-size: 16px;
}

/* Library Sections Guide */
.library-sections-guide {
    background: linear-gradient(135deg, #f0f9ff 0%, #fff 100%);
    padding: 50px 40px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.library-sections-guide:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%239CC6F4' fill-opacity='0.1' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
}

.facility-category-title {
    color: #055C9D;
    font-family: 'Oswald', sans-serif;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px;
    padding: 20px 25px;
    background: linear-gradient(135deg, #68BBE3, #A5D8FF);
    color: white;
    border-radius: 15px;
    position: relative;
    z-index: 1;
    text-align: center;
    box-shadow: 0 5px 20px rgba(104, 187, 227, 0.3);
}

.facility-category-title i {
    margin-right: 15px;
    font-size: 26px;
}

/* Facility Cards */
.facility-card {
    background: white;
    padding: 35px 30px;
    border-radius: 15px;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 48, 96, 0.1);
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.facility-card:before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9ff, #e6f3ff);
    transition: all 0.4s ease;
    z-index: -1;
}

.facility-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 48, 96, 0.2);
    border-color: #68BBE3;
}

.facility-card:hover:before {
    left: 0;
}

.facility-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #0E86D4, #68BBE3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.facility-card:hover .facility-icon {
    background: linear-gradient(135deg, #003060, #055C9D);
    transform: scale(1.1) rotate(5deg);
}

.facility-icon i {
    font-size: 28px;
    color: white;
}

.facility-card h5 {
    color: #003060;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: 'Oswald', sans-serif;
    text-align: center;
}

.facility-card p {
    color: #656565;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: center;
}

.facility-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.facility-features li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #656565;
    font-weight: 500;
}

.facility-features li i {
    color: #68BBE3;
    margin-right: 10px;
    font-size: 14px;
}

.facility-card:hover .facility-features li i {
    color: #0E86D4;
}

/* Navigation Guide */
.navigation-guide {
    margin-top: 60px;
}

.guide-card {
    background: white;
    padding: 35px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 48, 96, 0.1);
    border-left: 5px solid #68BBE3;
    height: 100%;
    transition: all 0.3s ease;
}

.guide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 48, 96, 0.2);
    border-left-color: #0E86D4;
}

.guide-card h5 {
    color: #003060;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    font-family: 'Oswald', sans-serif;
    display: flex;
    align-items: center;
    gap: 12px;
}

.guide-card h5 i {
    color: #0E86D4;
    font-size: 20px;
}

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

.guide-list li {
    position: relative;
    padding: 12px 0 12px 30px;
    color: #656565;
    line-height: 1.6;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.guide-list li:last-child {
    border-bottom: none;
}

.guide-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    top: 12px;
    color: #68BBE3;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
}

.guide-list li:hover {
    color: #003060;
    transform: translateX(5px);
}

.guide-list li:hover:before {
    color: #0E86D4;
}

/* Accessibility Information */
.accessibility-info {
    margin-top: 60px;
}

.accessibility-card {
    background: white;
    padding: 30px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 48, 96, 0.1);
    border-top: 4px solid #68BBE3;
    transition: all 0.3s ease;
    height: 100%;
}

.accessibility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 48, 96, 0.2);
    border-top-color: #0E86D4;
}

.accessibility-card i {
    font-size: 40px;
    color: #0E86D4;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.accessibility-card:hover i {
    color: #003060;
    transform: scale(1.1);
}

.accessibility-card h6 {
    color: #003060;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: 'Oswald', sans-serif;
}

.accessibility-card p {
    color: #656565;
    line-height: 1.6;
    margin: 0;
    font-size: 14px;
}

/* Modal Styles */
.modal-xl {
    max-width: 90%;
}

.modal-content {
    border-radius: 15px;
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, #003060, #055C9D);
    color: white;
    border-bottom: none;
}

.modal-header .modal-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 20px;
}

.modal-header .modal-title i {
    margin-right: 10px;
    color: #68BBE3;
}

.modal-header .btn-close {
    filter: invert(1);
}

.modal-body {
    padding: 30px;
}

.modal-footer {
    border-top: 1px solid #e9ecef;
    padding: 20px 30px;
}

.modal-footer .btn-primary {
    background: linear-gradient(135deg, #0E86D4, #68BBE3);
    border: none;
    font-weight: 600;
}

.modal-footer .btn-primary:hover {
    background: linear-gradient(135deg, #003060, #055C9D);
}

/* Responsive Design for Library Layout */
@media (max-width: 992px) {
    .library-sections-guide {
        padding: 40px 25px;
    }
    
    .facility-card {
        margin-bottom: 30px;
        padding: 30px 25px;
    }
    
    .facility-category-title {
        font-size: 24px;
        padding: 15px 20px;
    }
    
    .guide-card {
        margin-bottom: 30px;
        padding: 30px 25px;
    }
}

@media (max-width: 768px) {
    .layout-image-container {
        border-radius: 15px;
    }
    
    .overlay-content {
        padding: 15px 20px;
    }
    
    .overlay-content i {
        font-size: 24px;
    }
    
    .overlay-content p {
        font-size: 14px;
    }
    
    .facility-category-title {
        font-size: 22px;
        padding: 12px 15px;
    }
    
    .facility-category-title i {
        font-size: 22px;
        margin-right: 10px;
    }
    
    .facility-icon {
        width: 60px;
        height: 60px;
    }
    
    .facility-icon i {
        font-size: 24px;
    }
    
    .facility-card h5 {
        font-size: 18px;
    }
    
    .guide-card h5 {
        font-size: 20px;
    }
    
    .accessibility-card {
        margin-bottom: 20px;
    }
    
    .accessibility-card i {
        font-size: 32px;
    }
    
    .modal-xl {
        max-width: 95%;
    }
}

@media (max-width: 576px) {
    .library-sections-guide {
        padding: 30px 15px;
    }
    
    .facility-card {
        padding: 25px 20px;
    }
    
    .facility-category-title {
        font-size: 20px;
        padding: 10px 12px;
        margin-bottom: 20px;
    }
    
    .guide-card {
        padding: 25px 20px;
    }
    
    .guide-card h5 {
        font-size: 18px;
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .accessibility-card {
        padding: 25px 20px;
    }
    
    .accessibility-card h6 {
        font-size: 16px;
    }
    
    .modal-body {
        padding: 20px 15px;
    }
    
    .modal-footer {
        padding: 15px 20px;
    }
}

/*===============================Notice Board Styles===================================*/

/* Notice Controls */
.notice-controls {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 48, 96, 0.1);
    border: 2px solid #f0f0f0;
}

.search-box {
    position: relative;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #68BBE3;
    font-size: 16px;
    z-index: 2;
}

.search-box input {
    padding-left: 45px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    height: 48px;
    transition: all 0.3s ease;
}

.search-box input:focus {
    border-color: #68BBE3;
    box-shadow: 0 4px 15px rgba(104, 187, 227, 0.2);
}

.notice-controls .form-select {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    height: 48px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.notice-controls .form-select:focus {
    border-color: #68BBE3;
    box-shadow: 0 4px 15px rgba(104, 187, 227, 0.2);
}

/* Important Notices Banner */
.important-notices {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    padding: 40px 30px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.important-notices:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23fff' fill-opacity='0.1' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
}

.section-title.urgent {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-left-color: white;
}

.section-title.urgent i {
    color: #ffeb3b;
    animation: pulse 2s infinite;
}

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

/* Urgent Notice Cards */
.urgent-notice-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
    border: 2px solid #ff6b6b;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.urgent-notice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.4);
}

.urgent-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
    animation: glow 2s infinite;
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(255, 107, 107, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 107, 107, 0.8), 0 0 30px rgba(255, 107, 107, 0.6);
    }
}

.urgent-notice-card h5 {
    color: #003060;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: 'Oswald', sans-serif;
    margin-top: 10px;
}

.urgent-notice-card p {
    color: #656565;
    line-height: 1.6;
    margin-bottom: 20px;
}

.notice-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.notice-meta .date {
    color: #68BBE3;
    font-weight: 600;
    font-size: 14px;
}

.notice-meta .date i {
    margin-right: 5px;
}

.view-btn {
    background: linear-gradient(135deg, #0E86D4, #68BBE3);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.view-btn:hover {
    background: linear-gradient(135deg, #003060, #055C9D);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Category Titles */
.category-title {
    color: #055C9D;
    font-family: 'Oswald', sans-serif;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px;
    padding: 20px 25px;
    background: linear-gradient(135deg, #f8f9ff 0%, #e6f3ff 100%);
    border-left: 5px solid #0E86D4;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.category-title:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 100%;
    background: linear-gradient(135deg, #0E86D4, #68BBE3);
    opacity: 0.1;
    border-radius: 0 15px 15px 0;
}

.category-title i {
    margin-right: 15px;
    color: #0E86D4;
    font-size: 26px;
}

/* Notice Cards */
.notice-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 48, 96, 0.1);
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
}

.notice-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.notice-card:before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9ff, #e6f3ff);
    transition: all 0.4s ease;
    z-index: -1;
}

.notice-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 48, 96, 0.2);
    border-color: #68BBE3;
}

.notice-card:hover:before {
    left: 0;
}

.notice-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px 0;
}

.notice-type {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.notice-type.library {
    background: linear-gradient(135deg, #0E86D4, #68BBE3);
    color: white;
}

.notice-type.academic {
    background: linear-gradient(135deg, #4caf50, #8bc34a);
    color: white;
}

.notice-type.admission {
    background: linear-gradient(135deg, #ff9800, #ffc107);
    color: white;
}

.notice-type.exam {
    background: linear-gradient(135deg, #f44336, #e91e63);
    color: white;
}

.notice-type.events {
    background: linear-gradient(135deg, #9c27b0, #e91e63);
    color: white;
}

.notice-type.general {
    background: linear-gradient(135deg, #607d8b, #795548);
    color: white;
}

.notice-date {
    color: #68BBE3;
    font-weight: 600;
    font-size: 14px;
}

.notice-card h5 {
    color: #003060;
    font-size: 18px;
    font-weight: 700;
    margin: 15px 25px;
    font-family: 'Oswald', sans-serif;
    line-height: 1.4;
}

.notice-card p {
    color: #656565;
    line-height: 1.6;
    margin: 0 25px 20px;
    font-size: 14px;
}

.notice-actions {
    padding: 0 25px 25px;
    display: flex;
    gap: 10px;
}

.notice-link {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #0E86D4, #68BBE3);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.notice-link:hover {
    background: linear-gradient(135deg, #003060, #055C9D);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

.download-link {
    padding: 12px 15px;
    background: linear-gradient(135deg, #68BBE3, #A5D8FF);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-link:hover {
    background: linear-gradient(135deg, #0E86D4, #68BBE3);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

/* No Results Message */
.no-results {
    text-align: center;
    padding: 60px 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 48, 96, 0.1);
    margin-top: 40px;
}

.no-results-content i {
    font-size: 64px;
    color: #68BBE3;
    margin-bottom: 20px;
}

.no-results-content h4 {
    color: #003060;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    margin-bottom: 15px;
}

.no-results-content p {
    color: #656565;
    margin: 0;
}

/* Responsive Design for Notice Board */
@media (max-width: 992px) {
    .notice-controls {
        padding: 25px 20px;
    }
    
    .important-notices {
        padding: 30px 20px;
    }
    
    .urgent-notice-card {
        margin-bottom: 20px;
    }
    
    .category-title {
        font-size: 24px;
        padding: 15px 20px;
    }
    
    .notice-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .notice-controls .row {
        gap: 15px;
    }
    
    .search-box input {
        height: 44px;
        font-size: 14px;
    }
    
    .notice-controls .form-select {
        height: 44px;
        font-size: 14px;
    }
    
    .category-title {
        font-size: 22px;
        padding: 12px 15px;
    }
    
    .category-title i {
        font-size: 22px;
        margin-right: 10px;
    }
    
    .urgent-badge {
        position: static;
        display: inline-flex;
        margin-bottom: 10px;
    }
    
    .urgent-notice-card {
        padding: 20px;
    }
    
    .notice-card h5 {
        font-size: 16px;
        margin: 12px 20px;
    }
    
    .notice-card p {
        margin: 0 20px 15px;
        font-size: 13px;
    }
    
    .notice-actions {
        padding: 0 20px 20px;
        flex-direction: column;
        gap: 8px;
    }
    
    .notice-link,
    .download-link {
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .notice-meta {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .view-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .notice-controls {
        padding: 20px 15px;
    }
    
    .important-notices {
        padding: 25px 15px;
    }
    
    .category-title {
        font-size: 20px;
        padding: 10px 12px;
        margin-bottom: 20px;
    }
    
    .notice-header {
        padding: 15px 15px 0;
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
    
    .notice-card h5 {
        margin: 10px 15px;
        font-size: 15px;
    }
    
    .notice-card p {
        margin: 0 15px 12px;
    }
    
    .notice-actions {
        padding: 0 15px 15px;
    }
    
    .urgent-notice-card {
        padding: 15px;
    }
    
    .urgent-notice-card h5 {
        font-size: 16px;
    }
    
    .no-results {
        padding: 40px 20px;
    }
    
    .no-results-content i {
        font-size: 48px;
    }
    
    .no-results-content h4 {
        font-size: 20px;
    }
}

/*===============================Notice Table Styles===================================*/

/* Notice Table Styling */
.notice-category table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 48, 96, 0.1);
    border: 2px solid #e9ecef;
}

.notice-category table th {
    background: linear-gradient(135deg, #003060 0%, #055C9D 100%);
    color: white;
    padding: 20px 15px;
    text-align: left;
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.notice-category table th:first-child {
    width: 15%;
    text-align: center;
}

.notice-category table th:nth-child(2) {
    width: 65%;
}

.notice-category table th:last-child {
    width: 20%;
    text-align: center;
}

.notice-category table td {
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
    font-weight: 500;
    vertical-align: middle;
}

.notice-category table td:first-child {
    color: #0E86D4;
    font-weight: 700;
    font-size: 14px;
    text-align: center;
    font-family: 'Oswald', sans-serif;
    border-right: 1px solid #e9ecef;
}

.notice-category table td:nth-child(2) {
    color: #003060;
    font-weight: 600;
    line-height: 1.4;
    border-right: 1px solid #e9ecef;
}

.notice-category table td:last-child {
    text-align: center;
}

.notice-category table td a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #0E86D4, #68BBE3);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.notice-category table td a:before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #003060, #055C9D);
    transition: all 0.3s ease;
    z-index: -1;
}

.notice-category table td a:hover {
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(14, 134, 212, 0.4);
}

.notice-category table td a:hover:before {
    left: 0;
}

.notice-category table td a i {
    font-size: 14px;
}

.notice-category table tbody tr {
    transition: all 0.3s ease;
}

.notice-category table tbody tr:nth-child(even) {
    background: #f8f9ff;
}

.notice-category table tbody tr:hover {
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
    transform: translateX(3px);
    box-shadow: 0 4px 15px rgba(0, 48, 96, 0.1);
}

.notice-category table tbody tr:hover td:first-child {
    color: #003060;
    font-size: 15px;
}

.notice-category table tbody tr:hover td:nth-child(2) {
    color: #055C9D;
}

/* Add download icon to links */
.notice-category table td a:before {
    content: "\f019";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 8px;
    font-size: 12px;
}

/* Table responsive wrapper */
.table-responsive-wrapper {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 48, 96, 0.1);
}

/* Responsive table adjustments */
@media (max-width: 992px) {
    .notice-category table th,
    .notice-category table td {
        padding: 12px 10px;
        font-size: 14px;
    }
    
    .notice-category table th {
        font-size: 14px;
    }
    
    .notice-category table td a {
        padding: 8px 15px;
        font-size: 11px;
    }
}

@media (max-width: 768px) {
    .table-responsive-wrapper {
        border-radius: 8px;
    }
    
    .notice-category table {
        border-radius: 8px;
        min-width: 600px; /* Ensure table doesn't become too narrow */
    }
    
    .notice-category table th,
    .notice-category table td {
        padding: 10px 8px;
        font-size: 13px;
    }
    
    .notice-category table th {
        font-size: 13px;
        padding: 15px 8px;
    }
    
    .notice-category table td:first-child {
        font-size: 12px;
    }
    
    .notice-category table td a {
        padding: 6px 12px;
        font-size: 10px;
        gap: 4px;
    }
    
    .notice-category table td a:before {
        font-size: 10px;
        margin-right: 4px;
    }
}

@media (max-width: 576px) {
    .notice-category table {
        min-width: 500px;
    }
    
    .notice-category table th:first-child,
    .notice-category table td:first-child {
        width: 20%;
    }
    
    .notice-category table th:nth-child(2),
    .notice-category table td:nth-child(2) {
        width: 55%;
    }
    
    .notice-category table th:last-child,
    .notice-category table td:last-child {
        width: 25%;
    }
    
    .notice-category table td a {
        padding: 5px 10px;
        font-size: 9px;
    }
}

/* Enhanced search highlighting */
.highlight {
    background: linear-gradient(135deg, #ffeb3b, #ffc107);
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 700;
}

/* Table loading animation */
.notice-category table tbody tr {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

.notice-category table tbody tr:nth-child(1) { animation-delay: 0.1s; }
.notice-category table tbody tr:nth-child(2) { animation-delay: 0.2s; }
.notice-category table tbody tr:nth-child(3) { animation-delay: 0.3s; }
.notice-category table tbody tr:nth-child(4) { animation-delay: 0.4s; }
.notice-category table tbody tr:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Notice count badge */
.notice-count {
    background: linear-gradient(135deg, #68BBE3, #A5D8FF);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 700;
    margin-left: 10px;
}

/* Enhanced category title with count */
.category-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.category-title-wrapper .category-title {
    margin-bottom: 0;
    flex: 1;
}

/* Print styles for notices */
@media print {
    .notice-controls,
    .library-cta,
    footer,
    header {
        display: none !important;
    }
    
    .notice-category table {
        box-shadow: none;
        border: 1px solid #000;
    }
    
    .notice-category table th {
        background: #f0f0f0 !important;
        color: #000 !important;
    }
    
    .notice-category table td a {
        color: #000 !important;
        text-decoration: underline !important;
        background: none !important;
        padding: 0 !important;
        border-radius: 0 !important;
    }
}