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

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #333333;
    --text-color: #111111;
    --light-bg: #f5f5f5;
    --white: #ffffff;
    --grey-medium: #666666;
    --grey-light: #e0e0e0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.12);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Header & Navigation */
header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1100px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

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

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

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

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

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    margin-top: 70px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
    color: var(--white);
    text-align: center;
    padding: 2rem;
}

.profile-pic {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--white);
    box-shadow: var(--shadow-lg);
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-content .subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-content p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 1s ease 0.6s backwards;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* About Section */
.about {
    padding: 5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--primary-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.skills {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.skill-item {
    background: var(--light-bg);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

/* Projects Section */
.projects {
    padding: 5rem 5%;
    background: var(--light-bg);
}

.projects h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--primary-color);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.project-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--grey-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.project-card.visible {
    animation: fadeInUp 0.6s ease forwards;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.project-image {
    width: 100%;
    height: 150px;
    background: linear-gradient(135deg, #1a1a1a 0%, #444444 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--white);
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.tag {
    background: #f0f0f0;
    color: #333333;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid #e0e0e0;
}

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

.project-link {
    text-decoration: none;
    color: #333333;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.project-link:hover {
    color: #000000;
    border-bottom-color: #000000;
}

/* Contact Section - Premium Design */
.contact {
    position: relative;
    padding: 6rem 5%;
    background: linear-gradient(135deg, #111111 0%, #1a1a1a 100%);
    overflow: hidden;
}

/* Animated Background Shapes */
.contact-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.contact-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
}

.contact-shape-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #333333 0%, #555555 100%);
    top: -200px;
    right: -100px;
    animation: floatContact 15s ease-in-out infinite;
}

.contact-shape-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #444444 0%, #666666 100%);
    bottom: -150px;
    left: -100px;
    animation: floatContact 18s ease-in-out infinite reverse;
}

@keyframes floatContact {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.1); }
}

.contact-container {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

/* Contact Header */
.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact h2 {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #e0e0e0 50%, #cccccc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-title-line {
    display: inline-block;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #ffffff, #888888);
    border-radius: 2px;
}

.contact-subtitle {
    color: #9ca3af;
    font-size: 1.1rem;
}

/* Form Container */
.contact .contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    max-width: 100%;
    box-sizing: border-box;
}

.contact .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* Floating Label Groups */
.contact .form-group.floating {
    position: relative;
}

.contact .form-group.floating label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    font-size: 1rem;
    font-weight: 500;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    background: transparent;
}

.contact .form-group.floating label svg {
    width: 18px;
    height: 18px;
    transition: all 0.3s ease;
}

.contact .form-group.floating input,
.contact .form-group.floating textarea {
    width: 100%;
    padding: 1.25rem 1rem 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    color: #fff;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.contact .form-group.floating textarea {
    min-height: 150px;
    resize: vertical;
    padding-top: 1.5rem;
}

/* Focus and filled states */
.contact .form-group.floating input:focus,
.contact .form-group.floating textarea:focus,
.contact .form-group.floating input:not(:placeholder-shown),
.contact .form-group.floating textarea:not(:placeholder-shown) {
    outline: none;
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 0 0 4px rgba(255, 255, 255, 0.1),
        0 4px 20px rgba(255, 255, 255, 0.1);
}

.contact .form-group.floating input:focus + label,
.contact .form-group.floating textarea:focus + label,
.contact .form-group.floating input:not(:placeholder-shown) + label,
.contact .form-group.floating textarea:not(:placeholder-shown) + label {
    top: -0.5rem;
    left: 0.75rem;
    font-size: 0.8rem;
    color: #ffffff;
    background: #1a1a1a;
    padding: 0.1rem 0.5rem;
    border-radius: 4px;
}

.contact .form-group.floating input:focus + label svg,
.contact .form-group.floating textarea:focus + label svg,
.contact .form-group.floating input:not(:placeholder-shown) + label svg,
.contact .form-group.floating textarea:not(:placeholder-shown) + label svg {
    width: 14px;
    height: 14px;
    stroke: #ffffff;
}

/* Input highlight animation */
.contact .input-highlight {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ffffff, #888888, #ffffff);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateX(-50%);
    border-radius: 2px;
}

.contact .form-group.floating input:focus ~ .input-highlight,
.contact .form-group.floating textarea:focus ~ .input-highlight {
    width: calc(100% - 4px);
}

/* Submit Button */
.contact .submit-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.1rem 2.5rem;
    background: linear-gradient(135deg, #333333 0%, #1a1a1a 100%);
    border: 1px solid #444444;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    align-self: flex-start;
    width: auto;
    max-width: 250px;
}

.contact .submit-button .btn-text {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.contact .submit-button .btn-icon {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.contact .submit-button .btn-icon svg {
    width: 20px;
    height: 20px;
    stroke: #fff;
    fill: none;
}

.contact .submit-button .btn-bg {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #444444 0%, #666666 100%);
    transition: left 0.4s ease;
}

.contact .submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.4),
        0 5px 15px rgba(0, 0, 0, 0.3);
}

.contact .submit-button:hover .btn-bg {
    left: 0;
}

.contact .submit-button:hover .btn-icon {
    transform: translateX(5px) rotate(15deg);
}

