/*NEWSLETTER*/
.newsletter-usdiv {
    margin-top: 130px;
    align-items: center;
}

.newsletter-img{
    position: absolute;
    z-index: -2;
    width: 100%;
    max-height:100%;
    /* background: linear-gradient(240deg, #28ee53be, #0c05052d); */
}

.newsletterimg-div {
    position: absolute;
    width: 100%;
    height: 400px;
    background: linear-gradient(240deg, #013220 , #013220 );
    /* background: linear-gradient(240deg, #080606be, #0c05052d); */
    z-index: -1;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 0.9;
}

.title-div{
    line-height:2.5rem;
    z-index: 3;
    align-self: center;
}

.news-desc {
    margin-top: 2.6rem;
    color:#FFF;
    letter-spacing: 0.7px;;
    font-size: 20px;
    font-weight: 100;
}

.news-input-email{
    max-width: 700px;
    border-radius: 50px;
    float: right;
    letter-spacing: 0.7px;
    font-size: 13px;
    height: 45px;
}

.news-btnsubscribe {
    width: 40%;
    border-radius: 50px;
    background-color: #008000;
    color: #FFF;
    font-size: 15px;
    font-weight:600;
    float:left;
    height: 45px;
    margin: 0px;
    letter-spacing: 1px;
    border: none;
}

.news-btnsubscribe:hover {
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24),0 17px 50px 0 rgba(0,0,0,0.19);
}

.news-cards-div {
    margin-top: 5rem;
    background-color:    #F6F5F2;
    min-height: 600px;
}

.newsletterdiv-subtitle{
    color:#FFF; 
    font-size: 25px; 
    margin-top: 100px;
    letter-spacing: 3px;
}

.newsletterdiv-title{
    color:#FFF; 
    font-size: 50px; 
    letter-spacing: 5px;
}


.news-cards-container {
    display: flex;
    overflow: hidden;
    position: relative;
    width: 100%;
    margin-top: 1rem;
    padding: 35px 150px;
}
.news-cards-wrapper {
    display: flex;
    width: 300%;
    /* animation: slideRight 10s linear infinite; */
}
.news-card {
    width: 450px;
    border-radius: 0.5rem;
    background-color: #fff;
    box-shadow: 5px 2px 6px #999;
    border: 1px solid transparent;
    margin-right: 7rem;
    min-height:450px;
    
}

.news-card-body{
    padding:25px;
}

.news-image {
    object-fit: cover;
    width: 100%;
    height: 200px;
    background-color: rgb(239, 205, 255);
}

.news-card-title {
    font-size: 20px;
    text-align: left;
    letter-spacing:0.1em;
}

.news-card-text {
    margin-top:20px;
    font-size: 15px;
    text-align: left;
}

.news-card a {
    text-decoration: none
    
}

.news-button {
    width: 60%;
    border-radius: 50px;
    background-color: #FFF;
    color: #008000;
    font-size: 15px;
    padding:10px;
    float:right;
    border-color: #008000;
}

.news-button span {
    transition: .3s ease;
}

.news-button:hover {
    background-color: #008000;
    color:#FFF;
}

.news-button:hover span {
    transform: translateX(4px);
    color: #FFF;
}

/* Normal desktop :1200px. */
@media (min-width: 1200px) and (max-width: 1500px) {
    .newsletter-usdiv {
        margin-top: 20px;
    }

    .newsletter-img{
        max-height:300px;
    }
    
    .newsletterimg-div {
        height: 350px;
    }

    .title-div {
        line-height: 1.7rem;
    }

    .newsletterdiv-subtitle{
        font-size: 20px; 
        margin-top: 40px;
    }
    
    .newsletterdiv-title{
        font-size: 30px; 
    }
    
    .news-input-email{
        max-width: 700px;
        height: 45px;
    }
    
    .news-btnsubscribe {
        margin: 0px;
        width: 60%;
    }

    .news-cards-div {
        margin-top: 4rem;
        min-height: 600px;
    }
    
    .news-cards-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr; /* Two columns */
        grid-template-rows: auto auto; /* Two rows */
        gap: 20px;
    }

    .news-card:nth-child(1) { grid-column: 1; grid-row: 1; } /* 1st card */
    .news-card:nth-child(2) { grid-column: 2; grid-row: 1; } /* 2nd card */
    .news-card:nth-child(3) { grid-column: 1 / span 2; grid-row: 2; }

    
    .news-card {
        max-width: 500px;
        margin-bottom: 30px;
    }
    
    .news-card-body{
        padding:25px;
    }

}


