/* RESET */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

/* BODY */

body{
    padding-bottom:160px;
    min-height:100vh;
    font-family:Arial, sans-serif;

    background-image:url("images/background.webp");
    background-size:contain;
    background:
linear-gradient(
rgba(0,0,0,0.45),
rgba(0,0,0,0.45)
),
url("images/background.webp");

    background-position:top center;
    background-size:cover;
    background-repeat:no-repeat;
    background-attachment:scroll;
    background-attachment:fixed;
    

    color:white;
    padding:15px;
}

/* BANNER */

.banner{
    width:100%;
    border-radius:25px;
    overflow:hidden;

    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
}

.banner img{
    width:100%;
    height:auto;
    display:block;
}

/* TITLE */

.title{
    color:gold;
    font-size:28px;
    font-weight:bold;
    text-shadow:0 0 15px gold;
}

.subtitle{
    margin-top:10px;
    color:white;
}

/* GLASS CARD */

.card{
    background:rgba(255,255,255,0.15);
    backdrop-filter:blur(15px);

    border-radius:20px;

    padding:20px;

    color:white;

    text-decoration:none;
}

/* UPDATE BAR */

.update-bar{
    margin-top:15px;

    padding:15px;

    border-radius:20px;

    background:rgba(255,255,255,0.12);

    backdrop-filter:blur(12px);
}

/* GRID */

.grid{
    margin-top:20px;

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:15px;
}

/* HOME BUTTON */

.home-btn{
    display:inline-block;

    margin-top:10px;

    margin-bottom:20px;

    padding:12px 20px;

    border-radius:15px;

    background:rgba(255,255,255,0.15);

    backdrop-filter:blur(15px);

    color:white;

    text-decoration:none;
}

.home-btn{
    transition:0.3s ease;
}

.home-btn:hover{
    transform:scale(1.02);
}

.home-btn:active{
    transform:scale(0.98);
}

.year-card{
    transition:0.3s ease;
}

.year-card:hover{
    transform:scale(1.02);
}

.year-card:active{
    transform:scale(0.96);
}

.bottom-nav{

    position:fixed;
    bottom:0;
    left:0;

    width:100%;

    display:flex;
    justify-content:space-around;
    align-items:center;

    padding:14px 10px;

    background:rgba(255,255,255,0.08);

    backdrop-filter:blur(20px);

    border-top:1px solid rgba(255,255,255,0.15);

    z-index:999;
}

.bottom-nav a{
    color:white;
    text-decoration:none;
}
.gallery{
    display:grid;
    gap:15px;
    margin-top:20px;
}
h1{
    text-align:center;
}
h1{
    text-align:center;
}

/* Gallery Layout */

.gallery{
    display:grid;
    gap:15px;
    margin-top:20px;
}

/* Memories Years */

.years{
    display:grid;
    gap:15px;
    margin-top:20px;
}

.year-card{
    background:rgba(255,255,255,0.15);
    backdrop-filter:blur(15px);
    border-radius:20px;
    padding:25px;
    text-align:center;
    text-decoration:none;
    color:white;
    font-size:24px;
    font-weight:bold;
}

.year-card{
    transition:0.3s ease;
}

.year-card:hover{
    transform:scale(1.02);
}

.year-card:active{
    transform:scale(0.96);
}

/* Search Box */

.search-box{
    width:100%;
    padding:15px;
    border:none;
    border-radius:15px;
    font-size:18px;
}

/* Search Result */

.result{
    margin-top:20px;
    padding:20px;
    border-radius:20px;
    background:rgba(255,255,255,0.15);
    backdrop-filter:blur(15px);
}

/* Help Cards */

.card{
    display:block;
    margin-top:15px;

    background:rgba(255,255,255,0.15);
    backdrop-filter:blur(15px);
    border-radius:20px;
    padding:20px;
    color:white;
    text-decoration:none;

    transition:0.3s ease;
}

.card:hover{
    transform:scale(1.02);
}

.card:active{
    transform:scale(0.96);
}

.logo-container{
    text-align:center;
    margin-bottom:15px;
}

