body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

header {
    background: #333;
    color: #fff;
    padding: 15px;
    text-align: center;
}

header nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: space-around;
    background-color: #333;
}

header nav ul li {
    margin: 0 10px;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

header nav ul li a i,
.btn i,
.contact .btn-primary i,
.contact .btn-outline-dark i {
    margin-right: 5px;
}

header nav ul li a:hover {
    color: #ddd;
}

.hero-section {
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    position: relative;
}

.hero-section .overlay {
    background: rgba(0, 0, 0, 0.5);
    padding: 40px;
    border-radius: 10px;
}

section {
    padding: 20px;
    text-align: center;
    background: var(--card);
}

.about-me,
.contact {
    text-align: center;
}

.about-me {
    padding: 50px 0;
}

.profile,
.profile-img {
    text-align: center;
}

.profile {
    margin-bottom: 20px;
}

.profile-img,
.about-me .profile img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.skills {
    padding: 50px 0;
    background-color: #f8f9fa;
    margin-top: 30px;
}

.skill {
    margin-bottom: 15px;
}

.progress {
    background: #ddd;
    border-radius: 5px;
    height: 10px;
    width: 80%;
    margin: 10px auto;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: #007bff;
    text-align: right;
    color: white;
    font-size: 12px;
    padding-right: 5px;
}

.services {
    background: #f8f9fa;
    padding: 50px 0;
}

.service-box,
.service-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-box:hover,
.service-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

h3 {
    color: #007bff;
}

.contact h1,
.contact h2 {
    color: #333;
}

.btn {
    display: inline-block;
    background: #007BFF;
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
    transition: transform 0.2s ease, background 0.3s, color 0.3s;
    margin: 10px;
}

.btn:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.btn.active,
.btn-primary {
    background: #007bff;
    color: white;
}

.btn-success {
    background: #25D366;
    color: white;
}

.btn-outline-dark {
    color: #333;
    border-color: #333;
}

.btn-outline-dark:hover {
    color: #fff;
}

.contact {
    padding: 10px 0;
}

.contact-form {
    max-width: 500px;
    margin: auto;
    text-align: left;
}

.links a,
.social-links a {
    margin: 10px;
}

.social-links a {
    font-size: 18px;
}

.resume-download {
    margin-top: 30px;
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    font-size: 24px;
    padding: 12px;
    border-radius: 50%;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.availability-status {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-radius: 40px;
    background: #f8f9fa;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: pulse 1.6s infinite;
}

.status-dot.available {
    background-color: #28a745;
}

.status-dot.busy {
    background-color: #dc3545;
}

.status-text small {
    font-weight: normal;
    font-size: 12px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.4);
        opacity: 0.6;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 10px;
    width: 100%;
}

:root[data-theme="light"] {
    --bg: #ffffff;
    --text: #111827;
    --card: #f3f4f6;
}

:root[data-theme="dark"] {
    --bg: #0f172a;
    --text: #e5e7eb;
    --card: #1e293b;
}

.project-card {
    background: var(--card);
    color: var(--text);
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
    transform: translateY(-4px);
}

.project-card .card-title,
.project-card .card-text,
.project-card .repo-language {
    color: var(--text);
}

.project-card .repo-language {
    opacity: 0.8;
}

.error {
    color: red;
    font-size: 14px;
}

.featured {
    border: 2px solid #28a745;
    background: #f8fff9;
}

.badge {
    margin: 2px;
}

.card {
    border-radius: 12px;
}

h1 {
    font-weight: 700;
}

.flatpickr-calendar {
    border: none !important;
    border-radius: 18px !important;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.12) !important;
    overflow: hidden;
    font-family: 'Segoe UI', sans-serif;
    animation: fadeInUp .25s ease;
}

/* Header */
.flatpickr-months {
    background: linear-gradient(135deg, #198754, #20c997);
    color: white;
    padding: 10px 0;
}

.flatpickr-current-month {
    font-size: 1rem;
    font-weight: 600;
}

.flatpickr-prev-month,
.flatpickr-next-month {
    fill: white !important;
    padding: 10px;
}

/* Weekdays */
.flatpickr-weekdays {
    background: #f8f9fa;
}

.flatpickr-weekday {
    color: #198754 !important;
    font-weight: 600;
    font-size: 13px;
}

/* Days */
.flatpickr-day {
    border-radius: 10px !important;
    margin: 2px;
    transition: 0.2s ease;
}

.flatpickr-day:hover {
    background: #d1e7dd;
    color: #198754;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
    background: #198754 !important;
    border-color: #198754 !important;
    color: white !important;
}

.flatpickr-day.today {
    border: 2px solid #20c997 !important;
}

/* Time Picker */
.flatpickr-time {
    border-top: 1px solid #eee;
    padding: 8px;
}

.flatpickr-time input,
.flatpickr-time .flatpickr-am-pm {
    border-radius: 8px;
    font-weight: 600;
}

/* Input Field */
.datetimepicker {
    border-radius: 12px !important;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    transition: 0.3s;
}

.datetimepicker:focus {
    border-color: #198754;
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, .15);
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.iti {
    width: 100%;
}

.iti input {
    height: 48px;
    border-radius: 12px;
}
.iti {
    width: 100%;
}

.navbar .nav-link {
    transition: all 0.2s ease-in-out;
}

.navbar .nav-link:hover {
    background: #f8f9fa;
    transform: translateY(-1px);
}

.navbar .nav-link.active {
    color: #0d6efd !important;
}
