/* Base Styles */
:root {
    --primary-color: #6c63ff;
    --secondary-color: #4a40e2;
    --accent-color: #ff6584;
    --dark-color: #2a2a2a;
    --light-color: #f9f9f9;
    --text-color: #333;
    --text-light: #777;
    --border-color: #eaeaea;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-100%);
    transition: 0.6s;
    z-index: -1;
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(108, 99, 255, 0.3);
}

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

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(108, 99, 255, 0.3);
}

.btn-sm {
    padding: 10px 22px;
    font-size: 0.9rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.25);
    transition: all 0.3s ease;
}

.btn-sm:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(108, 99, 255, 0.4);
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.underline {
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 0 auto;
    position: relative;
}

.underline::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 4px;
    background-color: var(--accent-color);
    top: 0;
    left: -20px;
    transform: translateX(-100%);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    transition: var(--transition);
    padding: 20px 0;
}

.navbar.scrolled {
    background-color: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 5px 10px;
    border-radius: 5px;
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border: 2px solid transparent;
    border-image: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-image-slice: 1;
    border-radius: 5px;
    opacity: 0.7;
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    font-weight: 600;
    color: var(--dark-color);
    position: relative;
}

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

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

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background-color: #f5f5ff;
    overflow: hidden;
    padding: 120px 0 60px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(108, 99, 255, 0.1) 0%, rgba(255, 101, 132, 0.1) 90%);
    z-index: 0;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
    gap: 30px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    min-width: 300px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    position: relative;
}

/* Code-themed glitch effect */
.glitch {
    position: relative;
    color: var(--dark-color);
    font-family: 'Consolas', monospace;
    text-shadow: 0 0 2px rgba(108, 99, 255, 0.3);
}

/* Animation removed from name as requested */
.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
    animation: none;
}

.glitch::before {
    color: var(--primary-color);
    z-index: -1;
    text-shadow: 1px 0 1px rgba(255, 101, 132, 0.5);
}

.glitch::after {
    color: var(--accent-color);
    z-index: -2;
    text-shadow: -1px 0 1px rgba(108, 99, 255, 0.5);
}

/* Terminal cursor effect removed */
.glitch::after {
    content: attr(data-text);
}

@keyframes blink-cursor {
    0%, 100% {
        content: attr(data-text) '█';
    }
    50% {
        content: attr(data-text) ' ';
    }
}

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

/* Code-themed typewriter effect */
.typewriter {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
    height: 30px;
    font-family: 'Consolas', monospace;
    position: relative;
}

.typewriter::before {
    content: 'const role = ';
    color: #569cd6; /* Blue color for keywords */
    font-weight: normal;
}

#typewriter-text {
    color: #ce9178; /* String color in code editors */
    position: relative;
}

#typewriter-text::before {
    content: '"';
}

#typewriter-text::after {
    content: '"';
}

.cursor {
    display: inline-block;
    width: 3px;
    background-color: var(--primary-color);
    animation: blink 1s infinite;
    height: 20px;
    vertical-align: middle;
}

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

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    font-family: 'Consolas', monospace;
}

