/* Common Css Started */
.main-container {
    margin: 0 auto;
    max-width: 1300px;
    align-items: center;
}

/* All Header Part */
.heading-bar {
    background-color: #E05B1D;
    color: #fff;
    padding: 10px 20px;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    justify-content: flex-start;
    margin-bottom: 25px;
    padding-left: 5rem;
    text-transform: uppercase;
}

/* Common Css Finished */

/* AboutUs Css started */
/* Video Section */
.video-section {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
    margin-bottom: 40px;
}

.video-section iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 1;
    object-fit: cover;
}

/* Overlay Content */
.video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 2;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    box-sizing: border-box;
}

.video-overlay h1 {
    margin: 0 0 15px;
    font-size: 2.5rem;
    line-height: 1.4;
}

.video-overlay .btn {
    display: inline-block;
    background-color: #E05B1D;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 12px 24px;
    cursor: pointer;
    font-size: 1.2rem;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s;
    opacity: 0.9;
}

.video-overlay .btn a {
    color: white;
    text-decoration: none;
}

.video-overlay .btn:hover {
    background-color: #000;
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
    .video-section {
        height: 50vh;
    }

    .video-overlay h1 {
        font-size: 1rem;
    }

    .video-overlay .btn {
        font-size: 1rem;
        padding: 5px 10px;
    }
}

/* Vedio section Css finished */


