/* ============================================
   FONT
   ============================================ */
@font-face {
    font-family: 'Share Tech';
    font-style: normal;
    font-weight: 400;
    src: url("7cHtv4Uyi5K0OeZ7bohU8H0JmA.woff2") format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                   U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
                   U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 12px;
}

body {
    font-family: 'Times New Roman', Times, serif;
    line-height: 1.6;
    background-color: #0c0c0c;
    color: #c5c5c5;
    min-height: 100vh;
    font-size: 12px;
}

p {
    margin: 0;
    padding: 0;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes pulse {
    0%   { opacity: 1; }
    50%  { opacity: 0.7; }
    100% { opacity: 1; }
}

@keyframes cursor {
    0%   { opacity: 0; }
    40%  { opacity: 0; }
    50%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { opacity: 0; }
}

.cursor::after {
    content: "_";
    opacity: 0;
    animation: cursor 1s infinite;
}

.sign::before {
    content: "";
}

/* ============================================
   LOADING SCREEN
   ============================================ */
.loading-screen {
    padding: 25px 35px;
}

#loadingH1 {
    font-family: 'Times New Roman', Times, serif;
    font-size: 18px;
    font-weight: 900;
    color: #00ebd4;
    animation: pulse 0.9s infinite;
    margin-bottom: 10px;
}

#loadingH1 i {
    margin-right: 10px;
}

#identity-results {
    font-family: 'Times New Roman', Times, serif;
    font-size: 16px;
    font-weight: 900;
    color: #00ebd4;
    animation: pulse 0.9s infinite;
}

#loadingMessage2 {
    display: none;
    font-family: 'Times New Roman', Times, serif;
    font-size: 16px;
    font-weight: 900;
    color: #00ebd4;
    animation: pulse 0.9s infinite;
    margin-top: 10px;
}

i {
    font-size: 14px;
    color: #00ebd4;
}

/* ============================================
   RESUME CONTAINER
   ============================================ */
.resume-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    min-height: 100vh;
    box-shadow: 0 0 80px rgba(0, 0, 0, 0.5);
}

/* ============================================
   SIDEBAR
   ============================================ */
.sidebar {
    width: 320px;
    min-width: 320px;
    background: #0f1923;
    padding: 45px 30px;
    border-right: 2px solid #00ebd4;
    display: flex;
    flex-direction: column;
}

/* PHOTO - Square image showing full face */
.sidebar-photo {
    margin-bottom: 25px;
    text-align: center;
}

.sidebar-photo img {
    width: 220px;
    height: auto;
    max-height: none;
    border-radius: 6px;
    border: 2px solid #1a3a45;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4);
    animation: pulse 3s infinite;
    transition: border-color 0.4s ease;
    display: block;
    margin: 0 auto;
}

.sidebar-photo img:hover {
    border-color: #00ebd4;
}

/* NAME */
.sidebar-name {
    text-align: left;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #1a2e3a;
}

.sidebar-name h1 {
    font-family: 'Times New Roman', Times, serif;
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 5px;
    line-height: 1.2;
    margin: 0;
    animation: none;
}

.sidebar-title-text {
    font-size: 13px;
    color: #00ebd4;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-top: 8px;
}

/* SIDEBAR BLOCKS */
.sidebar-block {
    margin-bottom: 28px;
    padding-bottom: 22px;
    border-bottom: 1px solid #1a2e3a;
}

.sidebar-block:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-heading {
    font-size: 15px;
    font-weight: 700;
    color: #00ebd4;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 14px;
    position: relative;
    padding-left: 0;
}

.sidebar-heading::after {
    content: "";
    display: block;
    width: 30px;
    height: 2px;
    background: #00ebd4;
    margin-top: 6px;
}

.sidebar-text {
    color: #8e9fad;
    font-size: 12px;
    line-height: 1.75;
}

/* CONTACT ITEMS */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 7px 0;
}

.contact-item i {
    font-size: 12px;
    color: #00ebd4;
    width: 16px;
    text-align: center;
    margin-top: 4px;
    flex-shrink: 0;
}