.logo{
    width:120px;
    height:120px;
    object-fit:contain;
}
.update-bar{
    display:flex;
    align-items:center;

    margin-top:15px;
    padding:15px;

    border-radius:20px;

    background:rgba(255,255,255,0.12);
    backdrop-filter:blur(12px);

    color:white;
}

.update-label{
    font-weight:bold;
    color:gold;
    margin-right:10px;
    white-space:nowrap;
}
.photo-card{
    overflow:hidden;
    border-radius:20px;
    background:rgba(255,255,255,0.15);
    backdrop-filter:blur(15px);
    padding:10px;
}

.photo-card img{
    width:100%;
    border-radius:15px;
    display:block;
}

.photo-gallery{

    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(150px,1fr));
    gap:12px;
    margin:8px 0;

}

.gallery-photo{
    width:100%;
    aspect-ratio:1/1;
    object-fit:cover;
    border-radius:12px;
    cursor:pointer;

    transition:0.3s;
}
.gallery-photo:hover{

    transform:scale(1.05);
}
.popup{
    display:none;

    position:fixed;
    top:0;
    left:0;

    width:100%;
    height:100%;

    background:rgba(0,0,0,0.9);

    z-index:9999;

    flex-direction:column;
    justify-content:center;
    align-items:center;

    overflow-y:auto;
    padding:20px;

    animation:popupShow 0.3s ease;
}

#popupImage{
    max-width:85vw;
    max-height:60vh;
    border-radius:10px;
    object-fit:contain;
}

.close-btn{
    color:white;
    font-size:35px;
    position:absolute;
    top:20px;
    right:25px;
    cursor:pointer;
}

@keyframes popupShow{

    from{

        opacity:0;
        transform:scale(0.9);
    }

    to{

        opacity:1;
        transform:scale(1);
    }
}
.popup-nav{

    display:flex;

    align-items:center;

    gap:15px;
}

.nav-btn{

    font-size:28px;

    border:none;

    background:white;

    border-radius:50%;

    width:50px;

    height:50px;

    cursor:pointer;
}

#downloadBtn{
    display:inline-block;
    margin-top:15px;
    padding:12px 20px;
    background:#ff9800;
    color:white;
    text-decoration:none;
    border-radius:10px;
    font-weight:bold;
}

#downloadBtn:hover{
    opacity:0.9;
}

.menu-card{
    text-align:center;
    padding:25px;
}

.menu-icon{
    width:60px;
    height:60px;
    object-fit:contain;
    margin-bottom:10px;
}

.footer{
    margin-top:40px;
    text-align:center;
    opacity:0.8;
    padding:20px;
}

.nav-icon{
    width:28px;
    height:28px;
    object-fit:contain;
    opacity:0.9;
    transition:0.3s;
}

.nav-icon:hover{
    opacity:1;
    transform:scale(1.15);
}

.back-btn{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:12px 18px;
    background:rgba(255,255,255,0.12);
    backdrop-filter:blur(15px);
    border-radius:18px;
    text-decoration:none;
    color:white;
    font-weight:bold;
}

.back-icon{
    width:22px;
    height:22px;
}

.back-btn{
    transition:0.3s ease;
}

.back-btn:hover{
    transform:scale(1.02);
}

.back-btn:active{
    transform:scale(0.98);
}

.card:active,
.year-card:active,
.home-btn:active{

    transform:scale(0.96);
}

.card:hover,
.year-card:hover,
.home-btn:hover{
    transform:scale(1.02);
}

.menu-btn{
    position:fixed;
    top:15px;
    left:15px;

    z-index:10003;

    border:none;

    background:rgba(255,255,255,0.15);

    backdrop-filter:blur(15px);

    color:white;

    font-size:24px;

    padding:10px 15px;

    border-radius:15px;

    cursor:pointer;
}

.side-menu{
    position:fixed;
    top:0;
    left:-280px;

    width:260px;
    height:100%;

    overflow-y:auto;
    overflow-x:hidden;

    background:rgba(255,255,255,0.12);

    backdrop-filter:blur(20px);
    -webkit-backdrop-filter:blur(20px);

    border-right:1px solid rgba(255,255,255,0.2);

    z-index:10002;

    transition:left 0.35s ease;

    padding-top:70px;

}

