/* ========================================
   MedibioTest Contact Page - Complete CSS
   ======================================== */

/* Root Variables */
:root {
    --primary-color: #17a2b8;
    --primary-dark: #138496;
    --primary-light: #5bc0de;
    --mint-bg: #7FDEDB;
    --light-mint: #b8f2f0;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #6c757d;
    --dark-gray: #343a40;
    --text-dark: #212529;
    --border-color: #dee2e6;
    --success: #28a745;
    --danger: #dc3545;
}

/* Global Styles */
/** {*/
/*    margin: 0;*/
/*    padding: 0;*/
/*    box-sizing: border-box;*/
/*}*/

/*body {*/
/*    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;*/
/*    font-size: 16px;*/
/*    line-height: 1.6;*/
/*    color: var(--text-dark);*/
/*    background-color: var(--white);*/
/*}*/

/*.container {*/
/*    max-width: 1200px;*/
/*    margin: 0 auto;*/
/*    padding: 0 15px;*/
/*}*/

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

/* Column System */
[class*="col-"] {
    padding: 0 15px;
}

.col-lg-12 { width: 100%; }
.col-lg-8 { width: 66.666667%; }
.col-lg-6 { width: 50%; }
.col-lg-4 { width: 33.333333%; }
.col-md-6 { width: 50%; }
.col-sm-12 { width: 100%; }
.col-sm-6 { width: 50%; }

/* Breadcrumb */
.breadcrumb {
    background-color: var(--white);
    padding: 12px 0;
    margin: 0;
    list-style: none;
    display: flex;
    align-items: center;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    padding: 0 8px;
    color: var(--medium-gray);
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.breadcrumb-item.text-muted {
    color: var(--medium-gray);
    font-weight: 600;
}

/* Contact Section */
.contactus {
    background: linear-gradient(135deg, #eaf4ff 0%, #d6e9ff 100%);
    padding: 60px 0;
}

/* Contact Info Box */
.info-box {
    background-color: var(--primary);
    color: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.info-box h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--white);
}

.info-list {
    list-style: none;
    margin-bottom: 30px;
}

.info-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    gap: 15px;
}

.info-list li img {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
    filter: brightness(0) invert(1);
}

.info-list li p {
    margin: 0;
    line-height: 1.6;
    font-size: 15px;
}

.info-list li a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.info-list li a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 15px;
    list-style: none;
    margin-top: 30px;
}

.social-icons li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons li a:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.social-icons li a i {
    font-size: 18px;
}

/* Contact Form Box */
.box {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.box h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-dark);
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}



   
/* Global form error styling */
.error-text {
    display: block !important;
    width: 100%;
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.4;
    position: relative;
    color: #dc3545;
}

/* Optional: highlight invalid input */
.is-invalid {
    border-color: #dc3545 !important;
}



/*.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}*/

/*.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(23, 162, 184, 0.1);
}*/

.form-control::placeholder {
    color: #999;
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

/* Captcha */
.web-captcha {
    display: inline-block;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.web-captcha img {
    display: block;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/*.web-btn {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 40px;
}

.web-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
} */

.btn-lg {
    padding: 10px 20px;
    font-size: 18px;
}

.btn-lg i {
    font-size: 20px;
}

/* Padding Utilities */
.plr-half {
    padding-left: 7.5px;
    padding-right: 7.5px;
}

.p-0 { padding: 0; }
.pb-0 { padding-bottom: 0; }
.pt-4 { padding-top: 24px; }
.mt-4 { margin-top: 24px; }
.ml-2 { margin-left: 12px; }

/* Text Utilities */
.text-danger {
    color: var(--danger);
}

.text-dark {
    color: var(--text-dark);
}

.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.web-clr {
    color: var(--primary-color);
    text-decoration: none;
}

.row.mt-10 {
  margin-top: 25px;
}

.web-clr:hover {
    text-decoration: underline;
}

/* Display Utilities */
.d-inline {
    display: inline;
}

.d-inline-block {
    display: inline-block;
}

/* Form Common Message */
.form-common-message {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-common-message input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
    flex-shrink: 0;
}

.form-common-message p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

/* Location Boxes */
.location-box {
    background-color: var(--white);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.location-box h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.location-box iframe {
    width: 100%;
    height: 300px;
    border-radius: 4px;
}

/* Intro Section */
.intro-section {
    padding: 60px 0;
}

.intro-section.bg-light {
    background-color: var(--light-gray);
}

.intro-section p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.intro-section p:last-child {
    margin-bottom: 0;
}

/* Required Server Span */
.required-server {
    display: block;
    color: var(--danger);
    font-size: 14px;
    margin-top: 5px;
}

/* Progress Message */
#progress {
    margin-top: 15px;
    font-weight: 600;
}

/* Error Message */
#mobile_err {
    font-size: 14px;
    margin-top: 5px;
}

/* Font Weight */
.font-weight-bold {
    font-weight: 700;
}

/* Responsive Design */
@media (max-width: 991px) {
    .col-lg-8, .col-lg-4 {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .contactus {
        padding: 40px 0;
    }
    
    .info-box {
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .col-md-6, .col-sm-6 {
        width: 100%;
    }
    
    .box {
        padding: 30px 20px;
    }
    
    .info-box {
        padding: 30px 20px;
    }
    
    .location-box iframe {
        height: 250px;
    }
    
    .intro-section {
        padding: 40px 0;
    }
    
    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .breadcrumb {
        font-size: 13px;
    }
    
    .info-box h1 {
        font-size: 24px;
    }
    
    .box h2 {
        font-size: 22px;
    }
    
    .form-control {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .web-btn {
        padding: 10px 30px;
        font-size: 15px;
    }
    
    .location-box h3 {
        font-size: 20px;
    }
    
    .form-common-message {
        flex-direction: column;
        gap: 5px;
    }
    
    .form-common-message input[type="checkbox"] {
        margin-top: 0;
    }
}

/* Additional Hover Effects */
input[type="text"]:hover,
input[type="email"]:hover,
input[type="number"]:hover,
textarea:hover {
    border-color: var(--greencolor);
}

/* Smooth Transitions */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* *:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}*/

/* Hidden Elements */
[style*="display: none"] {
    display: none !important;
}

/* Auto Complete Off */
input[autocomplete="off"]::-webkit-contacts-auto-fill-button {
    visibility: hidden;
    display: none !important;
    pointer-events: none;
    position: absolute;
    right: 0;
}