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

:root {
    --bg-primary: #111111;
    --bg-secondary: rgb(30, 30, 31);
    --bg-card: rgb(30, 30, 31);
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --accent-yellow: rgb(255, 219, 112);
    --accent-green: #4caf50;
    --border-color: rgb(56, 56, 56);
    --card-dark: rgb(20, 20, 20);
    --navbar-bg: rgb(17, 17, 17);
    --icon-wrapper-bg: transparent;
    --gradient-border-start: rgb(64, 64, 64);
    --gradient-border-end: rgba(64, 64, 64, 0);
}

[data-theme="light"] {
    --bg-primary: #f5f7fa;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --text-primary: #2d3748;
    --text-secondary: #718096;
    --accent-yellow: rgb(255, 193, 7);
    --accent-green: #48bb78;
    --border-color: #e2e8f0;
    --card-dark: #f8fafc;
    --navbar-bg: #ffffff;
    --icon-wrapper-bg: transparent;
    --gradient-border-start: rgb(220, 220, 220);
    --gradient-border-end: rgba(220, 220, 220, 0);
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color 0.5s ease, color 0.5s ease;
}

*,
*::before,
*::after {
    transition: background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease, fill 0.5s ease, stroke 0.5s ease;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
a,
li,
label,
input,
textarea,
button,
.profile-name,
.profile-title,
.contact-label,
.contact-value,
.timeline-content h4,
.timeline-company,
.timeline-degree,
.timeline-date,
.timeline-location,
.timeline-tasks li,
.app-title,
.app-description p,
.app-features li,
.section-title,
.subsection-title,
.about-text,
.service-card h3,
.service-card p,
.skill-card span,
.portfolio-intro p,
.contact-intro p,
.form-status,
.demo-placeholder p {
    transition: color 0.5s ease, background-color 0.5s ease, border-color 0.5s ease;
}

.container {
    display: flex;
    min-height: 100vh;
    max-width: 1400px;
    margin: 0 auto;
    gap: 30px;
    padding: 60px;
}

.sidebar {
    width: 280px;
    flex-shrink: 0;
}

.profile-card {
    background-color: var(--bg-secondary);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.profile-image {
    width: 140px;
    height: 140px;
    margin: 0 auto 20px;
    position: relative;
    cursor: pointer;
    transition: transform 0.5s ease;
    background-color: var(--border-color);
    border-radius: 20px;
}

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

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

.status-indicator {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 16px;
    height: 16px;
    background-color: var(--accent-green);
    border-radius: 50%;
    border: 3px solid var(--bg-secondary);
}

.status-indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-color: var(--accent-green);
    border-radius: 50%;
    animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(2.5);
    }
}

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

.profile-title {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 30px;
}

