/* Global Styles */
:root {
    /* Light Theme (Default) - Enhanced with more vibrant colors */
    --primary-color: #5d4fff;
    --primary-rgb: 93, 79, 255; /* RGB values of primary color for rgba usage */
    --secondary-color: #4a45b1;
    --accent-color: #ff4f7e;
    --accent-secondary: #ff8c66; /* New secondary accent for gradients */
    --text-color: #333;
    --light-text: #777;
    --bg-color: #fff;
    --light-bg: #f9f9f9;
    --dark-bg: #2a2a2a;
    --border-color: #eaeaea;
    --card-shadow: 0 8px 20px rgba(93, 79, 255, 0.15);
    --card-hover-shadow: 0 12px 30px rgba(93, 79, 255, 0.25); /* Enhanced shadow for hover effects */
    --transition: all 0.3s ease;
    --navbar-bg: rgba(255, 255, 255, 0.95);
    --footer-text: rgba(255, 255, 255, 0.7);
    --timeline-line: rgba(0, 0, 0, 0.1);
    --timeline-dot: var(--primary-color);
    --card-bg: white;
    --input-bg: white;
    --input-border: #eaeaea;
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--accent-secondary));
}

/* Dark Theme - Enhanced with more vibrant colors and gradients */
[data-theme="dark"] {
    --primary-color: #7d73ff; /* Slightly lighter for better contrast */
    --secondary-color: #6a65d1;
    --accent-color: #ff5f8a;
    --accent-secondary: #ff9c76; /* New secondary accent for gradients */
    --text-color: #f0f0f0;
    --light-text: #b8b8b8;
    --bg-color: #121212;
    --light-bg: #1e1e1e;
    --dark-bg: #0a0a0a;
    --border-color: #333;
    --card-shadow: 0 8px 20px rgba(125, 115, 255, 0.2);
    --card-hover-shadow: 0 12px 30px rgba(125, 115, 255, 0.3); /* Enhanced shadow for hover effects */
    --navbar-bg: rgba(18, 18, 18, 0.95);
    --footer-text: rgba(240, 240, 240, 0.7);
    --timeline-line: rgba(255, 255, 255, 0.1);
    --timeline-dot: var(--primary-color);
    --card-bg: #1e1e1e;
    --input-bg: #2a2a2a;
    --input-border: #444;
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--accent-secondary));
}

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

.highlight-text {
    color: var(--accent-color);
    font-size: 0.8em;
    font-weight: 500;
    padding: 4px 10px;
    background-color: rgba(var(--primary-rgb), 0.1);
    border-radius: 20px;
    display: inline-block;
    margin-left: 10px;
    vertical-align: middle;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(var(--primary-rgb), 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0);
    }
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

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

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

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

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

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    animation: expand-line 1.5s ease-out forwards;
}

@keyframes expand-line {
    0% {
        width: 0;
        opacity: 0;
    }
    100% {
        width: 80px;
        opacity: 1;
    }
}

/* Add subtle text shadow to section titles */
.section-title {
    text-shadow: 0 2px 10px rgba(var(--primary-rgb), 0.15);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.primary-btn {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.4);
}

.primary-btn:active {
    transform: translateY(1px);
}

.primary-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-accent);
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.primary-btn:hover::after {
    opacity: 1;
}

.secondary-btn {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.1);
}

.secondary-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.2);
}

.secondary-btn:active {
    transform: translateY(1px);
}

.small-btn {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--navbar-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

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

/* Theme Toggle Styles */
.theme-toggle {
    margin-left: 20px;
    display: flex;
    align-items: center;
}

#theme-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-color);
    background-color: var(--light-bg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

#theme-toggle-btn:hover {
    background-color: var(--border-color);
}

#theme-toggle-btn .fa-sun {
    position: absolute;
    opacity: 1;
    transform: translateY(0);
    transition: var(--transition);
}

#theme-toggle-btn .fa-moon {
    position: absolute;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

