:root {
    /* Dark theme (default) */
    --bg-primary: #0a0a0f;
    --bg-primary-light: #0a232f;
    --bg-secondary: #112240;
    --bg-light-primary: rgba(17, 34, 64, 0.5);
    --bg-contact: rgba(30, 41, 59, 0.8);
    --bg-contact-form: rgba(15, 23, 42, 0.5);
    --text-primary: #e6f1ff;
    --text-secondary: #8892b0;
    --timeline-bg: #0a0a0f;
    --magenta: magenta;
    --text-secondary-fade: #b2bbd6;
    --text-secondary-lightfade: #94a3b8;
    --text-white-fade: rgba(255, 255, 255, 0.904);
    --accent-light: #64ffda;
    --light-theme-text-accent: #00ffcc;
    --accent: #00ffcc;
    --accent-dark: #1e838a;
    --project-title: #f8fafc;
    --project-description: #dee3e9;
    --project-details: #cbd5e1;
    --tech-skill-name: #e2e8f0;
    --btn-demo: #00f2fe;
    --button-primary-hover: rgba(100, 255, 218, 0.1);
    --nav-height: 70px;
    --shadow-primary-btn: 0 10px 20px rgba(100, 255, 218, 0.1);
    --image-shadow: 0 5px 20px rgba(100, 255, 218, 0.2);
    --shadow-glow-light: 0 0 60px rgba(100, 255, 218, 0.4);
    --shadow-glow: 0 0 60px var(--accent);
    --nav-bg-scrolled: rgba(10, 25, 47, 0.95);
    --nav-bg: transparent;
    --card-bg: rgba(17, 34, 64, 0.7);
    --card-border: rgba(100, 255, 218, 0.3);
    --transition: all 0.3s ease;
    --code-comment: #5e6a82;
    --code-keyword: magenta;
    --code-function: #50fa7b;
    --code-string: #f1fa8c;
    --code-operator: #ff5555;
}

/* Light theme */
body.light-theme {
    --nav-bg: white;
    --magenta: rgba(255, 0, 255, 0.664);
    --bg-primary-light: #f0f6ff;
    --text-white-fade: rgba(15, 1, 1, 0.904);
    --bg-primary: white;
    --bg-secondary: #e1e8ff;
    --bg-contact: #e1e8ff;
    --bg-contact-form: rgba(240, 246, 255, 0.95);;
    --text-primary: #020c1b;
    --timeline-bg: rgba(240, 246, 255, 0.95);
    --text-secondary: #46517a;
    --text-secondary-fade: #091435;
    --text-secondary-lightfade: #112541;
    --light-theme-text-accent: #025c45;
    --accent: #37aa8d;
    --accent-dark: #1e838a;
    --accent-light: #0a7c5f;
    --project-title: #010911;
    --project-description: #020f1f;
    --project-details: #f7f9fc;
    --tech-skill-name: #020e1d;
    --btn-demo: #037980;
    --nav-bg-scrolled: rgba(240, 246, 255, 0.95);
    --card-bg: rgba(225, 232, 255, 0.7);
    --card-border: rgba(10, 124, 95, 0.3);
    --shadow-glow: 0 0 60px var(--accent);
    --button-primary-hover: rgba(10, 124, 95, 0.1);
    --shadow-glow-light: 0 0 20px rgba(10, 124, 95, 0.3);
    --shadow-primary-btn: 0 10px 20px rgba(10, 124, 95, 0.1);
    --transition: all 0.3s ease;
    --code-comment: #5e6a82;
    --code-keyword: var(--magenta);
    --code-function: #061309;
    --code-string: #10110a;
    --code-operator: #ff5555;
}

/* Blue (Neon) theme */
body.blue-theme {
    --bg-primary: #0a0a12;
    --bg-primary-light: #0f0f1a;
    --bg-secondary: #151528;
    --text-primary: #f8fafc;
    --text-secondary: #e2e8f0;
    --accent: #00f2fe;
     --light-theme-text-accent: #00f2fe;
    --accent-light: #4facfe;
    --card-bg: rgba(15, 20, 35, 0.7);
    --card-border: rgba(0, 242, 254, 0.3);
    --button-primary-hover: rgba(0, 242, 254, 0.1);
    --shadow-glow: 0 0 60px var(--accent);
    --shadow-glow-light: 0 0 20px rgba(0, 242, 254, 0.5);
    --shadow-primary-btn: 0 10px 20px rgba(0, 242, 254, 0.2);
    --transition: all 0.3s ease;
}


