﻿/* Footer */
footer {
    background-color: white;
    border-top: 1px solid #eee;
    padding: 5rem 1rem;
    font-size: .8rem;
    color: #888;

    ul {
        list-style: none;
        list-style-position: outside;
        padding: 0;
        margin: 0;

        li {
            padding: 0;
            margin: 0;

            a {
                text-decoration: none;
                color: inherit;
                display: block;
                padding: .25rem 0;

                &:hover {
                    color: #333;
                }
            }
        }
    }
}

.footer-content-grid {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 1rem;

    @media (max-width: 767px) {
        grid-template-columns: 1fr;
    }
}

.footer-sections {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;

    @media (max-width: 767px) {
        grid-template-columns: 1fr 1fr;
    }
}

.footer-brand-description {
    max-width: 390px;
}

.footer-section-header {
    font-weight: bold;
    color: #333;
    text-transform: uppercase;
    padding-bottom: .5rem;
    letter-spacing: 1px;
}

.footer-gap {
    height: 1rem;
}

/* Footer End*/
/* Hero */
.hero {
    height: 100dvh;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding: 10rem 0;
    box-sizing: border-box;
    text-align: center;
    align-items: center;
    background: linear-gradient(to bottom, white, white, transparent);
}

.hero-title {
    font-size: 5rem;
    font-weight: 900;
    color: #222;

    @media (max-width: 912px) {
        font-size: 3rem;
    }
}


.hero-gradient {
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-image: linear-gradient(to right, #ff00e3, #f44,#ffd800);
}
.hero-text {
    color: #999;
    max-width: 540px;
    margin: 0 auto;
}
/* Hero End */
/* Section */
.section-header {
    display: flex;
    flex-direction: column;
    gap: .5rem;

    h1, h3, p {
        margin: 0;
    }

    h1 {
        font-size: 2.5rem;
        font-weight: 900;
        color: black;
    }

    h3 {
        font-size: 1.75rem;
        font-weight: 900;
        color: black;
    }

    p {
        color: #555;
    }
}

.section-header-tag {
    color: #999;
    font-weight: 500;
    font-size: 0.8rem;
}

.section {
    padding: 5rem 0;
}
/* Section End*/
/* Contact */
.contact-card {
    padding: 2rem 1.5rem;
    background-color: white;
    border-radius: 2rem;
    font-size: .9rem;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: .75rem;
    color: #999;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;

    @media (max-width: 813px) {
        grid-template-columns: repeat(2, 1fr);
    }

    @media (max-width: 579px) {
        grid-template-columns: 1fr;
    }
}

.contact-card-icon {
    padding: 1rem;
    height: 2rem;
    width: 2rem;
    background-color: var(--color-primary);
    border-radius: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;

    img {
        display: flex;
    }
}
/* Contact End*/
/* Modal */
.modal {
    backdrop-filter: blur(1rem);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 6;
    background: rgba(0, 0, 0, .2);
    padding: 1rem;
    display: none;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    border-radius: 1rem;
    border: 1px solid #eee;
    width: 100%;
    max-width: 412px;
}

.modal-header {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
    padding: .5rem 1rem;

    h3 {
        font-weight: 600;
        margin: 0;
        font-size: 1rem;
    }
}

.modal-close {
    padding: .5rem;
    border-radius: .5rem;
    background-color: rgba(0,0, 0, .05);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.modal-body {
    padding: .5rem 1rem;
}

.modal-footer {
    border-top: 1px solid #eee;
    padding: .75rem 1rem;
    display: flex;
    justify-content: end;
    align-items: center;
    gap: .75rem;
}
/* Modal End*/
/* Blog*/

.blog-item {
    color: #999;
    font-size: .8rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    padding: 1rem 0;
    border-bottom: 2px solid #eee;
    transition: all 300ms;

    &:hover {
        .blog-title {
            color: var(--color-primary);
        }

        border-color: var(--color-primary);
        transform: translateY(-4px);
    }

    p {
        margin: 0;
    }
}
.blog-title {
    margin: 0;
    display: flex;
    gap: .5rem;
    font-size: 1.3rem;
    align-items: center;
    color: black;

    img {
        display: flex;
    }
}

.blog-header {
    display: flex;
    gap: 1rem;
    align-items: start;
    font-size: 0.8rem;

    p {
        margin: 0;
    }
}

.blog-header-details {
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

.blog-header-author {
    color: #444;
    font-weight: 600;
    font-size: 1rem;
}

.blog-tags {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.8rem;
    font-weight: 800;

}

.blog-author {
    img {
        border-radius: 2rem;
    }
}

/* Blog End*/
/* Libraries */

.libraries-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;

    @media (max-width: 767px) {
        grid-template-columns: repeat(2, 1fr);
    }

    @media (max-width: 579px) {
        grid-template-columns: 1fr;
    }
}

.library-item {
    padding: 1.25rem;
    font-size: 0.8rem;
    background-color: white;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;

    p {
        margin: 0;
    }
}

.library-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-weight: 900;
}

.library-item-info {
    padding-bottom: .75rem;
    border-bottom: 1px solid #eee;
}

.library-item-desc {
    color: #999;
}

.library-item-name {
    display: flex;
    align-items: center;
    gap: .25rem;
}

.library-item-visit {
    display: flex;
    gap: .25rem;
    align-items: center;
}

.library-item-tags {
    display: flex;
    gap: .25rem;
    flex-wrap: wrap;
    color: var(--color-primary);
    font-weight: 700;
    font-size: .7rem;
}

/* Libraries*/