[data-theme="dark"] #theme-toggle-btn .fa-sun {
    opacity: 0;
    transform: translateY(-20px);
}

[data-theme="dark"] #theme-toggle-btn .fa-moon {
    opacity: 1;
    transform: translateY(0);
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
    transition: var(--transition);
    margin: 8px 0;
}

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

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 5px 0;
}

.nav-links a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
    text-shadow: 0 2px 10px rgba(var(--primary-rgb), 0.2);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease, box-shadow 0.3s ease;
    border-radius: 2px;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: -2px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: width 0.3s ease 0.1s;
    border-radius: 2px;
}

.nav-links a:hover::before {
    width: 100%;
    right: auto;
    left: 0;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
    box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.5);
}

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

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: var(--transition);
    background-color: var(--text-color);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08) 0%, rgba(255, 79, 126, 0.08) 100%);
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
    position: relative;
}

/* Add animated background shapes */
.hero::before, .hero::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.05;
    z-index: 0;
}

.hero::before {
    top: -100px;
    right: -100px;
    animation: pulse-slow 15s ease-in-out infinite alternate;
}

.hero::after {
    bottom: -100px;
    left: -100px;
    animation: pulse-slow 20s ease-in-out infinite alternate-reverse;
}

@keyframes pulse-slow {
    0% {
        transform: scale(1) translate(0, 0);
    }
    50% {
        transform: scale(1.2) translate(50px, 20px);
    }
    100% {
        transform: scale(1) translate(0, 0);
    }
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.hero-text {
    flex: 1;
    text-align: left;
    padding-right: 30px;
}

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

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

.hero .highlight {
    color: var(--primary-color);
    position: relative;
}

.hero .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(108, 99, 255, 0.2);
    z-index: -1;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--light-text);
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-buttons i {
    margin-right: 8px;
}

.floating {
    animation: float 6s ease-in-out infinite;
    max-width: 90%;
    height: auto;
    filter: drop-shadow(0 10px 15px rgba(var(--primary-rgb), 0.3));
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(2deg);
    }
    50% {
        transform: translateY(-20px) rotate(0deg);
    }
    75% {
        transform: translateY(-10px) rotate(-2deg);
    }
    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

/* Add shine effect to cards */
.project-card, .expertise-card, .contact-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    border-radius: 12px;
}

.project-card:hover, .expertise-card:hover, .contact-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-hover-shadow);
}

.project-card::after, .expertise-card::after, .contact-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: rotate(30deg);
    opacity: 0;
    transition: opacity 0.5s ease, transform 1s ease;
}

.project-card:hover::after, .expertise-card:hover::after, .contact-card:hover::after {
    opacity: 1;
    transform: rotate(30deg) translate(50%, -100%);
}

/* Scroll to top button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3);
    overflow: hidden;
}

.scroll-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.scroll-top::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.scroll-top i {
    font-size: 1.3rem;
    transition: transform 0.4s ease;
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
    animation: pulse-subtle 2s infinite;
}

@keyframes pulse-subtle {
    0% { box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3); }
    50% { box-shadow: 0 5px 30px rgba(var(--primary-rgb), 0.5); }
    100% { box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3); }
}

.scroll-top:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 15px 25px rgba(var(--primary-rgb), 0.4);
}

.scroll-top:hover::before {
    opacity: 1;
}

.scroll-top:hover::after {
    opacity: 0.5;
    animation: ripple 1s ease-out infinite;
}

@keyframes ripple {
    0% { width: 0%; height: 0%; opacity: 0.5; }
    100% { width: 150%; height: 150%; opacity: 0; }
}

.scroll-top:hover i {
    transform: translateY(-3px);
    animation: bounce 0.8s ease infinite alternate;
}

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

/* Enhanced expertise card animations */
.expertise-icon {
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
}

.expertise-card:hover .expertise-icon {
    transform: scale(1.15) translateY(-5px);
}

