body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
    color: #212529;
    transition: background-color 0.3s, color 0.3s;
}

.dark-mode {
    background-color: #1e1e1e !important;
    color: #eee;
}

.dark-mode .bg-white {
    background-color: #2c2c2c !important;
    color: #f1f1f1;
}

.dark-mode .modal-content {
    background-color: #2c2c2c;
    color: #f1f1f1;
}

.dark-mode .badge.bg-dark {
    background-color: #444 !important;
    color: #fff !important;
}

.dark-mode .btn-close {
    filter: invert(1);
}

.profile-img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-pill {
    border-radius: 50px;
}

.social a {
    color: inherit;
    margin-right: 15px;
    font-size: 1.25rem;
}

.portfolio-img {
    border-radius: 12px;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.portfolio-img:hover {
    transform: scale(1.03);
}

.tech-logo {
    height: 40px;
    margin: 10px;
}

footer {
    margin-top: 40px;
    font-size: 0.9rem;
}

.toggle-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    font-size: 1.2rem;
}

.portfolio-card {
    transition: background-color 0.3s;
}

.portfolio-card:hover {
    background-color: #e9ecef;
}

.dark-mode .portfolio-card:hover {
    background-color: #333;
}

.dark-mode .text-muted {
    color: #f1f1f1 !important;
}

.modal-content img {
    border-radius: 10px;
}

.responsive-img {
    width: 99%;
}

@media (min-width: 768px) {
    .responsive-img {
        width: 33%;
    }
}