.contact-item p {
    color: #8e9fad;
    font-size: 12px;
    word-break: break-word;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.main-content {
    flex: 1;
    background: #111b22;
    padding: 45px 40px;
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */
.content-section {
    margin-bottom: 35px;
    padding-bottom: 30px;
    border-bottom: 1px solid #1a2e3a;
}

.content-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.section-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #00ebd4;
    display: inline-block;
    padding-right: 10px;
}

.section-icon {
    font-size: 16px;
    color: #00ebd4;
    margin-right: 10px;
}

/* ============================================
   ENTRY BLOCKS (Education / Work)
   ============================================ */
.entry-block {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px dashed #152530;
}

.entry-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Left column - Company & Date */
.entry-left {
    width: 200px;
    min-width: 200px;
    flex-shrink: 0;
}

.entry-company {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #00ebd4;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.entry-period {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: #4caf50;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border: 1px solid rgba(76, 175, 80, 0.25);
    background: rgba(76, 175, 80, 0.06);
}

.period-alt {
    color: #ef5350;
    border-color: rgba(239, 83, 80, 0.25);
    background: rgba(239, 83, 80, 0.06);
}

.period-active {
    color: #4caf50;
    border-color: rgba(76, 175, 80, 0.25);
    background: rgba(76, 175, 80, 0.06);
}

.period-past {
    color: #F42C04;
    border-color: rgba(244, 44, 4, 0.25);
    background: rgba(244, 44, 4, 0.06);
}

/* Right column - Details */
.entry-right {
    flex: 1;
}

.entry-role {
    font-size: 14px;
    font-weight: 600;
    color: #d0d8de;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.entry-category {
    font-size: 13px;
    font-weight: 700;
    color: #00ebd4;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 16px 0 8px;
    padding: 5px 0;
    border-left: 3px solid #00ebd4;
    padding-left: 10px;
}

.entry-right p {
    color: #8e9fad;
    font-size: 12px;
    line-height: 1.7;
    padding: 2px 0;
}

/* ============================================
   SKILLS
   ============================================ */
.skills-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.skill-row {
    font-size: 12px;
    color: #00ebd4;
    padding: 10px 16px;
    background: rgba(0, 235, 212, 0.03);
    border-left: 3px solid #00ebd4;
    transition: all 0.3s ease;
    line-height: 1.6;
}

.skill-row:hover {
    background: rgba(0, 235, 212, 0.07);
    padding-left: 22px;
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: #0c0c0c;
}

::-webkit-scrollbar-thumb {
    background: #1a3a45;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00ebd4;
}

/* ============================================
   TEXT SELECTION
   ============================================ */
::selection {
    background: #00ebd4;
    color: #0c0c0c;
}

::-moz-selection {
    background: #00ebd4;
    color: #0c0c0c;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 960px) {
    .resume-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        min-width: 100%;
        border-right: none;
        border-bottom: 2px solid #00ebd4;
        padding: 30px 25px;
    }

    .sidebar-photo {
        text-align: center;
    }

    .sidebar-photo img {
        width: 180px;
    }

    .sidebar-name {
        text-align: center;
    }

    .sidebar-name h1 {
        text-align: center;
    }

    .sidebar-title-text {
        text-align: center;
    }

    .main-content {
        padding: 30px 25px;
    }

    .entry-block {
        flex-direction: column;
        gap: 10px;
    }

    .entry-left {
        width: 100%;
        min-width: 100%;
        display: flex;
        align-items: center;
        gap: 15px;
        flex-wrap: wrap;
    }
}

@media (max-width: 500px) {
    html {
        font-size: 11px;
    }

    .sidebar {
        padding: 20px 18px;
    }

    .main-content {
        padding: 20px 18px;
    }

    .sidebar-photo img {
        width: 150px;
    }

    .sidebar-name h1 {
        font-size: 22px;
        letter-spacing: 3px;
    }

    #loadingH1 {
        font-size: 14px;
    }

    #identity-results {
        font-size: 14px;
    }

    .section-title {
        font-size: 14px;
        letter-spacing: 3px;
    }
}