* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
}

:root {
    --bg-dark: #0a0a0a;
    --bg-card: #1a1a1a;
    --bg-hover: #252525;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-gold: #f9a826;
    --border-color: #2a2a2a;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    display: flex;
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    background-color: var(--bg-card);
    border-right: 1px solid var(--border-color);
    padding: 40px 25px;
    overflow-y: auto;
    z-index: 100;
}

.profile-section {
    text-align: center;
    margin-bottom: 40px;
}

.profile-image {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 20px;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
}

.bulb-icon {
    position: absolute;
    top: 10px;
    left: 10px;
    color: var(--accent-gold);
    font-size: 24px;
    z-index: 2;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-name {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.profile-tagline {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 300;
}

.sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.sidebar-link:hover {
    color: var(--accent-gold);
}

.sidebar-link i {
    font-size: 20px;
    color: var(--accent-gold);
    width: 24px;
    text-align: center;
}

.sidebar-link > div {
    display: flex;
    flex-direction: column;
}

.link-label {
    font-size: 10px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.link-value {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 400;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 180px;
}

/* Main Content */
.main-content {
    margin-left: 280px;
    flex: 1;
    padding: 0;
    min-height: 100vh;
    max-width: calc(100vw - 280px);
    overflow-x: hidden;
}

/* Navigation */
.nav-bar {
    position: sticky;
    top: 0;
    background-color: var(--bg-dark);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 60px;
    display: flex;
    gap: 40px;
    z-index: 50;
    backdrop-filter: blur(10px);
    background-color: rgba(10, 10, 10, 0.95);
    max-width: 100%;
    overflow-x: auto;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link.active {
    color: var(--accent-gold);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--accent-gold);
}

/* Section Styles */
.section {
    padding: 60px;
    display: none;
    max-width: 100%;
    overflow-x: hidden;
}

.section.active-section {
    display: block;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 48px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-gold);
}

.subsection-title {
    font-size: 28px;
    font-weight: 600;
    margin: 50px 0 30px;
}

/* About Section */
.about-content {
    margin-top: 40px;
    max-width: 100%;
}

.about-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Interests Grid */
.interests-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
    max-width: 100%;
}

.interest-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    display: flex;
    gap: 20px;
    transition: all 0.3s ease;
}

.interest-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-2px);
}

.interest-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(249, 168, 38, 0.1);
    border: 1px solid var(--accent-gold);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.interest-icon i {
    color: var(--accent-gold);
    font-size: 24px;
}

.interest-content {
    flex: 1;
}

.interest-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.interest-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Recommendations */
.recommendations-wrapper {
    max-width: 100%;
    overflow: hidden;
}

.recommendations-carousel {
    overflow: hidden;
    margin-bottom: 30px;
}

.recommendations-track {
    display: flex;
    gap: 24px;
    transition: transform 0.3s ease;
    max-width: 100%;
}

.recommendation-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    min-width: calc(33.33% - 16px);
    max-width: 320px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.recommendation-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 168, 38, 0.15);
}

.recommender-avatar {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    background: var(--bg-hover);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recommendation-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.recommender-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.recommendation-text {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Progress Indicator */
.recommendations-progress {
    display: flex;
    gap: 0;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
    padding: 20px 0;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.progress-track {
    width: 100%;
    height: 6px;
    background: rgba(249, 168, 38, 0.15);
    border-radius: 3px;
    position: relative;
    cursor: grab;
    overflow: visible;
    transition: background 0.3s ease;
}

.progress-track:active {
    cursor: grabbing;
}

.progress-track:hover {
    background: rgba(249, 168, 38, 0.25);
}

.progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--accent-gold);
    border-radius: 3px;
    transition: none;
    box-shadow: 0 0 10px rgba(249, 168, 38, 0.5);
    cursor: grab;
    min-width: 20px;
}

.progress-bar:active {
    cursor: grabbing;
    box-shadow: 0 0 15px rgba(249, 168, 38, 0.7);
}

.progress-bar::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: var(--accent-gold);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(249, 168, 38, 0.6);
    cursor: grab;
    transition: transform 0.2s ease;
}

.progress-bar:hover::after {
    transform: translateY(-50%) scale(1.2);
}

.progress-bar:active::after {
    cursor: grabbing;
    transform: translateY(-50%) scale(1.1);
}

/* Recommendation Modal */
.recommendation-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    overflow-y: auto;
    padding: 40px 20px;
    animation: fadeIn 0.3s ease;
}

.recommendation-modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.modal-content {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    max-width: 600px;
    width: 100%;
    position: relative;
    animation: slideUp 0.3s ease;
    pointer-events: auto;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 24px;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background: var(--bg-hover);
    color: var(--accent-gold);
}

.modal-body {
    padding: 50px 40px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: auto;
}

.modal-avatar-container {
    position: relative;
    margin-bottom: 30px;
}

