.news-story-section {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 20px;
}
.new_heading{
  color: #ff5f09;
  font-size: 24px;
  margin-bottom: 15px;
}

.news-story {
    flex: 0 0 auto;
    width: 200px;
    height: 145px;
    margin-right: 20px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 5px;
    overflow: hidden;
    text-align: center;
    cursor: pointer; /* Add cursor pointer to indicate clickable */
    position: relative; /* Relative position for absolute image */
}

.news-story img {
    margin: 20px;
    width: 70%;
    height: auto;
    transition: transform 0.3s ease; /* Smooth zoom transition */
}

.news-story h4 {
    padding: 15px;
    font-size: 1.2em;
}

/* Modal CSS */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 800px;
}

.close {
    color: #fff;
    position: absolute;
    top: 15px;
    right: 35px;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}
/* Mobile screen adjustments */
@media (max-width: 600px) {
    .news-story-section {
        display: none;
    }
    
    .new_heading {
        display: none;
    }
}
