/* Container to wrap projects */
.projects-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns per row */
    gap: 2rem; /* Space between items */
    max-width: 90vw; /* Responsive width */
    margin: auto;
    padding: 5vh 5vw; /* Scalable padding */
}
.projects-GK {
    display: grid;
    grid-template-columns: repeat(1, 1fr); /* 3 columns per row */   
    max-width: 75vw; /* Responsive width */
    margin: auto;   
}

/* Individual project cards */
.project-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    padding: 1.5rem;
}

.project-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 0.8rem 1.6rem rgba(0, 0, 0, 0.15);
}

/* Image styling */
.project-image {
    width: 100%;
    height: 40vh; /* Responsive height */
    object-fit: cover;
    border-radius: 0.8rem;
}

/* Project content */
.project-content {
    padding: 1rem 0;
    text-align: center;
}

.project-date {
    font-size: 1rem;
    color: #007bff;
    font-weight: bold;
}

.project-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0.5rem 0;
    color: #333;
    transition: color 0.3s;
}

.project-title a {
    text-decoration: none;
    color: inherit;
}

.project-title a:hover {
    color: #007bff;
}

/* Description text */
.project-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* Message if no projects found */
.no-projects {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    grid-column: span 3;
}

/* General utility classes */
.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-muted-foreground {
    color: hsl(var(--muted-foreground));
	 font-size: 1.2rem;
	 font-family:600;
	 line-height: 1.5;
}

.gk-10 {
    margin-top: 1.5rem;
}

.min-h-screen {
    min-height: 100vh;
}

.my-10 {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.gap-8 {
    gap: 2rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .projects-container {
        grid-template-columns: repeat(2, 1fr); /* 2 columns per row */
    }
}

@media (max-width: 768px) {
    .projects-container {
        grid-template-columns: repeat(1, 1fr); /* 1 column per row */
    }
}
