:root {
    --dark-bg-primary: #161616;
    --dark-bg-secondary: rgba(33, 33, 41, 0.95);
    --dark-text-primary: #ffffff;
    --dark-text-secondary: #e0e0e0;
    --dark-accent-primary: #5A69E9;
    --dark-accent-secondary: #4C5265;
    --dark-card-bg: #222;
    --dark-card-shadow: rgba(0, 0, 0, 0.5);
    --dark-scrollbar-track: #2b2b2b;
    --dark-scrollbar-thumb: #666;
    
    --light-bg-primary: #f9f9f9;
    --light-bg-secondary: rgba(255, 255, 255, 0.95);
    --light-text-primary: #333;
    --light-text-secondary: #444;
    --light-accent-primary: rgba(146, 228, 231, 0.897);
    --light-accent-secondary: rgba(75, 134, 161, 0.95);
    --light-card-bg: #fff;
    --light-card-shadow: rgba(0, 0, 0, 0.1);
    --light-scrollbar-track: #f1f1f1;
    --light-scrollbar-thumb: #c1c1c1;

    --border-radius-small: 5px;
    --border-radius-medium: 10px;
    --border-radius-large: 15px;
    --transition-speed: 0.3s;
    --box-shadow-standard: 0 4px 6px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 6px 8px rgba(0, 0, 0, 0.15);
    
    
    --gradient-start-color: #3B5BDB;
    --gradient-mid-color: #7950F2;
    --gradient-end-color: #BE4BDB;
    --ai-message-gradient-start: #8A2BE2;
    --ai-message-gradient-end: #ADD8E6;
    --user-message-bg: rgba(255, 255, 255, 0.1);
    --chat-input-bg: rgba(30, 30, 38, 0.5);
    --send-button-gradient-start: #6e48aa;
    --send-button-gradient-end: #9d50bb;
    --ai-avatar-gradient-1: #FF6B6B;
    --ai-avatar-gradient-2: #FFD166;
    --ai-avatar-gradient-3: #06D6A0;
    --ai-avatar-gradient-4: #118AB2;
    --ai-avatar-gradient-5: #073B4C;
    --glassmorphism-bg: rgba(20, 20, 28, 0.7);
    --glassmorphism-blur: 10px;
}

* { 
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

img {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    max-width: 100%;
    height: auto;
}

.great-vibes-regular {
    font-family: "Great Vibes", serif !important; 
    font-weight: 400;
    font-style: normal;
    font-size: 2.5rem; 
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding-top: 60px;
    color: var(--dark-text-primary);
    background-color: var(--dark-bg-primary);
    transition: background-color var(--transition-speed), color var(--transition-speed);
}

body h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
    margin-top: 15px;
    text-align: center;
    color: var(--dark-text-primary);
    display: block;
}

#projects h3, #about h3 {
    text-align: left;
}