.contact-info {
    text-align: left;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item i {
    color: var(--accent-yellow);
    font-size: 18px;
    width: 20px;
    margin-top: 3px;
}

.contact-icon-wrapper {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 12px;
    position: relative;
    flex-shrink: 0;
}

.contact-icon-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    padding: 1px;
    background: linear-gradient(to right bottom, var(--gradient-border-start) 0%, var(--gradient-border-end) 50%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.contact-icon {
    width: 18px;
    height: 18px;
    color: var(--accent-yellow);
    filter: invert(85%) sepia(35%) saturate(500%) hue-rotate(340deg) brightness(105%) contrast(101%);
}

.contact-item div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.contact-label {
    font-size: 11px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.settings-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.language-switcher {
    display: flex;
    gap: 10px;
}

.lang-btn {
    padding: 8px 16px;
    background-color: transparent;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.5s ease;
}

.lang-btn:hover {
    color: var(--text-primary);
    border-color: var(--accent-yellow);
}

.lang-btn.active {
    background-color: var(--accent-yellow);
    border-color: var(--accent-yellow);
    color: #000;
}

.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background-color: transparent;
    color: var(--accent-yellow);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.5s ease;
}

.theme-toggle:hover {
    background-color: var(--accent-yellow);
    color: #000;
    transform: rotate(180deg);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 0;
}

.social-icon {
    color: var(--text-secondary);
    font-size: 18px;
    transition: color 0.5s ease;
}

.social-icon:hover {
    color: var(--accent-yellow);
}

.main-content {
    flex: 1;
    background-color: var(--bg-secondary);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    position: relative;
}

.navbar {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    gap: 5px;
    padding: 8px;
    background-color: var(--navbar-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-top: none;
    border-right: none;
    border-radius: 0 20px 0 20px;
    z-index: 100;
}

.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
}

.burger-line {
    width: 100%;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.burger-menu.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-links {
    display: flex;
    gap: 5px;
}

.nav-settings {
    display: none;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 50px;
    transition: all 0.5s ease;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

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

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

.content-wrapper {
    flex: 1;
    overflow-y: auto;
    padding: 40px;
}

.content-section {
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.content-section.active {
    opacity: 1;
    pointer-events: auto;
}

.content-section.fade-out {
    opacity: 0;
}

.section-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
    transition: color 0.5s ease, background-color 0.5s ease;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-yellow);
    border-radius: 2px;
}

.title-underline {
    width: 50px;
    height: 4px;
    background-color: var(--accent-yellow);
    margin-bottom: 30px;
}

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

.subsection-title {
    font-size: 24px;
    font-weight: 600;
    margin: 40px 0 25px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.service-card {
    background-color: var(--card-dark);
    border: 1px solid transparent;
    border-radius: 15px;
    padding: 25px;
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease, box-shadow 0.5s ease, color 0.5s ease, background-color 0.5s ease, border-color 0.5s ease;
    position: relative;
    background-clip: padding-box;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 15px;
    padding: 1px;
    background: linear-gradient(to right bottom, var(--gradient-border-start) 0%, var(--gradient-border-end) 50%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.service-icon {
    flex-shrink: 0;
}

.service-icon img {
    width: 48px;
    height: 48px;
}

.service-content h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.service-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.skill-link {
    text-decoration: none;
    display: block;
}

.skill-card {
    background-color: var(--card-dark);
    border: 1px solid transparent;
    border-radius: 15px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease, color 0.5s ease, background-color 0.5s ease;
    cursor: pointer;
    position: relative;
    background-clip: padding-box;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 15px;
    padding: 1px;
    background: linear-gradient(to right bottom, var(--gradient-border-start) 0%, var(--gradient-border-end) 50%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.skill-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.progress-bar {
    height: 4px;
    background: linear-gradient(90deg, var(--accent-yellow) 0%, var(--accent-yellow) 60%, transparent 60%);
    margin-top: 30px;
    border-radius: 2px;
}

.resume-section {
    margin-bottom: 50px;
}

.timeline-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
    position: relative;
}

.timeline-icon-wrapper {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    position: relative;
    flex-shrink: 0;
    padding: 12px;
}

.timeline-icon-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    padding: 1px;
    background: linear-gradient(to right bottom, var(--gradient-border-start) 0%, var(--gradient-border-end) 50%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.timeline-icon {
    width: 26px;
    height: 26px;
    position: relative;
    z-index: 1;
    filter: brightness(0) saturate(100%) invert(88%) sepia(48%) saturate(466%) hue-rotate(343deg) brightness(103%) contrast(101%);
}

[data-theme="light"] .timeline-icon {
    filter: brightness(0) saturate(100%) invert(79%) sepia(70%) saturate(1029%) hue-rotate(348deg) brightness(102%) contrast(101%);
}

.timeline-header h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 19px;
    top: -40px;
    bottom: 0;
    width: 1px;
    background-color: var(--border-color);
}

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

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

.timeline-dot {
    position: absolute;
    left: -26px;
    top: 5px;
    width: 12px;
    height: 12px;
    background-color: var(--accent-yellow);
    border-radius: 50%;
    border: 2px solid var(--bg-secondary);
    z-index: 1;
    box-shadow: 0 0 0 3px rgba(255, 219, 112, 0.2),
        0 0 10px rgba(255, 219, 112, 0.4),
        0 0 16px rgba(255, 219, 112, 0.2);
}

[data-theme="light"] .timeline-dot {
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.15),
        0 0 10px rgba(255, 193, 7, 0.3),
        0 0 16px rgba(255, 193, 7, 0.15);
}

.timeline-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 6px 0;
}

.timeline-company,
.timeline-degree {
    font-size: 14px;
    color: var(--text-primary);
    margin: 4px 0;
    font-weight: 500;
}

.timeline-date {
    font-size: 12px;
    color: var(--accent-yellow);
    margin: 4px 0;
}

.timeline-location {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 4px 0;
}

.timeline-tasks {
    margin: 15px 0 0 0;
    padding-left: 20px;
    list-style: none;
}

.timeline-tasks li {
    position: relative;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 6px;
    padding-left: 15px;
}

.timeline-tasks li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-yellow);
    font-weight: bold;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 30px;
}

.portfolio-app {
    background-color: var(--bg-card);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid var(--border-color);
    transition: transform 0.5s ease, box-shadow 0.5s ease, color 0.5s ease, background-color 0.5s ease, border-color 0.5s ease;
}

.portfolio-app:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.app-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.app-logo-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    background-color: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.app-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.app-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.app-description h4,
.app-features h4,
.app-demo h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent-yellow);
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.app-description p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

.app-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.app-features li {
    font-size: 13px;
    color: var(--text-secondary);
    padding-left: 20px;
    position: relative;
}

.app-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-yellow);
    font-weight: bold;
}