/* All Heading Style */
.all-heading {
    color: #E05B1D;
    /* margin-bottom: 20px; */
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* History Section */
.history {
    margin: 30px auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.history-text {
    flex: 1;
    padding: 50px;
    text-align: justify;
}

.history-text h2 {
    margin-bottom: 20px;
    text-align: center;
}

.history-image {
    flex: 1;
}

.history-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Media Query for Tablets (768px and above) */
@media (max-width: 1024px) {
    body {
        padding-left: 15px;
        padding-right: 15px;
    }

    .heading-bar {
        font-size: 20px;
        padding: 10px 15px;
    }

    .all-heading {
        font-size: 1.8rem;
        margin-top: 15px;
        margin-bottom: 15px;
    }

    .history {
        flex-direction: column;
        gap: 15px;
    }

    .history-text {
        padding: 30px;
    }

    .history-text h2 {
        font-size: 14px;
    }
}

/* Media Query for Mobile (767px and below) */
@media (max-width: 767px) {
    body {
        padding-left: 10px;
        padding-right: 10px;
    }

    .heading-bar {
        font-size: 18px;
        text-align: center;
        padding: 8px 10px;
    }

    .all-heading {
        font-size: 1.5rem;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .history {
        flex-direction: column;
        gap: 10px;
    }

    .history-text {
        padding: 20px;
    }

    .history-text h2 {
        font-size: 12px;
    }

    .history-image img {
        width: 100%;
        height: auto;
    }
}

/* History section css finished */

/* Vision and Mission Section */
.vision-mission-section {
    margin: 50px auto;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.box {
    flex: 1;
    text-align: center;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    box-sizing: border-box;
    min-width: 250px;
}

.icon-wrapper img {
    width: 100px;
    height: auto;
    margin-bottom: 15px;
}

.box p {
    text-align: justify;
    margin-bottom: 20px;
}

.box ul {
    text-align: justify;
    margin-bottom: 20px;
    padding-left: 20px;
}

.box ul li {
    margin-bottom: 10px;
}

/* Flow Plan section */
/* Container for the flow plan */
.flowplan-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

/* Style for the flow plan image */
.flowplan {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.flowplan-image {
    width: 100%;
    max-width: 600px;
    border: 2px solid #ddd;
    border-radius: 10px;
}

/* Modal container */
.flowplan-modal {
    display: none;
    position: fixed;
    z-index: 799;
    left: 0;
    top: 20px;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

/* Modal content */
.flowplan-modal-content {
    max-width: 90%;
    max-height: 90%;
    margin: 20px;
    border: 2px solid #fff;
    border-radius: 10px;
}

/* Close button */
.flowplan-close {
    position: absolute;
    top: 40px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.flowplan-close:hover {
    color: #E05B1D;
}

/* Mobile and Tablet Responsiveness */
@media screen and (max-width: 768px) {
    .flowplan-container {
        margin: 10px 0;
    }

    .flowplan-image {
        max-width: 90%;
        border-radius: 8px;
    }

    .flowplan-close {
        top: 50px;
        right: 20px;
        font-size: 30px;
    }
}

@media screen and (max-width: 480px) {
    .flowplan-container {
        justify-content: center;
    }

    .flowplan-image {
        max-width: 80%;
        border-radius: 8px;
    }

    .flowplan-close {
        top: 50px;
        right: 10px;
        font-size: 25px;
    }
}



/* Gallery Css started */
.see-more-btn {
    margin: 20px auto;
    padding: 10px 20px;
    background-color: #000;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
    display: inline-block;
}

/* Hidden class */
.hidden {
    display: none;
}

/* Gallery Styling */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    padding: 10px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-image:hover {
    transform: scale(1.05);
}

/* Modal Styling */
.large-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.large-modal-content {
    margin: auto;
    display: block;
    max-width: 50%;
    max-height: 100%;
    border-radius: 10px;
}

.close {
    position: absolute;
    top: 50px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Gallery Css finished */
/* AboutUs css finished */

/* e-resources Css  Started */
/* OPEN EDUCATIONAL RESOURCES Css Started */
.resource-card-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    width: 100%;
    padding: 30px;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    .resource-card-container {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }

    .heading-bar {
        font-size: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .resource-card-container {
        grid-template-columns: repeat(1, 1fr);
        gap: 15px;
    }

    .heading-bar {
        font-size: 18px;
        text-align: center;
        padding: 10px;
    }

    .main-container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

.resource-card {
    color: white;
    border-radius: 8px;

    /* padding: 20px; */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.resource-card:hover {
    transform: translateY(-5px);
}

/* .resource-card-1 {
    background: linear-gradient(135deg, #4e0290, #ad63f3);
}
.resource-card-2 {
    background: linear-gradient(135deg, #02680c, #9dff94);
}
.resource-card-3 {
    background: linear-gradient(135deg, #03058d, #747af1);
}
.resource-card-4 {
    background: linear-gradient(135deg, #f20202, #f4b2b2);
}
.resource-card-5 {
    background: linear-gradient(135deg, #63f402, #b8f68c);
}
.resource-card-6 {
    background: linear-gradient(135deg, #f99304, #f5b172);
}
.resource-card-7 {
    background: linear-gradient(135deg, #ffea00, #efe859);
}
.resource-card-8 {
    background: linear-gradient(135deg, #4b0808, #e86363);
} */

.resource-card {
    position: relative;
    color: white;
    text-decoration: none;
    padding: 20px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
    background-size: cover;
    background-position: center;
}

/* Overlay effect using ::before pseudo-element */
.resource-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    border-radius: 10px;
}

/* Text and content should be above overlay */
.resource-card h3 {
    color: white;
    position: relative;
    z-index: 2;
    text-shadow: #00000091 0px 0px 5px;
}

.resource-card p {
    color: white;
    opacity: 70%;
    position: relative;
    z-index: 2;
}

/* Assigning Background Images */
.resource-card-1 {
    /* background-image: url("/images/AboutUs/HistoryImages/img3.jpg"); */
    background-image: url("/images/oer-banners/oer-1.jpg");
    background-size: cover;
    background-position: center;
}

.resource-card-2 {
    background-image: url("/images/oer-banners/oer-2.jpg");
    background-size: cover;
    background-position: center;
}

.resource-card-3 {
    background-image: url("/images/oer-banners/oer-3.jpg");
    background-size: cover;
    background-position: center;
}

.resource-card-4 {
    background-image: url("/images/oer-banners/oer-4.jpg");
    background-size: cover;
    background-position: center;
}

.resource-card-5 {
    background-image: url("/images/oer-banners/oer-5.jpg");
    background-size: cover;
    background-position: center;
}

.resource-card-6 {
    background-image: url("/images/oer-banners/oer-6.jpg");
    background-size: cover;
    background-position: center;
}

.resource-card-7 {
    background-image: url("/images/oer-banners/oer-7.jpg");
    background-size: cover;
    background-position: center;
}

.resource-card-8 {
    background-image: url("/images/oer-banners/oer-8.jpg");
    background-size: cover;
    background-position: center;
}

/* Updating overlays with different colors */

.resource-card-1::before {
    background: linear-gradient(135deg, rgba(138, 3, 133, 0.8), rgb(75, 3, 135, 0.8));
}

.resource-card-2::before {
    background: linear-gradient(135deg, rgb(104, 64, 16, 0.8), rgb(152, 64, 16, 0.8));
}

.resource-card-3::before {
    background: linear-gradient(135deg, rgba(3, 5, 141, 0.7), rgba(116, 122, 241, 0.7));
}

.resource-card-4::before {
    background: linear-gradient(135deg, rgb(80, 0, 0, 0.8), rgb(128, 0, 0, 0.8));
}

.resource-card-5::before {
    background: linear-gradient(135deg, rgb(10, 170, 68, 0.8), rgb(10, 116, 68, 0.8));
}

.resource-card-6::before {
    background: linear-gradient(135deg, rgb(250, 51, 105, 0.8), rgb(170, 51, 105, 0.8));
}

.resource-card-7::before {
    background: linear-gradient(135deg, rgba(255, 81, 0, 0.7), rgba(239, 224, 89, 0.7));
}

.resource-card-8::before {
    background: linear-gradient(135deg, rgba(75, 8, 8, 0.7), rgba(172, 99, 232, 0.7));
}

.oer-com-card-img {
    max-width: 30%;
    height: auto;
}


.resource-card h3 {
    margin: 0 0 10px;
    text-align: center;
    color: #000;
}

.resource-card-container a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
    text-align: center;
    color: #000;
    text-decoration: none;
    height: 100%;
    width: 100%;
}

/* e-journal (subscribed) css started */
.e-journal-content {
    margin: 20px;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.content h2 {
    margin-bottom: 20px;
}

.journal-list {
    list-style-type: disc;
    padding-left: 20px;
}

.journal-list li {
    margin-bottom: 25px;
}

.journal-list a {
    color: #860f19;
    text-decoration: none;
    font-weight: bold;
}

.journal-list a:hover {
    text-decoration: underline;
}

.journal-list p {
    margin: 0;
    color: #4c4c4f;
}

.logo-contain {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin: 30px 0;
    flex-wrap: nowrap;
    gap: 10px;
}

.logo-contain a img {
    max-width: 150px;
    height: auto;
    margin: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-contain a img:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Responsive Design for Smaller Screens */
@media (max-width: 1024px) {
    .logo-contain {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .logo-contain a img {
        max-width: 220px;
    }
}

@media (max-width: 768px) {
    .logo-contain {
        flex-direction: column;
        align-items: center;
    }

    .logo-contain a img {
        max-width: 200px;
        margin: 5px 0;
    }
}

.instruction-button {
    display: inline-block;
    background-color: #e05b1d;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 10px;
}

.instruction-button:hover {
    background-color: #000;
}

/* buddhist collection css start */
.collection-card-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    width: 80%;
    padding: 20px;
    justify-content: center;
    align-items: center;
    margin-left: 10%;
    margin-right: 10%;
}

.collection-card {
    position: relative;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
}

.collection-card.color-bg {
    background: linear-gradient(135deg, #f29941, #eac58d);
}

.collection-quote {
    font-size: 30px;
    color: #000000;
    position: absolute;
    top: 10px;
    left: 20px;
}

.collection-quote-end {
    font-size: 30px;
    color: #000000;
    position: absolute;
    bottom: 10px;
    right: 20px;
}

.collection-link-item {
    font-size: 26px;
    text-align: center;
    color: #860f19;
    text-decoration: none;
    font-weight: bold;
    padding: 30px;
    flex: 1;
}

.collection-link-item:hover {
    color: #000000;
    text-decoration: underline;
}

/* Mobile and Tablet Responsiveness */
@media (max-width: 768px) {
    .collection-card-container {
        grid-template-columns: repeat(1, 1fr);
        width: 90%;
        margin-left: 5%;
        margin-right: 5%;
        padding: 10px;
    }

    .collection-quote,
    .collection-quote-end {
        font-size: 20px;
    }

    .collection-link-item {
        font-size: 20px;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .collection-card-container {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }

    .collection-card {
        padding: 15px;
    }

    .collection-quote,
    .collection-quote-end {
        font-size: 18px;
    }

    .collection-link-item {
        font-size: 18px;
        padding: 15px;
    }
}

/* Degital reading room css started */
/* Main Section Heading */

.DRroom-heading {
    align-content: center;
    max-width: 800px;
}


.DRroom-heading h1 {
    font-size: 28px;
    color: #000;
    text-align: center;
    padding-bottom: 20px;
    padding-top: 20px;
}

.DRroom-heading .digital-p {
    font-size: 16px;
    color: #000;
    text-align: justify;
    justify-content: center;
    padding-bottom: 20px;
}



/* Digital Section */
.degital-section {
    padding: 20px;
    margin: 20px auto;
    background-color: #f4f4f4;
    border-radius: 8px;
    overflow-y: auto;
    max-height: 400px;
    gap: 20px;
}

.degital-section h2 {
    font-size: 24px;
    color: #000;
    padding-bottom: 20px;
}

.degital-section p {
    font-size: 16px;
    color: #000;
    text-align: justify;
    justify-content: center;

}

.degital-button {
    background-color: #e05b1d;
    color: white;
    padding: 10px 20px;

    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    margin-top: 20px;
    font-size: 16px;
}

.degital-button:hover {
    background-color: #000000;
    color: white;
}

/* Popup Styles */
.degital-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.degital-popup-section {
    background-color: #fff;
    width: 90%;
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    overflow-y: auto;
    border-radius: 8px;
    position: relative;
    max-height: 80vh;
}

.degital-close-button {
    background-color: #000;
    border: none;
    font-size: 30px;
    color: #ffffff;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

/* Dropdown Container */
.degital-dropdown {
    margin: 20px;
    border: 1px solid #000;
    background-color: #2e2e2e;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.degital-dropdown h2 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
}

.degital-dropdown::after {
    content: "▼";
    font-size: 14px;
    color: #fff;
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

.degital-dropdown.open::after {
    transform: rotate(180deg);
}

/* Dropdown Content */
.degital-dropdown-content {
    display: none;
    background-color: #dcdcdc;
    padding: 20px;
    margin-top: 5px;
    border-radius: 20px;
    overflow-y: auto;
    max-height: 300px;
    width: 100%;
    box-sizing: border-box;
}

.degital-dropdown-content ol {
    margin: 0;
    padding-left: 20px;
}

.degital-dropdown-content ol li {
    list-style-type: decimal;
    margin-bottom: 10px;
    font-size: 14px;
    color: #000;
}

.degital-dropdown-content ol li a {
    text-decoration: none;
    color: #000;
    font-size: 16px;
}

.degital-dropdown-content ol li a:hover {
    /* text-decoration: underline; */
    color: #860f19;
}

.degital-dropdown.open+.dropdown-content {
    display: block;
}

/* Popup Button Styles */
.degital-popup-btn {
    background-color: #fff;
    color: #ffffff;
    padding: 10px 15px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    display: inline-block;
    margin-top: 10px;
}

.degital-popup-btn:hover {
    background-color: #e05b1d;
    color: #000;
}

.degital-popup-btn a {
    text-decoration: none;
    color: inherit;
}

/* Tablet Responsive Styles */
@media (max-width: 768px) {

    .degital-section,
    .degital-popup-section,
    .degital-dropdown {
        max-width: 90%;
        padding: 15px;
    }

    .DRroom-heading h1 {
        font-size: 24px;
    }

    .DRroom-heading p {
        font-size: 14px;
    }

    .degital-button {
        font-size: 14px;
        padding: 8px 15px;
    }

    .degital-popup-btn {
        font-size: 14px;
        padding: 8px 12px;
    }

    .degital-dropdown-content {
        padding: 15px;
        max-height: 250px;
        margin-top: 8px;
    }

    .degital-dropdown-content ol li {
        font-size: 14px;
        margin-bottom: 5px;
    }

    .degital-dropdown-content ol li a {
        font-size: 14px;
    }
}

/* Mobile Responsive Styles */
@media (max-width: 480px) {

    .degital-section,
    .degital-popup-section,
    .degital-dropdown {
        padding: 10px;
        font-size: 14px;
    }

    .DRroom-heading h1 {
        font-size: 20px;
    }

    .DRroom-heading p {
        font-size: 12px;
    }

    .degital-button,
    .degital-popup-btn {
        font-size: 12px;
        padding: 6px 10px;
    }

    .degital-dropdown-content {
        padding: 10px;
        max-height: 200px;
    }

    .degital-dropdown-content ol {
        padding-left: 15px;
    }

    .degital-dropdown-content ol li {
        font-size: 12px;
        margin-bottom: 3px;
    }

    .degital-dropdown-content ol li a {
        font-size: 12px;
    }
}

/* Degital reading room css finished */

/* E-Books Css started */
.e-book-h2 {
    padding-left: 30px;
    padding-bottom: 20px;
}

.e-book-checklist-section {
    padding: 15px;
    background-color: #fcfbfa;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding-bottom: 10px;
    margin-bottom: 20px;
    overflow: hidden;
}


.e-book-checklist-section ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.e-book-checklist-section ul li {
    margin-bottom: 10px;
    margin-left: 30px;
    list-style-type: square;
    color: #e05b1d;
}

.e-book-checklist-section ul li a {
    text-decoration: none;
    color: #000000;
    /* font-size: 1em; */
    transition: color 0.3s ease-in-out;
}

.e-book-checklist-section ul li a:hover {
    color: #e05b1d;
}

/* Layout for Desktop */
.e-book-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.e-book-checklist-section {
    flex: 0 0 30%;
    margin: 10px;
}

/* Tablet View */
@media (max-width: 768px) {
    .e-book-checklist-section {
        flex: 0 0 45%;
    }

    h2 {
        font-size: 1.3em;
    }

    .e-book-checklist-section ul li a {
        font-size: 0.9em;
    }
}

/* Mobile View */
@media (max-width: 480px) {
    .e-book-checklist-section {
        flex: 0 0 100%;
    }

    h2 {
        font-size: 1.2em;
    }

    .e-book-checklist-section ul li a {
        font-size: 0.8em;
    }
}

/* E-Books Css Finished */

/* E-Database Css Started */
.edatabase-text {
    justify-content: center;
    max-width: 800px;
}

.edatabase-h4 {
    text-align: justify;
    justify-content: center;
    font-size: 20px;
}

.predatory-card-container {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-top: 50px;
    margin-bottom: 50px;
    padding: 0 10px;
}

.edatabase-h1 {
    text-align: center;
    font-size: 2rem;
    color: #000;
    padding-top: 50px;
    padding-bottom: 20px;

}

/* Row for Cards */
.card-row {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Individual Card */
.predatory-card {
    background-color: #46070a !important;
    border-radius: 15px;
    width: 240px;
    max-width: 90%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.predatory-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Card Content */
.predatory-card-content {
    padding: 15px;
    text-align: center;
}

.predatory-card-content a {
    font-size: 1rem;
    margin: 10px 0;
    color: #fff;
    text-decoration: none !important;
}

.predatory-card-content p {
    font-size: 0.9rem;
    margin: 5px 0 15px;
    color: #e39818;
}

/* Styling for Images */
.predatory-card-image {
    width: 100%;
    height: 5rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.predatory-card:hover .predatory-card-image {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Button Styles */
.edatabase-btn {
    display: inline-block;
    padding: 10px 15px;
    background-color: #ffffff;
    color: #000000;
    font-size: 14px;
    font-weight: bold;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.edatabase-btn:hover {
    background-color: #E05B1D;
    color: #fff;
}

.edatabase-btn a {
    color: inherit;
    text-decoration: none;
    display: block;
    width: 100%;
    height: 100%;
}

/* Responsive Design */

/* Tablet View (Max Width 768px) */
@media (max-width: 768px) {
    .predatory-card {
        width: 150px;
        max-width: 60%;
    }

    .predatory-card-content h6 a {
        font-size: 0.9rem;
    }

    .predatory-card-content p {
        font-size: 0.8rem;
    }

    .edatabase-h1 {
        font-size: 1.8rem;
    }

    .card-row {
        gap: 10px;
    }
}

/* Mobile View (Max Width 480px) */
@media (max-width: 480px) {
    .card-row {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .predatory-card {
        width: 200px;
        max-width: 80%;
    }

    .predatory-card-content h6 a {
        font-size: 0.8rem;
    }

    .predatory-card-content p {
        font-size: 0.7rem;
    }

    .edatabase-btn {
        padding: 8px 12px;
        font-size: 12px;
    }

    .edatabase-h1 {
        font-size: 1.5rem;
    }
}

/* E-Database Css Finished */
/* Research Corner Css Started */

/* Article request service css started */
.article-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    padding: 20px;
}

.article-content-text {
    flex: 1 1 65%;
    padding-right: 30px;
    text-align: justify;
    line-height: 1.8;

}

.article-contact-info {
    flex: 1 1 30%;
    padding: 20px;
    background: linear-gradient(to bottom, #e3771840, #fff);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.article-content-text,
.article-contact-info {
    min-height: 250px;
}

.article-form-section {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(241, 104, 6, 0.989);
}

.article-form-container {
    margin: 0 auto;
    max-width: 600px;
    text-align: left;
}

.article-form-container h2 {
    text-align: center;
    color: #E05B1D;
}

.article-form-container form {
    display: flex;
    flex-direction: column;
}

.article-form-container label {
    margin-bottom: 5px;
    font-weight: bold;
}

.article-form-container input,
.article-form-container textarea {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
}

.article-form-container textarea {
    resize: vertical;
}

.article-status-options {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
}

.article-status-options label {
    font-weight: normal;
    display: inline-block;
}

.article-status-options input {
    margin-right: 5px;
}

.article-form-container button {
    padding: 6px 10px;
    font-size: 14px;
    background-color: #E05B1D;
    border: none;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    width: 150px;
    margin: 0 auto;
}

.article-form-container button:hover {
    background-color: #000000;
}

/* Responsive Styles */
@media (max-width: 768px) {

    /* Tablet and smaller devices */
    .article-content {
        flex-direction: column;
        gap: 20px;
    }

    .article-content-text {
        flex: 1 1 100%;
        padding-right: 0;
    }

    .article-contact-info {
        flex: 1 1 90%;
    }

    .article-contact-info h3,
    .article-contact-info h4,
    .article-contact-info p {
        text-align: center;
    }

    .article-form-container {
        width: 90%;
        margin: 0 auto;
    }

    .article-form-container h2 {
        font-size: 1.5rem;
    }

    .article-form-container form {
        padding: 10px;
    }

    .article-status-options {
        flex-direction: column;
        gap: 5px;
    }
}

@media (max-width: 480px) {

    /* Mobile devices */
    .article-content {
        padding: 5px;
    }

    .article-content-text ul {
        padding-left: 20px;
    }

    .article-content-text p {
        font-size: 0.9rem;
    }

    .article-contact-info {
        padding: 10px;
        font-size: 0.9rem;
    }

    .article-form-container h2 {
        font-size: 1.2rem;
    }

    .article-form-container input,
    .article-form-container textarea {
        font-size: 0.9rem;
        padding: 8px;
    }

    .article-form-container button {
        font-size: 0.8rem;
        padding: 5px 8px;
        width: 100px;
    }
}

/* Information service css started */
.information-service-content {
    margin: 30px auto;
    text-align: center;
}

.information-service-content h2 {
    margin-bottom: 10px;
}

.information-service-underline {
    width: 50px;
    height: 2px;
    background-color: #000;
    margin: 10px auto;
}

.services-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 40px auto;
    gap: 20px;
}

.services {
    flex: 2;
    padding-right: 20px;
}

.services h5,
.charges h5 {
    color: #e05b1d;
    margin-bottom: 10px;
}

.services details {
    margin: 10px 0;
    cursor: pointer;
}

.services summary {
    font-weight: bold;
    margin-bottom: 5px;
    color: #860f19;
}

.services p {
    margin: 5px 10px;
    color: #000;
}

.charges {
    margin-top: 20px;
}

.service-charges {
    margin-top: 20px;
}

.service-charges table {
    width: 90%;
    border-collapse: collapse;
    margin: 10px 0;
}

.service-charges th,
.service-charges td {
    border: 1px solid #f0a36f;
    padding: 8px;
    text-align: left;
}

.service-charges th {
    background-color: #ecb67c;
    font-weight: bold;
    text-align: center;
}

.right-content {
    flex: 1;
    background: linear-gradient(to bottom, #ffe4d4, #e3771840);
    padding: 20px;
    color: #000;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    height: 100%;
    min-height: 350px;
    text-align: justify;
}

.right-content h5 {
    margin-bottom: 10px;
    color: #000;
}

.right-content p {
    margin-bottom: 15px;
}

.inform-contain {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 40px auto;
    gap: 20px;
    padding: 20px;
}

.left-section {
    flex: 1 1 50%;
}

.form-wrapper {
    flex: 1 1 50%;
}

.appointment {
    margin-bottom: 20px;
    background: linear-gradient(to bottom, #ffe4d4, #e3771840);
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    text-align: justify;
}

.appointment h5 {
    margin-bottom: 20px;
    color: #000;
}

.appointment p {
    color: #000;
}

.additional-content {
    background: linear-gradient(to right, #ffe4d4, #e3771840);
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    color: #000;
    text-align: justify;
}

.additional-content h5 {
    color: #000;
    margin-bottom: 20px;
}

.additional-content p {
    margin-bottom: 15px;
}

.form-container {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 15px rgb(240, 114, 42);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form-container h2 {
    margin-bottom: 20px;
    color: #e05b1d;
    text-transform: uppercase;
    text-align: center;
}

.form-container input,
.form-container textarea {
    width: 90%;
    margin-bottom: 15px;
    padding: 12px;
    border: 1px solid #E05B1D;
    border-radius: 5px;
    transition: border-color 0.3s ease;
    text-align: left;
}

.form-container button {
    background-color: #e05b1d;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 10px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.form-container button:hover {
    background-color: #000;
    transform: scale(1.05);
}

/* Responsive Styles */
@media (min-width: 768px) {
    .services-container {
        flex-direction: row;
        justify-content: space-between;
    }

    .services {
        flex: 2;
        padding-right: 20px;
    }

    .right-content {
        flex: 1;
    }

    .inform-contain {
        flex-direction: row;
    }

    .left-section,
    .form-wrapper {
        flex: 1 1 50%;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .services-container {
        flex-direction: column;
        align-items: center;
    }

    .inform-contain {
        flex-direction: column;
    }

    .left-section,
    .form-wrapper {
        flex: 1 1 100%;
    }

    .form-container input,
    .form-container textarea {
        width: 90%;
    }

    .form-container button {
        width: 100%;
    }

    .services details {
        font-size: 0.85rem;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    ervices-container {
        gap: 10px;
    }

    .form-container {
        padding: 20px;
    }

    .form-container input,
    .form-container textarea {
        padding: 10px;
    }

    .heading-bar {
        font-size: 1.2rem;
        text-align: center;
    }

    .information-service-content h2 {
        font-size: 1.2rem;
    }

    .appointment h2,
    .additional-content h2 {
        font-size: 1.2rem;
    }
}

/* List of credible journals css started */

.credible-card-contain {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.credible-card {
    background-color: #000;
    border-radius: 15px;
    width: 190px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    /* transform: rotate(-10deg); */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 40px;
    margin-top: 50px;
}

/* .credible-card:nth-child(2) { transform: rotate(-5deg); }
.credible-card:nth-child(3) { transform: rotate(0deg); }
.credible-card:nth-child(4) { transform: rotate(5deg); }
.credible-card:nth-child(5) { transform: rotate(10deg); }
.credible-card:nth-child(6) { transform: rotate(-15deg); } */

.credible-card:hover {
    /* transform: scale(1.05) rotate(0); */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.credible-card img {
    display: block;
    width: 100%;
    height: 120px;
    object-fit: contain;
    background-color: #fff;
}

.credible-card-content {
    padding: 10px;
    text-align: center;
}

.credible-card-content h3 {
    margin: 10px 0;
    color: #fff;
}

.credible-card-content p {
    margin: 5px 0 15px;
    color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .credible-card {
        width: 180px;
    }

    .credible-card-content h3 {
        font-size: 1rem;
    }

    .credible-card-content p {
        font-size: 0.8rem;
    }
}

/* Mobile View */
@media (max-width: 480px) {
    .credible-card-container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .credible-card {
        width: 90%;
    }

    .credible-card-content h3 {
        font-size: 0.9rem;
    }

    .credible-card-content p {
        font-size: 0.8rem;
    }
}

/* List of predatory journals css started */
.predatory-h4 {
    text-align: justify;
    justify-content: center;
}

.predatory-card-container-journal {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 80px;
    margin-bottom: 80px;
}

.predatory-card {
    background-color: #000;
    border-radius: 15px;
    width: 200px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    /* transform: rotate(-10deg); */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* .predatory-card:nth-child(2) { transform: rotate(-5deg); }
.predatory-card:nth-child(3) { transform: rotate(0deg); }
.predatory-card:nth-child(4) { transform: rotate(5deg); }
.predatory-card:nth-child(5) { transform: rotate(10deg); }
.predatory-card:nth-child(6) { transform: rotate(-15deg); } */

.predatory-card:hover {
    transform: scale(1.05) rotate(0);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.predatory-card-content {
    padding: 20px;
    text-align: center;
}

.predatory-card-content h6 {
    margin: 10px 0;
    color: #fff;
    text-decoration: none;
}

.predatory-card-content p a {
    margin: 5px 0 15px;
    color: #e39818;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .predatory-card {
        width: 180px;
    }

    .predatory-card-content h3 {
        font-size: 1rem;
    }

    .predatory-card-content p {
        font-size: 0.8rem;
    }
}

/* Mobile View */
@media (max-width: 480px) {
    .predatory-card-container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}

/* Research Corner css started */
.research-content {
    margin: 20px 40px;
}

.research-content h2 {
    color: #860f19;
    margin-bottom: 20px;
}

.research-content h3,
.content h6 {
    color: #000;
    margin-bottom: 10px;
}

/* .research-accordion {
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
    margin: 20px 40px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.research-accordion-header {
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f9f9f9;
    color: #000;
    font-weight: bold;
    border-bottom: 1px solid #ddd;
}
.research-accordion-header:hover {
    background-color: #f0b498;
}
.research-accordion-header .research-icon {
    transition: transform 0.3s ease;
}
.research-accordion-header.active .research-icon {
    transform: rotate(180deg);
}
.research-accordion-content {
    display: none;
    padding: 15px 20px;
    color: #000;
}
.research-accordion-content img {
    margin-top: 10px;
    max-width: 100%;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
} */
.research-heading-section {
    margin-bottom: 20px;
    /* margin-top: 20px; */
    padding-top: 20px;
}

.research-h3 {
    text-align: left;
    color: #E05B1D;
    padding-bottom: 20px;
}

.research-h6 {
    text-align: left;
    color: #000;
}

.research-form-image-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
    gap: 50px;
    background: linear-gradient(to right, #ffffff, #f2f2f2);
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin: 20px 40px;
}

.research-form-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: 400px;
}

.research-form-section form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.research-form-section label {
    color: #000;
}

.research-form-section input,
.research-form-section textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    transition: border-color 0.3s ease-in-out;
}

.research-form-section input:focus,
.research-form-section textarea:focus {
    border-color: #E05B1D;
}

.research-form-section button {
    padding: 12px;
    background-color: #E05B1D;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease-in-out;
}

.research-form-section button:hover {
    background-color: #000;
}

.research-image-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.research-image-section img {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Responsive styles */
@media (max-width: 1024px) {
    .research-form-image-section {
        flex-direction: column;
        align-items: center;
        padding: 15px;
        gap: 20px;
    }

    .research-form-section {
        max-width: 100%;
    }

    .research-image-section img {
        max-width: 350px;
    }

    .research-content h2 {
        font-size: 1.2rem;
        text-align: center;
    }

    .research-h3 {
        font-size: 1.3rem;
        text-align: center;
    }

    .research-h6 {
        text-align: center;
        font-size: 0.9rem;
    }

    .research-accordion {
        margin: 10px 20px;
    }
}

@media (max-width: 768px) {

    /* Mobile adjustments */
    .research-form-image-section {
        padding: 10px;
        gap: 5px;
    }

    .research-form-section {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .research-image-section img {
        max-width: 300px;
    }

    .research-content h2 {
        font-size: 1rem;
        text-align: center;
    }

    .research-h3 {
        font-size: 1.1rem;
        text-align: center;
    }

    .research-h6 {
        font-size: 0.85rem;
        text-align: center;
    }

    .research-accordion-header {
        font-size: 0.9rem;
        padding: 10px 15px;
    }

    .research-accordion-content {
        padding: 10px 15px;
    }

    .research-form-section label,
    .research-form-section input,
    .research-form-section textarea {
        font-size: 0.8rem;
    }

    .research-form-section button {
        font-size: 0.8rem;
        padding: 10px;
    }
}

/* Workshop and events css started */

.workshop-register-section {
    text-align: center;
    margin: 50px 0;
}

.workshop-register-section h2 {
    color: #4b0808;
    font-weight: bold;
    margin-bottom: 10px;
}

.workshop-register-section p {
    color: #000;
    margin-bottom: 20px;
}

.workshop-register-btn {
    display: inline-block;
    background-color: #E05B1D;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.workshop-register-btn:hover {
    background-color: #000;
}

.workshop-divider {
    width: 50px;
    height: 2px;
    background-color: #000;
    margin: 10px auto;
}

.workshop-images-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px auto;
    width: 90%;
    gap: 20px;
    margin-bottom: 80px;
}

.workshop-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.workshop-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

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

/* Responsive Design for Tablets (768px and below) */
@media screen and (max-width: 768px) {
    .workshop-images-container {
        flex-direction: column;
        gap: 20px;
    }

    .workshop-image img {
        max-width: 90%;
    }
}

/* Responsive Design for Mobile (480px and below) */
@media screen and (max-width: 480px) {
    .workshop-register-section h2 {
        font-size: 1.5rem;
    }

    .workshop-register-section p {
        font-size: 0.9rem;
    }

    .workshop-register-btn {
        font-size: 0.9rem;
        padding: 8px 15px;
    }

    .workshop-divider {
        width: 30px;
    }

    .workshop-images-container {
        flex-direction: column;
        gap: 15px;
    }

    .workshop-image img {
        max-width: 100%;
    }
}

/* Starting from here */

/* Common Css for container-headerr*/

@media (max-width: 767px) {

    .button-download {

        font-size: 11px;
        padding: 10px;
        width: 100%;
        max-width: 200px;
        transition: all 0.5s;
        cursor: pointer;
        margin: 5px;
    }

    .button-download span:after {
        content: '\00bb';
        position: absolute;
        opacity: 0;
        top: 0;
        right: -20px;
        transition: 0.5s;
    }

    .card-text {
        padding-left: 15px;
    }

}

@media (max-width: 480px) {

    .card-text {
        padding-left: 15px;
    }

}

/* Library Services Area is Starting from here */

/* Circulation Page Start*/

.circulation-page .container .circulation {
    margin-top: 10px;
}

/* 
.circulation-page .container .my-4:hover {
    box-shadow: 0px 0px 2px 0px rgba(57, 56, 56, 0.75);
} */

.circulation-page li {
    list-style: square;
}

.circulation-page li::marker {
    color: #E05B1D;
}

.circulation-page .card {
    flex-direction: row;
    align-items: center;
}

.circulation-page .card-text {
    padding-left: 100px;
}

.circulation-page .circulation .fixed-size-image {
    width: auto;
    height: 100px;
}

/* Circulation-page Section Headings */
.circulation-page .section-heading {
    font-size: 1.75rem;
    font-weight: 600;
    position: relative;
    padding-left: 20px;
}

.circulation-page .section-heading::before {
    content: '';
    position: absolute;
    width: 6px;
    height: 100%;
    background-color: #E05B1D;
    left: 0;
    top: 0;
}

.section-heading {
    font-size: 1.75rem;
    font-weight: 600;
    position: relative;
    padding-left: 20px;
}

.section-heading::before {
    content: '';
    position: absolute;
    width: 6px;
    height: 100%;
    background-color: #E05B1D;
    left: 0;
    top: 0;
}

#list-example .list-group-item.active {
    background-color: #E05B1D;
    border-color: #E05B1D;
    color: white;
}

/* Refundable Deposits Card Style */
.circulation-page .card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.circulation-page .deposit-card {
    background-color: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 20px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.deposit-card-up {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.deposit-card-up:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

.circulation-page .deposit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

.circulation-page .deposit-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.circulation-page .deposit-amount {
    font-size: 2rem;
    font-weight: 700;
    color: #E05B1D;
    margin-bottom: 15px;
}

.circulation-page .deposit-info {
    font-size: 0.95rem;
    color: #666;
}

.circulation-page .btn-custom {
    background-color: #E05B1D;
    color: white;
    border-radius: 25px;
    padding: 10px 20px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.circulation-page .btn-custom:hover {
    background-color: #c14c19;
}

/* Borrowing Privileges Card Styles */
.circulation-page .card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.circulation-page .privilege-card {
    background-color: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px;
    text-align: center;
    position: relative;
    opacity: 0;
    /* For animation */
    transform: translateY(50px);
    /* Initial position for animation */
}

.circulation-page .privilege-card.active {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease-in-out;
}

.circulation-page .privilege-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.circulation-page .privilege-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.circulation-page .privilege-books {
    font-size: 2rem;
    font-weight: 700;
    color: #E05B1D;
    margin-bottom: 15px;
}

.circulation-page .privilege-duration {
    font-size: 1rem;
    font-weight: 500;
    color: #555;
}

@media (max-width: 767px) {

    .circulation-page .card-text {
        padding-left: 15px;
    }

}

@media (max-width: 480px) {

    .circulation-page .card-text {
        padding-left: 15px;
    }

}

/*Circulation Page Ended */

/* Inter Library Loan Service Page Start*/

.interloan-page {
    margin-top: 10px;
}

.interloan-page .container .request-book:hover {
    box-shadow: 0px 0px 2px 0px rgba(57, 56, 56, 0.75);

}

.interloan-page .container .request-book {
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}


.interloan-page .card-text {
    color: #000;
    border-radius: 8px;
    padding-left: 100px;

}

.interloan-page .request-book {
    background-color: rgba(255, 255, 255, 0.9);
    /* Slightly transparent white */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.interloan-page .request-book ul {
    list-style: none;
    padding: 0;
}

.interloan-page .request-book ul li {
    font-size: 16px;
    margin: 10px 0;
    display: flex;
    align-items: center;
}

.interloan-page .request-book ul li::before {
    content: '\2713';
    color: #E05B1D;
    margin-right: 10px;
}

.interloan-page .catalogue {
    color: #120fff;
}

.interloan-page a:link {
    text-decoration: none;
}

.interloan-page a:visited {
    text-decoration: none;
    display: inline-block;
}

.interloan-page a:hover {
    text-decoration: underline;
    color: #E05B1D;
}

.interloan-page a:active {
    text-decoration: underline;
}

.interloan-page ul li span {
    display: inline-block;
}

.button-download {
    display: inline-block;
    border-radius: 4px;
    background-color: #f4511e;
    border: none;
    color: #FFFFFF;
    text-align: center;
    font-size: 14px;
    padding: 10px;
    width: 100%;
    max-width: 400px;
    transition: all 0.5s;
    cursor: pointer;
    margin: 5px;
}

.button-download .button-text {
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.5s;
}

.button-download span:after {
    content: '\00bb';
    position: absolute;
    opacity: 0;
    top: 0;
    right: -20px;
    transition: 0.5s;
}

.button-download span {
    padding-right: 25px;
}

.button-download:hover span:after {
    opacity: 1;
    right: 0;
}


@media (max-width: 767px) {

    .interloan-page .container,
    .container-fluid,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        --bs-gutter-x: 1.5rem;
        --bs-gutter-y: 0;
        width: 100%;
        padding-right: calc(var(--bs-gutter-x) * .0) !important;
        padding-left: calc(var(--bs-gutter-x) * .0) !important;
        margin-right: auto;
        margin-left: auto;
    }

    .interloan-page .card-text {
        /* card text after 30th in library services */
        padding-left: 15px;
    }

}

@media (max-width: 480px) {

    .interloan-page .container,
    .container-fluid,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        --bs-gutter-x: 1.5rem;
        --bs-gutter-y: 0;
        width: 100%;
        padding-right: calc(var(--bs-gutter-x) * .0) !important;
        padding-left: calc(var(--bs-gutter-x) * .0) !important;
        margin-right: auto;
        margin-left: auto;
    }

    .interloan-page .card-text {
        padding-left: 15px;
    }

}

/* Inter Library Loan Service Page Ended*/

/* Copyright Clearance Service< Page Start */

.copyrightclearance-page {
    margin-top: 10px;
}

.container .copyright_clearance_unit:hover {
    box-shadow: 0px 0px 2px 0px rgba(57, 56, 56, 0.75);

}

.copyrightclearance-page .card-text {
    padding-left: 100px;
}


.container .copyright_clearance_unit {
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.copyright_clearance_unit {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

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

.copyright_clearance_unit ul li {
    font-size: 16px;
    margin: 10px 0;
    display: flex;
    align-items: center;
}

.copyrightclearance-page a:link {
    text-decoration: none;
}

.copyrightclearance-page a:visited {
    text-decoration: none;
    display: inline-block;
}

.copyrightclearance-page a:hover {
    text-decoration: underline;
    color: #E05B1D;
}

.copyrightclearance-page a:active {
    text-decoration: underline;
}

.copyrightclearance-page ul li span {
    display: inline-block;
}

.copyrightclearance-page ul li i {
    color: rgb(0, 0, 0);
}

.copyrightclearance-page ul li a {
    color: rgb(0, 0, 0);

}

.watermark {
    position: absolute;
    font-size: 6rem;
    color: rgba(0, 0, 0, 0.05);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

.card-body>*:not(.watermark) {
    z-index: 1;
    position: relative;
}

.card-body {
    transition: transform 0.3s ease;
}

.card-zoom {
    transition: transform 0.3s ease;
}

.card-zoom:hover {
    transform: scale(1.05);
    text-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}



@media (max-width: 767px) {

    .copyrightclearance-page .container .card .box .content h2 {
        font-size: 7rem;
        right: 10%;
    }

    .copyrightclearance-page .card-text {
        padding-left: 15px;
    }

}

@media (max-width: 480px) {
    /* Need to change*/

    .copyrightclearance-page .container .card .box .content h2 {
        right: 5%;
        top: 40%;
        font-size: 6rem;
    }

    .copyrightclearance-page .card-text {
        padding-left: 15px;
    }

    .copyrightclearance-page .container .card {
        margin: 10px;
        transition: 0.5s;
    }

    .copyrightclearance-page .container .card .box {
        position: absolute;
        top: 0px !important;
        left: 0px !important;
        right: 0px !important;
        bottom: 0px !important;
    }

}

/* Copyright Clearance Service Page End */

/* Remote access to E-resources Page Start */

.remoteaccess-page .container .main-body {
    margin-top: 50px;
}

.remoteaccess-page .container .main-text {
    padding-left: 100px;
}

.remoteaccess-page .card-header {
    color: #2e2e2e;
    font-weight: bold;
    font-size: 1.4rem;
}

.remoteaccess-page .card-body {
    margin-left: 20px;
    margin-top: 20px;
}

.remoteaccess-page .card-body h5 {
    font-weight: 600;
}

.remoteaccess-page .card {
    margin-top: 50px;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.remoteaccess-page .contact-info {
    margin-top: 20px;
    padding: 20px;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.remoteaccess-page li {
    list-style: square;
}

.remoteaccess-page li::marker {
    color: #E05B1D;
}

@media (max-width: 480px) {

    .remoteaccess-page .main-text {
        padding-left: 15px !important;
    }

}


/* Remote access to E-resources Page End */

/* Data Table Start */

.tblsection {
    margin-top: 50px;
    margin-bottom: 100px;
}

.display td a {
    text-decoration: none;
}

.tblsection thead,
.tblsection tfoot {
    color: rgb(255, 255, 255);

}

.tblsection thead th,
.tblsection tfoot th,
.tblsection tfoot td {
    background: #2e2e2e;
    border: 3px solid rgb(255, 255, 255);
}


/* Data Table End */

/* Contact Us Start */

.contact-container {

    max-width: 1300px;
    margin: 50px auto;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.contactus-page .contact-form-container {
    background-color: #e9ecef;
    padding: 30px;
    border-radius: 8px;
}

.contactus-page .form-control {
    border-radius: 0.5rem;
}

.contactus-page .contact-icons i {
    font-size: 1.5rem;
    color: #ffffff;
}

.contactus-page .contact-icons p {
    margin: 0;
    font-size: 0.9rem;
}

.contactus-page .icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #2e2e2e;
    margin: 0 auto;
    margin-bottom: 20px;
}

.contactus-page .mt-5 {
    margin-top: 50px !important;
    margin-bottom: 50px;
}

.contactus-page .btn-primary {
    display: inline-block;
    border-radius: 4px;
    background-color: #f4511e;
    border: none;
    color: #FFFFFF;
    text-align: center;
    justify-content: center !important;
    align-items: center;
    font-size: 14px;
    padding: 10px;
    transition: all 0.5s;
    cursor: pointer;
    margin: 5px;
}

/* Faculty of Natural Sciences*/

.btn-secondary {
    background-color: #747575;
}

/* Audio Visual Resources Start Here*/

.audiovisual-page .custom-bg {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 50px 10% 50px 10%;
    max-width: 100%;
}

.audiovisual-page .custom-bg ul {
    list-style-type: none;
    padding: 0;
    margin-top: 10px;
}

.audiovisual-page .custom-bg ul li {
    margin-bottom: 10px;
}

.audiovisual-page .custom-bg ul li::before {
    content: "✓";
    color: #e05b1d;
    margin-right: 10px;
}

.audiovisual-page .form-label {
    font-weight: bold;
}


.audiovisual-page .custom-bg .large-text {
    font-size: 3rem;
    font-weight: bold;
    line-height: 1.2;
    padding-bottom: 20px;

}

/* Audio Visual Resources Finish Here*/

/* Reference Tools Resources Starts Here*/

.researchtool .flip-card {
    background-color: transparent;
    width: 240px;
    height: 240px;
    perspective: 1000px;
    margin: 20px;
}

.researchtool .reference-card .flip-card {
    width: 360px;
    height: 360px;
}

.researchtool h4 {
    padding: 40px;
}

.researchtool .flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.researchtool .flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.researchtool .flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.researchtool .flip-card-front {
    background-image: linear-gradient(to bottom right, #dfe9f3, #ffffff);
    /* box-shadow: 10px 10px 5px lightblue;  */
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 20px;
    /* background-color: rgba(255, 255, 255, 0.45); */
    box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.25);

    backdrop-filter: blur(15px);
    color: #2e2e2e;
    font-size: 1.2rem;
    font-weight: bold;
}

.researchtool .flip-card-back {
    background-color: #2980b9;
    color: white;
    transform: rotateY(180deg);
    padding: 10px;
    border-radius: 20px;
}

.researchtool .flip-card-front img {
    width: 70px;
    height: 70px;
    margin-bottom: 10px;
}

.researchtool .reference-material .flip-card-front img {
    width: 100px;
    height: 100px;
    margin-bottom: 10px;
}

.researchtool .flip-card-back ul {
    list-style-type: none;
    padding: 0;
    font-size: 0.9rem;
}

.researchtool .flip-card-back ul li {
    margin-bottom: 5px;
}

.researchtool .flip-card-back a {
    color: white;
    text-decoration: none;
}

.researchtool .flip-card-back a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {

    .researchtool .col-md-3 {
        flex: 0 0 auto;
        width: 50%;
    }

}

@media (max-width: 576px) {

    .researchtool .col-md-3 {
        flex: 0 0 auto;
        width: 100%;
    }

}


/* Reference Tools Resources Finishes Here*/






























/* Regional centre css start */
.library-intro {
    background: linear-gradient(120deg, #a13a3a, #E05B1D);
    color: #fff;
    padding: 40px 20px;
    text-align: center;
    border-radius: 10px;
    margin: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* regional centers backgrounds and overlays */
.anuradhapura-library {
    background:
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('/images/AboutUs/regional-centers/anuradhapura/anuradhapura-banner.jpg') no-repeat center center;
    background-size: cover;
}

.badulla-library {
    background:
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('/images/AboutUs/regional-centers/badulla/badulla-banner.jpg') no-repeat center center;
    background-size: cover;
}

.batticaloa-library {
    background:
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('/images/AboutUs/regional-centers/batticaloa/batticaloa-banner.jpg') no-repeat center center;
    background-size: cover;
}

.jaffna-library {
    background:
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('/images/AboutUs/regional-centers/jaffna/jaffna-banner.jpg') no-repeat center center;
    background-size: cover;
}

.kandy-library {
    background:
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('/images/AboutUs/regional-centers/kandy/kandy-banner.jpg') no-repeat center center;
    background-size: cover;
}

.kurunegala-library {
    background:
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('/images/AboutUs/regional-centers/kurunegala/kurunegala-banner.jpg') no-repeat center center;
    background-size: cover;
}

.matara-library {
    background:
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('/images/AboutUs/regional-centers/matara/matara-banner.jpg') no-repeat center center;
    background-size: cover;
}

.ratnapura-library {
    background:
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('/images/AboutUs/regional-centers/ratnapura/ratnapura-banner.jpg') no-repeat center center;
    background-size: cover;
}



.library-intro .library-container {
    max-width: 800px;
    margin: auto;
}

.library-intro .regional-intro-heading {
    font-size: 2.5em;
    padding-bottom: 30px;
    font-weight: bold;
}

.library-intro .regional-intro {
    font-size: 16px;
    padding-bottom: 15px;
    text-align: justify;
}

/* ............ */
.regional-team-section {
    padding: 40px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.regional-team-section .regional-staff {
    font-size: 36px;
    padding-bottom: 30px;
}

.regional-team-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding-top: 30px;
}

.regional-team-member {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 220px;
    text-align: center;
}

.regional-team-member img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.regional-team-member h3 {
    font-size: 18px;
    margin: 10px 0;
}

.regional-team-member p {
    font-size: 14px;
    color: #888;
}

.regional-team-member .regional-sub-heading {
    font-size: 20px;
    font-weight: bold;
    color: #E05B1D;
    padding-bottom: 20px;
}

/* ............ */

.regional-web-checklist-container {
    padding: 20px;
    max-width: 1300px;
    margin: 0 auto;
    background-color: #fff;
    /* color: #000; */
    text-align: center;
}

.regional-web-checklist-header {
    background-color: #E05B1D;
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.regional-web-checklist-title {
    margin: 0;
    font-size: 24px;
    letter-spacing: 1px;
}

.regional-web-checklist-sections {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.regional-web-checklist-section {
    background-color: #f9f9f9;
    color: #000;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 400px;
    text-align: left;
}

.regional-web-checklist-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.regional-web-checklist-section-title {
    margin: 0;
    font-size: 20px;
}

.regional-web-checklist-list {
    list-style: none;
    padding: 0;
}

.regional-web-checklist-item {
    margin: 10px 0;
    position: relative;
    padding-left: 25px;
}

.regional-web-checklist-item::before {
    content: "○";
    position: absolute;
    left: 0;
    color: #E05B1D;
    font-size: 16px;
}

.regional-service-container {
    display: flex;
    height: 70%;
    max-width: 1300px;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    margin: 30px auto;
    padding: 20px;
}

.regional-service-left-panel {
    width: 30%;
    padding: 10px;
    border-right: 2px solid #e0e0e0;
    background-color: #f9f9f9;
}

.regional-service-left-panel .library-service {
    padding-bottom: 30px;
    color: #E05B1D;
    cursor: pointer;
    font-size: 24px;
}

.library-service-paragraph {
    font-weight: bold;
    font-size: 20px;
    padding-bottom: 10px;

}

.regional-service-left-panel .library-service-list {
    list-style-type: none;
    padding: 0;
}

.regional-service-left-panel .library-service-list-2 {
    margin: 15px 0;
    padding-bottom: 10px;
    cursor: pointer;
    color: #000000;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
}

.regional-service-left-panel li:hover {
    color: #E05B1D;
}

.regional-service-right-panel {
    display: flex;
    width: 90%;
    padding-top: 10px;
    padding-left: 60px;
    padding-right: 60px;
    flex-direction: column;
    text-align: justify;
    align-items: center;
    background-color: #fff;
}


.regional-service-right-panel img {
    max-width: 90%;
    height: auto;
    margin-top: 70px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.hidden {
    display: none;
}

.library-services-heading {
    font-size: 24px;
    color: #E05B1D;
    text-align: center;
    padding-bottom: 20px;
}

.regional-heading {
    font-size: 20px;
    font-weight: bold;
    padding-bottom: 10px;
}

.regional-paragraph {
    padding-bottom: 10px;
    font-size: 16px;
    color: #000000;
    text-align: justify;
    justify-content: center;
}

.regional-list {
    list-style: square;
    padding-left: 20px;
    padding-bottom: 20px;
}

.regional-list-item {
    padding-bottom: 10px;
    font-size: 15px;
    color: #000000;
}

.regional-subheading {
    font-size: 18px;
    font-weight: bold;
    padding-bottom: 20px;
    color: #860f19;
    cursor: pointer;
}

.regional-subheading-2 {
    font-weight: bold;
    padding-bottom: 20px;
}

.regional-service-dropdown-content {
    display: none;
    padding-top: 10px;
}

.regional-service-dropdown-visible {
    display: block;
}

/* New styles for column box layout */
.regional-service-column-box {
    display: flex;
    gap: 15px;
    padding-top: 10px;
}

.regional-service-column {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.regional-service-column h5 {
    padding-bottom: 8px;
    color: #E05B1D;
    font-size: 16px;
}

.regional-service-column ul {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
}

.facility-container {
    width: 1300px;
    height: 550px;
    overflow-y: auto;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #f5f5f5;
    margin: 40px auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.regional-facility-tab {
    display: flex;
    justify-content: center;
    background-color: #e0e0e0;
    padding: 10px;
    border-bottom: 2px solid #ccc;
}

.regional-facility-tab .tab-button {
    flex-grow: 1;
    padding: 12px 20px;
    border: none;
    background-color: #f4f4f4;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.regional-facility-tab .tab-button:hover {
    background-color: #ddd;
}

.regional-facility-tab .tab-button.active {
    background-color: #000000;
    color: white;
    font-weight: bold;
}

.regional-facility-content h2 {
    color: #E05B1D;
}

.regional-facility-content p {
    padding-bottom: 10px;
}

.library-facility {
    font-size: 28px;
    color: #E05B1D;
    text-align: center;
    cursor: pointer;
    padding-bottom: 10px;
}

#facility-container {
    display: flex;
    align-items: center;
    padding: 20px;
    gap: 20px;
}

.facility-image {
    width: 50%;
    height: 380px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#facility-description {
    color: #000000;
    font-weight: 600;
    text-align: justify;
    font-size: 18px;
    line-height: 1.6;
}


#facility-description.hidden {
    display: none;
}

.dropdown-content {
    display: none;
    padding-top: 10px;
    padding-right: 30%;
    padding-left: 20px;
    text-align: justify;
}

.regional-facility-heading {
    cursor: pointer;
    font-size: 20px;
    color: #860f19;
    padding-bottom: 20px;
}

.facility-section {
    display: none;
    padding-left: 70px;
    padding-top: 30px;
    padding-right: 50px;
    line-height: 1.6;
}

.regional-facility-section-title {
    font-size: 22px;
    color: #E05B1D;
}

.regional-facility-list {
    padding: 10px 0;
    font-size: 16px;
}

.regional-facility-section-description {
    font-size: 18px;
}

/* Base styles remain unchanged */

/* Responsive Styles for Tablets (768px and smaller) */
@media screen and (max-width: 768px) {
    .library-intro {
        padding: 20px 10px;
        margin: 10px;
    }

    .library-intro h1 {
        font-size: 2em;
    }

    .library-intro p {
        font-size: 1em;
    }

    .regional-team-container {
        flex-direction: column;
        gap: 15px;
    }

    .regional-team-member {
        width: 100%;
    }

    .regional-web-checklist-section {
        width: 100%;
        padding: 10px;
    }

    .regional-service-container {
        flex-direction: column;
        padding: 10px;
    }

    .regional-service-left-panel {
        width: 100%;
        border-right: none;
        padding-bottom: 10px;
    }

    .regional-service-right-panel {
        width: 100%;
        padding: 10px;
    }

    .facility-container {
        width: 100%;
        padding: 10px;
        overflow-y: auto;
    }

    .facility-image {
        width: 100%;
        height: auto;
    }

    #facility-container {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    #facility-description {
        font-size: 16px;
        line-height: 1.5;
    }

    .regional-facility-tab .tab-button {
        font-size: 14px;
        padding: 10px;
    }

    .regional-facility-content {
        padding: 10px;
    }

    .regional-facility-section-title {
        font-size: 20px;
    }

    .regional-facility-list {
        font-size: 14px;
    }

    .regional-facility-section-description {
        font-size: 16px;
    }
}

/* Responsive Styles for Mobile Devices (480px and smaller) */
@media screen and (max-width: 480px) {
    .library-intro {
        padding: 15px 5px;
        margin: 5px;
    }

    .library-intro h1 {
        font-size: 1.6em;
    }

    .library-intro p {
        font-size: 0.9em;
    }

    .regional-team-container {
        flex-direction: column;
    }

    .regional-team-member {
        width: 100%;
        padding: 10px;
    }

    .regional-web-checklist-section {
        padding: 5px;
    }

    .regional-service-left-panel .library-service {
        font-size: 18px;
    }

    .regional-service-left-panel .library-service-list-2 {
        font-size: 16px;
    }

    .regional-service-column-box {
        flex-direction: column;
    }

    .regional-service-column {
        padding: 5px;
    }

    .facility-container {
        padding: 5px;
        height: auto;
    }

    .regional-facility-tab .tab-button {
        font-size: 12px;
        padding: 8px;
    }

    .regional-list-item,
    .regional-paragraph {
        font-size: 14px;
    }

    .facility-image {
        width: 100%;
        height: auto;
    }

    #facility-description {
        font-size: 14px;
        line-height: 1.4;
    }

    .regional-facility-content h2 {
        font-size: 18px;
    }

    .regional-facility-content p {
        font-size: 14px;
    }

    .regional-facility-heading {
        font-size: 16px;
    }
}


/* Regional centre css finished */

/* kurunegala-center-gallery-css */
.community-gallery-wrapper {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 5px;
}

.community-gallery-wrapper::-webkit-scrollbar {
    width: 6px;
}

.community-gallery-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.community-gallery-wrapper::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

.community-gallery-wrapper::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

.masonry-grid {
    column-count: 3;
    column-gap: 0.5rem;
}

@media (max-width: 992px) {
    .masonry-grid {
        column-count: 2;
    }
}

@media (max-width: 576px) {
    .masonry-grid {
        column-count: 1;
    }
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 0.5rem;
}

.masonry-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
}

.masonry-item img:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* kurunegala-center-gallery-css finished */