.h3-title-AI{
    font-family: "Pixelify Sans", serif !important; 
    font-size: 30px;
    text-align: center;
    margin-bottom: 25px;
    background: linear-gradient(to right, var(--ai-message-gradient-start), var(--ai-message-gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

nav {
    background: var(--dark-bg-secondary); 
    color: var(--dark-text-primary);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 4px var(--dark-card-shadow);
    backdrop-filter: blur(2px);
    transition: background-color var(--transition-speed), color var(--transition-speed), box-shadow var(--transition-speed);
}

nav > li {
    list-style: none;
    display: flex;
    align-items: center;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

@media (min-width: 769px) {
    .nav-controls {
        order: 3;
    }
}

nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: var(--dark-text-primary);
    text-decoration: none;
    padding: 5px 10px;
    transition: background var(--transition-speed), color var(--transition-speed);
    border-radius: var(--border-radius-small);
}

.nav-AI {
    font-family: "Pixelify Sans", serif !important;
    font-size: 18px;
    background: linear-gradient(45deg, var(--gradient-start-color), var(--gradient-mid-color));
    background-size: 200% 200%;
    animation: gradientShift 5s ease infinite;
    border-radius: var(--border-radius-small);
}

.nav-AI:hover {
    background: linear-gradient(45deg, var(--gradient-start-color), var(--gradient-end-color));
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

nav ul li a:hover {
    background: var(--dark-accent-primary);
    color: #000;
    border-radius: var(--border-radius-small);
}

body.light-mode {
    background: #ffffff;
    color: #000;
}

body.light-mode nav {
    backdrop-filter: blur(0.5px);
    background: var(--light-bg-secondary); 
    color: var(--light-text-primary);
    box-shadow: 0 2px 4px var(--light-card-shadow);
}

body.light-mode nav ul li a {
    color: var(--light-text-primary);
}

body.light-mode nav ul li a:hover {
    background: var(--light-accent-primary); 
    color: var(--light-text-primary);
}

body.light-mode h3 {
    color: var(--light-text-primary);
}

body.light-mode .h3-title-AI {
    background: linear-gradient(to right, rgba(75, 134, 161, 0.95), rgba(100, 150, 255, 0.95));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-mode .nav-AI {
    background: linear-gradient(45deg, rgba(75, 134, 161, 0.95), rgba(100, 150, 255, 0.95));
    background-size: 200% 200%;
    animation: gradientShift 5s ease infinite;
}

body.light-mode .nav-AI:hover {
    background: linear-gradient(45deg, rgba(100, 150, 255, 0.95), rgba(75, 134, 161, 0.95));
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* ===== AI Chatbot Styling ===== */


@keyframes background-flow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

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

#chatbot-container {
    position: relative;
    width: 90%;
    max-width: 800px;
    height: 600px;
    margin: 0 auto;
    background: var(--glassmorphism-bg);
    backdrop-filter: blur(var(--glassmorphism-blur));
    -webkit-backdrop-filter: blur(var(--glassmorphism-blur));
    border-radius: var(--border-radius-large);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeIn 0.6s ease-out;
}

#chat-header {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}



#chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    scroll-behavior: smooth;
    
    scrollbar-width: none; 
    -ms-overflow-style: none; 
}

#chat-messages::-webkit-scrollbar {
    display: none; 
}

.ai-message {
    align-self: flex-start;
    max-width: 80%;
    padding: 12px 16px;
    background: rgba(60, 60, 80, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 18px 18px 18px 0;
    position: relative;
    animation: fadeIn 0.5s ease-out;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(140, 140, 200, 0.3);
}

/* AI message text styling */


.ai-message-container {
    font-size: 17px !important;
    font-family: "Pixelify Sans", serif !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    display: inline !important;
}


.ai-message-text {
    font-size: 17px !important;
    font-family: "Pixelify Sans", serif !important;
    font-weight: 400 !important;
    letter-spacing: 0.3px !important;
    line-height: 1.6 !important;
    text-shadow: 0px 0px 1px rgba(138, 43, 226, 0.1) !important;
    background: linear-gradient(to right, var(--ai-message-gradient-start), var(--ai-message-gradient-end)) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}


.emoji {
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;
    font-size: 18px !important;
    display: inline !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
}

.user-message {
    align-self: flex-end;
    max-width: 80%;
    padding: 12px 16px;
    background: var(--user-message-bg);
    border-radius: 18px 18px 0 18px;
    color: var(--dark-text-primary);
    animation: fadeIn 0.5s ease-out;
}

#chat-input-area {
    padding: 15px 20px;
    display: flex;
    gap: 10px;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#chat-input {
    flex: 1;
    padding: 12px 15px;
    background: var(--chat-input-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    color: var(--dark-text-primary);
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

#chat-input:focus {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 0 2px rgba(122, 80, 242, 0.3);
}

#send-button {
    padding: 8px 15px;
    background-color: #5A69E9;
    color: #ffffff;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#send-button:hover {
    background-color: #8791e9;
}

.ai-typing-indicator {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    background: rgba(48, 48, 68, 0.4);
    width: fit-content;
    border-radius: 18px 18px 18px 0;
    margin-top: 10px;
    order: -1; 
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.typing-dots {
    display: flex;
    gap: 4px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(to right, var(--ai-message-gradient-start), var(--ai-message-gradient-end));
    animation: bounce 1.5s infinite;
}

.dot:nth-child(2) {
    animation-delay: 0.2s;
}

.dot:nth-child(3) {
    animation-delay: 0.4s;
}

body.light-mode #chatbot-container {
    background: rgba(240, 245, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(100, 150, 255, 0.15);
    border: 1px solid rgba(75, 134, 161, 0.3);
}

body.light-mode .project-card {
    background: rgba(230, 240, 255, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(100, 150, 255, 0.15);
    border: 1px solid rgba(75, 134, 161, 0.3);
}

body.light-mode .ai-message {
    background: rgba(230, 240, 255, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(100, 150, 255, 0.15);
    border: 1px solid rgba(75, 134, 161, 0.3);
}

body.light-mode .user-message {
    background: linear-gradient(135deg, rgba(75, 134, 161, 0.8), rgba(100, 150, 255, 0.7));
    box-shadow: 0 2px 10px rgba(100, 150, 255, 0.15);
    border: 1px solid rgba(75, 134, 161, 0.3);
    color: #fff;
}

body.light-mode #chat-input {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    border: 1px solid rgba(75, 134, 161, 0.3);
    box-shadow: 0 2px 5px rgba(100, 150, 255, 0.05);
}

body.light-mode .ai-typing-indicator {
    background: rgba(230, 240, 255, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(100, 150, 255, 0.15);
    border: 1px solid rgba(75, 134, 161, 0.3);
}

.header-background {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 101.95%;
    height: 118.1%;
    overflow: hidden;
    z-index: -1;
}

.content--canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

header {
    color: #fff;
    padding: 20px;
    text-align: center;
}

header h2 {
    font-size: 3em;
    margin: 0;
}

.header-title {
    font-size: 1.5rem;
    margin: 0;
    font-weight: 300;
}

header p {
    margin: 5px 0;
}

header .buttons a {
    display: inline-block;
    margin: 10px 5px;
    padding: 15px 30px;
    color: #fff;
    background: rgba(90, 70, 120, 0.7);
    text-decoration: none;
    border-radius: 10px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(140, 140, 200, 0.3);
    transition: all 0.3s;
}

header .buttons a:hover {
    background: linear-gradient(45deg, var(--gradient-start-color), var(--gradient-mid-color));
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(138, 43, 226, 0.3);
}

.button-wrapper {
    position: relative; 
    display: inline-block; 
}

.tooltip-buttons {
    position: absolute;
    top: 100%; 
    left: 50%;
    transform: translateX(-50%);
    margin-top: 8px; 
    background-color: #ffffff; 
    color: #000000; 
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); 
    opacity: 0; 
    pointer-events: none; 
    transition: opacity 0.3s ease; 
    z-index: 10; 
}

.button-wrapper:hover .tooltip-buttons {
    opacity: 0.8; 
}

main {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 1600px) {
    main {
        max-width: 1500px;
    }
}

section {
    margin-bottom: 150px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    scroll-margin-top: 75px; 
}

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

.about-text{
    font-size: 1.5rem;
    padding : 2rem 0rem;
    font-weight: 300;
}

#skills {
    text-align: center;
    padding: 20px;
}

.skills-container {
    display: flex; 
    justify-content: space-between; 
    gap: 20px; 
    flex-wrap: wrap; 
    max-width: 1050px; 
    margin: 0 auto; 
    padding: 3rem;
}

.skills-column {
    flex: 1; 
    min-width: 350px;
    padding: 18px;
    background: rgba(60, 60, 80, 0.7); 
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 15px; 
    text-align: left; 
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(140, 140, 200, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

#skills ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#skills li {
    display: flex;
    align-items: center;
    justify-content: flex-start; 
    margin: 12px 0;
    padding: 12px;
    background: rgba(55, 55, 78, 0.5); 
    border-radius: 10px; 
    border: 1px solid rgba(140, 140, 200, 0.2);
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#skills li:hover {
    transform: translateX(10px) scale(1.02);
    background: rgba(70, 70, 100, 0.6);
    box-shadow: 0 4px 12px rgba(138, 43, 226, 0.15);
    border: 1px solid rgba(140, 140, 200, 0.4);
}

.icon {
    flex-shrink: 0; 
    width: 3.5em; 
    height: 3.5em;
    margin-right: 10px;
}

.section-title {
    flex: 0 0 auto; 
    margin-right: 10px; 
    white-space: nowrap; 
    color: #ffffff; 
    font-weight: bold; 
}

.skills-content {
    flex: 1; 
    color: #cccccc;
    font-style: italic;
    overflow: visible; 
}

.competencies-title {
    min-width: max-content; 
}

@media (max-width: 768px) {
    .skills-container {
        flex-direction: column; 
        padding: 1rem;
    }

    .skills-column {
        flex: 1 1 100%;
        margin-bottom: 20px;
        min-width: unset;
    }

    .icon {
        width: 2.5em;
        height: 2.5em;
    }
    
    #skills li {
        flex-wrap: wrap; 
    }
    
    .programming-title, .competencies-title {
        flex-basis: 100%;
        margin-bottom: 8px;
    }
    
    .icon-container {
        margin-left: 0;
        margin-top: 8px;
    }
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    padding: 20px 0;
}

.project-card-link {
    text-decoration: none;
    color: inherit;
}

@media (min-width: 601px) {
    .project-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .project-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .project-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.project-card {
    position: relative;
    overflow: hidden;
    background: rgba(60, 60, 80, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 15px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 180px;
    border: 1px solid rgba(140, 140, 200, 0.3);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.project-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    filter: blur(6px) brightness(0.6);
    transform: scale(1.1);
    opacity: 0.8;
    transition: transform .4s ease, filter .4s ease, opacity .4s ease;
    color: var(--dark-text-primary);
}

.filmforge-card::before    { background-image: url('assets/projects_backgrounds/FilmForge.webp'); }
.ehotels-card::before      { background-image: url('assets/projects_backgrounds/eHotels.webp'); }
.tails-card::before        { background-image: url('assets/projects_backgrounds/TAILS.webp'); }
.trafficlight-card::before { background-image: url('assets/projects_backgrounds/TrafficLight.webp'); }

.project-card:hover::before,
.project-card:focus-visible::before {
    filter: blur(0) brightness(1);
    transform: scale(1.05) translateY(-4px);
    opacity: 1;
}

.project-card:hover,
.project-card:focus-visible {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 25px rgba(138, 43, 226, 0.2);
    background: linear-gradient(145deg, rgba(70, 70, 100, 0.8), rgba(60, 60, 90, 0.9));
    border: 1px solid rgba(140, 140, 220, 0.5);
}

.project-card h4,
.project-card p {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, .6);
}

.project-card a {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, .6);
}

body.light-mode .project-card {
    box-shadow: 0 4px 8px var(--light-card-shadow);
    color: #ffffff;
    border: 2px solid var(--light-accent-secondary);
}

body.light-mode .project-card:hover,
body.light-mode .project-card:focus-visible {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 25px rgba(100, 150, 255, 0.2);
    background: linear-gradient(145deg, rgba(240, 240, 255, 0.9), rgba(200, 220, 255, 0.9));
    border: 1px solid rgba(75, 134, 161, 0.5);
}

body.light-mode .project-card h4,
body.light-mode .project-card p,
body.light-mode .project-card a {
    color: white !important;
}

.project-card h4 {
    margin-top: 0;
    color: #ffffff;
}

.project-card p {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, .6);
}

.project-card a {
    display: inline-block;
    margin-top: 10px;
    color: #ffffff;
    text-decoration: none;
}

.project-card img {
    width: 24px;
    height: 24px;
}

footer {
    background: #161616;
    color: #fff;
    text-align: center;
    padding: 10px 0;
}

[data-aos="fade-up"] {
    transform: translateY(50px);
    opacity: 0;
    transition: transform 0.6s ease-out, opacity 0.6s ease-out;
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
    opacity: 1;
}

#contact {
    text-align: center;
}

#contact a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

#contact a:hover {
    color: rgba(146, 228, 231, 0.897);  
}

footer a {
    text-decoration: none; 
    color: inherit;
}

footer a:hover {
    color: #b5c7eb;      
}

.contact-form {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(60, 60, 80, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(140, 140, 200, 0.3);
}

.contact-form .form-group {
    margin-bottom: 15px;
}

.contact-form label {
    display: block;
    font-size: 1rem;
    margin-bottom: 5px;
    color: #fff;
    text-align: left;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    font-size: 1rem;
    border: 1px solid rgba(140, 140, 200, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    color: #000;
    text-align: left;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

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

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(138, 43, 226, 0.5);
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.2);
    background: rgba(255, 255, 255, 1);
}

.contact-form .submit-btn {
    display: block;
    background-color: #5A69E9;
    color: #ffffff;
    padding: 15px 20px;
    font-size: 1.5rem;
    margin: 20px auto;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s;
}

.contact-form .submit-btn:hover {
    background-color: #8791e9;
}

body.light-mode {
    background: #ffffff;
    color: #000;
}

body.light-mode .buttons a {
    background: rgba(200, 220, 255, 0.7);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(75, 134, 161, 0.3);
    box-shadow: 0 4px 15px rgba(100, 150, 255, 0.15);
    color: #333;
}

body.light-mode .buttons a:hover {
    background: linear-gradient(135deg, rgba(75, 134, 161, 0.95), rgba(100, 150, 255, 0.95));
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(100, 150, 255, 0.3);
    color: #fff;
}

body.light-mode #contact a:hover {
    color: #5A69E9;
}

body.light-mode header {
    color: #000000;
}

body.light-mode .skills-column {
    background: rgba(200, 220, 255, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(75, 134, 161, 0.3);
    box-shadow: 0 4px 15px rgba(100, 150, 255, 0.15);
}

body.light-mode .skills-content {
    color: #757575; 
}

body.light-mode #skills li {
    background: rgba(230, 240, 255, 0.5);
    color: #333;
    border: 1px solid rgba(75, 134, 161, 0.2);
    box-shadow: 0 2px 5px rgba(100, 150, 255, 0.1);
}

body.light-mode #skills li:hover {
    transform: translateX(10px) scale(1.02);
    background: linear-gradient(145deg, rgba(220, 230, 255, 0.8), rgba(190, 210, 255, 0.9));
    box-shadow: 0 4px 12px rgba(100, 150, 255, 0.2);
    border: 1px solid rgba(75, 134, 161, 0.4);
}

