body {
    font-family: 'Segoe UI', sans-serif;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    transition: background 0.5s ease, color 0.5s ease;
    padding-top: 60px;
    scroll-behavior: smooth;
}

img,
a,
div,
span {
    -webkit-user-drag: none;
}

.project-card {
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.project-img {
    height: 200px;
    object-fit: contain;
}

.project-image {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.btn-custom {
    border-radius: 50px;
    padding: 8px 20px;
    transition: background 0.3s ease, color 0.3s ease;
}

.btn-demo {
    background-color: #6c757d;
    color: white;
}

.btn-demo:hover {
    background-color: #495057;
    color: #fff;
}

.btn-live {
    background-color: #0d6efd;
    color: white;
}

.btn-live:hover {
    background-color: #0b5ed7;
    color: #fff;
}

#darkToggleIcon {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    padding: 10px;
    z-index: 999;
    cursor: pointer;
    transition: background 0.3s ease;
}

#darkToggleIcon:hover {
    background: rgba(255, 255, 255, 0.9);
}

#themeIcon {
    font-size: 24px;
    color: #333;
    transition: transform 0.5s ease, color 0.5s ease;
}

#homeBtn {
    top: 20px;
    left: 20px;
    z-index: 1000;
    border-radius: 50%;
    padding: 10px 12px;
    background-color: rgba(255, 255, 255, 0.8);
    transition: background 0.3s ease;
}

#homeBtn:hover {
    background-color: rgba(255, 255, 255, 1);
    color: #333;
    border-color: #333;
}

[data-theme="dark"] #homeBtn {
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    border-color: #fff;
}

[data-theme="dark"] #homeBtn:hover {
    background-color: rgba(0, 0, 0, 0.8);
    color: #999;
    border-color: #999;
}

.whatsapp-float {
    position: fixed;
    width: 55px;
    height: 55px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    line-height: 55px;
    z-index: 9999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease, width 0.3s ease, height 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #1ebd5a;
    color: white;
    text-decoration: none;
    width: 60px;
    height: 60px;
    transition: background 0.3s ease, width 0.3s ease, height 0.3s ease;
}

#topBtn {
    position: fixed;
    width: 55px;
    height: 55px;
    bottom: 85px;
    right: 20px;
    padding: 10px 14px;
    border-radius: 50%;
    font-size: 25px;
    display: none;
    z-index: 999;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease, width 0.3s ease, height 0.3s ease;
}

#topBtn:hover {
    background-color: #007bff;
    color: white;
    text-decoration: none;
    width: 60px;
    height: 60px;
    transition: background 0.3s ease, width 0.3s ease, height 0.3s ease;
}

/* Footer Styling */

.container2 {
    background: none;
    padding: 15px;
    max-width: 100%;
}

.footer-section {
    font-size: 15px;
    margin-top: 10px;
}

.footer-link {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #3b82f6;
    text-decoration: underline;
}

.footer-section h5 {
    color: #f9fafb;
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-bottom small {
    color: #9ca3af;
    font-size: 14px;
}

/* Dark mode adjustments */
[data-theme="dark"] #darkToggleIcon {
    background: rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] #themeIcon {
    color: #fff;
}

/* Dark Mode */
[data-theme="dark"] body {
    background: #121212;
    color: #f1f1f1;
}

[data-theme="dark"] .card {
    background-color: #1e1e1e;
    color: #f1f1f1;
}

[data-theme="dark"] footer {
    background-color: #000;
}