::-webkit-scrollbar {
    width: 7px;
}
::-webkit-scrollbar-track {
    background-color: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    border-radius: 1.2rem;
    background-color: var(--accent);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
}

.container {
    max-width: 1420px;
    width: 100%;
    margin: 25px auto;
    padding: 2rem;
}

/* Navigation Styles */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
}

nav.scrolled {
    background: var(--nav-bg-scrolled);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.8rem;
    gap: 10px;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--light-theme-text-accent);
    text-decoration: none;
    transition: var(--transition);
}

.logo:hover {
    text-shadow: 0 0 10px var(--light-theme-text-accent);
    transform: translateY(-2px);
}

.logo-icon {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--accent);
    color: var(--bg-primary);
    border-radius: 5px;
    font-weight: bold;
    padding: 1.2rem;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-link.active {
    color: var(--light-theme-text-accent);
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--light-theme-text-accent);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-right-toggles {
    display: flex;
    gap: 1.5rem;
}

.nav-right {
    display: flex;
    gap: 3rem;
    align-items: center;
    align-self: center;
}

.cta-button {
    padding: 10px 20px;
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.cta-button.light-theme {
    color: var(--light-theme-text-accent);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent);
    transition: var(--transition);
    z-index: -1;
}

.cta-button:hover {
    color: var(--bg-primary);
}

.cta-button:hover::before {
    left: 0;
}

.cta-button.pulse::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: var(--accent);
    opacity: 0.3;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    animation: pulse 2s infinite;
    z-index: -2;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0.5;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }
}


/* theme styling starts here */
.theme-toggle-hidden {
    display: none;
}

.toggle-options {
    color: var(--accent);
    cursor: pointer;
    font-size: 2rem;
    background: none;
}

.toggle-options:hover {
    transform: translateY(-5px);
    text-shadow: 0 10px 25px var(--accent);
}

.hide-theme {
    display: none;
}

/* major theme styling starts here */
.theme-toggle-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.toggle-wrapper {
    position: relative;
    width: 180px;
    height: 40px;
    background: var(--bg-secondary);
    border-radius: 25px;
    display: flex;
    align-items: center;
    padding: 0 5px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--card-border);
}

.toggle-slider {
    position: absolute;
    width: 50px;
    height: 34px;
    background: var(--accent);
    border-radius: 25px;
    transition: all 0.3s ease;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2), 0 0 10px var(--shadow-glow-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-primary);
}

.toggle-option {
    flex: 1;
    text-align: center;
    font-weight: 600;
    font-size: 12px;
    z-index: 1;
    padding: 5px;
    color: var(--text-secondary);
}

/* hamburger styling */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    position: relative;
    z-index: 101;
}

.hamburger span {
    height: 3px;
    width: 100%;
    background: var(--accent);
    border-radius: 3px;
    transition: var(--transition);
    transform-origin: left center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 50%;
    height: 100vh;
    background: var(--bg-secondary);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    padding: 20px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
}

.mobile-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.mobile-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.mobile-links a:hover::after {
    width: 100%;
}

.mobile-menu .theme-toggle {
    margin: 30px 0;
}

/* Hero Styling Starts Here */
.hero {
    display: flex;
    gap: 0rem;
    align-items: center;
    min-height: 80vh;
}

.content {
    flex: 1;
    max-width: 55%;
    text-align: left;
    position: relative;
    z-index: 2;
}

.greeting {
    color: var(--light-theme-text-accent);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    margin-top: 2.4rem;
    display: block;
    font-weight: 200;
    text-shadow: 0 0 5px var(--accent), 0 0 15px #00ffaa;
    opacity: 0;
    animation: fadeInUp1 1s 0.3s forwards;
}

@keyframes fadeInUp1 {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.intro {
    font-weight: 600;
}

.name {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
    opacity: 0;
    animation: fadeInUp2 1s 0.3s forwards;
}

@keyframes fadeInUp2 {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    min-height: 3.5rem;
    opacity: 0;
    animation: fadeInUp3 1s 0.3s forwards;
}

@keyframes fadeInUp3 {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-secondary-fade);
    max-width: 90%;
    margin-bottom: 1.6rem;
    opacity: 0;
    animation: fadeInUp4 1s 0.3s forwards;
}

