/* Projects Section Styles */
.projects {
    padding: 40px 0;
}

.projects h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-card h3 {
    font-size: 24px;
    color: #333;
    margin: 20px 0 10px;
    padding: 0 20px;
}

.project-card p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
    padding: 0 20px;
}

.project-links {
    display: flex;
    justify-content: space-between;
    padding: 0 20px 20px;
}

.project-links a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    margin-right: 15px;
    font-size: 14px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.project-links a:hover {
    color: #0366d6;
    transform: translateY(-2px);
}

.project-links a i {
    margin-right: 5px;
    font-size: 16px;
    transition: color 0.3s ease;
}

.github-link i {
    color: #333;
}

.github-link:hover i {
    color: #24292e; /* GitHub's brand color */
}

.demo-link i {
    color: #0366d6;
}

.demo-link:hover i {
    color: #044289; /* A darker shade of blue */
}

.see-more-projects {
    text-align: center;
    margin-top: 40px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: visible;  /* Changed from hidden to visible */
    z-index: 1;
}

.btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    border-color: #00ffff;
}

.btn::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(45deg, #00ffff, #007bff, #00ffff);
    z-index: -1;
    filter: blur(15px);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 7px;
}

.btn:hover::before {
    opacity: 1;
}

.btn::after {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn:hover::after {
    opacity: 1;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.star {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #00ffff;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    animation: blink 1s infinite;
}

.star:nth-child(1) { top: -10px; left: 50%; animation-delay: 0s; }
.star:nth-child(2) { top: 50%; right: -10px; animation-delay: 0.1s; }
.star:nth-child(3) { bottom: -10px; left: 50%; animation-delay: 0.2s; }
.star:nth-child(4) { top: 50%; left: -10px; animation-delay: 0.3s; }

.btn:hover .star-container {
    animation: rotate 4s linear infinite;
}

.ml-hover {
    position: relative;
}

/* ... rest of your existing CSS for neural network and nodes ... */

/* Ongoing Projects Section Styles */
.ongoing-projects {
    padding: 3px 0;
    background-color: #f8f9fa;
}

.ongoing-projects h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.ongoing-projects .project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.ongoing-projects .project-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.ongoing-projects .project-card:hover {
    transform: translateY(-5px);
}

.ongoing-projects .project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.ongoing-projects .project-card h3 {
    font-size: 24px;
    color: #333;
    margin: 20px 0 10px;
    padding: 0 20px;
}

.ongoing-projects .project-card p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
    padding: 0 20px;
}

.ongoing-projects .project-card .project-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.ongoing-projects .project-card .project-link:hover {
    text-decoration: none;
}

.ongoing-projects .project-card h3,
.ongoing-projects .project-card p {
    text-decoration: none;
}

/* ... rest of your existing styles ... */