.expertise-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 0;
    border-radius: 50%;
    transform: scale(0.5);
    transition: all 0.5s ease;
}

.expertise-card:hover .expertise-icon::after {
    opacity: 0.15;
    transform: scale(1.5);
}

/* Add subtle animation to expertise card titles */
.expertise-card h3 {
    transition: color 0.3s ease, transform 0.3s ease;
}

.expertise-card:hover h3 {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    z-index: -1;
}

.shape1 {
    width: 100px;
    height: 100px;
    background-color: rgba(108, 99, 255, 0.1);
    top: 20%;
    right: 10%;
    animation: pulse 8s infinite alternate;
}

.shape2 {
    width: 150px;
    height: 150px;
    background-color: rgba(255, 101, 132, 0.1);
    bottom: 10%;
    left: 10%;
    animation: pulse 6s infinite alternate-reverse;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.2);
    }
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: flex-start;
    gap: 50px;
}

.about-image {
    text-align: center;
    width: 100%;
}

.profile-container {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
}

.profile-container:hover {
    transform: translateY(-10px);
}

.profile-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(108, 99, 255, 0.8);
    overflow: hidden;
    width: 100%;
    height: 0;
    transition: .5s ease;
}

.profile-container:hover .profile-overlay {
    height: 80px;
}

.overlay-content {
    color: white;
    font-size: 16px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
}

.overlay-content i {
    font-size: 24px;
    margin-bottom: 5px;
    display: block;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--light-bg);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

.about-text {
    width: 100%;
}

.about-intro h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
    line-height: 1.4;
}

.about-intro .highlight {
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 20px;
    color: var(--light-text);
    line-height: 1.7;
    font-size: 1.1rem;
}

.about-interests h3 {
    font-size: 1.5rem;
    margin: 30px 0 15px;
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
}

.about-interests h3 i {
    margin-left: 10px;
    color: var(--accent-color);
}

.interests-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.interests-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: var(--light-bg);
}

.interests-list li:hover {
    transform: translateX(5px);
    background-color: rgba(var(--primary-rgb), 0.1);
}

.interests-list li i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.1rem;
    width: 25px;
}

/* Expertise Section */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.expertise-card {
    background: var(--bg-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    text-align: center;
}

.expertise-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.expertise-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.expertise-icon i {
    font-size: 30px;
    color: white;
}

.expertise-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
}

.expertise-card p {
    color: var(--light-text);
}

/* Technologies Section */
.tech-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.tech-category h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
    text-align: center;
}

.tech-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 120px;
    transition: var(--transition);
}

.tech-item:hover {
    transform: translateY(-5px);
}

.tech-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 10px;
}

.tech-item span {
    font-size: 0.9rem;
    color: var(--light-text);
    text-align: center;
}

/* Skills Section */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
}

.skills-category h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
}

.skill-bars {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skill-bar {
    width: 100%;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.skill-info span {
    font-size: 1rem;
    color: var(--light-text);
}

.skill-progress {
    height: 10px;
    background: var(--light-bg);
    border-radius: 5px;
    overflow: hidden;
}

.skill-progress-bar {
    height: 100%;
    background: var(--primary-color);
    border-radius: 5px;
    transition: width 1s ease-in-out;
}

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

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--timeline-line);
    top: 0;
    bottom: 0;
    left: 50px;
    margin-left: -1px;
}

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

.timeline-dot {
    width: 20px;
    height: 20px;
    background: var(--timeline-dot);
    border-radius: 50%;
    position: absolute;
    left: 40px;
    top: 0;
    z-index: 1;
}

.timeline-content {
    background: var(--bg-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--card-shadow);
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
}

.timeline-content h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-weight: 500;
}

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

.certification-list {
    margin-top: 20px;
}

.certification-list li {
    margin-bottom: 20px;
}

.certification-list li:last-child {
    margin-bottom: 0;
}

