/* =======================================================
   Update Your Quotes - Custom Design & Functionality Enhancements
   https://updateyourquotes.com | (763) 766-7744
   828 Allen Road, Ste 219, Lexington, KY 40504
   ======================================================= */

/* Brand Logo display polish */
.navbar-brand img {
    max-height: 56px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    display: inline-block;
    vertical-align: middle;
}

.footer-logo img {
    max-height: 52px;
    width: auto;
    object-fit: contain;
}

/* Enhanced Navigation Attribute Area & Phone CTA */
.attr-nav {
    display: flex !important;
    align-items: center !important;
}

.attr-nav > ul {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.attr-nav > ul > li {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    vertical-align: middle !important;
}

.attr-nav > ul > li > a {
    padding: 0 !important;
}

/* Phone CTA badge in navigation - perfectly aligned & on-theme */
.header-phone-btn {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    background: transparent !important;
    color: #0c3344 !important;
    border: 2px solid #019297 !important;
    padding: 12px 30px !important;
    border-radius: 4px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    text-transform: uppercase !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.header-phone-btn i {
    color: #019297 !important;
    font-size: 13px !important;
    transition: all 0.3s ease !important;
}

.header-phone-btn:hover {
    background: #019297 !important;
    color: #ffffff !important;
    border-color: #019297 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(1, 146, 151, 0.35) !important;
}

.header-phone-btn:hover i {
    color: #ffffff !important;
}

.attr-nav .butn-style01 {
    display: inline-flex !important;
    align-items: center !important;
    padding: 12px 24px !important;
    border-radius: 5px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: 0.5px !important;
    white-space: nowrap !important;
}

/* Quick Quote Card styling */
.quick-quote-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.quick-quote-card h3 {
    color: #0f172a;
    font-weight: 800;
    margin-bottom: 8px;
}
.quick-quote-card p {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 20px;
}

/* Carrier badges showcase */
.carrier-pill {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 16px;
    font-weight: 600;
    color: #334155;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    margin: 4px;
}

/* Google Maps container */
.map-responsive {
    overflow: hidden;
    padding-bottom: 50%;
    position: relative;
    height: 0;
    border-radius: 12px;
}
.map-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
    border: 0;
}

/* Interactive Notification Modal */
#uyq-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
#uyq-modal.active {
    opacity: 1;
    pointer-events: all;
}
.uyq-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
}
.uyq-modal-card {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    width: 90%;
    max-width: 480px;
    padding: 36px 30px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
#uyq-modal.active .uyq-modal-card {
    transform: scale(1);
}
.uyq-modal-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}
.uyq-modal-icon.success {
    background: #ecfdf5;
    color: #10b981;
}
.uyq-modal-icon.error {
    background: #fef2f2;
    color: #ef4444;
}
.uyq-modal-title {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
}
.uyq-modal-text {
    font-size: 15px;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 24px;
}
.uyq-modal-btn {
    background: #0284c7;
    color: #ffffff;
    border: none;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s;
}
.uyq-modal-btn:hover {
    background: #0369a1;
}

/* Responsive Header Navigation */
@media screen and (max-width: 991px) {
    .attr-nav .butn-style01 {
        padding: 8px 16px;
        font-size: 13px;
    }
    .header-phone-btn {
        padding: 8px 14px;
        font-size: 13px;
    }
}
@media screen and (max-width: 575px) {
    .attr-nav {
        display: none !important;
    }
}

/* ===== Fix #1: Counter/Analytics visibility on About page ===== */
/* The counter-inner overflow:hidden clips the counter numbers */
.counter-style01 .counter-block .counter-inner {
    overflow: visible !important;
}
.counter-style01 .counter-block .counter-inner .counter-no {
    margin-bottom: 0 !important;
    overflow: visible !important;
}
.counter-style01 .counter-block .counter-inner .counter-no .odometer {
    overflow: visible !important;
}

/* ===== Fix #2: Contact page form+info alignment ===== */
.contact-style01 .row {
    align-items: stretch;
}
.contact-style01 .conatct-form {
    height: 100%;
    display: flex;
    flex-direction: column;
}
.contact-style01 .conatct-form .quform-elements {
    flex: 1;
}
.contact-style01 .pe-xl-4 {
    height: 100%;
    display: flex;
    flex-direction: column;
}
/* Make contact info cards consistent height */
.contact-bg {
    min-height: 90px;
}

/* ===== Fix #3: Scrolled header logo proper sizing ===== */
.scrollHeader .navbar-brand img {
    max-height: 48px !important;
}
