/* Fixed and styled header navigation */
body {
    padding-top: 90px; /* Prevent content from hiding under fixed header */
}
/*This will style the body */
body {
    font-family: Arial, sans-serif;
    margin: 20px;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#fcfff4+0,dfe5d7+40,b3bead+100;Wax+3D+%233 */
    background: linear-gradient(to bottom,  rgba(252,255,244,1) 0%,rgba(223,229,215,1) 40%,rgba(179,190,173,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    color: #333;
}

/* Header Styles */
#header {
    position: fixed;
    top: 0;
    left: 90%;
    transform: translateX(-50%);
    z-index: 200;
    width: 100%;
    min-width: 0;
    max-width: 100px;
    box-sizing: border-box;
    background: rgba(255,255,255,0.97);
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    border-radius: 18px;
    padding: 6px 12px;
    display: flex;
    justify-content: center;
    align-items: right;
}
#header nav div {
    display: flex;
    flex-direction: column-reverse;
    gap: 4px;
    flex-wrap: wrap;
    width: auto;
}
#header a {
    font-weight: bold;
    color: #4B0082;
    text-decoration: none;
    padding: 2px 2px;
    min-width: 60px;
    box-sizing: border-box;
    #header nav div {
        gap: 2px;
    }
    #header a {
        font-size: 0.95em;
        padding: 2px 1px;
    }
    font-size: 1em;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
    text-align: left;
}
#header a:hover {
    background: #2e0854;
    color: #fff;
}

/*This will style the section headings */

.resume-header>h1 {
    color: rgb(0, 0, 0);
    font-weight: bold;
    text-align: center;
    text-size-adjust: 300%;
    margin: 0 auto;
     z-index: 10;
}
section>h2 {
    color: rgb(0, 0, 0);
    text-align: center;
    text-size-adjust: 200%;
    text-decoration: wavy underline;
    margin: 0 5px 0 5px;
    z-index: 10;
}

/* Professional Experience Section */
#experience {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
     z-index: 10;
}

section.experience-section {
    border-style: inset;
    border-width: 3px;
    border-color: darkorchid;
    border-radius: 8px;
    background-color: #C5C5C5;
    margin: 20px 0;
    padding: 15px;
    -moz-box-shadow: -5px -5px #ffffff;
    -webkit-box-shadow: -5px -5px #bdbdbd;
    box-shadow: -5px -5px darkorchid;
}


/* Education Section */

#education {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
     z-index: 10;
}
section.education-section {
    border-style: inset;
    border-width: 3px;
    border-color: darkorchid;
    border-radius: 8px;
    background-color: #C5C5C5;
    margin: 20px 0;
    padding: 15px;
    -moz-box-shadow: -5px -5px #ffffff;
    -webkit-box-shadow: -5px -5px #bdbdbd;
    box-shadow: -5px -5px darkorchid;
}

/* Projects Links */

#projects {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
     z-index: 10;
}

section.projects-section {
    border-style: inset;
    border-width: 3px;
    border-color: darkorchid;
    border-radius: 8px;
    background-color: #C5C5C5;
    padding: 15px;
    -moz-box-shadow: -5px -5px #ffffff;
    -webkit-box-shadow: -5px -5px #bdbdbd;
    box-shadow: -5px -5px darkorchid;
}

ul li {
    text-align: left;
    font-size: 18px;
    margin: 10px 0;
    border: none;
    border-bottom: 1px solid #665544;
    padding: 5px 0;

}

a.projects-list:link {
    color: rgb(0, 0, 0);
    text-decoration: none;
}

a.projects-list:visited {
    color: rgb(0, 0, 0);
}

a.projects-list:hover {
    color: rgb(127, 61, 149);
    text-decoration: underline;
}

a.projects-read-about:link {
    float: inline-end;
    overflow: auto;
    color: rgb(4, 134, 215);
    text-decoration: none;
    font-size: 14px;
    margin: 0 auto;
}

/* Skills Section */

#skills {
    font-family: Georgia, Times, "Times New Roman", serif;
    font-size: 18px;
    margin-bottom: 10px;
    z-index: 10;
}


#skills p {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
}

section.skills-section {
    border-style: inset;
    border-width: 3px;
    border-color: darkorchid;
    border-radius: 8px;
    background-color: #C5C5C5;
    margin: 20px 0;
    padding: 15px;
    -moz-box-shadow: -5px -5px #ffffff;
    -webkit-box-shadow: -5px -5px #bdbdbd;
    box-shadow: -5px -5px darkorchid;  
}

#readMoreBtn {
    background-color: darkorchid;
    color: rgb(23, 23, 23);
    border: none;
    margin: 20px 0;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin-top: 10px;
    cursor: pointer;
    border-radius: 5px;
}

#readMoreBtn:hover {
    background-color: rgb(212, 212, 212);
}

#hiddenSkills {
    border: inset;
    border-width: 2px;
    padding: 10px;
    margin: 15px 0;
    box-shadow: #6CF2AE 1px 1px 10px 1px;
}

td {
    padding: 0.8em;
    border-bottom: 11px solid #ddd;
}

table.skills-table {
    width: 50%;
    border-collapse: collapse;
    border: center;
    margin: 20px auto;
}

table.skills-table th,
table.skills-table td {
    padding: 12px 15px;
    text-align: center;
}

table.skills-table th {
    background-color: #6CF2AE;
    color: white;
}
table.skills-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* Contact Section */
#contact h1{
    color: rgb(0, 0, 0);
    text-align: center;
    text-size-adjust: 200%;
    margin: 0 5px 0 5px;
}

/* Transparent abstract background for contact section */
.contact-info {
    position: relative;
    z-index: 1;
    padding: 30px 20px;
    border-radius: 18px;
    overflow: hidden;
}
.contact-info::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/abstract-background.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.35;
    z-index: 0;
}
.contact-info > * {
    position: relative;
    z-index: 1;
}


/* Awesome font(fa) */
    *.fa {
        border-radius: 100px;
        padding: 5px;
        background-color: #6CF2AE;
    }

    /* Profile and Background Images in Header */
.resume-header .profile-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.resume-header .background-img {
    width: 180px;
    height: 60px;
    object-fit: cover;
    border-radius: 12px;
    margin: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

.background-img-container {
    position: relative;
    display: inline-block;
}
.background-img-container .background-img {
    display: block;
    width: 100%;
    height: auto;
}
.background-img-container h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    color: #222;
    font-size: 80px;
    font-weight: bold;
    z-index: 2;
    text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Transparent abstract background for header/profile info */
.resume-header {
    position: relative;
    z-index: 1;
    padding: 30px 20px;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.resume-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/abstract-background.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.35;
    z-index: 0;
}
.resume-header > * {
    position: relative;
    z-index: 1;
}


/* Neat contact info styling */
.contact-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.contact-info li {
    display: flex;
    align-items: center;
    font-size: 1.08em;
    background: #f7f7fa;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(127,61,149,0.07);
}

.word-break {
    word-break: break-all;
}

.contact-info li a {
    color: #4B0082;
    text-decoration: none;
    margin-left: 5px;
}
.contact-info li a:hover {
    display: flex;
    align-items: center;
    color: #2e0854;
    text-decoration: underline;
}
.contact-info li address {
    font-style: normal;
    display: inline;
}