@keyframes fadeInUp4 {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-container {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    opacity: 0;
    animation: fadeInUp6 1s 0.3s forwards;
}

@keyframes fadeInUp6 {
    from {
        opacity: 0;
        transform: translateY(60px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
}

.cta-primary {
    background: var(--accent);
    color: var(--bg-primary);
    border: 1px solid var(--accent);
}

.cta-primary:hover {
    background: transparent;
    color: var(--light-theme-text-accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(100, 255, 218, 0.15);
}

.cta-secondary {
    background: transparent;
    color: var(--light-theme-text-accent);
    border: 1px solid var(--accent);
}

.cta-secondary:hover {
    background: var(--button-primary-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-primary-btn);
}

.image-container {
    flex: 1;
    max-width: 45%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: fadeInleft 6s 0.8s forwards;
}

@keyframes fadeInleft {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.profile-image {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent);
    position: relative;
    z-index: 2;
    transition: all 0.5s ease;
    box-shadow: var(--image-shadow);
}

.image-overlay {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(100, 255, 218, 0.1);
    animation: pulse 3s infinite ease-in-out;
    z-index: 1;
}

.scanlines {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 0.03) 50%, 
        rgba(0, 0, 0, 0.1) 50%);
    background-size: 100% 4px;
    z-index: 3;
    pointer-events: none;
    border-radius: 50%;
    opacity: 0.3;
}

.glow {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: transparent;
    box-shadow: var(--shadow-glow);
    z-index: 0;
    animation: glow-pulse 4s infinite ease-in-out;
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.7; transform: scale(1.3); }
    50% { opacity: 0.5; transform: scale(1.05); }
}

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: var(--accent);
    border-radius: 50%;
}

.cursor {
    display: inline-block;
    width: 8px;
    height: 1.2em;
    background: var(--accent);
    margin-left: 4px;
    animation: blink 1s infinite;
    vertical-align: middle;
}

.code {
    width: 2.5px;
}

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

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.05); opacity: 0.5; }
}

.glitch {
    position: relative;
}

.glitch::before, .glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    animation: glitch-effect 3s infinite;
    color: var(--magenta);
    z-index: -1;
    margin-left: 4px;
}

.glitch::after {
    animation: glitch-effect 2s infinite;
    color: var(--accent);
    z-index: -2;
    margin-left: -4px;
}

@keyframes glitch-effect {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

.code-snippet {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
    margin-bottom: 2rem;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    border-left: 3px solid var(--accent);
    overflow: hidden;
    max-width: 90%;
    opacity: 0;
    animation: fadeInUp5 1s 0.3s forwards;
}

@keyframes fadeInUp5 {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.code-snippet:hover {
    box-shadow: var(--shadow-glow);
}

.code-comment {
    color: var(--code-comment);
}

.code-keyword {
    color: var(--code-keyword);
}

.code-function {
    color: var(--code-function);
}

.code-string {
    color: var(--code-string);
}

.code-operator {
    color: var(--code-operator);
}

/* About Section */
.section-title {
    font-size: 3rem;
    margin-bottom: 3rem;
    position: relative;
    color: var(--accent);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 80px;
}

.about-text {
    padding-right: 20px;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.about-text p {
    color: var(--text-white-fade);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.skill-item {
    background: var(--bg-secondary);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(100, 255, 218, 0.1);
}

.skill-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 5px 15px rgba(100, 255, 218, 0.1);
}

.skill-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--accent);
}

.skill-name {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.skill-desc {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--accent);
    color: var(--bg-primary);
    padding: 10px;
    font-size: 0.9rem;
    transform: translateY(100%);
    transition: var(--transition);
    border-radius: 0 0 8px 8px;
}

.skill-item:hover .skill-desc {
    transform: translateY(0);
}

/* Progress bar for skills */
.skill-progress {
    height: 4px;
    background: rgb(136, 146, 176);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 10px;
}

.skill-progress-bar {
    height: 100%;
    background: var(--accent);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1s ease-out;
}

.skill-item:hover .skill-progress-bar {
    transform: scaleX(1);
}

/* Timeline */
.journey-section {
    background-color: var(--bg-primary);
    padding: 2rem;
    border-radius: 1rem;
}
.journey-heading {
    font-size: 1.5rem;
}

.journey-heading::after {
    content: none;
}

.timeline {
    position: relative;
    margin: 50px 0;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    height: 100%;
    width: 2px;
    background: var(--accent);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.5s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -29px;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 2px solid var(--accent);
}

.timeline-content {
    background: var(--timeline-bg);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 10px 35px rgba(59, 55, 55, 0.1);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--accent);
}

