/* MAIN SECTION */
.newsletter-section {
    background:#114d37;
    padding: 80px 0;
    text-align: center;
}

.newsletter-title {
    font-size: 60px;
    font-family: 'Poppins', serif;
    color: white;
    font-weight: 800;
    margin-bottom: 70px;
}

/* ROW WRAPPER */
.newsletter-row {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-bottom: 70px;
    flex-wrap: wrap; /* important for tablets */
}

/* SECOND ROW */
.row-2 {
    justify-content: center;
}

/* CARD */
.newsletter-card {
    background: white;
    width: 250px;
    height: 220px;
    border-radius: 25px;
    padding-top: 50px;
    position: relative;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}

.newsletter-card:hover {
    transform: scale(1.06);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.25);
}

/* PIN ICON */
.pin {
    width: 30px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
}

/* INSIDE BOX */
.inner-box {
    background: #114d37;
    width: 85%;
    height: calc(100% - 60px);
    margin: 0 auto;
    border-radius: 18px;
    color: white;
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
}


/* -------------------------- */
/*      TABLET VIEW           */
/* -------------------------- */
@media (max-width: 992px) {
    .newsletter-row {
        gap: 60px;
    }

    .newsletter-card {
        width: 220px;
        height: 200px;
    }

    .inner-box {
        font-size: 20px;
    }
}


/* -------------------------- */
/*      MOBILE VIEW < 600     */
/* -------------------------- */
@media (max-width: 600px) {

    .newsletter-section {
        padding: 40px 15px;
    }

    .newsletter-title {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .newsletter-row {
        flex-direction: column;
        gap: 25px;
        margin-bottom: 40px;
    }

    .newsletter-card {
        width: 90%;
        max-width: 350px;
        height: 160px;
        margin: 0 auto;
        padding-top: 35px;
    }

    .inner-box {
        height: calc(100% - 45px);
        font-size: 18px;
    }

    .pin {
        width: 25px;
    }
}


/* -------------------------- */
/*   VERY SMALL PHONES < 375  */
/* -------------------------- */
@media (max-width: 375px) {

    .newsletter-title {
        font-size: 26px;
    }

    .newsletter-card {
        width: 140px;
        height: 140px;
        padding-top: 25px;
    }

    .inner-box {
        font-size: 16px;
    }

    .pin {
        width:15px;
    }
}
