@font-face {
  font-family: 'Segoe UI';
  src: url('/assets/fonts/segoeuil.ttf') format('truetype');
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI';
}

html, body {
    height: 100%;
    font-weight: 300;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    width: 100%;
    overflow-x: hidden;
}

.wrapper {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    max-width: 414px;
    margin: 0 auto;
    border-left: 2px solid #dddddd;
    border-right: 2px solid #dddddd;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    height: 100%;
}

body {
    color: #dddddd;
    background-color: rgb(18, 22, 24);
    line-height: 1.6;
    flex-grow: 1;
    font-size: 1.2rem;
    overflow-x: hidden;
}

p {
    margin-bottom: 20px;
    color: #dddddd;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.bold-text {
    color: #818181;
    font-weight: lighter;
    font-size: 1.3em;
    margin-bottom: 5px;
    text-shadow: 0 0 0.5px #818181;
}

.underline-text {
    display: inline-block;
    position: relative;
    font-weight: lighter;
    font-size: 0.8em;
    margin-bottom: 10px;
}

.underline-text::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1px;
    height: 1px;
    background-color: rgb(100, 150, 200);
}

.italic-text {
    font-style: italic;
    font-weight: lighter;
    font-size: 0.7em;
}

.institution-text {
    font-style: italic;
    font-weight: lighter;
    font-size: 0.9em;
    margin-bottom: 0;
    color: #aaaaaa;
}

.italic-text-date {
    font-style: italic;
    font-weight: lighter;
    font-size: 0.7em;
    margin-top: 0;
    margin-bottom: 0;
}

.list {
    margin-bottom: 20px;
    color: #dddddd;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.8em;
}

header {
    background-color: rgb(30, 80, 150);
    height: 50px;
    flex-shrink: 0;
    position: fixed;
    top: 0;
    left: 40px;
    width: calc(100% - 80px);
    z-index: 1000;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}



.header-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: rgb(18, 22, 24);
    z-index: 999;
}

main {
    position: relative;
    z-index: 2;
    flex-grow: 1;
    width: 100%;
    margin: 0 auto;
}

.transparent .nav-links a,
.header.scrolled .nav-links a {
    transition: color 0.3s ease-in-out;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    transform: translateY(-2px);
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-image {
    height: 40px;
    width: auto;
    display: block;
    margin: 0;
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: center;
    margin-left: auto;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 300;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: rgb(169, 204, 227);
}

.hero {
    width: 100%;
    min-height: 35vh;
    background:
        linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(15, 18, 19, 0) 50%),
        url('/assets/images/background.png') no-repeat center center;
    background-size: cover;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    padding: clamp(2%, 5%, 8%) 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    padding-top: 60px;
}

@media (max-width: 480px) {
  .hero-name {
    font-size: 1.4rem;
  }

  .hero-academic-info .subtext,
  .subtext .line {
    font-size: 1rem;
  }

  .subtext .smaller-text {
    font-size: 0.8rem;
  }

  .hero-headshot {
    max-width: 250px;
  }

  .hero-2 .hero-name {
    font-size: 1.4rem;
  }

  .hero-2 .hero-academic-info .subtext,
  .hero-2 .subtext .line {
    font-size: 1rem;
  }

  .hero-2 .subtext .smaller-text {
    font-size: 0.8rem;
  }

  .hero-headshot-2 {
    max-width: 250px;
  }
}

.hero-2 {
    width: 100%;
    min-height: 35vh;
    background: 
        linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(15, 18, 19, 0) 50%), 
        url('/assets/images/background_2.png') no-repeat center center;
    background-size: cover;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    padding: clamp(2%, 5%, 8%) 20px;
    padding-top: 90px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    margin-top: -5px;
}

.hero-headshot {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 10);
    margin-bottom: 20px;
    object-fit: cover;
    transform: translateY(20px);
}

.hero-headshot-2 {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 10);
    margin-bottom: 20px;
    object-fit: cover;
    transform: translateY(10px);
}

.hero-name {
    font-size: 1.8rem;
    margin: 0 0 10px 0;
    font-weight: 300;
    text-align: center;
}

.hero-academic-info .subtext {
    font-size: 1.1rem;
    line-height: 1.1;
    text-align: center;
}

.subtext .line {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 3;
    line-height: 1.1;
}

.subtext .smaller-text {
    font-size: 0.9rem;
    font-weight: 300;
    margin-bottom: 0;
}

.about-section {
    padding: 0px 20px;
    text-align: center;
    flex-grow: 1;
}

.motto {
    color: rgb(100, 150, 200);
    font-weight: 300;
    font-size: 1.2rem;
}

.about-section hr.divider,
.contact-section hr.divider {
    border: none;
    border-top: 1px solid rgba(169, 169, 169, 0.3);
    margin: 40px auto;
    max-width: 800px;
}

