/* What We Do Section Styling */
.what-we-do-section {
    padding: 60px 0;
    background-color: #ffffff;
    font-family: "Karla", sans-serif;
}

.section-heading h2 {
    font-size: 32px;
    color: #3e8e41;
    margin-bottom: 20px;
}

.what-we-do-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive layout */
    gap: 40px;
    margin-top: 40px;
}

.what-we-do-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;  /* Allows stacking of content */
    justify-content: space-between; /* Ensure the link stays aligned */
    transition: transform 0.3s ease;
    cursor: pointer;
}

.what-we-do-item:hover {
    transform: translateY(-10px);
}

.what-we-do-img img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Content Styling */
.what-we-do-text {
    flex-grow: 1;  /* Makes sure content takes up equal space */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 20px;
}

.what-we-do-text h3 {
    font-size: 24px;
    color: #3e8e41;
    margin-bottom: 15px;
}

.what-we-do-text p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    flex-grow: 1;
}

/* Styling for the Learn More link */
.learn-more {
    display: inline-block;
    font-size: 16px;
    color: #3e8e41;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    margin-top: 20px;
}

.learn-more i {
    margin-left: 5px;
    transition: margin-left 0.3s ease;
}

.learn-more:hover {
    color: darkgreen;
}

.learn-more:hover i {
    margin-left: 10px; /* Moves the arrow slightly to the right on hover */
}

/* Responsive Styles */
@media (max-width: 768px) {
    .what-we-do-content {
        grid-template-columns: 1fr;
    }
}
