 /* Previous styles remain the same */
 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
 }

 :root {
     --primary-color: #1a4f8b;
     --primary-color2: #fcfdff;
     --secondary-color: #3498db;
     --accent-color: #e74c3c;
     --text-color: #333;
     --light-gray: #f5f6fa;
     --header-height: 120px;
 }

 body {
     font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
     line-height: 1.6;
     color: var(--text-color);
 }

 /* Header Styles */
 .header {
     background-color: white;
     box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
     position: fixed;
     width: 100%;
     top: 0;
     z-index: 1000;
     height: var(--header-height);
 }

 .header-top {
     background-color: var(--primary-color);
     color: white;
     padding: 0.5rem 0;
 }

 .header-main {
     display: flex;
     align-items: center;
     padding: 1rem 2rem;
 }

 .logo-container {
     display: flex;
     align-items: center;
     gap: 1rem;
 }

 .logo-img {
     width: 50px;
     height: 50px;
 }

 .logo-text {
     font-size: 1.5rem;
     font-weight: bold;
     color: var(--primary-color2);
 }

 /* Navigation Styles */
 .nav-container {
     max-width: 1600px;
     margin: 0 auto;
     padding: 0 1rem;
 }

 .main-nav {
     display: flex;
     justify-content: space-between;
     align-items: center;
     background-color: var(--primary-color);
     padding: 0.5rem 0.5rem;
 }

 .nav-links {
     display: flex;
     gap: 1.5rem;
     list-style: none;
 }

 .nav-links li {
     position: relative;
 }

 .nav-links a {
     color: white;
     text-decoration: none;
     font-size: 0.9rem;
     padding: 1.5rem 1rem;
     transition: all 0.3s ease;
 }

 .nav-links a:hover {
     background-color: rgba(255, 255, 255, 0.1);
     border-radius: 4px;
 }

 /* Dropdown Styles */
 .dropdown {
     position: relative;
     display: inline-block;
 }

 .dropdown-content {
     display: none;
     position: absolute;
     background-color: white;
     min-width: 200px;
     box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
     z-index: 1;
     border-radius: 4px;
     top: 100%;
     left: 0;
     padding: 0px;
     list-style: none;
 }

 .dropdown:hover .dropdown-content {
     display: block;
 }

 .dropdown-content a {
     color: var(--text-color);
     padding: 10px 14px;
     text-decoration: none;
     display: block;
 }

 .dropdown-content a:hover {
     background-color: var(--light-gray);
 }

 /* Search Bar */
 .search-container {
     display: flex;
     align-items: center;
 }

 .search-bar {
     padding: 0.5rem;
     border: 1px solid #ddd;
     border-radius: 4px;
     margin-right: 0.5rem;
 }

 .search-btn {
     background-color: var(--secondary-color);
     color: white;
     border: none;
     padding: 0.5rem 1rem;
     border-radius: 4px;
     cursor: pointer;
 }

 /* Main Content Area */
 .main-content {
     margin-top: var(--header-height);
     padding: 2rem;
 }

 /* Page Specific Styles */
 .page-title {
     color: var(--primary-color);
     margin-bottom: 2rem;
     font-size: 2rem;
     border-bottom: 2px solid var(--primary-color);
     padding-bottom: 0.5rem;
 }

 /* Membership Section */
 .membership-cards {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
     gap: 2rem;
     margin-top: 2rem;
 }

 .membership-card {
     background: white;
     border-radius: 8px;
     padding: 2rem;
     box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
 }

 /* Library Services */
 .services-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
     gap: 2rem;
 }

 .service-card {
     background: white;
     border-radius: 8px;
     padding: 2rem;
     text-align: center;
     box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
 }

 .service-card i {
     font-size: 2rem;
     color: var(--primary-color);
     margin-bottom: 1rem;
 }

 /* E-Resource Guide */
 .resource-list {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
     gap: 2rem;
 }

 .resource-card {
     background: white;
     border-radius: 8px;
     padding: 2rem;
     box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
 }

 /* Staff Directory */
 .staff-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
     gap: 2rem;
 }

 .staff-card {
     background: white;
     border-radius: 8px;
     overflow: hidden;
     box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
 }

 .staff-card img {
     width: 100%;
     height: 200px;
     object-fit: cover;
 }

 .staff-info {
     padding: 1rem;
 }

 /* Contact Form */
 .contact-form {
     max-width: 600px;
     margin: 0 auto;
     background: white;
     padding: 2rem;
     border-radius: 8px;
     box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
 }

 .form-group {
     margin-bottom: 1rem;
 }

 .form-group label {
     display: block;
     margin-bottom: 0.5rem;
 }

 .form-group input,
 .form-group textarea {
     width: 100%;
     padding: 0.5rem;
     border: 1px solid #ddd;
     border-radius: 4px;
 }

 .submit-btn {
     background-color: var(--primary-color);
     color: white;
     border: none;
     padding: 0.75rem 1.5rem;
     border-radius: 4px;
     cursor: pointer;
 }

 /* Mobile Navigation */
 .mobile-menu-btn {
     display: none;
     background: none;
     border: none;
     color: white;
     font-size: 1.5rem;
     cursor: pointer;
 }

 @media (max-width: 1024px) {
     .nav-links {
         gap: 1rem;
     }

     .nav-links a {
         font-size: 0.85rem;
         padding: 0.5rem;
     }
 }

 @media (max-width: 768px) {
     .mobile-menu-btn {
         display: block;
     }

     .nav-links {
         display: none;
         position: absolute;
         top: 100%;
         left: 0;
         right: 0;
         background-color: var(--primary-color);
         flex-direction: column;
         padding: 1rem;
     }

     .nav-links.active {
         display: flex;
     }

     .dropdown-content {
         position: static;
         background-color: rgba(255, 255, 255, 0.1);
         box-shadow: none;
     }

     .header-main {
         flex-direction: column;
         text-align: center;
     }

     .search-container {
         margin-top: 1rem;
     }
 }

 /* Banner Slider Styles */
 .banner-slider {
     position: relative;
     height: 500px;
     overflow: hidden;
     margin-top: var(--header-height);
 }

 .slide {
     position: absolute;
     width: 100%;
     height: 100%;
     /* opacity: 0; */
     transition: opacity 0.5s ease-in-out;
     background-size: cover;
     background-position: center;
     display: flex;
     align-items: center;
     justify-content: center;
     color: white;
     text-align: center;
 }

 .slide.active {
     opacity: 1;
 }

 .slide-content {
     background: rgba(0, 0, 0, 0.5);
     padding: 2rem;
     border-radius: 8px;
     max-width: 800px;
 }

 .slide-content h2 {
     font-size: 2.5rem;
     margin-bottom: 1rem;
 }

 .slider-nav {
     position: absolute;
     bottom: 20px;
     left: 50%;
     transform: translateX(-50%);
     display: flex;
     gap: 10px;
 }

 .slider-dot {
     width: 12px;
     height: 12px;
     border-radius: 50%;
     background: rgba(255, 255, 255, 0.5);
     cursor: pointer;
 }

 .slider-dot.active {
     background: white;
 }

 /* Announcements Section */
 .announcements {
     padding: 3rem 0;
     background: var(--light-gray);
 }

 .section-container {
     max-width: 1200px;
     margin: 0 auto;
     padding: 0 1rem;
 }

 .section-title {
     color: var(--primary-color);
     margin-bottom: 2rem;
     display: flex;
     align-items: center;
     gap: 1rem;
 }

 .section-title2 {
     color: var(--primary-color);
     margin-bottom: 2rem;
     display: flex;
     align-items: center;
     gap: 1rem;
 }

 .section-title i {
     font-size: 1.5rem;
 }

 .announcement-list {
     display: flex;
     flex-direction: column;
     gap: 1rem;
 }

 .announcement-card {
     background: white;
     padding: 1.5rem;
     border-radius: 8px;
     box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
     display: flex;
     align-items: center;
     gap: 1rem;
 }

 .announcement-date {
     background: var(--primary-color);
     color: white;
     padding: 0.5rem;
     border-radius: 4px;
     text-align: center;
     min-width: 80px;
 }

 /* Quick Links Grid */
 .quick-links {
     padding: 3rem 0;
 }

 .quick-links-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
     gap: 2rem;
 }

 .quick-link-card {
     background: white;
     padding: 2rem;
     border-radius: 8px;
     box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
     text-align: center;
     transition: transform 0.3s;
 }

 .quick-link-card:hover {
     transform: translateY(-5px);
 }

 .quick-link-card i {
     font-size: 2.5rem;
     color: var(--primary-color);
     margin-bottom: 1rem;
 }

 /* New Arrivals Section */
 .new-arrivals {
     padding: 3rem 0;
     background: var(--light-gray);
 }

 .books-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
     gap: 2rem;
 }

 .book-card {
     background: white;
     border-radius: 8px;
     overflow: hidden;
     box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
     transition: transform 0.3s;
 }

 .book-card:hover {
     transform: translateY(-5px);
 }

 .book-cover {
     height: 250px;
     overflow: hidden;
 }

 .book-cover img {
     width: 100%;
     height: 100%;
     object-fit: cover;
 }

 .book-info {
     padding: 1rem;
 }

 .book-info h4 {
     color: var(--primary-color);
     margin-bottom: 0.5rem;
 }

 /* Library Stats */
 .library-stats {
     padding: 3rem 0;
     background: var(--primary-color);
     color: white;
 }

 .stats-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
     gap: 2rem;
     text-align: center;
 }

 .stat-card i {
     font-size: 2.5rem;
     margin-bottom: 1rem;
 }

 .stat-number {
     font-size: 2rem;
     color: #2c3e50;
     font-weight: 600;
     margin-bottom: 0.5rem;
 }

 /* Mobile Responsiveness */
 @media (max-width: 768px) {
     .banner-slider {
         height: 400px;
     }

     .slide-content h2 {
         font-size: 1.8rem;
     }

     .announcement-card {
         flex-direction: column;
         text-align: center;
     }

     .announcement-date {
         width: 100%;
     }
 }

 /* Footer Styles */
 .footer {
     background-color: #1a4f8b;
     color: white;
     font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
 }

 .footer-container {
     max-width: 1200px;
     margin: 0 auto;
     padding: 0 1rem;
 }

 /* Top Footer Styles */
 .footer-top {
     padding: 4rem 0;
     background-color: #f5f6fa;
 }

 .footer-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
     gap: 2rem;
 }

 .footer-section h3 {
     color: white;
     font-size: 1.2rem;
     margin-bottom: 1.5rem;
     position: relative;
     padding-bottom: 0.5rem;
 }

 .footer-section h3::after {
     content: '';
     position: absolute;
     left: 0;
     bottom: 0;
     width: 50px;
     height: 2px;
     background-color: #3498db;
 }

 .footer-section ul {
     list-style: none;
     padding: 0;
 }

 .footer-section ul li {
     margin-bottom: 0.8rem;
 }

 .footer-section ul li a {
     color: #ffffff;
     text-decoration: none;
     transition: color 0.3s ease;
 }

 .footer-section ul li a:hover {
     color: #3498db;
 }

 /* Library Hours Styles */
 .library-hours li {
     display: flex;
     justify-content: space-between;
     margin-bottom: 0.5rem;
 }

 .special-hours {
     margin-top: 1rem;
     font-style: italic;
     color: #bdc3c7;
 }

 /* Contact Info Styles */
 .contact-info li {
     display: flex;
     align-items: start;
     gap: 1rem;
     margin-bottom: 1rem;
 }

 .contact-info i {
     color: #3498db;
     margin-top: 0.3rem;
 }

 /* Middle Footer - Newsletter */
 .footer-middle {
     padding: 2rem 0;
     background-color: #154576;
 }

 .newsletter-section {
     text-align: center;
     max-width: 600px;
     margin: 0 auto;
 }

 .newsletter-section h3 {
     margin-bottom: 1rem;
 }

 .newsletter-section p {
     margin-bottom: 1.5rem;
     color: #212529;
     font-weight: 400;
 }

 .newsletter-form {
     display: flex;
     gap: 1rem;
     max-width: 500px;
     margin: 0 auto;
 }

 .newsletter-form input {
     flex: 1;
     padding: 0.8rem;
     border: none;
     border-radius: 4px;
     font-size: 1rem;
 }

 .newsletter-form button {
     padding: 0.8rem 1.5rem;
     background-color: #3498db;
     color: white;
     border: none;
     border-radius: 4px;
     cursor: pointer;
     transition: background-color 0.3s ease;
 }

 .newsletter-form button:hover {
     background-color: #2980b9;
 }

 /* Bottom Footer */
 .footer-bottom {
     padding: 1.5rem 0;
     background-color: #123d66;
 }

 .footer-bottom-content {
     justify-content: space-between;
     display: flex;
     align-items: center;
     flex-wrap: wrap;
     gap: 1rem;
 }

 /* Social Media Links */
 .social-links {
     display: flex;
     gap: 1rem;
 }

 .social-links a {
     color: white;
     width: 35px;
     height: 35px;
     display: flex;
     align-items: center;
     justify-content: center;
     background-color: rgba(255, 255, 255, 0.1);
     border-radius: 50%;
     transition: background-color 0.3s ease;
 }

 .social-links a:hover {
     background-color: #3498db;
 }

 /* Copyright Text */
 .copyright {
     color: #bdc3c7;
     font-size: 0.9rem;
     text-align: center;
 }

 /* Additional Links */
 .footer-links {
     display: flex;
     gap: 1.5rem;
 }

 .footer-links a {
     color: #bdc3c7;
     text-decoration: none;
     font-size: 0.9rem;
     transition: color 0.3s ease;
 }

 .footer-links a:hover {
     color: white;
 }

 /* Responsive Design */
 @media (max-width: 768px) {
     .footer-grid {
         grid-template-columns: 1fr;
     }

     .newsletter-form {
         flex-direction: column;
     }

     .footer-bottom-content {
         flex-direction: column;
         text-align: center;
     }

     .social-links {
         justify-content: center;
     }

     .footer-links {
         justify-content: center;
         flex-wrap: wrap;
     }
 }

 .specialized-services {
    padding: 0.2rem 0;
    background-color: #f5f6fa;
    scroll-margin-top: 150px;  /* Adjusts scroll position when clicking anchor links */
}

