/* Featured Projects Section */
.featured-projects {
    padding: 50px 20px;
    background-color: #f4f4f4;
    text-align: center;
}

.featured-projects h2 {
    font-size: 40px; /* Font size in px */
    margin-bottom: 20px;
    color: #00b33c;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-content: center;
}

.project-item {
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.project-item img {
    width: 100%;
    height: auto;
    display: block;
}

.project-info {
    padding: 20px;
}

.project-info h3 {
    font-size: 24px; /* Font size in px */
    margin: 0;
}

.project-info p {
    font-size: 16px; /* Font size in px */
    margin: 10px 0;
    color: #666;
}

.learn-more {
    color: #00b33c;
    text-decoration: none;
    font-weight: bold;
}

/* Responsive Adjustments */
@media (max-width: 1000px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr); /* 3 columns on larger tablets */
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(1, 1fr); /* 2 columns on tablets */
    }

    .featured-projects h2 {
        font-size: 32px; /* Responsive font size */
    }
    
    .project-info h3 {
        font-size: 20px; /* Responsive font size */
    }
    
    .project-info p {
        font-size: 14px; /* Responsive font size */
    }
}

@media (max-width: 480px) {
    .projects-grid {
        grid-template-columns: 1fr; /* 1 column on smaller screens */
    }

    .featured-projects h2 {
        font-size: 24px; /* Responsive font size */
    }
    
    .project-info h3 {
        font-size: 18px; /* Responsive font size */
    }
    
    .project-info p {
        font-size: 12px; /* Responsive font size */
    }
}
