:root {
    /* Purple Theme (Default) */
    --text-color: #ffffff;
    --background-color: #11071F;
    --nav_color: #1A0B2E;
    --purple-accent: #7C3AED;
    --gradient-start: #1A0B2E;
    --gradient-end: #4C1D95;
    --card-bg: rgba(30, 20, 50, 0.8);
    --card-border: rgba(124, 58, 237, 0.3);
    --card-border-hover: rgba(124, 58, 237, 0.6);
    --section-bg-1: rgba(0, 0, 0, 0.2);
    --section-bg-2: rgba(0, 0, 0, 0.15);
    --section-bg-3: rgba(0, 0, 0, 0.3);
    --social-icon-bg: rgba(255, 255, 255, 0.1);
    --social-icon-border: rgba(255, 255, 255, 0.2);
    --btn-border: rgba(124, 58, 237, 0.5);
    --dot-color: rgba(255, 255, 255, 0.6);
}

/* Light Theme */
[data-theme="light"] {
    --text-color: #1F2937;
    --background-color: #F9FAFB;
    --nav_color: #FFFFFF;
    --purple-accent: #7C3AED;
    --gradient-start: #F3F4F6;
    --gradient-end: #E5E7EB;
    --card-bg: rgba(255, 255, 255, 0.9);
    --card-border: rgba(124, 58, 237, 0.2);
    --card-border-hover: rgba(124, 58, 237, 0.4);
    --section-bg-1: rgba(249, 250, 251, 0.8);
    --section-bg-2: rgba(243, 244, 246, 0.8);
    --section-bg-3: rgba(229, 231, 235, 0.8);
    --social-icon-bg: rgba(124, 58, 237, 0.1);
    --social-icon-border: rgba(124, 58, 237, 0.2);
    --btn-border: rgba(124, 58, 237, 0.5);
    --dot-color: rgba(124, 58, 237, 0.6);
}

/* Dark Theme */
[data-theme="dark"] {
    --text-color: #F9FAFB;
    --background-color: #000000;
    --nav_color: #1a1a1a;
    --purple-accent: #7C3AED;
    --gradient-start: #1a1a1a;
    --gradient-end: #2d2d2d;
    --card-bg: rgba(26, 26, 26, 0.9);
    --card-border: rgba(124, 58, 237, 0.3);
    --card-border-hover: rgba(124, 58, 237, 0.6);
    --section-bg-1: rgba(0, 0, 0, 0.8);
    --section-bg-2: rgba(13, 13, 13, 0.8);
    --section-bg-3: rgba(26, 26, 26, 0.8);
    --social-icon-bg: rgba(255, 255, 255, 0.1);
    --social-icon-border: rgba(255, 255, 255, 0.2);
    --btn-border: rgba(124, 58, 237, 0.5);
    --dot-color: rgba(255, 255, 255, 0.6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--background-color) 0%, var(--gradient-start) 50%, var(--gradient-end) 100%);
    min-height: 100vh;
    color: var(--text-color);
    transition: all 0.3s ease;
}

a {
    color: var(--text-color);
    text-decoration: none;
}

/* NAVBAR */
nav {
    display: flex;
    justify-content: space-between;
    padding: 0 50px;
    align-items: center;
    height: 80px;
    background-color: var(--nav_color);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--social-icon-border);
    transition: all 0.3s ease;
}

nav .left a {
    font-size: 22px;
    font-weight: 600;
}

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

nav .right a {
    font-size: 16px;
    margin: 0 15px;
    transition: color 0.3s ease;
}

nav .right a:hover {
    color: var(--purple-accent);
}

/* Theme Toggle Button */
.theme-toggle {
    background: var(--social-icon-bg);
    border: 1px solid var(--social-icon-border);
    color: var(--text-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-size: 16px;
    margin-left: 15px;
}

.theme-toggle:hover {
    background: var(--purple-accent);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(124, 58, 237, 0.4);
}

/* HERO SECTION */
.hero-section {
    min-height: calc(100vh - 80px);
    padding: 0 50px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px 0;
}

.hero-text {
    z-index: 2;
}

.greeting {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 20px;
    opacity: 0.9;
}

.name {
    color: var(--purple-accent);
    font-weight: 600;
}

.main-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
}

