html{
    scroll-behavior: smooth;
}

body{
    margin: 0;
    overflow-x: hidden;
    font-family: 'Montserrat', sans-serif;
    
}

main{
    padding-top: var(--header-height);
}

.services{
    margin-top: 3%;
}

.columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 40px;
}

.services h1 {
    font-size: 36px;
    margin-bottom: 15px;
    color: #464646;
    text-align: center;
}

.computerRoom p,
.bookLoan p,
.readingRoom p {
    font-size: 18px;
    line-height: 1.6;
    font-weight: 100;
    color: #464646;
    text-align: justify;
}

.title {
    font-weight: 700 !important;
    font-size: 22px !important;
    text-align: center !important;
}

.subColumn {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 25px;
}

.subColumn a {
    display: block;
    transition: transform 0.25s ease;
    text-decoration: none;
}

.subColumn a:hover {
    transform: scale(1.08);
}

.imgLibrary {
    width: 85px;
    height: auto;
    margin-top: 20px;
    margin-left: 10px;
    margin-right: 15px;
}

.p1 {
    color: #0057FF;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

.p2 {
    font-weight: 400;
    color: #6D6D6D;
    line-height: 1.6;
    text-align: justify;
    margin: 0 10px;
}

/* ====================== RESPONSIVE ====================== */
@media (max-width: 1024px) {
    .columns {
        grid-template-columns: repeat(2, 1fr);
        margin: 20px;
    }
}

@media (max-width: 600px) {
    .columns {
        grid-template-columns: 1fr;
        margin: 15px;
    }

    .subColumn {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .imgLibrary {
        margin: 0;
        width: 70px;
    }

    .p1 {
        font-size: 18px;
    }

    .p2 {
        font-size: 14px;
        text-align: justify;
    }

    .services h1 {
        font-size: 28px;
    }

    .computerRoom p,
    .bookLoan p,
    .readingRoom p {
        font-size: 16px;
    }
}