/* Modern Portfolio CSS with Enhanced UI */
:root {
    /* Color Variables */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --dark-bg: #0f0f23;
    --dark-card: #1a1a2e;
    --dark-text: #eee;
    --bright-bg: #ffffff;
    --bright-card: #f8f9fa;
    --bright-text: #2c2c54;
    --shadow-dark: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-light: 0 10px 30px rgba(0, 0, 0, 0.1);
    --border-radius: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Poppins', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    transition: var(--transition);
}

body.dark-mode {
    background: var(--dark-bg);
    color: var(--dark-text);
}

body.bright-mode {
    background: var(--bright-bg);
    color: var(--bright-text);
}

/* Clean Professional Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0.03;
    z-index: -1;
}

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

/* Custom Cursor Effects */
body {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="10" cy="10" r="8" fill="%23667eea" opacity="0.8"/></svg>'), auto;
}

a, button, .btn, .project-card, .skill-item {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" fill="%23f5576c" opacity="0.9"/></svg>'), pointer;
}

/* Sticky Navigation */
.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 0;
    transform: translateY(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sticky-nav.visible {
    transform: translateY(0);
}

body.bright-mode .sticky-nav {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo span {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--dark-text);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

body.bright-mode .nav-link {
    color: var(--bright-text);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 80%;
}

.nav-link:hover {
    transform: translateY(-2px);
    background: rgba(102, 126, 234, 0.1);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark-text);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

body.bright-mode .nav-toggle span {
    background: var(--bright-text);
}

/* Mode Toggle Button Styles */
.mode-toggle {
    position: absolute;
    top: 1rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.mode-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.mode-toggle i {
    font-size: 1.2rem;
    color: var(--dark-text);
    transition: all 0.3s ease;
}

body.bright-mode .mode-toggle {
    background: rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.2);
}

body.bright-mode .mode-toggle:hover {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(0, 0, 0, 0.4);
}

body.bright-mode .mode-toggle i {
    color: var(--bright-text);
}

/* Enhanced Header */
header {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-card) 100%);
    color: var(--dark-text);
    padding: 4rem 0 2rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-dark);
}

body.bright-mode header {
    background: linear-gradient(135deg, var(--bright-bg) 0%, var(--bright-card) 100%);
    color: var(--bright-text);
    box-shadow: var(--shadow-light);
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient);
    opacity: 0.1;
    z-index: 1;
}

header .container {
    position: relative;
    z-index: 2;
}

header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out;
}

