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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #e2e8f0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    min-height: 100vh;
}

/* Navigation Styles */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    z-index: 1000;
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
}

.nav-brand {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #f8fafc;
    line-height: 1.2;
}

.brand-title {
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 400;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #cbd5e1;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: 25px;
    transition: color 0.2s ease, background 0.2s ease;
    position: relative;
    letter-spacing: 0.3px;
}

.nav-link:hover,
.nav-link.active {
    color: #60a5fa;
    background: rgba(59, 130, 246, 0.15);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #cbd5e1;
    border-radius: 3px;
    transition: 0.3s;
}

.container {
    max-width: 1000px;
    margin: 90px auto 40px;
    background: #1e293b;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    position: relative;
    border: 1px solid #334155;
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #2563eb);
}

.header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    color: white;
    padding: 30px 40px;
    position: relative;
    overflow: hidden;
    min-height: 180px;
    display: flex;
    align-items: center;
}

.header-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.6;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    animation: simpleFloat 12s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 60px;
    height: 60px;
    top: 65%;
    right: 20%;
    animation-delay: 4s;
}

.shape-3 {
    width: 40px;
    height: 40px;
    bottom: 25%;
    left: 65%;
    animation-delay: 8s;
}

@keyframes simpleFloat {
    0%, 100% { 
        transform: translateY(0px);
        opacity: 0.6;
    }
    50% { 
        transform: translateY(-15px);
        opacity: 0.8;
    }
}

.profile-section {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 2;
    width: 100%;
}

.profile-left {
    display: flex;
    align-items: center;
}

.profile-center {
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-width: 0;
}

.profile-image {
    width: 90px;
    height: 90px;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.4s ease;
}

.image-border {
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    background: linear-gradient(45deg, #3b82f6, #2563eb, #1d4ed8);
    z-index: -1;
}

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

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


.profile-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    min-width: 280px;
}

.name-section h1 {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: -0.5px;
    line-height: 1.1;
    color: white;
}

.title-with-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.title-with-badge h2 {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.9;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.experience-badge {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.quick-highlights {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(59, 130, 246, 0.15);
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    font-size: 0.8rem;
    font-weight: 500;
    transition: background 0.2s ease;
}

.highlight-item:hover {
    background: rgba(59, 130, 246, 0.25);
}

.highlight-item i {
    font-size: 0.9rem;
    color: #60a5fa;
}


.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 15px;
    align-items: start;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.contact-item:hover {
    color: #60a5fa;
}


.contact-item i {
    width: 16px;
    font-size: 0.9rem;
    color: #60a5fa;
    flex-shrink: 0;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.contact-label {
    font-size: 0.7rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
    color: #94a3b8;
    line-height: 1;
}

.contact-details a,
.contact-details span:not(.contact-label) {
    color: white;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 400;
    transition: color 0.2s ease;
    line-height: 1.2;
    word-break: break-all;
}

.contact-details a:hover {
    color: #60a5fa;
}

.main-content {
    padding: 50px 40px;
    background: #1e293b;
}

.section {
    margin-bottom: 45px;
    scroll-margin-top: 90px;
}

.section h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #f8fafc;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 2px solid #334155;
    padding-bottom: 12px;
    letter-spacing: -0.2px;
}

.section h3 i {
    color: #60a5fa;
    font-size: 1.3rem;
}

.section p {
    color: #cbd5e1;
    line-height: 1.7;
    font-size: 1rem;
    font-weight: 400;
}

.experience-item {
    margin-bottom: 35px;
    padding: 30px;
    background: #0f172a;
    border-radius: 12px;
    border: 1px solid #334155;
    border-left: 4px solid #3b82f6;
    transition: box-shadow 0.2s ease;
    position: relative;
}


.experience-item:hover {
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2);
}

.experience-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.experience-header h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #f8fafc;
    letter-spacing: -0.2px;
}

.company {
    color: #60a5fa;
    font-weight: 600;
    font-size: 1.1rem;
}

.company a {
    color: #93c5fd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.company a:hover {
    color: #dbeafe;
    text-decoration: underline;
}