.demo-placeholder {
    background-color: var(--bg-secondary);
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.demo-placeholder i {
    font-size: 48px;
    color: var(--accent-yellow);
    opacity: 0.5;
}

.demo-placeholder p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.app-stores {
    margin-top: 25px;
}

.app-stores h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent-yellow);
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.store-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.store-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.5s ease;
}

.store-button:hover {
    background-color: var(--accent-yellow);
    border-color: var(--accent-yellow);
    color: #000;
    transform: translateY(-2px);
}

.store-button i {
    font-size: 20px;
}

.store-button span {
    white-space: nowrap;
}

.coming-soon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    text-align: center;
}

.coming-soon i {
    font-size: 80px;
    color: var(--accent-yellow);
    margin-bottom: 20px;
    opacity: 0.5;
}

.coming-soon h3 {
    font-size: 28px;
    margin-bottom: 10px;
}

.coming-soon p {
    color: var(--text-secondary);
    font-size: 16px;
}

.cv-download-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 40px;
}

.cv-download-button {
    margin-left: 0;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.portfolio-intro {
    text-align: center;
    margin-bottom: 40px;
}

.portfolio-intro p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.contact-intro {
    text-align: center;
    margin-bottom: 40px;
}

.contact-intro p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.contact-form {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 25px;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-row .form-group {
        margin-bottom: 25px;
    }
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    transition: all 0.5s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-yellow);
    box-shadow: 0 0 0 3px rgba(255, 219, 112, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background-color: var(--accent-yellow);
    border: none;
    border-radius: 8px;
    color: #000;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.5s ease;
    margin-top: 10px;
    margin-left: auto;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 219, 112, 0.3);
}

.submit-button:active {
    transform: translateY(0);
}

.submit-button i {
    font-size: 18px;
}

.form-status {
    margin-top: 20px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    display: none;
}

