:root {
    --primary-blue: #3b82f6;
    --primary-purple: #7c3aed;
    --gradient-bg: linear-gradient(135deg, #0f172a, #2e1065, #0f172a);
    --text-light: #f1f5f9;
    --text-secondary: #94a3b8;
    --card-bg: rgba(15, 23, 42, 0.7);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
}

[data-theme="light"] {
    --gradient-bg: linear-gradient(135deg, #f8fafc, #e2e8f0, #f8fafc);
    --text-light: #1e293b;
    --text-secondary: #64748b;
    --card-bg: rgba(255, 255, 255, 0.9);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--gradient-bg);
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
    transition: var(--transition);
}

/* Navigation */
.navbar {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 2rem;
    transition: var(--transition);
}

.navbar-brand {
    background: linear-gradient(to right, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    position: relative;
    margin: 0 1rem;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--primary-blue);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Theme Toggle */
.theme-toggle {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.theme-toggle:hover {
    transform: scale(1.1);
}

/* Hero Section */
#home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(to right, rgba(37, 99, 235, 0.15), rgba(147, 51, 234, 0.15));
    overflow: hidden;
}

.hero-title {
    background: linear-gradient(to right, #60a5fa, #a78bfa, #f472b6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.explore-btn {
    background: linear-gradient(to right, #3b82f6, #7c3aed);
    border: none;
    padding: 1rem 2.5rem;
    font-weight: 600;
    transition: var(--transition);
}

.explore-btn:hover {
    background: linear-gradient(to right, #2563eb, #6b21a8);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.chevron-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-12px); }
    60% { transform: translateY(-6px); }
}

/* About Section */
.about-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem;
    border-radius: 12px;
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.circle-animation {
    width: 280px;
    height: 280px;
    background: linear-gradient(to bottom right, #3b82f6, #7c3aed);
    border-radius: 50%;
    position: relative;
    margin: 0 auto;
    animation: pulse 4s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.03); opacity: 1; }
}

.inner-circle {
    position: absolute;
    inset: 12px;
    background: var(--card-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

/* Skills Section */
.skills-section {
    background: var(--card-bg);
    padding: 5rem 0;
}

.progress-bar {
    background: linear-gradient(to right, #3b82f6, #7c3aed);
    height: 8px;
    border-radius: 4px;
    transition: width 1.5s ease-out;
}

.progress {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    height: 8px;
}

/* Projects Section */
.project-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.5rem;
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: var(--shadow);
}

.tech-tag {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    transition: var(--transition);
}

.tech-tag:hover {
    background: rgba(59, 130, 246, 0.25);
}

.filter-btn {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    padding: 0.5rem 1.5rem;
    margin: 0.5rem;
    border-radius: 20px;
    transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
}

/* Contact Section */
.contact-section {
    background: var(--card-bg);
    padding: 5rem 0;
}

.contact-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 2rem;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.social-btn {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-btn:hover {
    transform: scale(1.15);
    background: var(--primary-blue);
}

.contact-form {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-radius: 8px;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
}

/* Footer */
footer {
    background: var(--card-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2rem 0;
    transition: var(--transition);
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
    .circle-animation {
        width: 220px;
        height: 220px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .circle-animation {
        width: 180px;
        height: 180px;
    }
    .navbar {
        padding: 1rem;
    }
    .nav-link {
        margin: 0.5rem 0;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    .circle-animation {
        width: 150px;
        height: 150px;
    }
}.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
