/* ===== CSS Custom Properties ===== */
        :root {
            --primary: #6C5CE7;
            --primary-light: #A29BFE;
            --primary-dark: #5A4BD1;
            --white: #FFFFFF;
            --off-white: #F8F9FA;
            --light-gray: #F0F0F5;
            --medium-gray: #B0B0C0;
            --dark-gray: #636E72;
            --text-dark: #2D3436;
            --text-light: #636E72;
            --footer-bg: #1A1A2E;
            --footer-text: #B0B0C0;
            --shadow: 0 4px 20px rgba(108, 92, 231, 0.1);
            --shadow-hover: 0 8px 30px rgba(108, 92, 231, 0.2);
            --transition: all 0.3s ease;
            --radius: 12px;
        }

        /* ===== Reset & Base ===== */
        *, *::before, *::after {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Oxygen, Ubuntu, sans-serif;
            color: var(--text-dark);
            line-height: 1.7;
            background: var(--white);
            overflow-x: hidden;
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: var(--transition);
        }

        ul { list-style: none; }

        img {
            max-width: 100%;
            display: block;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 24px;
        }

        /* ===== Section Styles ===== */
        .section {
            padding: 100px 0;
        }

        .section-header {
            text-align: center;
            margin-bottom: 60px;
        }

        .section-header h2 {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 12px;
        }

        .section-header p {
            font-size: 1.1rem;
            color: var(--text-light);
            max-width: 560px;
            margin: 0 auto;
        }

        .section-header .accent-line {
            width: 60px;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--primary-light));
            border-radius: 2px;
            margin: 16px auto 0;
        }

        /* ===== Scroll Animation ===== */
        .fade-up {
            opacity: 0;
            transform: translateY(40px);
            transition: opacity 0.7s ease, transform 0.7s ease;
        }

        .fade-up.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* ===== Header / Navbar ===== */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            background: rgba(255, 255, 255, 0.97);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(108, 92, 231, 0.08);
            transition: var(--transition);
        }

        .header.scrolled {
            box-shadow: 0 2px 20px rgba(0,0,0,0.06);
        }

        .header .container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 72px;
        }

        .logo {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary);
            letter-spacing: -0.5px;
        }

        .logo span {
            color: var(--text-dark);
        }

        .nav-links {
            display: flex;
            gap: 32px;
        }

        .nav-links a {
            font-size: 0.95rem;
            font-weight: 500;
            color: var(--text-light);
            position: relative;
            padding: 4px 0;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--primary);
            border-radius: 1px;
            transition: var(--transition);
        }

        .nav-links a:hover,
        .nav-links a.active {
            color: var(--primary);
        }

        .nav-links a:hover::after,
        .nav-links a.active::after {
            width: 100%;
        }

        .hamburger {
            display: none;
            flex-direction: column;
            gap: 5px;
            cursor: pointer;
            background: none;
            border: none;
            padding: 4px;
        }

        .hamburger span {
            width: 26px;
            height: 2.5px;
            background: var(--text-dark);
            border-radius: 2px;
            transition: var(--transition);
        }

        .hamburger.open span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }

        .hamburger.open span:nth-child(2) {
            opacity: 0;
        }

        .hamburger.open span:nth-child(3) {
            transform: rotate(-45deg) translate(5px, -5px);
        }

        /* ===== Hero Section ===== */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            padding-top: 72px;
            background: var(--white);
        }

        .hero .container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 60px;
        }

        .hero-content {
            flex: 1;
            max-width: 560px;
        }

        .hero-content .greeting {
            font-size: 1.1rem;
            color: var(--primary);
            font-weight: 600;
            margin-bottom: 8px;
            letter-spacing: 1px;
            text-transform: uppercase;
        }

        .hero-content h1 {
            font-size: 3.5rem;
            font-weight: 800;
            line-height: 1.15;
            color: var(--text-dark);
            margin-bottom: 8px;
        }

        .hero-content h1 .highlight {
            color: var(--primary);
        }

        .hero-content .subtitle {
            font-size: 1.5rem;
            font-weight: 600;
            color: var(--primary-light);
            margin-bottom: 20px;
        }

        .hero-content p {
            font-size: 1.05rem;
            color: var(--text-light);
            margin-bottom: 32px;
            line-height: 1.8;
        }

        .hero-buttons {
            display: flex;
            gap: 16px;
            flex-wrap: wrap;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 14px 32px;
            border-radius: 50px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            border: 2px solid transparent;
        }

        .btn-primary {
            background: var(--primary);
            color: var(--white);
            border-color: var(--primary);
        }

        .btn-primary:hover {
            background: var(--primary-dark);
            border-color: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: var(--shadow-hover);
        }

        .btn-outline {
            background: transparent;
            color: var(--primary);
            border-color: var(--primary);
        }

        .btn-outline:hover {
            background: var(--primary);
            color: var(--white);
            transform: translateY(-2px);
        }

        .hero-image {
            flex-shrink: 0;
        }

        .hero-image .photo-wrapper {
            width: 360px;
            height: 360px;
            border-radius: 50%;
            overflow: hidden;
            border: 5px solid var(--primary-light);
            box-shadow: 0 0 0 12px rgba(162, 155, 254, 0.15), var(--shadow-hover);
        }

        .hero-image .photo-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* ===== About Section ===== */
        .about {
            background: var(--off-white);
        }

        .about-grid {
            display: flex;
            align-items: center;
            gap: 60px;
        }

        .about-photo {
            flex-shrink: 0;
        }

        .about-photo img {
            width: 380px;
            height: 380px;
            object-fit: cover;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
        }

        .about-text {
            flex: 1;
        }

        .about-text h3 {
            font-size: 1.6rem;
            font-weight: 700;
            margin-bottom: 16px;
            color: var(--text-dark);
        }

        .about-text p {
            font-size: 1rem;
            color: var(--text-light);
            margin-bottom: 24px;
            line-height: 1.8;
        }

        .skill-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .skill-tags span {
            padding: 8px 18px;
            background: var(--white);
            color: var(--primary);
            border-radius: 50px;
            font-size: 0.88rem;
            font-weight: 600;
            border: 1px solid rgba(108, 92, 231, 0.15);
            transition: var(--transition);
        }

        .skill-tags span:hover {
            background: var(--primary);
            color: var(--white);
            transform: translateY(-2px);
        }

        /* ===== Skills Section ===== */
        .skills-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px 60px;
        }

        .skill-item {
            width: 100%;
        }

        .skill-item .skill-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 10px;
        }

        .skill-item .skill-name {
            font-size: 1rem;
            font-weight: 600;
            color: var(--text-dark);
        }

        .skill-item .skill-percent {
            font-size: 0.95rem;
            font-weight: 700;
            color: var(--primary);
        }

        .skill-bar {
            width: 100%;
            height: 10px;
            background: var(--light-gray);
            border-radius: 5px;
            overflow: hidden;
        }

        .skill-bar .skill-fill {
            height: 100%;
            background: linear-gradient(90deg, var(--primary), var(--primary-light));
            border-radius: 5px;
            width: 0;
            transition: width 1.5s ease;
        }

        /* ===== Timeline / Journey Section ===== */
        .journey {
            background: var(--off-white);
        }

        .timeline {
            position: relative;
            max-width: 800px;
            margin: 0 auto;
            padding-left: 40px;
        }

        .timeline::before {
            content: '';
            position: absolute;
            left: 15px;
            top: 0;
            bottom: 0;
            width: 3px;
            background: linear-gradient(180deg, var(--primary), var(--primary-light));
            border-radius: 2px;
        }

        .timeline-item {
            position: relative;
            margin-bottom: 48px;
            padding-left: 40px;
        }

        .timeline-item:last-child {
            margin-bottom: 0;
        }

        .timeline-item::before {
            content: '';
            position: absolute;
            left: -26px;
            top: 8px;
            width: 16px;
            height: 16px;
            background: var(--white);
            border: 3px solid var(--primary);
            border-radius: 50%;
            z-index: 1;
        }

        .timeline-item .timeline-date {
            display: inline-block;
            padding: 4px 16px;
            background: var(--primary);
            color: var(--white);
            border-radius: 50px;
            font-size: 0.85rem;
            font-weight: 600;
            margin-bottom: 12px;
        }

        .timeline-item h3 {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 6px;
        }

        .timeline-item .timeline-company {
            font-size: 0.95rem;
            color: var(--primary);
            font-weight: 600;
            margin-bottom: 10px;
        }

        .timeline-item p {
            font-size: 0.95rem;
            color: var(--text-light);
            line-height: 1.7;
        }

        /* ===== Projects / Portfolio Section ===== */
        .projects-carousel {
            position: relative;
            overflow: hidden;
        }

        .projects-track {
            display: flex;
            transition: transform 0.5s ease;
        }

        .project-card {
            min-width: 100%;
            padding: 0 20px;
        }

        .project-card-inner {
            background: var(--white);
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: var(--transition);
        }

        .project-card-inner:hover {
            box-shadow: var(--shadow-hover);
            transform: translateY(-4px);
        }

        .project-card-inner img {
            width: 100%;
            height: 320px;
            object-fit: cover;
        }

        .project-info {
            padding: 28px;
        }

        .project-info h3 {
            font-size: 1.35rem;
            font-weight: 700;
            margin-bottom: 10px;
            color: var(--text-dark);
        }

        .project-info p {
            font-size: 0.95rem;
            color: var(--text-light);
            margin-bottom: 16px;
            line-height: 1.7;
        }

        .project-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 20px;
        }

        .project-tags span {
            padding: 5px 14px;
            background: rgba(108, 92, 231, 0.08);
            color: var(--primary);
            border-radius: 50px;
            font-size: 0.82rem;
            font-weight: 600;
        }

        .project-links {
            display: flex;
            gap: 12px;
        }

        .project-links a {
            padding: 10px 22px;
            border-radius: 50px;
            font-size: 0.9rem;
            font-weight: 600;
            transition: var(--transition);
        }

        .project-links .link-demo {
            background: var(--primary);
            color: var(--white);
        }

        .project-links .link-demo:hover {
            background: var(--primary-dark);
        }

        .project-links .link-code {
            border: 2px solid var(--primary);
            color: var(--primary);
        }

        .project-links .link-code:hover {
            background: var(--primary);
            color: var(--white);
        }

        .carousel-dots {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-top: 32px;
        }

        .carousel-dots .dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: var(--light-gray);
            border: 2px solid var(--medium-gray);
            cursor: pointer;
            transition: var(--transition);
        }

        .carousel-dots .dot.active {
            background: var(--primary);
            border-color: var(--primary);
            transform: scale(1.2);
        }

        /* ===== Testimonials Section ===== */
        .testimonials {
            background: var(--off-white);
        }

        .testimonials-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 32px;
        }

        .testimonial-card {
            background: var(--white);
            padding: 36px;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            transition: var(--transition);
            position: relative;
        }

        .testimonial-card:hover {
            box-shadow: var(--shadow-hover);
            transform: translateY(-4px);
        }

        .testimonial-card .quote-icon {
            font-size: 3rem;
            color: var(--primary-light);
            opacity: 0.3;
            line-height: 1;
            margin-bottom: 12px;
        }

        .testimonial-card p {
            font-size: 1rem;
            color: var(--text-light);
            line-height: 1.8;
            margin-bottom: 24px;
            font-style: italic;
        }

        .testimonial-author {
            display: flex;
            align-items: center;
            gap: 14px;
        }

        .testimonial-author img {
            width: 52px;
            height: 52px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid var(--primary-light);
        }

        .testimonial-author .author-info h4 {
            font-size: 1rem;
            font-weight: 700;
            color: var(--text-dark);
        }

        .testimonial-author .author-info span {
            font-size: 0.85rem;
            color: var(--primary);
            font-weight: 500;
        }

        /* ===== Contact Section ===== */
        .contact-grid {
            display: grid;
            grid-template-columns: 1fr 1.3fr;
            gap: 60px;
        }

        .contact-info h3 {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 12px;
            color: var(--text-dark);
        }

        .contact-info > p {
            font-size: 1rem;
            color: var(--text-light);
            margin-bottom: 32px;
            line-height: 1.7;
        }

        .contact-details {
            display: flex;
            flex-direction: column;
            gap: 24px;
        }

        .contact-item {
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .contact-item .icon {
            width: 50px;
            height: 50px;
            background: rgba(108, 92, 231, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .contact-item .icon svg {
            width: 22px;
            height: 22px;
            fill: var(--primary);
        }

        .contact-item .detail h4 {
            font-size: 0.95rem;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 2px;
        }

        .contact-item .detail span {
            font-size: 0.9rem;
            color: var(--text-light);
        }

        .contact-form {
            background: var(--white);
            padding: 40px;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--text-dark);
            margin-bottom: 6px;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 14px 18px;
            border: 2px solid var(--light-gray);
            border-radius: 10px;
            font-size: 0.95rem;
            font-family: inherit;
            color: var(--text-dark);
            transition: var(--transition);
            background: var(--off-white);
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--primary);
            background: var(--white);
            box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.1);
        }

        .form-group input.invalid,
        .form-group textarea.invalid {
            border-color: #E74C3C;
        }

        .form-group input.valid,
        .form-group textarea.valid {
            border-color: #00B894;
        }

        .form-group textarea {
            resize: vertical;
            min-height: 130px;
        }

        .contact-form .btn-primary {
            width: 100%;
            padding: 16px;
            font-size: 1rem;
        }

        /* ===== Footer ===== */
        .footer {
            background: var(--footer-bg);
            color: var(--footer-text);
            padding: 70px 0 30px;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
            gap: 40px;
            margin-bottom: 50px;
        }

        .footer-col h3 {
            font-size: 1.15rem;
            font-weight: 700;
            color: var(--white);
            margin-bottom: 20px;
        }

        .footer-col p {
            font-size: 0.9rem;
            line-height: 1.8;
            margin-bottom: 16px;
        }

        .footer-col .footer-logo {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary-light);
            margin-bottom: 14px;
        }

        .footer-col ul li {
            margin-bottom: 10px;
        }

        .footer-col ul li a {
            font-size: 0.9rem;
            color: var(--footer-text);
        }

        .footer-col ul li a:hover {
            color: var(--primary-light);
            padding-left: 6px;
        }

        .footer-col .contact-line {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 12px;
            font-size: 0.9rem;
        }

        .footer-col .contact-line svg {
            width: 16px;
            height: 16px;
            fill: var(--primary-light);
            flex-shrink: 0;
        }

        .social-icons {
            display: flex;
            gap: 12px;
            margin-top: 20px;
        }

        .social-icons a {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.08);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
        }

        .social-icons a:hover {
            background: var(--primary);
            transform: translateY(-3px);
        }

        .social-icons a svg {
            width: 18px;
            height: 18px;
            fill: var(--white);
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            padding-top: 24px;
            text-align: center;
            font-size: 0.88rem;
            color: var(--medium-gray);
        }

        /* ===== Responsive: 1024px ===== */
        @media (max-width: 1024px) {
            .hero .container {
                gap: 40px;
            }

            .hero-image .photo-wrapper {
                width: 300px;
                height: 300px;
            }

            .hero-content h1 {
                font-size: 2.8rem;
            }

            .about-photo img {
                width: 300px;
                height: 300px;
            }

            .skills-grid {
                gap: 30px 40px;
            }

            .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: 32px;
            }
        }

        /* ===== Responsive: 768px ===== */
        @media (max-width: 768px) {
            .nav-links {
                position: fixed;
                top: 72px;
                left: 0;
                width: 100%;
                background: var(--white);
                flex-direction: column;
                align-items: center;
                padding: 24px 0;
                gap: 16px;
                box-shadow: 0 8px 20px rgba(0,0,0,0.08);
                transform: translateY(-120%);
                transition: transform 0.35s ease;
                z-index: 999;
            }

            .nav-links.open {
                transform: translateY(0);
            }

            .hamburger {
                display: flex;
            }

            .hero .container {
                flex-direction: column-reverse;
                text-align: center;
                padding-top: 40px;
            }

            .hero-content {
                max-width: 100%;
            }

            .hero-content h1 {
                font-size: 2.4rem;
            }

            .hero-buttons {
                justify-content: center;
            }

            .hero-image .photo-wrapper {
                width: 240px;
                height: 240px;
            }

            .about-grid {
                flex-direction: column;
                text-align: center;
            }

            .about-photo img {
                width: 260px;
                height: 260px;
            }

            .skill-tags {
                justify-content: center;
            }

            .skills-grid {
                grid-template-columns: 1fr;
                gap: 24px;
            }

            .testimonials-grid {
                grid-template-columns: 1fr;
            }

            .contact-grid {
                grid-template-columns: 1fr;
                gap: 40px;
            }

            .section {
                padding: 70px 0;
            }

            .section-header h2 {
                font-size: 2rem;
            }

            .footer-grid {
                grid-template-columns: 1fr;
                gap: 28px;
            }

            .project-card-inner img {
                height: 220px;
            }
        }