        /* Import Google Fonts */
        @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

        /* ===== CSS Variables ===== */
        :root {
        --primary-color: #6a11cb;
        --secondary-color: #2575fc;
        --accent-color: #ffde59;
        --text-light: #ffffff;
        --text-dark: #333333;
        --bg-light: #f0f2f5;
        --bg-white: #ffffff;
        --bg-card: #ffffff;
        --border-light: #e0e0e0;
        --shadow-light: rgba(0, 0, 0, 0.1);
        --shadow-medium: rgba(0, 0, 0, 0.15);
        --shadow-dark: rgba(0, 0, 0, 0.25);
        }

        /* ===== Dark Mode Variables ===== */
        .dark-mode {
        --primary-color: #2575fc;
        --secondary-color: #6a11cb;
        --accent-color: #ffde59;
        --text-light: #f0f0f0;
        --text-dark: #e0e0e0;
        --bg-light: #121212;
        --bg-white: #1a1a1a;
        --bg-card: #242424;
        --border-light: #333333;
        --shadow-light: rgba(0, 0, 0, 0.3);
        --shadow-medium: rgba(0, 0, 0, 0.4);
        --shadow-dark: rgba(0, 0, 0, 0.6);
        }

        /* ===== Reset & Global Styles ===== */
        * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        }

        html {
        scroll-behavior: smooth;
        }

        body {
        font-family: 'Roboto', sans-serif;
        background-color: var(--bg-light);
        color: var(--text-dark);
        line-height: 1.7;
        transition: background-color 0.4s ease, color 0.4s ease;
        overflow-x: hidden;
        }

        /* ===== Container ===== */
        .container {
        max-width: 1100px;
        margin: 0 auto;
        padding: 0 25px;
        }

        /* ===== Header & Navigation ===== */
        header {
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
        color: var(--text-light);
        padding: 80px 25px 30px;
        text-align: center;
        position: relative;
        box-shadow: 0 6px 20px var(--shadow-dark);
        overflow: hidden;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        }

        header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.1"%3E%3Cpath d="M36 34h-2v-4h4v4zm0-30h-2v4h4v-4zm-32 30H2v-4h4v4zm0-30H2v4h4v-4zM12 6h-2v4h4V6zm-8 12H2v4h4v-4zm16 12h-2v4h4v-4zM0 36h-2v4h4v-4zm0 12h-2v4h4v-4zM20 44h-2v4h4v-4zm-16 0H2v4h4v-4zM12 36h-2v4h4v-4zm24-8h-2v4h4v-4zm-12 8h-2v4h4v-4zm-24 0H2v4h4v-4zM0 0h-2v4h4V0zm44 44h-2v4h4v-4zm0 0h-2v4h4v-4zm-12-8h-2v4h4v-4zm12 8h-2v4h4v-4zM0 44h-2v4h4v-4zm24-8h-2v4h4v-4zm12 8h-2v4h4v-4zm-32 0H2v4h4v-4zm-28 0h-2v4h4v-4zm20 0h-2v4h4v-4z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
        opacity: 0.05;
        z-index: 0;
        }

        .header-content {
        max-width: 900px;
        margin: 0 auto;
        padding: 25px 30px;
        background-color: rgba(255, 255, 255, 0.15);
        border-radius: 15px;
        backdrop-filter: blur(5px);
        box-shadow: 0 4px 10px var(--shadow-light);
        position: relative;
        z-index: 1;
        }

        header h1 {
        font-size: 3.5em;
        margin-bottom: 15px;
        letter-spacing: 1px;
        font-weight: 700;
        text-shadow: 0 3px 8px var(--shadow-dark);
        text-align: center;
        }

        header p {
        font-size: 1.2em;
        opacity: 0.95;
        margin-bottom: 35px;
        font-weight: 300;
        text-align: center;
        }

        /* ===== Navigation ===== */
        nav {
        margin-top: 40px;
        background-color: rgba(0, 0, 0, 0.15);
        padding: 12px 0;
        border-radius: 10px;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        box-shadow: 0 2px 8px var(--shadow-light);
        position: sticky;
        top: 0;
        z-index: 1000;
        transition: all 0.3s ease;
        }

        nav.scrolled {
        background-color: rgba(106, 17, 203, 0.95);
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 20px var(--shadow-medium);
        }

        nav a {
        margin: 8px 18px;
        color: var(--text-light);
        text-decoration: none;
        font-weight: 500;
        padding: 12px 22px;
        border-radius: 8px;
        transition: all 0.3s ease;
        font-size: 1.1em;
        position: relative;
        }

        nav a:hover {
        background-color: rgba(255, 255, 255, 0.25);
        transform: translateY(-3px);
        box-shadow: 0 4px 10px var(--shadow-medium);
        }

        /* Active navigation state */
        nav a.active {
        background-color: rgba(255, 255, 255, 0.3) !important;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px var(--shadow-medium);
        font-weight: 600;
        }

        .dark-mode nav a.active {
        background-color: rgba(255, 255, 255, 0.2) !important;
        color: var(--accent-color);
        }

        /* ===== Profile Photo ===== */
        .profile-photo {
        width: 220px;
        height: 220px;
        object-fit: cover;
        border-radius: 50%;
        border: 6px solid var(--text-light);
        box-shadow: 0 10px 30px var(--shadow-dark);
        margin-bottom: 30px;
        transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        display: block;
        margin-left: auto;
        margin-right: auto;
        }

        .profile-photo:hover {
        transform: scale(1.08) rotate(3deg);
        }

        /* ===== Sections ===== */
        section {
        padding: 80px 30px;
        max-width: 1000px;
        margin: 40px auto;
        background-color: var(--bg-white);
        border-radius: 18px;
        box-shadow: 0 8px 25px var(--shadow-light);
        border: 1px solid var(--border-light);
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.6s ease, transform 0.6s ease;
        }

        section.section-visible {
        opacity: 1;
        transform: translateY(0);
        }

        h2 {
        color: var(--primary-color);
        margin-bottom: 40px;
        text-align: center;
        font-size: 2.8em;
        font-weight: 700;
        position: relative;
        letter-spacing: 0.5px;
        }

        h2::after {
        content: '';
        display: block;
        width: 80px;
        height: 4px;
        background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
        margin: 15px auto 0;
        border-radius: 3px;
        }

        p {
        margin-bottom: 18px;
        font-size: 1.08em;
        text-align: left;
        color: var(--text-dark);
        line-height: 1.8;
        }

        /* ===== Skills Section ===== */
        .skill-group {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
        max-width: 1000px;
        margin: 0 auto;
        }

        .skill-item {
        display: flex;
        align-items: center;
        gap: 1.5rem;
        padding: 1.5rem;
        background: var(--bg-card);
        border-radius: 12px;
        box-shadow: 0 4px 15px var(--shadow-light);
        transition: all 0.3s ease;
        border: 1px solid var(--border-light);
        }

        .skill-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px var(--shadow-medium);
        }

        .skill-icon {
        font-size: 2.5rem;
        flex-shrink: 0;
        width: 60px;
        text-align: center;
        }

        /* Skill icon colors */
        .html-icon-color { color: #e34c26; }
        .css-icon-color { color: #264de4; }
        .js-icon-color { color: #f7df1e; }
        .python-icon-color { color: #3776ab; }
        .android-icon-color { color: #3ddc84; }
        .uiux-icon-color { color: #ff4081; }
        .network-icon-color { color: #00a0e9; }

        .skill {
        flex-grow: 1;
        width: 100%;
        }

        .skill p {
        margin-bottom: 0.8rem;
        font-weight: 600;
        color: var(--text-dark);
        font-size: 1.1em;
        text-align: left;
        }

        .bar {
        height: 12px;
        background: #e9ecef;
        border-radius: 10px;
        overflow: hidden;
        position: relative;
        box-shadow: inset 0 1px 4px var(--shadow-light);
        }

        .bar div {
        height: 100%;
        border-radius: 10px;
        background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
        transition: width 1.5s ease-out;
        position: relative;
        width: 0;
        animation: fillBar 2s ease-in-out forwards;
        }

        .percentage {
        position: absolute;
        right: 10px;
        top: -25px;
        font-size: 0.9em;
        font-weight: 600;
        color: #666;
        }

        @keyframes fillBar {
        from { width: 0; }
        to { width: attr(data-width); }
        }

        /* ===== Projects Section ===== */
        .project-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 35px;
        margin-top: 40px;
        }

        .project-card {
        background: var(--bg-white);
        padding: 30px;
        border-radius: 15px;
        box-shadow: 0 8px 20px var(--shadow-light);
        transition: all 0.3s ease;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        border: 1px solid var(--border-light);
        overflow: hidden;
        position: relative;
        height: 100%;
        }

        .project-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
        transform: scaleX(0);
        transition: transform 0.3s ease;
        }

        .project-card:hover::before {
        transform: scaleX(1);
        }

        .project-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 40px var(--shadow-medium);
        border-color: var(--primary-color);
        }

        .project-card h3 {
        color: var(--primary-color);
        margin-bottom: 18px;
        font-size: 1.8em;
        text-align: center;
        font-weight: 600;
        }

        .project-card p {
        color: var(--text-dark);
        margin-bottom: 18px;
        flex-grow: 1;
        text-align: justify;
        }

        .project-card img {
        width: 100%;
        height: 200px;
        object-fit: contain;
        border-radius: 10px;
        margin: 0 auto 20px;
        box-shadow: 0 4px 12px var(--shadow-medium);
        transition: all 0.3s ease;
        background: var(--bg-light);
        padding: 10px;
        }

        .project-card img:hover {
        transform: scale(1.03);
        box-shadow: 0 8px 20px var(--shadow-medium);
        }

        .project-card ul {
        list-style: none;
        padding-left: 0;
        margin-bottom: 25px;
        color: var(--text-dark);
        }

        .project-card ul li {
        position: relative;
        padding-left: 25px;
        margin-bottom: 10px;
        font-size: 0.95em;
        line-height: 1.6;
        }

        .project-card ul li::before {
        content: '▸';
        position: absolute;
        left: 0;
        color: var(--secondary-color);
        font-weight: bold;
        }

        .project-links {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 20px;
        }

        .project-card a {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
        color: var(--text-light);
        padding: 12px 25px;
        border-radius: 8px;
        text-decoration: none;
        font-weight: 600;
        font-size: 1.0em;
        box-shadow: 0 4px 10px var(--shadow-medium);
        transition: all 0.3s ease;
        white-space: nowrap;
        }

        .project-card a:hover {
        background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
        transform: translateY(-4px) scale(1.02);
        box-shadow: 0 8px 18px var(--shadow-medium);
        }

        /* ===== Project Detail Enhancement ===== */

.project-card h2 {
    font-size: 1.6em;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.project-card h4 {
    font-size: 0.95em;
    font-weight: 500;
    color: #888;
    margin-bottom: 20px;
}

.dark-mode .project-card h4 {
    color: #bbb;
}

.project-card h3 {
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 1.2em;
    color: var(--secondary-color);
    text-align: left;
}

.project-card ul {
    margin-bottom: 20px;
}

.project-card ul li {
    font-size: 0.95em;
    margin-bottom: 8px;
}

/* ===== Tech Stack Badge Style ===== */
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tech-stack span {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 500;
    box-shadow: 0 3px 8px var(--shadow-light);
    transition: transform 0.3s ease;
}

.tech-stack span:hover {
    transform: scale(1.05);
}

        /* ===== Testimonials Section ===== */
        #testimonials {
        background-color: #f8fbfd;
        text-align: center;
        }

        .dark-mode #testimonials {
        background-color: #1f1f1f;
        }

        .testimonial-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
        margin-top: 40px;
        }

        .testimonial-box {
        background-color: var(--bg-white);
        border: 1px solid var(--border-light);
        border-radius: 15px;
        padding: 30px;
        box-shadow: 0 5px 15px var(--shadow-light);
        transition: all 0.3s ease;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
        position: relative;
        }

        .testimonial-box::before {
        content: '"';
        position: absolute;
        top: 10px;
        left: 20px;
        font-size: 4rem;
        color: var(--primary-color);
        opacity: 0.2;
        font-family: serif;
        line-height: 1;
        }

        .testimonial-box:hover {
        transform: translateY(-7px);
        box-shadow: 0 10px 25px var(--shadow-medium);
        }

        .testimonial-box p {
        font-style: italic;
        color: var(--text-dark);
        margin-bottom: 20px;
        font-size: 1.05em;
        text-align: center;
        flex-grow: 1;
        position: relative;
        z-index: 1;
        }

        .testimonial-box span {
        display: block;
        margin-top: 15px;
        font-weight: 600;
        color: var(--primary-color);
        font-size: 1em;
        text-align: center;
        }

        /* ===== Contact Section ===== */
        #contact form {
        max-width: 800px;
        margin: 0 auto 40px;
        padding: 35px;
        background-color: #fbfbfb;
        border-radius: 15px;
        box-shadow: 0 5px 15px var(--shadow-light);
        border: 1px solid var(--border-light);
        }

        .dark-mode #contact form {
        background-color: var(--bg-card);
        }

        form label {
        display: block;
        margin-bottom: 8px;
        font-weight: 500;
        color: var(--text-dark);
        font-size: 1.05em;
        }

        form input,
        form textarea {
        width: 100%;
        padding: 15px;
        margin: 10px 0 20px;
        border: 1px solid #ccc;
        border-radius: 8px;
        font-size: 1.05em;
        box-shadow: inset 0 1px 4px var(--shadow-light);
        transition: all 0.3s ease;
        font-family: 'Roboto', sans-serif;
        background-color: var(--bg-white);
        color: var(--text-dark);
        }

        .dark-mode form input,
        .dark-mode form textarea {
        border: 1px solid #555;
        background-color: #3a3a3a;
        color: var(--text-light);
        }

        form input:focus,
        form textarea:focus {
        border-color: var(--secondary-color);
        box-shadow: 0 0 0 4px rgba(37, 117, 252, 0.25);
        outline: none;
        }

        .dark-mode form input:focus,
        .dark-mode form textarea:focus {
        border-color: var(--accent-color);
        box-shadow: 0 0 0 4px rgba(255, 222, 89, 0.25);
        }

        form textarea {
        resize: vertical;
        min-height: 150px;
        }

        form button {
        padding: 15px 30px;
        background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
        color: var(--text-light);
        border: none;
        border-radius: 8px;
        cursor: pointer;
        font-weight: 600;
        font-size: 1.1em;
        box-shadow: 0 4px 12px var(--shadow-medium);
        transition: all 0.3s ease;
        width: 100%;
        font-family: 'Roboto', sans-serif;
        }

        form button:hover {
        background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
        transform: translateY(-4px) scale(1.02);
        box-shadow: 0 8px 20px var(--shadow-medium);
        }

        .message {
        text-align: center;
        margin-top: 20px;
        padding: 15px;
        border-radius: 10px;
        font-weight: 500;
        display: none;
        font-size: 1.05em;
        }

        #successMessage {
        background-color: #d4edda;
        color: #155724;
        border: 1px solid #28a745;
        }

        .dark-mode #successMessage {
        background-color: #1f3d24;
        color: #92e092;
        border-color: #92e092;
        }

        #errorMessage {
        background-color: #f8d7da;
        color: #721c24;
        border: 1px solid #dc3545;
        }

        .dark-mode #errorMessage {
        background-color: #4d262a;
        color: #ff9999;
        border-color: #ff9999;
        }

        /* ===== Contact Info ===== */
        .contact-info {
        margin-top: 50px;
        padding: 40px;
        background: #f8fbfd;
        border-radius: 18px;
        box-shadow: 0 6px 18px var(--shadow-light);
        text-align: center;
        border: 1px solid var(--border-light);
        }

        .dark-mode .contact-info {
        background: var(--bg-card);
        }

        .contact-info h3 {
        margin-bottom: 25px;
        color: var(--primary-color);
        font-size: 26px;
        font-weight: 600;
        }

        .contact-info p {
        margin: 15px 0;
        font-size: 1.15em;
        color: var(--text-dark);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 15px;
        }

        .contact-info i {
        color: var(--secondary-color);
        min-width: 30px;
        font-size: 1.5em;
        }

        .contact-info .social-icons {
        margin-top: 30px;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
        }

        .contact-info .social-icons a {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 1.2em;
        color: var(--primary-color);
        text-decoration: none;
        font-weight: 500;
        transition: all 0.3s ease;
        padding: 10px 15px;
        border-radius: 8px;
        background: rgba(106, 17, 203, 0.1);
        }

        .contact-info .social-icons a:hover {
        color: var(--secondary-color);
        transform: translateY(-4px);
        background: rgba(37, 117, 252, 0.1);
        }

        .dark-mode .contact-info .social-icons a {
        background: rgba(37, 117, 252, 0.1);
        }

        .dark-mode .contact-info .social-icons a:hover {
        background: rgba(255, 222, 89, 0.1);
        }

        /* ===== Footer ===== */
        footer {
        background-color: #1a1a1a;
        color: #e0e0e0;
        text-align: center;
        padding: 40px 25px;
        margin-top: 60px;
        border-top: 1px solid #333;
        font-size: 0.95em;
        }

        .dark-mode footer {
        background-color: #0d0d0d;
        }

        footer p {
        margin-bottom: 20px;
        color: #b0b0b0;
        line-height: 1.6;
        text-align: center;
        }

        .socials {
        margin-top: 20px;
        display: flex;
        justify-content: center;
        gap: 20px;
        }

        .socials a {
        color: #e0e0e0;
        font-size: 2.2em;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
        }

        .socials a:hover {
        color: var(--primary-color);
        transform: translateY(-4px);
        background: rgba(106, 17, 203, 0.2);
        }

        .dark-mode .socials a {
        background: rgba(37, 117, 252, 0.1);
        }

        .dark-mode .socials a:hover {
        color: var(--accent-color);
        background: rgba(255, 222, 89, 0.2);
        }

        /* ===== Highlight Colors ===== */
        .highlight {
        color: var(--accent-color);
        font-weight: 600;
        }

        .highlight-role {
        color: var(--text-light);
        font-weight: 700;
        text-shadow: 1px 1px 3px var(--shadow-dark);
        }

        /* ===== Dark Mode Toggle Button ===== */
        .dark-mode-toggle {
        position: fixed;
        top: 25px;
        right: 25px;
        background: var(--bg-white);
        border: none;
        padding: 14px;
        font-size: 1.6em;
        cursor: pointer;
        z-index: 1000;
        border-radius: 50%;
        box-shadow: 0 3px 12px var(--shadow-medium);
        display: flex;
        justify-content: center;
        align-items: center;
        transition: all 0.3s ease;
        width: 50px;
        height: 50px;
        }

        .dark-mode-toggle:hover {
        transform: scale(1.15) rotate(15deg);
        box-shadow: 0 6px 18px var(--shadow-medium);
        }

        .dark-mode .dark-mode-toggle {
        background-color: #333;
        color: var(--accent-color);
        box-shadow: 0 3px 12px var(--shadow-dark);
        }

        .dark-mode .dark-mode-toggle:hover {
        transform: scale(1.15) rotate(15deg);
        box-shadow: 0 6px 18px var(--shadow-dark);
        }

        /* ===== Download CV Button ===== */
        .btn-download-cv {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        background: linear-gradient(45deg, #1abc9c, #2ecc71);
        color: var(--text-light);
        padding: 15px 30px;
        border-radius: 8px;
        text-decoration: none;
        margin-top: 30px;
        font-weight: 600;
        font-size: 1.1em;
        transition: all 0.3s ease;
        box-shadow: 0 5px 15px var(--shadow-medium);
        }

        .btn-download-cv:hover {
        background: linear-gradient(45deg, #2ecc71, #1abc9c);
        transform: translateY(-5px);
        box-shadow: 0 8px 20px var(--shadow-medium);
        }

        .btn-download-cv i {
        font-size: 1.1em;
        }

        .dark-mode .btn-download-cv {
        background: linear-gradient(45deg, #2ecc71, #1abc9c);
        color: #1a1a1a;
        box-shadow: 0 5px 15px var(--shadow-dark);
        }

        .dark-mode .btn-download-cv:hover {
        background: linear-gradient(45deg, #1abc9c, #2ecc71);
        transform: translateY(-5px);
        box-shadow: 0 8px 20px var(--shadow-dark);
        }

        /* ===== Animations ===== */
        @keyframes slideIn {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
        }

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

        @keyframes fillBar {
        from {
            width: 0;
        }
        to {
            width: var(--target-width);
        }
        }

        /* ===== Responsive Design ===== */
        @media (max-width: 992px) {
        .container {
            max-width: 96%;
        }
        
        section {
            padding: 60px 25px;
        }
        
        .project-grid {
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        }
        }

        @media (max-width: 768px) {
        header h1 {
            font-size: 2.8em;
        }

        header p {
            font-size: 1.05em;
        }

        nav {
            flex-direction: column;
            padding: 8px 0;
        }

        nav a {
            margin: 6px auto;
            width: 90%;
            padding: 10px 15px;
            font-size: 1em;
        }

        .profile-photo {
            width: 160px;
            height: 160px;
            border-width: 5px;
        }

        section {
            padding: 50px 20px;
            margin: 30px auto;
        }

        h2 {
            font-size: 2.4em;
            margin-bottom: 30px;
        }
        
        h2::after {
            width: 70px;
            height: 3px;
        }

        p {
            font-size: 1em;
        }

        .skill-group {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }

        .skill-item {
            flex-direction: column;
            text-align: center;
            gap: 1rem;
            padding: 1.2rem;
        }

        .skill-icon {
            font-size: 2rem;
        }

        .skill p {
            text-align: center;
            margin-bottom: 0.5rem;
        }

        .bar {
            height: 10px;
        }

        .percentage {
            top: -20px;
            font-size: 0.8em;
        }

        .project-grid {
            grid-template-columns: 1fr;
            gap: 25px;
        }

        .project-card {
            padding: 25px;
        }

        .project-card img {
            height: 180px;
            margin-bottom: 15px;
        }

        .project-card h3 {
            font-size: 1.5em;
        }

        .project-card p {
            font-size: 0.95em;
        }

        .project-card ul li {
            font-size: 0.9em;
        }

        .project-links {
            flex-direction: column;
            align-items: center;
        }

        .project-card a {
            padding: 10px 20px;
            font-size: 0.95em;
            margin: 5px;
            width: 200px;
            justify-content: center;
        }

        .testimonial-container {
            grid-template-columns: 1fr;
            gap: 20px;
        }

        .testimonial-box {
            padding: 25px;
        }
        
        .testimonial-box p {
            font-size: 1em;
        }
        
        .testimonial-box span {
            font-size: 0.9em;
        }

        #contact form {
            padding: 30px;
        }

        form input,
        form textarea {
            padding: 12px;
            font-size: 1em;
            margin-bottom: 15px;
        }

        form button {
            padding: 12px 25px;
            font-size: 1em;
        }

        .message {
            padding: 12px;
            font-size: 1em;
        }

        .contact-info {
            padding: 30px;
        }

        .contact-info h3 {
            font-size: 22px;
        }

        .contact-info p {
            font-size: 1em;
            flex-direction: column;
            gap: 8px;
        }

        .contact-info i {
            font-size: 1.3em;
            min-width: 25px;
        }

        .contact-info .social-icons {
            flex-direction: column;
            gap: 10px;
        }

        .contact-info .social-icons a {
            justify-content: center;
        }

        footer {
            padding: 30px 20px;
        }

        .socials {
            gap: 15px;
        }

        .socials a {
            font-size: 1.8em;
            width: 45px;
            height: 45px;
        }

        .dark-mode-toggle {
            top: 15px;
            right: 15px;
            width: 45px;
            height: 45px;
            font-size: 1.4em;
        }
        }

        @media (max-width: 480px) {
        header h1 {
            font-size: 2.2em;
        }

        header p {
            font-size: 1em;
        }

        .header-content {
            padding: 20px;
        }

        .profile-photo {
            width: 140px;
            height: 140px;
        }

        section {
            padding: 40px 15px;
            margin: 20px auto;
        }

        h2 {
            font-size: 2em;
        }

        .project-card {
            padding: 20px;
        }

        .btn-download-cv {
            padding: 12px 25px;
            font-size: 1em;
        }
        
        .container {
            padding: 0 15px;
        }
        }

        /* ===== Print Styles ===== */
        @media print {
        .dark-mode-toggle,
        nav {
            display: none;
        }
        
        body {
            background: white !important;
            color: black !important;
        }
        
        section {
            box-shadow: none !important;
            border: 1px solid #ccc !important;
            break-inside: avoid;
        }
        }

        /* ===== Accessibility ===== */
        @media (prefers-reduced-motion: reduce) {
        * {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }
        }

        /* Focus styles for better accessibility */
        a:focus,
        button:focus,
        input:focus,
        textarea:focus {
        outline: 2px solid var(--secondary-color);
        outline-offset: 2px;
        }

        .dark-mode a:focus,
        .dark-mode button:focus,
        .dark-mode input:focus,
        .dark-mode textarea:focus {
        outline: 2px solid var(--accent-color);
        }

        /* Skip to main content for screen readers */
        .skip-link {
        position: absolute;
        top: -40px;
        left: 6px;
        background: var(--primary-color);
        color: white;
        padding: 8px;
        text-decoration: none;
        border-radius: 4px;
        z-index: 1001;
        transition: top 0.3s;
        }

        .skip-link:focus {
        top: 6px;
        }

            /* ================= JARAK TEKS MAGANG / PKL ================= */
    #internship .project-card {
    justify-content: flex-start;
    }

    #internship p {
    line-height: 1.5;
    margin-bottom: 12px;
    }

    #internship ul {
    margin-top: 10px;
    }

    #internship ul li {
    margin-bottom: 6px;
    line-height: 1.4;
    }