/* Normal desktop :1200px +. */
@media (min-width: 1200px) and (max-width: 1260px) {
    .newsletter-usdiv {
        margin-top: 20px;
    }

    .newsletter-img{
        max-height:300px;
    }
    
    .newsletterimg-div {
        height: 350px;
    }

    .title-div {
        line-height: 1.7rem;
    }

    .newsletterdiv-subtitle{
        font-size: 20px; 
        margin-top: 40px;
    }
    
    .newsletterdiv-title{
        font-size: 30px; 
    }
    
    .news-input-email{
        max-width: 400px;
    }
    
    .news-btnsubscribe {
        width: 60%;
    }

    .news-cards-div {
        margin-top: 4rem;
        min-height: 600px;
    }
    
    .news-cards-wrapper {
        flex-direction: column;
        align-items: center; /* Center align in column layout */
        width: 100%;
        margin-left:60px;
    }
    .news-card {
        max-width: 500px;
        margin-bottom: 30px;
    }
    
    .news-card-body{
        padding:25px;
    }
}


/* Normal desktop :992px. */
@media (min-width: 992px) and (max-width: 1200px) {
    .newsletter-usdiv {
        margin-top: 20px;
    }

    .newsletter-img{
        max-height:300px;
    }
    
    .newsletterimg-div {
        height: 300px;
    }

    .title-div {
        line-height: 1.7rem;
    }

    .newsletterdiv-subtitle{
        font-size: 20px; 
        margin-top: 40px;
    }
    
    .newsletterdiv-title{
        font-size: 30px; 
    }
    
    .news-input-email{
        max-width: 400px;
    }
    
    .news-btnsubscribe {
        width: 60%;
    }

    .news-cards-div {
        margin-top: 4rem;
        min-height: 600px;
    }
    
    .news-cards-wrapper {
        flex-direction: column;
        align-items: center; /* Center align in column layout */
        width: 100%;
        margin-left:60px;
    }
    .news-card {
        max-width: 500px;
        margin-bottom: 30px;
    }
    
    .news-card-body{
        padding:25px;
    }
}
  

@media (min-width: 768px) and (max-width: 991px) {
    .newsletter-usdiv {
        margin-top: 10px;
    }

    .newsletter-img{
        max-height:300px;
    }
    
    .newsletterimg-div {
        height: 30vh;
    }

    .title-div {
        line-height: 1.7rem;
    }

    .newsletterdiv-subtitle{
        font-size: 20px; 
        margin-top: 40px;
    }
    
    .newsletterdiv-title{
        font-size: 30px; 
    }
    
    .news-input-email{
        max-width: 400px;
    }
    
    .news-btnsubscribe {
        width: 60%;
    }

    .news-cards-div {
        margin-top: 4rem;
        min-height: 600px;
    }
    
    .news-cards-wrapper {
        flex-direction: column;
        align-items: center; /* Center align in column layout */
        width: 100%;
        margin-left:60px;
    }
    .news-card {
        max-width: 500px;
        margin-bottom: 30px;
    }
    
    .news-card-body{
        padding:25px;
    }
}

/* Large Mobile :480px. */
@media only screen and (min-width: 550px) and (max-width: 766px) {
    .newsletter-usdiv {
        margin-top: 10px;
    }

    .newsletter-img{
        max-height:300px;
    }
    
    .newsletterimg-div {
        height: 30vh;
    }

    .title-div {
        line-height: 1.7rem;
    }

    .newsletterdiv-subtitle{
        font-size: 20px; 
        margin-top: 40px;
    }
    
    .newsletterdiv-title{
        font-size: 30px; 
    }
    
    .news-input-email{
        max-width: 400px;
    }
    
    .news-btnsubscribe {
        width: 60%;
    }

    .news-cards-div {
        margin-top: 4rem;
        min-height: 600px;
    }
    
    .news-cards-wrapper {
        flex-direction: column;
        align-items: center; /* Center align in column layout */
        width: 100%;
        margin-left:60px;
    }
    .news-card {
        max-width: 500px;
        margin-bottom: 30px;
    }
    
    .news-card-body{
        padding:25px;
    }
}

