.gpm-campus-library-container {
    width: 100%;
    display: flex;
}

.gpm-campus-library-container-main {
    width: 90%;
    margin: auto;
}
.gpm-campus-library-container-main h2 {
    font-size: 25px;
    font-weight: bold;
    margin: 0;
    color: #000;
}

.gpm-campus-library-container-main .gpm-heading-main {
    color: #c21717;
}
/* Section Header Styles */
.gpm-campus-library-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.gpm-campus-library-section-title {
    font-size: 2.3rem;
    color: #3366cc;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.gpm-campus-library-section-title::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background-color: #3366cc;
}

.gpm-campus-library-section-subtitle {
    font-size: 1.1rem;
    color: black;
    max-width: 700px;
    margin: 0 auto;
}

/* Overview Section */
.gpm-campus-library-overview {
    display: flex;
    margin-bottom: 60px;
    padding: 20px;
    align-items: center;
    gap: 30px;
    background-color: #f0f5ff;
}

.gpm-campus-library-overview-content {
    flex: 1;
}

.gpm-campus-library-overview-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.gpm-campus-library-overview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gpm-campus-library-overview-image img:hover {
    transform: scale(1.05);
}

.gpm-campus-library-overview-title {
    font-size: 1.8rem;
    color: #1a4d8c;
    margin-bottom: 15px;
}

.gpm-campus-library-overview-text {
    color: black;
    line-height: 1.6;
    margin-bottom: 25px;
}

.gpm-campus-library-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.gpm-campus-library-stat-item {
    flex: 1;
    min-width: 120px;
    text-align: center;
    padding: 15px;
    background-color: #f0f5ff;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

.gpm-campus-library-stat-number {
    font-size: 2.2rem;
    font-weight: bold;
    color: #3366cc;
    margin-bottom: 8px;
}

.gpm-campus-library-stat-label {
    font-size: 0.9rem;
    color: #555555;
}

/* Features Section */
.gpm-campus-library-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.gpm-campus-library-feature-card {
    background-color: white;
    padding: 25px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.gpm-campus-library-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.gpm-campus-library-feature-icon {
    width: 65px;
    height: 65px;
    background-color: #e6f0ff;
    color: #3366cc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 15px;
}

.gpm-campus-library-feature-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: #1a4d8c;
}

/* Collections Section */
.gpm-campus-library-collections-section {
    padding: 20px 10px;
}

.gpm-campus-library-collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.gpm-campus-library-collection-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gpm-campus-library-collection-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.gpm-campus-library-collection-image {
    height: 180px;
    position: relative;
    overflow: hidden;
}

.gpm-campus-library-collection-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.gpm-campus-library-collection-card:hover .gpm-campus-library-collection-image img {
    transform: scale(1.08);
}

.gpm-campus-library-collection-content {
    padding: 20px;
}

.gpm-campus-library-collection-title {
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: #1a4d8c;
}

.gpm-campus-library-collection-description {
    color: black;
    margin-bottom: 15px;
    line-height: 1.5;
}

.gpm-campus-library-books-count {
    display: inline-block;
    padding: 6px 12px;
    background-color: #e6f0ff;
    color: #3366cc;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

/* Rules Section */
.gpm-campus-library-rules {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.gpm-campus-library-rules-title {
    font-size: 1.8rem;
    color: #1a4d8c;
    margin-bottom: 20px;
    border-bottom: 2px solid #3366cc;
    padding-bottom: 10px;
}

.gpm-campus-library-rules-list {
    list-style: none;
    padding: 0;
}

.gpm-campus-library-rule-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eeeeee;
}

.gpm-campus-library-rule-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.gpm-campus-library-rule-icon {
    background-color: #f5f8ff;
    min-width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #3366cc;
}

.gpm-campus-library-rule-text {
    color: black;
    line-height: 1.5;
}

/* Gallery Section */
.gpm-campus-library-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.gpm-campus-library-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
    height: 220px;
}

.gpm-campus-library-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.gpm-campus-library-gallery-item:hover {
    transform: scale(1.05);
}

/* Staff Section */
.gpm-campus-library-staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.gpm-campus-library-staff-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.gpm-campus-library-staff-card:hover {
    transform: translateY(-5px);
}

.gpm-campus-library-staff-image {
    height: 180px;
    position: relative;
    overflow: hidden;
}

.gpm-campus-library-staff-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gpm-campus-library-staff-content {
    padding: 15px;
}

.gpm-campus-library-staff-name {
    font-size: 1.2rem;
    color: #1a4d8c;
    margin-bottom: 5px;
}

.gpm-campus-library-staff-position {
    color: #3366cc;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

/* Media Queries for Responsiveness */
@media screen and (max-width: 992px) {
    .gpm-campus-library-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .gpm-campus-library-overview {
        flex-direction: column;
        padding: 10px;
    }

    .gpm-campus-library-overview-content,
    .gpm-campus-library-overview-image {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .gpm-campus-library-section {
        padding: 40px 0;
    }

    .gpm-campus-library-section-title {
        font-size: 2rem;
    }

    .gpm-campus-library-feature-card {
        padding: 20px 15px;
    }

    .gpm-campus-library-collections-section {
        padding: 40px 0;
    }
}

@media screen and (max-width: 576px) {
    .gpm-campus-library-features {
        grid-template-columns: 1fr;
    }

    .gpm-campus-library-container-main {
        width: 95%;
    }

    .gpm-campus-library-section-title {
        font-size: 1.8rem;
    }
}
@media screen and (max-width: 320px) {
    .gpm-campus-library-collections-section {
        padding: 0 10x;
    }
}

/* Services Section */
.gpm-campus-library-services {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 60px;
}

.gpm-campus-library-service {
    flex: 1;
    min-width: 250px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.gpm-campus-library-service:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.gpm-campus-library-service-icon {
    min-width: 50px;
    height: 50px;
    background-color: #e6f0ff;
    border-radius: 50%;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #3366cc;
}

.gpm-campus-library-service-content h3 {
    margin: 0 0 8px;
    font-size: 1.2rem;
    color: #1a4d8c;
}

.gpm-campus-library-service-content p {
    margin: 0;
    color: black;
    font-size: 0.9rem;
}