body.light-mode h3 {
    color: #333;
    text-shadow: 0 2px 4px rgba(100, 150, 255, 0.1);
}

body.light-mode .contact-form {
    padding: 1.8rem;
    background: rgba(230, 240, 255, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(100, 150, 255, 0.15);
    border: 1px solid rgba(75, 134, 161, 0.3);
}

body.light-mode .contact-form input,
body.light-mode .contact-form textarea {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    border: 1px solid rgba(75, 134, 161, 0.3);
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(100, 150, 255, 0.05);
}

body.light-mode .contact-form label {  
    color: #333;
}

body.light-mode .contact-form input:focus,
body.light-mode .contact-form textarea:focus {
    outline: none;
    border-color: rgba(75, 134, 161, 0.5);
    box-shadow: 0 0 10px rgba(100, 150, 255, 0.2);
    background: rgba(255, 255, 255, 1);
}

.light-mode .chat-send-btn,
body.light-mode .submit-btn {
    background-color: #5abce9;
    color: #ffffff;
}

.light-mode .chat-send-btn:hover,
body.light-mode .submit-btn:hover {
    background-color: #87cde9;
}

body.light-mode a {
    color: rgba(75, 134, 161, 0.95);
    transition: all 0.3s ease;
}

body.light-mode a:hover {
    color: rgba(100, 150, 255, 0.95);
    text-decoration: none;
}

body.light-mode #contact a {
    color: #5A69E9;
}

