/*==================================================================================*/
/*==================================================================================*/
/*==================================================================================*/
/*==================================================================================*/

/*Index.html*/
        :root {
            /*Whole Body*/
            --bg: #f5eee8;
            --card: #ffffff;
            --accent: #f3e6a4;
            --text: #2f2f2f;

            /*Highlight*/
            --highlight: #2f2f2f;
            --highlight-bg: rgba(243, 230, 164, 0.3);

            /* Modal */
            --modal-bg: #ffffff;
            --modal-text: #2f2f2f;
            --modal-overlay: rgba(0, 0, 0, 0.6);
            --modal-border: rgba(0, 0, 0, 0.1);

            /*Footer*/
            --footer-bg: linear-gradient(180deg, #f5eee8, #ffffff);
            --footer-text: #2f2f2f;
            --footer-border: rgba(0, 0, 0, 0.2);
        }* {
            box-sizing: border-box;
        }

        body {
            margin: 0;
            font-family: "Segoe UI", sans-serif;
            background: var(--bg);
            color: var(--text);

            /*Anti highlight for pc users / laptop */
            user-select: none;
        }
        
        body.dark {
            /*Whole body*/
            --bg: #121212;
            --card: #1e1e1e;
            --accent: #5f5525;
            --text: #eaeaea;
            --muted: #b5b5b5;

            /*Highlight*/
            --highlight: #ffffff;
            --highlight-bg: rgba(255, 255, 255, 0.15);

            /* Modal */
            --modal-bg: #1e1e1e;
            --modal-text: #eaeaea;
            --modal-overlay: rgba(0, 0, 0, 0.75);
            --modal-border: rgba(255, 255, 255, 0.15);

            /*Footer*/
            --footer-bg: linear-gradient(180deg, #1a1a1a, #121212);
            --footer-text: #eaeaea;
            --footer-border: rgba(255, 255, 255, 0.15);

        }
        p {
            color: var(--muted);
        }

        
        header {
            max-width: 1200px;
            margin: auto;
            padding: 40px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        header h1 {
            font-size: 35px;
            font-weight: 500;
        }

        nav a {
            margin-left: 30px;
            text-decoration: none;
            color: var(--text);
            font-size: 16px;
        }nav a.active {
            color: var(--highlight);
            text-decoration: underline;
            font-weight: 600;
        }

        nav a:hover {
            text-decoration: underline;
        }

        .container {
            max-width: 1200px;
            margin: auto;
            padding: 40px 20px 120px;
        }
        .motto {
            margin-top: 120px;
        }

        .motto-card {
            background: var(--card);
            border-radius: 20px;
            padding: 60px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
            align-items: center;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
        }

        .motto-card img {
            width: 100%;
            border-radius: 14px;
        }

        .motto-card h3 {
            font-size: 36px;
            font-weight: 400;
            margin-bottom: 20px;
        }

        .motto-card p {
            line-height: 1.9;
            font-size: 15px;
        }

        /* Responsive */
        @media (max-width: 900px) {
            .motto-card {
                grid-template-columns: 1fr;
                padding: 40px 25px;
            }
        }

        
        .hero {
            position: relative;
            background: var(--card);
            border-radius: 20px;
            padding: 60px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
            align-items: center;
        }

        .hero img {
            width: 100%;
            border-radius: 14px;
        }

        .hero h2 {
            font-size: 42px;
            font-weight: 400;
            line-height: 1.3;
        }

        .highlight {
            background: var(--accent);
            padding: 6px 14px;
            display: inline-block;
        }

        .hero p {
            margin-top: 20px;
            line-height: 1.8;
            font-size: 16px;
        }

        
        .story {
            margin-top: 120px;
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 50px;
            align-items: start;
        }

        .story h3 {
            font-size: 36px;
            font-weight: 400;
            margin-bottom: 20px;
        }

        .story p {
            line-height: 1.9;
            font-size: 15px;
        }

        .story img {
            width: 100%;
            border-radius: 14px;
        }

        
        .facts {
            margin-top: 140px;
            text-align: center;
        }

        .facts h3 {
            font-size: 36px;
            font-weight: 400;
            margin-bottom: 60px;
        }

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

        .fact {
            background: var(--card);
            padding: 25px;
            border-radius: 14px;
            font-size: 15px;
            line-height: 1.7;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
        }

        

        /*Transition Black and white*/
        body,
        .site-footer,
        .hero,
        .fact {
            transition: background 0.4s ease, color 0.4s ease;
        }

        

        /*Profile 1&2 animation + facts*/
        .fade-up {
            opacity: 0;
            transform: translateY(40px);
            transition: opacity 0.9s ease, transform 0.9s ease;
        }

        .fade-up.show {
            opacity: 1;
            transform: translateY(0);
        }

        /*Back to top*/
        #backToTop {
            position: fixed;
            bottom: 30px;
            right: 30px;
            padding: 14px 18px;
            font-size: 20px;
            border-radius: 50%;
            border: none;
            cursor: pointer;
            background: var(--card);
            color: var(--text);
            box-shadow: 0 5px 5px rgba(0,0,0,0.15);
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.4s ease, transform 0.4s ease;
            z-index: 999;
        }

        #backToTop.show {
            opacity: 1;
            pointer-events: auto;
            transform: translateY(0);
        }

        #backToTop:hover {
            transform: translateY(-4px);
        }

        /*Footer*/
        .site-footer {
            background: var(--footer-bg);
            color: var(--footer-text);
            margin-top: 120px;
            padding: 60px 20px 0;
        }

        .footer-container {
            max-width: 1200px;
            margin: auto;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 50px;
            padding-bottom: 40px;
            border-bottom: 1px solid var(--footer-border);
        }

        .footer-brand h3,
        .footer-links h4,
        .footer-connect h4 {
            color: var(--footer-text);
        }

        .footer-brand p,
        .footer-links a,
        .footer-connect a,
        .footer-bottom {
            color: var(--footer-text);
        }

        .footer-links a:hover,
        .footer-connect a:hover {
            opacity: 0.8;
        }

        .social-icons a {
            display: inline-block;
            margin-right: 15px;
        }

        .footer-bottom {
            text-align: center;
            font-size: 13px;
            padding: 20px 0;
            color: #2f2f2f;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .footer-container {
                grid-template-columns: 1fr;
                text-align: center;
            }

            .social-icons {
                justify-content: center;
            }
        }

        /*Whole body*/
        @media (max-width: 900px) {
            .hero,
            .story {
                grid-template-columns: 1fr;
            }

            .hero {
                padding: 40px 25px;
            }

            header {
                flex-direction: column;
                gap: 20px;
            }
        }