.timeline-date {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 10px;
}

.timeline-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.timeline-desc {
    color: var(--text-primary);
}

/* Personality Traits */
.Personality-heading {
    font-size: 1.5rem;
}
.Personality-heading::after {
    content: none;
}

.personality-section {
    margin-top: 80px;
}

.traits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.trait-item {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(59, 55, 55, 0.1);
}

.trait-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--accent);
}

.trait-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
    transition: var(--transition);
}

.trait-item:hover .trait-icon {
    transform: scale(1.2);
}

.trait-name {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.trait-desc {
    color: var(--text-primary);
    font-size: 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.trait-item:hover .trait-desc{
    max-height: 150px;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}
/* Skill-item Animation ends here*/

/* Project Styling Starts Here */
.project-head {
    text-align: center;
    margin-bottom: 3rem;
}

.project-head h1 {
    font-size: 3rem;
    background: linear-gradient(to right, var(--accent-light) 0%, var(--accent) 70%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px var(--accent-light);
    animation: neonPulse 3s infinite alternate;
}

@keyframes neonPulse {
    from {
        text-shadow: 0 0 5px rgba(0, 254, 220, 0.5),
                        0 0 10px rgba(0, 254, 220, 0.3);
    }
    to {
        text-shadow: 0 0 15px rgba(0, 254, 220, 0.7),
                        0 0 20px rgba(0, 254, 220, 0.5),
                        0 0 25px rgba(0, 254, 220, 0.3);
    }
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-primary);
    max-width: 600px;
    margin: 0 auto;
}

.filter-btn {
    padding:8px 16px;
    border-radius:20px;
    border:1px solid var(--accent);
    background:transparent;
    color:var(--accent);
    cursor:pointer;
    transition:0.3s;
    font-weight: 600;
}

.filter-btn.hidden-category {
    display: none;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--accent);
    color: var(--bg-primary);
}

/* show more container styling */
.show-more-container {
    text-align: center;
    display: block;
}

.show-more-btn {
    background: none;
    border: none;
    color: var(--accent);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 0 auto;
    padding: 0.2rem 0.5rem;
    border-radius: 1rem;
}

/* --- Skill Filter --- */
.filter-bar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}
.filter-btns {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.projects-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    padding: 2rem;
    border-radius: 2rem;
    box-shadow: 0 0 10px rgba(44, 43, 43, 0.1);
    background-image: 
                radial-gradient(circle at 10% 20%, var(--accent) 0%, transparent 20%),
                radial-gradient(circle at 90% 70%, rgba(255, 0, 255, 0.363) 0%, transparent 20%),
                linear-gradient(to bottom, var(--bg-primary) 0%, var(--bg-primary-light) 100%);
}

.project-card {
    width: 350px;
    height: 400px;
    perspective: 1000px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 15px var(--accent);
    background: rgba(15, 20, 35, 0.7);
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); */
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.project-card:hover .project-card-inner {
    transform: rotateY(180deg);
}

.project-card-front, .project-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 16px;
    overflow: hidden;
}

.project-card-front {
    /* background: linear-gradient(145deg, #1e293b 0%, #334155 100%); */
    background: linear-gradient(145deg, var(--nav-bg-scrolled) 0%, var(--bg-secondary) 100%);
    /* background: var(--bg-secondary); */
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 241, 254, 0.644);
}

.project-media {
    height: 200px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(0, 242, 254, 0.3);
}

.project-media::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
                                rgba(0, 242, 254, 0.1) 0%, 
                                transparent 50%,
                                rgba(255, 0, 230, 0.1) 100%);
    pointer-events: none;
}

.project-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
    filter: hue-rotate(0deg) contrast(1.1) saturate(1.2);
}

.project-card:hover .project-media video {
    transform: scale(1.05);
    filter: hue-rotate(20deg) contrast(1.2) saturate(1.3);
}

.project-tags {
    position: absolute;
    bottom: 10px;
    left: 25px;
    display: flex;
    gap: 5px;
    z-index: 2;
}

.tag {
    background: var(--accent);
    color: var(--bg-primary);
    font-weight: 500;
    font-size: 1rem;
    padding: 4px 8px;
    border-radius: 10px;
    border: 1px solid rgba(0, 242, 254, 0.5);
    box-shadow: 0 0 5px rgba(0, 242, 254, 0.3);
}