body.light-mode section {
    background: transparent;
}

body.light-mode #send-button {
    background-color: #5abce9;
    color: #ffffff;
}

body.light-mode #send-button:hover {
    background-color: #87cde9;
}

body.light-mode::-webkit-scrollbar {
    width: 12px;
}

body.light-mode::-webkit-scrollbar-track {
    background: rgba(230, 240, 255, 0.5);
}

body.light-mode::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(75, 134, 161, 0.8), rgba(100, 211, 255, 0.7));
    border-radius: 6px;
    border: 2px solid rgba(230, 240, 255, 0.5);
}

body.light-mode::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(100, 150, 255, 0.9), rgba(75, 137, 161, 0.8));
}

body.light-mode .chat-container {
    padding: 1.8rem;
    background: rgba(230, 240, 255, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(100, 150, 255, 0.15);
    border: 1px solid rgba(75, 134, 161, 0.3);
}

body.light-mode .ai-message {
    background: rgba(230, 240, 255, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(100, 150, 255, 0.15);
    border: 1px solid rgba(75, 134, 161, 0.3);
}

body.light-mode .user-message {
    background: linear-gradient(135deg, rgba(75, 134, 161, 0.8), rgba(100, 150, 255, 0.7));
    box-shadow: 0 2px 10px rgba(100, 150, 255, 0.15);
    border: 1px solid rgba(75, 134, 161, 0.3);
    color: #fff;
}

.theme-switch {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: transparent; 
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s;
}

.theme-switch:hover {
    transform: scale(1.1);
}

.theme-switch img {
    width: 24px;
    height: 24px;
    display: block;
}

.typing-effect {
    font-family: 'Courier Prime', monospace; 
    letter-spacing: 1px;
    border-right: 5px solid;
    white-space: nowrap; 
    overflow: hidden; 
    display: inline-block;
    width: fit-content;
    animation: 
      typing-erasing 8s steps(17, end) 2.75s infinite,
      cursor-blink 0.7s step-end infinite;
}
  
@keyframes cursor-blink {
    from, to { 
      border-color: rgb(112, 112, 112);
    }
    50% {
      border-color: transparent;
    }
}
  
@keyframes typing-erasing {
    0% {
        width: 0;
    }
    25% {
        width: 17ch;
    }
    75% {
        width: 17ch;
    }
    95% {
        width: 0;
    }
    100% {
        width: 0;
    }
}

nav li {
    list-style-type: none;  
}

.icon-container {
    display: flex;
    gap: 10px; 
}

.icon-wrapper {
    position: relative;
    display: inline-block;
}

.tooltip-icons {
    position: absolute;
    bottom: 110%; 
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 10;
}

.icon-wrapper:hover .tooltip-icons {
    opacity: 0.8;
}

.chat-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.chat-messages {
    height: 400px;
    overflow-y: auto;
    padding: 20px;
    margin-bottom: 20px;
}

.message {
    margin-bottom: 15px;
    padding: 10px 15px;
    border-radius: 8px;
    max-width: 80%;
}

.user-message {
    background: #5A69E9;
    color: white;
    margin-left: auto;
    font-size: 15px;
}

.ai-message {
    background: #323949;
    color: white;
    font-family: "Jersey 20", serif !important; 
    font-size: 18px;
}

.chat-input-container {
    display: flex;
    gap: 10px;
}

#chat-input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
}

#chat-input::placeholder {
    color: #888;
    opacity: 0.8;
}