/*==================================================================================*/
/*==================================================================================*/
/*==================================================================================*/
/*==================================================================================*/

        /*Skills.html*/
        .skill-rating {
            max-width: 1200px;
            margin: 100px auto;
            text-align: center;
        }

        .skill-rating h2 {
            font-size: 45px;
            margin-bottom: 60px;
            font-weight: 600;
        }

        
        .skill-grid {
            display: grid;
            grid-template-columns: repeat(1, 3fr);
            gap: 45px 60px;
            justify-items: center;
        }

        
        .skill-item {
            width: 100%;
            max-width: 360px;
            text-align: center;
        }

        .skill-item h3 {
            margin-bottom: 12px;
            font-weight: 600;
            letter-spacing: 1px;
        }

        .skill-pill {
            position: relative;
            width: 100%;
            height: 56px;              
            border: 2px solid var(--text);
            border-radius: 40px;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            background: transparent;
            transition: all 0.35s ease;
        }

        
        .skill-pill::before {
            content: "";
            position: absolute;
            inset: 0;
            width: var(--level);
            background: rgba(243, 230, 164, 0.6);
            border-radius: 50px;
            z-index: 0;
            transition: width 0.6s ease;
        }

        
        .skill-pill span {
            position: relative;
            z-index: 1;
            font-size: 22px;
            font-weight: 600;
        }

        
        .skill-pill:hover {
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.25);
            transform: translateY(-5px);
        }

        /*Start empty transition*/
        .skill-pill::before {
            content: "";
            position: absolute;
            inset: 0;
            width: 0; 
            background: rgba(243, 230, 164, 0.6);
            border-radius: 50px;
            z-index: 0;
            transition: width 1.2s ease;
        }

        .skill-pill.fill::before {
            width: var(--level);
        }

       
        @media (max-width: 900px) {
            .skill-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 600px) {
            .skill-grid {
                grid-template-columns: 1fr;
            }
        }

        .skill-card {
            background: var(--card);
            border-radius: 20px;
            padding: 60px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
        }

        @media (max-width: 900px) {
            .skill-card {
                padding: 40px 25px;
            }
        }

        /* Soft Skills & Hobbies */
        .soft-hobbies {
            max-width: 1200px;
            margin: 120px auto;
            padding: 20px;
            text-align: center;
        }

        .soft-hobbies h2 {
            font-size: 45px;
            margin-bottom: 60px;
            font-weight: 600;
        }

        .soft-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 40px;
        }

        .soft-card {
            background: var(--card);
            border-radius: 18px;
            padding: 35px 25px;
            box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
            transition: transform 0.4s ease, box-shadow 0.4s ease;
            position: relative;
            overflow: hidden;
        }

        .soft-card::before {
            content: "";
            position: absolute;
            inset: 0;
            background: var(--highlight-bg);
            opacity: 0;
            transition: opacity 0.4s ease;
        }

        .soft-card:hover::before {
            opacity: 1;
        }

        .soft-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
        }

        .soft-card span {
            font-size: 38px;
            display: block;
            margin-bottom: 18px;
        }

        .soft-card h3 {
            font-size: 20px;
            margin-bottom: 10px;
            font-weight: 600;
        }

        .soft-card p {
            font-size: 15px;
            line-height: 1.7;
        }


/*==================================================================================*/
/*==================================================================================*/
/*==================================================================================*/
/*==================================================================================*/