.code-comment {
    color: #6a9955; /* Green color typical for code comments */
    font-weight: bold;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    color: var(--primary-color);
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.blob {
    position: absolute;
    width: 500px;
    height: 500px;
    background: transparent;
    opacity: 0.9;
    background-image: url('images/code-animation.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    animation: code-animation 5s infinite alternate;
}

@keyframes code-animation {
    0% {
        transform: translate(0, 0) scale(1);
        filter: hue-rotate(0deg);
    }
    50% {
        transform: translate(-10px, 10px) scale(1.05);
        filter: hue-rotate(15deg);
    }
    100% {
        transform: translate(10px, -10px) scale(0.95);
        filter: hue-rotate(30deg);
    }
}

.profile-img {
    position: relative;
    width: 350px;
    height: 350px;
    background-image: url('images/coder-profile.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.code-profile {
    animation: code-profile-animation 3s ease-in-out infinite alternate;
}

@keyframes code-profile-animation {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-10px);
    }
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    font-family: 'Consolas', monospace;
    width: 100%;
    max-width: 150px;
    text-align: center;
}

.scroll-down a {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.mouse {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    position: relative;
    font-family: 'Consolas', monospace;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
    border: 2px solid var(--text-light);
    border-radius: 5px;
    overflow: hidden;
}

.mouse::before {
    content: '<';
    position: absolute;
    left: 8px;
    animation: blink-bracket 1.5s infinite;
}

.mouse::after {
    content: '>';
    position: absolute;
    right: 8px;
    animation: blink-bracket 1.5s infinite;
}

.wheel {
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: rotate-wheel 2s infinite;
    color: var(--primary-color);
}

.wheel::before {
    content: '/';
    animation: none;
}

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

@keyframes rotate-wheel {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.2);
        color: var(--accent-color);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

.scroll-text {
    font-size: 0.8rem;
    font-weight: 500;
    color: #569cd6;
    font-family: 'Consolas', monospace;
    text-align: center;
    width: 100%;
}

/* About Section */
.about {
    background-color: white;
    position: relative;
    overflow: hidden;
    background-image: radial-gradient(rgba(108, 99, 255, 0.03) 2px, transparent 2px), 
                      radial-gradient(rgba(255, 101, 132, 0.03) 2px, transparent 2px);
    background-size: 30px 30px, 25px 25px;
    background-position: 0 0, 15px 15px;
    padding-top: 120px;
    padding-bottom: 120px;
}

.about::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background-color: rgba(108, 99, 255, 0.05);
    border-radius: 50%;
    top: -150px;
    right: -150px;
    z-index: 0;
    filter: blur(50px);
}

.about::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background-color: rgba(255, 101, 132, 0.05);
    border-radius: 50%;
    bottom: -100px;
    left: -100px;
    z-index: 0;
    filter: blur(50px);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.about-text {
    flex: 1;
    min-width: 300px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.about-intro {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 25px;
    line-height: 1.6;
    color: var(--dark-color);
    border-bottom: 2px dashed rgba(108, 99, 255, 0.2);
    padding-bottom: 15px;
}

.highlight-text {
    color: var(--primary-color);
    font-weight: 700;
}

.highlight-role {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

.project-highlight {
    color: var(--accent-color);
    font-weight: 600;
}

.about-paragraph {
    display: flex;
    margin-bottom: 25px;
    align-items: flex-start;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.95;
}

.about-paragraph:hover {
    transform: translateX(5px);
    opacity: 1;
}

.about-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 5px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.3s ease;
}

.about-paragraph:hover .about-icon {
    transform: scale(1.2);
}

.about-paragraph p {
    margin-bottom: 0;
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
    text-align: justify;
}

.skills h3, .education h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 10px;
}

.skills h3:after, .education h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.skill-category {
    margin-bottom: 25px;
}

.skill-category h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.skill-subcategory {
    margin-bottom: 15px;
    margin-left: 15px;
}

.skill-subcategory h5 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--text-color);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.skill-tags span {
    background-color: #f0f0ff;
    color: var(--primary-color);
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.skill-tags span:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Education Section */
.education {
    margin-top: 40px;
}

.education-item {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    margin-bottom: 20px;
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
}

.education-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.education-item h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--dark-color);
}

.education-institution {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.education-date {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.education-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.education-achievements {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 8px;
    font-style: italic;
}

.about-stats {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    align-items: center;
}

.stat-item {
    background-color: white;
    padding: 35px 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    flex: 1;
    min-width: 150px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(108, 99, 255, 0.1);
    backdrop-filter: blur(5px);
}

.stat-item::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 5px;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: height 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(108, 99, 255, 0.15);
    border-color: rgba(108, 99, 255, 0.3);
}

.stat-item:hover::before {
    height: 8px;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.stat-number::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 10px;
}

.stat-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

/* Experience Section */
.experience {
    background-color: #f5f5ff;
    position: relative;
    overflow: hidden;
}

.experience::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background-color: rgba(108, 99, 255, 0.1);
    border-radius: 50%;
    top: -150px;
    right: -150px;
}

.experience::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background-color: rgba(255, 101, 132, 0.1);
    border-radius: 50%;
    bottom: -100px;
    left: -100px;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    height: 100%;
    background-color: var(--primary-color);
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: white;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-content {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    width: calc(50% - 50px);
    position: relative;
    transition: var(--transition);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: white;
    transform: rotate(45deg);
    top: 20px;
    left: -10px;
    box-shadow: -5px 5px 10px rgba(0, 0, 0, 0.05);
}

.timeline-item:nth-child(even) .timeline-content::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: white;
    transform: rotate(45deg);
    top: 20px;
    right: -10px;
    box-shadow: 5px -5px 10px rgba(0, 0, 0, 0.05);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

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

.timeline-date {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 5px;
}

