*, *::before, *::after {
    box-sizing: border-box !important;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    /* Hides scrollbar in Firefox */
    scrollbar-width: none; 
}

/* Hides scrollbar in Chrome, Safari, and Edge */
::-webkit-scrollbar {
    width: 0px;
    background: transparent;
    display: none;
}
#front-photo {
    width: 100%;
    height: 60vh;
    background-image: url(https://res.cloudinary.com/dniy8inc1/image/upload/w_1200,f_auto,q_auto/v1780009985/mainpic_xepuez.png);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

#pres-msg-box {
    background-color: #F8F9FA; 
    max-width: 60rem;
    margin: 4rem auto;
    padding: 3rem;
    border-left: 6px solid var(--accent); 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
    border-radius: 0 0.5rem 0.5rem 0;
}

.pres-header { margin-bottom: 2.5rem; }
.pres-header h2 { font-size: 1.8rem; text-transform: uppercase; letter-spacing: 0.1em; }
.highlight { color: var(--accent); }
.left-underline { width: 4rem; height: 3px; background: var(--accent); margin-top: 0.5rem; }
.pres-content { display: flex; flex-direction: row; gap: 3rem; align-items: flex-start; }
.img-wrapper { flex: 0 0 180px; }
.img-wrapper img { width: 100%; border-radius: 0.5rem; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.pres-text { flex: 1; display: flex; flex-direction: column; }
.pres-text h3 { margin-bottom: 0.5rem; font-size: 1.4rem; }
.pres-text p { font-size: 1.1rem; line-height: 1.8; color: #555; margin-bottom: 1.5rem; }
.read-more { align-self: flex-start; padding: 0.5rem 1.2rem; border: 1px solid #CCCCCC; color: var(--text-main); text-decoration: none; font-size: 0.9rem; border-radius: 0.25rem; transition: all 0.2s ease; }
.read-more:hover { border-color: var(--accent); color: var(--accent); }

#upcoming-events { padding: 5rem 2rem; max-width: 75rem; margin: 0 auto; }
.event-feature { display: flex; gap: 3rem; background: #FFFFFF; border-radius: 1rem; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05); margin-bottom: 3rem; }
.event-image { flex: 0 0 100px; background: #f0f4f8; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0.5rem; gap: 0.5rem; }
.date-badge { position: static; background: var(--accent); color: white; padding: 0.4rem 0.6rem; display: flex; flex-direction: column; align-items: center; border-radius: 0.3rem; font-weight: bold; font-size: 0.7rem; line-height: 1; }
.event-image img { width: 50px; height: auto; object-fit: contain; }
.event-text { flex: 1; padding: 3rem; display: flex; flex-direction: column; justify-content: center; }
.event-secondary { display: flex; justify-content: space-between; align-items: center; padding: 2rem; background: #F4F4F4; border-radius: 0.5rem; }
.btn-primary { display: inline-block; padding: 0.8rem 2rem; background: var(--accent); color: white; text-decoration: none; border-radius: 0.3rem; margin-top: 1.5rem; }

#action-cards { display: flex; flex-wrap: nowrap; max-width: 75rem; margin: -5rem auto 4rem auto; position: relative; z-index: 20; box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2); border-radius: 0.5rem; overflow: visible; }
#action-cards .card { flex: 0 1 25%; min-width: 0; display: flex; justify-content: center; align-items: center; min-height: 7rem; padding: 0.5rem; text-decoration: none; position: relative; text-align: center; transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.3s ease, box-shadow 0.3s ease, border-radius 0.3s ease; }
#action-cards .card:first-child { border-radius: 0.5rem 0 0 0.5rem; }
#action-cards .card:last-child { border-radius: 0 0.5rem 0.5rem 0; }
.card.light { background-color: #F4F4F4; color: var(--text-main); }
.card.dark { background-color: var(--accent); color: #FFFFFF; }
#action-cards .card h2 { font-size: clamp(0.8rem, 1.2vw, 1.4rem); margin: 0; text-transform: uppercase; letter-spacing: 0.05rem; text-align: center; padding: 0 0.5rem; line-height: 1.2; }
#action-cards .card::after { content: ''; position: absolute; bottom: 0; left: 50%; width: 0%; height: 4px; background-color: var(--accent-vibrant); transition: width 0.3s ease, left 0.3s ease; }
#action-cards .card:hover { filter: brightness(1.1); transform: translateY(-10px) scale(1.02); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25); z-index: 30; border-radius: 0.5rem; }
#action-cards .card:hover::after { width: 80%; left: 10%; }

#main-gallery { background-color: #ffffff; max-width: 55rem; margin: 4rem auto; padding: 4rem 0; border-radius: 1rem; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06); overflow: hidden; }
.section-header { text-align: center; margin-bottom: 3rem; }
.marquee-viewport { width: 100%; overflow: hidden; position: relative; mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%); -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%); padding-left: calc(50% - 14rem); }
.marquee-track { display: flex; gap: 2rem; width: max-content; animation: stepSlideDesktop 24s cubic-bezier(0.25, 1, 0.5, 1) infinite; }
.marquee-track img { height: 20rem; width: 28rem; object-fit: cover; border-radius: 0.5rem; box-shadow: 0 10px 25px rgba(0,0,0,0.15); cursor: pointer; animation: focalPop 24s infinite; transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease; }
.marquee-track:hover, .marquee-track:hover img { animation-play-state: paused; }
.marquee-track img:hover { transform: scale(1.05) translateY(-10px) !important; filter: brightness(1.1) grayscale(0%) !important; box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3) !important; z-index: 20; }
.marquee-track img:nth-child(1), .marquee-track img:nth-child(7) { animation-delay: 0s; }
.marquee-track img:nth-child(2), .marquee-track img:nth-child(8) { animation-delay: 4s; }
.marquee-track img:nth-child(3), .marquee-track img:nth-child(9) { animation-delay: 8s; }
.marquee-track img:nth-child(4), .marquee-track img:nth-child(10) { animation-delay: 12s; }
.marquee-track img:nth-child(5), .marquee-track img:nth-child(11) { animation-delay: 16s; }
.marquee-track img:nth-child(6), .marquee-track img:nth-child(12) { animation-delay: 20s; }

#team-2026 { padding: 5rem 2rem; background-color: #FFFFFF; }
.section-header h2 { font-size: 2rem; color: var(--text-main); }
.section-header .underline { width: 4rem; height: 4px; background-color: var(--accent); margin: 0.5rem auto 0 auto; }
.subsection-title { text-align: center; font-size: 1.4rem; color: var(--accent); margin: 5rem 0 2rem 0; text-transform: uppercase; letter-spacing: 0.1em; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 3rem; max-width: 75rem; margin: 0 auto; }
.team-member { text-align: center; }
.team-member img { width: 12rem; height: 12rem; border-radius: 50%; object-fit: cover; margin-bottom: 1.5rem; box-shadow: 0 8px 20px rgba(0,0,0,0.1); aspect-ratio: 1 / 1; background-color: #f1f5f9;}
.team-member h3 { font-size: 1.2rem; margin-bottom: 0.2rem; }

#floating-social { position: fixed; bottom: 2rem; right: 2rem; z-index: 999; display: flex; align-items: center; background-color: #FFFFFF; padding: 0.8rem; border-radius: 3rem; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); text-decoration: none; overflow: hidden; border: 1px solid rgba(26, 35, 126, 0.1); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
#floating-social img { width: 1.8rem; height: 1.8rem; flex-shrink: 0; }
#floating-social .social-handle { color: var(--accent); font-weight: 700; font-size: 1rem; letter-spacing: 0.05em; white-space: nowrap; max-width: 0; opacity: 0; margin-left: 0; transition: all 0.4s ease; }
#floating-social:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(26, 35, 126, 0.25); background-color: var(--bg-color); }
#floating-social:hover .social-handle { max-width: 15rem; opacity: 1; margin-left: 0.8rem; padding-right: 0.5rem; }

.glass-nav-container { width: 100%; display: flex; justify-content: center; margin-top: 5rem; margin-bottom: -2rem; position: relative; z-index: 10; padding: 0 1rem; }
.glass-dock { display: flex; align-items: center; justify-content: center; gap: 1rem; background: #ffffff; border-radius: 4rem; border: 1px solid rgba(0, 0, 0, 0.05); padding: 0.5rem; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04); }
.glass-dock a { position: relative; padding: 1rem 3rem; color: #1a237e; text-decoration: none; font-weight: 800; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.15em; border-radius: 4rem; background: transparent; border: 1px solid transparent; transition: all 0.3s ease; }
.glass-dock a:hover { transform: translateY(-6px); letter-spacing: 0.35em; background: #1a237e; color: #ffffff; border-color: transparent; box-shadow: 0 25px 50px rgba(41, 121, 255, 0.6); }
.glass-dock a:active { transform: translateY(2px) scale(0.98); box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); }

.bento-container { max-width: 85rem; margin: 6rem auto; padding: 0 2rem; position: relative; }
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 22rem;
    gap: 1.5rem;
}
.bento-card { position: relative; border-radius: 1.5rem; overflow: hidden; background: #ffffff; box-shadow: 0 10px 30px rgba(0,0,0,0.04); text-decoration: none; color: var(--text-main); display: flex; flex-direction: column; border: 1px solid rgba(0,0,0,0.03); transform-style: preserve-3d; transform: perspective(1000px) rotateX(0) rotateY(0) scale3d(1, 1, 1); transition: box-shadow 0.4s ease, transform 0.1s ease-out; -webkit-mask-image: -webkit-radial-gradient(white, black); mask-image: radial-gradient(white, black); }
.bento-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(26, 35, 126, 0.12); }
.bento-large { grid-column: span 2; grid-row: span 2; }
.bento-wide { grid-column: span 2; grid-row: span 1; }
.bento-square { grid-column: span 1; grid-row: span 1; }
.bento-img-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; filter: contrast(1) saturate(1) brightness(1); transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), filter 0.6s ease; z-index: 0; border-radius: 1.5rem;background-color: #0f172a; }
.bento-card:hover { box-shadow: 0 20px 40px rgba(26, 35, 126, 0.25); z-index: 30; }
.bento-card.dark { background-color: #0f172a; }
.bento-card.dark::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.4) 45%, transparent 100%); z-index: 1; pointer-events: none; }
.bento-content { position: relative; z-index: 10; padding: 3rem; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
.bento-card.dark .bento-content, .bento-card.dark .bento-content h3, .bento-card.dark .bento-content p { color: #ffffff !important; }
.bento-tag { position: absolute; top: 2.5rem; left: 3rem; background: rgba(0, 0, 0, 0.15); backdrop-filter: blur(12px); padding: 0.5rem 1.2rem; border-radius: 3rem; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.2em; z-index: 2; }
.bento-card.dark .bento-tag { color: white; border: 1px solid rgba(255,255,255,0.3); }
.bento-card.light .bento-tag { background: var(--accent-vibrant); color: white; }
.bento-content h3 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 900; letter-spacing: -0.04em; line-height: 1.05; margin-bottom: 0.8rem; text-transform: uppercase; text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); }
.bento-content p { font-size: 1rem; font-weight: 400; opacity: 0.75; line-height: 1.6; letter-spacing: 0.02em; max-width: 90%; }
.bento-card.light { background: #F9FAFB; justify-content: center; align-items: center; text-align: center; padding: 2rem; }
.bento-card.accent { background: linear-gradient(135deg, var(--accent), var(--accent-vibrant)); color: white; }
.bento-card * { pointer-events: none; }

@keyframes slowZoom { from { transform: scale(1.05); } to { transform: scale(1.15); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes focalPop { 0%, 10% { transform: scale(1); filter: brightness(1) grayscale(0%); } 16.66%, 93.33% { transform: scale(0.8); filter: brightness(0.6) grayscale(30%); } 100% { transform: scale(1); filter: brightness(1) grayscale(0%); } }
@keyframes stepSlideDesktop { 0%, 10% { transform: translateX(0); } 16.66%, 26.66% { transform: translateX(-30rem); } 33.33%, 43.33% { transform: translateX(-60rem); } 50%, 60% { transform: translateX(-90rem); } 66.66%, 76.66% { transform: translateX(-120rem); } 83.33%, 93.33% { transform: translateX(-150rem); } 100% { transform: translateX(-180rem); } }
@keyframes stepSlideMobile { 0%, 10% { transform: translateX(0); } 16.66%, 26.66% { transform: translateX(-19rem); } 33.33%, 43.33% { transform: translateX(-38rem); } 50%, 60% { transform: translateX(-57rem); } 66.66%, 76.66% { transform: translateX(-76rem); } 83.33%, 93.33% { transform: translateX(-95rem); } 100% { transform: translateX(-114rem); } }

@media (max-width: 64rem) {
    .bento-grid { 
        grid-template-columns: repeat(4, 1fr); 
        grid-auto-rows: 14rem; 
        gap: 1rem;
    }
    .bento-large { grid-column: span 2; grid-row: span 2; }
    .bento-wide { grid-column: span 2; grid-row: span 1; }
    .bento-square { grid-column: span 1; grid-row: span 1; }
    .bento-content { padding: 1.5rem; }
    .bento-content h3 { font-size: clamp(1.2rem, 3vw, 1.8rem); }
    .bento-tag { top: 1rem; left: 1rem; padding: 0.3rem 0.8rem; font-size: 0.65rem; }
}

@media (max-width: 48rem) {
    .bento-square .bento-content h3 { font-size: 0.85rem !important; }
    .bento-content { padding: 0.8rem; }
    .bento-tag { top: 0.5rem; left: 0.5rem; padding: 0.15rem 0.4rem; font-size: 0.5rem; }
    .marquee-viewport { padding-left: calc(50% - 9rem); mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%); -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%); }
    .marquee-track { gap: 1rem; animation: stepSlideMobile 24s cubic-bezier(0.25, 1, 0.5, 1) infinite; }
    .marquee-track img { height: 12rem; width: 18rem; }
    #floating-social { bottom: 1.5rem; right: 1.5rem; padding: 0.6rem 1rem 0.6rem 0.6rem; }
    #floating-social .social-handle { max-width: 15rem; opacity: 1; margin-left: 0.5rem; font-size: 0.9rem; }
    .pres-content { flex-direction: column; gap: 1.5rem; }
    .img-wrapper { width: 100%; flex: none; }
    .bento-grid { grid-auto-rows: 10rem; gap: 0.8rem; }
    .bento-content { padding: 1rem; }
    .bento-content h3 { font-size: clamp(0.9rem, 4vw, 1.2rem); margin-bottom: 0.2rem; }
    .bento-tag { top: 0.8rem; left: 0.8rem; padding: 0.25rem 0.5rem; font-size: 0.55rem; }
    
    .bento-container {
        margin-top: 1rem;
        padding: 0 1rem;
    }
}

.bento-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(41, 121, 255, 0.08) 0%, rgba(26, 35, 126, 0.03) 40%, transparent 70%);
    filter: blur(60px);
    z-index: -1;
    pointer-events: none;
}

.bento-card.bento-square .bento-content {
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

.bento-card.bento-square.light .bento-content div:first-child {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 0.5rem;
}

.bento-card.bento-square.light h3 {
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    letter-spacing: 0;
    line-height: 1.2;
}

.bento-card.bento-square.accent .bento-content {
    gap: 0.8rem;
    z-index: 10;
}

.bento-card.bento-square.accent h3 {
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    margin-bottom: 0.2rem;
    letter-spacing: 0.05em;
    line-height: 1.2;
    font-weight: 900;
    color: #ffffff !important;
}

.bento-card.bento-square.accent p {
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: lowercase;
}