:root {
            --primary-color: #0073e6;
            --bg-color: #f4f7f6;
            --text-color: #333;
            --card-bg: rgba(255, 255, 255, 0.9);
        }
/* BODY */
        body {
            font-family: 'Poppins', sans-serif;
            background: linear-gradient(135deg, #e0eafc 0%, #cfdef3 100%);
            color: var(--text-color);
            margin: 0;
            padding: 20px;
            line-height: 1.6;
        }
/* Container */
        .container {
            max-width: 900px;
            margin: 0 auto;
            background: var(--card-bg);
            padding: 40px;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            backdrop-filter: blur(10px);
        }
/* Header */
        header {
            text-align: center;
            margin-bottom: 40px;
        }

        header img {
            border-radius: 50%;
            border: 4px solid var(--primary-color);
            transition: transform 0.3s ease;
            object-fit: cover;
        }

        header img:hover {
            transform: scale(1.1);
        }

        h1 { margin: 10px 0; color: #222; }
        
        .section-title {
            color: var(--primary-color);
            border-left: 5px solid var(--primary-color);
            padding-left: 15px;
            margin-top: 30px;
        }

        ul { list-style: none; padding: 0; }
        li { margin-bottom: 10px; padding-left: 20px; position: relative; }
        li::before { content: "▹"; position: absolute; left: 0; color: var(--primary-color); font-weight: bold; }

        table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 15px;
            background: white;
            border-radius: 10px;
            overflow: hidden;
        }

        th, td { padding: 12px; text-align: left; border-bottom: 1px solid #ddd; }
        th { background: var(--primary-color); color: white; }

        /* --- Footer Section Styling --- */
        footer {
            margin-top: 50px;
            background: #222;
            color: white;
            padding: 30px;
            border-radius: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
        }

        .footer-left {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .footer-left img {
            width: 70px;
            height: 70px;
            border-radius: 10px;
            border: 2px solid #555;
        }

        .author-info h4 { margin: 0; font-size: 1.2rem; color: var(--primary-color); }
        .author-info p { margin: 5px 0 0; font-size: 0.9rem; opacity: 0.8; }

        .footer-right {
            display: flex;
            gap: 20px;
        }

        .footer-right a {
            color: white;
            font-size: 1.5rem;
            transition: 0.3s;
        }

        .footer-right a:hover {
            color: var(--primary-color);
            transform: translateY(-5px);
        }

        @media (max-width: 600px) {
            footer { flex-direction: column; text-align: center; gap: 20px; }
            .footer-left { flex-direction: column; }
        }

        /* Form */
        .contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    box-sizing: border-box; /* Important for alignment */
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 5px rgba(0, 115, 230, 0.2);
}

.submit-btn {
    background: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: 0.3s;
    align-self: flex-start;
}

.submit-btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 115, 230, 0.3);
}


/* Certificates */

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.cert-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: 0.3s;
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-color: var(--primary-color);
}

.cert-icon {
    font-size: 2rem;
    color: var(--primary-color);
    background: #eef6ff;
    padding: 15px;
    border-radius: 10px;
}

.cert-details h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #222;
}

.cert-details p {
    margin: 5px 0;
    font-size: 0.9rem;
    color: #666;
}

.cert-date {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
}


* Navbar Styling */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.nav-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li::before { content: none; } /* Remove bullet arrow for navbar */

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: 0.3s;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Smooth Scrolling effect for the whole page */
html {
    scroll-behavior: smooth;
}

/* Adjusting section padding so navbar doesn't cover titles */
section {
    scroll-margin-top: 80px; 
}


/* Custom Cursor Styling */
.cursor-dot,
.cursor-outline {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
}

.cursor-outline {
    width: 30px;
    height: 30px;
    border: 2px solid var(--primary-color);
    transition: all 0.15s ease-out; /* Isse outline thoda peeche chalega (lag effect) */
}

/* Jab cursor kisi link par jaye toh bada ho jaye */
.cursor-hover {
    transform: translate(-50%, -50%) scale(1.5);
    background-color: rgba(0, 115, 230, 0.1);
}

/* Mobile par custom cursor hide kar dena chahiye */
@media (max-width: 768px) {
    .cursor-dot, .cursor-outline { display: none; }
}