.github-link {
    color: #cbd5e1;
    margin-left: 10px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.github-link:hover {
    color: #ffffff;
}

.duration {
    color: #e2e8f0;
    font-size: 0.9rem;
    margin-left: auto;
    background: linear-gradient(135deg, #374151, #4b5563);
    padding: 6px 16px;
    border-radius: 25px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.experience-item ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.experience-item li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #cbd5e1;
    line-height: 1.7;
    font-weight: 400;
}

.experience-item li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #60a5fa;
    font-weight: bold;
    font-size: 1.1rem;
}

.project-subsection {
    margin-bottom: 25px;
    padding: 20px;
    background: #1e293b;
    border-radius: 8px;
    border: 1px solid #475569;
    border-left: 3px solid #60a5fa;
}

.project-subsection:last-child {
    margin-bottom: 0;
}

.project-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #f8fafc;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.1px;
}

.project-details {
    list-style: none;
    padding-left: 0;
    margin-bottom: 15px;
}

.project-details li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: #cbd5e1;
    line-height: 1.6;
    font-weight: 400;
    font-size: 0.95rem;
}

.project-details li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #60a5fa;
    font-weight: bold;
    font-size: 1rem;
}

.education-item {
    padding: 25px 30px;
    background: #0f172a;
    border-radius: 12px;
    border: 1px solid #334155;
    border-left: 5px solid #10b981;
    margin-bottom: 20px;
    transition: box-shadow 0.2s ease;
}

.education-item:hover {
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.2);
}

.education-item h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #f8fafc;
    margin-bottom: 10px;
    letter-spacing: -0.2px;
}

.school {
    color: #10b981;
    font-weight: 600;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 10px;
}

.graduation {
    color: #e2e8f0;
    font-size: 0.9rem;
    background: linear-gradient(135deg, #374151, #4b5563);
    padding: 6px 16px;
    border-radius: 25px;
    display: inline-block;
    margin-bottom: 12px;
    font-weight: 500;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.skill-category {
    background: #0f172a;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #334155;
    transition: box-shadow 0.2s ease;
}

.skill-category:hover {
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}

.skill-category h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #f8fafc;
    margin-bottom: 15px;
    letter-spacing: -0.2px;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: transform 0.2s ease;
    letter-spacing: 0.3px;
}

.skill:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.project-item {
    margin-bottom: 30px;
    padding: 30px;
    background: #0f172a;
    border-radius: 12px;
    border: 1px solid #334155;
    border-left: 5px solid #ef4444;
    transition: box-shadow 0.2s ease;
}

.project-item:hover {
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.2);
}

.project-item h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #f8fafc;
    margin-bottom: 12px;
    letter-spacing: -0.2px;
}

.project-item p {
    margin-bottom: 20px;
    color: #cbd5e1;
    line-height: 1.7;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.project-tech span {
    background: linear-gradient(135deg, #64748b, #475569);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: transform 0.2s ease;
}

.project-tech span:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(100, 116, 139, 0.4);
}

.certification-item {
    margin-bottom: 20px;
    padding: 20px 25px;
    background: #0f172a;
    border-radius: 12px;
    border: 1px solid #334155;
    border-left: 5px solid #f59e0b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    transition: box-shadow 0.2s ease;
}

.certification-item:hover {
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.2);
}

.certification-item h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #f8fafc;
    letter-spacing: -0.2px;
}