.project-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--project-title);
    text-shadow: 0 0 5px rgba(0, 242, 254, 0.5);
}

.project-description {
    color: var(--project-description);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.project-card-back {
    /* background: linear-gradient(145deg, #1e40af 0%, #1e3a8a 100%); */
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 0, 230, 0.3);
    box-shadow: inset 0 0 20px rgba(255, 0, 230, 0.1);
}

.project-details {
    margin-bottom: 2rem;
}

.project-details h3 {
    margin-bottom: 1rem;
    color: var(--project-details);
}

.project-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.project-features li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    color: var(--project-details);
}

.project-features li i {
    margin-right: 8px;
    color: var(--accent);
    text-shadow: 0 0 5px var(--accent-light);
}

.project-links {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
}

.btn-demo {
    background: rgba(0, 242, 254, 0.1);
    color: #00f2fe;
    border-color: #00f2fe;
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.3);
}

.btn-code {
    background: transparent;
    color: white;
    border: 2px solid #4facfe;
}

.btn-code::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(79, 172, 254, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.btn-code:hover::before {
    width: 300px;
    height: 300px;
}

.btn i {
    margin-right: 8px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.large-card {
    width: 400px;
    height: 450px;
}

.small-card {
    width: 300px;
    height: 350px;
    margin-top: 40px;
}

.medium-card {
    margin-top: 20px;
}

/* technical skilss styling starts here */
.skills-header {
    text-align: center;
    margin-bottom: 3rem;
}

.skills-header h1{
    font-size: 3rem;
    background: linear-gradient(to right, var(--accent) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
}

.filter-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.skill-filter-btn {
    background: rgba(79, 172, 254, 0.1);
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 12px 24px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s ease;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.skill-filter-btn:hover, .skill-filter-btn.active {
    background: var(--accent);
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--accent-light);
}

.skills-display {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    min-height: 400px;
}

.tech-graph {
    background: linear-gradient(145deg, var(--nav-bg) 0%, var(--nav-bg-scrolled));
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    max-height: 370px;
}

.graph-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #f8fafc;
}

.graph-canvas {
    width: 100%;
    height: 300px;
    position: relative;
}

.node {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--bg-primary);
    font-weight: bold;
    font-size: 0.9rem;
    transform: translate(-50%, -50%);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    opacity: 0;
    z-index: 2;
}

.node.visible {
    opacity: 1;
}

.node:hover {
    transform: translate(-50%, -50%) scale(1.2);
    z-index: 10;
}

.connection {
    position: absolute;
    height: 2px;
    background: linear-gradient(to right, var(--accent), rgba(0, 254, 233, 0.7));
    transform-origin: 0 0;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.connection.visible {
   opacity: 1;
}

.tech-skills-container {
   display: flex;
   flex-direction: column;
   gap: 1.5rem;
}

.tech-skill-category {
    /* background: linear-gradient(145deg, #1e293b 0%, #334155 100%); */
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.5s ease;
    transform: translateX(100px);
    opacity: 0;
}


.tech-skill-category.visible {
   transform: translateX(0);
   opacity: 1;
}

.category-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--project-title);
    display: flex;
    align-items: center;
}

.category-title i {
    margin-right: 10px;
    color: var(--accent);
}

.skills-list {
    display: grid;
    gap: 1rem;
}

.skills-item {
   display: flex;
   align-items: center;
   animation: fadeInn 0.6s forwards;
}

@keyframes fadeInn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tech-skill-name {
    width: 120px;
    font-weight: 600;
    color: var(--tech-skill-name);
}

.skill-meter {
    flex-grow: 1;
    height: 24px;
    background: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.tech-skill-progress {
    height: 100%;
    border-radius: 12px;
    position: relative;
    width: 0;
    transition: width 1.5s ease-in-out;
}

.tech-skill-progress.pulsing {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 var(--accent); }
    70% { box-shadow: 0 0 0 10px rgba(79, 172, 254, 0); }
    100% { box-shadow: 0 0 0 0 rgba(79, 172, 254, 0); }
}

