body {
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(to bottom, 
        #0087bd 0%, 
        #5494ad 70%, 
        #819aa3 100%);
    background-attachment: fixed;
    color: #ffffff;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    box-sizing: border-box; 
}

/* Top Navigation */
.top-nav {
    background-color: #0a0024;
    padding: 10px 0;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000; 
    border-bottom: 1px solid #ffffff;
    height: 30px;  
}

.top-nav a {
    color: #ffffff;
    text-decoration: none;
    padding: 10px 15px;
    font-size: 18px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.top-nav a:hover {
    color: #4c93af;
}

.top-nav-container {
    width: 100%;
    background-color: #f8f8f8; 
}

.side-nav {
    display: none;
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background-color: #000000;
    padding: 10px;
    border-radius: 5px 0 0 5px;
    z-index: 999;
    transition: background-color 0.3s ease;
}

.side-nav:hover {
    background-color: #202020;
    animation: pulse 0.5s forwards;
}

.side-nav:not(:hover) {
    transform: pulse 0.5s backwards;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    padding: 200px 5px;
    font-size: 18px;
    transition: color 0.3s ease;
    display: block;
}

main {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between; 
    padding-top: 10px;  
    padding-bottom: 60px; 
    width: 90%; 
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;  
    box-sizing: border-box;
} 

.left-content {
    flex: 0 0 auto;
    text-align: center;
    margin-right: 30px;  
    padding-right: 50px;  
}

.right-content {
    flex: 0 0 55%;
    padding-right: 10px;  
    padding-top: 175px;
}

.name-title {
    font-size: 72px;
    font-weight: lighter; 
    text-align: center;  
}

.body-info {
    font-size: 28px;  
    font-weight: lighter;
    text-align: left;
    width: 100%;  
    margin-bottom: 0.5rem;
    word-wrap: break-word;  
    overflow-wrap: break-word;  
    padding-left: 20px; 
    white-space: pre-line;
}


.logo {
    max-width: 350px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    background-color: #333333;
    border: 5px solid #0a0024;
}

.vbutton {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0066cc; 
    color: white;
    text-decoration: none;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border: 2px solid rgb(255, 255, 255); 
    z-index: 1000; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.vbutton:hover {
    background-color: #004a99; 
    text-decoration: none;
}

.download-resume-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0c9200; 
    color: white;
    text-decoration: none;
    font-size: 16px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    border: 2px solid rgb(255, 255, 255);
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    margin-left: 20px;
}


.download-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0c9200; 
    color: white;
    text-decoration: none;
    font-size: 16px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    border: 2px solid rgb(255, 255, 255);
    position: fixed;
    bottom: 70px;  
    right: 50px;   
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.download-button:hover {
    background-color: #064200; 
}

.download-button i {
    margin-right: 5px;
}
 
.resume-header h1 {
    font-size: 52px;
    font-weight: normal; 
    height: 50px;
} 

.university {  
    margin-bottom: 20px;
    text-align: center;
    text-decoration: none;
    color: #fff; 
} 
.resume-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 15px; 
    margin-top: 0px;
    margin-bottom: 0px;
}

.resume-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;  
    margin: 0 0 10px 0;
}

.resume-grid section {    
    margin:0px;
    background-color: #f9f9f900; 
    padding: 10px;
    border-radius: 5px;
}

.ttu {
    max-width: 50px; 
}

.psa.presales {
    font-size: 24px;
    text-decoration: none;
    color: #fff;  
}

.psa:hover {
    font-size: 24px;
    text-decoration: none;
    color: #00028b;
    margin: 0;
}

.heading {
    text-align: center;
}

.middle {
    text-align: center;
}
.content-wrapper {
    margin-top: 20px;  
    text-align: center;
}
.dog {
    max-width: 350px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    background-color: #333333;
    border: 5px solid #0a0024;  
}
.image-container {
    display: flex;
    justify-content: center;
    width: 100%;
    padding-top: 20px;
}

.dog-pad {
    margin-top: 130px;
}
.experience {
    width:250px; 
}
.skills {
    width:250px;
}
.education {
    width:250px; 
}
 
.experience h2 { 
    font-size: 1.5em; 
    margin-bottom: 0px;
    text-align: right;
}

.skills h2 { 
    font-size: 1.5em; 
    margin-bottom: 0px;
    text-align: center;
    padding-left: 35px;
}

.education h2 { 
    font-size: 1.5em; 
    margin-bottom: 0px;
    text-align: left;
}

.experience-list li h3 { 
    font-size: 16px; 
    margin-bottom: 0px;
}

.experience-list li p {
    margin: 0; 
    font-size: 14px; 
}
.experience-list {
    text-align: right; 
    list-style-type: none;
}
.skills-list {
    text-align: center; 
    list-style-type: none;
}

.education-list { 
    text-align: left;
    list-style-type: none;
    padding-left: 0px;
} 

.resume-subtitle p {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.resume-subtitle p {
    flex-direction: column;
}
.resume-subtitle .graduation-date {
    margin-left: 10px;
}

.resume-subtitle .graduation-date {
    margin-left: 0;
    margin-top: 5px;
}

.microdemo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
}

