/* Add here all your CSS customizations */

/* Remove increment/decrement arrows from number inputs */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

input[type="number"] {
    -moz-appearance: textfield !important; /* Firefox */
}

/* Additional specificity for form controls */
.form-control[type="number"]::-webkit-outer-spin-button,
.form-control[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.form-control[type="number"] {
    -moz-appearance: textfield !important;
}

/* Target edit-input class specifically */
.edit-input[type="number"]::-webkit-outer-spin-button,
.edit-input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.edit-input[type="number"] {
    -moz-appearance: textfield !important;
}

/* Custom Scroll Bar Styles */
/* Webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 6px;
    border: 2px solid #f1f1f1;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

::-webkit-scrollbar-corner {
    background: #f1f1f1;
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #c1c1c1 #f1f1f1;
}

/* Enable horizontal scroll when needed */
html {
    overflow-x: auto;
}

body {
    overflow-x: auto;
}

/* Custom scroll bar for specific containers */
.custom-scrollbar::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #f8f9fa;
    border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #6c757d;
    border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #495057;
}

/* Dark theme scroll bars */
html.dark ::-webkit-scrollbar-track {
    background: #2d3748;
}

html.dark ::-webkit-scrollbar-thumb {
    background: #4a5568;
    border: 2px solid #2d3748;
}

html.dark ::-webkit-scrollbar-thumb:hover {
    background: #718096;
}

html.dark ::-webkit-scrollbar-corner {
    background: #2d3748;
}

html.dark * {
    scrollbar-color: #4a5568 #2d3748;
}

.img-icon {
    width: 50%;
    margin: 0 auto;
    vertical-align: middle;
}
ul.banner-smallcnt {
    padding-left: 0;
}
ul.banner-smallcnt li {
    list-style: none;
    font-size: 15px;
    line-height: 20px;
    color: #fff;
    font-weight: 600;
}
@media only screen and (max-width:767px) {
    ul.banner-smallcnt {
        margin-top: 12px;
    }
}
@media only screen and (max-width:668px) {
    ul.banner-smallcnt {
        margin-top: 15px;
    }
}
@media only screen and (max-width:600px) {
    ul.banner-smallcnt {
        margin-top: 20px;
    }
}
@media only screen and (max-width:480px) {
    ul.banner-smallcnt {
        margin-top: 35px;
    }
}

/* ==========================================
   Services, Location & Service Detail Pages
   ========================================== */

/* --- Page Header (Location & Service Detail) --- */
.page-header-enhanced {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 2.5rem 0 2rem;
    margin-bottom: 0;
}
.page-header-enhanced h1 {
    color: #fff;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.page-header-enhanced .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}
.page-header-enhanced .breadcrumb-item a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}
.page-header-enhanced .breadcrumb-item a:hover {
    color: #fff;
}
.page-header-enhanced .breadcrumb-item.active {
    color: #fff;
    font-weight: 600;
}
.page-header-enhanced .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.5);
}

/* --- Service Card Grid (services.php) --- */
.service-card {
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    background: #fff;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    height: 100%;
}
.service-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}
.service-card .service-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f0f4ff;
}
.service-card .service-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}
.service-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}
.service-card p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    min-height: 2.7em;
}
.service-card .btn-outline-primary {
    border: 2px solid #0066cc;
    color: #0066cc;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.4rem 1.2rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}
.service-card .btn-outline-primary:hover {
    background: #0066cc;
    color: #fff;
}

/* --- Feature Boxes (Location pages) --- */
.feature-card {
    background: #f8f9fc;
    border-radius: 8px;
    padding: 2rem 1.5rem;
    text-align: center;
    height: 100%;
    border: 1px solid #eef1f6;
    transition: box-shadow 0.3s ease;
}
.feature-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.feature-card i {
    font-size: 2.5rem;
    color: #0066cc;
    margin-bottom: 1rem;
}
.feature-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}
.feature-card p {
    color: #555;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* --- Service Detail Process Steps --- */
.process-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
}
.process-step .step-number {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #0066cc;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}
.process-step .step-content h5 {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.25rem;
}
.process-step .step-content p {
    color: #555;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* --- Stats Bar (for trust signals) --- */
.stats-bar {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 2rem 0;
    margin: 2.5rem 0;
}
.stats-bar .stat-item {
    text-align: center;
    color: #fff;
}
.stats-bar .stat-item .stat-number {
    font-size: 2rem;
    font-weight: 800;
    display: block;
    line-height: 1;
    margin-bottom: 0.3rem;
}
.stats-bar .stat-item .stat-label {
    font-size: 0.85rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- Areas We Serve Grid --- */
.area-tag {
    display: inline-block;
    background: #f0f4ff;
    color: #333;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin: 0.25rem;
    border: 1px solid #d6e0f5;
    transition: all 0.2s ease;
}
.area-tag:hover {
    background: #0066cc;
    color: #fff;
    border-color: #0066cc;
    text-decoration: none;
}

/* --- FAQ Enhanced --- */
.faq-card {
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    margin-bottom: 1rem;
    overflow: hidden;
}
.faq-card .card-header {
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    padding: 0.75rem 1.25rem;
}
.faq-card .card-header h5 {
    margin: 0;
}
.faq-card .card-header button {
    font-weight: 600;
    font-size: 0.95rem;
    color: #333;
    text-align: left;
    width: 100%;
}
.faq-card .card-header button:hover {
    color: #0066cc;
    text-decoration: none;
}
.faq-card .card-body {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #555;
    padding: 1rem 1.25rem;
}

/* --- CTA Banner Enhanced --- */
.cta-banner {
    background: linear-gradient(135deg, #0066cc 0%, #004999 100%);
    color: #fff;
    padding: 2.5rem 2rem;
    border-radius: 8px;
    margin: 2.5rem 0;
}
.cta-banner h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}
.cta-banner p {
    opacity: 0.9;
    margin-bottom: 1rem;
}
.cta-banner .btn-light {
    font-weight: 700;
    padding: 0.6rem 2rem;
}

/* --- Responsive Adjustments --- */
@media (max-width: 767px) {
    .service-card {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
    }
    .service-card h4 {
        font-size: 1rem;
    }
    .feature-card {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
    }
    .stats-bar .stat-item .stat-number {
        font-size: 1.5rem;
    }
    .page-header-enhanced {
        padding: 1.5rem 0 1rem;
    }
    .page-header-enhanced h1 {
        font-size: 1.4rem;
    }
    .cta-banner {
        padding: 1.5rem 1rem;
        text-align: center;
    }
    .cta-banner .btn-light {
        display: block;
        width: 100%;
    }
}