        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #dddddd 0%, #a2dbff 100%);
            color: #333;
            line-height: 1.6;
        }

        /* Navigation Menu */
        .nav-menu {
            position: fixed;
            top: 20px;
            left: 20px;
            z-index: 1000;
        }

        .nav-toggle {
            background: linear-gradient(135deg, #1C6EA4 0%, #33A1E0 100%);
            color: white;
            padding: 12px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(28, 106, 164, 0.3);
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            width: 48px;
            height: 48px;
        }

        .nav-toggle:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(28, 106, 164, 0.4);
            background: linear-gradient(135deg, #154D71 0%, #1C6EA4 100%);
        }

        .nav-toggle i {
            width: 20px;
            height: 20px;
        }

        .nav-content {
            position: absolute;
            top: 60px;
            left: 0;
            background: white;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            padding: 15px;
            min-width: 200px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(0, 0, 0, 0.1);
        }

        .nav-menu.active .nav-content {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .nav-items {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .nav-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 15px;
            border-radius: 10px;
            text-decoration: none;
            color: #2d3748;
            font-size: 14px;
            font-weight: 500;
            transition: all 0.3s ease;
            position: relative;
        }

        .nav-item:hover {
            background: linear-gradient(135deg, rgba(28, 110, 164, 0.1) 0%, rgba(51, 161, 224, 0.1) 100%);
            color: #1C6EA4;
            transform: translateX(5px);
        }

        .nav-item i {
            width: 18px;
            height: 18px;
            color: #1C6EA4;
        }

        /* PDF Download Button */
        .pdf-download-btn {
            position: fixed;
            top: 20px;
            right: 20px;
            background: linear-gradient(135deg, #1C6EA4 0%, #33A1E0 100%);
            color: white;
            padding: 12px 20px;
            border-radius: 50px;
            display: flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(28, 106, 164, 0.3);
            font-weight: 500;
            font-size: 14px;
            transition: all 0.3s ease;
            z-index: 1000;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .pdf-download-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(28, 106, 164, 0.4);
            background: linear-gradient(135deg, #154D71 0%, #1C6EA4 100%);
        }

        .pdf-download-btn i {
            width: 18px;
            height: 18px;
        }

        /* Printable container styling - A4 format constraints */
        .printable {
            background: white;
            width: 100%;
            min-height: 100vh;
            /* Ensure A4 ratio is maintained */
            max-width: 210mm;
            margin: 0 auto;
        }

        /* Natural page styling - allow content to flow */
        .page-1 {
            background: white;
            width: 210mm;
            min-height: 297mm;
            margin: 20px auto;
            padding: 0;
        }

        @media print {
            .pdf-download-btn {
                display: none !important;
            }
            
            .printable {
                background: white !important;
                width: 100% !important;
                padding: 0 !important;
                margin: 0 !important;
            }
        }

        /* A4 Page Setup - Exact A4 dimensions (210mm x 297mm) */
        .page {
            width: 210mm;
            height: 297mm;
            max-height: 297mm;
            min-height: 297mm;
            background: white;
            margin: 10mm auto;
            box-shadow: 0 8px 32px rgba(0,0,0,0.15);
            display: flex;
            page-break-after: always;
            page-break-inside: avoid;
            position: relative;
            border-radius: 8px;
            overflow: hidden;
            box-sizing: border-box;
        }

        @media screen {
            .page {
                margin: 20px auto;
            }
        }

        @media print {
            .pdf-download-btn {
                display: none !important;
            }
            
            .printable {
                background: white !important;
                margin: 0 !important;
                padding: 0 !important;
            }
            
            .page {
                margin: 0 !important;
                box-shadow: none !important;
                border-radius: 0 !important;
                page-break-after: always;
                width: 210mm !important;
                height: 297mm !important;
                background: white !important;
            }
            
        }

        /* Page 1 Specific Layout */
        .page-1 {
            display: flex;
            position: relative;
        }

        /* Left Sidebar */
        .sidebar {
            width: 55mm;
            background: linear-gradient(180deg, #1a202c 0%, #2d3748 50%, #1a202c 100%);
            color: white;
            padding: 0;
            height: 297mm;
            position: relative;
            z-index: 1;
        }

        .sidebar-spacer {
            height: 60px;
        }

        /* Overlapping Profile Picture */
        .profile-overlay {
            position: relative;
            top: 20px;
            left: 12mm;
            z-index: 10;
        }

        .profile-img-container {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            padding: 5px;
            box-shadow: 0 15px 35px rgba(28, 110, 164, 0.4), 0 5px 15px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
        }

        .profile-img-container:hover {
            transform: scale(1.08);
            cursor: pointer;
        }

        .profile-img {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            /* border: 4px solid white; */
        }

        .personal-info {
            padding: 25px 15px 15px;
            background: linear-gradient(135deg, rgba(28, 110, 164, 0.1) 0%, rgba(51, 161, 224, 0.1) 100%);
            font-size: 10px;
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }

        .personal-item {
            margin-bottom: 12px;
            color: #e2e8f0;
            line-height: 1.5;
            padding: 8px 12px;
            background: rgba(255,255,255,0.05);
            border-radius: 6px;
            transition: all 0.3s ease;
        }

        .personal-item:hover {
            background: rgba(28, 110, 164, 0.1);
            transform: translateX(5px);
        }

        .personal-item strong {
            color: #f7fafc;
            display: block;
            margin-bottom: 3px;
            font-size: 9px;
            text-transform: uppercase;
            font-weight: 600;
            letter-spacing: 0.5px;
        }

        .section-sidebar {
            padding: 15px;
            border-top: 1px solid rgba(255,255,255,0.1);
        }

        .section-title-sidebar {
            font-size: 12px;
            font-weight: 700;
            margin-bottom: 15px;
            color: #f7fafc;
            letter-spacing: 1px;
            text-transform: uppercase;
            position: relative;
            padding-bottom: 8px;
        }

        .section-title-sidebar:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 3px;
            background: linear-gradient(90deg, #1C6EA4 0%, #33A1E0 100%);
            border-radius: 2px;
        }

        .education-item {
            margin-bottom: 15px;
        }

        .education-item h4 {
            font-size: 11px;
            margin-bottom: 4px;
            font-weight: 600;
            color: #ecf0f1;
        }

        .education-item p {
            font-size: 9px;
            color: #95a5a6;
            line-height: 1.4;
        }

        .education-year {
            color: #33A1E0;
            font-weight: 500;
        }

        .language-list {
            list-style: none;
        }

        .language-list li {
            font-size: 10px;
            color: #95a5a6;
            margin-bottom: 8px;
            padding-left: 15px;
            position: relative;
        }

        .language-list li:before {
            content: "▸";
            position: absolute;
            left: 0;
            color: #33A1E0;
        }

        .language-level {
            color: #ecf0f1;
            font-weight: 500;
        }

        /* Main Content Area */
        .main-content {
            flex: 1;
            padding: 0;
            background: #fafbfc;
            display: flex;
            flex-direction: column;
            height: 297mm;
            position: relative;
            z-index: 2;
        }

        .header {
            padding: 25px 25px 20px 30px;
            background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
            position: relative;
            border-bottom: 3px solid #1C6EA4;
        }



        .header-content {
            display: flex;
            flex-direction: column;
        }

        .name {
            font-size: 24px;
            font-weight: 800;
            color: #1a202c;
            margin-bottom: 8px;
            letter-spacing: 1.2px;
            line-height: 1.1;
            text-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }

        .title {
            font-size: 12px;
            color: #4a5568;
            font-weight: 600;
            margin-bottom: 0;
            letter-spacing: 0.8px;
            text-transform: uppercase;
        }

        .objective-section {
            padding: 15px 25px;
            background: linear-gradient(135deg, rgba(28, 110, 164, 0.08) 0%, rgba(21, 77, 113, 0.08) 100%);
            border-radius: 8px;
            margin-bottom: 5px;
            position: relative;
        }

        .objective-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            border-radius: 8px 8px 0 0;
        }

        .objective-text {
            font-size: 12px;
            color: #2d3748;
            line-height: 1.7;
            font-style: italic;
            margin: 0;
            font-weight: 400;
        }

        /* Contact Bar */
        .contact-bar {
            background: linear-gradient(90deg, #1a202c 0%, #2d3748 100%);
            display: flex;
            justify-content: space-around;
            align-items: center;
            box-shadow: 0 4px 20px rgba(0,0,0,0.15);
            width: 100%;
            position: relative;
            z-index: 2;
            padding-left: 10px;
        }

        .contact-item {
            display: flex;
            align-items: center;
            color: #f7fafc;
            font-size: 11px;
            font-weight: 500;
            flex: 1;
            justify-content: center;
            transition: all 0.3s ease;
            padding: 8px 12px;
            border-radius: 6px;
        }

        .contact-item:hover {
            background: rgba(28, 106, 164, 0.2);
            transform: translateY(-2px);
        }

        .contact-item a {
            color: #f7fafc;
            text-decoration: none;
        }

        .contact-item a:hover {
            color: #33A1E0;
        }

        .icon {
            margin-right: 10px;
            width: 18px;
            height: 18px;
            color: #dadada;
            stroke-width: 2.5;
            flex-shrink: 0;
        }

        /* Content sections */
        .content-area {
            padding: 20px 25px;
            flex: 1;
            overflow: hidden;
        }

        .section {
            margin-bottom: 18px;
        }

        .section-title {
            font-size: 14px;
            font-weight: 700;
            color: #1a202c;
            margin-bottom: 15px;
            letter-spacing: 0.5px;
            position: relative;
            padding-bottom: 8px;
            text-transform: uppercase;
        }

        .section-title:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 3px;
            background: linear-gradient(90deg, #1C6EA4 0%, #33A1E0 100%);
            border-radius: 2px;
        }

        .experience-item {
            margin-bottom: 15px;
            padding: 14px;
            background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .experience-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 1px;
            background: linear-gradient(90deg, #1C6EA4 0%, #33A1E0 100%);
        }

        .experience-item:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(28, 110, 164, 0.15);
        }

        .job-header {
            display: flex;
            justify-content: space-between;
            align-items: baseline;
            margin-bottom: 8px;
        }

        .job-title {
            font-size: 13px;
            font-weight: 700;
            color: #1a202c;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .job-date {
            font-size: 10px;
            color: #1C6EA4;
            font-weight: 600;
            padding: 3px 8px;
            background: rgba(28, 110, 164, 0.1);
            border-radius: 12px;
        }

        .company {
            font-size: 11px;
            color: #4a5568;
            margin-bottom: 8px;
            font-weight: 600;
        }

        .job-description {
            font-size: 10px;
            line-height: 1.5;
            color: #2d3748;
        }

        .job-description ul {
            list-style: none;
            margin-top: 4px;
        }

        .job-description li {
            padding-left: 15px;
            position: relative;
            margin-bottom: 3px;
        }

        .job-description li:before {
            content: "○";
            position: absolute;
            left: 0;
            color: #33A1E0;
        }

        /* Page 2+ Layout */
        .page-2, .page-3, .page-4, .page-5 {
            flex-direction: column;
        }

        .page-header {
            background: linear-gradient(90deg, #2c3e50 0%, #34495e 100%);
            padding: 15px 30px;
            color: white;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .page-header h1 {
            font-size: 18px;
            font-weight: 600;
        }

        .page-number {
            font-size: 12px;
            color: #95a5a6;
        }

        .page-content {
            padding: 30px 40px;
            flex: 1;
        }

        /* Skills Grid for Page 2 */
        .skills-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
            margin-bottom: 30px;
        }

        .skill-category {
            background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.08);
            transition: transform 0.3s ease;
        }

        .skill-category:hover {
            transform: translateY(-5px);
        }

        .skill-category h3 {
            font-size: 13px;
            color: #1a202c;
            margin-bottom: 15px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            border-bottom: 2px solid #1C6EA4;
            padding-bottom: 8px;
        }

        .skill-item {
            font-size: 10px;
            color: #2d3748;
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-weight: 500;
            position: relative;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .skill-item:hover {
            background: rgba(28, 110, 164, 0.05);
            padding: 5px 8px;
            border-radius: 6px;
            transform: translateX(3px);
        }

        .skill-bar {
            width: 60px;
            height: 6px;
            background: rgba(28, 110, 164, 0.2);
            border-radius: 3px;
            overflow: hidden;
            position: relative;
            box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
        }

        .skill-progress {
            height: 100%;
            background: linear-gradient(90deg, #1C6EA4 0%, #33A1E0 100%);
            border-radius: 3px;
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            box-shadow: 0 2px 4px rgba(28, 110, 164, 0.3);
        }

        .skill-progress::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(90deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
            border-radius: 3px;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .skill-item:hover .skill-progress::after {
            opacity: 1;
        }

        .skill-percentage {
            font-size: 8px;
            color: #1C6EA4;
            font-weight: 600;
            min-width: 25px;
            text-align: right;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .skill-item:hover .skill-percentage {
            opacity: 1;
        }

        .skill-name {
            flex: 1;
            margin-right: 10px;
        }

        .skill-tooltip {
            position: absolute;
            bottom: 100%;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(0, 0, 0, 0.8);
            color: white;
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 8px;
            white-space: nowrap;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            z-index: 1000;
        }

        .skill-tooltip::after {
            content: '';
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%);
            border: 4px solid transparent;
            border-top-color: rgba(0, 0, 0, 0.8);
        }

        .skill-item:hover .skill-tooltip {
            opacity: 1;
            visibility: visible;
            transform: translateX(-50%) translateY(-5px);
        }

        /* Project Grid */
        .project-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
            margin-top: 18px;
        }

        .project-item {
            padding: 15px;
            background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
            font-size: 9px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .project-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, #1C6EA4 0%, #33A1E0 100%);
        }

        .project-item:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(28, 110, 164, 0.15);
            background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
        }

        .project-item[onclick] {
            transition: all 0.3s ease;
        }

        .project-item[onclick]:hover {
            background: linear-gradient(135deg, #e6f3ff 0%, #d6ebff 100%);
            border-left: 4px solid #1C6EA4;
        }

        .project-year {
            color: #1C6EA4;
            font-weight: 700;
            margin-bottom: 5px;
            font-size: 10px;
        }

        .project-name {
            color: #1a202c;
            font-weight: 600;
            margin-bottom: 4px;
            font-size: 10px;
        }

        .project-type {
            color: #4a5568;
            font-style: italic;
            margin-bottom: 3px;
        }

        .project-tech {
            color: #718096;
            font-size: 8px;
        }

        /* Research items */
        .research-item {
            margin-bottom: 15px;
            padding: 15px;
            background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
            border-radius: 10px;
            box-shadow: 0 3px 10px rgba(0,0,0,0.08);
            position: relative;
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .research-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, #1C6EA4 0%, #33A1E0 100%);
        }

        .research-item:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(28, 110, 164, 0.1);
        }

        .research-title {
            font-size: 11px;
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: 5px;
        }

        .research-subtitle {
            font-size: 10px;
            color: #5a6c7d;
            line-height: 1.5;
        }

        .research-details {
            font-size: 9px;
            color: #95a5a6;
            margin-top: 5px;
            padding-left: 10px;
            line-height: 1.5;
        }

        /* Church activities */
        .church-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 15px;
            background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
            border-radius: 8px;
            margin-bottom: 10px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
            position: relative;
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .church-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, #1C6EA4 0%, #33A1E0 100%);
        }

        .church-item:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(28, 110, 164, 0.1);
        }

        .church-role {
            font-size: 11px;
            color: #2c3e50;
            font-weight: 500;
        }

        .church-date {
            font-size: 9px;
            color: #1C6EA4;
        }

        /* Competencies */
        .competency-list {
            background: white;
            padding: 15px;
            border-radius: 5px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
        }

        .competency-list li {
            font-size: 11px;
            color: #5a6c7d;
            margin-bottom: 8px;
            padding-left: 20px;
            position: relative;
            list-style: none;
            line-height: 1.5;
        }

        .competency-list li:before {
            content: "✓";
            position: absolute;
            left: 0;
            color: #33A1E0;
            font-weight: bold;
        }

        /* GitHub Achievements Section */
        .github-achievements {
            display: flex;
            flex-direction: column;
            gap: 8px;
            margin-bottom: 15px;
        }

        .achievement-item {
            display: flex;
            align-items: center;
            gap: 15px;
            padding: 8px;
            background: rgba(28, 110, 164, 0.1);
            border-radius: 5px;
            border-left: 3px solid #1C6EA4;
        }

        .achievement-badge {
            font-weight: bold;
            color: #1C6EA4;
            min-width: 120px;
        }

        .achievement-desc {
            font-size: 9px;
            color: #666;
            font-style: italic;
        }

        .github-stats {
            background: rgba(28, 110, 164, 0.05);
            padding: 10px;
            border-radius: 5px;
            border: 1px solid rgba(28, 110, 164, 0.2);
        }

        .github-stats p {
            margin: 3px 0;
            font-size: 9px;
            line-height: 1.4;
        }

        /* Reference section styling */
        .reference-item {
            background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
            padding: 20px;
            border-radius: 8px;
            margin-bottom: 15px;
            border-left: 4px solid #1C6EA4;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }

        .reference-note p {
            font-size: 11px;
            line-height: 1.6;
            color: #2d3748;
            margin-bottom: 8px;
        }

        .reference-note p:last-child {
            margin-bottom: 0;
        }

        .reference-note strong {
            color: #1a202c;
            font-weight: 600;
        }

        /* Modal Styles */
        .modal {
            display: none;
            position: fixed;
            z-index: 10000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(5px);
            animation: fadeIn 0.3s ease;
        }

        .modal-content {
            position: relative;
            margin: 5% auto;
            padding: 20px;
            width: 80%;
            max-width: 600px;
            background: white;
            border-radius: 15px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            animation: slideIn 0.3s ease;
        }

        .modal-close {
            position: absolute;
            top: 15px;
            right: 25px;
            font-size: 35px;
            font-weight: bold;
            color: #666;
            cursor: pointer;
            transition: color 0.3s ease;
            line-height: 1;
        }

        .modal-close:hover {
            color: #1C6EA4;
        }

        .modal-image {
            width: 100%;
            height: auto;
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes slideIn {
            from { 
                opacity: 0;
                transform: translateY(-50px) scale(0.9);
            }
            to { 
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        /* Mobile Responsiveness */
        @media (max-width: 768px) {
            .nav-menu {
                top: 10px;
                left: 10px;
            }

            .pdf-download-btn {
                top: 10px;
                right: 10px;
                padding: 10px 15px;
                font-size: 12px;
            }

            .pdf-download-btn span {
                display: none;
            }

            .page {
                width: 100%;
                margin: 10px auto;
                border-radius: 0;
                box-shadow: none;
                min-height: auto;
                height: auto;
            }

            .page-1 {
                flex-direction: column;
                height: auto;
                min-height: auto;
            }

            .sidebar {
                width: 100%;
                height: auto;
                padding: 20px;
                position: relative;
            }

            .profile-overlay {
                position: static;
                display: flex;
                justify-content: center;
                margin-bottom: 20px;
                left: auto;
                top: auto;
            }

            .profile-img-container {
                width: 100px;
                height: 100px;
            }

            .sidebar-spacer {
                display: none;
            }

            .personal-info {
                padding: 15px;
                margin-bottom: 20px;
            }

            .section-sidebar {
                padding: 15px;
                margin-bottom: 15px;
            }

            .main-content {
                height: auto;
                padding: 0;
            }

            .header {
                padding: 20px;
                text-align: center;
            }

            .name {
                font-size: 18px;
                line-height: 1.2;
            }

            .title {
                font-size: 10px;
            }

            .contact-bar {
                flex-direction: column;
                padding: 15px;
                gap: 10px;
            }

            .contact-item {
                justify-content: flex-start;
                padding: 8px 0;
            }

            .content-area {
                padding: 15px;
            }

            .skills-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .project-grid {
                grid-template-columns: 1fr;
                gap: 15px;
            }

            .page-content {
                padding: 20px;
            }

            .page-header {
                padding: 15px 20px;
            }

            .page-header h1 {
                font-size: 16px;
            }

            .modal-content {
                width: 95%;
                margin: 10% auto;
                padding: 15px;
            }
            
            .modal-close {
                font-size: 30px;
                top: 10px;
                right: 20px;
            }

            .nav-content {
                min-width: 180px;
            }

            .nav-item {
                font-size: 12px;
                padding: 10px 12px;
            }
        }

        @media (max-width: 480px) {
            .nav-menu {
                top: 5px;
                left: 5px;
            }

            .pdf-download-btn {
                top: 5px;
                right: 5px;
                padding: 8px 12px;
            }

            .page {
                margin: 5px auto;
            }

            .header {
                padding: 15px;
            }

            .name {
                font-size: 16px;
            }

            .title {
                font-size: 9px;
            }

            .content-area {
                padding: 10px;
            }

            .page-content {
                padding: 15px;
            }

            .personal-item,
            .experience-item,
            .project-item,
            .research-item {
                padding: 10px;
            }

            .job-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 5px;
            }

            .job-date {
                align-self: flex-start;
            }

            .skill-item {
                font-size: 9px;
            }

            .skill-bar {
                width: 50px;
                height: 5px;
            }

            .nav-content {
                min-width: 160px;
                padding: 12px;
            }

            .nav-item {
                font-size: 11px;
                padding: 8px 10px;
            }

            .nav-toggle {
                width: 40px;
                height: 40px;
                padding: 10px;
            }

            .nav-toggle i {
                width: 16px;
                height: 16px;
            }
        }