@media (max-width: 767px) {
    .newsletter-usdiv {
        margin-top: 95rem;
    }

    .newsletter-img{
        max-height:400px;
        height: 280px;
    }
    
    .newsletterimg-div {
        height: 280px;
    }

    .title-div {
        line-height: 1.7rem;
    }

    .newsletterdiv-subtitle{
        font-size: 20px; 
        margin-top: 40px;
    }
    
    .newsletterdiv-title{
        font-size: 30px; 
    }

    .news-desc{
        margin-top: 1rem;
    }
    
    .news-input-email{
        width: 100%;
        max-height: 40px;
    }
    
    .news-btnsubscribe {
        width: 60%;
        height: 30px;
        float: right;
        margin-top: 10px;
    }

    .news-cards-div {
        margin-top: 4rem;
        min-height: 600px;
    }
    
    .news-cards-wrapper {
        flex-direction: column;
        align-items: center; /* Center align in column layout */
        width: 100%;
        margin-left: 65px;
    }
    .news-card {
        max-width: 350px;
        margin-bottom: 30px;
    }
    
    .news-card-body{
        padding:25px;
    }

    .news-card-title {
        font-size: 15px;
        font-weight: 600;
    }

    .news-card-text {
        font-size:14px;
    }
}

@media (max-width: 540px) {
    .newsletter-usdiv {
        margin-top: 0rem;
    }

    .newsletter-img{
        max-height:400px;
        height: 280px;
    }
    
    .newsletterimg-div {
        height: 280px;
    }

    .title-div {
        line-height: 1.7rem;
    }

    .newsletterdiv-subtitle{
        font-size: 20px; 
        margin-top: 40px;
    }
    
    .newsletterdiv-title{
        font-size: 30px; 
    }

    .news-desc{
        margin-top: 1rem;
    }
    
    .news-input-email{
        width: 100%;
        max-height: 40px;
    }
    
    .news-btnsubscribe {
        width: 60%;
        height: 30px;
        float: right;
        margin-top: 10px;
    }

    .news-cards-div {
        margin-top: 4rem;
        min-height: 600px;
    }
    
    .news-cards-wrapper {
        flex-direction: column;
        align-items: center; /* Center align in column layout */
        width: 100%;
        margin-left: 65px;
    }
    .news-card {
        max-width: 350px;
        margin-bottom: 30px;
    }
    
    .news-card-body{
        padding:25px;
    }

    .news-card-title {
        font-size: 15px;
        font-weight: 600;
    }

    .news-card-text {
        font-size:14px;
    }
}

@media only screen and (min-width: 401px) and (max-width: 490px) {
    .newsletter-usdiv {
        margin-top: 0rem;
    }

    .newsletter-img{
        max-height:400px;
        height: 330px;
    }
    
    .newsletterimg-div {
        height: 330px;
    }

    .title-div {
        line-height: 1.7rem;
    }

    .newsletterdiv-subtitle{
        font-size: 20px; 
        margin-top: 40px;
    }
    
    .newsletterdiv-title{
        font-size: 30px; 
    }

    .news-desc{
        margin-top: 1rem;
        font-size:13px;
    }
    
    .news-input-email{
        width: 100%;
        max-height: 40px;
    }
    
    .news-btnsubscribe {
        width: 60%;
        height: 30px;
        float: right;
        margin-top: 10px;
    }

    .news-cards-div {
        margin-top: 4rem;
        min-height: 600px;
    }
    
    .news-cards-wrapper {
        flex-direction: column;
        align-items: center; /* Center align in column layout */
        width: 100%;
        margin-left: 50px;
    }
    .news-card {
        max-width: 350px;
        margin-bottom: 30px;
    }
    
    .news-card-body{
        padding:25px;
    }

    .news-card-title {
        font-size: 15px;
        font-weight: 600;
    }

    .news-card-text {
        font-size:14px;
    }
}

@media only screen and (min-width: 365px) and (max-width: 400px) {
    .newsletter-usdiv {
        margin-top: 0rem;
    }

    .newsletter-img{
        max-height:400px;
        height: 300px;
    }
    
    .newsletterimg-div {
        height: 300px;
    }

    .title-div {
        line-height: 1.7rem;
    }

    .newsletterdiv-subtitle{
        font-size: 20px; 
        margin-top: 40px;
    }
    
    .newsletterdiv-title{
        font-size: 30px; 
    }

    .news-desc{
        margin-top: 1rem;
        font-size:13px;
    }
    
    .news-input-email{
        width: 100%;
        max-height: 40px;
    }
    
    .news-btnsubscribe {
        width: 60%;
        height: 30px;
        float: right;
        margin-top: 10px;
    }

    .news-cards-div {
        margin-top: 4rem;
        min-height: 600px;
    }
    
    .news-cards-wrapper {
        flex-direction: column;
        align-items: center; /* Center align in column layout */
        width: 100%;
        margin-left: 50px;
    }
    .news-card {
        max-width: 350px;
        margin-bottom: 30px;
    }
    
    .news-card-body{
        padding:25px;
    }

    .news-card-title {
        font-size: 15px;
        font-weight: 600;
    }

    .news-card-text {
        font-size:14px;
    }
 }










    

  

