/* ========================================
   HEADER BUTTON SPACING ADJUSTMENTS
   Pull phone button left and add spacing
   ======================================== */

/* Right box container adjustments */
.pbmit-right-box {
    gap: 25px !important; /* Add space between the two button boxes */
}

/* First button box (Phone number) - Pull left */
.pbmit-button-box {
    margin-right: 0 !important;
    padding-right: 0 !important;
}

.pbmit-header-button {
    margin-right: 0 !important;
    padding-right: 0 !important;
}

.pbmit-header-button a {
    display: inline-flex;
    align-items: center;
    padding: 12px 20px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.pbmit-header-button a:hover {
    background: rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
}

.pbmit-header-button-text-1 {
    font-weight: 600;
    color: #333;
    font-size: 15px;
}

/* Second button box (Get a Quote) - Add left margin for spacing */
.pbmit-button-box-second {
    margin-left: 0 !important;
}

.pbmit-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background-color: #253A7A;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.pbmit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.pbmit-button-content-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pbmit-button-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.pbmit-button-icon svg {
    width: 100%;
    height: 100%;
}

.pbmit-button-icon svg path {
    stroke: #fff !important;
}

.pbmit-button-text {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}

/* Responsive adjustments */
@media only screen and (max-width: 1199px) {
    .pbmit-right-box {
        gap: 15px !important;
    }
    
    .pbmit-header-button a {
        padding: 10px 16px;
    }
    
    .pbmit-header-button-text-1 {
        font-size: 14px;
    }
    
    .pbmit-btn {
        padding: 10px 20px;
    }
    
    .pbmit-button-text {
        font-size: 13px;
    }
}

@media only screen and (max-width: 991px) {
    .pbmit-right-box {
        gap: 12px !important;
    }
    
    .pbmit-button-box,
    .pbmit-button-box-second {
        display: none; /* Hide on mobile, show mobile menu instead */
    }
}

@media only screen and (max-width: 767px) {
    /* Mobile specific styles if needed */
    .pbmit-right-box {
        flex-direction: column;
        gap: 10px !important;
    }
}

/* Additional spacing control */
.pbmit-right-box.d-flex {
    justify-content: flex-end;
    align-items: center;
}

/* Fine-tune spacing between elements */
.pbmit-button-box + .pbmit-button-box-second {
    margin-left: 0; /* Remove any default margin */
}

/* Ensure proper alignment */
.pbmit-header-button,
.pbmit-btn {
    white-space: nowrap;
}

/* Add icon animation on hover */
.pbmit-btn:hover .pbmit-button-icon {
    animation: arrowMove 0.6s ease infinite;
}

@keyframes arrowMove {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(3px, -3px);
    }
}

/* Accessibility improvements */
.pbmit-header-button a:focus,
.pbmit-btn:focus {
    outline: 2px solid #29ABE2;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .pbmit-button-box,
    .pbmit-button-box-second {
        display: none;
    }
}
