﻿.message-textbox {
    resize: vertical; /* Vertical resizing only */
    overflow: auto; /* Scrollbars as needed */
}

/* Placeholder label style */
.red-placeholder-label {
    font-size: 1.2rem;
    color: #A94442;
    margin-top: 0.5rem;
}

/* Error state */
.error-state .form-control,
.error-state .input-group-addon,
.error-state .control-label,
.error-state .terms-label {
    border-color: #A94442;
    color: #A94442;
}
.error-state .input-group-addon {
    background-color: #F2DEDE;
}

/* Success state */
.success-state .form-control,
.success-state .input-group-addon,
.success-state .control-label,
.success-state .terms-label {
    border-color: #3C763D;
    color: #3C763D;
}
.success-state .input-group-addon {
    background-color: #DFF0D8;
}

/* Focus states */
.error-state .form-control:focus {
    box-shadow: 0 0 5px 2px rgba(169, 68, 66, 0.5) !important;
}
.success-state .form-control:focus {
    box-shadow: 0 0 5px 2px rgba(60, 118, 61, 0.5) !important;
}

/* Responsive iframe container */
.right-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
}
.right-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Contact info sections */
.contact-info-container {
    margin-top: 20px;
    padding: 20px;
    background-color: #f8f9fa; /* Light background */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Modern shadow */
}
.contact-section {
    padding: 20px;
}
.contact-icon {
    font-size: 40px; /* Larger icon */
    color: #007bff; /* Blue color */
    margin-bottom: 10px;
}
.contact-section h4 {
    font-size: 20px;
    margin-top: 10px;
    color: #333;
    font-weight: bold;
}
.contact-section p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}



/* Underline effect on hover */
.phone-link, .email-link, .address-link {
    text-decoration: none;
    color: inherit;
}

    .phone-link:hover, .email-link:hover, .address-link:hover {
        text-decoration: underline;
    }

/* Icon colors */
.fa-map-marker-alt {
    color: #e74c3c; /* Red for Location */
}

.fa-phone {
    color: #27ae60; /* Green for Phone */
}

.fa-envelope {
    color: #3498db; /* Blue for Email */
}





.checkbox-center {
    display: flex; /* Use flexbox for alignment */
    align-items: center; /* Center items vertically */
    justify-content: center; /* Center items horizontally */
    width: 100%; /* Take full width of the parent */
}

    .checkbox-center input[type="checkbox"] {
        margin-right: 5px; /* Add margin to the right of the checkbox */
    }

.terms-label {
    display: inline; /* Ensure the label is treated as inline */
    margin-left: 5px; /* Space to the left of the label */
    margin-top: 5px; /* Move the label down by 5 pixels */
}








@media (max-width: 768px) {
    .contact-section {
        margin-bottom: 20px; /* Mobile view stacking */
    }
}


@media (min-width: 751px) and (max-width: 1200px) {

    /* Center the container as before */
    .col-lg-8.col-lg-offset-2 {
        margin-left: auto;
        margin-right: auto;
        float: none; /* Ensure the container is centered */
    }

    .page-header.text-center h2 {
        margin: 0 auto;
        text-align: center;
    }

    .panel {
        margin: 0 auto;
        text-align: left; /* Align panel text to the left */
    }

    /* Adjust label and input alignment in form groups */
    .form-group {
        display: flex;
        align-items: center; /* Align label and input vertically */
    }

        .form-group .control-label {
            padding-right: 5px; /* Reduced padding to bring label closer */
            margin-bottom: 0; /* Removes extra space under label */
        }

        .form-group .col-md-6,
        .form-group .col-md-4 {
            display: inline-block;
            width: auto;
            margin: 0; /* Removes extra margin for closer alignment */
        }

        /* Ensure label and input remain horizontally aligned */
        .form-group .control-label,
        .form-group .col-md-6 {
            float: none;
        }

        /* Ensure dropdown matches width of other form controls */
        .form-group select.form-control.selectpicker {
            width: 100%;
        }
}