/* Projects Section */
.projects .section-subtitle {
    text-align: center;
    color: var(--light-text);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

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

.filter-btn {
    padding: 10px 20px;
    background: var(--light-bg);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
    color: var(--light-text);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.filter-btn i {
    font-size: 0.9rem;
    color: var(--primary-color);
}

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

.filter-btn:hover i,
.filter-btn.active i {
    color: white;
}

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

.project-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 1px solid rgba(var(--primary-rgb), 0.1);
    transform: translateY(0);
    z-index: 1;
}

.project-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 30px rgba(var(--primary-rgb), 0.3);
    border-color: rgba(var(--primary-rgb), 0.4);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, rgba(255, 79, 126, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

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

.project-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.project-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, var(--card-bg) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover .project-img::after {
    opacity: 0.7;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease, filter 0.4s ease;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.project-category {
    color: white;
    font-size: 0.85rem;
    background: rgba(var(--primary-rgb), 0.9);
    padding: 6px 15px;
    border-radius: 20px;
    font-weight: 600;
    transform: translateY(20px);
    transition: var(--transition);
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-card:hover .project-category {
    transform: translateY(0);
}

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

.project-content {
    padding: 25px;
}

.project-content h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
}

.project-content p {
    color: var(--light-text);
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.project-tech span {
    background: var(--light-bg);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.project-tech span i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

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

.project-tech span:hover i {
    color: white;
}

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

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

.secondary-btn {
    background: var(--light-bg);
    color: var(--text-color);
}

.primary-btn:hover, .secondary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Future Plans Section */
.future-content {
    max-width: 900px;
    margin: 0 auto;
}

.future-text p {
    text-align: center;
    margin-bottom: 40px;
    color: var(--light-text);
    font-size: 1.1rem;
}

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

.future-goal {
    text-align: center;
    padding: 30px;
    background: var(--bg-color);
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.future-goal:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.future-goal i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.future-goal h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
}

.future-goal p {
    color: var(--light-text);
    font-size: 0.95rem;
    text-align: center;
    margin-bottom: 0;
}

/* Contact Section */
.contact .section-subtitle {
    text-align: center;
    color: var(--light-text);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 20px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 20px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.3);
    border-color: rgba(var(--primary-rgb), 0.2);
}

.contact-card::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, rgba(var(--primary-rgb), 0) 50%);
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

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

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.4);
}

.contact-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 70%);
    top: -50%;
    left: -50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-card:hover .contact-icon::after {
    opacity: 0.5;
    animation: pulse-contact 2s infinite;
}

@keyframes pulse-contact {
    0% { transform: scale(0.5); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.2; }
    100% { transform: scale(0.5); opacity: 0.5; }
}

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

.contact-details {
    flex: 1;
    transition: transform 0.3s ease;
}

.contact-card:hover .contact-details {
    transform: translateX(5px);
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
    transition: color 0.3s ease;
}

.contact-card:hover .contact-item h3 {
    color: var(--primary-color);
}

.contact-item p {
    color: var(--light-text);
    font-size: 1rem;
    transition: color 0.3s ease;
}

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

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

.availability {
    background: var(--light-bg);
    border-radius: 15px;
    padding: 20px;
    margin-top: 10px;
}

.availability h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
}

.availability h3 i {
    color: var(--primary-color);
}

.availability p {
    color: var(--light-text);
    font-size: 1rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    justify-content: center;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.social-link i {
    font-size: 20px;
    color: var(--primary-color);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.social-link:hover i {
    color: white;
}

.contact-form {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 35px;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
    text-align: center;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: var(--text-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--input-border);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--input-bg);
    color: var(--text-color);
}

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

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

.contact-form .btn {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
}

.contact-form .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
    background: var(--dark-bg);
    padding: 60px 0 30px;
    color: white;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.5);
}

.footer::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, rgba(var(--primary-rgb), 0.05) 0%, transparent 100%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 40px;
    position: relative;
    z-index: 1;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: translateY(-5px);
}