.quote-icon {
    position: absolute;
    top: -10px;
    left: -10px;
    background: var(--accent-gold);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 14px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(249, 168, 38, 0.3);
}

.modal-avatar {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    overflow: hidden;
    border: 3px solid var(--border-color);
    background: var(--bg-hover);
}

.modal-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-text-content {
    text-align: center;
    width: 100%;
    pointer-events: auto;
}

.modal-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 20px 0;
}

.modal-full-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0 0 24px 0;
    text-align: left;
}

.modal-profile-link {
    display: inline-block;
    color: var(--accent-gold);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    padding: 10px 24px;
    border: 1px solid var(--accent-gold);
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    z-index: 10001;
    pointer-events: auto;
    background: transparent;
    font-family: inherit;
}

.modal-profile-link:hover {
    background: var(--accent-gold);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 168, 38, 0.3);
}

.modal-profile-link:active {
    transform: translateY(0);
}

/* Experiences Grid */
.experiences-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
    max-width: 100%;
    align-items: center;
}

.experience-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.experience-logo:hover {
    transform: translateY(-8px);
}

.experience-logo img {
    width: 200px;
    height: 120px;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: brightness(1);
}

.experience-logo:hover img {
    filter: brightness(1.1) drop-shadow(0 8px 20px rgba(249, 168, 38, 0.3));
}

/* Scrollbar Styles */
.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: var(--bg-card);
}

.sidebar::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

/* Resume Section Styles */
.resume-section {
    margin-bottom: 56px;
}

.resume-heading {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.resume-heading i {
    color: var(--accent-gold);
    font-size: 28px;
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding-left: 40px;
    max-width: 100%;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -36px;
    top: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent-gold);
    border: 3px solid var(--bg-dark);
    z-index: 1;
}

.timeline-content {
    padding-left: 8px;
}

.company-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.position-date {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.position-gold {
    color: var(--accent-gold);
    font-weight: 500;
}

.date-gold {
    color: var(--accent-gold);
}

.degree {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.experience-bullets {
    list-style: none;
    padding-left: 0;
    margin-top: 12px;
}

.experience-bullets li {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.experience-bullets li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: bold;
    font-size: 18px;
}

/* Skills Section */
.skills-container {
    max-width: 800px;
}

.skill-item {
    margin-bottom: 28px;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.skill-name {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
}

.skill-percentage {
    font-size: 14px;
    color: var(--accent-gold);
    font-weight: 600;
}

.skill-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-card);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--accent-gold);
    border-radius: 4px;
    transition: width 1s ease-out;
}

.other-skills {
    margin-top: 40px;
}

.other-skills-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-tag {
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    border-color: var(--accent-gold);
    background: var(--bg-hover);
}

/* Coursework Section */
.coursework-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 800px;
}

.coursework-list li {
    color: var(--text-secondary);
    font-size: 15px;
    padding-left: 24px;
    position: relative;
}

.coursework-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: bold;
    font-size: 20px;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 40px;
    max-width: 100%;
}

.project-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.project-image-container {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: var(--bg-hover);
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-card:hover .project-image,
.project-card:hover .project-video {
    transform: scale(1.05);
}

/* Project overlay styles - not currently used */
/*
.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-view-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
    font-size: 24px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.project-view-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(249, 168, 38, 0.5);
}
*/

.project-info {
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.project-text {
    flex: 1;
}

.project-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.project-category {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 400;
}

.project-repo-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.project-repo-btn:hover {
    background: var(--accent-gold);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 168, 38, 0.3);
}

.project-repo-btn i {
    font-size: 16px;
}

/* View More Projects Button */
.view-more-projects {
    display: flex;
    justify-content: center;
    margin-top: 48px;
    padding-bottom: 24px;
}

.view-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: transparent;
    color: var(--accent-gold);
    border: 2px solid var(--accent-gold);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.view-more-btn:hover {
    background: var(--accent-gold);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(249, 168, 38, 0.4);
}

.view-more-btn i {
    font-size: 18px;
}

/* Work/Certifications Section */
.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 40px;
    max-width: 100%;
}

.work-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.work-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-gold);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.work-logo-container {
    width: 100%;
    height: 280px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.work-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.work-info {
    padding: 24px;
    text-align: center;
}

.work-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.work-duration {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 400;
}

/* Clickable certificate cards */
.work-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.work-card.clickable {
    cursor: pointer;
    position: relative;
}

.work-card.clickable::after {
    content: '🔍 Click to view';
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--accent-gold);
    color: #000;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.work-card.clickable:hover::after {
    opacity: 1;
}

.work-card.clickable:hover {
    transform: translateY(-8px);
    border-color: var(--accent-gold);
    box-shadow: 0 12px 30px rgba(249, 168, 38, 0.3);
}

