/* ===== CSS Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Vibrant Color Palette */
    --primary: #FF6B8B;      /* Pink Coral */
    --secondary: #36D1DC;    /* Cyan */
    --accent: #FFD166;       /* Sunny Yellow */
    --dark: #1A1B3E;         /* Deep Navy */
    --light: #FFFFFF;
    --gray: #8A94A6;
    --light-gray: #F8F9FA;
    
    /* Gradient Colors */
    --gradient-1: linear-gradient(135deg, #FF6B8B, #FF8E53);
    --gradient-2: linear-gradient(135deg, #36D1DC, #5B86E5);
    --gradient-3: linear-gradient(135deg, #FFD166, #FF9A9E);
    --gradient-4: linear-gradient(135deg, #9D4EDD, #43E97B);
    --gradient-dark: linear-gradient(135deg, #1A1B3E, #2D3047);
    
    /* Theme Variables */
    --bg-color: #0A0B1A;
    --card-bg: rgba(255, 255, 255, 0.05);
    --text-color: #FFFFFF;
    --text-light: rgba(255, 255, 255, 0.8);
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 20px 50px rgba(255, 107, 139, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}


html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--bg-color);
    transition: var(--transition);
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 107, 139, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(54, 209, 220, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 209, 102, 0.1) 0%, transparent 50%);
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

p {
    color: var(--text-light);
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 10px 25px;
    background: var(--gradient-1);
    color: white;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.section-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.section-badge:hover::before {
    left: 100%;
}

.section-title {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    animation: gradient-shift 3s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 107, 139, 0.3);
}

.btn-secondary {
    background: var(--gradient-2);
    color: white;
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(54, 209, 220, 0.3);
}

.btn-gradient {
    background: var(--gradient-1);
    color: white;
}

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 107, 139, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-glow {
    box-shadow: 0 0 20px rgba(255, 107, 139, 0.3);
}

.btn-glow:hover {
    box-shadow: 0 0 40px rgba(255, 107, 139, 0.5);
}

.btn-sparkle::before {
    content: '✨';
    position: absolute;
    opacity: 0;
    transition: var(--transition);
}

.btn-sparkle:hover::before {
    opacity: 1;
    transform: rotate(360deg);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn:hover .btn-shine {
    left: 100%;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 11, 26, 0.9);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

[data-theme="light"] .navbar {
    background: rgba(255, 255, 255, 0.9);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 500;
    color: var(--text-light);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: white;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.theme-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.theme-btn:hover {
    background: var(--primary);
    color: white;
    transform: rotate(30deg);
}

.resume-btn {
    padding: 8px 20px;
    background: var(--gradient-1);
    color: white;
    border: none;
    border-radius: 20px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.resume-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 139, 0.3);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

.menu-icon {
    width: 30px;
    height: 20px;
    position: relative;
}

.menu-icon span {
    position: absolute;
    width: 100%;
    height: 3px;
    background: var(--text-color);
    border-radius: 3px;
    transition: var(--transition);
}

.menu-icon span:nth-child(1) { top: 0; }
.menu-icon span:nth-child(2) { top: 8px; }
.menu-icon span:nth-child(3) { top: 16px; }

.menu-toggle.active .menu-icon span:nth-child(1) {
    transform: rotate(45deg);
    top: 8px;
}

.menu-toggle.active .menu-icon span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .menu-icon span:nth-child(3) {
    transform: rotate(-45deg);
    top: 8px;
}

/* ===== Hero Section ===== */
.hero {
    padding-top: 140px;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    backdrop-filter: blur(10px);
    margin-bottom: 30px;
}

.badge-text {
    color: var(--primary);
    font-weight: 500;
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-title {
    margin-bottom: 20px;
}

.title-line {
    display: block;
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.title-name {
    font-size: 3.5rem;
    line-height: 1.2;
}

.name-highlight {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-contact-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 25px;
    backdrop-filter: blur(10px);
    margin-bottom: 30px;
    transition: var(--transition);
}

.hero-contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.contact-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-card-header i {
    font-size: 1.5rem;
    color: var(--primary);
}

.contact-card-header h3 {
    font-size: 1.2rem;
}

.contact-email {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--bg-color);
    border-radius: 15px;
    margin-bottom: 20px;
    transition: var(--transition);
    text-decoration: none;
}

.contact-email:hover {
    transform: translateX(5px);
    background: var(--gradient-1);
    color: white;
}

.contact-email:hover .email-label,
.contact-email:hover .email-address {
    color: white;
}

.contact-email i {
    font-size: 1.2rem;
    color: var(--primary);
}

.email-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.email-label {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.email-address {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    word-break: break-all;
}

.copy-icon {
    opacity: 0;
    transition: var(--transition);
}

.contact-email:hover .copy-icon {
    opacity: 1;
}

.contact-quick {
    display: flex;
    gap: 15px;
}

.contact-quick a {
    flex: 1;
    padding: 10px;
    background: var(--bg-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 500;
    transition: var(--transition);
}

.contact-quick a:hover {
    background: var(--gradient-2);
    color: white;
    transform: translateY(-2px);
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 20px;
    min-height: 2.5rem;
}

.typewriter-text {
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cursor {
    animation: blink 1s infinite;
    color: var(--secondary);
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-text {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.hero-scroll {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.scroll-indicator {
    width: 20px;
    height: 35px;
    border: 2px solid var(--text-light);
    border-radius: 10px;
    position: relative;
}

.scroll-wheel {
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    animation: scroll-wheel 2s infinite;
}

@keyframes scroll-wheel {
    0%, 100% { top: 5px; opacity: 1; }
    50% { top: 15px; opacity: 0.5; }
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
}

.visual-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-element {
    position: absolute;
    width: 70px;
    height: 70px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    backdrop-filter: blur(10px);
    animation: float 6s ease-in-out infinite;
}

.element-1 {
    top: 20px;
    right: 30px;
    background: var(--gradient-1);
    color: white;
    animation-delay: 0s;
}

.element-2 {
    top: 40%;
    left: 10px;
    background: var(--gradient-2);
    color: white;
    animation-delay: 2s;
}

.element-3 {
    bottom: 50px;
    right: 60px;
    background: var(--gradient-3);
    color: white;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.profile-avatar {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
}

.avatar-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid;
    border-radius: 50%;
    animation: ring-rotate 20s linear infinite;
}

.ring-1 {
    width: 100%;
    height: 100%;
    border-color: var(--primary);
    animation-delay: 0s;
}

.ring-2 {
    width: 80%;
    height: 80%;
    border-color: var(--secondary);
    animation-delay: 5s;
}

.ring-3 {
    width: 60%;
    height: 60%;
    border-color: var(--accent);
    animation-delay: 10s;
}

@keyframes ring-rotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.avatar-main {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 280px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: white;
    box-shadow: 0 20px 60px rgba(255, 107, 139, 0.4);
}

.tech-stack {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.tech-tag {
    padding: 8px 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.tech-tag:hover {
    background: var(--color);
    color: white;
    transform: translateY(-3px);
}

/* ===== Stats Section ===== */
.stats {
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
}

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.stat-1 .stat-icon { background: var(--gradient-1); }
.stat-2 .stat-icon { background: var(--gradient-2); }
.stat-3 .stat-icon { background: var(--gradient-3); }
.stat-4 .stat-icon { background: var(--gradient-4); }

.stat-card h3 {
    font-size: 3rem;
    color: white;
    margin-bottom: 10px;
}

.stat-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* ===== About Section ===== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 40px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.about-image {
    margin-bottom: 30px;
}

.image-frame {
    width: 100%;
    height: 300px;
    border-radius: 20px;
    background: var(--gradient-2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: white;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
}

.info-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-top: 5px;
}

.info-item h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.info-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.info-item .highlight {
    color: var(--primary);
    font-weight: 500;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.specializations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.spec-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: var(--transition);
}

.spec-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.spec-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.2rem;
    color: white;
}

.spec-card h4 {
    margin-bottom: 10px;
    font-size: 1rem;
}

.spec-card p {
    font-size: 0.85rem;
    line-height: 1.5;
}

.text-link {
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
    position: relative;
}

.text-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.text-link:hover::after {
    width: 100%;
}

.about-cta {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* ===== Skills Section ===== */
.skills-tabs {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    margin-bottom: 40px;
}

.tabs-header {
    display: flex;
    background: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tabs-header::-webkit-scrollbar {
    height: 4px;
}

.tabs-header::-webkit-scrollbar-track {
    background: var(--border-color);
}

.tabs-header::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 2px;
}

.tab-btn {
    flex: 1;
    min-width: 120px;
    padding: 20px;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.tab-btn:hover {
    color: var(--text-color);
    background: var(--glass-bg);
}

.tab-btn.active {
    color: var(--primary);
    background: var(--glass-bg);
    position: relative;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-1);
}

.tabs-content {
    padding: 40px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.skill-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.skill-header i {
    font-size: 2rem;
    color: var(--primary);
}

.skill-header h3 {
    font-size: 1.5rem;
}

.skill-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.skill-info span:first-child {
    font-weight: 500;
    color: var(--text-color);
}

.skill-info span:last-child {
    color: var(--primary);
    font-weight: 600;
}

.skill-bar {
    height: 10px;
    background: var(--border-color);
    border-radius: 5px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-1);
    border-radius: 5px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: left;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.skill-tag {
    padding: 12px 24px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-weight: 500;
    color: var(--text-color);
    transition: var(--transition);
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.skill-tag:hover {
    background: var(--tag-color, var(--primary));
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* ===== Projects Section ===== */
.project-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 25px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    font-weight: 500;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.filter-btn:hover {
    color: var(--text-color);
    border-color: var(--primary);
}

.filter-btn.active {
    background: var(--gradient-1);
    color: white;
    border-color: transparent;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.project-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.project-image {
    height: 200px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.project-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 15px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.project-image i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: white;
    opacity: 0.8;
}

.project-content {
    padding: 25px;
}

.project-content h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.project-content p {
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: var(--text-light);
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.project-tech span {
    padding: 6px 12px;
    background: rgba(255, 107, 139, 0.1);
    color: var(--primary);
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-actions {
    display: flex;
    gap: 10px;
}

.projects-cta {
    text-align: center;
}

/* ===== Contact Section ===== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.contact-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: white;
}

.contact-card h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.contact-link {
    display: block;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 10px;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--secondary);
}

.contact-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.contact-form-container {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.form-header {
    margin-bottom: 30px;
    text-align: center;
}

.form-header h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--text-color);
}

.form-group label i {
    color: var(--primary);
}

.form-group input,
.form-group textarea {
    padding: 15px 20px;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 139, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== Footer ===== */
.footer {
    background: var(--gradient-dark);
    color: white;
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.brand-logo {
    position: relative;
    margin-bottom: 20px;
}

.brand-logo span {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    filter: blur(20px);
    opacity: 0.3;
    z-index: -1;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 10px;
}

.footer-social h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary);
    transform: translateY(-3px) rotate(5deg);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom p {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom .fa-heart {
    color: var(--primary);
    animation: pulse 2s infinite;
}

.footer-bottom .fa-code {
    color: var(--secondary);
}

.footer-note {
    font-size: 0.9rem;
    margin-top: 20px;
    opacity: 0.7;
}

/* ===== Back to Top Button ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(255, 107, 139, 0.3);
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 40px rgba(255, 107, 139, 0.5);
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .section-title {
        font-size: 2.5rem;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-visual {
        order: -1;
        height: 400px;
    }
    
    .avatar-main {
        width: 150px;
        height: 150px;
        font-size: 4rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 0;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-color);
        flex-direction: column;
        padding: 20px;
        gap: 10px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 999;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        width: 100%;
        justify-content: center;
    }
    
    .nav-actions {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    
    .resume-btn {
        width: 100%;
        justify-content: center;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero {
        padding-top: 120px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .title-name {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    section {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tab-btn {
        min-width: 100px;
        padding: 15px;
        font-size: 0.9rem;
    }
    
    .tabs-content {
        padding: 20px;
    }
    
    .project-filters {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        align-items: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .title-name {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .specializations {
        grid-template-columns: 1fr;
    }
    
    .about-cta {
        flex-direction: column;
    }
    
    .project-actions {
        flex-direction: column;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

/* ===== Print Styles ===== */
@media print {
    .navbar,
    .hero-actions,
    .project-filters,
    .back-to-top {
        display: none;
    }
    
    .hero {
        padding-top: 0;
    }
    
    section {
        padding: 50px 0;
    }
    
    .btn {
        display: none;
    }
}
/* Add these styles to your existing style.css */

/* Profile Image in Hero Section */
.profile-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--primary);
    box-shadow: var(--shadow-hover);
}

.avatar-main {
    width: 200px;
    height: 200px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: transparent;
    
}

/* Remove the astronaut icon styles */
.avatar-main i {
    display: none;
}

/* Certificate Images Section */
.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.certificate-item {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.certificate-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.certificate-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.cert-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.certificate-item:hover .cert-img {
    transform: scale(1.05);
}

.certificate-info {
    padding: 20px;
}

.certificate-info h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.cert-issuer {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.cert-desc {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .certificates-grid {
        grid-template-columns: 1fr;
    }
    
    .avatar-main {
        width: 150px;
        height: 150px;
    }
}
/* Skills Section - Simplified */
.skills-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.skills-category {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 25px;
    transition: var(--transition);
}

.skills-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.category-header i {
    font-size: 1.8rem;
    color: var(--primary);
    background: rgba(255, 107, 139, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-header h3 {
    font-size: 1.3rem;
    color: var(--text-color);
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.skill-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: var(--transition);
}

.skill-item:hover {
    background: rgba(255, 107, 139, 0.1);
    transform: translateX(5px);
}

.skill-name {
    font-weight: 500;
    color: var(--text-color);
}

.skill-level {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Skill level colors */
.skill-level {
    background: rgba(76, 201, 240, 0.1);
    color: #4cc9f0;
}

.skill-item:nth-child(2) .skill-level {
    background: rgba(76, 201, 240, 0.1);
    color: #4cc9f0;
}

.skill-item:nth-child(3) .skill-level {
    background: rgba(255, 209, 102, 0.1);
    color: #ffd166;
}

.skill-item:nth-child(4) .skill-level {
    background: rgba(255, 209, 102, 0.1);
    color: #ffd166;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .skills-categories {
        grid-template-columns: 1fr;
    }
    
    .skills-category {
        padding: 20px;
    }
}
.college-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.image-frame {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Skills Section */
.skills {
    padding: 4rem 2rem;
    background: #f8f9fa;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
}
/* ===== Skills Section - Updated to Match Theme ===== */
.skills {
    padding: 80px 0;
    background: var(--bg-color);
}

.skills .section-title {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.skills .section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Skills Container */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px 0;
}

/* Skills Category */
.skills-category {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.skills-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

/* Category Title */
.skills-category h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.skills-category h3::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--gradient-1);
    border-radius: 50%;
}

/* Data Analysis specific */
.skills-category:first-child h3::before {
    background: var(--gradient-1);
}

/* UI/UX Design specific */
.skills-category:nth-child(2) h3::before {
    background: var(--gradient-3);
}

/* Web Development specific */
.skills-category:nth-child(3) h3::before {
    background: var(--gradient-2);
}

/* AI/ML Tools specific */
.skills-category:nth-child(4) h3::before {
    background: var(--gradient-4);
}

/* Skills List */
.skills-list {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 12px;
}

/* Skill Item */
.skills-list li {
    padding: 14px;
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: var(--transition);
    cursor: default;
    display: flex;
    align-items: center;
    gap: 10px;
}

.skills-list li:hover {
    background: var(--glass-bg);
    border-color: var(--primary);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.skills-list li::before {
    content: '▸';
    color: var(--primary);
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.skills-list li:hover::before {
    transform: translateX(3px);
    color: var(--secondary);
}

/* Skill item colors based on category */
.skills-category:first-child .skills-list li:hover {
    background: linear-gradient(90deg, rgba(255, 107, 139, 0.1), transparent);
    border-color: rgba(255, 107, 139, 0.3);
}

.skills-category:nth-child(2) .skills-list li:hover {
    background: linear-gradient(90deg, rgba(255, 209, 102, 0.1), transparent);
    border-color: rgba(255, 209, 102, 0.3);
}

.skills-category:nth-child(3) .skills-list li:hover {
    background: linear-gradient(90deg, rgba(54, 209, 220, 0.1), transparent);
    border-color: rgba(54, 209, 220, 0.3);
}

.skills-category:nth-child(4) .skills-list li:hover {
    background: linear-gradient(90deg, rgba(157, 78, 221, 0.1), transparent);
    border-color: rgba(157, 78, 221, 0.3);
}

/* Light Theme Adjustments */
[data-theme="light"] .skills-category {
    background: var(--card-bg);
    border-color: var(--border-color);
}

[data-theme="light"] .skills-list li {
    background: rgba(26, 27, 62, 0.05);
    border-color: rgba(26, 27, 62, 0.1);
}

[data-theme="light"] .skills-list li:hover {
    background: rgba(26, 27, 62, 0.08);
}

/* Responsive Design */
@media (max-width: 768px) {
    .skills {
        padding: 60px 0;
    }
    
    .skills .section-title {
        font-size: 2rem;
    }
    
    .skills-container {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 20px;
    }
    
    .skills-category {
        padding: 25px;
    }
    
    .skills-list li {
        padding: 12px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .skills {
        padding: 40px 0;
    }
    
    .skills .section-title {
        font-size: 1.8rem;
    }
    
    .skills-category {
        padding: 20px;
    }
    
    .skills-category h3 {
        font-size: 1.2rem;
    }
    
    .skills-list li {
        padding: 10px;
        font-size: 0.85rem;
    }
}
/* ===== PROJECTS SECTION ===== */
.projects {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #f3f4f6 100%);
}

.project-categories {
    margin: 40px 0;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.category-tab {
    padding: 12px 24px;
    border: 2px solid #ddd;
    background: white;
    border-radius: 25px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-tab:hover {
    border-color: #667eea;
    color: #667eea;
}

.category-tab.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-color: #667eea;
    color: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.project-image {
    height: 200px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.project-image i {
    font-size: 64px;
    color: white;
    opacity: 0.9;
}

.project-content {
    padding: 25px;
}

.project-content h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: #333;
}

.project-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.project-tech span {
    background: #f3f4f6;
    color: #4b5563;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.project-actions {
    display: flex;
    gap: 10px;
}

.btn-small {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-small {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.btn-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid #ddd;
    color: #666;
}

.btn-outline:hover {
    border-color: #667eea;
    color: #667eea;
    background: transparent;
}

.projects-cta {
    text-align: center;
    margin-top: 40px;
}

.btn-gradient {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 35px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: rgb(46, 41, 41);
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .category-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .category-tab {
        white-space: nowrap;
    }
    
    .project-actions {
        flex-direction: column;
    }
}
/* ===== PROJECTS SECTION ===== */
.projects {
    padding: 80px 0;
    background: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(255, 107, 139, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 20%, rgba(54, 209, 220, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.projects .container {
    position: relative;
    z-index: 1;
}

/* Project Filters */
.project-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    position: relative;
}

.filter-btn {
    padding: 12px 25px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    font-weight: 500;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-btn:hover {
    color: var(--text-color);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--gradient-1);
    color: white;
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(255, 107, 139, 0.2);
}

.filter-btn i {
    font-size: 1rem;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.project-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.project-card:hover::before {
    opacity: 1;
}

.project-image {
    height: 200px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.project-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 15px;
    background: rgba(10, 11, 26, 0.8);
    color: white;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    z-index: 2;
}

.project-image i {
    font-size: 64px;
    color: white;
    opacity: 0.9;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.project-content {
    padding: 25px;
}

.project-content h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--text-color);
    font-weight: 600;
}

.project-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.project-tech span {
    padding: 6px 12px;
    background: rgba(255, 107, 139, 0.1);
    color: var(--primary);
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 107, 139, 0.2);
}

.project-actions {
    display: flex;
    gap: 10px;
}

.project-actions .btn-small {
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    flex: 1;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-color);
    backdrop-filter: blur(10px);
}

.project-actions .btn-small:hover {
    background: var(--gradient-1);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 139, 0.3);
}

.project-actions .btn-outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-light);
}

.project-actions .btn-outline:hover {
    background: var(--gradient-2);
    color: white;
    border-color: transparent;
}

/* Projects CTA */
.projects-cta {
    text-align: center;
    margin-top: 40px;
}

.projects-cta .btn-gradient {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 35px;
    background: var(--gradient-1);
    color: white;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.projects-cta .btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 107, 139, 0.3);
}

.projects-cta .btn-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.projects-cta .btn-gradient:hover::before {
    left: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .projects {
        padding: 60px 0;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .project-filters {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }
    
    .filter-btn {
        white-space: nowrap;
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .project-actions {
        flex-direction: column;
    }
    
    .project-card:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 480px) {
    .projects {
        padding: 40px 0;
    }
    
    .projects-grid {
        gap: 20px;
    }
    
    .project-content {
        padding: 20px;
    }
    
    .project-content h3 {
        font-size: 1.2rem;
    }
    
    .project-content p {
        font-size: 0.9rem;
    }
}

/* Light Theme Support */
[data-theme="light"] .projects {
    background: #f8f9ff;
}

[data-theme="light"] .project-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .project-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .project-content h3 {
    color: #333;
}

[data-theme="light"] .project-content p {
    color: #666;
}

[data-theme="light"] .project-tech span {
    background: rgba(255, 107, 139, 0.1);
    color: #FF6B8B;
    border: 1px solid rgba(255, 107, 139, 0.2);
}

[data-theme="light"] .project-actions .btn-small {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #333;
}

[data-theme="light"] .filter-btn {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #666;
}

[data-theme="light"] .filter-btn:hover {
    border-color: #FF6B8B;
    color: #FF6B8B;
}

[data-theme="light"] .filter-btn.active {
    background: var(--gradient-1);
    color: white;
    border-color: transparent;
}

[data-theme="light"] .project-badge {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
}
