@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

body.no-scroll {
    overflow: hidden;
}

::-webkit-scrollbar {
    display: none;
}

html {
    scroll-behavior: smooth;
}

.nav-button i, .floating-nav-button i {
    line-height: inherit;
}

#floatingNav {
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 16px;
}

.timeline-item {
    position: relative;
    padding-left: 0.5rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease-in-out;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0.25rem;
    top: 0;
    bottom: 0;
    width: 0;
    background-color: transparent;
}

html.dark .timeline-item::before {
    background-color: transparent;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0.5rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #1F2937;
    border: 2px solid transparent;
    box-sizing: border-box;
    z-index: 10;
    transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

html.dark .timeline-item::after {
    border: 3px solid transparent;
}

.timeline-item:hover::after {
    background-color: none;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.6);
    border-color: #fcd34d;
}

html.dark .timeline-item:hover::after {
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.6);
    border-color: #fcd34d;
}

#about .image-container {
    height: 400px;
    width: 100%;
}

#about .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* MEDIUM SCREEN STYLES */
@media (min-width: 850px) {
    #about .image-container {
        width: 620px;
        height: 400px;
    }
    #about {
        padding-left: 30px;
        height: 100vh;
        margin-bottom: 0;
    }
    #about h2 {
        margin-bottom: 14px;
    }
    #about .about-description {
        background-color: none;
    }
    #projects {
        padding-left: 30px;
        padding-right: 30px;
        margin-bottom: 0;
        height: 100vh;
    }
    #awards {
        padding-left: 30px;
        padding-right: 30px;
        margin-bottom: 0;
        height: 100vh;
    }
    #skills {
        padding-left: 30px;
        padding-right: 30px;
        height: 100vh;
    }
}

/* LARGER SCREEN STYLES 2*/
@media (min-width: 1500px) {
    #about .image-container {
        width: 680px;
        height: 440px;
    }
    #about p {
        font-size: 18px;
    }
    #about {
        padding-top: 70px;
        padding-left: 40px;
        padding-right: 40px;
        margin-bottom: 60px;
    }
    #about .about-ttd {
        width: 180px;
        height: 80px;
    }
    #about .about-description {
        padding-left: 60px;
        padding-right: 3px;
    }
    #about h2 {
        font-size: 33px;
        margin-bottom: -6px;
    }
    #projects {
        padding-top: 30px;
        padding-left: 40px;
        padding-right: 40px;
    }
    #projects h2 {
        font-size: 33px;
        padding-bottom: 5px
    }
    #projects .project-80 img {
        height: 250px;
    }
    #projects .project-80 h3 {
        font-size: 22px;
    }
    #projects p {
        font-size: 15.5px;
        line-height: 1.5;
        padding-top: 4px;
    }
    #projects .project-80 span {
        font-size: 13px;
        padding: 5px 14px 5px 14px;
    }
    #projects .project-div-80 {
        padding: 20px;
    }
    #hero {
        padding-top: 70px;
    }
    #hero img {
        width: 65px;
        height: 65px;
    }
    #hero h1 {
        font-size: 40px;
    }
    #hero .social-80 {
        font-size: 27px;
        padding-top: 5px;
        padding-bottom: 10px;
    }
    #hero .nav-80{
        font-size: 18px;
        padding-top: 11px;
        padding-bottom: 11px;
        padding-left: 18px;
        padding-right: 18px;
    }
    #hero .nav-80 i{
        font-size: 16px;
    }
    .github-button {
        font-size: 17px;
        padding-top: 5px;
    }
    .github-button i {
        font-size: 22px;
    }
    .github-button a {
        padding-top: 14px;
        padding-bottom: 14px;
        padding-left: 27px;
        padding-right: 27px;
    }
    #awards {
        padding-top: 70px;
        padding-left: 40px;
        padding-right: 40px;
        padding-bottom: 100px;
    }
    #awards h2 {
        font-size: 33px;
    }
    #awards h3 {
        font-size: 22px;
        padding-bottom: 3px;
    }
    #awards p {
        font-size: 16px;
        padding-bottom: 1px;
    }
    #awards .awards-desc-80 {
        font-size: 18px;
        padding-top: 4px;
    }
    #awards span{
        font-size: 14px;
        padding-top: 4px;
        padding-bottom: 4px;
        padding-left: 10px;
        padding-right: 10px;
    }
    .timeline-item::after {
        width: 18px;
        height: 18px;
    }
    html.dark .timeline-item::after {
        border: 4px solid transparent;
    }
    #skills {
        padding-left: 40px;
        padding-right: 40px;
        padding-bottom: 80px;
        padding-top: 10px;
    }
    #skills h2 {
        font-size: 33px;
        padding-bottom: 5px
    }
    #skills h3 {
        font-size: 19px;
        padding-bottom: 3px;
    }
    #skills span {
        font-size: 13px;
        padding-bottom: 4px;
        padding-left: 10px;
        padding-right: 10px;
    }
    #skills p {
        font-size: 16px;
        padding-top: 5px;
    }
    #skills .cert-80 {
        margin-right: 5px;
    }
    #skills .skill-80 {
        font-size: 27px;
        padding-top: 10px;
    }
    #skills .skill-set-80 span {
        font-size: 16px;
        padding-top: 9px;
        padding-bottom: 11px;
        padding-left: 18px;
        padding-right: 18px;
        margin-bottom: 2px;
    }
    #skills .skill-set-80 a {
        font-size: 16px;
        padding-left: 20px;
        padding-right: 20px;
    }
    #floatingNav {
        padding-top: 8px;
        padding-bottom: 8px;
        padding-left: 10px;
        padding-right: 10px;
        margin-bottom: 20px;
    }
    #floatingNav a {
        font-size: 13px;
        padding-top: 10px;
        padding-bottom: 10px;
        padding-left: 14.2px;
        padding-right: 14.2px;
    }
    #floatingNav i {
        font-size: 16px;
    }
    #toggleSkillsBtn {
        width: 36px;
        height: 36px;
    }
    #toggleSkillsBtn i {
        font-size: 16px;
    }
    #skills {
        margin-bottom: 85px;
    }
    #modalProjectLink {
        font-size: 18px;
        padding-top: 9px;
        padding-bottom: 9px;
        padding-left: 17px;
        padding-right: 17px;
    }
}