.side-menu a{
    display:flex;
    align-items:center;

    color:white;

    text-decoration:none;

    padding:18px 25px;

    font-size:18px;

    transition:0.3s ease;
}

.side-menu a:hover{
    background:rgba(255,255,255,0.1);
}

.close-menu{
    position:absolute;

    top:20px;
    right:20px;

    font-size:30px;

    color:white;

    cursor:pointer;
}

.menu-icon{
    width:24px;
    height:24px;
    object-fit:contain;
    margin-right:12px;
    vertical-align:middle;
}
.side-menu hr{
    border:none;
    height:1px;
    background:rgba(255,255,255,0.2);
    margin:10px 20px;
}

.menu-header{
    text-align:center;
    padding-bottom:20px;
}

.menu-logo{
    width:80px;
    height:80px;
    object-fit:contain;
}

.menu-divider{
    height:1px;
    margin:12px 20px;
    background:rgba(255,255,255,0.25);
}

.menu-overlay{

    position:fixed;

    top:0;
    left:0;

    width:100%;
    height:100%;

    background:rgba(0,0,0,0.3);

    display:none;

    z-index:10001;
}

.contact-btn{

    display:inline-block;

    margin-top:12px;

    padding:12px 18px;

    border-radius:12px;

    background:rgba(218, 2, 2, 0.18);

    backdrop-filter:blur(12px);

    color:white;

    text-decoration:none;

    transition:0.3s ease;
}

.contact-btn:hover{

    transform:scale(1.03);
}

.card h3{
    color:gold;
    margin-bottom:8px;
}

.card p{
    color:white;
}

.committee-card{

    text-align:center;
}

.committee-card h3{

    color:gold;

    margin-bottom:10px;
}

.committee-card p{

    margin:5px 0;
}

.announcement-card{
    border-left:4px solid gold;
}

.announcement-card h3{
    color:gold;
    margin-bottom:8px;
}

.search-result{

    display:block;

    margin-top:12px;

    padding:15px;

    border-radius:15px;

    background:rgba(255,255,255,0.15);

    backdrop-filter:blur(12px);

    color:white;

    text-decoration:none;

    transition:0.3s ease;
}

.search-result:hover{

    transform:scale(1.03);
}

#loader{

position:fixed;

top:0;
left:0;

width:100%;
height:100%;

display:flex;

justify-content:center;

align-items:center;

z-index:99999;

overflow:hidden;
}

.loader-bg-img{

position:absolute;

top:0;
left:0;

width:100%;

height:100%;

object-fit:cover;

filter:blur(8px) brightness(0.45);

transform:scale(1.15);

z-index:1;
}

.loader-content{

position:relative;

z-index:2;

text-align:center;

color:white;
}

.loader-logo{
width:120px;
height:auto;
margin-bottom:-20px;
}

.loader-content h2{
font-size:32px;
color:gold;
margin:10px 0;
text-shadow:0 0 15px rgba(0,0,0,0.8);
}

.loader-content p{
font-size:18px;
text-shadow:0 0 10px rgba(0,0,0,0.8);
}

#topBtn{
    display:none;
    position:fixed;
    bottom:90px;
    right:20px;
    z-index:9999;
    border:none;
    width:50px;
    height:50px;
    border-radius:50%;
    background:rgba(255,255,255,0.18);
    backdrop-filter:blur(12px);
    color:white;
    font-size:22px;
    cursor:pointer;
    transition:0.3s ease;
}

#topBtn:hover{
    transform:scale(1.1);
}

.countdown-card{
    width:100%;
    margin:20px auto;
    background:rgba(255,255,255,0.15);
    backdrop-filter:blur(15px);
    border-radius:20px;
    padding:12px 20px;
    text-align:center;
    color:white;
}

.countdown-card h2{

    color:gold;

    margin-bottom:5px;
}

#countdown{

    font-size:20px;

    font-weight:bold;
}

.featured-photo-card{

    display:block;

    margin-top:20px;

    text-decoration:none;

    background:rgba(255,255,255,0.15);

    backdrop-filter:blur(15px);

    border-radius:20px;

    padding:15px;

    color:white;

    text-align:center;

    transition:0.3s ease;
}