.timeline-role {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.timeline-achievements {
    color: var(--text-light);
    margin-bottom: 15px;
    padding-left: 20px;
}

.timeline-achievements li {
    margin-bottom: 8px;
    position: relative;
}

.timeline-achievements li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: -15px;
}

.timeline-content p {
    margin-bottom: 15px;
    color: var(--text-color);
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.tech-stack span {
    background-color: #f0f0ff;
    color: var(--primary-color);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-link {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.project-link:hover {
    color: var(--secondary-color);
}

.project-link i {
    margin-left: 5px;
    font-size: 0.8rem;
}

/* Skills Section */
.skills-section {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.section-description {
    text-align: center;
    color: var(--text-color-light);
    margin-top: 10px;
    font-size: 16px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.skills-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
    gap: 10px;
}

.filter-btn {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--text-color);
    padding: 10px 22px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary-color);
    color: var(--bg-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.2);
}

.filter-btn i {
    font-size: 14px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
    justify-content: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.skill-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid rgba(108, 99, 255, 0.1);
    position: relative;
    backdrop-filter: blur(5px);
}

.skill-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(108, 99, 255, 0.2);
    border-color: var(--primary-color);
}

.skill-card-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 18px 25px;
    color: white;
    position: relative;
    overflow: hidden;
}

.skill-card-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 70%);
    opacity: 0;
    transform: scale(0.5);
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.skill-card:hover .skill-card-header::before {
    opacity: 1;
    transform: scale(1);
}

.skill-card-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.skill-card-content {
    padding: 25px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
    position: relative;
}

.skill-card-icon {
    position: absolute;
    top: -30px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
    z-index: 2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-card:hover .skill-card-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 8px 20px rgba(108, 99, 255, 0.4);
}

.skill-subcategory {
    margin-bottom: 25px;
    position: relative;
    padding-left: 15px;
    border-left: 3px solid var(--primary-color);
}

.skill-subcategory h4 {
    font-size: 17px;
    margin-bottom: 12px;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 0.3px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
}

.skill-tags span {
    background-color: rgba(108, 99, 255, 0.1);
    color: var(--text-color);
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.skill-tags span:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 10px rgba(108, 99, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Projects Section */
.projects {
    background-color: white;
}

.project-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    background-color: transparent;
    border: none;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

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

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

.project-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.project-img {
    height: 200px;
    overflow: hidden;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-img img {
    transform: scale(1.1);
}

.project-content {
    padding: 20px;
}

.project-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.project-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.project-tags span {
    background-color: #f0f0ff;
    color: var(--primary-color);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-achievements {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 15px;
}

.project-achievements li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.4;
}

.project-achievements li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.project-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* Contact Section */
.contact {
    background-color: #f5f5ff;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background-color: rgba(108, 99, 255, 0.1);
    border-radius: 50%;
    top: -150px;
    left: -150px;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 5px;
}

.contact-item h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.contact-item p {
    color: var(--text-light);
}

.contact-item a {
    color: var(--primary-color);
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-social h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    color: var(--primary-color);
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.2);
}

.form-group textarea {
    height: 150px;
    resize: none;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 50px 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .hero {
        padding: 100px 0 50px;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }

    .hero-content {
        margin-bottom: 50px;
        order: 1;
    }
    
    .hero-image {
        order: 0;
        margin-bottom: 30px;
    }

    .hero-buttons,
    .social-icons {
        justify-content: center;
    }

    .blob {
        width: 400px;
        height: 400px;
    }

    .profile-img {
        width: 300px;
        height: 300px;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-dot {
        left: 30px;
    }

    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
    }

    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -10px;
        right: auto;
        box-shadow: -5px 5px 10px rgba(0, 0, 0, 0.05);
    }
    
    .timeline-achievements {
        padding-left: 15px;
    }
    
    .timeline-achievements li::before {
        left: -12px;
    }
    
    .skill-category h4,
    .skill-card-header h3 {
        font-size: 1.1rem;
    }
    
    .skill-subcategory h5,
    .skill-subcategory h4 {
        font-size: 0.95rem;
    }
    
    .skill-tags span {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
    
    .education-item h4 {
        font-size: 1rem;
    }
    
    .education-description {
        font-size: 0.9rem;
    }
    
    .skills-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
        max-width: 900px;
    }
    
    .filter-btn {
        padding: 6px 15px;
        font-size: 13px;
    }
    
    .skill-card-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        top: -25px;
    }
}