.cert-date {
    color: #e2e8f0;
    font-size: 0.9rem;
    background: linear-gradient(135deg, #374151, #4b5563);
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 500;
}

/* Tablet Responsiveness */
@media (max-width: 1024px) {
    .container {
        margin: 90px 20px 30px;
        max-width: none;
    }
    
    .header {
        padding: 25px 30px;
    }
    
    .profile-section {
        gap: 25px;
    }
    
    .main-content {
        padding: 40px 30px;
    }
}

/* Mobile-specific improvements */
@media (max-width: 768px) {
    /* Better text readability */
    .section p {
        font-size: 1rem;
        line-height: 1.8;
        text-align: left;
    }
    
    /* Improved list spacing */
    .experience-item li,
    .project-details li {
        margin-bottom: 12px;
        line-height: 1.7;
    }
    
    /* Better visual separation */
    .experience-item {
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
        margin-bottom: 30px;
    }
    
    .project-subsection {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    /* Centered layout for mobile */
    .project-tech,
    .skills-list {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    /* Better mobile typography */
    .section h3 {
        border-bottom: 3px solid #334155;
        padding-bottom: 15px;
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 80px;
        transition: 0.3s;
        gap: 1.5rem;
        z-index: 999;
    }
    
    .nav-menu .nav-link {
        font-size: 1.1rem;
        padding: 15px 30px;
        border-radius: 10px;
        width: 80%;
        text-align: center;
        background: rgba(59, 130, 246, 0.1);
        border: 1px solid rgba(59, 130, 246, 0.2);
    }
    
    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        background: rgba(59, 130, 246, 0.2);
        color: #60a5fa;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    body {
        padding: 8px;
    }
    
    .container {
        margin: 80px auto 20px;
        border-radius: 12px;
    }
    
    .header {
        padding: 25px 20px;
        min-height: auto;
    }
    
    .profile-section {
        display: flex;
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }

    .profile-left,
    .profile-center,
    .profile-right {
        width: 100%;
    }

    .profile-center {
        gap: 15px;
    }

    .profile-right {
        align-items: center;
    }

    .profile-image {
        width: 100px;
        height: 100px;
        margin: 0 auto;
    }
    
    .name-section h1 {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }

    .title-with-badge {
        justify-content: center;
        gap: 8px;
        margin-bottom: 0;
    }

    .title-with-badge h2 {
        font-size: 1rem;
    }

    .experience-badge {
        font-size: 0.75rem;
        padding: 4px 10px;
    }

    .quick-highlights {
        gap: 10px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .highlight-item {
        font-size: 0.75rem;
        padding: 6px 10px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        max-width: 280px;
        margin: 0 auto;
    }

    .contact-item {
        justify-content: center;
        text-align: center;
        padding: 12px;
        background: rgba(59, 130, 246, 0.1);
        border-radius: 10px;
        border: 1px solid rgba(59, 130, 246, 0.2);
    }

    .contact-item i {
        font-size: 1rem;
    }

    .contact-details {
        align-items: center;
        text-align: center;
    }

    .floating-shapes {
        display: none;
    }
    
    .main-content {
        padding: 30px 20px;
    }

    .section {
        margin-bottom: 35px;
    }

    .section h3 {
        font-size: 1.4rem;
        margin-bottom: 20px;
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .section h3 i {
        font-size: 1.2rem;
    }
    
    .experience-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }

    .experience-header h4 {
        font-size: 1.2rem;
    }

    .company {
        font-size: 1rem;
    }
    
    .duration {
        margin-left: 0;
        font-size: 0.85rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .skill-category h4 {
        text-align: center;
        margin-bottom: 15px;
    }

    .skills-list {
        justify-content: center;
    }
    
    .certification-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }

    .experience-item, .project-item {
        padding: 20px;
        margin-bottom: 25px;
    }

    .project-item h4 {
        text-align: center;
        font-size: 1.2rem;
    }

    .project-item p {
        text-align: center;
    }

    .project-subsection {
        padding: 18px;
        margin-bottom: 20px;
    }

    .project-title {
        font-size: 1rem;
        text-align: center;
        margin-bottom: 12px;
    }

    .project-details li {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .project-tech {
        justify-content: center;
        gap: 8px;
    }

    .project-tech span {
        font-size: 0.8rem;
        padding: 5px 10px;
    }

    .skill-category {
        padding: 20px;
    }

    .education-item {
        text-align: center;
        padding: 20px;
    }

    .education-item h4 {
        font-size: 1.1rem;
    }

    .school {
        font-size: 1rem;
        text-align: center;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .nav-container {
        padding: 0 15px;
        min-height: 60px;
    }

    .brand-name {
        font-size: 1.1rem;
    }

    .brand-title {
        font-size: 0.7rem;
    }

    body {
        padding: 5px;
    }

    .container {
        margin: 70px auto 15px;
        border-radius: 10px;
    }

    .header {
        padding: 20px 15px;
        min-height: auto;
    }

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

    .profile-section {
        gap: 20px;
    }

    .name-section h1 {
        font-size: 1.5rem;
        line-height: 1.2;
    }

    .title-with-badge h2 {
        font-size: 0.9rem;
    }

    .profile-image {
        width: 85px;
        height: 85px;
    }

    .quick-highlights {
        gap: 8px;
    }

    .highlight-item {
        font-size: 0.7rem;
        padding: 5px 8px;
    }

    .contact-grid {
        gap: 12px;
        max-width: 250px;
    }

    .contact-item {
        font-size: 0.8rem;
        padding: 10px;
    }

    .contact-details a,
    .contact-details span:not(.contact-label) {
        font-size: 0.8rem;
    }

    .experience-badge {
        font-size: 0.7rem;
        padding: 3px 8px;
    }

    .section h3 {
        font-size: 1.2rem;
        margin-bottom: 18px;
    }

    .experience-item, .project-item, .skill-category, .education-item, .certification-item {
        padding: 18px 15px;
        margin-bottom: 20px;
    }

    .experience-header h4 {
        font-size: 1.1rem;
    }

    .company {
        font-size: 0.95rem;
    }

    .duration {
        font-size: 0.8rem;
        padding: 4px 10px;
    }

    .experience-item li {
        font-size: 0.85rem;
        padding-left: 18px;
        line-height: 1.5;
    }

    .project-title {
        font-size: 0.95rem;
    }

    .project-details li {
        font-size: 0.85rem;
        padding-left: 15px;
    }

    .project-tech span {
        font-size: 0.75rem;
        padding: 4px 8px;
    }

    .skill {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .education-item h4 {
        font-size: 1rem;
    }

    .school {
        font-size: 0.9rem;
    }

    .graduation {
        font-size: 0.75rem;
        padding: 4px 10px;
    }

    .certification-item h4 {
        font-size: 1rem;
    }

    .cert-date {
        font-size: 0.75rem;
        padding: 4px 10px;
    }

    .project-item h4 {
        font-size: 1.1rem;
    }

    .project-item p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .contact-item {
        font-size: 0.85rem;
    }

    .contact-item i {
        width: 14px;
        font-size: 0.9rem;
    }

    .section h3 {
        font-size: 1.3rem;
    }

    .experience-item, .project-item, .skill-category, .education-item, .certification-item {
        padding: 15px 12px;
        margin-bottom: 20px;
    }

    .project-subsection {
        padding: 12px;
        margin-bottom: 15px;
    }

    .project-title {
        font-size: 0.95rem;
        margin-bottom: 10px;
    }

    .project-details li {
        font-size: 0.85rem;
        padding-left: 15px;
    }

}

/* Touch Improvements */
@media (hover: none) and (pointer: coarse) {
    .nav-link {
        min-height: 48px;
        padding: 12px 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
    }

    .contact-item {
        min-height: 48px;
        padding: 12px;
        touch-action: manipulation;
    }

    .contact-item a {
        min-height: 24px;
        display: flex;
        align-items: center;
    }

    .skill, .project-tech span {
        min-height: 36px;
        padding: 8px 16px;
        font-size: 0.9rem;
        touch-action: manipulation;
    }

    .highlight-item {
        min-height: 36px;
        padding: 8px 14px;
        touch-action: manipulation;
    }

    .experience-item, .project-item, .skill-category,
    .education-item, .certification-item {
        transition: none;
    }

    .experience-item:hover, .project-item:hover, .skill-category:hover,
    .education-item:hover, .certification-item:hover {
        transform: none;
        box-shadow: inherit;
    }

    .skill:hover, .project-tech span:hover, .highlight-item:hover {
        transform: none;
        box-shadow: inherit;
    }

    .profile-image:hover {
        transform: none;
    }

    .nav-toggle {
        min-height: 44px;
        min-width: 44px;
        padding: 10px;
        touch-action: manipulation;
    }

    /* Larger tap targets for mobile */
    @media (max-width: 768px) {
        .contact-item {
            min-height: 52px;
            padding: 14px;
        }

        .skill, .project-tech span {
            min-height: 40px;
            padding: 10px 16px;
        }

        .highlight-item {
            min-height: 40px;
            padding: 10px 16px;
        }
    }
}

@media print {
    .top-nav {
        display: none;
    }

    body {
        background: #0f172a;
        padding: 0;
    }
    
    .container {
        margin: 0;
        box-shadow: none;
        border-radius: 0;
    }
    
    .header {
        background: #0f172a !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .skill, .project-tech span {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .container {
        background: #1e293b !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .section {
        page-break-inside: avoid;
        margin-bottom: 30px;
    }

    .experience-item, .project-item, .education-item, .certification-item {
        page-break-inside: avoid;
        margin-bottom: 20px;
    }
}