.featured-photo-card:hover{

    transform:scale(1.02);
}

.featured-photo{

    width:100%;

    max-height:250px;

    object-fit:cover;

    border-radius:15px;

    margin:10px 0;
}

.updates-card{

    margin:15px 0;

    padding:15px;

    text-align:center;

    background:rgba(255,255,255,0.15);

    backdrop-filter:blur(15px);

    border-radius:20px;

    color:white;
}

.updates-icon{

    width:50px;

    height:50px;

    margin-bottom:8px;
}

.update-btn{

    margin-top:10px;

    padding:10px 20px;

    border:none;

    border-radius:12px;

    background:rgba(255,255,255,0.2);

    color:white;

    cursor:pointer;
}

.featured-photo-card{

    display:block;

    margin-top:20px;

    text-decoration:none;

    background:rgba(255,255,255,0.15);

    backdrop-filter:blur(15px);

    border-radius:20px;

    padding:15px;

    color:white;

    text-align:center;

    transition:0.3s ease;
}

.featured-photo-card:hover{

    transform:scale(1.02);
}

.featured-photo{

    width:100%;

    max-height:250px;

    object-fit:cover;

    border-radius:15px;

    margin:10px 0;
}

body.fade-in{
    animation:fadeIn 0.0s ease;
}

@keyframes fadeIn{
    from{
        opacity:0;
    }
    to{
        opacity:1;
    }
}

.bottom-nav a.active{

    background:rgba(255,215,0,0.15);

    border-radius:15px;

    padding:10px;

    box-shadow:0 0 15px rgba(255,215,0,0.7);

    transition:0.3s ease;
}

.bottom-nav a.active .nav-icon{

    transform:scale(1.15);
}

.video-grid{

display:grid;

grid-template-columns:1fr;

gap:20px;

padding:15px;
}

.video-card{

background:rgba(255,255,255,0.15);

backdrop-filter:blur(15px);

border-radius:20px;

padding:15px;

text-align:center;
}

.video-thumb{

width:100%;

border-radius:15px;
}

.video-btn{

display:block;

margin-top:10px;

padding:10px;

border-radius:12px;

background:rgba(255,255,255,0.15);

color:white;

text-decoration:none;

transition:0.3s;
}

.video-btn:hover{

transform:scale(1.03);
}

.title-icon{
    width:42px;
    height:42px;
    vertical-align:middle;
    margin-right:0px;
    filter:brightness(0) invert(1);
}

.card-title-icon{
    width:26px;
    height:26px;
    vertical-align:top;
    margin-right:1px;
    filter:brightness(0) invert(1);
}

.about-card{
    border-left:4px solid whitesmoke;
}

.schedule-card{
    border-left:4px solid goldenrod;
}

.card-search-title-icon{
    width:26px;
    height:26px;
    vertical-align:middle;
    margin-right:1px;
    filter:brightness(0) invert(1);
}

.card-small-title-icon{
    width:20px;
    height:20px;
    vertical-align:top;
    margin-right:1px;
    filter:brightness(0) invert(1);
}


.card-verysmall-title-icon{
    width:16px;
    height:16px;
    vertical-align:middle;
    margin-right:1px;
    filter:brightness(0) invert(1);
}

.schedule-card h2{
    font-size:22px;
    color:gold;
    margin:8px 0;
}

.schedule-card h3{
    font-size:18px;
    color:white;
    margin:4px 0;
}

.schedule-card2{
    border-bottom:4px solid goldenrod;
}

.committee-card{
    text-align:left !important;
}

.committee-card h3{
    text-align:center;
    margin-bottom:20px;
}

.committee-card p{
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:10px;
    margin:8px auto;
    width:320px;
    text-align:left;
}

.member-icon{
    width:22px;
    height:22px;
    flex-shrink:0;
    filter:brightness(0) invert(1);
}

.gallery-photo{

width:100%;
border-radius:10px;
cursor:pointer;

content-visibility:auto;
contain-intrinsic-size:250px;

}