.chat-send-btn {
    padding: 10px 20px;
    background: #5A69E9;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.chat-send-btn:hover {
    background: #8791e9;
}

@media (max-width: 768px) {
    .chat-container {
        padding: 15px;
    }
    
    .chat-messages {
        padding: 15px;
        height: 350px;
    }
    
    .chat-input-container {
        gap: 8px;
    }
    
    #chat-input {
        padding: 8px;
        font-size: 16px;
    }
    
    .chat-send-btn {
        padding: 8px 15px;
        font-size: 14px;
        white-space: nowrap;
        min-width: 70px;
    }
}

@media (max-width: 480px) {
    .chat-container {
        padding: 10px;
    }
    
    .chat-messages {
        padding: 10px;
        height: 300px;
        margin-bottom: 15px;
    }
    
    .chat-input-container {
        gap: 6px;
    }
    
    #chat-input {
        padding: 8px;
    }
    
    .chat-send-btn {
        padding: 8px 12px;
        font-size: 14px;
        min-width: 60px;
    }
    
    .message {
        padding: 8px 12px;
        margin-bottom: 10px;
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    #chat-input::placeholder {
        font-size: 14px;
        color: #999;
    }
    
    .ai-message {
        font-size: 16px;
        line-height: 1.4;
    }
    
    .user-message {
        font-size: 14px;
        line-height: 1.4;
    }
}

