/* Custom Fonts */
@font-face {
    font-family: 'Cabin Sketch';
    src: url('../assets/fonts/cabinsketch/CabinSketch-Bold.otf') format('opentype');
}

@font-face {
    font-family: 'SF';
    src: url('../assets/fonts/girls-have-many-secrets/Girls-Have-Many-Secrets.ttf') format('opentype');
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 300;
    line-height: 1.6;
    color: #1a1a1a;
    background: #ffffff;
    transition: all 0.3s ease;
    letter-spacing: -0.01em;
}

/* Dark Theme */
body.dark-theme {
    color: #ffffff;
    background: #0a0a0a;
}

body.dark-theme .bg-white {
    background: #1a1a1a !important;
}

body.dark-theme .bg-gray-50 {
    background: #111111 !important;
}

body.dark-theme .text-black {
    color: #ffffff !important;
}

body.dark-theme .text-gray-600 {
    color: #a0a0a0 !important;
}

body.dark-theme .border-gray-200 {
    border-color: #333333 !important;
}

body.dark-theme nav {
    background: rgba(10, 10, 10, 0.8) !important;
    border-color: #333333 !important;
}

body.dark-theme .project-card,
body.dark-theme .education-card,
body.dark-theme .contact-card,
body.dark-theme .skill-item {
    background: #1a1a1a !important;
    border-color: #333333 !important;
    color: #ffffff !important;
}

body.dark-theme .skill-badge {
    background: #2a2a2a !important;
    color: #ffffff !important;
    border-color: #444444 !important;
}

body.dark-theme .semester-btn {
    background: #2a2a2a !important;
    color: #ffffff !important;
    border-color: #444444 !important;
}

body.dark-theme .semester-btn.disabled {
    background: #1a1a1a !important;
    color: #666666 !important;
}

/* Navigation Styles */
.nav-link {
    position: relative;
    color: #1a1a1a;
    text-decoration: none;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0%;
    height: 2px;
    background: #000000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}

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

.nav-link:hover {
    color: #333333;
    transform: translateY(-1px);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-link.active {
    color: #000000;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

body.dark-theme .nav-link {
    color: #ffffff;
}

body.dark-theme .nav-link::after {
    background: #ffffff;
}

body.dark-theme .nav-link:hover {
    color: #cccccc;
}

body.dark-theme .nav-link.active {
    color: #ffffff;
}

/* Theme Toggle Switch */
.theme-toggle-container {
    position: relative;
}

.theme-toggle-input {
    display: none;
}

.theme-toggle-label {
    display: block;
    width: 60px;
    height: 30px;
    background: #e5e5e5;
    border-radius: 25px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid #ddd;
}

.theme-toggle-label:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.theme-toggle-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 24px;
    height: 24px;
    background: #ffffff;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.theme-icon {
    font-size: 12px;
    position: absolute;
    transition: all 0.3s ease;
}

.sun-icon {
    opacity: 1;
    transform: rotate(0deg);
}

.moon-icon {
    opacity: 0;
    transform: rotate(180deg);
}

.theme-toggle-input:checked + .theme-toggle-label {
    background: #333333;
    border-color: #555555;
}

.theme-toggle-input:checked + .theme-toggle-label .theme-toggle-slider {
    transform: translateX(30px);
    background: #1a1a1a;
}

.theme-toggle-input:checked + .theme-toggle-label .sun-icon {
    opacity: 0;
    transform: rotate(-180deg);
}

.theme-toggle-input:checked + .theme-toggle-label .moon-icon {
    opacity: 1;
    transform: rotate(0deg);
}

/* Hero Section */
.hero-title {
    font-family: 'Playfair Display', serif;
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 0.9;
}

.hero-title .name-first {
    font-weight: 200;
    opacity: 0;
    animation: fadeInUp 1.2s ease-out 0.3s forwards;
}

.hero-title .name-last {
    font-weight: 400;
    opacity: 0;
    animation: fadeInUp 1.2s ease-out 0.6s forwards;
    background: linear-gradient(135deg, #000000 0%, #333333 50%, #000000 100%);
    -webkit-background-clip: text;
    /* -webkit-text-fill-color: transparent; */
    background-clip: text;
    background-size: 200% 100%;
    animation: fadeInUp 1.2s ease-out 0.6s forwards, shimmer 3s ease-in-out infinite 2s;
}

@keyframes shimmer {
    0%, 100% { background-position: 200% 0; }
    50% { background-position: -200% 0; }
}

.hero-subtitle {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 300;
    letter-spacing: 0.01em;
    opacity: 0;
    animation: fadeInUp 1.2s ease-out 0.9s forwards;
}

.hero-subtitle .highlight {
    font-weight: 500;
    position: relative;
    display: inline-block;
}

.hero-subtitle .highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #000000, transparent);
    opacity: 0;
    animation: underlineGlow 2s ease-in-out infinite 3s;
}

@keyframes underlineGlow {
    0%, 100% { opacity: 0; transform: scaleX(0); }
    50% { opacity: 1; transform: scaleX(1); }
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.shape {
    position: absolute;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.08));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: float 8s ease-in-out infinite, morph 12s ease-in-out infinite;
    transition: all 0.3s ease;
    backdrop-filter: blur(1px);
}

body.dark-theme .shape {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.08));
}