.skill-value {
    position: absolute;
    right: 10px;
    top: 0;
    line-height: 24px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.tool-item {
    background: rgba(79, 172, 254, 0.1);
    border: 1px solid var(--accent-light);
    border-radius: 12px;
    padding: 0.8rem;
    text-align: center;
    transition: all 0.3s ease;
    animation: toolFadeIn 0.6s forwards;
    opacity: 0;
}

@keyframes toolFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.tool-item:hover {
    background: rgba(79, 172, 254, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(79, 172, 254, 0.2);
}

.tool-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

.tool-name {
    font-weight: 600;
    color: var(--project-title);
}

.tool-desc {
    font-size: 0.8rem;
    color: var(--text-secondary-lightfade);
    margin-top: 0.5rem;
}

/* Contact Styling Starts Here */
.contact {
    max-width: 1400px;
    background: var(--bg-contact);
    border-radius: 0 6rem 0 6rem;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    padding: 2rem 2rem 0rem 2rem;
    margin-bottom: 3rem;
}

.contact-header {
    text-align: center;
    padding: 3rem 2rem 2rem;
    border-radius: 6rem;
    background: radial-gradient(circle at 20% 50%, var(--accent) 0%, #1e7a8a 50%, var(--accent) 70%);
}

.contact-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: radial-gradient(circle at 10% 20%, var(--nav-bg-scrolled) 0%, var(--bg-primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.contact-head-desc {
    font-weight: 600;
    color: var(--bg-primary);
    max-width: 600px;
    margin: 0 auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
    margin-top: 3rem;
    /* align-items: center; */
}

.contact-info {
    padding: 1rem;
}

.connect-text {
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.connect-text::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--light-theme-text-accent), var(--btn-demo));
    border-radius: 2px;
    animation: glow 2s infinite;
}

@keyframes glow {
    0% { box-shadow: 0 0 5px var(--accent-light) }
    50% { box-shadow: 0 0 20px var(--accent-light) 0 0 30px var(--accent); }
    100% { box-shadow: 0 0 5px var(--accent-light); }
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-details p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.contact-details i {
    margin-right: 15px;
    color: var(--light-theme-text-accent);
    font-size: 1.5rem;
    width: 30px;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(79, 172, 254, 0.1);
    color: var(--light-theme-text-accent);
    font-size: 1.8rem;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    position: relative;
    overflow: hidden;
    border: 2px solid var(--light-theme-text-accent);
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #4facfe, var(--light-theme-text-accent));
    opacity: 0;
    transition: all 0.4s ease;
    z-index: -1;
}

.social-icon:hover {
    color: white;
    transform: translateY(-10px) rotate(10deg);
    box-shadow: 0 10px 20px rgba(79, 254, 254, 0.4);
}

.social-icon:hover::before {
    opacity: 1;
}

.contact-form {
    background: var(--bg-contact-form);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    color: var(--bg-primary);
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--tech-skill-name);
}

.form-control {
    width: 100%;
    padding: 15px;
    background: var(--bg-contact);
    border: 2px solid #334155;
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(79, 248, 254, 0.3);
}

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

.error-message {
    color: #f87171;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: none;
}

.btn-submit {
    background: linear-gradient(to right, var(--btn-demo), var(--accent));
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    display: block;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.btn-submit h3 {
    background: linear-gradient(to right, var(--nav-bg-scrolled) 0%, var(--bg-primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(79, 172, 254, 0.4);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--accent), var(--btn-demo));
    opacity: 0;
    transition: all 0.4s ease;
    z-index: -1;
}

.btn-submit:hover::before {
    opacity: 1;
}

.thank-you-message {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, var(--accent) 0%, #1e3a8a 100%);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
}

.thank-you-message.visible {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.thank-you-icon {
    font-size: 4rem;
    color: white;
    margin-bottom: 1.5rem;
    animation: bounce 1s infinite alternate;
}

@keyframes bounce {
    from { transform: translateY(0); }
    to { transform: translateY(-20px); }
}

.thank-you-text {
    font-size: 2rem;
    color: white;
    margin-bottom: 1rem;
}

.thank-you-subtext {
    color: #e2e8f0;
    font-size: 1.1rem;
}

/* Map Styling Starts Here */
.map-section {
    margin-top: 1.6rem;
    padding: 1rem;
    background: var(--bg-contact-form);
    border-radius: 15px;
}

.map-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--project-title);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-title i {
    margin-right: 10px;
    color: var(--light-theme-text-accent);
}

.map-container {
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
}

#map {
    height: 100%;
    width: 100%;
    border-radius: 15px;
}

.map-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--bg-contact);
    padding: 15px;
    border-radius: 10px;
    font-weight: bold;
    max-width: 280px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 100;
}

.map-overlay h3 {
    color: var(--accent);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.map-overlay p {
    color: var(--tech-skill-name);
    font-size: 0.5rem;
    line-height: 1.5;
}

.map-controls {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: center;
}

.map-btn {
    background: rgba(79, 172, 254, 0.1);
    color: var(--light-theme-text-accent);
    border: 1px solid var(--light-theme-text-accent);
    padding: 8px 15px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.map-btn i {
    margin-right: 5px;
}

.map-btn:hover {
    background: var(--accent);
    color: var(--bg-primary);
}

/* Footer Styling Starts Here */
.footer {
    background: var(--nav-bg-scrolled);
    border-radius: 16px;
    padding: 2rem 2rem;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.2);
    margin-top: 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 1fr 1.5fr;
    gap: 0rem;
    max-width: 1300px;
    margin: 0 auto;
}

.footer-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--accent) 0%, var(--btn-demo) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: flex;
    align-items: center;
}

