.header {
    --bs-bg-opacity: 1;
    background-color: #1e3f71!important;
    box-shadow: 0px 0 6px 1px #3333337d;
    z-index: 11;
    position: fixed;
    width: 100%;
}
span.logo {
    position: absolute;
    background-color: #1e3f71;
    left: 40px;
    border-radius: 200px;
    padding: 15px;
    top: -10px;
}
span.logo>img {
    max-height: 100px;
}
.header h2 {
    padding-left: 60px;
}
.hero-slide-modern {
    height: 90vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: zoomEffect 10s ease-in-out infinite;
}
nav>a {
    text-decoration: none;
}
nav>a:hover {
    text-decoration: underline;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.25);
    /*backdrop-filter: blur(3px);*/
}

.content {
    position: relative;
    text-align: center;
    color: #fff;
    z-index: 10;
    animation: fadeUp 1.5s ease;
}

@keyframes zoomEffect {
    0% { transform: scale(1); }
    50% { transform: scale(1.12); }
    100% { transform: scale(1); }
}

@keyframes fadeUp {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}

.activity-box:hover {
    transform: translateY(-8px);
    transition: 0.3s;
}


.activity-block {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    padding: 0;
    width: 48%;
    margin: 1%;
}
.activity-block:hover .rollover {
    display: block;
}
.rollover {
    width: 100%;
    background-color: #0e11137d;
    position: absolute;
    height: 100%;
    display: none;
}
.rollover>span {
    background-color: #fff;
    position: absolute;
    text-decoration: none;
    color: #333;
    padding: 5px 20px;
    bottom: 0;
    right: 0px;
    border-radius: 15px 0 0 0;
}
.gallery img {
    border-radius: 10px;
    transition: 0.3s;
}
.gallery img:hover {
    transform: scale(1.05);
}

.page-content p {
    font-size: 18px;
    line-height: 30px;
    text-align: justify;
    padding: 20px;
}
.page-content li {
    font-size: 18px;
    line-height: 30px;
    padding: 5px;
}
.page-content i {
    font-size: 17px;
    line-height: 22px;
    padding: 5px;
}
footer{
    background-color: #1e3f71;
}

/* Masonry Layout */
.masonry{
    column-count:4;
    column-gap:1rem;
}

@media(max-width:1200px){ .masonry{column-count:3;} }
@media(max-width:768px){ .masonry{column-count:2;} }
@media(max-width:576px){ .masonry{column-count:1;} }

.item{
    break-inside: avoid;
    margin-bottom:1rem;
    position:relative;
    overflow:hidden;
    border-radius:14px;
    cursor:pointer;
}

.item img{
    width:100%;
    border-radius:14px;
    transition:.4s ease;
}

.item:hover img{
    transform:scale(1.08);
}

/* Overlay */
.overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.45);
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:18px;
    opacity:0;
    transition:.3s;
}

.item:hover .overlay{
    opacity:1;
}

.activities .col-md-4>img {
    width: 100%;
}
.activities>h4 {
    background-color: #1e3f71;
    margin-bottom: 12px;
    color: #fff;
    padding: 5px 12px;
    line-height: 24px;
}