* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(to bottom, #e9f5e9, #cce8cc); /* Soft gradient */
    color: #333;
}

.getback {
    top: 20px;
    left: 20px;
    position: absolute;
    background: linear-gradient(90deg, #28a745, #218838);
    color: white;
    padding: 12px 22px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-family: "Arial", sans-serif;
    font-weight: bold;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.getback:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
    animation: pulse 0.5s infinite alternate; /* Add pulse animation */
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.05);
    }
}

.container2 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.header {
    text-align: center;
    padding: 30px 20px;
    position: relative;
}

.header h1 {
    font-size: 36px;
    color: #28a745;
    margin-bottom: 10px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.header p {
    font-size: 18px;
    color: #666;
}

.contact-wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 40px;
}

.contact-form {
    flex: 1 1 500px;
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    margin-bottom: 20px;
    position: relative;
}

.contact-form h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
    border-bottom: 2px solid #28a745; /* Underline */
}

.contact-form label {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
    display: block;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: border 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #28a745; /* Green focus border */
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form .submit-btn {
    background: linear-gradient(90deg, #28a745, #218838);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-form .submit-btn:hover {
    background: linear-gradient(90deg, #218838, #1e7e34); /* Darker green */
    transform: translateY(-1px);
}

/* Contact Information Styling */
.contact-info {
    flex: 1 1 400px;
    background-color: #282c34;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    color: white;
    margin-bottom: 20px;
    position: relative;
}

.contact-info h2 {
    font-size: 28px;
    color: #28a745;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 2px solid #28a745;
    padding-bottom: 10px;
}

.contact-info .info {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
}

.contact-info .info h3 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 5px;
}

.contact-info .info p {
    font-size: 16px;
    color: #ccc;
    margin-top: 0;
}

.contact-info .info-icon {
    width: 24px; /* Adjust icon width */
    height: 24px; /* Adjust icon height */
    margin-right: 15px; /* Space between icon and text */
}

/* Map Section */
.map {
    margin-top: 30px;
    width: 100%;
    height: 400px;
    background-color: #ddd;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Add tree texture as a background */
.contact-form::before,
.contact-info::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('tree-texture.png') no-repeat center center;
    opacity: 0.05; /* Subtle texture effect */
    z-index: 0;
    border-radius: 12px;
}

.contact-form h2,
.contact-info h2,
.getback {
    position: relative; /* To bring text above the background */
    z-index: 1;
}

/* Media queries for responsive design */
@media (max-width: 768px) {
    .contact-wrapper {
        flex-direction: column;
    }

    .contact-info,
    .contact-form {
        flex: 1 1 100%;
    }

    .contact-info {
        margin-top: 20px;
    }
}