.highlight {
    color: var(--purple-accent);
}

.description {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.8;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--social-icon-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid var(--social-icon-border);
}

.social-icon:hover {
    background: var(--purple-accent);
    transform: translateY(-2px);
}

/* CHARACTER SECTION */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.character-container {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.character-img {
    width: 100%;
    height: auto;
    max-width: 400px;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(124, 58, 237, 0.3));
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* PROJECTS SECTION */
.projects-section {
    padding: 100px 50px;
    background: var(--section-bg-1);
    transition: background 0.3s ease;
}

.projects-container {
    max-width: 1200px;
    margin: 0 auto;
}

.projects-title {
    font-size: 48px;
    font-weight: 700;
    text-align: left;
    margin-bottom: 60px;
    color: var(--text-color);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.project-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 30px;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--card-border-hover);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.2);
}

.project-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.project-icon {
    width: 100px;
    height: 120px;
    background: linear-gradient(145deg, #6366F1, #8B5CF6);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.project-icon.orange {
    background: linear-gradient(145deg, #FB923C, #F97316);
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.3);
}

.project-icon.teal {
    background: linear-gradient(145deg, #14B8A6, #0D9488);
    box-shadow: 0 10px 30px rgba(20, 184, 166, 0.3);
}

.project-icon.purple {
    background: linear-gradient(145deg, #A855F7, #9333EA);
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.3);
}

.project-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.decorative-dots {
    position: absolute;
    width: 120px;
    height: 120px;
    pointer-events: none;
}

.dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--dot-color);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    transition: background 0.3s ease;
}

.dot-1 {
    top: 10px;
    left: 10px;
    animation-delay: 0s;
}

.dot-2 {
    top: 15px;
    right: 10px;
    animation-delay: 0.5s;
}

.dot-3 {
    bottom: 15px;
    left: 15px;
    animation-delay: 1s;
}

.dot-4 {
    bottom: 10px;
    right: 15px;
    animation-delay: 1.5s;
}

@keyframes pulse {
    0%, 100% { 
        opacity: 0.4; 
        transform: scale(1);
    }
    50% { 
        opacity: 1; 
        transform: scale(1.3);
    }
}

.project-content {
    flex: 1;
    text-align: left;
}

.project-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}

.project-features {
    list-style: none;
    margin-bottom: 25px;
}

.project-features li {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.8;
    color: var(--text-color);
    position: relative;
    padding-left: 20px;
}

.project-features li:before {
    content: "•";
    color: var(--purple-accent);
    font-size: 20px;
    position: absolute;
    left: 0;
    top: -2px;
}

.project-btn {
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--btn-border);
    padding: 12px 25px;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.project-btn:hover {
    background: var(--purple-accent);
    border-color: var(--purple-accent);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(124, 58, 237, 0.4);
}

/* EXPERIENCE SECTION */
.experience-section {
    padding: 100px 50px;
    background: var(--section-bg-2);
    transition: background 0.3s ease;
}

.experience-container {
    max-width: 1200px;
    margin: 0 auto;
}

.experience-title {
    font-size: 48px;
    font-weight: 700;
    text-align: left;
    margin-bottom: 60px;
    color: var(--text-color);
}

.experience-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 40px;
    width: 100%;
}

.experience-card:hover {
    transform: translateY(-5px);
    border-color: var(--card-border-hover);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.2);
}

.experience-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.experience-icon {
    width: 100px;
    height: 120px;
    background: linear-gradient(145deg, #6366F1, #8B5CF6);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.experience-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.decorative-dots-exp {
    position: absolute;
    width: 120px;
    height: 120px;
    pointer-events: none;
}

.experience-content {
    flex: 1;
    text-align: left;
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.experience-info {
    flex: 1;
}

.experience-title-job {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-color);
}

.company-location {
    font-size: 16px;
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 0;
}

.experience-date {
    font-size: 16px;
    color: var(--text-color);
    opacity: 0.9;
    font-weight: 600;
    white-space: nowrap;
    margin-left: 20px;
}

.experience-description {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    opacity: 0.85;
    text-align: justify;
}

/* CONTACT SECTION */
.contact-section {
    padding: 100px 50px;
    background: var(--section-bg-3);
    transition: background 0.3s ease;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: flex-start;
}

.contact-text {
    text-align: left;
}

.contact-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-color);
}