.shape-1 {
    width: 120px;
    height: 120px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 180px;
    height: 180px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.shape-3 {
    width: 90px;
    height: 90px;
    top: 80%;
    left: 20%;
    animation-delay: 4s;
}

.shape-4 {
    width: 150px;
    height: 150px;
    top: 10%;
    right: 30%;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg) scale(1);
    }
    50% {
        transform: translateY(-30px) rotate(180deg) scale(1.1);
    }
}

@keyframes morph {
    0%, 100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    }
    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    }
    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }
}

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

body.dark-theme .hero-title .name-last {
    background: linear-gradient(135deg, #ffffff 0%, #cccccc 50%, #ffffff 100%);
    -webkit-background-clip: text;
    /* -webkit-text-fill-color: transparent; */
    background-clip: text;
    background-size: 200% 100%;
}

body.dark-theme .hero-subtitle .highlight::after {
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
}

/* Profile Image */
.profile-container {
    perspective: 1000px;
    opacity: 0;
    animation: fadeInScale 1.5s ease-out 1.2s forwards;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8) rotateY(20deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotateY(0deg);
    }
}

.profile-image-wrapper {
    position: relative;
    width: 400px;
    height: 400px;
    transform-style: preserve-3d;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-image-wrapper:hover {
    transform: rotateY(15deg) rotateX(8deg) scale(1.05);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.15),
        0 0 0 8px rgba(255, 255, 255, 0.9),
        0 0 0 16px rgba(0, 0, 0, 0.08),
        inset 0 0 0 2px rgba(255, 255, 255, 0.3);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    filter: contrast(1.1) brightness(1.05);
}

.profile-image:hover {
    box-shadow: 
        0 40px 80px rgba(0, 0, 0, 0.2),
        0 0 0 8px rgba(255, 255, 255, 1),
        0 0 0 16px rgba(0, 0, 0, 0.12),
        inset 0 0 0 2px rgba(255, 255, 255, 0.5),
        0 0 40px rgba(0, 0, 0, 0.1);
    filter: contrast(1.15) brightness(1.1);
}

body.dark-theme .profile-image {
    box-shadow: 
        0 30px 60px rgba(255, 255, 255, 0.1),
        0 0 0 8px rgba(26, 26, 26, 0.9),
        0 0 0 16px rgba(255, 255, 255, 0.08),
        inset 0 0 0 2px rgba(26, 26, 26, 0.3);
}

body.dark-theme .profile-image:hover {
    box-shadow: 
        0 40px 80px rgba(255, 255, 255, 0.15),
        0 0 0 8px rgba(26, 26, 26, 1),
        0 0 0 16px rgba(255, 255, 255, 0.12),
        inset 0 0 0 2px rgba(26, 26, 26, 0.5),
        0 0 40px rgba(255, 255, 255, 0.1);
}

/* 3D Buttons */
.btn-3d {
    position: relative;
    display: inline-block;
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    perspective: 1000px;
    overflow: hidden;
    opacity: 0;
    animation: fadeInUp 1.2s ease-out 1.5s forwards;
}

.btn-3d span {
    position: relative;
    z-index: 2;
    display: block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2));
    transform: translateZ(-8px) translateY(4px);
    border-radius: inherit;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.3;
}

.btn-3d::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-3d:hover::after {
    opacity: 1;
}

.btn-primary {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    color: white;
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.3),
        0 5px 10px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.4),
        0 8px 15px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover::before {
    transform: translateZ(-12px) translateY(6px);
    opacity: 0.5;
}

.btn-secondary {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
    color: #1a1a1a;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.1),
        0 5px 10px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.btn-secondary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.15),
        0 8px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover::before {
    transform: translateZ(-12px) translateY(6px);
    opacity: 0.4;
}

body.dark-theme .btn-primary {
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 50%, #ffffff 100%);
    color: #000000;
    box-shadow: 
        0 10px 25px rgba(255, 255, 255, 0.2),
        0 5px 10px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(0, 0, 0, 0.1);
}

body.dark-theme .btn-primary:hover {
    box-shadow: 
        0 15px 35px rgba(255, 255, 255, 0.3),
        0 8px 15px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(0, 0, 0, 0.2);
}