/* LARGE SCREEN STYLES */
@media (min-width: 1700px) {
    #about .image-container {
        width: 680px;
        height: 440px;
    }
    #about p {
        font-size: 18px;
    }
    #about {
        padding-top: 70px;
        padding-left: 40px;
        padding-right: 40px;
        margin-bottom: 60px;
    }
    #about .about-ttd {
        width: 180px;
        height: 80px;
    }
    #about .about-description {
        padding-left: 60px;
        padding-right: 3px;
    }
    #about h2 {
        font-size: 33px;
        padding-bottom: 20px;
    }
    #projects {
        padding-top: 30px;
        padding-left: 40px;
        padding-right: 40px;
    }
    #projects h2 {
        font-size: 33px;
        padding-bottom: 5px
    }
    #projects .project-80 img {
        height: 250px;
    }
    #projects .project-80 h3 {
        font-size: 22px;
    }
    #projects p {
        font-size: 15.5px;
        line-height: 1.5;
        padding-top: 4px;
    }
    #projects .project-80 span {
        font-size: 13px;
        padding: 5px 14px 5px 14px;
    }
    #projects .project-div-80 {
        padding: 20px;
    }
    #hero {
        padding-top: 70px;
    }
    #hero img {
        width: 65px;
        height: 65px;
    }
    #hero h1 {
        font-size: 40px;
    }
    #hero .social-80 {
        font-size: 27px;
        padding-top: 5px;
        padding-bottom: 10px;
    }
    #hero .nav-80{
        font-size: 18px;
        padding-top: 11px;
        padding-bottom: 11px;
        padding-left: 18px;
        padding-right: 18px;
    }
    #hero .nav-80 i{
        font-size: 16px;
    }
    .github-button {
        font-size: 17px;
        padding-top: 5px;
    }
    .github-button i {
        font-size: 22px;
    }
    .github-button a {
        padding-top: 14px;
        padding-bottom: 14px;
        padding-left: 27px;
        padding-right: 27px;
    }
    #awards {
        padding-top: 70px;
        padding-left: 40px;
        padding-right: 40px;
        padding-bottom: 100px;
    }
    #awards h2 {
        font-size: 33px;
    }
    #awards h3 {
        font-size: 22px;
        padding-bottom: 3px;
    }
    #awards p {
        font-size: 16px;
        padding-bottom: 1px;
    }
    #awards .awards-desc-80 {
        font-size: 18px;
        padding-top: 4px;
    }
    #awards span{
        font-size: 14px;
        padding-top: 4px;
        padding-bottom: 4px;
        padding-left: 10px;
        padding-right: 10px;
    }
    .timeline-item::after {
        width: 18px;
        height: 18px;
    }
    html.dark .timeline-item::after {
        border: 4px solid transparent;
    }
    #skills {
        padding-left: 40px;
        padding-right: 40px;
        padding-bottom: 80px;
        padding-top: 10px;
    }
    #skills h2 {
        font-size: 33px;
        padding-bottom: 5px
    }
    #skills h3 {
        font-size: 19px;
        padding-bottom: 3px;
    }
    #skills span {
        font-size: 13px;
        padding-bottom: 4px;
        padding-left: 10px;
        padding-right: 10px;
    }
    #skills p {
        font-size: 16px;
        padding-top: 5px;
    }
    #skills .cert-80 {
        margin-right: 5px;
    }
    #skills .skill-80 {
        font-size: 27px;
        padding-top: 10px;
    }
    #skills .skill-set-80 span {
        font-size: 16px;
        padding-top: 9px;
        padding-bottom: 11px;
        padding-left: 18px;
        padding-right: 18px;
        margin-bottom: 2px;
    }
    #skills .skill-set-80 a {
        font-size: 16px;
        padding-left: 20px;
        padding-right: 20px;
    }
    #floatingNav {
        padding-top: 8px;
        padding-bottom: 8px;
        padding-left: 10px;
        padding-right: 10px;
        margin-bottom: 20px;
    }
    #floatingNav a {
        font-size: 13px;
        padding-top: 10px;
        padding-bottom: 10px;
        padding-left: 14.2px;
        padding-right: 14.2px;
    }
    #floatingNav i {
        font-size: 16px;
    }
    #toggleSkillsBtn {
        width: 36px;
        height: 36px;
    }
    #toggleSkillsBtn i {
        font-size: 16px;
    }
    #skills {
        margin-bottom: 85px;
    }
    #modalProjectLink {
        font-size: 18px;
        padding-top: 9px;
        padding-bottom: 9px;
        padding-left: 17px;
        padding-right: 17px;
    }
}