.timeline-section {
    padding: 1rem;
}
  
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 4rem auto;
    min-height: 800px;
}
  
.timeline-line {
    position: absolute;
    width: 4px;
    background-color: #666; 
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}
  
.timeline-item {
    position: relative;
    width: 50%;
    padding: 1rem;
    box-sizing: border-box;
    margin: 2rem 0;
    z-index: 2;
}
  
.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: #fff; 
    border: 3px solid #666;
    border-radius: 50%;
    top: 0;
    z-index: 3;
}
  
.timeline-item.right {
    left: 50%;
}
  
.timeline-item.left {
    left: 0;
}
  
.timeline-item.right::after {
    left: -10px;
}
  
.timeline-item.left::after {
right: -10px;
}
  
.timeline-content {
padding: 1.8rem;
background: rgba(60, 60, 80, 0.7);
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
border-radius: 15px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
border: 1px solid rgba(140, 140, 200, 0.3);
transition: all 0.3s ease;
}

.light-mode .timeline-content {
padding: 1.8rem;
background: rgba(240, 240, 255, 0.8);
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
border-radius: 15px;
box-shadow: 0 4px 12px rgba(100, 150, 255, 0.15);
border: 1px solid rgba(75, 134, 161, 0.3);
transition: all 0.3s ease;
}

.timeline-date {
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #5A69E9;  
}

.light-mode .timeline-date {
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: rgba(75, 134, 161, 0.95); 
}

.timeline-content h4 {
    margin: 0.5rem 0;
    color: #ffffff; 
}
  
.timeline-content p {
    margin: 0.5rem 0;
    color: #ffffff; 
}

.light-mode .timeline-content h4 {
    margin: 0.5rem 0;
    color: #333; 
}
  
.light-mode .timeline-content p {
    margin: 0.5rem 0;
    color: #666; 
}

.timeline-content ul {
    margin: 0.5rem 0;
    padding-left: 1.2rem;
}
  
.timeline-content li {
    margin: 0.3rem 0;
    color: #ffffff; 
}

.timeline-content:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 20px rgba(138, 43, 226, 0.2);
    border: 1px solid rgba(140, 140, 220, 0.5);
    background: linear-gradient(145deg, rgba(70, 70, 100, 0.8), rgba(60, 60, 90, 0.9));
}