.contact .submit-button:active {
    transform: translateY(-1px);
}

.contact .submit-button:disabled {
    background: #4b5563;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Form Message Styles */
.contact .form-message {
    margin-top: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.contact .form-message.success {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.contact .form-message.error {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .contact h2 {
        font-size: 2rem;
    }
    
    .contact .contact-title-line {
        width: 30px;
    }
    
    .contact .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact .contact-form {
        padding: 1.5rem;
    }
}

/* Footer */
footer {
    background: var(--text-color);
    color: var(--white);
    text-align: center;
    padding: 2rem 5%;
}

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

.social-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

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

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

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

    .nav-links {
        position: absolute;
        right: 0;
        top: 70px;
        background: var(--white);
        flex-direction: column;
        width: 100%;
        padding: 2rem;
        box-shadow: var(--shadow);
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }

    .nav-links.active {
        transform: translateX(0);
    }

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

    .hero-content .subtitle {
        font-size: 1.2rem;
    }

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

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

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

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

    .cta-button {
        padding: 0.75rem 2rem;
    }
}

/* ==========================================
   REACT PROJECTS SECTION - Premium Design
   ========================================== */

.react-section {
    position: relative;
    overflow: hidden;
}

.react-projects-wrapper {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Animated Background Shapes */
.bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s ease-in-out infinite;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #333333 0%, #555555 100%);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #444444 0%, #666666 100%);
    bottom: -50px;
    left: -50px;
    animation-delay: -5s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #555555 0%, #777777 100%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, -30px) rotate(5deg); }
    50% { transform: translate(-20px, 20px) rotate(-5deg); }
    75% { transform: translate(20px, 30px) rotate(3deg); }
}

/* Section Header */
.projects-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 50%, #555555 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-title.title-visible {
    opacity: 1;
    transform: translateY(0);
}

.title-line {
    display: inline-block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #1a1a1a, #555555);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #6b7280;
    margin-top: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.section-subtitle.subtitle-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Filter Buttons */
.filter-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.filter-container.filters-visible {
    opacity: 1;
    transform: translateY(0);
}

.filter-btn {
    position: relative;
    padding: 0.6rem 1.25rem;
    border: 2px solid transparent;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.8);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: #4b5563;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    padding: 2px;
    background: linear-gradient(135deg, #1a1a1a, #333333, #555555);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.filter-btn:hover::before,
.filter-btn.active::before {
    opacity: 1;
}

.filter-btn.active {
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
    color: white;
}

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.filter-count {
    background: rgba(0, 0, 0, 0.1);
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
    font-size: 0.75rem;
}

.filter-btn.active .filter-count {
    background: rgba(255, 255, 255, 0.2);
}

/* Project Cards Grid */
.react-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

/* Individual Project Card */
.react-project-card {
    position: relative;
    border-radius: 20px;
    opacity: 0;
    transform: translateY(60px) scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transform-style: preserve-3d;
}

.react-project-card.card-visible {
    animation: cardEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cardEntrance {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(0.9) rotateX(10deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0);
    }
}

/* Animated Glow Border */
.card-glow {
    position: absolute;
    inset: -2px;
    border-radius: 22px;
    background: linear-gradient(135deg, #1a1a1a, #444444, #666666, #1a1a1a);
    background-size: 300% 300%;
    animation: glowRotate 4s ease infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.react-project-card:hover .card-glow {
    opacity: 1;
}

@keyframes glowRotate {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Card Inner Content */
.card-inner {
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.08),
        0 8px 40px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}

.react-project-card:hover .card-inner {
    box-shadow: 
        0 8px 40px rgba(0, 0, 0, 0.15),
        0 16px 60px rgba(0, 0, 0, 0.12);
}

/* Card Image */
.card-image-wrapper {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #1a1a1a 0%, #444444 100%);
    overflow: hidden;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 15px;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.react-project-card:hover .card-image-wrapper img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(68, 68, 68, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.react-project-card:hover .image-overlay {
    opacity: 1;
}

.view-project {
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid white;
    border-radius: 50px;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.react-project-card:hover .view-project {
    transform: translateY(0);
}

/* Status Badges */
.status-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.status-badge .dot {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.featured-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

/* Card Content */
.card-content {
    padding: 1.75rem;
}

.card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.card-description {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

/* Tags */
.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.card-tag {
    background: #f0f0f0;
    color: #333333;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.card-tag:hover {
    background: #1a1a1a;
    color: white;
    border-color: #1a1a1a;
    transform: translateY(-2px);
}

/* Action Buttons */
.card-actions {
    display: flex;
    gap: 1rem;
}

.github-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.5rem;
    background: linear-gradient(135deg, #1f2937, #374151);
    color: white;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.github-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(31, 41, 55, 0.3);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.github-btn:hover .btn-shine {
    left: 100%;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 3rem;
    color: #6b7280;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .title-line {
        width: 30px;
    }
    
    .react-projects-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .filter-container {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .shape {
        opacity: 0.3;
    }
}

@media (max-width: 480px) {
    .section-title {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .card-image-wrapper {
        height: 160px;
    }
    
    .card-content {
        padding: 1.25rem;
    }
}
