@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: #f8faf9;
    color: #2d3748;
    line-height: 1.6;
}

/* Page Layout */
.contact-main {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto 60px auto;
}

/* Header Section */
.contact-header {
    text-align: center;
    margin: 30px 0 35px 0;
}

.contact-header h1 {
    font-size: 2.2em;
    color: #1a202c;
    font-weight: 700;
}

.heading-divider {
    height: 4px;
    width: 60px;
    background-color: #0e6231;
    margin: 12px auto 18px auto;
    border-radius: 2px;
}

.contact-intro {
    max-width: 650px;
    margin: 0 auto;
    color: #4a5568;
    font-size: 1.02em;
}

/* Grid Layout */
.contact-grid {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* Contact Info Card */
.contact-info-card {
    flex: 1;
    background-color: #0e6231;
    color: #ffffff;
    border-radius: 12px;
    padding: 35px 30px;
    box-shadow: 0 4px 12px rgba(14, 98, 49, 0.15);
}

.contact-info-card h2 {
    font-size: 1.5em;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 12px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    width: 46px;
    height: 46px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
}

.info-icon img {
    width: 24px;
    height: 24px;
}

.info-details h3 {
    font-size: 1em;
    font-weight: 600;
    margin-bottom: 2px;
    color: #e2e8f0;
}

.info-details p {
    font-size: 0.95em;
    color: #ffffff;
}

/* Form Container Card */
.contact-form-card {
    flex: 1.3;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 35px 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.contact-form-card h2 {
    font-size: 1.5em;
    color: #1a202c;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.9em;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    font-size: 0.95em;
    font-family: inherit;
    color: #2d3748;
    background-color: #ffffff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0e6231;
    box-shadow: 0 0 0 3px rgba(14, 98, 49, 0.15);
}

.form-group textarea {
    resize: vertical;
}

.submit-button {
    width: 100%;
    padding: 12px;
    background-color: #0e6231;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.submit-button:hover {
    background-color: #0a4924;
}

/* Responsive Adjustments */
@media screen and (max-width: 820px) {
    .contact-grid {
        flex-direction: column;
    }

    .contact-info-card,
    .contact-form-card {
        width: 100%;
    }

    .contact-header h1 {
        font-size: 1.8em;
    }
}