.light-mode .timeline-content:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 20px rgba(100, 150, 255, 0.2);
    border: 1px solid rgba(75, 134, 161, 0.5);
    background: linear-gradient(145deg, rgba(240, 240, 255, 0.9), rgba(220, 230, 255, 0.9));
}

.light-mode .timeline-content li {
    margin: 0.3rem 0;
    color: #666; 
}
  
@media (max-width: 768px) {
    .timeline-line {
      left: 0;
    }
    
    .timeline-item {
      width: 100%;
      left: 0 !important;
      padding-left: 2rem;
    }
    
    .timeline-item::after {
      left: -10px !important;
    }
}

.loading-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    color: #ffffff;
    margin: 10px 0;
    opacity: 0.8;
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #5A69E9;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

body.light-mode .loading-spinner {
    border-top-color: rgba(75, 134, 161, 0.95);
}

body.light-mode .loading-indicator {
    color: #333;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

html, body { 
    scroll-padding-top: 70px;
    overflow-x: hidden;
    cursor: url('assets/cursors/normal.svg'), auto;
}

#theme-switch, 
a, button, .button-wrapper, .mobile-menu-toggle {
    cursor: url('assets/cursors/link.svg'), pointer;
}

textarea:focus, 
input:focus, 
input[type="text"]:focus, 
input[type="password"]:focus, 
input[type="email"]:focus, 
input[type="search"]:focus {
    cursor: url('assets/cursors/text.svg'), text;
}

.unavailable, button:disabled {
    cursor: url('assets/cursors/unavailable.cur'), not-allowed;
}

.working-mode {
    cursor: url('assets/cursors/working.ani'), wait;
}

body {
    width:100%;
    height:100%;
    background-color: #000;
}
  
.sparkle {
    position: fixed;
    z-index: 6;
    opacity: 0.5;
    pointer-events: none;
    clip-path: polygon(
      50% 0%,
      61% 35%,
      98% 35%,
      68% 57%,
      79% 91%,
      50% 70%,
      21% 91%,
      32% 57%,
      2% 35%,
      39% 35%
    );
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(255, 100, 200, 0.3);
    border-radius: 10px;
    background-color: rgba(20, 20, 40, 0.9);
}

::-webkit-scrollbar {
    width: 12px;
    background-color: rgba(20, 20, 40, 0.9);
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(255, 50, 150, 0.3);
    background-color: hsla(320, 70%, 50%, 0.7);
}
 
html.light-mode ::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(100, 150, 255, 0.3);
    background-color: rgba(240, 240, 255, 0.3); 
}

html.light-mode ::-webkit-scrollbar {
    background-color: rgba(240, 240, 255, 0.3);
}

html.light-mode ::-webkit-scrollbar-thumb {
    -webkit-box-shadow: inset 0 0 6px rgba(50, 100, 255, 0.3);
    background-color: hsla(210, 70%, 50%, 0.5); 
}
 
@-moz-document url-prefix() {
    html {
        scrollbar-width: thin;
        scrollbar-color: hsla(320, 70%, 50%, 0.7) rgba(20, 20, 40, 0.9);
    }
    
    html.light-mode {
        scrollbar-color: hsla(210, 70%, 50%, 0.5) rgba(240, 240, 255, 0.3);
    }
}

.chat-messages {
    overflow-y: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
  
.chat-messages::-webkit-scrollbar {
    display: none;
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }
    
    nav {
        padding: 10px 15px;
    }
    
    nav > li:first-child {
        margin-right: 0;
    }
    
    .logo_small {
        max-width: 36px;
        height: auto;
    }
    
    .nav-controls {
        gap: 10px;
    }
    
    .theme-switch {
        width: 36px;
        height: 36px;
    }
    
    .mobile-menu-toggle {
        width: 28px;
        height: 20px;
    }
    
    nav ul li {
        width: 100%;
    }
    
    nav ul li a {
        display: block;
        padding: 8px;
        text-align: center;
    }
    
    .nav-AI {
        text-align: center;
        width: 100%;
    }
    
    header h2 {
        font-size: 1.5rem;
    }
    
    .header-title {
        font-size: 0.9rem;
    }
    
    section {
        padding: 20px 15px;
    }
    
    .about-text {
        padding: 15px;
        font-size: 0.9rem;
    }
    
    .buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .button-wrapper {
        margin: 5px;
    }
    
    #skills {
        padding: 20px 15px;
    }
    
    .skills-container {
        gap: 15px;
    }
    
    .skills-column {
        padding: 15px;
    }
    
    #skills li {
        margin-bottom: 10px;
        font-size: 0.9rem;
    }
    
    .icon-container {
        justify-content: center;
        gap: 10px;
    }
    
    .project-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .project-card {
        padding: 15px;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    nav {
        padding: 10px 15px;
    }
    
    nav ul {
        gap: 10px;
    }
    
    header h2 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 30px 20px;
    }
    
    .about-text {
        padding: 20px;
    }
    
    .skills-container {
        gap: 20px;
    }
    
    .project-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media screen and (orientation: landscape) and (max-height: 500px) {
    .chat-messages {
        height: 150px;
    }
    
    .nav ul.active {
        max-height: 80vh;
        overflow-y: auto;
    }
}