.section-title-blue,
.section-title-light-blue {
    font-family: 'Segoe UI';
    font-weight: 300;
    color: rgb(100, 150, 200);
    text-transform: uppercase;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.contact-section {
    padding: 50px 20px;
    text-align: center;
    flex-grow: 1;
    padding-top: 20px;
}

.contact-section hr.divider {
    margin-bottom: 10px;
}

main {
    flex-grow: 1;
}

.contact-section p,
.contact-section ul {
    font-weight: 300;
    font-size: 1.2rem;
    color: #dddddd;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.contact-section ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.social-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 220px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 15px 20px;
    font-size: 1.2rem;
    color: #ffffff;
    background-color: rgba(100, 150, 200, 0.8);
    border-radius: 15px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    width: 100%;
    max-width: 220px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn i {
    margin-right: 10px;
    vertical-align: middle;
}

.btn:hover {
    background-color: rgba(70, 120, 170, 0.9);
    transform: translateY(-2px);
}

.email-btn {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    background-color: rgba(212, 70, 56, 0.8);
}

.email-btn:hover {
    background-color: rgba(179, 58, 47, 0.9);
}

.instagram-btn {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    background-color: rgba(225, 48, 108, 0.8);
}

.instagram-btn:hover {
    background-color: rgba(193, 53, 132, 0.9);
}


.twitter-btn {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    background-color: rgba(29, 161, 242, 0.8);
}

.twitter-btn:hover {
    background-color: rgba(10, 133, 217, 0.9);
}

.github-btn {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    background-color: rgba(36, 41, 46, 0.8);
}

.github-btn:hover {
    background-color: rgba(26, 29, 33, 0.9);
}

.linkedin-btn {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    background-color: rgba(0, 119, 181, 0.8);
}

.linkedin-btn:hover {
    background-color: rgba(0, 85, 130, 0.9);
}

.facebook-btn {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    background-color: rgba(66, 103, 178, 0.8);
}

.facebook-btn:hover {
    background-color: rgba(54, 88, 153, 0.9);
}

.tiktok-btn {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    background-color: rgba(0, 0, 0, 0.8);
}

.tiktok-btn:hover {
    background-color: rgba(51, 51, 51, 0.9);
}

.youtube-btn {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    background-color: #ff0000;
}

.youtube-btn:hover {
    background-color: #cc0000;
}

.contact-section p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-section p strong,
.about-section p strong {
    font-family: 'Segoe UI';
    font-weight: 300;
}

footer {
    font-family: 'Segoe UI';
    position: sticky;
    top: 100%;
    margin-top: auto;
    margin-left: 1rem;
    margin-right: 1rem;
    left: 0;
    width: calc(100% - 2rem);
    padding: 1px 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
    border-radius: 12px 12px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.2rem;
    z-index: 1000;
}

footer p {
    font-family: 'Segoe UI';
    font-size: 0.8rem;
    margin: 0;
    line-height: 1;
}

footer a {
    font-family: 'Segoe UI';
    display: flex;
    align-items: center;
    justify-content: center;
}

::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background-color: #0f1112;
}

::-webkit-scrollbar-thumb {
    background-color: #555;
    border-radius: 10px;
    border: 3px solid #0f1112;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #777;
}

html {
    scrollbar-width: thin;
    scrollbar-color: #555 #0f1112;
}

.activity-dropdown summary {
    list-style: none;
    cursor: pointer;
    padding: 10px;
    background-color: transparent;
    border: none;
    margin: 0 auto 10px;
    transition: color 0.3s ease;
    color: inherit;
}
.activity-dropdown summary:focus {
    outline: none;
    box-shadow: none;
}
.activity-dropdown summary:hover {
    color: #cccccc;
}
.activity-dropdown summary::-webkit-details-marker {
    display: none;
}

.activities-content {
    overflow: hidden;
    opacity: 0;
    margin-top: 0;
    height: 0;
    transition: opacity 0.3s ease-out, height 0.3s ease-out, margin-top 0.3s ease-out;
    font-size: 0.8rem;
}

.activities-content {
    overflow: hidden;
    opacity: 0;
    max-height: 0;
    margin-top: 0;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out, margin-top 0.3s ease-out;
}

.activities-content {
    overflow: hidden;
    opacity: 0;
    max-height: 0;
    margin-top: 0;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out, margin-top 0.3s ease-out;
}

details[open] .activities-content {
    max-height: 500px;
    opacity: 1;
    margin-top: 5px;
    animation: slideDown 0.3s ease-out;
}

.activities-content {
    overflow: hidden;
    opacity: 0;
    clip-path: inset(0 0 100% 0);
    margin-top: 0;
    transition: clip-path 0.3s ease-out, opacity 0.3s ease-out, margin-top 0.3s ease-out;
}

details[open] .activities-content {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    margin-top: 5px;
    animation: slideDown 0.3s ease-out;
}

.activities-content {
    overflow: hidden;
    opacity: 0;
    height: 0;
    margin-top: 0;
    transition: opacity 0.3s ease-out, height 0.3s ease-out, margin-top 0.3s ease-out;
}

details[open] .activities-content {
    height: auto;
    opacity: 1;
    margin-top: 5px;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

details:not([open]) .activities-content {
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

.section-box {
    background-color: rgba(20, 30, 40, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 25px;
    margin: 40px auto;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: background-color 0.3s ease;
}

.section-box:hover {
    background-color: rgba(30, 45, 60, 0.6);
}

.sub-section-box {
    background-color: rgba(15, 18, 22, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 15px;
    margin-top: 15px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.sub-section-box:hover {
    background-color: rgba(25, 30, 36, 0.6);
}

 .page-loader {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background-color: rgb(18, 22, 24);
     z-index: 9999;
     opacity: 1;
     visibility: visible;
     transition: opacity 0.8s ease, visibility 0.8s ease;
     pointer-events: none;
 }

 .page-loader.fade-out {
     opacity: 0;
     visibility: hidden;
 }
/* Glass look (glassmorphism) utility */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: inline-block;
    padding: 1rem;
    margin: 0.5rem 0;
}