/* =========================================
   CLEAN CONTACT PAGE RESPONSIVE RENDERS
   ========================================= */

/* Header Background Banner */
.contact-header-banner {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 380px;
    position: relative;
}

/* Layer filter fallback to improve text contrast over light banner graphics */
.contact-header-banner::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    /* background: rgba(0, 0, 0, 0.45); */
    z-index: 1;
}

.contact-header-banner .container {
    position: relative;
    z-index: 2;
}

.contact-page-title {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 3rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* Social Media Button Transforms */
.social-btn {
    transition: all 0.25s ease-in-out;
}
.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(13, 110, 253, 0.3) !important;
}

/* Dynamic Field Tweaks For Floating Form Controls */
.contact-form .form-control {
    background-color: #f9fbfc;
    border: 1px solid #e1e1e1;
    transition: all 0.2s ease-in-out;
}

.contact-form .form-control:focus {
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.15);
}

/* Active Hover Transitions on Submits */
.hover-lift {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    letter-spacing: 0.5px;
}
.hover-lift:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.3) !important;
}
.hover-lift:active {
    transform: translateY(0);
}

/* Breakpoints Configuration updates */
@media (max-width: 767.98px) {
    .contact-header-banner {
        min-height: 280px;
    }
    .contact-page-title {
        font-size: 2rem;
    }
}



/* Contact Page Background */
.contact-page {
    /* min-height: 100vh; */
    display: flex;
    align-items: center;
    padding: 80px 0;
}

/* Card Styling */
.contact-page .card {
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: none;
    background: #ffffff;
}

/* Heading Section */
.contact-page h3 {
        font-size: 26px;
    font-weight: 800;
    margin: 0 0 25px;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 10px;
}

.contact-page .bg-primary.rounded-pill {
    background-color: #0d6efd !important;
    height: 4px;
    width: 60px;
    border-radius: 2px;
    margin-top: 12px;
}

/* Form Inputs Styling */
.contact-page .form-control {
        width: 100%;
    padding: 14px 18px;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    background: #F9FBFC;
    font-family: inherit;
    font-size: 15px;
    color: var(--text-dark);
    transition: all 0.3s ease;
    outline: none;
    box-sizing: border-box;
}

.contact-page .form-control:focus {
    border-color: #58b2e0;
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.1);
    background-color: #ffffff;
    outline: none;
}

.contact-page .form-control::placeholder {
    color: #999999;
    font-weight: 400;
}

/* Floating Label Styling */
.contact-page .form-floating label {
    padding: 14px 16px;
    color: #666666;
    font-size: 0.95rem;
    font-weight: 500;
}

.contact-page .form-floating > .form-control:focus ~ label,
.contact-page .form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: #0d6efd;
    font-weight: 600;
}

/* Textarea Styling */
.contact-page textarea.form-control {
    height: 150px !important;
    resize: vertical;
}

/* Alert Styling */
.contact-page .alert {
    border-radius: 10px;
    font-weight: 500;
    padding: 14px 18px;
}

.contact-page .alert-success {
    background-color: #d1e7dd;
    color: #0f5132;
    border: none;
}

.contact-page .alert-danger {
    background-color: #f8d7da;
    color: #842029;
    border: none;
}

/* Submit Button */
.contact-page .btn-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.contact-page .btn-primary:hover {
    background: linear-gradient(135deg, #0b5ed7 0%, #084298 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.4);
}

.contact-page .btn-primary:active {
    transform: translateY(0);
}

/* Icon Styling */
.contact-page .form-floating label i {
    color: #999999;
    transition: color 0.3s ease;
}

.contact-page .form-floating > .form-control:focus ~ label i,
.contact-page .form-floating > .form-control:not(:placeholder-shown) ~ label i {
    color: #0d6efd;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .contact-page {
        padding: 40px 0;
    }
    
    .contact-page .card {
        padding: 30px 20px !important;
    }
    
    .contact-page h3 {
        font-size: 1.5rem;
    }
    
    .contact-page .form-control {
        height: 52px;
        font-size: 0.9rem;
    }
    
    .contact-page .btn-primary {
        padding: 14px 20px;
        font-size: 0.9rem;
    }
}

/* Autofill Styling */
.contact-page input:-webkit-autofill,
.contact-page input:-webkit-autofill:hover,
.contact-page input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px #ffffff inset;
    -webkit-text-fill-color: #1a1a1a;
    transition: background-color 5000s ease-in-out 0s;
}

/* Required Asterisk */
.contact-page .form-floating label::after {
    content: "*";
    color: #dc3545;
    margin-left: 2px;
}

/* Smooth Transitions */
.contact-page * {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

iframe{
    border-radius: 10px !important;
}

.main-content{
    background: #ffffff;
    padding: 100px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0; margin: 0px !important;

}

@media (max-width: 768px){
    .main-content{
        padding: 30px;

    }
        .contact-page .card {
        padding: 15px 10px !important;
    }

}
@media (max-width: 426px){
    .main-content{
        padding:0px;

    }


}