/* --- CSS Reset (keep your existing reset.css) --- */

/* --- Base & Typography --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0a0a0f;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s, color 0.3s;
}

body.dark-theme {
    background-color: #0a0a0f;
}

body.light-theme {
    background-color: #f8fafc;
    color: #1e293b;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Theme Toggle --- */
.theme-toggle {
    position: fixed;
    top: 1.4rem;
    left: 22rem;
    z-index: 1001;
}

#theme-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #14141f;
    border: 1px solid #2a2a3a;
    border-radius: 2rem;
    color: #b0b0c0;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#theme-switcher:hover {
    background: #2a2a3a;
    color: #ffffff;
    border-color: #8a2be2;
}

body.light-theme #theme-switcher {
    background: #f1f5f9;
    border-color: #e2e8f0;
    color: #64748b;
}

body.light-theme #theme-switcher:hover {
    background: #ffffff;
    color: #1e293b;
    border-color: #6366f1;
}

/* --- Utility Classes --- */
.hideAll {
    display: none;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(42, 42, 58, 0.5);
    padding: 0;
}

body.light-theme .navbar {
    background-color: rgba(248, 250, 252, 0.95);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.logo-text {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #8a2be2, #00d4ff);
    color: #ffffff;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.3);
}

body.light-theme .logo-text {
    background: linear-gradient(135deg, #6366f1, #06b6d4);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

.logo-name {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    background: linear-gradient(135deg, #ffffff, #b0b0c0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.light-theme .logo-name {
    background: linear-gradient(135deg, #1e293b, #64748b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: #b0b0c0;
    padding: 0.5rem 0;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.light-theme .nav-link {
    color: #64748b;
}

.nav-link:hover {
    color: #ffffff;
}

body.light-theme .nav-link:hover {
    color: #1e293b;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #8a2be2, #00d4ff);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.light-theme .nav-link::after {
    background: linear-gradient(90deg, #6366f1, #06b6d4);
}

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

.nav-social {
    display: flex;
    gap: 0.75rem;
    margin-left: 2rem;
    padding-left: 2rem;
    border-left: 1px solid #2a2a3a;
}

body.light-theme .nav-social {
    border-left: 1px solid #e2e8f0;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background-color: #14141f;
    color: #b0b0c0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.light-theme .social-link {
    background-color: #f1f5f9;
    color: #64748b;
}

.social-link:hover {
    background: linear-gradient(135deg, #8a2be2, #00d4ff);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.3);
}

body.light-theme .social-link:hover {
    background: linear-gradient(135deg, #6366f1, #06b6d4);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

.menu-toggle {
    display: none;
    background: none;
    border: 1px solid #2a2a3a;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    font-size: 1.25rem;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.light-theme .menu-toggle {
    border: 1px solid #e2e8f0;
    color: #1e293b;
}

.menu-toggle:hover {
    border-color: #8a2be2;
    color: #8a2be2;
}

body.light-theme .menu-toggle:hover {
    border-color: #6366f1;
    color: #6366f1;
}

/* --- Hero Section --- */
.hero {
    padding: 10rem 2rem 6rem;
    max-width: 1280px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, #8a2be2 0%, transparent 70%);
    opacity: 0.1;
    filter: blur(100px);
    z-index: -1;
}

body.light-theme .hero::before {
    background: radial-gradient(circle, #6366f1 0%, transparent 70%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, #8a2be2, #00d4ff);
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 2rem;
    width: fit-content;
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.3);
}

body.light-theme .hero-badge {
    background: linear-gradient(135deg, #6366f1, #06b6d4);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

body.light-theme .hero-title {
    color: #1e293b;
}

.title-line {
    display: block;
}

.hello-text {
    font-size: 2rem;
}

.highlight {
    background: linear-gradient(135deg, #8a2be2, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

body.light-theme .highlight {
    background: linear-gradient(135deg, #6366f1, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #8a2be2, #00d4ff);
    transform: scaleX(0);
    transform-origin: right;
    animation: highlightSlide 1.5s ease forwards;
}

body.light-theme .highlight::after {
    background: linear-gradient(90deg, #6366f1, #06b6d4);
}

@keyframes highlightSlide {
    from { transform: scaleX(0); transform-origin: right; }
    to { transform: scaleX(1); transform-origin: left; }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #b0b0c0;
    max-width: 500px;
    line-height: 1.6;
}

body.light-theme .hero-subtitle {
    color: #64748b;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    width: fit-content;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
}

.hero-btn:first-child {
    background: linear-gradient(135deg, #8a2be2, #00d4ff);
    color: #ffffff;
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.3);
}

body.light-theme .hero-btn:first-child {
    background: linear-gradient(135deg, #6366f1, #06b6d4);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

.hero-btn.secondary {
    background: #14141f;
    color: #ffffff;
    border: 1px solid #2a2a3a;
}

body.light-theme .hero-btn.secondary {
    background: #f1f5f9;
    color: #1e293b;
    border: 1px solid #e2e8f0;
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
}

body.light-theme .hero-btn:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.hero-btn.secondary:hover {
    border-color: #8a2be2;
    background: #2a2a3a;
}

body.light-theme .hero-btn.secondary:hover {
    border-color: #6366f1;
    background: #ffffff;
}

.hero-image {
    position: relative;
}

.image-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.float-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: #14141f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #8a2be2;
    border: 2px solid #2a2a3a;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
}

body.light-theme .float-element {
    background: #f1f5f9;
    color: #6366f1;
    border: 2px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.el-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.el-2 {
    top: 10%;
    right: 10%;
    animation-delay: 2s;
    color: #00d4ff;
}

body.light-theme .el-2 {
    color: #06b6d4;
}

.el-3 {
    bottom: 5%;
    left: 20%;
    animation-delay: 4s;
    color: #ff6b6b;
}

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

.main-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #2a2a3a;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 212, 255, 0.3);
    z-index: 1;
}

body.light-theme .main-image {
    border: 4px solid #ffffff;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 0 20px rgba(6, 182, 212, 0.2);
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.2), rgba(0, 212, 255, 0.2));
    z-index: 1;
}

body.light-theme .gradient-overlay {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(6, 182, 212, 0.2));
}

.image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.9);
    z-index: 2;
}

body.light-theme .image-placeholder {
    color: rgba(30, 41, 59, 0.9);
}

.hero-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 4rem;
    padding: 2rem;
    background: #14141f;
    border-radius: 24px;
    border: 1px solid #2a2a3a;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

body.light-theme .hero-stats {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #8a2be2, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

body.light-theme .stat-number {
    background: linear-gradient(135deg, #6366f1, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: #b0b0c0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

body.light-theme .stat-label {
    color: #64748b;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: #b0b0c0;
    font-size: 0.875rem;
}

body.light-theme .scroll-indicator {
    color: #64748b;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, #8a2be2, transparent);
    animation: scrollAnimation 2s ease-in-out infinite;
}

body.light-theme .scroll-line {
    background: linear-gradient(to bottom, #6366f1, transparent);
}

@keyframes scrollAnimation {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(10px); opacity: 0.5; }
}

/* --- Section Styles --- */
.section {
    padding: 8rem 2rem;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
}

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

.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.title-number {
    font-size: 1.25rem;
    color: #8a2be2;
    font-weight: 600;
    opacity: 0.7;
}

body.light-theme .title-number {
    color: #6366f1;
}

.title-text {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #8a2be2, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.light-theme .title-text {
    background: linear-gradient(135deg, #6366f1, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #b0b0c0;
    max-width: 800px;
    margin: 0 auto;
}

body.light-theme .section-subtitle {
    color: #64748b;
}

/* --- Projects Grid --- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    background: #14141f;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #2a2a3a;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}

body.light-theme .project-card {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 0 20px rgba(138, 43, 226, 0.3);
    border-color: #8a2be2;
}

body.light-theme .project-card:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 0 20px rgba(99, 102, 241, 0.2);
    border-color: #6366f1;
}

.project-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.project-number {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.7);
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    z-index: 2;
}

body.light-theme .project-number {
    color: #1e293b;
    background: rgba(255, 255, 255, 0.7);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(10, 10, 15, 0.95), transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

body.light-theme .project-overlay {
    background: linear-gradient(to top, rgba(248, 250, 252, 0.95), transparent 50%);
}

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

.overlay-content {
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.overlay-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

body.light-theme .overlay-title {
    color: #1e293b;
}

.overlay-description {
    font-size: 0.875rem;
    color: #b0b0c0;
    margin-bottom: 1rem;
    line-height: 1.4;
}

body.light-theme .overlay-description {
    color: #64748b;
}

.view-project {
    color: #00d4ff;
    font-weight: 600;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

body.light-theme .view-project {
    color: #06b6d4;
}

.project-info {
    padding: 1.5rem;
    background: #14141f;
}

body.light-theme .project-info {
    background: #f1f5f9;
}

.project-category {
    color: #00d4ff;
    font-weight: 500;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

body.light-theme .project-category {
    color: #06b6d4;
}

.project-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

body.light-theme .project-title {
    color: #1e293b;
}

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

.tag {
    padding: 0.25rem 0.75rem;
    background: #1a1a24;
    color: #b0b0c0;
    font-size: 0.75rem;
    border-radius: 2rem;
    border: 1px solid #2a2a3a;
}

body.light-theme .tag {
    background: #ffffff;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

/* --- About Section --- */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-image {
    position: relative;
}

.image-frame {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 100px auto;
}

.image-frame img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
   
}

body.light-theme .image-frame img {
    border: 1px solid #e2e8f0;
}

.frame-decoration {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border-radius: 12px;
    opacity: 0.3;
    z-index: -1;
}

body.light-theme .frame-decoration {
    border: 2px solid #6366f1;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, #8a2be2, #00d4ff);
    color: #ffffff;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.3);
    z-index: 2;
}

body.light-theme .experience-badge {
    background: linear-gradient(135deg, #6366f1, #06b6d4);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

.exp-years {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.exp-text {
    font-size: 0.75rem;
    opacity: 0.9;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.quote {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #ffffff;
    padding: 2rem;
    background: #14141f;
    border-radius: 12px;
    position: relative;
}

body.light-theme .quote {
    color: #1e293b;
    background: #f1f5f9;
    border-left: 4px solid #6366f1;
}

.quote::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 2rem;
    font-size: 4rem;
    color: #8a2be2;
    opacity: 0.3;
    font-family: serif;
}

body.light-theme .quote::before {
    color: #6366f1;
}

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

.detail-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: #14141f;
    border-radius: 12px;
    border: 1px solid #2a2a3a;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.light-theme .detail-item {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
}

.detail-item:hover {
    border-color: #8a2be2;
    transform: translateX(4px);
}

body.light-theme .detail-item:hover {
    border-color: #6366f1;
}

.detail-icon {
    font-size: 1.5rem;
    color: #8a2be2;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(138, 43, 226, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
}

body.light-theme .detail-icon {
    color: #6366f1;
    background: rgba(99, 102, 241, 0.1);
}

.detail-content h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

body.light-theme .detail-content h4 {
    color: #1e293b;
}

.detail-content p {
    color: #b0b0c0;
    font-size: 0.875rem;
    line-height: 1.5;
}

body.light-theme .detail-content p {
    color: #64748b;
}

.skills-section {
    margin-top: 2rem;
}

.skills-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

body.light-theme .skills-title {
    color: #1e293b;
}

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

.skill-category {
    background: #14141f;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #2a2a3a;
}

body.light-theme .skill-category {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
}

.skill-category h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

body.light-theme .skill-category h4 {
    color: #1e293b;
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tool {
    padding: 0.375rem 0.75rem;
    background: #1a1a24;
    color: #b0b0c0;
    font-size: 0.75rem;
    border-radius: 2rem;
    border: 1px solid #2a2a3a;
}

body.light-theme .skill-tool {
    background: #ffffff;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

/* --- Contact Section --- */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.contact-message {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #ffffff;
    padding: 2rem;
    background: #14141f;
    border-radius: 12px;
}

body.light-theme .contact-message {
    color: #1e293b;
    background: #f1f5f9;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: #14141f;
    border-radius: 12px;
    border: 1px solid #2a2a3a;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.light-theme .contact-item {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
}

.contact-item:hover {
    border-color: #8a2be2;
    transform: translateX(4px);
}

body.light-theme .contact-item:hover {
    border-color: #6366f1;
}

.contact-icon {
    font-size: 1.5rem;
    color: #8a2be2;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(138, 43, 226, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
}

body.light-theme .contact-icon {
    color: #6366f1;
    background: rgba(99, 102, 241, 0.1);
}

.contact-content h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
    color: #ffffff;
}

body.light-theme .contact-content h4 {
    color: #1e293b;
}

.contact-content p {
    color: #b0b0c0;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

body.light-theme .contact-content p {
    color: #64748b;
}

.contact-link {
    color: #8a2be2;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    width: fit-content;
}

body.light-theme .contact-link {
    color: #6366f1;
}

.contact-link:hover {
    color: #00d4ff;
}

body.light-theme .contact-link:hover {
    color: #06b6d4;
}

.contact-social h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

body.light-theme .contact-social h4 {
    color: #1e293b;
}

.contact-social p {
    color: #b0b0c0;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

body.light-theme .contact-social p {
    color: #64748b;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    background: #14141f;
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #2a2a3a;
}

body.light-theme .social-btn {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
}

.social-btn:hover {
    border-color: #8a2be2;
    transform: translateX(4px);
}

body.light-theme .social-btn:hover {
    border-color: #6366f1;
}

.social-btn.linkedin:hover {
    background: #0077b5;
    color: white;
    border-color: #0077b5;
}

.social-btn.behance:hover {
    background: #0057ff;
    color: white;
    border-color: #0057ff;
}

.social-btn.dribbble:hover {
    background: #ea4c89;
    color: white;
    border-color: #ea4c89;
}

/* --- Contact Form --- */
.contact-form {
    background: #14141f;
    border-radius: 24px;
    padding: 2.5rem;
    border: 1px solid #2a2a3a;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
}

body.light-theme .contact-form {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.form-header {
    margin-bottom: 2rem;
    text-align: center;
}

.form-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

body.light-theme .form-header h3 {
    color: #1e293b;
}

.form-header p {
    color: #b0b0c0;
    font-size: 0.875rem;
}

body.light-theme .form-header p {
    color: #64748b;
}

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

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

.form-group label {
    font-weight: 600;
    color: #ffffff;
    font-size: 0.875rem;
}

body.light-theme .form-group label {
    color: #1e293b;
}

.dark-input {
    padding: 0.875rem 1rem;
    background: #1a1a24;
    border: 1px solid #2a2a3a;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #ffffff;
}

body.light-theme .dark-input {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #1e293b;
}

.dark-input:focus {
    outline: none;
    border-color: #8a2be2;
    box-shadow: 0 0 0 3px rgba(138, 43, 226, 0.1);
}

body.light-theme .dark-input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.dark-input::placeholder {
    color: #8888a0;
}

body.light-theme .dark-input::placeholder {
    color: #475569;
}

.form-footer {
    margin-top: 2rem;
    text-align: center;
}

.form-note {
    color: #b0b0c0;
    font-size: 0.75rem;
    margin-top: 1rem;
}

body.light-theme .form-note {
    color: #64748b;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #8a2be2, #00d4ff);
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.3);
}

body.light-theme .submit-btn {
    background: linear-gradient(135deg, #6366f1, #06b6d4);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 0 20px rgba(138, 43, 226, 0.3);
}

body.light-theme .submit-btn:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 0 20px rgba(99, 102, 241, 0.2);
}

/* --- Response Container --- */
.response-container {
    display: none;
    text-align: center;
    padding: 3rem 2rem;
    background: #14141f;
    border-radius: 12px;
    border: 2px dashed #8a2be2;
}

body.light-theme .response-container {
    background: #f1f5f9;
    border: 2px dashed #6366f1;
}

.response-icon {
    font-size: 3rem;
    color: #00d4ff;
    margin-bottom: 1.5rem;
}

body.light-theme .response-icon {
    color: #06b6d4;
}

.response-container h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

body.light-theme .response-container h4 {
    color: #1e293b;
}

.response-container p {
    color: #b0b0c0;
    line-height: 1.6;
    margin-bottom: 2rem;
}

body.light-theme .response-container p {
    color: #64748b;
}

.response-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #2a2a3a;
    color: #ffffff;
    border-radius: 12px;
    border: 1px solid #2a2a3a;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.light-theme .response-btn {
    background: #ffffff;
    color: #1e293b;
    border: 1px solid #e2e8f0;
}

.response-btn:hover {
    background: #8a2be2;
    border-color: #8a2be2;
}

body.light-theme .response-btn:hover {
    background: #6366f1;
    border-color: #6366f1;
    color: white;
}

/* --- Footer --- */
.footer {
    background: #050508;
    color: #ffffff;
    padding: 4rem 2rem 2rem;
    border-top: 1px solid #2a2a3a;
}

body.light-theme .footer {
    background: #ffffff;
    color: #1e293b;
    border-top: 1px solid #e2e8f0;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.footer-logo .logo-text {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
}

.logo-info {
    display: flex;
    flex-direction: column;
}

.logo-tagline {
    font-size: 0.875rem;
    color: #b0b0c0;
    margin-top: 0.25rem;
}

body.light-theme .logo-tagline {
    color: #64748b;
}

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

.link-group h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

body.light-theme .link-group h4 {
    color: #1e293b;
}

.link-group .footer-link {
    display: block;
    color: #b0b0c0;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.light-theme .link-group .footer-link {
    color: #64748b;
}

.link-group .footer-link:hover {
    color: #8a2be2;
    transform: translateX(4px);
}

body.light-theme .link-group .footer-link:hover {
    color: #6366f1;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid #2a2a3a;
}

body.light-theme .footer-bottom {
    border-top: 1px solid #e2e8f0;
}

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

.footer-social .social-link {
    background: #14141f;
    color: #b0b0c0;
}

body.light-theme .footer-social .social-link {
    background: #f1f5f9;
    color: #64748b;
}

.footer-social .social-link:hover {
    background: #8a2be2;
    color: #ffffff;
}

body.light-theme .footer-social .social-link:hover {
    background: #6366f1;
}

.footer-copyright {
    color: #b0b0c0;
    font-size: 0.875rem;
}

body.light-theme .footer-copyright {
    color: #64748b;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.legal-link {
    color: #b0b0c0;
    font-size: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.light-theme .legal-link {
    color: #64748b;
}

.legal-link:hover {
    color: #8a2be2;
}

body.light-theme .legal-link:hover {
    color: #6366f1;
}

/* --- Project Pages --- */
.project-page {
    padding: 8rem 2rem 4rem;
    max-width: 1280px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a0a0f;
}

body.light-theme .project-page {
    background: #f8fafc;
}

.project-page::before {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #8a2be2, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.1;
    text-align: center;
}

body.light-theme .project-page::before {
    background: linear-gradient(135deg, #6366f1, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .hero-content,
    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .main-image {
        width: 80%;
        margin: 0 auto;
    }
    
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero {
        padding: 8rem 1.5rem 4rem;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
        padding: 1.5rem;
    }
    
    .section {
        padding: 4rem 1.5rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .title-text {
        font-size: 2rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 1rem;
    }
    
    .hero {
        padding: 7rem 1rem 3rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-btn {
        width: 100%;
        justify-content: center;
    }
    
    .main-image {
        width: 100%;
    }
    
    .section {
        padding: 3rem 1rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .theme-toggle {
        left: 14rem;
        top: 1rem;
    }
    
    #theme-switcher span {
        display: none;
    }
    
    #theme-switcher {
        width: 44px;
        height: 44px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }
}