.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 9999;
    border-radius: 50%;
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--primary-color);
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 9998;
    border-radius: 50%;
    /* Isse wo "smooth lag" wala animation aayega */
    transition: transform 0.15s ease-out, width 0.3s, height 0.3s, background-color 0.3s;
}

/* Jab kisi link par ho toh cursor "blend" ho jaye */
.cursor-hover {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 115, 230, 0.1);
    border: none;
}


/* Client */


/* Testimonial Specific Styles */
.testimonial-card {
    border-top: 4px solid #3670A0; /* Optional: Matching your Python/Django theme */
    padding: 20px;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.client-img {
    width: 60px;
    height: 60px;
    border-radius: 50%; /* Makes the image circular */
    object-fit: cover;
    border: 2px solid #ddd;
    background-color: #f4f4f4;
}

.client-subtitle {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

.testimonial-text {
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
    margin: 15px 0;
}

.rating {
    color: #f1c40f; /* Star gold color */
    font-size: 0.8rem;
}

/* Hover effect to match your work-cards */
.testimonial-card:hover {
    transform: translateY(-5px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}


/* --- Review Form Styling --- */
#add-review {
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.05); /* Clean look for portfolio */
}

.review-form-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

#reviewForm input, 
#reviewForm select, 
#reviewForm textarea {
    border: 1px solid #e1e1e1;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

#reviewForm input:focus, 
#reviewForm textarea:focus {
    border-color: #3670A0; /* Python/Django Blue */
}

/* --- Testimonial Cards Styling --- */
.testimonial-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.client-img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #3670A0; /* Highlighted Border */
}

.client-subtitle {
    font-size: 0.8rem;
    color: #888;
    margin: 2px 0 0 0;
}

.testimonial-text {
    font-style: italic;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
    position: relative;
}

/* Adding Quote marks for extra style */
.testimonial-text::before {
    content: '"';
    font-size: 30px;
    color: #ddd;
    position: absolute;
    top: -15px;
    left: -10px;
}

.rating {
    color: #f1c40f; /* Gold Stars */
    font-size: 0.9rem;
}

/* --- Responsive Layout Fix --- */
.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

@media (max-width: 600px) {
    .client-info {
        flex-direction: column;
        text-align: center;
    }
    
    .works-grid {
        grid-template-columns: 1fr;
    }
}






/* Work */

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.work-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.work-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: #ffd700; /* Theme accent color */
}

.tags span {
    font-size: 12px;
    background: #f0f0f0;
    padding: 4px 10px;
    border-radius: 20px;
    margin-right: 5px;
    color: #555;
}

.view-project {
    display: inline-block;
    margin-top: 15px;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

/* GitHub Stats */

.github-analytics-container img {
    max-width: 100%;
    height: auto; /* Aspect ratio maintain rakhta hai */
    border-radius: 10px;
    transition: transform 0.3s ease;
    display: block; /* Gap issues door karne ke liye */
}

.github-analytics-container img:hover {
    transform: scale(1.05);
}

/* Mobile par images thodi choti aur center dikhein */
@media (max-width: 600px) {
    .github-analytics-container {
        padding: 10px;
    }
    .github-analytics-container img {
        width: 100%; /* Mobile par full width le lega */
    }
}

/* bages LIVE */
/* Container ko relative banana zaroori hai taaki badge iske kone mein rahe */
.work-content {
    position: relative;
    padding-top: 25px; /* Badge ke liye thodi jagah */
}

/* Common Badge Styling */
.badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Green Live Badge */
.live-badge {
    background-color: rgba(40, 167, 69, 0.2);
    /* background-color: #C63837; */
    color: #28a745;
    color: #C63837;
    border: 1px solid #28a745;
    animation: pulse-green 2s infinite;
}

/* GitHub/Static Badge Style */
.github-badge {
    background-color: rgba(108, 117, 125, 0.2);
    color: #6c757d;
    border: 1px solid #6c757d;
}

/* Live blinking effect */
@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(24, 187, 78, 0.4);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(40, 167, 69, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .work-content {
        padding-top: 35px; /* Mobile par title ko badge se niche dhakelne ke liye */
    }

    .badge {
        font-size: 0.65rem; /* Chhoti screen par badge ka size thoda kam */
        top: 8px;
        right: 8px;
    }
}