/* ===================================================
   CONTACT PAGE CUSTOM STYLES
   ==================================================== */

/* Contact Title */
.contact-title {
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    color: #333;
    margin-bottom: 50px;
    position: relative;
}

.contact-title::after {
    content: '';
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #015b25, #01a338);
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

/* Contact Form Styling */
.contact_form .form-control {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 12px 15px;
    font-size: 14px;
    height: auto;
    background-color: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact_form .form-control:focus {
    border-color: #015b25;
    box-shadow: 0 0 0 3px rgba(1, 91, 37, 0.1);
    outline: none;
}

.contact_form .form-group {
    margin-bottom: 20px;
}

.contact_form textarea.form-control {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

/* Submit Button */
.contact_form .boxed-btn {
    display: block;
    width: 100%;
    background-color: #015b25 !important;
    color: #ffffff !important;
    padding: 12px 30px;
    border-radius: 30px;
    border: 2px solid transparent;
    text-decoration: none !important;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

.contact_form .boxed-btn:hover,
.contact_form .boxed-btn:focus {
    background-color: #01471d !important;
    color: #ffffff !important;
    text-decoration: none !important;
    border-color: #ffffff !important;
    transition: background-color 150ms ease, border-color 150ms ease;
}

.contact_form .boxed-btn:active {
    transform: translateY(0);
}

/* Contact Info Box */
.contact-info {
    display: flex;
    margin-bottom: 30px;
    align-items: flex-start;
    gap: 15px;
}

.contact-info__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #015b25 0%, #01a338 100%);
    border-radius: 50%;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-info__icon i {
    color: white;
}

.contact-info .media-body h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 5px 0;
}

.contact-info .media-body p {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Date Picker Styling */
.contact_form input[type="date"] {
    position: relative;
}

.contact_form input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    border-radius: 4px;
    margin-right: 2px;
    opacity: 0.6;
    filter: invert(0.3);
    transition: opacity 0.3s ease;
}

.contact_form input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

.contact_form input[type="date"]::-webkit-outer-spin-button,
.contact_form input[type="date"]::-webkit-inner-spin-button {
    display: none;
    -webkit-appearance: none;
    margin: 0;
}

/* Date input styling */
.contact_form input[type="date"] {
    color: #333;
}

.contact_form input[type="date"]::placeholder {
    color: #999;
}

/* Google Map Container */
#map {
    height: 480px;
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    margin-bottom: 30px;
}

@media (max-width: 576px) {
    .contact-title {
        font-size: 24px;
        margin-bottom: 40px;
    }

    #map {
        height: 300px;
    }

    .contact_form .boxed-btn {
        padding: 10px 20px;
        font-size: 12px;
    }
}
