body {
    background-color: #f8f9fa;
    color: #212529;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.profileimage {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #ffffff;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.content-card {
    background-color: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

.content-card h2 {
    color: #343a40;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    border-bottom: 2px solid #f8f9fa;
    padding-bottom: 0.75rem;
}

.skill-list {
    list-style: none;
    padding: 0;
}

.skill-list li {
    margin-bottom: 0.75rem;
    transition: transform 0.2s ease;
}

.skill-list li:hover {
    transform: translateX(10px);
    color: #0d6efd;
}

.education-item, .experience-item {
    margin-bottom: 1.5rem;
}

.education-item:last-child, .experience-item:last-child {
    margin-bottom: 0;
}

.education-item h3, .experience-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    color: #212529;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item:hover {
    color: #0d6efd;
}

.social-links .btn {
    transition: transform 0.3s ease;
}

.social-links .btn:hover {
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .content-card {
        margin-bottom: 1rem;
    }
}

body.dark-mode {
    background-color: #1a1a1a;
    color: #f8f9fa;
}

body.dark-mode .content-card {
    background-color: #2d2d2d;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

body.dark-mode .content-card h2 {
    color: #ffffff;
    border-bottom-color: #404040;
}

/* Add these new dark mode styles */
body.dark-mode .text-muted,
body.dark-mode .lead.text-muted {
    color: #adb5bd !important;
}

body.dark-mode .contact-item {
    color: #f8f9fa;
}

body.dark-mode .skill-list li:hover {
    color: #5c9eff;
}

body.dark-mode .social-links .btn-dark {
    background-color: #404040;
    border-color: #404040;
}

body.dark-mode .social-links .btn-dark:hover {
    background-color: #505050;
    border-color: #505050;
}

/* Theme toggle button */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    transform: rotate(45deg);
}

body.dark-mode .theme-toggle {
    background: #2d2d2d;
    color: #f8f9fa;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: white;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

body.dark-mode .back-to-top {
    background: #2d2d2d;
    color: #f8f9fa;
}

/* Add loading animation */
@keyframes shimmer {
    0% {
        background-position: -468px 0;
    }
    100% {
        background-position: 468px 0;
    }
}

.content-card {
    position: relative;
    overflow: hidden;
}

.content-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 1.5s infinite;
    transform: translateX(-100%);
}

/* Add skill progress bars */
.skill-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.skill-progress {
    flex-grow: 1;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    margin-left: 1rem;
    overflow: hidden;
}

.skill-progress-bar {
    height: 100%;
    background: #0d6efd;
    border-radius: 4px;
    transition: width 1s ease;
}

/* Add some animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.content-card {
    animation: fadeIn 0.5s ease forwards;
}

/* Improve responsiveness */
@media (max-width: 768px) {
    .theme-toggle {
        top: 10px;
        right: 10px;
    }

    .back-to-top {
        bottom: 10px;
        right: 10px;
    }
}