.contact-header {
    background: linear-gradient(135deg, #1E6956, #3AB795);
    color: #fff;
    text-align: center;
    padding: 80px 20px;
}

.contact-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.contact-header p {
    font-size: 1.5rem;
}

.contact-container {
    max-width: 1200px;
    margin: 40px auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-form-container,
.contact-details-container {
    flex: 1;
    min-width: 300px;
    background: #fff;
    padding: 20px;
}



.contact-details-container {
    background-color: #1E6956;
    color: #fff;
}

h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

p {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    border: 0;
    background-color: transparent;
    outline: none;
}

textarea {
    border: 1px solid #1E6956 !important;
    resize: none;
}

.input-flex {
    display: flex;
    align-items: center;
    border: 1px solid #1E6956;
    height: 45px;
}

.input-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    background-color: #1E6956;
    width: 45px;
    height: 100%;
    flex-shrink: 0;
    color: #fff;
}

.contact-btn {
    background: #1E6956;
    color: #fff;
    padding: 15px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-btn:hover {
    background: #3AB795;
}

.contact-details li {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.social-icons {
    margin-top: 20px;
}

.social-icons a {
    text-decoration: none;
    color: #fff;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    border-radius: 50%;
    font-size: 22px;
    border: 1px solid #fff;
    margin-right: 10px;
    display: inline-block;
    transition: 0.3s ease;
}

.social-icons a:hover {
    background-color: #fff;
    color: #1E6956;
}

.flex-box-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 40px 20px;
    background-color: #F8FAF9;
    justify-content: center;
}

.flex-box {
    display: flex;
    background: #fff;
    border: 1px solid #1E6956;
    overflow: hidden;
    min-width: 300px;
    width: 100%;
    transition: .3s ease;
}

.flex-box img {
    max-width: 200px;
    height: 100%;
    object-fit: cover;
}

.flex-box .content {
    padding: 20px;
}

.flex-box h3 {
    font-size: 1.5rem;
    color: #1E6956;
    margin-bottom: 10px;
}

.flex-box p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 15px;
}

.flex-box .link {
    font-size: 17px;
    color: #3AB795;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    text-transform: uppercase;
}

.flex-box .link:hover {
    color: #1E6956;
}

.flex-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .flex-box {
        flex-direction: column;
    }

    .flex-box img {
        max-width: 100%;
        width: 100%;
        height: 200px;
        object-fit: fill;
    }
}