* {
    box-sizing: border-box;
}
body {
    background-color: #1F2933;
    color: #F9FAFB;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
body ul {
    margin-top: 0;
    line-height: 1.35;
}
body li {
    margin-bottom: 5px;
}
main {
    padding: 5 10px;
    flex: 1;
}
/* ===== Navbar ===== */
header {
    background-image: linear-gradient(to top, #202f3e, #27333eb1);
    padding-left: 2rem;
    padding-right: 2rem;
    box-shadow: 0 8px 10px -6px rgba(0, 0, 0, 0.525);
    margin-bottom: .5rem;
}
#navbar {
    display: flex;
    align-items: center;
    padding: 10px;
    font-weight: 500;
}
#navbar ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
#navbar #site-name {
    font-size: 2rem;
}
#navbar #site-name:hover {
    color: #60A5FA;
}
#ul-wrapper {
    margin-left: auto;
}
#navbar a {
    color: #60A5FA;
    position: relative;
    text-decoration: none;
    padding: 15px;
    font-size: 1.3rem;
}
#navbar a:hover {
    color: #93C5FD;
    transition: .3s ease;
}
#navbar a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #93C5FD;
    transition: width 0.3s ease;
}
#navbar a:hover::after {
    width: 100%;
}
#linkedInImg {
    width: 35px;
    border-radius: 5px;
}
/* ===== Home Page ===== */
#title {
    margin: 0;
    border-bottom: 1px solid transparent;
    border-image: linear-gradient(to right, rgba(223, 223, 223, 0.733), transparent);
    border-image-slice: 1;
}
#body-wrapper {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 2.5rem;
}
#text-wrapper {
    width: 50%;
    font-size: 1.25rem;
    line-height: 1.75;
    font-weight: 500;
    padding: 10px;
}
#techy-bg {
    width: 50%;
    max-width: 600px;
    opacity: 0.5;    
    margin: 0;      
}
/* ===== Footer ===== */
footer {
    display: flex;
    flex-direction: column;
    background-image: linear-gradient(to bottom, #202f3e, #27333eb1);
    box-shadow: 0 8px 10px 6px rgba(0, 0, 0, 0.681);
    color:#9CA3AF;  
    padding: 10px; 
    align-items: center; 
    margin-top: 3rem;
}
#footer-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    border-bottom: 1px solid transparent;
    border-image: linear-gradient(to right, transparent, rgba(213, 213, 213, 0.186), transparent) 1;
    border-image-slice: 1;
}
footer a {
    color: #9CA3AF;
    text-decoration: none;
    font-style: italic;
    transition: color 0.2s ease;
}
footer a:hover {
    color: #93C5FD;
}
#footer-links {
    display: flex;
    flex-direction: row;
    gap: 10px;
}
/* ===== Extra Large Screens (Desktop Monitors 1700px+) ===== */
@media (min-width: 1700px) {
    main {
        padding: 3rem 4rem;
    }
    /* Resume */
    #resume {
        max-width: 1000px;
        padding: 70px 120px;
    }
    #resume-title {
        font-size: 5rem;
    }
    /* Coursework */
    #coursework-title {
        font-size: 5rem;
    }
    #coursework-wrapper {
        max-width: 850px;
        font-size: 1.4rem;
    }
    .coursework-section,
    .secondary-coursework-section {
        max-width: 850px;
        padding: 25px 30px;
    }
    .coursework-title {
        font-size: 1.9rem;
    }
    .secondary-coursework-title {
        font-size: 1.5rem;
    }
    /* Home */
    #text-wrapper {
        font-size: 1.5rem;
        width: 40%;
    }
    #techy-bg {
        max-width: 850px;
    }
}
/* tablets and  laptops */
@media (max-width: 1024px) {
    #body-wrapper {
        gap: 30px;
    }
    #text-wrapper {
        width: 55%;
        font-size: 19px;
    }
    #techy-bg {
        width: 45%;
        max-width: 500px;
    }
    #navbar a {
        font-size: 18px;
        padding: 12px;
    }
    #coursework-title {
        font-size: 3.5rem;
    }
    #coursework-wrapper {
        max-width: 650px;
        font-size: 1.2rem;
    }
    .coursework-section,
    .secondary-coursework-section {
        max-width: 650px;
        padding: 18px;
        margin: 1rem auto;
    }
}
/* phones and small tablets */
@media (max-width: 768px) {
    header {
        padding-left: 20px;
        padding-right: 20px;
    }
    #navbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    #navbar a::after {
    display: none;
    }
    #ul-wrapper {
        margin-left: 0;
        width: 100%;
    }
    #ul-wrapper ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }
    #title {
        text-align: center;
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    #body-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }
    #text-wrapper {
        width: 100%;
        max-width: 650px;
        font-size: 18px;
        line-height: 1.7;
    }
    #techy-bg {
        width: 70%;
        max-width: 350px;
        opacity: 0.35;
    }
    #coursework-title {
        font-size: 3rem;
        line-height: 1.1;
    }
    #coursework-wrapper {
        max-width: 700px;
        font-size: 1.15rem;
        grid-template-columns: 1fr;
    }
    .coursework-section,
    .secondary-coursework-section {
        max-width: 700px;
        padding: 16px;
        margin: 1rem auto;
        box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
    }
  .coursework-title {
        font-size: 1.6rem;
    }
  .secondary-coursework-title {
        font-size: 1.3rem;
    }
}
/* small phones */
@media (max-width: 480px) {
    #navbar #site-name {
        font-size: 24px;
    }
    #navbar a {
        font-size: 16px;
        padding: 10px;
    }
    #navbar a::after {
        display: none;
    }
    #title {
        font-size: 1.9rem;
    }
    #text-wrapper {
        font-size: 16.5px;
        line-height: 1.65;
        padding: 5px;
    }
    #techy-bg {
        width: 85%;
        opacity: 0.25;
    }
    #resume {
        width: 100%;
    }
    footer {
        font-size: 14px;
    }
    #coursework-title {
        font-size: 2.25rem;     
        margin-bottom: 0.75rem;
        line-height: 1.1;
    }
    #coursework-wrapper {
        max-width: 100%;
        font-size: 1.05rem;
        line-height: 1.6;
        grid-template-columns: 1fr;
    }
  .coursework-section,
  .secondary-coursework-section {
        max-width: 100%;
        padding: 12px;
        margin: 0.75rem auto;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35); 
        grid-column: auto;
    }
  .coursework-title {
        font-size: 1.35rem;
        margin-bottom: 0.4rem;
    }
  .secondary-coursework-title {
        font-size: 1.15rem;
    }
  #coursework-wrapper li,
  .secondary-coursework-section li {
        margin-bottom: 0.35rem;
    }
}
/* ===== Resume ===== */
#resume {
    text-align: left;
    margin: auto;
    max-width: 60%;
    background-color: #F9FAFB;
    padding: 40px 80px;
    color: black;
    margin-bottom: 0;
    box-shadow: 6px 6px 10px 10px rgba(10, 10, 10, 0.464);  
}
#resume-title {
    font-size: 4em;
    text-align: center;
}
section {
    margin-bottom: 2rem;
}
.section-title {
    margin-bottom: 5px;
    font-size: 1.75em;
}
#college {
    line-height: 1.5;
    margin-bottom: 5px;
}
#coursework {
    line-height: 1.5;
}
.experience {
    margin-bottom: 30px;
}
.exp-heading {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 5px;
}
.exp-date {
    font-style: italic;
}
@media print {
    body {
        background: white;
    }
    header, footer, #resume-title {
        display: none;
    }
    #resume {
        max-width: 100%;
        margin: 0;
        box-shadow: none;
        padding: 0;
    }
    a {
        text-decoration: none;
        color: black;
    }
}
/* ===== Coursework ===== */
#coursework-title {
    font-size: 4em;
    text-align: center;
    margin-bottom: 2rem;
}
#coursework-wrapper {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    font-size: 1.25rem;
    line-height: 1.75;
    font-weight: 450;
    gap: 2rem;
    font-size: 1.2rem;
    line-height: 1.7;
}
#coursework-wrapper ul {
    list-style: none;
    padding: 20px 25px;

}
.coursework-title {
    margin: 0;
    padding: 18px 22px;
    background: linear-gradient(135deg, #334155, #1F2937);
    color: white;
    font-size: 1.55rem;
    font-weight: 625;
}
.coursework-section {
    background: #27333e;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}
.secondary-coursework-title {
    margin: 0;
    padding: 18px 22px;
    background: linear-gradient(135deg, #334155, #1F2937);
    color: #93C5FD;
    font-size: 1.55rem;
    font-weight: 625;
    font-style: italic;
}
.secondary-coursework-section {
    background: #27333e;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);

}