@import url(css/style.css);
/*==========================================================
WEBSITES PAGE
==========================================================*/

.websites-page {
    width: 100%;
    background: #fafafa;
    overflow: hidden;
}


/*==========================================================
COMMON
==========================================================*/

section {
    padding: 30px 8%;
}

.section-heading {
    margin-bottom: 50px;
}

.section-heading h2 {
    font-size: 2.2rem;
    margin: 15px 0;
    color: #222;
}

.section-heading p {
    color: #666;
    max-width: 650px;
    line-height: 1.7;
}

.section-tag {
    display: inline-block;
    padding: 8px 18px;
    background: #EEF5FF;
    color: #2F80ED;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
}

.btn-primary-c {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--green-dark);
    color: #fafafa;
    padding: 12px 16px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: .3s;
}

.btn-primary-c:hover {

    transform: translateY(-3px);

}


/*==========================================================
HERO
==========================================================*/

.website-hero {

    text-align: center;

    padding-top: 120px;

    padding-bottom: 50px;

    background:
        linear-gradient(135deg, #fff, #eef8f4);

    color: var(--darker-green);

}

.website-hero h1 {

    font-size: 58px;

    margin: 25px 0;

}

.website-hero p {

    max-width: 720px;

    margin: auto;

    color: var(--);

    line-height: 1.8;

}

.hero-meta {

    margin: 35px 0;

    display: flex;

    justify-content: center;

    gap: 20px;

    flex-wrap: wrap;

}

.hero-meta span {

    background: #716f6f1a;

    padding: 10px 20px;

    border-radius: 30px;

}


/*==========================================================
GRID
==========================================================*/

.website-grid {

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(320px, 1fr));

    gap: 35px;

}


/*==========================================================
CARD
==========================================================*/

.website-card {

    display: block;

    text-decoration: none;

    color: inherit;

    border-radius: 18px;

    overflow: hidden;

    background: #fff;

    box-shadow:
        0 15px 35px rgba(0, 0, 0, .08);

    transition: .35s;

}

.website-card:hover {

    transform: translateY(-8px);

}

.website-image {

    position: relative;

    overflow: hidden;

    aspect-ratio: 16/10;

}

.website-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: .45s;

}

.website-card:hover img {

    transform: scale(1.05);

}


/*==========================================================
OVERLAY
==========================================================*/

.website-overlay {

    position: absolute;

    inset: 0;

    background:
        rgba(0, 0, 0, .45);

    display: flex;

    justify-content: center;

    align-items: center;

    opacity: 0;

    transition: .3s;

}

.website-card:hover .website-overlay {

    opacity: 1;

}

.website-overlay span {

    color: #fff;

    font-size: 20px;

    font-weight: 600;

}


/*==========================================================
CONTENT
==========================================================*/

.website-content {

    padding: 24px;

}

.website-content h3 {

    margin-bottom: 10px;

    font-size: 22px;

    color: #222;

}

.website-content p {

    color: #777;

    margin-bottom: 18px;

}

.visit-link {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: #2F80ED;

    font-weight: 600;

}


/*==========================================================
CTA
==========================================================*/

.website-cta {

    text-align: center;

    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);;

    color: #fff;

}

.website-cta h2 {

    font-size: 42px;

    margin-bottom: 20px;

}

.website-cta p {

    color: #CBD5E1;

    margin-bottom: 35px;

}


/*==========================================================
RESPONSIVE
==========================================================*/

@media(max-width:992px) {

    .website-hero h1 {

        font-size: 44px;

    }

}

@media(max-width:768px) {

    section {

        padding: 60px 20px;

    }

    .website-grid {

        grid-template-columns: 1fr;

    }

    .website-hero h1 {

        font-size: 34px;

    }

    .hero-meta {

        flex-direction: column;

        align-items: center;

    }

}