/* Container for the entire contact section */
.contact-container {
    margin-top: 1.5rem;
    max-width: 72rem; /* Equivalent to Tailwind's max-w-6xl */
    margin-left: auto;
    margin-right: auto;
    background-color: var(--dark-color); /* Replacing #333 with --dark-color */
    border-radius: 0.5rem; /* Rounded corners */
    padding: 2rem;
}

/* Grid setup for content */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
    align-items: center;
    font-family: var(--paragraph-font); /* Using paragraph font */
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr); /* Two columns on larger screens */
        padding: 2rem 4rem; /* Padding adjustment for larger screens */
    }
}

/* Heading styles */
.contact-heading {
    font-size: 2.25rem; /* Equivalent to text-4xl */
    font-weight: bold;
    color: var(--white-color); /* Replacing #fff with --white-color */
}

/* Description paragraph styles */
.contact-description {
    font-size: 0.875rem; /* Equivalent to text-sm */
    color: var(--medium-grey-color); /* Replacing #d1d5db with --medium-grey-color */
    margin-top: 1rem; /* Equivalent to mt-4 */
    line-height: 1.75rem; /* Equivalent to leading-relaxed */
}

/* Styles for contact info list */
.contact-info-list {
    margin-top: 3rem; /* Equivalent to mt-12 */
    list-style: none;
    padding: 0;
}

.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem; /* Equivalent to space-y-8 */
}

.contact-info-link {
    color: var(--white-color); /* Replacing #fff with --white-color */
    font-size: 0.875rem; /* Equivalent to text-sm */
    margin-left: 1rem; /* Equivalent to ml-4 */
}

/* Social links styling */
.social-links {
    display: flex;
    gap: 1rem; /* Equivalent to space-x-4 */
    margin-top: 3rem; /* Equivalent to mt-12 */
    list-style: none;
    padding: 0;
}

.social-link-item {
    background-color: var(--brand-color); /* Replacing #0073b1 with --brand-color */
    height: 2.5rem; /* Equivalent to h-10 */
    width: 2.5rem; /* Equivalent to w-10 */
    border-radius: 9999px; /* Equivalent to rounded-full */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Container for the contact form */
.contact-form-container {
    background-color: var(--off-white-color); /* Replacing #f3f4f6 with --off-white-color */
    padding: 1.5rem;
    border-radius: 0.5rem; /* Rounded corners */
}

/* Form heading */
.form-heading {
    font-size: 0.875rem; /* Equivalent to text-sm */
    font-weight: 600;
    color: var(--dark-grey-color); /* Replacing #1f2937 with --dark-grey-color */
}

/* Toggle button group */
.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem; /* Equivalent to mt-4 */
}

.toggle-btn {
    padding: 0.5rem 1rem; /* Equivalent to px-4 py-2 */
    border: 2px solid var(--medium-grey-color); /* Replacing #d1d5db with --medium-grey-color */
    border-radius: 0.5rem; /* Rounded corners */
    font-size: 0.875rem; /* Equivalent to text-sm */
    font-weight: 500;
    cursor: pointer;
    outline: none;
    transition: background-color 0.3s, color 0.3s; /* Smooth transitions */
}

.toggle-btn.selected {
    background-color: var(--brand-color); /* Replacing #0073b1 with --brand-color */
    color: var(--white-color); /* Replacing #fff with --white-color */
}

.toggle-btn:not(.selected) {
    background-color: transparent;
    color: var(--dark-grey-color); /* Replacing #1f2937 with --dark-grey-color */
}

/* Form input fields */
.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem; /* Equivalent to py-3 px-4 */
    border: 1px solid var(--medium-grey-color); /* Light gray border */
    border-radius: 0.5rem; /* Rounded corners */
    font-size: 0.875rem; /* Equivalent to text-sm */
    color: var(--dark-grey-color); /* Replacing #1f2937 with --dark-grey-color */
    outline: none;
    transition: border-color 0.3s; /* Smooth transition */
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--brand-color); /* Replacing #0073b1 with --brand-color */
}

/* Form submit button */
.submit-btn {
    background-color: var(--brand-color); /* Replacing #0073b1 with --brand-color */
    color: var(--white-color); /* Replacing #fff with --white-color */
    padding: 0.75rem 1rem; /* Equivalent to px-4 py-3 */
    border-radius: 0.5rem; /* Rounded corners */
    font-size: 0.875rem; /* Equivalent to text-sm */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-top: 1.5rem; /* Equivalent to mt-6 */
    transition: background-color 0.3s; /* Smooth transition */
}

.submit-btn:hover {
    background-color: var(--brand-color-gradient-dark); /* Replacing #0056b3 with --brand-color-gradient-dark */
}