.logo i {
    margin-right: 10px;
}

.footer-description {
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.made-by {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.code-text {
    color: var(--accent);
    font-weight: 600;
}

.footer-cursor {
    display: inline-block;
    width: 10px;
    height: 1.2rem;
    background-color: var(--accent);
    margin-left: 4px;
    animation: blink 1s infinite;
    vertical-align: middle;
}

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

.copyright {
    color: var(--text-primary);
    font-size: 0.9rem;
}

.footer-links h3, .footer-newsletter h3, .footer-skills h3 {
    font-size: 1.2rem;
    color: var(--project-title);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-links h3::after, .footer-newsletter h3::after, .footer-skills h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, var(--accent), var(--btn-demo));
    border-radius: 2px;
}

.footer-links {
    margin-left: 2rem;
}

.quick-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    padding: 0.3rem 0;
}

.nav-link i {
    margin-right: 10px;
    color: var(--accent);
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.nav-link:hover {
    color: var(--light-theme-text-accent);
    transform: translateX(5px);
}

.nav-link:hover i {
    color: var(--btn-demo);
}

.skills-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 0.5rem;
}

.skill-badge {
    background: rgba(79, 172, 254, 0.1);
    color: var(--light-theme-text-accent);
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    font-size: 0.8rem;
    border: 1px solid rgba(79, 248, 254, 0.3);
    transition: all 0.3s ease;
}

.skill-badge:hover {
    background: var(--accent);
    color: var(--bg-primary);
    transform: translateY(-3px);
}

.footer-newsletter {
    margin-left: 2rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    position: relative;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    background: var(--bg-secondary);
    border: 1px solid #335552;
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(79, 234, 254, 0.3);
}

.btn-subscribe {
    background: linear-gradient(to right, var(--accent), var(--btn-demo));
    color: var(--bg-primary);
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-subscribe i {
    margin-left: 8px;
}

.btn-subscribe:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(79, 172, 254, 0.4);
}

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid #334155;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-social-icons {
    display: flex;
    gap: 1rem;
}

.footer-social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(79, 172, 254, 0.1);
    color: var(--accent);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 1px solid #335552;
}

.footer-social-icon:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(79, 172, 254, 0.4);
}

.back-to-top {
    background: linear-gradient(to right, var(--accent), var(--btn-demo));
    color: var(--bg-primary);
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.back-to-top i {
    margin-left: 5px;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(79, 172, 254, 0.4);
}

.visitor-count {
    display: flex;
    align-items: center;
    color: var(--text-secondary-lightfade);
    font-size: 0.9rem;
    margin-top: 2rem;
}

.visitor-count i {
    margin-right: 8px;
    color: var(--accent);
}

.badge {
    background: linear-gradient(to right, var(--accent), var(--btn-demo));
    color: var(--bg-primary);
    padding: 3px 8px;
    border-radius: 50px;
    font-size: 0.7rem;
    margin-left: 8px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(79, 172, 254, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(79, 172, 254, 0); }
    100% { box-shadow: 0 0 0 0 rgba(79, 172, 254, 0); }
}

.recent-posts {
    margin-top: 1rem;
}

.post-item {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #334155;
}

.post-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.post-title {
    color: var(--tech-skill-name);
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
    transition: all 0.3s ease;
}

.post-title:hover {
    color: var(--accent);
}

.post-date {
    color: var(--text-secondary);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
}

.post-date i {
    margin-right: 5px;
    font-size: 0.7rem;
}

/* Responsive Design */
@media (max-width: 1250px) {
    .tools-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }

    .tool-icon {
        font-size: 1.5rem;
    }

    .theme-toggle-hidden {
        display: none;
    }

    .mobile-menu .cta-button {
        margin-top: 2rem;
    }
}

