.contact-section {
    padding: 4rem 2rem;
    background-color: #f7fafc;
}

.main-heading {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.main-heading h1 {
    color: red;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-top: 50px;
}

.heading-line {
    width: 80px;
    height: 4px;
    background: red;
    margin: 0 auto;
    border-radius: 2px;
}

.contact-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 2rem;
    align-items: stretch;
}

.map-container {
    flex: 1;
    position: relative;
    min-height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.map {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border: none;
}

.address-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    backdrop-filter: blur(5px);
}

.address-overlay h3 {
    color: red;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.address-overlay p {
    color: black;
    margin: 0.25rem 0;
}

.contact-container {
    flex: 1;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-header {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-header h2 {
    color: red;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.contact-header p {
    color: black;
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: #4a5568;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: red;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-button {
    background: red;
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-button:hover {
    background: rgb(243, 107, 107);
}

.contact-info {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #e2e8f0;
    text-align: center;
}

.contact-info h3 {
    color: red;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.contact-info p {
    color: black;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

@media (max-width: 900px) {
    .contact-wrapper {
        flex-direction: column;
    }

    .map-container {
        min-height: 300px;
    }
}

@media (max-width: 500px) {
    .contact-section {
        padding: 2rem 1rem;
    }

    .main-heading h1 {
        font-size: 2rem;
    }

    .contact-container {
        padding: 1.5rem;
    }

    .contact-header h2 {
        font-size: 1.75rem;
    }

    .map-container {
        min-height: 250px;
    }
}