body {
    margin: 0;
    font-family: "Inter", sans-serif;
}

/* Main Wrapper */
.contact-wrapper {
    position: relative;
    width: 100%;
    padding: 50px 20px;
    background: linear-gradient(135deg, #8b5e3d 0%, #3b220f 100%);
    overflow: hidden;
    color: white;
}

/* Container */
.contact-container {
    max-width: 1200px;
    margin: auto;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 50px;
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.header p {
    color: #f5f5dc;
}

/* Layout */
.contact-content {
    display: flex;
    gap: 40px;
    align-items: stretch;
}

/* Equal Columns */
.map-content,
.form-content {
    flex: 1;
    display: flex;
}

/* Map */
.map-wrapper {
    width: 100%;
    height: 100%;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border: 0;
    border-radius: 20px;
}

/* Form Card */
.form-container {
    width: 100%;
    background: #2a2a24;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #3d3d32;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* Form Layout */
.form-grid {
    display: flex;
    flex-direction: column;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: 6px;
    font-size: 14px;
}

input,
textarea {
    padding: 14px;
    border-radius: 10px;
    border: 2px solid gray;
    background: #2a2a24;
    color: #ffffff;
    outline: none;
    transition: 0.3s;
}

input:focus,
textarea:focus {
    border-color: #f26722;
    box-shadow: 0 0 0 3px rgba(242, 103, 34, 0.2);
}

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

/* Button */
.submit-btn {
    background: #f26722;
    color: white;
    padding: 16px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

/* Floating Circles */
.floating-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    animation: float 6s ease-in-out infinite;
}

.circle-1 {
    width: 60px;
    height: 60px;
    background: #f4d03f;
    top: 10%;
    left: 10%;
}

.circle-2 {
    width: 40px;
    height: 40px;
    background: #f7c14d;
    top: 20%;
    right: 15%;
    animation-delay: 2s;
}

.circle-3 {
    width: 80px;
    height: 80px;
    background: #ffa726;
    bottom: 15%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Responsive */
@media (max-width: 991px) {
    .contact-content {
        flex-direction: column;
    }

    .map-wrapper iframe {
        min-height: 350px;
    }

    .form-row {
        flex-direction: column;
    }
}
.text-red {
    color: red;
}

.invalid-feedback-contact-form {
    color: #ef4444;
    font-size: 12px;
    margin-top: 6px;
    min-height: 18px; /* reserve space */
    visibility: hidden; /* keep space but hide */
}

.is-invalid {
    border-color: #ef4444 !important;
}

.is-invalid + .invalid-feedback-contact-form {
    visibility: visible;
}