.committee-section{
    scroll-margin-top: 140px;  
}

.committee-section1{
    scroll-margin-top: 140px;  
}

/* Create a wrapper for all services sections */
.services-wrapper {
    background-color: #f5f6fa;
    padding-top: 25vh;  /* Move the spacing inside the colored background */
}

 .services-container {
     max-width: 1200px;
     margin: 0 auto;
     padding: 0 1rem;
 }

 .service-item {
     display: flex;
     align-items: center;
     gap: 3rem;
     margin-bottom: 4rem;
     background: white;
     border-radius: 10px;
     overflow: hidden;
     box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
 }

 .service-item.reverse {
     flex-direction: row-reverse;
 }

 .service-image {
     flex: 1;
     max-width: 50%;
 }

 .service-image img {
     width: 100%;
     height: 100%;
     object-fit: cover;
 }

 .service-content {
     flex: 1;
     padding: 2rem;
 }

 .service-content h2 {
     color: #1a4f8b;
     margin-bottom: 2rem;
     font-size: 2rem;
 }

 .service-features {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
     gap: 1.5rem;
 }

 .feature {
     text-align: center;
     padding: 1.5rem;
     border-radius: 8px;
     background: #f8f9fa;
     transition: transform 0.3s ease;
 }

 .feature:hover {
     transform: translateY(-5px);
 }

 .feature i {
     font-size: 2rem;
     color: #3498db;
     margin-bottom: 1rem;
 }

 .feature h4 {
     color: #2c3e50;
     margin-bottom: 0.5rem;
 }

 .feature p {
     color: #666;
     font-size: 0.9rem;
 }

 @media (max-width: 968px) {

     .service-item,
     .service-item.reverse {
         flex-direction: column;
     }

     .service-image {
         max-width: 100%;
     }

     .service-content {
         padding: 2rem 1rem;
     }
 }

 @media (max-width: 768px) {
     .service-features {
         grid-template-columns: 1fr;
     }

     .search-box{
        max-width: 370px !important;
     }

     .search-submit{
        width: 70px !important;
     }
 }

 .committee-section {
     padding: 4rem 0;
     background-color: #f5f6fa;
 }

 .committee-section1 {
    padding: 4rem 0;
     /* background-color: #f5f6fa; */
 }

 .container {
     max-width: 1200px;
     margin: 0 auto;
     padding: 0 1rem;
 }

 .section-title {
     text-align: center;
     color: #1a4f8b;
     font-size: 2.5rem;
     margin-bottom: 2.5rem;
     position: relative;
     padding-bottom: 1rem;
 }

 .section-title::after {
     content: '';
     position: absolute;
     bottom: 0;
     left: 50%;
     transform: translateX(-50%);
     width: 100px;
     height: 3px;
     background-color: #3498db;
 }

 /* Chairman Row Styles */
 .chairman-row {
     display: flex;
     justify-content: center;
     margin-bottom: 4rem;
 }

 .chairman {
     max-width: 250px;
     transform: scale(1.1);
 }

 /* Members Row Styles */
 .members-row {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
     gap: 2rem;
     margin-bottom: 3rem;
 }

 /* Committee Card Styles */
 .committee-card {
     background: white;
     border-radius: 10px;
     overflow: hidden;
     box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
     transition: transform 0.3s ease;
 }

 .committee-card:hover {
     transform: translateY(-5px);
 }

 .member-image {
     position: relative;
     overflow: hidden;
 }

 .member-image img {
     width: 100%;
     height: auto;
     aspect-ratio: 1;
     object-fit: cover;
     transition: transform 0.3s ease;
 }

 .committee-card:hover .member-image img {
     transform: scale(1.05);
 }

 .member-info {
     padding: 1.5rem;
     text-align: center;
 }

 .member-info h2 {
     color: #1a4f8b;
     font-size: 1.5rem;
     margin-bottom: 0.5rem;
 }

 .member-info h3 {
     color: #2c3e50;
     font-size: 1rem;
     margin-bottom: 0.5rem;
 }

 .designation {
     color: #3498db;
     font-weight: bold;
     margin-bottom: 0.5rem;
 }

 .member-info p {
     color: #666;
     margin-bottom: 0.3rem;
     font-size: 0.9rem;
 }

 /* Chairman Specific Styles */
 .chairman .member-info h2 {
     color: #1a4f8b;
     font-size: 1.1rem;
 }

 .chairman .member-info h3 {
     color: #e74c3c;
     font-weight: bold;
     margin: 0.5rem 0;
 }

 /* Responsive Design */
 @media (max-width: 1024px) {
     .members-row {
         grid-template-columns: repeat(2, 1fr);
     }

     .chairman {
         transform: scale(1);
     }
 }

 @media (max-width: 768px) {
     .section-title {
         font-size: 2rem;
     }

     .members-row {
         grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
     }

     .chairman .member-info h2 {
         font-size: 1.5rem;
     }
 }

 @media (max-width: 480px) {
     .members-row {
         grid-template-columns: 1fr;
     }
 }

 .banner-slider {
     position: relative;
     height: 50vh;
     min-height: 550px;
     overflow: hidden;
     background-color: #000;
 }

 .slide {
     position: absolute;
     width: 100%;
     height: 100%;
     /* opacity: 0;
     visibility: hidden; */
     background-size: cover;
     background-position: center;
     transition: opacity 1s ease, visibility 1s ease;
     display: flex;
     align-items: center;
     justify-content: center;
 }

 .slide.active {
     opacity: 1;
     visibility: visible;
 }

 /* Content Styling */
 .slide-content {
     text-align: center;
     color: white;
     max-width: 800px;
     padding: 2rem;
     position: relative;
     z-index: 2;
 }

 .slide-content h2 {
     font-size: 3.5rem;
     font-weight: 700;
     margin-bottom: 1.5rem;
     opacity: 0;
     transform: translateY(20px);
 }

 .slide-content p {
     font-size: 1.2rem;
     margin-bottom: 2rem;
     opacity: 0;
     transform: translateY(20px);
 }

 /* CTA Button */
 .cta-button {
     display: inline-block;
     padding: 1rem 2rem;
     background-color: #1a4f8b;
     color: white;
     text-decoration: none;
     border-radius: 50px;
     font-weight: 600;
     transition: all 0.3s ease;
     opacity: 0;
     transform: translateY(20px);
 }

 .cta-button:hover {
     background-color: #2980b9;
     transform: translateY(-2px);
     box-shadow: 0 5px 15px rgba(41, 128, 185, 0.4);
 }

 /* Navigation Arrows */
 .slider-arrow {
     position: absolute;
     top: 50%;
     transform: translateY(-50%);
     background: rgba(255, 255, 255, 0.2);
     border: none;
     width: 50px;
     height: 50px;
     border-radius: 50%;
     cursor: pointer;
     z-index: 3;
     transition: all 0.3s ease;
     color: white;
     font-size: 1.2rem;
 }

 .slider-arrow:hover {
     background: rgba(255, 255, 255, 0.3);
     transform: translateY(-50%) scale(1.1);
 }

 .slider-arrow.prev {
     left: 20px;
 }

 .slider-arrow.next {
     right: 20px;
 }

 /* Navigation Dots */
 .slider-nav {
     position: absolute;
     bottom: 30px;
     left: 50%;
     transform: translateX(-50%);
     display: flex;
     gap: 10px;
     z-index: 3;
 }

 .slider-dot {
     width: 12px;
     height: 12px;
     border-radius: 50%;
     background: rgba(255, 255, 255, 0.5);
     cursor: pointer;
     transition: all 0.3s ease;
 }

 .slider-dot:hover {
     background: rgba(255, 255, 255, 0.8);
 }

 .slider-dot.active {
     background: white;
     transform: scale(1.2);
 }

 /* Animations */
 .animate-text {
     animation: slideUp 0.8s forwards;
 }

 .delay-1 {
     animation-delay: 0.2s;
 }

 .delay-2 {
     animation-delay: 0.4s;
 }

 @keyframes slideUp {
     from {
         opacity: 0;
         transform: translateY(20px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 /* Responsive Design */
 @media (max-width: 768px) {
     .banner-slider {
         height: 60vh;
     }

     .slide-content h2 {
         font-size: 2.5rem;
     }

     .slide-content p {
         font-size: 1rem;
     }

     .slider-arrow {
         width: 40px;
         height: 40px;
     }
 }

 @media (max-width: 480px) {
     .slide-content h2 {
         font-size: 2rem;
     }

     .cta-button {
         padding: 0.8rem 1.5rem;
     }
 }

 .quick-link-card {
     background: white;
     border-radius: 10px;
     box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
     transition: all 0.3s ease;
     overflow: hidden;
 }

 .quick-link-card:hover {
     transform: translateY(-5px);
     box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
 }

 .card-link {
     display: block;
     padding: 2rem;
     text-align: center;
     text-decoration: none;
     color: inherit;
     position: relative;
 }

 .card-link i {
     font-size: 2.5rem;
     color: #1a4f8b;
     margin-bottom: 1rem;
     transition: transform 0.3s ease;
 }

 .card-link h3 {
     color: #2c3e50;
     margin-bottom: 0.5rem;
     font-size: 1.25rem;
 }

 .card-link p {
     color: #666;
     font-size: 0.9rem;
 }

 .hover-arrow {
     position: absolute;
     right: 1.5rem;
     bottom: 1.5rem;
     opacity: 0;
     transform: translateX(-10px);
     transition: all 0.3s ease;
 }

 .hover-arrow i {
     font-size: 1.2rem;
     color: #3498db;
 }

 .quick-link-card:hover .hover-arrow {
     opacity: 1;
     transform: translateX(0);
 }

 .quick-link-card:hover i:not(.fa-arrow-right) {
     transform: scale(1.1);
 }

 /* Add focus styles for accessibility */
 .card-link:focus {
     outline: none;
     box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.5);
 }

 /* Add active state */
 .quick-link-card:active {
     transform: translateY(-2px);
 }

 .publisher-container {
     max-width: 1200px;
     margin: 20px auto;
     padding: 0 20px;
 }

 .publisher-container h2 {
     font-size: 24px;
     margin-bottom: 20px;
 }

 .publisher-line {
     display: flex;
     gap: 20px;
     overflow-x: auto;
     padding: 10px 0;
 }

 .publisher-box {
     position: relative;
     min-width: 150px;
     height: 150px;
     border: 1px solid #ddd;
     border-radius: 8px;
     padding: 15px;
     display: flex;
     align-items: center;
     justify-content: center;
     cursor: pointer;
     transition: all 0.3s ease;
 }

 .publisher-box:hover {
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
     transform: translateY(-2px);
 }

 .publisher-box img {
     max-width: 100%;
     max-height: 100%;
     object-fit: contain;
 }

 .info-icon {
     position: absolute;
     top: 10px;
     right: 10px;
     width: 20px;
     height: 20px;
     display: flex;
     align-items: center;
     justify-content: center;
     border-radius: 50%;
     background: #f5f5f5;
     cursor: pointer;
     font-size: 14px;
 }

 .tooltip {
     display: none;
     position: absolute;
     top: 100%;
     left: 50%;
     transform: translateX(-50%);
     background: #333;
     color: white;
     padding: 8px 12px;
     border-radius: 4px;
     font-size: 14px;
     width: 200px;
     text-align: center;
     z-index: 1000;
 }

 .info-icon:hover+.tooltip {
     display: block;
 }

 /* Responsive adjustments */
 @media (max-width: 768px) {
     .publisher-box {
         min-width: 120px;
         height: 120px;
     }
 }

 .publisher-container {
     text-align: center;
     padding: 20px;
     /* background-color: #f9f9f9; */
 }

 .publisher-line {
     display: flex;
     flex-wrap: wrap;
     justify-content: center;
     gap: 15px;
     padding-top: 20px;
 }

 .publisher-box {
     position: relative;
     display: inline-block;
     width: 120px;
     height: 120px;
     border: 2px solid #ddd;
     border-radius: 8px;
     overflow: hidden;
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
     transition: transform 0.3s ease;
 }

 .publisher-box:hover {
     transform: scale(1.05);
     border-color: #0073e6;
 }

 .publisher-box img {
     width: 100%;
     height: 100%;
     object-fit: inherit;
 }

 .info-icon {
     position: absolute;
     top: 5px;
     right: 5px;
     font-size: 16px;
     color: #0073e6;
     cursor: pointer;
 }

 .tooltip {
     visibility: hidden;
     position: absolute;
     bottom: -5px;
     right: 50%;
     transform: translateX(50%);
     width: 160px;
     padding: 10px;
     background-color: rgba(0, 0, 0, 0.8);
     color: #fff;
     font-size: 14px;
     text-align: center;
     border-radius: 5px;
     opacity: 0;
     transition: visibility 0s, opacity 0.3s ease-in-out;
 }

 .publisher-box:hover .tooltip {
     visibility: visible;
     opacity: 1;
     bottom: 30px;
 }

 /* Center the section horizontally and vertically */
 /* Center the section horizontally and vertically */
 .about-section {
     display: flex;
     justify-content: center;
     align-items: center;
     text-align: justify;
     /* min-height: 100vh; */
     perspective: 1000px;
     padding: 20px;
     background-color: #f7f7f7;
     box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
     border-radius: 10px;
 }

 /* Image container with 3D effect */
 .photo-container img {
     width: 500px;
     height: auto;
     border-radius: 10px;
     transition: transform 0.3s ease, box-shadow 0.3s ease;
     box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
 }

 /* Image hover effect */
 .photo-container:hover img {
     transform: scale(1.05);
     box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
 }

 /* Text container with slight rotation */
 .text-container {
     margin-left: 20px;
     max-width: 600px;
     transform: rotateY(-2deg);
     text-align: justify;
 }

 .text-container h2 {
     margin-top: 0;
     font-size: 2rem;
 }

 .text-container p {
     font-size: 1.1rem;
     line-height: 1.5;
     margin-top: 10px;
     color: #333;
 }


 body {
     background-color: var(--light-bg);
     color: var(--text-color);
     line-height: 1.6;
 }

 .header {
     background-color: var(--primary-color);
     color: white;
     text-align: center;
     /* padding: 2rem; */
     margin-bottom: 2rem;
 }

 .container {
     max-width: 1200px;
     margin: 0 auto;
     padding: 0 20px;
 }

 .tabs {
     display: flex;
     justify-content: center;
     margin-bottom: 2rem;
 }

 .tab-button {
     padding: 1rem 2rem;
     font-size: 1.1rem;
     border: none;
     background: var(--secondary-color);
     color: white;
     cursor: pointer;
     transition: background-color 0.3s;
 }

 .tab-button.active {
     background: var(--primary-color);
 }

 .tab-button:first-child {
     border-radius: 5px 0 0 5px;
 }

 .tab-button:last-child {
     border-radius: 0 5px 5px 0;
 }

 .tab-content {
     display: none;
     animation: fadeIn 0.5s;
 }

 .tab-content.active {
     display: block;
 }

 .process-steps {
     display: flex;
     flex-wrap: wrap;
     gap: 2rem;
     justify-content: center;
     margin-bottom: 2rem;
 }

 .step-card {
     background: white;
     border-radius: 10px;
     padding: 1.5rem;
     width: 300px;
     box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
 }

 .step-number {
     background: var(--accent-color);
     color: white;
     width: 40px;
     height: 40px;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     margin-bottom: 1rem;
 }

 .rules-list {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
     gap: 1.5rem;
     padding: 1rem;
 }

 .rule-card {
     background: white;
     border-radius: 10px;
     padding: 1.5rem;
     box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
 }

 .rule-title {
     color: var(--primary-color);
     margin-bottom: 0.5rem;
     font-size: 1.2rem;
     font-weight: bold;
 }

 @keyframes fadeIn {
     from {
         opacity: 0;
     }

     to {
         opacity: 1;
     }
 }

 @media (max-width: 768px) {
     .process-steps {
         flex-direction: column;
         align-items: center;
     }

     .step-card {
         width: 100%;
         max-width: 300px;
     }
 }

 .spacer {
     flex: 1;
 }

 .space-footer {
     height: 10px;
     width: 100%;
     background: white;
 }

 * {
     padding: 0;
     margin: 0;
     box-sizing: border-box;
 }

 .logo-container>img {
     border-radius: 10px;
     padding: 5px;
     background-color: white;
 }

 .text-center {
     text-align: center;
 }

 .stat-card i {
     color: #1a4f8b;
 }

 .stat-card .stat-label {
     /* color: #1a4f8b; */
     font-size: 17px;
     font-weight: 500;
 }

 .carousel-item {
     transition: transform .6s ease-in-out, -webkit-transform .6s ease-in-out, -o-transform .6s ease-in-out !important;
 }

 .search-container {
     min-height: 100vh;
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     padding: 20px;
 }

 .search-box {
     /* background: rgba(255, 255, 255, 0.95); */
     background: rgba(177, 58, 80, 0.5);
     padding: 40px;
     border-radius: 10px;
     box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
     width: 500%;
     max-width: 700px;
 }

 .search-buttons {
     display: flex;
     justify-content: center;
     gap: 10px;
     margin-bottom: 20px;
     flex-wrap: wrap;
 }

 .search-type-btn {
     padding: 10px 20px;
     border: none;
     border-radius: 5px;
     cursor: pointer;
     font-weight: 600;
     transition: all 0.3s ease;
     display: flex;
     align-items: center;
     gap: 8px;
 }

 .btn-physical {
     background-color: #4f46e5;
     color: white;
 }

 .btn-digital {
     background-color: #ff6b6b;
     color: white;
 }

 .btn-journal {
     background-color: #ffd43b;
     color: #333;
 }

 .btn-database {
     background-color: #20c997;
     color: white;
 }

 .search-form {
     display: flex;
     flex-direction: column;
     gap: 15px;
 }

 .search-input-group {
     display: flex;
     gap: 10px;
 }

 .search-input {
     flex: 1;
     padding: 12px;
     border: 1px solid #ddd;
     border-radius: 5px;
     font-size: 16px;
 }

 .search-submit {
     padding: 12px 25px;
     background-color: #4f46e5;
     color: white;
     border: none;
     border-radius: 5px;
     cursor: pointer;
     font-size: 16px;
     display: flex;
     align-items: center;
     gap: 8px;
 }

 .search-options {
     display: flex;
     color: white;
     gap: 20px;
     justify-content: center;
     margin-top: 15px;
 }

 .search-option {
     display: flex;
     align-items: center;
     gap: 5px;
     cursor: pointer;
 }

 .search-option input[type="radio"] {
     margin-right: 5px;
 }

 .advanced-search {
     text-align: center;
     margin-top: 15px;
 }

 .advanced-search a {
     color: #4f46e5;
     text-decoration: none;
     font-weight: 600;
     display: inline-flex;
     align-items: center;
     gap: 8px;
 }

 @media (max-width: 600px) {
     .search-buttons {
         flex-direction: column;
     }

     /* .search-input-group {
         flex-direction: column;
     } */

     .search-options {
         /* flex-direction: column; */
         align-items: center;
     }
 }

 .carousel-control-prev,
.carousel-control-next {
    color: red !important; /* Change arrow color */
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    color: blue !important; /* Change color on hover */
}

/* Change the background of the control buttons */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #0d6efd; /* Red background with transparency */
    border-radius: 50%; /* Make it circular */
}

.new-arrivals-img{
    max-height: 300px; 
    width: 100%; 
    object-fit: cover;
}

.card img {
    width: 150px; /* Ensures all images are the same size */
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin: 10px auto;
    display: block;
}
.card {
    text-align: center;
}