/*Projects.html*/

        /*Head / Title/ Bullet*/
        .accordion-box{
            background: var(--card);
            padding: 25px 30px;
            border-radius: 14px;
            box-shadow: 0 8px 20px rgba(0,0,0,0.08);
            margin-bottom: 20px;
            transition: transform 0.25s ease, box-shadow 0.25s ease;
            cursor: pointer;
        }
        
        .accordion-box h1 {
            margin: 0;
            font-size: 1.45rem;
            font-weight: 600;
        }
        .accordion-box:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 20px rgba(0,0,0,0.12);
        }

        .accordion-header{
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            font-weight: 600;
            padding: 10px 0;
        }

        .accordion-header p{
            margin: 0;
        }

        .accordion-header .icon{
            display: none;
        }

        .accordion-content{
            max-height: 0;
            overflow: hidden;
            margin-top: 0;
            padding-left: 10px;
            transition: max-height 0.45s ease, margin-top 0.3s ease;
        }

        .accordion-content ul{
            margin-top: 5px;
            padding-left: 20px;
        }

        .accordion-content li{
            margin: 6px 0;
        }


        .lesson-link {
           text-decoration: none;
           color: inherit;
           display: block; 
        }

        .lesson-link section {
            cursor: pointer;
        }
/*==================================================================================*/
/*==================================================================================*/
/*==================================================================================*/
/*==================================================================================*/


/*ContactMepage.html*/
/*ContactPage*/
        .contact-wrapper {
            max-width: 1100px;
            margin: 80px auto;
            padding: 0 20px;
            display: grid;
            grid-template-columns: 1.2fr 1fr;
            gap: 50px;
        }

        .contact-card {
            background: var(--card);
            padding: 40px;
            border-radius: 16px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
        }

        .contact-card h2 {
            margin-top: 0;
            font-weight: 500;
            font-size: 28px;
        }

        .contact-card h3 {
            margin-bottom: 8px;
            font-weight: 500;
        }

        .contact-card p {
            line-height: 1.7;
        }

        /* Resume Info */
        .resume-list {
            margin-top: 20px;
        }

        .resume-item {
            margin-bottom: 20px;
        }

        .resume-item span {
            font-size: 14px;
            opacity: 0.7;
        }

        /* Contact Details */
        .contact-info {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .contact-info div {
            background: var(--highlight-bg);
            padding: 18px 22px;
            border-radius: 12px;
        }

        .contact-info strong {
            display: block;
            margin-bottom: 5px;
        }

        /* Contact Form */
        .contact-form input,
        .contact-form textarea {
            width: 100%;
            padding: 14px 16px;
            border-radius: 10px;
            border: 1px solid rgba(0,0,0,0.15);
            margin-bottom: 15px;
            font-family: inherit;
            background: transparent;
            color: var(--text);
        }

        .contact-form textarea {
            resize: none;
            height: 120px;
        }

        .contact-form button {
            padding: 14px;
            border-radius: 12px;
            border: none;
            background: var(--highlight);
            color: #fff;
            font-size: 16px;
            cursor: pointer;
            transition: opacity 0.3s ease;
        }

        .contact-form button:hover {
            opacity: 0.85;
        }

        /* Contact Button */
        .contact-action {
            margin-top: 30px;
        }

        .contact-btn {
            display: inline-block;
            width: 100%;
            text-align: center;
            padding: 16px;
            border-radius: 14px;
            text-decoration: none;
            font-size: 16px;
            font-weight: 500;
            background: var(--highlight);
            color: var(--accent);
            transition: background 0.3s ease, transform 0.2s ease, opacity 0.3s ease;
        }

        .contact-btn:hover {
            opacity: 0.9;
            transform: translateY(-2px);
        }

        /* Responsive */
        @media (max-width: 900px) {
            .contact-wrapper {
                grid-template-columns: 1fr;
            }
        }

        .contact-form h3 {
            margin-bottom: 15px;
            font-weight: 500;
        }

        .contact-form input.error,
        .contact-form textarea.error {
            border: 1px solid red;
        }




/*==================================================================================*/
/*==================================================================================*/
/*==================================================================================*/
/*==================================================================================*/

        /*TEXT DESIGN & LESSONS*/
        .textdesign {
            max-width: 900px;
            margin: 80px auto;
            padding: 40px;
            background: var(--card);
            border-radius: 16px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
            line-height: 1.8;
            position: relative;
        }
        .textdesign::before {
            content: "";
            position: absolute;
            left: 0;
            top: 30px;
            bottom: 30px;
            width: 6px;
            background: var(--accent);
            border-radius: 10px;
        }

        .textdesign > p:first-child {
            font-size: 1.6rem;
            font-weight: 700;
            margin-bottom: 20px;
            color: var(--highlight);
        }

        .textdesign p {
            font-size: 1rem;
            color: var(--text);
        }

        .textdesign ul {
            margin-left: 20px;
        }

        .textdesign li {
            margin-bottom: 12px;
        }

        
        body.dark .textdesign {
            background: #1e1e1e;
            box-shadow: 0 10px 30px rgba(255,255,255,0.05);
        }
        html {
            scroll-behavior: smooth;
        }

