body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #111111;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}

.container {
    max-width: 680px;
    width: 100%;
    text-align: center;
}

header {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-pic {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    transition: background-color 0.2s ease-in-out;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.subtitle {
    font-size: 1.1rem;
    color: #555555;
    margin: 0 0 20px 0;
}

.social-links a {
    color: #111111;
    margin: 0 12px;
    font-size: 1.2rem;
    text-decoration: none;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #0077b5; /* LinkedIn blue for hover */
}

.about {
    margin-bottom: 40px;
    line-height: 1.6;
}

.about p {
    margin: 10px 0;
    text-align: left;
}

.about a {
    color: #111111;
    text-decoration: underline;
}

.content-section {
    margin-bottom: 40px;
}

.content-section h2 {
        font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: left;
    border-bottom: 1px solid #eeeeee;
    padding-bottom: 10px;
}

.entry {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
    text-align: left;
}

.entry-details h3 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    font-weight: 500;
}

.entry-details p {
    margin: 0;
    color: #555555;
    line-height: 1.5;
}

.entry-subtext {
    margin-bottom: 5px !important;
}

.entry-date-inline {
    font-size: 0.9rem;
    color: #555555;
    margin-bottom: 10px !important;
}

.entry-description {
    font-size: 0.95rem;
    margin-top: 5px !important;
}

.course-list {
    list-style-position: outside;
    padding-left: 20px;
    margin-top: 10px;
    color: #555555;
}

.course-list a {
    color: #555555;
}

.course-list li {
    margin-bottom: 5px;
}

.entry-left {
    display: flex;
    align-items: flex-start;
}

.project-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 4px;
    margin-right: 16px;
    border: 1px solid #eee;
    flex-shrink: 0;
}

.entry-details h3 a {
    color: inherit;
    text-decoration: none;
}

.entry-details h3 a:hover {
    text-decoration: underline;
}

.entry-date p {
    margin: 0;
    color: #555555;
    white-space: nowrap;
    padding-left: 20px;
}

.btn-project {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 16px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background-color 0.2s ease-in-out;
}

.btn-project:hover {
    background-color: #0056b3;
}

.header-btn {
    margin-top: 20px;
}

@media print {
    body {
        padding: 0;
        margin: 0;
    }
    .container {
        max-width: 100%;
        padding: 0;
        border: none;
        box-shadow: none;
    }
    .btn-project, .social-links, .header-btn, .print-hide, .entry-description {
        display: none !important;
    }
    .entry {
        page-break-inside: avoid;
    }
    a {
        text-decoration: none;
        color: inherit;
    }
}

/* PDF-specific styles for html2pdf */
.pdf-mode {
    font-size: 0.8rem !important;
    line-height: 1.3 !important;
}

.pdf-mode h1 {
    font-size: 1.8rem !important;
    margin-bottom: 8px !important;
}

.pdf-mode h2 {
    font-size: 1.2rem !important;
    margin-bottom: 15px !important;
}

.pdf-mode h3 {
    font-size: 0.95rem !important;
}

.pdf-mode .subtitle {
    font-size: 0.9rem !important;
    margin-bottom: 15px !important;
}

.pdf-mode .about {
    margin-bottom: 25px !important;
}

.pdf-mode .content-section {
    margin-bottom: 25px !important;
}

.pdf-mode .entry {
    margin-bottom: 15px !important;
}

.pdf-mode .entry-description {
    font-size: 0.8rem !important;
    margin-top: 3px !important;
}

.pdf-mode .entry-subtext {
    font-size: 0.8rem !important;
}

.pdf-mode .entry-date-inline {
    font-size: 0.75rem !important;
}

.pdf-mode .entry-date p {
    font-size: 0.75rem !important;
}

.pdf-mode .course-list {
    font-size: 0.75rem !important;
    margin-top: 5px !important;
}

.pdf-mode .course-list li {
    margin-bottom: 2px !important;
}

/* Hide images in PDF */
.pdf-mode .profile-pic,
.pdf-mode .project-logo {
    display: none !important;
}

/* Hide buttons in PDF */
.pdf-mode .btn-project,
.pdf-mode #download-pdf {
    display: none !important;
}

/* Hide social icons in PDF */
.pdf-mode .social-links {
    display: none !important;
}

/* Show phone number only in PDF */
.pdf-phone {
    display: none;
}

.pdf-mode .pdf-phone {
    display: block !important;
    font-size: 0.9rem !important;
    color: #555555 !important;
    margin-bottom: 15px !important;
}

/* Show email only in PDF */
.pdf-email {
    display: none;
}

.pdf-mode .pdf-email {
    display: block !important;
    font-size: 0.9rem !important;
    color: #555555 !important;
    margin-bottom: 15px !important;
}

/* Hide passion statement in PDF */
.pdf-mode .about p:first-child {
    display: none !important;
}

/* Move email to top in PDF */
.pdf-mode .about p:last-child {
    display: none !important;
}

/* Prevent entries from being split across pages */
.pdf-mode .entry {
    page-break-inside: avoid;
    break-inside: avoid;
}

/* Adjust spacing for entries without images */
.pdf-mode .entry-left {
    align-items: flex-start;
} 