@media (max-width: 1125px) {
    .nav-links {
        gap: 20px;
    }

    .theme-toggle-container {
        display: none;
    }

    .theme-toggle-hidden {
        display: block;
    }

    .tools-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .footer-skills, .footer-newsletter{
        margin-top: 3rem;
    }
}

@media (max-width: 998px) {
    .mobile-menu {
        display: flex;
    }

    .nav-links, .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    nav {
        padding: 0 20px;
    }

    .skills-display {
        grid-template-columns: 1fr;
    }

    .tech-graph {
        max-width: 80%;
        margin-left: 6rem;
    }

    .image-container  {
        max-width: 40%;
        margin-left: 5rem;
    }

    .profile-image {
        width: 290px;
        height: 290px;
    }

    @keyframes glow-pulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.75); }
}
}

@media (max-width: 968px) {
    .about-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        gap: 8rem;
    }

    .content {
        max-width: 100%;
    }

    .image-container  {
        max-width: 100%;
        margin-left: 0rem;
    }

    .profile-image {
        width: 490px;
        height: 490px;
    }

    .skills-display {
        grid-template-columns: 1fr;
    }

    .tech-graph {
        margin-left: 5rem;
    }

    @keyframes glow-pulse {
    0%, 100% { opacity: 0.7; transform: scale(1.6); }
    50% { opacity: 0.5; transform: scale(1.05); }}

}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        margin-left: 0rem;
    }

    .footer-newsletter {
        margin-left: 0rem;
    }

    .back-to-top {
        margin-top: 1rem;
    }

    .tech-graph {
        max-width: 100%;
        margin-left: 0rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .mobile-menu {
        width: 70%;
    }
}

@media (max-width: 600px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 568px) {
    .profile-image {
        width: 450px;
        height: 450px;
    }

    .graph-canvas {
        overflow-x: auto;
    }

    .contact{
        padding: 1rem 1rem 0rem 1rem;
    }

    .contact-header {
        padding: 1.5rem 1rem 1rem 1.5rem;
    }

    .contact-header h1 {
        font-size: 2.5rem;
        padding: 1rem;
        margin-bottom: 0rem;
    }

    .contact-header p{
        font-size: 1.1rem;
    }

    .contact-content {
        display: flex;
        flex-direction: column;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .name {
        font-size: 3rem;
    }

    .title {
        font-size: 2rem;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        gap: 6rem;
    }

    .description {
        font-size: 1.1rem;
    }

    .profile-image {
        width: 380px;
        height: 380px;
    }

    @keyframes glow-pulse {
    0%, 100% { opacity: 0.7; transform: scale(1.1); }
    50% { opacity: 0.5; transform: scale(0.85); }}

    .tech-graph {
        padding: 0rem;
    }

    .contact-header p{
        font-size: 1rem;
    }

    .contact-details i {
        font-size: 1.1rem;
    }

    .social-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

}

@media (max-width: 465px) {
    .nav-right {
        gap: 1.7rem;
    }

    .logo {
        gap: 6px;
        font-size: 1.4;
    }

    .title {
        font-size: 1.8rem;
    }

    .cta {
        font-size: 1rem;
        padding: 0.7rem 1.2rem;
    }

    .profile-image {
        width: 350px;
        height: 350px;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .journey-section {
        padding: 0.8rem;
    }

    .Personality-heading {
        font-size: 1.4rem;
    }

    .project-head h1, .about-heading, .skills-header h1 { 
        font-size: 2.5rem;
    }

    .projects-container {
        padding: 1rem;
    }

    .skill-meter {
        height: 18px;
    }

    .contact {
        padding: 2rem 1rem 0rem 1rem;;
    }

    .contact-header p{
        width: 80%;
    }

    .contact-content {
        padding: 0rem;
        margin-bottom: 3rem;
    }

    .connect-text {
        font-size: 1.5rem;
    }

    .contact-info {
        padding: 0rem;
        text-align: center;
    }

    .contact-details {
        width: 100%;
    }

    .contact-details p {
        font-size: 1rem;
        width: 100%;
    }

    .contact-details i {
        margin-right: 6px;
    }

    .social-icons {
        margin-left: 0rem;
    }

    .contact-form {
      padding: 1rem;  
    }

    .btn-submit {
        font-size: 1rem;
    }

    .footer {
        padding: 1rem;
    }
        
}