/* Certificate preview styles */
.certificate-preview {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.certificate-icon {
    font-size: 80px;
    color: var(--accent-gold);
    filter: drop-shadow(0 4px 8px rgba(249, 168, 38, 0.3));
}

.certificate-label {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cert-image {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* Extra Section */
.section-subtitle {
    font-size: 20px;
    color: var(--text-primary);
    margin-top: -20px;
    margin-bottom: 40px;
}

.extra-subsection {
    margin-bottom: 64px;
}

.extra-heading {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.extra-heading i {
    color: var(--accent-gold);
    font-size: 28px;
}

/* Position of Responsibility */
.por-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 40px;
}

.por-bullet {
    position: absolute;
    left: 0;
    top: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent-gold);
}

.por-content {
    padding-left: 8px;
}

.por-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.por-role {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.por-list {
    list-style: none;
    padding-left: 0;
    margin-top: 12px;
}

.por-list li {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.por-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: bold;
    font-size: 18px;
}

/* Extra Photo */
.extra-photo {
    margin-bottom: 64px;
}

.extra-main-photo {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 12px;
}

/* Hackathon Grid */
.hackathon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 100%;
}

.hackathon-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.hackathon-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-gold);
}

.hackathon-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.hackathon-title {
    padding: 16px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    text-align: center;
}

/* Hobbies Grid */
.hobbies-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 100%;
}

.hobby-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.hobby-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-gold);
}

.hobby-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.hobby-title {
    padding: 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    text-align: center;
}

/* Contact Section */
.contact-buttons {
    display: flex;
    gap: 24px;
    margin-bottom: 64px;
    flex-wrap: wrap;
    max-width: 100%;
}

.contact-btn {
    padding: 16px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.contact-btn:hover {
    background: var(--bg-hover);
    border-color: var(--accent-gold);
    transform: translateY(-4px);
}

.contact-btn i {
    color: var(--accent-gold);
    font-size: 20px;
}

.also-view-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 32px;
}

.also-view-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 100%;
}

.preview-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.preview-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-gold);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.preview-image-container {
    width: 100%;
    height: 350px;
    overflow: hidden;
    background: var(--bg-hover);
}

.preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.preview-card:hover .preview-image {
    transform: scale(1.05);
}

.preview-caption {
    padding: 20px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .interests-grid {
        grid-template-columns: 1fr;
    }

    .recommendations-track {
        gap: 16px;
    }

    .recommendation-card {
        min-width: calc(50% - 8px);
        max-width: calc(50% - 8px);
    }
    
    .experiences-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hobbies-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .work-grid {
        grid-template-columns: 1fr;
    }
    
    .hackathon-grid {
        grid-template-columns: 1fr;
    }
    
    .hobbies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .also-view-grid {
        grid-template-columns: 1fr;
    }

    /* Recommendation cards for medium screens */
    .recommendation-card {
        min-width: calc(50% - 12px);
        max-width: calc(50% - 12px);
    }
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
        max-width: 100vw;
    }
    
    .nav-bar {
        padding: 20px 30px;
        gap: 20px;
        flex-wrap: wrap;
    }
    
    .section {
        padding: 40px 30px;
    }
    
    .experiences-grid {
        grid-template-columns: 1fr;
    }
    
    .coursework-list {
        grid-template-columns: 1fr;
    }
    
    .timeline {
        padding-left: 30px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-image-container {
        height: 250px;
    }
    
    .work-grid {
        grid-template-columns: 1fr;
    }
    
    .work-logo-container {
        height: 220px;
        padding: 30px;
    }
    
    .hackathon-grid {
        grid-template-columns: 1fr;
    }
    
    .hobbies-grid {
        grid-template-columns: 1fr;
    }
    
    .hackathon-image {
        height: 220px;
    }
    
    .hobby-image {
        height: 200px;
    }
    
    .also-view-grid {
        grid-template-columns: 1fr;
    }
    
    .preview-image-container {
        height: 280px;
    }

    /* Recommendation cards responsive */
    .recommendation-card {
        min-width: 100%;
        max-width: 100%;
    }

    /* Modal responsive */
    .recommendation-modal {
        padding: 20px 10px;
    }

    .modal-content {
        max-width: 95%;
        border-radius: 20px;
    }

    .modal-body {
        padding: 40px 24px 32px;
    }

    .modal-avatar {
        width: 100px;
        height: 100px;
        border-radius: 20px;
    }

    .quote-icon {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .modal-name {
        font-size: 20px;
        margin: 0 0 16px 0;
    }

    .modal-full-text {
        font-size: 14px;
        line-height: 1.7;
        margin: 0 0 20px 0;
    }

    .modal-profile-link {
        font-size: 14px;
        padding: 8px 20px;
    }

    .modal-close {
        top: 16px;
        right: 16px;
        font-size: 20px;
        width: 32px;
        height: 32px;
    }
}