header .location {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.icon {
    margin-right: 8px;
    font-size: 1.1em;
    vertical-align: middle;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.contact-info .btn {
    background: rgba(255, 255, 255, 0.1);
    color: inherit;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.contact-info .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    transition: var(--transition);
    z-index: -1;
}

.contact-info .btn:hover::before {
    left: 0;
}

.contact-info .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    color: white;
    border-color: transparent;
}

/* Mode Toggle */
.mode-toggle {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: inherit;
    font-size: 1.5rem;
    padding: 0.8rem;
    border-radius: 50%;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
}

.mode-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.mode-toggle i {
    transition: var(--transition);
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

/* Enhanced Sections */
section {
    background: var(--dark-card);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-dark);
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    animation: fadeInUp 0.8s ease-out;
}

body.bright-mode section {
    background: var(--bright-card);
    box-shadow: var(--shadow-light);
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    opacity: 0.8;
}

section:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

body.bright-mode section:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Typography */
h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 2rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    padding-bottom: 1rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

/* Skills Constellation Design */
.skills-constellation {
    position: relative;
    min-height: 600px;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.skills-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.skills-overlay {
    position: relative;
    z-index: 2;
    padding: 2rem;
    height: 100%;
}

.skill-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    height: 100%;
}

.skill-category {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
    opacity: 0.8;
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

.skill-category h3 {
    color: inherit;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-category h3 i {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.1rem;
}

.skill-progress-bars {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.skill-name {
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0.9;
}

.skill-bar {
    position: relative;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--primary-gradient);
    border-radius: 10px;
    width: 0;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.skill-percentage {
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0.8;
    align-self: flex-end;
}

/* Timeline Design */
.timeline {
    position: relative;
    min-height: 600px;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.timeline-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.timeline-overlay {
    position: relative;
    z-index: 2;
    padding: 2rem;
    height: 100%;
}

.timeline-events {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    height: 100%;
}

.timeline-event {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.timeline-event::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
    opacity: 0.8;
}

.timeline-event:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

.timeline-event h3 {
    color: inherit;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.timeline-event h3 i {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.1rem;
}

.timeline-event-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.timeline-event-date {
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0.9;
}

.timeline-event-description {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* About Section Styling */
.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-intro {
    margin-bottom: 2rem;
}

.intro-highlight {
    font-size: 1.4rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.about-intro p:last-child {
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.9;
    margin: 0;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.highlight-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.highlight-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.highlight-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    border-radius: 12px;
    flex-shrink: 0;
}

.highlight-icon i {
    font-size: 1.5rem;
    color: white;
}

.highlight-content h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    color: inherit;
}

.highlight-content p {
    margin: 0;
    opacity: 0.8;
    line-height: 1.6;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 500;
}

.profile-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 2rem;
    backdrop-filter: blur(10px);
    position: sticky;
    top: 2rem;
    transition: var(--transition);
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-avatar {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.profile-avatar i {
    font-size: 1.8rem;
    color: white;
}

.profile-info h3 {
    margin: 0 0 0.3rem 0;
    font-size: 1.3rem;
    color: inherit;
}

.profile-info p {
    margin: 0 0 0.5rem 0;
    opacity: 0.8;
    font-weight: 500;
}

.profile-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.7;
}

.profile-location i {
    color: #4facfe;
}

.profile-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.detail-item i {
    color: #4facfe;
    font-size: 1.1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.detail-item div strong {
    display: block;
    margin-bottom: 0.2rem;
    font-size: 0.95rem;
}

.detail-item div span {
    font-size: 0.85rem;
    opacity: 0.8;
}

.profile-interests h4 {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    color: inherit;
}

.interest-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.interest-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: var(--transition);
}

.interest-tag:hover {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

.interest-tag i {
    font-size: 0.7rem;
}

/* Responsive Design for About Section */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .profile-card {
        position: static;
    }
    
    .highlight-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .highlight-icon {
        align-self: center;
    }
}

/* Academics Section */
.academics-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.academic-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.academic-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    opacity: 0.8;
}

.academic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.academic-header {
    margin-bottom: 2rem;
}

.academic-header h3 {
    font-size: 1.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.institution {
    font-size: 1.1rem;
    font-weight: 600;
    color: #4facfe;
    margin-bottom: 0.5rem;
}

.academic-period {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.cgpa {
    font-size: 1rem;
    font-weight: 600;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.coursework h4 {
    font-size: 1.1rem;
    margin: 0 0 1rem 0;
    color: inherit;
    opacity: 0.9;
}

.course-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.course-tag {
    background: rgba(255, 255, 255, 0.1);
    color: inherit;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.course-tag:hover {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

/* Responsive Design for Academics */
@media (max-width: 768px) {
    .academics-container {
        padding: 1rem 0;
    }
    
    .academic-card {
        padding: 2rem;
    }
    
    .academic-header h3 {
        font-size: 1.3rem;
    }
    
    .institution {
        font-size: 1rem;
    }
    
    .course-tags {
        gap: 0.3rem;
    }
    
    .course-tag {
        font-size: 0.75rem;
        padding: 0.3rem 0.8rem;
    }
}

/* Skills Section with Tabs */
.skills-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

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

.skills-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: inherit;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.skills-tab:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.skills-tab.active {
    background: var(--primary-gradient);
    border-color: transparent;
    color: white;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.skills-tab i {
    font-size: 1.1rem;
}

.skills-content {
    position: relative;
    min-height: 400px;
}

.skills-panel {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.skills-panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.skill-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.skill-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.skill-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: var(--transition);
}

.skill-item:hover .skill-icon img {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}

.skill-name {
    flex: 1;
    font-weight: 600;
    font-size: 1rem;
}

.skill-bar {
    flex: 1.5;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.skill-progress {
    flex: 1;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.skill-progress[data-width]::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: var(--width, 0%);
    background: var(--primary-gradient);
    border-radius: 5px;
    transition: width 1.5s ease-in-out;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
}

.skill-percentage {
    font-size: 0.9rem;
    font-weight: 700;
    opacity: 0.9;
    min-width: 40px;
    text-align: right;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive Design for Skills */
@media (max-width: 768px) {
    .skills-tabs {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .skills-tab {
        padding: 0.8rem 1.5rem;
        font-size: 0.8rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .skill-item {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
    
    .skill-bar {
        width: 100%;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .skill-progress {
        width: 100%;
    }
}

/* Simplified Projects Section */
.projects-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    opacity: 0.8;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.project-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.project-header h3 {
    font-size: 1.4rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.project-duration {
    font-size: 0.9rem;
    opacity: 0.7;
    font-weight: 500;
}

.project-status {
    display: inline-block;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    align-self: flex-start;
}

.project-status.completed {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    background: rgba(255, 255, 255, 0.1);
    color: inherit;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.tech-tag:hover {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

.description-btn {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
}

.description-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.3);
}

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

.description-btn.expanded i {
    transform: rotate(180deg);
}

.project-description {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.project-description.show {
    opacity: 1;
    max-height: 300px;
    margin-bottom: 1rem;
}

.project-description ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-description li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
    opacity: 0.9;
}

.project-description li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #4facfe;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Responsive Design for Projects */
@media (max-width: 768px) {
    .projects-container {
        padding: 1rem 0;
        gap: 1.5rem;
    }
    
    .project-card {
        padding: 1.5rem;
    }
    
    .project-header h3 {
        font-size: 1.2rem;
    }
    
    .tech-stack {
        gap: 0.3rem;
    }
    
    .tech-tag {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }
}

.project-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.timeline-item:nth-child(odd) .project-header {
    align-items: flex-end;
}

.project-header h3 {
    font-size: 1.4rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.project-period {
    font-size: 0.9rem;
    opacity: 0.7;
    font-weight: 500;
}

.project-status {
    display: inline-block;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-status.active {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    animation: glow 2s infinite alternate;
}

.project-status.completed {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

@keyframes glow {
    from { box-shadow: 0 0 10px rgba(79, 172, 254, 0.5); }
    to { box-shadow: 0 0 20px rgba(79, 172, 254, 0.8); }
}

.project-preview {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    align-items: start;
}

.timeline-item:nth-child(odd) .project-preview {
    grid-template-columns: 1.5fr 1fr;
}

.project-mockup {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
    aspect-ratio: 4/3;
}

.mockup-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mockup-header {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.mockup-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.recommendation-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    height: 100%;
}

.rec-card {
    background: rgba(102, 126, 234, 0.3);
    border-radius: 6px;
    animation: float 3s ease-in-out infinite;
}

.rec-card:nth-child(2) {
    animation-delay: 0.5s;
}

.rec-card:nth-child(3) {
    animation-delay: 1s;
}

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

.search-mockup .search-bar {
    height: 12px;
    background: rgba(79, 172, 254, 0.4);
    border-radius: 6px;
    margin-bottom: 1rem;
}

.search-results {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.result-item {
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    animation: pulse 2s infinite;
}

.result-item:nth-child(2) {
    animation-delay: 0.3s;
}

.result-item:nth-child(3) {
    animation-delay: 0.6s;
}

.medical-mockup {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 0.5rem;
}

.scan-area {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.scan-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60%;
    height: 60%;
    border: 2px solid rgba(240, 147, 251, 0.6);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: scan 3s infinite;
}

@keyframes scan {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.7; }
}

.analysis-panel {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.analysis-item {
    height: 30px;
    background: rgba(245, 87, 108, 0.3);
    border-radius: 4px;
    animation: analyze 2s infinite alternate;
}

.analysis-item:nth-child(2) {
    animation-delay: 0.5s;
}

@keyframes analyze {
    from { opacity: 0.3; }
    to { opacity: 0.8; }
}

.project-details-timeline {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.timeline-item:nth-child(odd) .project-details-timeline {
    text-align: left;
}

.project-details-timeline p {
    line-height: 1.6;
    opacity: 0.9;
    margin: 0;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.timeline-item:nth-child(odd) .tech-stack {
    justify-content: flex-start;
}

.timeline-item:nth-child(even) .tech-stack {
    justify-content: flex-end;
}

.tech-tag {
    background: rgba(255, 255, 255, 0.1);
    color: inherit;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.tech-tag:hover {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

.project-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.timeline-item:nth-child(odd) .feature {
    justify-content: flex-start;
}

.timeline-item:nth-child(even) .feature {
    justify-content: flex-end;
    flex-direction: row-reverse;
}

.feature i {
    color: #4facfe;
    font-size: 0.8rem;
}

/* More Button Styling */
.more-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    align-self: flex-start;
}

.timeline-item:nth-child(even) .more-btn {
    align-self: flex-end;
}

.more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

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

.more-btn.expanded i {
    transform: rotate(180deg);
}

.project-expanded {
    margin-top: 1rem;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.project-expanded.show {
    opacity: 1;
    max-height: 200px;
    margin-bottom: 1rem;
}

.project-expanded p {
    margin-bottom: 0.8rem;
    line-height: 1.6;
    opacity: 0.9;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transform-style: preserve-3d;
}

body.bright-mode .project-card {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

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

.project-card:hover {
    transform: translateY(-15px) scale(1.02) rotateX(5deg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
}

.project-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.1), rgba(245, 87, 108, 0.1));
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

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

.project-card:hover .project-card h3,
.project-card:hover .project-card p,
.project-card:hover .tech-tag {
    position: relative;
    z-index: 2;
}

body.bright-mode .project-card:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.project-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-card p {
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tech-tag {
    background: rgba(255, 255, 255, 0.1);
    color: inherit;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* List Styling */
ul {
    list-style: none;
    margin-left: 0;
}

ul li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

ul li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #667eea;
    font-size: 0.8rem;
    top: 0.2rem;
}

.date {
    background: var(--primary-gradient);
    color: white;
    padding: 0.2rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: auto;
    white-space: nowrap;
}

/* Footer */
footer {
    background: var(--dark-card);
    color: var(--dark-text);
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

body.bright-mode footer {
    background: var(--bright-card);
    color: var(--bright-text);
}

body.bright-mode .skill-badge:hover {
    background: #181818;
}

.projects-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.project-card {
    background: #181818;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 1.2rem 1rem;
    min-width: 220px;
    position: relative;
    transition: box-shadow 0.2s, transform 0.3s;
    animation: slideIn 1.2s;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

body.bright-mode .project-card {
    background: #fff;
    color: #181818;
    border: 1px solid #181818;
}

.project-card h3 {
    margin-bottom: 0.7rem;
    text-align: center;
}

.more-btn {
    background: #fff;
    color: #181818;
    border: none;
    border-radius: 20px;
    padding: 0.4rem 1.2rem;
    font-weight: 600;
    margin-bottom: 0.7rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 4px rgba(0,0,0,0.07);
    position: relative;
    overflow: hidden;
}

.more-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(102, 126, 234, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
}

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

.more-btn:hover {
    background: #181818;
    color: #fff;
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

body.bright-mode .more-btn {
    background: #181818;
    color: #fff;
}

body.bright-mode .more-btn:hover {
    background: #fff;
    color: #181818;
}

/* Scroll-triggered Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.fade-up-element {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

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

/* Custom Cursor Styles */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    background: var(--primary-gradient);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: transform 0.2s ease;
}

.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(102, 126, 234, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.3s ease;
}

.custom-cursor.cursor-hover {
    transform: scale(1.5);
}

.cursor-follower.cursor-hover {
    transform: scale(1.2);
    border-color: rgba(245, 87, 108, 0.8);
}

/* Ripple Effect */
.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Enhanced Text Animations */
.char-reveal {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: charReveal 0.5s ease forwards;
}

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

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 15, 35, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    body.bright-mode .nav-links {
        background: rgba(255, 255, 255, 0.98);
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

.project-details {
    display: none;
    margin-top: 0.5rem;
    width: 100%;
    animation: fadeIn 0.7s;
}

.project-img {
    width: 100%;
    max-width: 300px;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    transition: transform 0.4s cubic-bezier(.68,-0.55,.27,1.55);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.project-details ul {
    margin-left: 0;
    padding-left: 1.2rem;
    color: #fff;
}

body.bright-mode .project-details ul {
    color: #181818;
}

.hobbies-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-left: 0;
    list-style: none;
}

.hobbies-list li {
    background: #181818;
    color: #fff;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-weight: 500;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    transition: background 0.2s, color 0.2s, transform 0.2s;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

body.bright-mode .hobbies-list li {
    background: #fff;
    color: #181818;
    border: 1px solid #181818;
}

.hobbies-list li:hover {
    background: #fff;
    color: #181818;
    transform: scale(1.08);
}

body.bright-mode .hobbies-list li:hover {
    background: #181818;
    color: #fff;
}

footer {
    text-align: center;
    padding: 1.2rem 0;
    background: #181818;
    color: #fff;
    margin-top: 2rem;
    border-radius: 0 0 16px 16px;
    font-size: 1rem;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.07);
    animation: fadeInUp 1.2s;
}

body.bright-mode footer {
    background: #fff;
    color: #181818;
    border-top: 1px solid #181818;
}

/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-40px);}
    to { opacity: 1; transform: translateY(0);}
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px);}
    to { opacity: 1; transform: translateY(0);}
}
@keyframes fadeIn {
    from { opacity: 0;}
    to { opacity: 1;}
}
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-40px);}
    to { opacity: 1; transform: translateX(0);}
}
@keyframes slideIn {
    from { opacity: 0; transform: translateX(40px);}
    to { opacity: 1; transform: translateX(0);}
}

.fade-in-down { animation: fadeInDown 1s; }
.fade-in-up { animation: fadeInUp 1.2s; }
.fade-in { animation: fadeIn 1.2s; }
.slide-in { animation: slideIn 1.2s; }

/* Responsive */
@media (max-width: 900px) {
    .projects-row {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .project-card {
        width: 90%;
        min-width: 220px;
    }
}
@media (max-width: 700px) {
    header h1 {
        font-size: 2rem;
    }
    main, .container {
        padding: 0 0.5rem;
    }
    section {
        padding: 1rem;
    }
    .skills-tabs {
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    .skill-badge {
        width: 90px;
        padding: 0.5rem 0.5rem;
    }
    .project-img {
        max-width: 250px;
    }
}

.skill-badge span {
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    opacity: 0.9;
}

/* Enhanced Animations */
@keyframes fadeIn {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

.fade-in-down {
    animation: fadeInDown 1s ease-out;
}

.fade-in-up {
    animation: fadeInUp 1s ease-out;
}

/* Loading Animation */
.loading {
    animation: pulse 2s infinite;
}

/* Scroll Animations */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: var(--transition);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .projects-row {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    header {
        padding: 3rem 0 1.5rem 0;
    }
    
    header h1 {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .container {
        padding: 0 1rem;
    }
    
    main {
        margin: 2rem auto;
    }
    
    section {
        padding: 2rem;
        margin-bottom: 2rem;
    }
    
    .contact-info {
        gap: 0.8rem;
    }
    
    .contact-info .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .skills-tabs {
        gap: 0.5rem;
    }
    
    .skills-tab {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .skills-panel {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 1rem;
    }
    
    .skill-badge {
        padding: 1rem 0.8rem;
    }
    
    .skill-badge img {
        width: 40px;
        height: 40px;
    }
    
    .projects-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-card {
        padding: 1.5rem;
    }
    
    .mode-toggle {
        top: 1.5rem;
        right: 1.5rem;
        font-size: 1.3rem;
        padding: 0.4rem;
    }
}

@media (max-width: 480px) {
    .contact-container {
        padding: 2rem 1rem;
    }
    
    .contact-form-section {
        padding: 2rem;
    }
    
    .contact-header h2 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .horizontal-scroll-container {
        padding: 0 1rem;
    }
    
    .project-card-horizontal {
        flex: 0 0 280px;
    }
}

/* Print Styles */
@media print {
    body::before {
        display: none;
    }
    
    .mode-toggle {
        display: none;
    }
    
    section {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* Funky Contact Section - Orbital Design */
#contact {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.2) 0%, transparent 50%);
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(3px) brightness(0.4);
    opacity: 0.15;
    z-index: -2;
}

body.bright-mode::after {
    filter: blur(3px) brightness(0.8);
    opacity: 0.08;
}

#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    filter: blur(3px) brightness(0.3);
    z-index: -1;
}

.contact-playground {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.float-element {
    position: absolute;
    font-size: 2rem;
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

.float-1 { top: 10%; left: 10%; animation-delay: 0s; }
.float-2 { top: 20%; right: 15%; animation-delay: 1s; }
.float-3 { bottom: 30%; left: 20%; animation-delay: 2s; }
.float-4 { bottom: 20%; right: 10%; animation-delay: 3s; }
.float-5 { top: 50%; left: 5%; animation-delay: 4s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(5deg); }
    66% { transform: translateY(10px) rotate(-3deg); }
}

/* Glitch Text Effect */
.glitch-text {
    font-size: 3.5rem;
    font-weight: 900;
    text-transform: uppercase;
    position: relative;
    color: #fff;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    animation: glitch 2s infinite;
}

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

.glitch-text::before {
    animation: glitch-1 0.5s infinite;
    color: #ff0040;
    z-index: -1;
}

.glitch-text::after {
    animation: glitch-2 0.5s infinite;
    color: #00ff40;
    z-index: -2;
}

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

@keyframes glitch-1 {
    0%, 100% { transform: translate(0); }
    10% { transform: translate(-2px, -2px); }
    20% { transform: translate(2px, 2px); }
    30% { transform: translate(-2px, 2px); }
    40% { transform: translate(2px, -2px); }
    50% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    70% { transform: translate(-2px, 2px); }
    80% { transform: translate(2px, -2px); }
    90% { transform: translate(-2px, -2px); }
}

@keyframes glitch-2 {
    0%, 100% { transform: translate(0); }
    10% { transform: translate(2px, 2px); }
    20% { transform: translate(-2px, -2px); }
    30% { transform: translate(2px, -2px); }
    40% { transform: translate(-2px, 2px); }
    50% { transform: translate(2px, 2px); }
    60% { transform: translate(-2px, -2px); }
    70% { transform: translate(2px, -2px); }
    80% { transform: translate(-2px, 2px); }
    90% { transform: translate(2px, 2px); }
}

.contact-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 4rem;
    font-weight: 300;
}

/* Orbital Contact System */
.contact-sphere {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto 4rem;
}

.sphere-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.avatar-container {
    position: relative;
    width: 120px;
    height: 120px;
}

.avatar-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid;
    border-image: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #ffeaa7) 1;
    border-radius: 50%;
    animation: rotate 10s linear infinite;
}

.avatar-content {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.5);
}

.contact-orbit {
    position: relative;
    width: 100%;
    height: 100%;
    animation: orbit 20s linear infinite;
}

.orbit-item {
    position: absolute;
    width: 80px;
    height: 80px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.orbit-1 { top: 0; left: 50%; transform: translateX(-50%); }
.orbit-2 { top: 50%; right: 0; transform: translateY(-50%); }
.orbit-3 { bottom: 0; left: 50%; transform: translateX(-50%); }
.orbit-4 { top: 50%; left: 0; transform: translateY(-50%); }

.orbit-icon {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.orbit-icon::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;
}

.orbit-item:hover .orbit-icon {
    transform: scale(1.2);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.3);
}

.orbit-item:hover .orbit-icon::before {
    left: 100%;
}

.orbit-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
}

.orbit-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
}

.orbit-item:hover .orbit-tooltip {
    opacity: 1;
    visibility: visible;
    bottom: 110%;
}

.orbit-tooltip a {
    color: #4ecdc4;
    text-decoration: none;
    display: block;
    margin-top: 0.3rem;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes orbit {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

/* Crazy Buttons */
.contact-actions {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.crazy-btn {
    position: relative;
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.crazy-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}

.crazy-btn:hover::before {
    left: 100%;
}

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

.btn-primary {
    background: linear-gradient(45deg, #667eea, #764ba2) !important;
}

.btn-secondary {
    background: linear-gradient(45deg, #f093fb, #f5576c) !important;
}

.btn-particles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.contact-footer {
    margin-top: 3rem;
}

.fun-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    letter-spacing: 1px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .glitch-text {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }
    
    .contact-sphere {
        width: 300px;
        height: 300px;
    }
    
    .avatar-container {
        width: 80px;
        height: 80px;
    }
    
    .avatar-content {
        font-size: 2rem;
    }
    
    .orbit-item {
        width: 60px;
        height: 60px;
    }
    
    .orbit-icon {
        font-size: 1.2rem;
    }
    
    .contact-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .crazy-btn {
        width: 100%;
        max-width: 280px;
    }
    
    .float-element {
        font-size: 1.5rem;
    }
}

/* Professional Contact Section Styles */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-header h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-subtitle {
    font-size: 1.2rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.contact-card {
    background: var(--dark-card);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex: 1;
    max-width: 300px;
    min-width: 250px;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-dark);
    border-color: rgba(102, 126, 234, 0.3);
}

body.bright-mode .contact-card {
    background: var(--bright-card);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: var(--shadow-light);
}

body.bright-mode .contact-card:hover {
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    border-radius: 50%;
    font-size: 1.5rem;
    color: white;
}

.contact-details h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--dark-text);
}

body.bright-mode .contact-details h3 {
    color: var(--bright-text);
}

.contact-details p {
    opacity: 0.7;
    margin-bottom: 1rem;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 25px;
    color: var(--dark-text);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.contact-link:hover {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
}

body.bright-mode .contact-link {
    color: var(--bright-text);
}

.contact-form-section {
    background: var(--dark-card);
    border-radius: var(--border-radius);
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.bright-mode .contact-form-section {
    background: var(--bright-card);
    border-color: rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--dark-text);
}

body.bright-mode .contact-form h3 {
    color: var(--bright-text);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--dark-text);
    font-size: 1rem;
    transition: var(--transition);
}

body.bright-mode .form-group input,
body.bright-mode .form-group textarea {
    background: white;
    border-color: rgba(0, 0, 0, 0.1);
    color: var(--bright-text);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

body.bright-mode .form-group input::placeholder,
body.bright-mode .form-group textarea::placeholder {
    color: rgba(0, 0, 0, 0.5);
}

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--primary-gradient);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.contact-cta {
    text-align: center;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.cta-btn.secondary {
    background: transparent;
    color: var(--dark-text);
    border-color: rgba(102, 126, 234, 0.3);
}

body.bright-mode .cta-btn.secondary {
    color: var(--bright-text);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.3);
}

.cta-btn.secondary:hover {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
}

/* Horizontal Scroll Cards Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

.horizontal-scroll-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4rem;
}

.projects-horizontal-scroll {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 2rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.projects-horizontal-scroll::-webkit-scrollbar {
    display: none;
}

.project-card-horizontal {
    flex: 0 0 400px;
    background: var(--dark-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

body.bright-mode .project-card-horizontal {
    background: var(--bright-card);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: var(--shadow-light);
}

.project-card-horizontal:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-dark);
    border-color: rgba(102, 126, 234, 0.3);
}

body.bright-mode .project-card-horizontal:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.project-image {
    height: 200px;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.project-icon {
    font-size: 4rem;
    color: white;
    z-index: 2;
}

.project-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    color: white;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-content {
    padding: 2rem;
}

.project-header {
    margin-bottom: 1rem;
}

.project-header h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--dark-text);
}

body.bright-mode .project-header h3 {
    color: var(--bright-text);
}

.project-duration {
    font-size: 0.9rem;
    opacity: 0.7;
    color: rgba(102, 126, 234, 0.8);
}

.project-summary {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    background: rgba(102, 126, 234, 0.1);
    color: rgba(102, 126, 234, 0.9);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.project-features {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.feature-item i {
    width: 20px;
    color: rgba(102, 126, 234, 0.8);
}

.project-actions {
    margin-top: auto;
}

.project-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--primary-gradient);
    border: none;
    border-radius: 25px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.project-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.project-details {
    padding: 0 2rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1rem;
    padding-top: 1rem;
}

body.bright-mode .project-details {
    border-color: rgba(0, 0, 0, 0.1);
}

.project-details ul {
    list-style: none;
    padding: 0;
}

.project-details li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
    opacity: 0.8;
}

.project-details li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: rgba(102, 126, 234, 0.8);
    font-weight: bold;
}

.scroll-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-nav:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.scroll-nav-left {
    left: 0;
}

.scroll-nav-right {
    right: 0;
}

/* Certifications Section */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.cert-card {
    background: var(--panel-bg, #181818);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 1.5rem 1.2rem;
    transition: transform 0.2s;
}
.cert-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.cert-header {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1rem;
}
.cert-header i {
    font-size: 1.7rem;
}
.cert-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.cert-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    font-size: 1rem;
}
.cert-title {
    font-weight: 500;
}
.cert-date {
    font-size: 0.95em;
    color: #aaa;
}