.contact-description {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
    color: var(--text-color);
}

.contact-email {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
    padding: 15px 0;
}

.contact-email-icon {
    font-size: 20px;
    color: var(--purple-accent);
}

.email-text {
    font-size: 18px;
    color: var(--text-color);
    opacity: 0.9;
    transition: color 0.3s ease;
}

.email-text:hover {
    color: var(--purple-accent);
}

.contact-social-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--social-icon-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid var(--social-icon-border);
    font-size: 20px;
}

.contact-social-icon:hover {
    background: var(--purple-accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.4);
}

.contact-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-character {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 300px;
    height: 300px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    nav {
        padding: 0 20px;
    }

    nav .right a {
        margin: 0 10px;
        font-size: 14px;
    }

    .theme-toggle {
        margin-left: 10px;
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .hero-section, .projects-section, .experience-section, .contact-section {
        padding: 40px 20px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

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

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .contact-social-links {
        justify-content: center;
    }

    .experience-card {
        flex-direction: column;
        text-align: center;
        padding: 30px;
        gap: 20px;
    }

    .experience-header {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .experience-date {
        margin-left: 0;
    }

    .experience-description {
        text-align: left;
    }

    .project-card {
        flex-direction: column;
        text-align: center;
        padding: 30px;
        gap: 20px;
    }

    .main-title, .projects-title, .experience-title, .contact-title {
        font-size: 32px;
    }

    .project-title {
        font-size: 24px;
    }

    .experience-title-job {
        font-size: 24px;
    }

    .character-container, .contact-character {
        width: 300px;
        height: 300px;
    }

    .character-img {
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    nav .right {
        gap: 5px;
    }

    nav .right a {
        margin: 0 5px;
        font-size: 12px;
    }

    .theme-toggle {
        margin-left: 5px;
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .main-title {
        font-size: 28px;
    }

    .social-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .projects-title, .experience-title, .contact-title {
        font-size: 28px;
    }

    .project-title {
        font-size: 20px;
    }

    .experience-title-job {
        font-size: 20px;
    }

    .project-card {
        padding: 20px;
    }

    .experience-card {
        padding: 25px;
    }

    .contact-character {
        width: 200px;
        height: 200px;
    }
}

.form-group { margin-bottom: 12px;}

label { display: block; font-weight: 600; margin-bottom: 6px; }

.form-button {
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--btn-border);
    padding: 12px 25px;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 120px;
}

.form-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-button:hover:not(:disabled) {
    background: var(--purple-accent);
    border-color: var(--purple-accent);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(124, 58, 237, 0.4);
}

/* Form Messages */
.form-message {
    margin-top: 20px;
    padding: 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    animation: slideInUp 0.4s ease;
    backdrop-filter: blur(10px);
}

.success-message {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: var(--text-color);
}

.success-message i {
    font-size: 24px;
    color: #22C55E;
}

.error-message-alert {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--text-color);
}

.error-message-alert i {
    font-size: 24px;
    color: #EF4444;
}

.form-message p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.form-button:hover {
    background: var(--purple-accent);
    border-color: var(--purple-accent);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(124, 58, 237, 0.4);
}

input[type="text"], input[type="email"], textarea, select {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 4px;
    border: 1px solid var(--card-border);
    border-radius: 20px;
    font: inherit;
    background-color: transparent;
    color: var(--text-color);
    transition: border-color 0.3s ease;
}

textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--card-border);
    border-radius: 20px;
    font: inherit;
    min-height: 120px;
    resize: vertical;
    max-width: 100%;
}

input[type="text"]:focus , input[type="email"]:focus , textarea:focus {
    border-color: var(--purple-accent); 
    outline: none;
}

.char-counter {
    font-size: 0.9rem;
    opacity: 0.7;
    text-align: right;
}

.error-message {
    display: block;
    font-size: 12px;
    color: #EF4444;
    margin-top: 4px;
    margin-bottom: 8px;
    height: 16px;
}

input.invalid, textarea.invalid {
    border-color: #EF4444 !important;
}

footer {
    margin-top: 20px;
    border-top: 1px solid var(--border);
    padding-top: 12px;
    color: var(--dot-color);
    text-align: center;
}

/* SKILLS SECTION */
.skills-section {
    padding: 100px 0;
    background: var(--section-bg-2);
    transition: background 0.3s ease;
    overflow: hidden;
}

.skills-container {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

.skills-title {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 60px;
    color: var(--text-color);
    opacity: 0.9;
    padding: 0 50px;
}

/* Stream Container */
.skills-stream {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.skills-stream::before,
.skills-stream::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.skills-stream::before {
    left: 0;
    background: linear-gradient(to right, var(--section-bg-2), transparent);
}

.skills-stream::after {
    right: 0;
    background: linear-gradient(to left, var(--section-bg-2), transparent);
}

/* Skills Track */
.skills-track {
    display: flex;
    gap: 50px;
    width: fit-content;
    animation: scrollLeft 40s linear infinite;
}

.skills-track:hover {
    animation-play-state: paused;
}

/* Skill Item */
.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 120px;
    padding: 20px;
    background: transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.skill-item i {
    font-size: 56px;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.skill-item span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-8px);
}

.skill-item:hover i {
    transform: scale(1.15);
    opacity: 1;
    filter: drop-shadow(0 4px 12px rgba(124, 58, 237, 0.6));
}

.skill-item:hover span {
    color: var(--purple-accent);
    opacity: 1;
}

/* Animation */
@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .skills-section {
        padding: 60px 0;
    }
    
    .skills-title {
        font-size: 20px;
        margin-bottom: 40px;
        padding: 0 20px;
    }
    
    .skills-track {
        gap: 35px;
        animation: scrollLeft 30s linear infinite;
    }
    
    .skill-item {
        min-width: 100px;
        padding: 15px;
        gap: 10px;
    }
    
    .skill-item i {
        font-size: 44px;
    }
    
    .skill-item span {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .skills-track {
        gap: 25px;
        animation: scrollLeft 25s linear infinite;
    }
    
    .skill-item {
        min-width: 80px;
        padding: 12px;
    }
    
    .skill-item i {
        font-size: 36px;
    }
    
    .skill-item span {
        font-size: 11px;
    }
}

/* Typing Animation for Skills Title */
.skills-title {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 60px;
    color: var(--text-color);
    padding: 0 50px;
    font-family: 'Courier New', monospace;
    position: relative;
    display: inline-block;
    width: 100%;
}

.skills-title-text {
    display: inline-block;
    overflow: hidden;
    border-right: 3px solid var(--purple-accent);
    white-space: nowrap;
    animation: typing 4s steps(55) 0.5s 1 normal both,
               blink 0.75s step-end infinite;
    max-width: 0;
    color: var(--purple-accent);
}

/* Typing Animation */
@keyframes typing {
    from {
        max-width: 0;
    }
    to {
        max-width: 100%;
    }
}

/* Blinking Cursor */
@keyframes blink {
    50% {
        border-color: transparent;
    }
}

/* After typing completes, hide cursor */
.skills-title-text.typing-complete {
    border-right: none;
    animation: none;
}

/* Alternative Style - Glowing Effect */
.skills-title.glow-style .skills-title-text {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(90deg, 
        var(--text-color) 0%, 
        #9333EA 30%, 
        var(--purple-accent) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: typing 4s steps(55) 0.5s 1 normal both,
               blink 0.75s step-end infinite,
               gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .skills-title {
        font-size: 20px;
        padding: 0 20px;
    }
    
    .skills-title-text {
        animation: typing 3s steps(55) 0.5s 1 normal both,
                   blink 0.75s step-end infinite;
    }
}

@media (max-width: 480px) {
    .skills-title {
        font-size: 18px;
    }
    
    .skills-title-text {
        animation: typing 2.5s steps(55) 0.5s 1 normal both,
                   blink 0.75s step-end infinite;
    }
}

/* GITHUB SECTION */
.github-section {
    padding: 100px 50px;
    background: var(--section-bg-1);
    transition: background 0.3s ease;
}

.github-container {
    max-width: 1200px;
    margin: 0 auto;
}

.github-title {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.github-title i {
    color: var(--purple-accent);
}

.github-subtitle {
    text-align: center;
    font-size: 18px;
    opacity: 0.8;
    margin-bottom: 60px;
    color: var(--text-color);
}

/* Loading State */
.loading-state {
    text-align: center;
    padding: 80px 20px;
}

.spinner {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    border: 4px solid var(--card-border);
    border-top: 4px solid var(--purple-accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Error State */
.error-state {
    text-align: center;
    padding: 80px 20px;
}

.error-state i {
    font-size: 60px;
    color: #EF4444;
    margin-bottom: 20px;
}

.error-state p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.8;
}

.retry-btn {
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--btn-border);
    padding: 12px 25px;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.retry-btn:hover {
    background: var(--purple-accent);
    border-color: var(--purple-accent);
    transform: translateY(-2px);
}

/* Repositories Grid */
.repos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.repo-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    animation: slideInUp 0.6s ease forwards;
}

.repo-card:hover {
    transform: translateY(-5px);
    border-color: var(--card-border-hover);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.2);
}

.repo-header {
    display: flex;
    align-items: start;
    gap: 12px;
}

.repo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(145deg, var(--purple-accent), #9333EA);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.repo-icon i {
    font-size: 20px;
    color: white;
}

.repo-info {
    flex: 1;
}

.repo-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 8px;
    display: block;
    transition: color 0.3s ease;
}

.repo-name:hover {
    color: var(--purple-accent);
}

.repo-description {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.repo-stats {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-color);
    opacity: 0.7;
}

.stat i {
    color: var(--purple-accent);
}

.language-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(124, 58, 237, 0.15);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    color: var(--purple-accent);
}

.language-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--purple-accent);
}

