* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Montserrat', sans-serif; background-color: #f1f7fe; overflow-x: hidden; }

.txt-black-bio { color: #000000 !important; font-weight: 700; }
.txt-blue-bold { color: #1a4a8e; font-weight: 700; }

.top-yellow-line { background-color: #fbc02d; height: 50px; display: flex; align-items: center; justify-content: flex-start; padding: 0 5%; position: relative; z-index: 2000; }
.nav-menu { display: flex; align-items: center; }
.nav-item { background-color: #7a2b6d; color: white; padding: 8px 22px; border-radius: 25px; text-decoration: none; font-weight: 700; font-size: 14px; margin-right: 10px; transition: 0.3s; }
.nav-item.active { background-color: #1a4a8e; }

.menu-toggle { display: none; flex-direction: column; cursor: pointer; z-index: 3000; }
.bar { width: 25px; height: 3px; background-color: #1a4a8e; margin: 4px 0; }

.logo-wrapper { width: 100%; display: flex; justify-content: flex-end; padding: 20px 10% 0 0; }
.extra-big-logo { height: 180px; width: auto; }

.bio-intro-container { padding: 20px 10% 60px 10%; }
.page-label { color: #1a4a8e; font-size: 18px; font-weight: 700; margin-bottom: 20px; }
.bio-main-layout { display: flex; gap: 40px; align-items: flex-start; }
.bio-text-side { flex: 2; color: #1a4a8e; font-size: 16px; line-height: 1.8; text-align: justify; }
.bio-title { font-size: 22px; font-weight: 700; margin-bottom: 20px; line-height: 1.4; }
.bio-text-side p { margin-bottom: 15px; }
.bio-images-side { flex: 0 0 280px; display: flex; flex-direction: column; gap: 25px; align-items: center; }
.diploma-img { width: 230px; height: auto; position: relative; top: -40px; border: 1px solid #ddd; box-shadow: 0 8px 15px rgba(0,0,0,0.1); border-radius: 4px; }
.doodle-img { width: 80%; height: auto; }

.photo-collage { padding: 60px 10%; background-color: white; }
.collage-container { display: flex; gap: 20px; max-width: 1200px; margin: 0 auto; align-items: center; }
.left-stack, .right-stack { flex: 1; display: flex; flex-direction: column; gap: 20px; }
.center-photo { flex: 1.4; }
.img-small-top, .img-small-bottom, .img-large { width: 100%; border-radius: 4px; box-shadow: 0 5px 15px rgba(0,0,0,0.08); cursor: pointer; transition: 0.3s; }
.img-small-top:hover, .img-small-bottom:hover, .img-large:hover { transform: scale(1.02); }

.section-footer-image { width: 100%; position: relative; }
.footer-full-img { width: 100%; display: block; }
.top-right-contact-overlay { position: absolute; top: 30px; right: 5%; text-align: right; line-height: 1.8; z-index: 5; }
.mini-icon { width: 18px; vertical-align: middle; margin-left: 8px; }
.footer-overlay-content { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; width: 100%; }
.footer-slogan { color: #1a4a8e; font-family: 'Pangolin', cursive; font-size: 100px; line-height: 0.8; text-shadow: 2px 2px 10px rgba(255,255,255,0.8); }
.big-word { font-size: 150px; display: block; }

.cta-bottom-bar { width: 100%; height: 60px; background: linear-gradient(to right, #7a2b6d, #1a4a8e); display: flex; justify-content: space-between; align-items: center; padding: 0 5%; position: relative; }
.cta-bottom-left { display: flex; align-items: center; gap: 10px; color: white; font-weight: 700; font-size: 15px; }
.icon-colored { width: 28px; height: 28px; }
.cta-bottom-socials { display: flex; gap: 20px; }
.top-icon { width: 22px; height: 22px; }
.home-red { filter: invert(21%) sepia(100%) saturate(7414%) hue-rotate(359deg) brightness(94%) contrast(117%) !important; }

.lightbox { display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.9); align-items: center; justify-content: center; flex-direction: column; }
.lightbox-content { max-width: 85%; max-height: 80%; object-fit: contain; border: 3px solid white; box-shadow: 0 0 20px rgba(0,0,0,0.5); }
.close-lightbox { position: absolute; top: 20px; right: 35px; color: white; font-size: 50px; font-weight: bold; cursor: pointer; }
.prev-lightbox, .next-lightbox { position: absolute; top: 50%; transform: translateY(-50%); color: white; font-size: 60px; font-weight: bold; padding: 20px; cursor: pointer; text-decoration: none; transition: 0.3s; }
.prev-lightbox { left: 5%; }
.next-lightbox { right: 5%; }
.prev-lightbox:hover, .next-lightbox:hover { color: #fbc02d; }
#caption { margin-top: 15px; color: white; font-size: 18px; text-align: center; }

@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    .nav-menu { display: none; position: absolute; top: 50px; left: 0; width: 100%; background: #fbc02d; flex-direction: column; padding: 20px; }
    .nav-menu.active { display: flex; }
    .nav-item { margin: 5px 0; width: 100%; text-align: center; }
    .bio-main-layout { flex-direction: column; align-items: center; }
    .bio-images-side { width: 180px; margin-top: 10px; }
    .collage-container { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 20px; }
    .left-stack, .right-stack, .center-photo { flex: 0 0 85%; scroll-snap-align: center; }
    .footer-slogan { font-size: 32px; }
    .big-word { font-size: 48px; }
    .cta-bottom-bar { flex-direction: row; height: 60px; }
    .top-right-contact-overlay p { font-size: 11px !important; }
}
@media (max-width: 768px) {
    .footer-slogan {
        font-size: 35px !important; 
        line-height: 1.2 !important;
        font-family: 'Pangolin', cursive !important;
    }
    .big-word {
        font-size: 50px !important; 
        display: block;
    }
    .footer-overlay-content {
        width: 90%;
        left: 5%;
        transform: translate(0, -50%);
        text-align: center;
    }
}