.photo-gallery {
    background: #246eb5 url(../images/photo-bg.jpg) top center no-repeat;
    background-size: 100%;
    background-image: contain;
    padding-top: 100px;
    padding-bottom: 100px;
}

.view-about-us {
    background: #fff url(../images/culture.jpg) center no-repeat;
    min-height: 360px;
}

.about-us {
    background-color: rgba(255, 255, 255, 0.9) !important;
    padding: 10px 20px 8px !important;
    font-size: 2em;
    font-weight: 700;
}

.view-more-btn {
    background-color: #383db3;
    border: 1px solid #383db3;
    border-radius: 3px;
    color: white;
    padding: 3px 8px;
    margin-bottom: 6px;
}

.view-more-a {
    font-size: 1.4em;
    font-weight: 600;
    text-decoration: none;
    padding: 4px 18px 6px;
    /* margin-left: 260px; */
}

.views {
    min-height: 360px;
    border: 1px solid black !important;
    background-color: white;
    margin-top: 10px;
    margin-bottom: 10px;
}

.view-icon {
    color: #383db3;
    padding: 25px 10px;
}

.views>.aboutHomeTitle {
    font-size: 1.5em;
    font-weight: 700;
}

.views>ol {
    padding-left: 1em !important;
}

.views>ol>li {
    margin-bottom: 8px;
}

.views>ol>li>a {
    color: black;
    text-decoration: none;
    margin-bottom: 20px;
}

.views>ol>li>a:hover {
    text-decoration: underline;
}

/* .photo-gallery-views{
    margin: 10px 10px;
} */

.photo-gallery-views>h6 {
    margin-top: 10px;
}

.photo-gallery-views>a {
    color: black;
    text-decoration: none;
}

.photo-gallery-views>a:hover {
    text-decoration: underline;
}

.news-press-section {
    background: url(../images/pattern-bg.png) top center no-repeat;
    background-size: cover;
    padding-top: 50px;
    padding-bottom: 50px;
}


.news-press-section>div>h3 {
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
}

.mask {
    height: 400px;
    width: 100%;
    background-color: white;
    border: 1px solid #d8cfa5;
    border-radius: 10px;
}

.featured {
    background-color: #fc6;
    padding-top: 40px;
    padding-bottom: 40px;
}

.featured-banner {
    width: 250px;
    height: 100px;
    background-color: white;
}

.control>* {
    color: white;
    background-color: #246eb5;
    margin: 3px;
}

.control>*:nth-child(2) {
    background-color: #6f6868;
}

.news-scroller {
    position: relative;
    height: 300px;
    /* Adjust the height as needed */
    overflow: hidden;
    border: 1px solid #ccc;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background-color: #f0f0f0;
    border-radius: 16px;
}

.news-container {
    display: flex;
    flex-direction: column;
    animation: scroll-vertical 15s linear infinite;
}

.news-item {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.news-item a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.news-item a:hover {
    text-decoration: underline;
}

.news-date {
    display: block;
    font-size: 0.9em;
    color: #666;
}

@keyframes scroll-vertical {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(-100%);
    }
}

/* Buttons */
.scroll-controls {
    position: absolute;
    top: 0px;
    right: 0px;
    display: flex;
    flex-direction: column;
}

.scroll-button {
    background-color: #2A32CB;
    border: none;
    /* border-radius: 50%; */
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    /* margin: 5px; */
    padding: 5px;
    transition: opacity 0.3s;
    color: white;
}

.scroll-button svg {
    fill: white;
}

.scroll-button:hover {
    opacity: 0.7;
}

/* Initial visibility */
#start-button {
    display: none;
}

.paused #start-button {
    display: block;
}

.paused #pause-button {
    display: none;
}

.light-mode .news-container a {
    color: #246eb5;
}


/* horixonal */
@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.scroll-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 120px; /* Adjust height as needed */
}

.scroll-wrapper {
    display: flex;
    white-space: nowrap;
    animation: scroll-left 10s linear infinite; /* Continuous scrolling */
}

.scroll-item img {
    display: inline-block;
    width: 250px; /* Adjust width as needed */
    height: 100px; /* Adjust height as needed */
    object-fit: cover;
    border: 5px solid #ccc;
}