/* GitHub Footer */
.github-footer {
    text-align: center;
    padding-top: 20px;
}

.view-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--btn-border);
    padding: 15px 30px;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.view-more-btn:hover {
    background: var(--purple-accent);
    border-color: var(--purple-accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.4);
}

.view-more-btn i:last-child {
    transition: transform 0.3s ease;
}

.view-more-btn:hover i:last-child {
    transform: translateX(5px);
}

/* AI Enhancement Styles */
.message-ai-container {
    position: relative;
}

.ai-tools {
    margin-top: 10px;
    position: relative;
}

.ai-btn {
    background: linear-gradient(145deg, var(--purple-accent), #9333EA);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.ai-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.5);
}

.ai-btn i {
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.ai-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    padding: 15px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.ai-option-btn {
    background: transparent;
    color: var(--text-color);
    border: 1px solid var(--btn-border);
    padding: 8px 16px;
    border-radius: 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ai-option-btn:hover {
    background: var(--purple-accent);
    border-color: var(--purple-accent);
    color: white;
    transform: translateY(-1px);
}

.ai-suggestions {
    margin-top: 15px;
    padding: 20px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    animation: slideInUp 0.3s ease;
}

.suggestion-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--purple-accent);
    font-weight: 600;
}

.close-suggestion {
    margin-left: auto;
    background: transparent;
    border: none;
    color: var(--text-color);
    opacity: 0.6;
    cursor: pointer;
    font-size: 16px;
    padding: 5px;
    transition: all 0.3s ease;
}

.close-suggestion:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.suggestion-content {
    padding: 15px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 10px;
    margin-bottom: 15px;
    line-height: 1.6;
    color: var(--text-color);
    white-space: pre-wrap;
}

.suggestion-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.suggestion-btn {
    padding: 8px 20px;
    border-radius: 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
}

.accept-btn {
    background: var(--purple-accent);
    color: white;
}

.accept-btn:hover {
    background: #9333EA;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
}

.reject-btn {
    background: transparent;
    color: var(--text-color);
    border: 1px solid var(--btn-border);
}

.reject-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.ai-loading {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 8px;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Animation */
@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* VISITOR STATS */
.visitor-stats {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 15px 20px;
    backdrop-filter: blur(10px);
    display: flex;
    gap: 25px;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.visitor-stats:hover {
    transform: translateY(-3px);
    border-color: var(--card-border-hover);
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.3);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-color);
    opacity: 0.9;
}

.stat-item i {
    color: var(--purple-accent);
    font-size: 16px;
}

.stat-item strong {
    color: var(--purple-accent);
    font-weight: 600;
}

/* QUOTES SECTION */
.quotes-section {
    padding: 100px 50px;
    background: var(--section-bg-1);
    transition: background 0.3s ease;
}

.quotes-container {
    max-width: 750px;
    margin: 0 auto;
}

.quotes-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 35px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.quotes-title i {
    color: var(--purple-accent);
    font-size: 24px;
}

.quote-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 35px 30px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.quote-card::before {
    content: '"';
    position: absolute;
    top: -15px;
    left: 15px;
    font-size: 120px;
    color: var(--purple-accent);
    opacity: 0.1;
    font-family: Georgia, serif;
    line-height: 1;
}

.quote-card:hover {
    transform: translateY(-5px);
    border-color: var(--card-border-hover);
    box-shadow: 0 20px 50px rgba(124, 58, 237, 0.25);
}

.quote-loading {
    text-align: center;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.spinner-small {
    width: 30px;
    height: 30px;
    border: 3px solid var(--card-border);
    border-top: 3px solid var(--purple-accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.quote-loading p {
    color: var(--text-color);
    opacity: 0.7;
    font-size: 13px;
}

.quote-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.quote-text {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 20px;
    font-style: italic;
    font-weight: 400;
}

.quote-author {
    font-size: 16px;
    color: var(--purple-accent);
    font-weight: 600;
    opacity: 0.9;
}

.quote-author::before {
    content: '— ';
}

.refresh-quote-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--btn-border);
    padding: 10px 20px;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

.refresh-quote-btn:hover {
    background: var(--purple-accent);
    border-color: var(--purple-accent);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(124, 58, 237, 0.4);
}

.refresh-quote-btn i {
    transition: transform 0.3s ease;
}

.refresh-quote-btn:hover i {
    transform: rotate(180deg);
}

.name-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.name-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Name Modal Card */
.name-modal {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 25px;
    padding: 45px 40px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
}

.name-modal-overlay.active .name-modal {
    transform: scale(1) translateY(0);
}

.modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(145deg, var(--purple-accent), #9333EA);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.4);
    animation: modalIconPulse 2s ease-in-out infinite;
}

@keyframes modalIconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.modal-icon i {
    font-size: 40px;
    color: white;
}

.modal-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 10px;
}

.modal-subtitle {
    font-size: 16px;
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 30px;
}

.modal-input-group {
    text-align: left;
    margin-bottom: 25px;
}

.modal-input-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 10px;
    opacity: 0.9;
}

#visitorNameInput {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--card-border);
    border-radius: 15px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    transition: all 0.3s ease;
}

#visitorNameInput:focus {
    outline: none;
    border-color: var(--purple-accent);
    background: rgba(124, 58, 237, 0.1);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

#visitorNameInput::placeholder {
    color: var(--text-color);
    opacity: 0.5;
}

.modal-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.modal-btn {
    flex: 1;
    padding: 14px 24px;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
}

.skip-btn {
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--btn-border);
}

.skip-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.submit-btn {
    background: linear-gradient(145deg, var(--purple-accent), #9333EA);
    color: white;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.6);
}

.modal-note {
    font-size: 12px;
    color: var(--text-color);
    opacity: 0.6;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.modal-note i {
    color: var(--purple-accent);
}

/* Responsive */
@media (max-width: 480px) {
    .name-modal {
        padding: 35px 25px;
    }
    
    .modal-title {
        font-size: 24px;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .modal-btn {
        width: 100%;
    }
}