.footer-logo-img {
    height: 50px;
    width: auto;
    margin-bottom: 15px;
    filter: brightness(0) invert(1) drop-shadow(0 2px 5px rgba(var(--primary-rgb), 0.3));
}

.footer-logo p {
    color: var(--footer-text);
    font-size: 0.95rem;
    line-height: 1.7;
    position: relative;
    padding-left: 10px;
}

.footer-logo p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
    opacity: 0.7;
}

.footer-links-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-links-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: white;
    font-family: 'Poppins', sans-serif;
    position: relative;
    padding-bottom: 10px;
    display: inline-block;
}

.footer-links-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.footer-links-column:hover h3::after {
    width: 100%;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links li {
    transition: transform 0.3s ease;
}

.footer-links li:hover {
    transform: translateX(5px);
}

.footer-links li a {
    color: var(--footer-text);
    transition: var(--transition);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 0;
}

.footer-links li a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links li a:hover {
    color: white;
    padding-left: 20px;
}

.footer-links li a:hover::before {
    opacity: 1;
    left: 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.footer-bottom p {
    color: var(--footer-text);
    font-size: 0.9rem;
}

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

.footer-social a {
    color: var(--footer-text);
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
}

.footer-social a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.footer-social a:hover {
    color: white;
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.3);
}

.footer-social a:hover::before {
    opacity: 1;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .section-title {
        font-size: 2.2rem;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text {
        padding-right: 0;
        margin-bottom: 40px;
        order: 1;
    }
    
    .hero-image {
        order: 0;
        margin-bottom: 30px;
    }

    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero p {
        margin: 0 auto 30px auto;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-image {
        max-width: 400px;
        margin: 0 auto 20px;
    }
    
    .profile-container {
        width: 250px;
        height: 250px;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-logo {
        align-items: center;
        text-align: center;
    }
    
    .footer-links-container {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .tech-category {
        margin-bottom: 40px;
    }
    
    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background-color: var(--bg-color);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        gap: 15px;
        z-index: 1000;
    }

    .nav-links.active {
        left: 0;
    }
    
    .theme-toggle {
        margin-left: 0;
        margin-right: 15px;
    }

    .hamburger {
        display: block;
    }

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

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-links-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .contact-card {
        padding: 15px;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
    }
    
    .contact-form {
        padding: 25px;
    }
    
    .about-text {
        text-align: center;
    }
    
    .interests-list {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin: 0 auto;
        text-align: left;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content h2 {
        font-size: 1.2rem;
    }

    .expertise-grid,
    .skills-container,
    .future-goals {
        grid-template-columns: 1fr;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .tech-item {
        padding: 10px;
    }
    
    .tech-item img {
        height: 30px;
    }
    
    .tech-item span {
        font-size: 0.8rem;
    }

    .timeline-item {
        padding-left: 70px;
    }

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

    .timeline-dot {
        left: 20px;
    }
    
    .footer-links-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-links-column h3 {
        text-align: center;
    }
    
    .footer-links-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links {
        align-items: center;
    }
    
    .social-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .navbar .container {
        padding: 0 10px;
    }
    
    .logo-img {
        height: 35px;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
}

/* Media query for extra small devices */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content h2 {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .hero-image img {
        max-width: 80%;
        margin: 0 auto;
    }
    
    .expertise-card {
        padding: 15px;
    }
    
    .expertise-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .expertise-card h3 {
        font-size: 1.2rem;
    }
    
    .about-image {
        max-width: 280px;
    }
    
    .profile-container {
        width: 200px;
        height: 200px;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .about-intro h3 {
        font-size: 1.5rem;
    }
    
    .about-interests h3 {
        font-size: 1.3rem;
    }
    
    .interests-list {
        gap: 10px;
    }
    
    .interests-list li {
        padding: 6px 10px;
    }
}

/* Media query for very small devices */
@media (max-width: 360px) {
    .hero-content h1 {
        font-size: 1.6rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .navbar {
        padding: 10px 0;
    }
}