@media screen and (max-width: 768px) {
    .section-header h2 {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    
    .timeline-content h3 {
        font-size: 1.3rem;
    }
    
    .timeline-achievements {
        padding-left: 12px;
    }
    
    .timeline-achievements li {
        font-size: 0.95rem;
    }
    
    .timeline-achievements li::before {
        left: -10px;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
    
    .skills-filters {
        gap: 8px;
        margin-bottom: 30px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .filter-btn {
        padding: 5px 12px;
        font-size: 12px;
        margin-bottom: 5px;
    }
    
    .filter-btn i {
        font-size: 12px;
    }
    
    .skill-card-header h3 {
        font-size: 1rem;
    }
    
    .skill-subcategory h4 {
        font-size: 0.9rem;
    }
    
    .skill-tags span {
        font-size: 0.8rem;
        padding: 4px 10px;
    }
    
    .skill-card-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
        top: -22px;
        right: 15px;
    }
    
    .section-description {
        font-size: 14px;
        padding: 0 15px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .hamburger {
        display: block;
        z-index: 1001;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

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

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    .blob {
        width: 300px;
        height: 300px;
    }

    .profile-img {
        width: 250px;
        height: 250px;
    }

    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    /* Skills and Education responsive styles */
    .skills h3, .education h3 {
        font-size: 1.2rem;
    }
    
    .skill-category {
        margin-bottom: 20px;
    }
    
    .skill-category h4 {
        font-size: 1rem;
    }
    
    .skill-subcategory {
        margin-left: 10px;
        margin-bottom: 12px;
    }
    
    .skill-subcategory h5 {
        font-size: 0.9rem;
    }
    
    .skill-tags {
        gap: 8px;
    }
    
    .skill-tags span {
        font-size: 0.8rem;
        padding: 4px 10px;
    }
    
    .education-item {
        padding: 15px;
    }
    
    .education-item h4 {
        font-size: 0.95rem;
    }
    
    .education-institution,
    .education-date {
        font-size: 0.85rem;
    }
    
    .education-description {
        font-size: 0.85rem;
    }
}

@media screen and (max-width: 576px) {
    section {
        padding: 70px 0;
    }
    
    .hero {
        padding: 80px 0 40px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .typewriter {
        font-size: 1.2rem;
        height: auto;
        min-height: 30px;
    }

    .hero-description {
        font-size: 1rem;
        padding: 0 10px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        max-width: 250px;
        margin: 0 auto 30px;
    }
    
    .scroll-down {
        bottom: 20px;
        max-width: 120px;
    }
    
    .mouse {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        margin-bottom: 2px;
    }
    
    .scroll-text {
        font-size: 0.7rem;
    }
    
    .timeline-content {
        padding: 15px;
    }
    
    .timeline-content h3 {
        font-size: 1.2rem;
    }
    
    .timeline-date, .timeline-role {
        font-size: 0.85rem;
    }
    
    .timeline-achievements {
        padding-left: 10px;
    }
    
    .timeline-achievements li {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }
    
    .timeline-achievements li::before {
        left: -8px;
    }
    
    .tech-stack {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .tech-stack span {
        font-size: 0.75rem;
        padding: 4px 8px;
    }

    .blob {
        width: 250px;
        height: 250px;
    }

    .profile-img {
        width: 200px;
        height: 200px;
    }

    .about-stats {
        flex-direction: column;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    /* Skills and Education smallest screen styles */
    .skills-container {
        padding: 15px 10px;
    }
    
    .skill-category h4 {
        font-size: 0.95rem;
    }
    
    .skill-subcategory {
        margin-left: 5px;
    }
    
    .skill-subcategory h5 {
        font-size: 0.85rem;
    }
    
    .skill-tags {
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .skill-tags span {
        font-size: 0.75rem;
        padding: 3px 8px;
        margin-bottom: 4px;
    }
    
    .education-item {
        padding: 12px 10px;
    }
    
    .education-item h4 {
        font-size: 0.9rem;
    }
    
    .education-institution,
    .education-date {
        font-size: 0.8rem;
        display: block;
    }
    
    .education-date {
        margin-top: 5px;
    }
    
    .education-description {
        font-size: 0.8rem;
        margin-top: 8px;
    }
}


@media screen and (min-width: 577px) and (max-width:768px){
        .mouse {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        margin-bottom: 0px;
        margin-top: 20px;
    }
}


@media screen and (min-width: 768px) and (max-width:992px){
        .mouse {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        margin-bottom: 0px;
        margin-top: 20px;
    }
}