.microdemo-video {
    max-width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.microdemo-link {
    text-decoration: none;
    background-color: #007bff; 
    font-weight: bold;
    padding: 10px 20px; 
    border-radius: 5px;
    color: white;
    transition: background-color 0.3s, color 0.3s;
}

.microdemo-link:hover {
    background-color: #000080;
    color: white;
}

.project-list {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}
.project-category {
    margin-bottom: 20px;
}
.project-category h2 {
    border-bottom: 2px solid #007bff;
    padding-bottom: 5px;
}
.project-category ul {
    list-style-type: none;
    padding-left: 20px;
}
.project-category li {
    margin-bottom: 10px;
}
.project-category li a {
    text-decoration: none;
    color: #fff;
    transition: color 0.3s;
}
.project-category li a:hover {
    color: #000;
}

.calendly-container {
    text-align: center;
}
.calendly-link {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    background-color: #007bff;
    color: white;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.calendly-link:hover {
    background-color: #0056b3;
}

.contact-button button {
    background-color: green;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-button button {
    background-color: darkgreen;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    text-align: center;
    padding: 5px;
    background-color: #819aa3;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px; 
    line-height: 30px; 
    border-top: 1px solid #fff;
    
}

footer a {
    color: #000000;
    font-size: 18px;
    text-decoration: none;
    color:white
}

.footer-nav:hover {
    color: navy;
}

footer a i {
    color: white; /* Explicitly set icon color to white */
}
footer a i:hover {
    color: navy; /* Explicitly set icon color to white */
}
.icon {
    background-color: transparent;
    /* box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3);
    border-radius: 5px; */
}

.icon-container {
    display: flex;
    justify-content: center;
}

.icon-link {
    color: #000000; 
    text-decoration: none; 
    transition: color 0.3s ease; 
}
  
.icon-link:hover {
    color: #4c93af; 
}

.icon-link2 {
    color: #000000;  
    text-decoration: none; 
    transition: color 0.3s ease;
    text-align: center;
    display: inline-block;

}
  
.icon-link2:hover {
    color: #ffffff; 
}
.icon-label {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Adjust values for desired effect */
}

.footer-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    text-decoration: none;
}

.footer-nav {
    margin: 0;
    padding-right: 2px;
    text-decoration: none;
}

.separator {
    margin: 0 10px;
    color: #000000; 
}

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

@keyframes pulse {
    0% {
        transform: translateY(-50%) scale(1);
    }
    100% {
        transform: translateY(-50%) scale(1.2);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-in forwards;
}

.headline {
    animation-delay: 0.25s;
}

.subtitle {
    animation-delay: 1s; 
    margin-bottom: 0.3rem;
    height: 20px;
}

.logo {
    animation-delay: 1.5s;
}

main.fade-in {
    animation-delay: .5s;
}

    
/* Responsive Design */
@media (max-width: 1024px) {
    main {
        flex-direction: column;
    }

    .left-content, .right-content {
        width: 100%;
        margin: 10px 0;
        padding: 0 15px;
        text-align: center;
    }

    .body-info {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
        padding-top: 10px;
        font-size: 18px;
    } 
    
}

@media (max-width: 768px) {
    body {
        font-size: 16px;
        background: linear-gradient(to bottom, 
        #0087bd 0%, 
        #819aa3 100%); 
        background-attachment: fixed;
    }

    main {
        flex-direction: column;
        padding-top: 10px;   
    }

    .top-nav {
        height: auto;
        padding: 5px 0;
    }
    
    .top-nav a {
        font-size: 14px;
        padding: 5px 10px;
        display: inline-block;
    }

    .left-content, .right-content {
        margin: 10px 0;
        width: 100%;
        padding: 0 15px;
        text-align: center;
    }

    .left-content {
        text-align: center;  
    }

    .right-content {
        text-align: center;   
    }

    .left-content, .right-content, .resume-content, .body-info {
        overflow-wrap: break-word;
        word-wrap: break-word;
        box-sizing: border-box; 
    }

    .skills {
        padding-left: 0;
        padding-right: 0;
    }

    .skills-list {
        padding-left: 0;
        list-style-type: none;
        text-align: center; 
    }

    .logo {
        max-width: 80%;  
        height: auto;
    }

    .body-info {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
        padding-top: 10px;
        font-size: 18px;  
        width: 100%;  
    }

    .dog-pad {
        margin-top: 50px; 
        padding-top: 50px;
    }
    .dog {
        width: 80%;  
    }
    .content-wrapper {
        margin-top: 10px;
    }
    .side-nav {
        display: none; 
    } 

    .resume-content {
        padding-top: 60px;
    }

    .resume-grid section {
        text-align: center;
    }

    .experience-list,  .education-list {
        padding-left: 0;
        list-style-type: none;
        text-align: center;
    }

    .resume-content {
        padding-top: 60px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .name-title {
        font-size: 36px;  
        font-size: 32px;  
        line-height: 1.2;  
        white-space: nowrap;  
        overflow: hidden;  
    } 

    .resume-grid {
        grid-template-columns: 1fr;
    }
    .resume-content {
        padding: 15px;
    }

    .download-button {
        bottom: 50px;  
        right: 10px;
        width: 20%;
        font-size: 14px;
    }  

    .education h2, .skills h2, .experience h2 {
        text-align: center;
    }

    .skills h2 {
        padding-left: 0;
        padding-right: 0;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        text-align: center;
    }
    .resume-header {
        margin-bottom: 20px; 
    } 

    .resume-header h1 {
        font-size: 42px;
        font-weight: normal; 
        height: 50px;
    } 

    .side-nav {
        display: none
    }
    
 
}
 

@media (max-width: 480px) {
    .top-nav a {
        font-size: 12px;
        padding: 3px 6px;
    }

    .name-title {
        font-size: 28px;
    }

    .body-info {
        font-size: 16px;
    }

    body {
        font-size: 16px;
        background: linear-gradient(to bottom, 
        #0087bd 0%, 
        #819aa3 100%); 
        background-attachment: fixed;
    }
    .image-container {
        padding-bottom: 30px;
    }
}