:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --dark-bg: #0f172a;
    --light-bg: #f8fafc;
    --dark-text: #1e293b;
    --light-text: #64748b;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --success: #10b981;
    --shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--light-bg);
    color: var(--dark-text);
    line-height: 1.6;
    transition: var(--transition);
}

/* Dark Mode */
body.dark-mode {
    background: var(--dark-bg);
    color: var(--white);
}

body.dark-mode .navbar,
body.dark-mode .contact-card,
body.dark-mode .project-item,
body.dark-mode .edu-card,
body.dark-mode .course-category,
body.dark-mode .objective-card {
    background: #1e293b;
    color: var(--white);
}

.dark-mode .soft-skill {
    background: #2d2d2d;
    border: 1px solid #404040;
}

.dark-mode .soft-skill h4 {
    color: #ffffff !important;
}

.dark-mode .soft-skill i {
    color: #667eea;
}

.dark-mode .project-item,
.dark-mode .course-category,
.dark-mode .edu-card,
.dark-mode .profile-content,
.dark-mode .objective-card {
    color: #e0e0e0;
}

.dark-mode .project-item h3,
.dark-mode .course-category h4,
.dark-mode .edu-card h3,
.dark-mode .objective-card h3 {
    color: #ffffff;
}

.dark-mode .project-item p,
.dark-mode .course-category li,
.dark-mode .edu-card p,
.dark-mode .profile-content p {
    color: #cccccc;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.dark-mode .navbar {
    background: rgba(15,23,42,0.95);
}

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

.logo {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.dark-mode .nav-menu a {
    color: var(--white);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.theme-toggle {
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.5rem;
    border-radius: 50%;
    background: var(--border-color);
    transition: var(--transition);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--dark-text);
    transition: var(--transition);
}

.dark-mode .hamburger span {
    background: var(--white);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(30,64,175,0.1));
    padding: 6rem 2rem 2rem;
}

.hero-content {
    text-align: center;
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.hero .highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero h2 {
    font-size: 1.5rem;
    color: var(--light-text);
    margin-bottom: 0.5rem;
}

.dark-mode .hero h2 {
    color: #94a3b8;
}

.hero p {
    font-size: 1.2rem;
    color: var(--light-text);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37,99,235,0.3);
}

.btn.secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.dark-mode .btn.secondary {
    color: var(--white);
    border-color: var(--white);
}

.btn.secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--light-text);
    animation: bounce 2s infinite;
}

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

/* Contact Bar */
.contact-bar {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-item i {
    font-size: 1.2rem;
}

/* Sections */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Profile */
.profile-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.dark-mode .profile-header {
    background: #1e293b;
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.profile-pic:hover {
    transform: scale(1.02);
}

.profile-header-text {
    flex: 1;
}

.profile-header-text h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.profile-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    font-size: 1.1rem;
    line-height: 1.8;
    transition: var(--transition);
}

.dark-mode .profile-content {
    background: #1e293b;
}

/* Education */
.edu-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.school-logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: 12px;
    background: #f1f5f9;
    padding: 8px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.dark-mode .school-logo {
    background: #0f172a;
}

.school-logo:hover {
    transform: scale(1.05);
}

.edu-content {
    flex: 1;
}

.edu-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.edu-date {
    color: var(--light-text);
    font-weight: 500;
}

.current-badge {
    display: inline-block;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    margin-left: 1rem;
    vertical-align: middle;
}

.high-school {
    margin-top: 0;
}

.subsection-title {
    font-size: 1.8rem;
    margin: 2rem 0;
    color: var(--primary-color);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.course-category {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.course-category h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.course-category ul {
    list-style: none;
}

.course-category li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.course-category li:last-child {
    border-bottom: none;
}

/* Skills */
.skills-container {
    display: grid;
    gap: 2rem;
}

.skills-category {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.skills-category h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.skill-tags span {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.skill-tags span:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(37,99,235,0.3);
}

.soft-skills-title {
    margin-top: 3rem;
}

.soft-skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.soft-skill {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.soft-skill:hover {
    transform: translateY(-5px);
}

.soft-skill i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.soft-skill h4 {
    font-size: 1rem;
    font-weight: 500;
}

/* Projects */
.projects-list {
    display: grid;
    gap: 1.5rem;
}

.project-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 1.5rem;
    transition: var(--transition);
}

.project-item:hover {
    transform: translateX(10px);
}

.project-item.featured {
    border-left: 5px solid var(--primary-color);
}

.project-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.project-details h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.project-details p {
    color: var(--light-text);
    margin-bottom: 1rem;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.project-link:hover {
    gap: 1rem;
}

.tech-tag {
    display: inline-block;
    background: #e2e8f0;
    color: #1e293b;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.7rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.dark-mode .tech-tag {
    background: #334155;
    color: #e2e8f0;
}

/* Career Objective */
.objective-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.8;
    box-shadow: var(--shadow);
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.contact-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

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

.contact-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.contact-card p {
    color: var(--light-text);
    font-size: 0.9rem;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* References */
.references {
    text-align: center;
}

.references-text {
    font-size: 1.2rem;
    color: var(--light-text);
    font-style: italic;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    padding: 2rem;
}

.footer-content p {
    margin: 0.5rem 0;
}

.fa-heart {
    color: #ff6b6b;
}

/* Animations */
.animate-text {
    animation: fadeInUp 0.8s ease;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 2rem;
        flex-direction: column;
        align-items: center;
        box-shadow: var(--shadow);
    }

    .dark-mode .nav-menu {
        background: #1e293b;
    }

    .nav-menu.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .contact-bar {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .courses-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .project-item {
        flex-direction: column;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .profile-header {
        flex-direction: column;
        text-align: center;
    }

    .edu-card {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero h2 {
        font-size: 1.2rem;
    }

    .container {
        padding: 2rem 1rem;
    }
}
/* Programming Languages with Icons */
.skill-tags.with-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.skill-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1rem;
    border-radius: 12px;
    min-width: 80px;
    transition: var(--transition);
    cursor: default;
}

.skill-icon-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(37,99,235,0.3);
}

.skill-icon-item i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.skill-icon-item span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Dark mode - Keep background dark but icons visible */
.dark-mode .skills-category {
    background: #1e293b;
    border: 1px solid #334155;
}

.dark-mode .skill-icon-item {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
}

.dark-mode .skill-tags span:not(.skill-icon-item span) {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
}

/* Regular skill tags (non-icon ones) */
.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.skill-tags span {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.skill-tags span:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(37,99,235,0.3);
}

/* Dark mode text colors for category titles */
.dark-mode .skills-category h3 {
    color: #60a5fa;
}

.dark-mode .soft-skill {
    background: #1e293b;
    border: 1px solid #334155;
}

.dark-mode .soft-skill h4 {
    color: #e2e8f0;
}

.dark-mode .soft-skill i {
    color: #60a5fa;
}

/* Ensure all text in dark mode is readable */
.dark-mode .skills-container,
.dark-mode .skills-category {
    color: #e2e8f0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .skill-icon-item {
        min-width: 70px;
        padding: 0.8rem;
    }
    
    .skill-icon-item i {
        font-size: 2rem;
    }
    
    .skill-icon-item span {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .skill-tags.with-icons {
        justify-content: center;
    }
    
    .skill-icon-item {
        min-width: 65px;
        padding: 0.7rem;
    }
}
