/*** Neuco Cares Page CSS ** */

.grid-col-4-6 {
    display: grid;
    grid-template-columns: 4fr 6fr;
    grid-gap: 30px;
    padding-top: 40px;
    padding-bottom: 40px;
}

.grid-col-4-6 div:first-child {
    display: block;
    position: relative;
}

.grid-col-4-6 div:last-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.grid-col-4-6 div img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border: 1px solid #ecebeb;
}

.grid-col-4-6 div * {
    margin: 10px 0;
}

.grid-col-4-6 div h2 {
    margin-bottom: 0;
    font-size: 18px;
    font-weight: 700;
    color: black;
}

.grid-col-4-6 div h3 {
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 500;
    color: black;
}

.grid-col-4-6 div p {
    font-size: 14px;
    font-weight: 400;
    color: #232323;
}

.grid-col-4-6:not(:last-child) {
    border-bottom: 1px solid #ecebeb; 
}

.flex-col-1 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 0;
    border-bottom: 1px solid #ecebeb;
}

.flex-col-1 h2 {
    font-size: 20px;
    font-weight: 700;
}



/* mobile responsiveness */
@media (max-width: 768px) {
    .grid-col-4-6 {
        grid-template-columns: 1fr;
    }
}


/** CUSTOM CSS **/
.intro-section {
    padding: 20px;
}

.content-section {
    padding: 20px;
}

.neuco_cares_logo {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    display: block;
    margin-bottom: 50px;
}

.gallery-icon {
    position: absolute;
    right: .75rem;
    top: .75rem;
    color: #ffffff;
    background-color: #1e1e1eb0;
    border-radius: 999px;
    padding: .65rem;
    margin: .75rem;
    font-size: 1.1rem;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.carousel {
    display: flex;
    position: relative;
    width: 80%;
    max-width: 650px;
}

.carousel img {
    width: 100%;
    height: auto;
}

.carousel button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
}

.carousel button:hover {
    color: #ddd;
}

.carousel button:disabled {
    color: #555;
}

.carousel button:first-child {
    left: -100px;
}

.carousel button:last-child {
    right: -100px;
}

.nc-sub-menu {
    display: flex;
    gap: 10px;
    border-bottom: 1px solid #ecebeb;
}

.nc-sub-menu button {
    padding: 8px 20px;
    background-color: #ebebeb;
    color: black;
    border: none;
    font-weight: 400;
}

.nc-sub-menu button:hover {
    background-color: #d3d2d2;
}

.active-button {
    background-color: #d3d2d2 !important;
}

.pagination-controls {
    padding-top: 20px;
    display: flex;
    gap: 10px;
    align-items: center;
}