body.dark-theme .btn-secondary {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 50%, #1a1a1a 100%);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 10px 25px rgba(255, 255, 255, 0.05),
        0 5px 10px rgba(255, 255, 255, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

body.dark-theme .btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 15px 35px rgba(255, 255, 255, 0.1),
        0 8px 15px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Section Titles */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 300;
    letter-spacing: -0.02em;
    text-align: center;
    color: #000000;
    margin-bottom: 1rem;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.section-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #000000, transparent);
    transform: translateX(-50%);
    opacity: 0;
    animation: fadeInLine 1s ease 0.5s forwards;
}

@keyframes fadeInLine {
    to {
        opacity: 1;
    }
}

body.dark-theme .section-title {
    color: #ffffff;
}

body.dark-theme .section-title::after {
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
}

@media (max-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
}

/* Project Cards */
.project-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.1),
        0 1px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    transform-style: preserve-3d;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.project-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.15),
        0 5px 20px rgba(0, 0, 0, 0.1);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.project-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
}

.project-date {
    color: #000000;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

body.dark-theme .project-date {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.project-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.project-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    /* color: #4a5568; */
    line-height: 1.6;
}

.project-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #000000;
    font-weight: bold;
}

body.dark-theme .project-features li::before {
    color: #ffffff;
}

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

.tech-tag {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

body.dark-theme .tech-tag {
    background: linear-gradient(135deg, #ffffff 0%, #cccccc 100%);
    color: #000000;
}

.project-demo {
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.demo-iframe {
    width: 100%;
    height: 300px;
    border: none;
    border-radius: 12px;
}

.project-link {
    display: inline-flex;
    align-items: center;
    color: #000000;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.project-link:hover {
    color: #333333;
    transform: translateX(5px);
}

body.dark-theme .project-link {
    /* color: #ffffff; */
}

body.dark-theme .project-link:hover {
    color: #cccccc;
}

/* Skills Grid */
.skill-item {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    transform-style: preserve-3d;
    border: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.skill-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #000000 0%, #333333 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

body.dark-theme .skill-item::before {
    background: linear-gradient(90deg, #ffffff 0%, #cccccc 100%);
}

.skill-item:hover::before {
    transform: scaleX(1);
}

.skill-item:hover {
    transform: translateY(-8px) rotateX(10deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.skill-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    border-radius: 12px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.skill-item:hover .skill-icon {
    transform: scale(1.1) rotateY(10deg);
}

.skill-name {
    font-weight: 600;
    /* color: #1a1a1a;3 */
    margin-bottom: 0.5rem;
}

.skill-level {
    font-size: 0.9rem;
    color: #000000;
    font-weight: 500;
}

body.dark-theme .skill-level {
    color: #ffffff;
}

/* Education Section */
.education-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.1),
        0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.education-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.15),
        0 10px 25px rgba(0, 0, 0, 0.1);
}

.education-logo {
    background: white;
    border-radius: 20px;
    padding: 1rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.semester-btn {
    padding: 0.6rem 1.2rem;
    border: 2px solid #e2e8f0;
    background: white;
    color: #4a5568;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.semester-btn:hover:not(.disabled) {
    border-color: #000000;
    color: #000000;
    transform: translateY(-2px);
}

body.dark-theme .semester-btn:hover:not(.disabled) {
    border-color: #ffffff;
    color: #ffffff;
}

.semester-btn.active {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    color: white;
    border-color: transparent;
}

body.dark-theme .semester-btn.active {
    background: linear-gradient(135deg, #ffffff 0%, #cccccc 100%);
    color: #000000;
}

.semester-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f7fafc;
}

.semester-skills {
    display: none;
}

.semester-skills.active {
    display: block;
    animation: fadeInUp 0.5s ease;
}

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

.skill-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #1a1a1a;
    padding: 0.6rem 1rem;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.9rem;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.skill-badge:hover {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

body.dark-theme .skill-badge:hover {
    background: linear-gradient(135deg, #ffffff 0%, #cccccc 100%);
    color: #000000;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* Contact Section */
.contact-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.1),
        0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.15),
        0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Custom Text Selection */
::selection {
    background: #23272e;
    color: #fff;
}
::-moz-selection {
    background: #23272e;
    color: #fff;
}
body.dark-theme ::selection {
    background: #e0e0e0;
    color: #111;
}
body.dark-theme ::-moz-selection {
    background: #e0e0e0;
    color: #111;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #23272e 0%, #444950 100%);
    border-radius: 6px;
    border: 2px solid #f1f1f1;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #444950 0%, #23272e 100%);
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 6px;
}
body.dark-theme ::-webkit-scrollbar {
    background: #181a1b;
}
body.dark-theme ::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #e0e0e0 0%, #bdbdbd 100%);
    border: 2px solid #181a1b;
}
body.dark-theme ::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #bdbdbd 0%, #e0e0e0 100%);
}
body.dark-theme ::-webkit-scrollbar-track {
    background: #181a1b;
}

/* Fix for button and link interactions */
.btn-3d,
.project-link {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.btn-3d:focus,
.project-link:focus {
  outline: 2px solid rgba(0, 0, 0, 0.3);
  outline-offset: 2px;
}

body.dark-theme .btn-3d:focus,
body.dark-theme .project-link:focus {
  outline-color: rgba(255, 255, 255, 0.3);
}