/* EXTRA LARGE SCREEN STYLES (1920px and above) */
@media (min-width: 1920px) {
    body {
        font-size: 18px;
    }
    main {
        max-width: 1600px;
        margin: 0 auto;
    }
    #hero {
        padding-top: 0px;
        margin-top: 100px;
        padding-bottom: 0px;
        max-width: 1400px;
    }
    #hero img {
        width: 80px;
        height: 80px;
        margin-bottom: 40px;
    }
    #hero h1 {
        font-size: 50px;
        margin-bottom: 20px;
    }
    #hero .social-80 {
        font-size: 32px;
        margin: 0 5px;
    }
    #hero .nav-80 {
        font-size: 20px;
        padding: 14px 24px;
        margin: 0 5px;
    }
    #hero .nav-80 i {
        font-size: 18px;
        margin-right: 8px;
    }
    #about {
        padding-top: 100px;
        padding-left: 20px;
        padding-right: 20px;
        height: 100vh;
        margin-bottom: 0px;
        margin-top: 100px;
    }
    #about h2 {
        font-size: 42px;
        padding-bottom: 0px;
        margin-bottom: 20px;
    }
    #about .image-container {
        width: 800px;
        height: 520px;
        border-radius: 16px;
    }
    #about .image-container img {
        border-radius: 16px;
    }
    #about p {
        font-size: 19px;
        line-height: 1.7;
    }
    #about .about-description {
        padding-top: 0px;
        padding-left: 80px;
        padding-right: 0px;
    }
    .about-div { /* debug */
        background-color: none;
    }
    #about .about-ttd {
        width: 200px;
        height: 90px;
        margin-top: 0px;
    }
    #projects {
        margin-top: 0px;
        margin-bottom: 0px;
        height: 100vh;
        padding-top: 100px;
        padding-left: 20px;
        padding-right: 20px;
    }
    #projects h2 {
        font-size: 42px;
        margin-bottom: 20px;
        padding-bottom: 0px;
    }
    #projectsContainer {
        gap: 30px;
        margin-bottom: 40px;
    }
    #projects .project-80 {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    #projects .project-80:hover {
        transform: translateY(-8px) scale(1.02);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    }
    #projects .project-80 img {
        height: 270px;
    }
    #projects .project-80 h3 {
        font-size: 20px;
        margin-bottom: 5px;
    }
    #projects .project-div-80 {
        padding: 20px;
    }
    #projects p {
        font-size: 18px;
        line-height: 1.6;
        margin-bottom: 0px;
    }
    #projects .project-80 span {
        font-size: 14px;
        padding: 8px 16px;
        margin: 4px;
    }
    .github-button {
        margin-top: 30px;
    }
    .github-button a {
        font-size: 19px;
        padding: 18px 35px;
        border-radius: 50px;
    }
    .github-button i {
        font-size: 24px;
        margin-right: 12px;
    }
    #awards {        
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 100px;
        margin-top: 0px;
        margin-bottom: 0px;
        height: 100vh;
    }
    #awards h2 {
        font-size: 42px;
        margin-bottom: 30px;
        padding-bottom: 0px;
    }
    .timeline-item {
        margin-bottom: 50px;
        padding-left: 20px;
    }
    .timeline-item::after {
        width: 22px;
        height: 22px;
        top: 8px;
    }
    html.dark .timeline-item::after {
        border: 5px solid transparent;
    }
    #awards h3 {
        font-size: 26px;
        margin-bottom: 8px;
    }
    #awards p {
        font-size: 18px;
        margin-bottom: 5px;
    }
    #awards .awards-desc-80 {
        font-size: 21px;
        margin-top: 5px;
        line-height: 1.6;
    }
    #awards span {
        font-size: 18px;
        padding: 8px 14px 7px 14px;
        margin-left: 10px;
        margin-bottom: 6px;
    }
    #skills {
        padding-top: 100px;
        padding-left: 20px;
        padding-right: 20px;
        height: 100vh;
        margin-bottom: 0px;
    }
    #skills h2 {
        font-size: 42px;
        margin-bottom: 20px;
        padding-bottom: 0px;
    }
    #skills .cert-container {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 15px;
        margin-bottom: 50px;
        padding-right: 0px;
    }
    #skills .cert-80 {
        padding: 20px;
        border-radius: 12px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    #skills .cert-80:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    }
    #skills .cert-80 h3 {
        font-size: 20px;
        margin-bottom: 8px;
    }
    #skills .cert-80 span {
        font-size: 14px;
        padding: 6px 12px;
    }
    #skills .cert-80 p {
        font-size: 17px;
        margin-top: 10px;
    }
    #skills .skill-80 { /*Tech Skills */
        padding-top: 0px;
        font-size: 32px;
        margin-top: 0px;
        margin-bottom: 20px;
        padding-bottom: 0px;
    }
    #skills .skill-set-80 {
        gap: 15px;
    }
    #skills .skill-set-80 span {
        font-size: 18px;
        padding: 12px 24px;
        border-radius: 30px;
    }
    #toggleSkillsBtn {
        width: 42px;
        height: 42px;
        margin-left: 15px;
    }
    #toggleSkillsBtn i {
        font-size: 18px;
    }
    #floatingNav {
        padding: 12px 10px;
        margin-bottom: 25px;
    }
    #floatingNav a {
        font-size: 16px;
        padding: 12px 18px;
        margin: 0 5px;
        border-radius: 20px;
    }
    #floatingNav i {
        font-size: 18px;
        margin-right: 8px;
    }
    #projectModal .bg-white {
        max-width: 900px;
        padding: 40px;
        border-radius: 20px;
    }
    #modalProjectTitle {
        font-size: 28px;
        margin-bottom: 20px;
    }
    #modalProjectDescription {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 25px;
    }
    #modalProjectTags span {
        font-size: 14px;
        padding: 8px 16px;
        margin: 5px;
    }
    #modalProjectLink {
        font-size: 18px;
        padding: 12px 24px;
        border-radius: 25px;
    }
}

