/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --primary-color: #2ec4b6;
    --secondary-color: #223A5E;
    --accent-color: #eaf6fb;
    --text-color: #223A5E;
    --light-bg: #eaf6fb;
}

/* Dark theme variables */
:root.dark {
    --primary-color: #22d3ee;
    --secondary-color: #0b1220;
    --accent-color: #1f2937;
    --text-color: #e5e7eb;
    --light-bg: #0f172a;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #b2e1e5;
}

/* Body background for dark mode */
:root.dark body {
    background-color: #0b1220;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #dbdef6 !important;
    box-shadow: 0 2px 12px rgba(25, 114, 120, 0.08);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

/* Navbar colors for dark */
:root.dark .navbar {
    background: rgba(15, 23, 42, 0.85) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

/* Navbar when scrolled */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

:root.dark .navbar.scrolled {
    background: rgba(15, 23, 42, 0.98) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

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

/* Ensure theme toggle is visible on the right */
.navbar .theme-toggle {
    margin-left: auto;
}

.nav-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000000 !important;
    text-decoration: none;
}

:root.dark .nav-logo a {
    color: #e5e7eb !important;
}

.nav-menu {
    color: #9d6060 !important;
    display: flex;
    list-style: none;
    gap: 2rem;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.nav-link {
    color: #111827 !important;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
}

:root.dark .nav-link {
    color: #e5e7eb !important;
}

.nav-link:hover, .nav-link.active { color: #c97e9b !important; }

:root.dark .nav-link:hover, :root.dark .nav-link.active { color: #86efac !important; }

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

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

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

.bar {
    width: 25px;
    height: 3px;
    background-color: #b78282;
    margin: 3px 0;
    transition: 0.3s;
}

:root.dark .bar { background-color: #e5e7eb; }

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(900deg, #e48286 0%, #b2e1e5 100%);
    color: var(--text-color);
    position: relative;
    overflow: hidden;
}

:root.dark .hero {
    background: linear-gradient(135deg, #0f172a, #111827);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
    opacity: 0;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.highlight {
    color: var(--accent-color);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: left;
    animation: underline 2s ease-in-out infinite;
}

@keyframes underline {
    0%, 100% { transform: scaleX(0); }
    50% { transform: scaleX(1); }
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #664747;
}

:root.dark .hero-subtitle { color: #cbd5e1; }

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #664747;
    max-width: 500px;
}

:root.dark .hero-description { color: #94a3b8; }

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background: var(--secondary-color);
    color: #fff;
    box-shadow: 0 10px 25px rgba(46, 196, 182, 0.18);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: #fff;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-card {
    background: rgba(255, 0, 0, 0.1);
    width: 265px;
    height: 415px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: .4rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: float 6s ease-in-out infinite;
}

:root.dark .profile-card { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.08); }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.profile-avatar {
    width: 250px;
    height: 400px;
    background: rgba(231, 0, 0, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1 auto 1rem;
    font-size: 10rem;
    color: #f07c7c;
}

.profile-info h3 {
    font-size: 5rem;
    margin-bottom: 0.5rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid white;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
    cursor: pointer;
}

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

/* Section Styles */
section {
    padding: 5rem 0;
}

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

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

/* About Section */
.about {
    background: #b2e1e5;
}

:root.dark .about { background: #0b1220; }

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
    text-align: center;
}

.about-text h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

:root.dark .about-text h3 { color: #e5e7eb; }

.about-text p {
    margin-bottom: 1.5rem;
    color: #000000;
    line-height: 1.8;
}

:root.dark .about-text p { color: #cbd5e1; }

.interests {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
    text-align: center;
}

.interest-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    transition: all 0.3s ease;
}

:root.dark .interest-item { background: #111827; }
:root.dark .interest-item:hover { background: #1f2937; }

.interest-item:hover {
    background: #e0e7ff;
    transform: translateY(-2px);
}

.interest-item i {
    color: #959add;
    font-size: 1.2rem;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #959add, #c95371);
    color: white;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

:root.dark .stat-item { background: linear-gradient(135deg, #1f2937, #0f172a); }

.stat-item:hover {
    transform: scale(1.05);
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
/*Experience Section*/
.experience {
    background: linear-gradient(900deg, #b2e1e5, #77dbb3);
}

:root.dark .experience { background: linear-gradient(135deg, #0f172a, #111827); }

.experience-item {
    margin-bottom: 3rem;
}
.timeline {
    position: relative;
    padding-left: 0;
}

.timeline::before { display: none; }

.timeline-item { display: block; }

.timeline-item + .timeline-item { margin-top: 2rem; }

.timeline-marker { display: none; }

.timeline-card {
    background: white;
    border-radius: 14px;
    padding: 1.5rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.06);
    max-width: 900px;
    margin: 0 auto;
}

:root.dark .timeline-card {
    background: #0b1220;
    border-color: rgba(255,255,255,0.08);
    box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}

.timeline-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.timeline-header h3 { margin: 0; }
.timeline-header h4 { margin: 0.25rem 0 0; color: #374151; font-weight: 600; }
:root.dark .timeline-header h4 { color: #e5e7eb; }

/* New experience header with company emphasis */
.experience-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.experience-title { display: flex; flex-direction: column; gap: 0.4rem; align-items: flex-start; }

.company-badge {
    display: inline-block;
    padding: 0.35rem 0.6rem;
    background: linear-gradient(90deg, #111827, #374151);
    color: white;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.2px;
}

:root.dark .company-badge {
    background: linear-gradient(90deg, #0ea5e9, #22d3ee);
    color: #0b1220;
}

.experience-title h3 {
    margin: 0;
    font-size: 1.3rem;
}

.experience-section { margin-top: 1rem; text-align: left; }
.experience-section h5 {
    margin: 0 0 0.4rem 0;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b7280;
}
:root.dark .experience-section h5 { color: #9ca3af; }

.experience-lines {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.35rem;
}

.experience-lines li { color: #374151; line-height: 1.6; }
:root.dark .experience-lines li { color: #cbd5e1; }

.chip-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: #e5f9f6;
    color: #0f766e;
    border: 1px solid rgba(15,118,110,0.18);
    font-size: 0.8rem;
}
:root.dark .chip { background: rgba(34,211,238,0.16); color: #67e8f9; border-color: rgba(103,232,249,0.25); }

.experience-date {
    background: rgba(46, 196, 182, 0.12);
    color: #0f766e;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    font-size: 0.875rem;
    white-space: nowrap;
}
:root.dark .experience-date { background: rgba(34, 211, 238, 0.15); color: #67e8f9; }

.experience-bullets {
    margin: 0.5rem 0 0;
    padding-left: 0;
    list-style: none;
    display: grid;
    gap: 0.4rem;
}

.experience-bullets li {
    text-align: left;
    color: #374151;
    line-height: 1.65;
}
:root.dark .experience-bullets li { color: #cbd5e1; }
.experience-bullets li + li { border-top: 1px dashed rgba(0,0,0,0.08); padding-top: 0.4rem; }
:root.dark .experience-bullets li + li { border-color: rgba(255,255,255,0.12); }

@media (max-width: 900px) {
    .timeline-item { display: block; }
}

/* Projects Section */
.projects {
    background: linear-gradient(900deg, #77dbb3, #d68eeb);
    text-align: center;
}

:root.dark .projects { background: linear-gradient(135deg, #0f172a, #111827); }

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(46, 196, 182, 0.08);
    transition: all 0.3s cubic-bezier(.25,1.7,.45,.87);
    border: 1.5px solid var(--primary-color);
}

:root.dark .project-card { background: #0b1220; box-shadow: 0 4px 12px rgba(0,0,0,0.3); }

.project-card:hover {
    box-shadow: 0 20px 40px rgba(46, 196, 182, 0.18);
}

.project-image {
    height: 200px;
    background: linear-gradient(135deg, #eaf6fb, #b2f1ec);
    display: flex;
    align-items: center;
    justify-content: center;
}

:root.dark .project-image { background: linear-gradient(135deg, #111827, #0f172a); }

.project-placeholder {
    font-size: 3rem;
    color: white;
    opacity: 0.8;
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

:root.dark .project-content h3 { color: #e5e7eb; }

.project-content p {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

:root.dark .project-content p { color: #94a3b8; }

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    background: #d0f4f7;
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

:root.dark .tech-tag { background: #0e7490; color: #e0f2fe; }

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

.project-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

:root.dark .project-link { color: #93c5fd; }
:root.dark .project-link:hover { color: #bfdbfe; }

.project-link:hover {
    color: #3730a3;
}

/* Skills Section */
.skills {
    background: linear-gradient(900deg, #d68eeb, #b2e1e5);
    text-align: center;
}

:root.dark .skills { background: linear-gradient(135deg, #0f172a, #111827); }

.skills-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    text-align: center;
}

.skills-category h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #1f2937;
    text-align: center;
}

:root.dark .skills-category h3 { color: #e5e7eb; }

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 10px;
    transition: all 0.3s ease;
}

:root.dark .skill-item { background: #111827; }
:root.dark .skill-item:hover { background: #1f2937; }

.skill-item:hover {
    background: #e0e7ff;
    transform: translateY(-5px);
}

.skill-item i {
    font-size: 2rem;
    color: #667eea;
}

:root.dark .skill-item i { color: #93c5fd; }

.skill-item span {
    font-weight: 500;
    color: #374151;
}

:root.dark .skill-item span { color: #e5e7eb; }

/* Contact Section */
.contact {
    background: linear-gradient(900deg, #b2e1e5, #77dbb3);
    text-align: center;
}

:root.dark .contact { background: linear-gradient(135deg, #0f172a, #111827); }

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    text-align: center;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

:root.dark .contact-info h3 { color: #e5e7eb; }

.contact-info p {
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.8;
}

:root.dark .contact-info p { color: #94a3b8; }

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none !important;
}

:root.dark .contact-method { background: #0b1220; }
:root.dark .contact-method:hover { background: #111827; }

.contact-method a, .contact-method a:visited, .contact-method a:active {
    text-decoration: none !important;
    color: inherit;
}

.contact-method:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background: #eaf6fb;
}

.contact-method i {
    font-size: 1.5rem;
    color: #667eea;
    width: 40px;
    text-align: center;
}

:root.dark .contact-method i { color: #93c5fd; }

.contact-method h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: #1f2937;
}

:root.dark .contact-method h4 { color: #e5e7eb; }

.contact-method p {
    color: #6b7280;
    margin: 0;
}

:root.dark .contact-method p { color: #94a3b8; }

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

:root.dark .contact-form { background: #0b1220; box-shadow: 0 4px 12px rgba(0,0,0,0.3); }

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

:root.dark .form-group input,
:root.dark .form-group textarea { border-color: #334155; background: #111827; color: #e5e7eb; }

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

:root.dark .form-group input:focus,
:root.dark .form-group textarea:focus { border-color: #93c5fd; }

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: #fff;
    padding: 2rem 0;
}

:root.dark .footer { background: #0b1220; }

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

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

.footer-social a:hover {
    color: var(--primary-color);
}

/* Theme toggle button */
.theme-toggle {
    margin-left: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 2px solid rgba(0,0,0,0.1);
    background: transparent;
    color: inherit;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.theme-toggle:hover { background: rgba(0,0,0,0.05); transform: translateY(-1px); }
:root.dark .theme-toggle { border-color: #334155; }
:root.dark .theme-toggle:hover { background: rgba(255,255,255,0.06); }

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        transform: none; /* override desktop centering */
        top: 70px; /* ensure consistent position */
        left: -100%;
    }

    :root.dark .nav-menu { background-color: #0b1220; }

    .nav-menu.active {
        left: 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

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

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

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

    .skills-content {
        grid-template-columns: 1fr;
    }
}

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

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

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

    .section-title {
        font-size: 2rem;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling for anchor links */
html {
    scroll-padding-top: 80px;
}

.profile-pic {
    width: 250px;
    height: 400px;
    object-fit: cover;
    border-radius: 7px;
    border: 4px solid var(--primary-color);
    box-shadow: 0 4px 24px rgba(251, 191, 36, 0.15), 0 2px 8px rgba(0,0,0,0.10);
    transition: transform 0.3s cubic-bezier(.25,1.7,.45,.87), box-shadow 0.3s;
    cursor: pointer;
    background: #fff;
    display: block;
    margin: 0 auto;
}

@media (max-width: 600px) {
    .profile-pic {
        width: 95vw;
        height: 160px;
    }
}

.profile-pic:hover {
    transform: scale(1.05) rotate(-1deg);
    box-shadow: 0 8px 32px rgba(251, 191, 36, 0.22), 0 4px 16px rgba(0,0,0,0.14);
}

.experience-content {
    text-align: center;
} 
/* Featured Project & Hackathon Styles */
.featured-project {
    border: 2px solid var(--primary-color);
    background: linear-gradient(135deg, rgba(46, 196, 182, 0.05), rgba(46, 196, 182, 0.02));
    position: relative;
    overflow: visible;
}

:root.dark .featured-project {
    border-color: #22d3ee;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.1), rgba(34, 211, 238, 0.05));
}

.featured-project::before {
    content: '⭐ Featured';
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.4);
    z-index: 10;
}

.featured-project:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(46, 196, 182, 0.25);
}

.hackathon-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(239, 68, 68, 0.95);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
    z-index: 5;
}

:root.dark .hackathon-badge {
    background: rgba(239, 68, 68, 0.9);
}

.hackathon-badge i {
    font-size: 1rem;
    animation: trophy-pulse 2s ease-in-out infinite;
}

@keyframes trophy-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.featured-project .project-placeholder i {
    color: var(--primary-color);
    animation: car-drive 3s ease-in-out infinite;
}

@keyframes car-drive {
    0%, 100% {
        transform: translateX(-10px);
    }
    50% {
        transform: translateX(10px);
    }
}
.favorite-project {
    border: 2px solid var(--primary-color);
    background: linear-gradient(135deg, rgba(255, 99, 132, 0.05), rgba(255, 99, 132, 0.02)); /* light red gradient */
    position: relative;
    overflow: visible;
}

:root.dark .favorite-project {
    border-color: #f87171; /* darker red for dark mode */
    background: linear-gradient(135deg, rgba(248, 113, 113, 0.1), rgba(248, 113, 113, 0.05));
}

.favorite-project::before {
    content: '❤️ Favorite';
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, #f87171, #fca5a5); /* light red gradient */
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(255, 99, 132, 0.4);
    z-index: 10;
}

.favorite-project:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(255, 99, 132, 0.25);
}

/* First Project Badge */
.first-project-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(250, 204, 21, 0.95); /* golden yellow */
    color: black;
    padding: 6px 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(250, 204, 21, 0.4);
    z-index: 5;
}

.first-project-badge i {
    font-size: 1rem;
    animation: pulse 2s ease-in-out infinite;
}

.favorite-project .project-placeholder i {
    color: var(--primary-color);
    /* optional animation, like subtle horizontal float */
    animation: float-icon 3s ease-in-out infinite;
}

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

@keyframes float-icon {
    0%, 100% {
        transform: translateX(-5px);
    }
    50% {
        transform: translateX(5px);
    }
}