@media (hover: none) {
    .project-card:hover,
    #skills li:hover,
    nav ul li a:hover {
        transform: none;
    }
    
    .button-wrapper:active .tooltip-buttons,
    .icon-wrapper:active .tooltip-icons {
        visibility: visible;
        opacity: 1;
    }
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    body {
        text-rendering: optimizeLegibility;
    }
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo_big, .logo_small, nav img, .project-card img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
    margin-right: 10px;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--dark-text-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

body.light-mode .mobile-menu-toggle span {
    background-color: var(--light-text-primary);
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    nav {
        justify-content: space-between;
        padding: 15px 20px;
    }
    
    nav ul {
        position: fixed;
        flex-direction: column;
        background: var(--dark-bg-secondary);
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        padding: 80px 30px 30px;
        gap: 20px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
        z-index: 1000;
    }
    
    body.light-mode nav ul {
        background: var(--light-bg-secondary);
    }
    
    nav ul.active {
        right: 0;
    }
    
    nav ul li {
        width: 100%;
    }
    
    nav ul li a {
        display: block;
        padding: 12px 15px;
        font-size: 1.1rem;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease;
    }
    
    .overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

body.menu-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    button, 
    input[type="submit"],
    .button-wrapper a,
    .icon-wrapper,
    .chat-send-btn {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    input, 
    textarea, 
    select {
        font-size: 16px;
        padding: 12px;
    }
    
    .buttons {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .button-wrapper {
        margin: 0;
    }
    
    .chat-messages {
        -webkit-overflow-scrolling: touch;
    }
    
    .contact-form .submit-btn {
        padding: 15px;
        margin-top: 10px;
    }
    
    .timeline-content {
        padding: 15px;
    }
    
    .timeline-content ul {
        padding-left: 15px;
    }
    
    header {
        padding: 15px 10px;
    }
    
    header h2 {
        font-size: 1.8rem;
    }
    
    .header-title {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .theme-switch {
        width: 40px;
        height: 40px;
        margin-left: 10px;
    }
    
    nav {
        padding: 10px 15px;
    }
    
    @keyframes typing-erasing {
        0% {
            width: 0;
        }
        30% {
            width: 17ch;
        }
        70% {
            width: 17ch;
        }
        90% {
            width: 0;
        }
        100% {
            width: 0;
        }
    }
    
    .tooltip-buttons,
    .tooltip-icons {
        display: none;
    }
}

@media (max-width: 480px) {
    .h3-title-AI {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    #My-AI {
        padding: 10px;
    }
}

.content--canvas,
.sparkle,
.typing-effect,
nav,
.project-card,
#skills li {
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
}

@-moz-document url-prefix() {
  .sparkle {
    opacity: 0.2 !important;
  }
  
  html {
    scrollbar-width: thin;
    scrollbar-color: hsla(320, 70%, 50%, 0.7) rgba(20, 20, 40, 0.9);
    scroll-behavior: auto;
  }
  
  html.light-mode {
    scrollbar-color: hsla(210, 70%, 50%, 0.5) rgba(240, 240, 255, 0.3);
  }
  
  .content--canvas {
    opacity: 0.85;
  }
}

.project-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    filter: blur(6px) brightness(0.6);
    transform: scale(1.1);
    opacity: 0.8;
    transition: transform .4s ease, filter .4s ease, opacity .4s ease;
}

.tech-stack{
  display:flex;
  gap:6px;
  margin:8px 0 4px;
}

.tech-stack img{
  width:24px;
  height:24px;
  object-fit:contain;
  user-select:none;
}

.project-card .github-icon{
  margin:10px auto 0;
  display:block;
  width:36px;
  height:36px;
}

.timeline-item.left .timeline-content ul,
.timeline-item.right .timeline-content ul {
    font-size: 1.1rem;
    font-weight: 300;
}
