/* General Styling */
body {
    font-family: 'Champions', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    text-align: center;
}

/* Section Title */
h2 {
    font-size: 28px;
    color: #2b5a2b;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

/* Projects Container */
.project-container {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap:7px;
    padding: 20px;
    width: 120vw;
    margin: 0 auto;
}

/* Individual Project Card */
.project-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(50px);
    transition: transform 0.3s ease-in-out, opacity 0.6s ease-in-out;
}

/* Hover Effect */
.project-card:hover {
    transform: translateY(-5px) scale(1.05); /* Scale up slightly on hover */
}

/* Image Styling */
.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Card Content */
.card-content {
    padding: 15px;
    background-color: #2b5a2b;
    color: white;
    text-align: center;
}

.card-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.card-content p {
    font-size: 14px;
    margin-bottom: 15px;
}

/* Read More Button */
.read-more {
    display: inline-block;
    padding: 8px 15px;
    background: #8cc63f;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.read-more:hover {
    background: #6fa82d;
}

/* Scroll Animation */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate.in-view {
    opacity: 1;
    transform: translateY(0);
}