/* SMALL SCREEN STYLES */
@media (max-width: 767px) {
    #about .image-container {
        height: 250px;
        width: 100%;
    }
    #about {
        margin-bottom: 20px;
    }
    #about h2 {
        padding-bottom: 20px;
    }
    #profileName{
        font-size: 30px;
    }
    #about p {
        margin-left: -40px;
        margin-right: -40px;
    }
    #skills .cert-container {
        display: flex;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding-bottom: 10px;
        flex-wrap: nowrap;
    }
    #skills .cert-container::-webkit-scrollbar {
        display: none;
    }
    #skills .cert-container > div {
        flex: 0 0 100%;
        width: 100%;
        scroll-snap-align: center;
        box-sizing: border-box;
        padding: 16px;
    }
    #skills .cert-container > div:not(:last-child) {
        margin-right: 0px;
    }
    #skills .cert-container > div:hover {
        transform: none !important;
        box-shadow: none !important;
    }
    .cert-pagination-dots {
        display: flex;
        justify-content: center;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .cert-pagination-dot {
        height: 10px;
        width: 10px;
        background-color: #d1d5db;
        border-radius: 50%;
        margin: 0 5px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }
    html.dark .cert-pagination-dot {
        background-color: #4b5563;
    }
    .cert-pagination-dot.active {
        background-color: #9ca3af;
    }
    html.dark .cert-pagination-dot.active {
        background-color: #d1d5db;
    }
    .cert-pagination-dot.reveal-item {
        opacity: 0;
        transform: translateY(5px);
        transition: opacity 0.7s ease-out, transform 0.7s ease-out;
    }
    .cert-pagination-dot.reveal-item.opacity-100 {
        opacity: 1;
        transform: translateY(0);
    }
    #hero .nav-80 {
        font-size: 13px;
        padding-top: 6px;
        padding-bottom: 6px;
        padding-left: 16px;
        padding-right: 16px;
    }
    #hero .nav-80 i {
        font-size: 13px;
    }
    #modalProjectLink {
        padding-top: 11px;
        padding-bottom: 11px;
    }
}