.form-status.success {
    display: block;
    background-color: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.form-status.error {
    display: block;
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

@media (max-width: 1024px) {
    .container {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }

    .sidebar {
        width: 100%;
        position: sticky;
        top: 0;
        z-index: 100;
        background-color: var(--bg-primary);
        padding-bottom: 10px;
    }

    .profile-card {
        padding: 15px 20px;
        display: flex;
        align-items: center;
        gap: 15px;
        text-align: left;
        position: relative;
    }

    .profile-image {
        width: 60px;
        height: 60px;
        margin: 0;
        flex-shrink: 0;
    }

    .profile-info {
        flex: 1;
        min-width: 0;
    }

    .profile-name {
        font-size: 18px;
        margin: 0;
    }

    .profile-title {
        font-size: 12px;
        margin: 0;
    }

    .contact-info {
        display: none;
    }

    .social-links {
        display: none;
    }

    .settings-bar {
        display: none;
    }

    .burger-menu {
        display: flex;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }

    .navbar {
        position: static;
        padding: 0;
        border: none;
        background: transparent;
        backdrop-filter: none;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--bg-secondary);
        flex-direction: column;
        padding: 80px 20px 20px;
        gap: 10px;
        border-left: 1px solid var(--border-color);
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 101;
    }

    .nav-settings {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-top: 30px;
        padding-top: 30px;
        border-top: 1px solid var(--border-color);
    }

    .nav-settings-group {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

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

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        width: 100%;
        text-align: center;
        padding: 15px 20px;
    }

    .main-content {
        margin-top: 0;
    }

    .content-wrapper {
        padding: 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .content-wrapper {
        padding: 20px;
        max-width: 100%;
        overflow-x: hidden;
    }

    .section-title {
        font-size: 24px;
    }

    .subsection-title {
        font-size: 20px;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-grid {
        gap: 30px;
    }

    .portfolio-app {
        padding: 20px;
        max-width: 100%;
        overflow-x: hidden;
    }

    .app-content {
        max-width: 100%;
        overflow-x: hidden;
    }

    .app-features ul {
        grid-template-columns: 1fr;
    }

    .app-logo-wrapper {
        width: 60px;
        height: 60px;
    }

    .app-title {
        font-size: 20px;
    }
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    position: relative;
    z-index: 10000;
    max-width: 90%;
    max-height: 90%;
    animation: zoomIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lightbox-image {
    width: 100%;
    height: 100%;
    max-width: 600px;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 40px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s ease, color 0.5s ease, background-color 0.5s ease;
    z-index: 10001;
}

.lightbox-close:hover {
    transform: rotate(90deg);
    color: var(--accent-yellow);
}

/* CV Preview Modal */
.cv-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.cv-modal.active {
    display: flex;
}

.cv-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.cv-modal-content {
    position: relative;
    z-index: 10000;
    width: 70%;
    max-width: 700px;
    height: 90vh;
    margin-top: 60px;
    margin-bottom: 30px;
    background-color: var(--bg-card);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    animation: zoomIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid var(--border-color);
}

.cv-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid var(--border-color);
}

.cv-modal-header h3 {
    font-size: 20px;
    color: var(--text-primary);
    margin: 0;
}

.cv-download-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: var(--accent-yellow);
    color: #000;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cv-download-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 219, 112, 0.3);
}

.cv-preview-iframe {
    flex: 1;
    width: 100%;
    border: none;
    border-radius: 0 0 20px 20px;
    background-color: #fff;
    overflow: auto;
}

/* Profile Modal Styles */
.profile-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.profile-modal.active {
    display: flex;
}

.profile-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: 9999;
}

.profile-modal-content {
    position: relative;
    z-index: 10000;
    width: 90%;
    max-width: 500px;
    max-height: 85vh;
    background-color: var(--bg-card);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    animation: zoomIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

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

.profile-modal-close:hover {
    background: var(--primary-color);
    color: white;
    transform: rotate(90deg);
}

.profile-modal-header {
    padding: 40px 30px 30px;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-card) 100%);
    border-bottom: 1px solid var(--border-color);
}

.profile-modal-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

.profile-modal-title {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.profile-modal-body {
    padding: 30px;
    overflow-y: auto;
}

.profile-modal-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.profile-modal-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.profile-modal-social .social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.cv-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 40px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s ease, color 0.5s ease;
    z-index: 10001;
}

.cv-modal-close:hover {
    transform: rotate(90deg);
    color: var(--accent-yellow);
}

@media (max-width: 768px) {
    .cv-modal-content {
        width: 95%;
        height: 85vh;
        margin-top: 70px;
        margin-bottom: 40px;
    }

    .profile-modal-content {
        width: 95%;
        max-height: 90vh;
    }

    .profile-modal-header {
        padding: 35px 20px 25px;
    }

    .profile-modal-photo {
        width: 100px;
        height: 100px;
    }

    .profile-modal-body {
        padding: 25px 20px;
    }

    .profile-modal-name {
        font-size: 20px;
    }

    .cv-modal-header {
        padding: 15px 20px;
    }

    .cv-modal-header h3 {
        font-size: 16px;
    }

    .cv-download-link {
        padding: 8px 16px;
        font-size: 13px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}