/*
Theme Name: Knuckle Busters Auto Repair
Theme URI: https://thefreewebsiteguys.com
Author: The Free Website Guys
Author URI: https://thefreewebsiteguys.com
Description: A professional auto repair theme for Knuckle Busters Auto Repair. Family-owned auto repair shop in Highland, NY.
Version: 1.3.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: knuckle-busters
Tags: one-page, custom-colors, custom-logo, featured-images, theme-options
*/

/* ==========================================================================
   CSS VARIABLES - Colors matching React/Lovable exactly
   ========================================================================== */

:root {
    /* Primary Colors - Royal Blue */
    --kb-primary: 221, 83%, 37% !important;
    --kb-primary-foreground: 0, 0%, 100% !important;
    
    /* Secondary Colors - Light gray-blue */
    --kb-secondary: 220, 14%, 96% !important;
    --kb-secondary-foreground: 220, 20%, 15% !important;
    
    /* Accent Colors - Gold/Yellow */
    --kb-accent: 45, 100%, 50% !important;
    --kb-accent-foreground: 220, 20%, 15% !important;
    
    /* Background & Foreground */
    --kb-background: 0, 0%, 100% !important;
    --kb-foreground: 220, 20%, 15% !important;
    
    /* Muted */
    --kb-muted: 220, 14%, 96% !important;
    --kb-muted-foreground: 220, 10%, 45% !important;
    
    /* Card */
    --kb-card: 0, 0%, 100% !important;
    --kb-card-foreground: 220, 20%, 15% !important;
    
    /* Border */
    --kb-border: 220, 13%, 91% !important;
    
    /* Brand specific */
    --kb-royal-blue: 221, 83%, 37% !important;
    --kb-royal-blue-dark: 221, 83%, 28% !important;
    --kb-royal-blue-light: 221, 83%, 55% !important;
    --kb-gold: 45, 100%, 50% !important;
    --kb-gold-dark: 45, 100%, 42% !important;
    --kb-charcoal: 220, 20%, 15% !important;
    
    /* Layout */
    --kb-radius: 0.5rem;
    --kb-container-max: 1400px;
}

/* ==========================================================================
   BASE STYLES
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: hsl(0, 0%, 100%) !important;
    color: hsl(220, 20%, 15%) !important;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ==========================================================================
   CONTAINER & LAYOUT
   ========================================================================== */

.kb-container {
    width: 100%;
    max-width: var(--kb-container-max);
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .kb-container {
        padding: 0 2rem;
    }
}

.kb-section-padding {
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .kb-section-padding {
        padding: 6rem 0;
    }
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

.kb-section-title {
    font-size: 1.875rem;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .kb-section-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .kb-section-title {
        font-size: 3rem;
    }
}

.kb-section-subtitle {
    color: hsl(220, 10%, 45%) !important;
    font-size: 1.125rem;
    max-width: 42rem;
    margin: 0 auto;
}

.kb-text-primary {
    color: hsl(221, 83%, 37%) !important;
}

.kb-text-accent {
    color: hsl(45, 100%, 50%) !important;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.kb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--kb-radius);
    transition: all 0.2s ease;
    cursor: pointer;
}

.kb-btn-primary {
    background-color: hsl(221, 83%, 37%) !important;
    color: #ffffff !important;
}

.kb-btn-primary:hover {
    background-color: hsl(221, 83%, 32%) !important;
}

.kb-btn-accent {
    background-color: hsl(45, 100%, 50%) !important;
    color: hsl(220, 20%, 15%) !important;
}

.kb-btn-accent:hover {
    background-color: hsl(45, 100%, 42%) !important;
}

.kb-btn-outline {
    background: transparent !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
}

.kb-btn-outline:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: #ffffff !important;
}

.kb-btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.kb-btn-icon {
    width: 3rem;
    height: 3rem;
    padding: 0;
    border-radius: 50%;
    border: 1px solid hsla(221, 83%, 37%, 0.3) !important;
    background: transparent !important;
    color: hsl(220, 20%, 15%) !important;
}

.kb-btn-icon:hover {
    background: hsl(221, 83%, 37%) !important;
    color: #ffffff !important;
    border-color: hsl(221, 83%, 37%) !important;
}

/* ==========================================================================
   HEADER
   ========================================================================== */

.kb-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: hsla(0, 0%, 100%, 0.95) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid hsl(220, 13%, 91%) !important;
}

.kb-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
}

@media (min-width: 768px) {
    .kb-header-inner {
        height: 7rem;
    }
}

.kb-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.kb-logo img {
    height: 3rem;
    width: auto;
}

@media (min-width: 768px) {
    .kb-logo img {
        height: 6rem;
    }
}

.kb-nav {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .kb-nav {
        display: flex;
    }
}

.kb-nav-link {
    color: hsla(220, 20%, 15%, 0.8) !important;
    font-weight: 500;
    transition: color 0.2s ease;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.kb-nav-link:hover {
    color: hsl(221, 83%, 37%) !important;
}

.kb-header-cta {
    display: none;
}

@media (min-width: 768px) {
    .kb-header-cta {
        display: flex;
        align-items: center;
        gap: 1rem;
    }
}

.kb-mobile-toggle {
    display: flex;
    padding: 0.5rem;
    color: hsl(220, 20%, 15%) !important;
}

@media (min-width: 1024px) {
    .kb-mobile-toggle {
        display: none;
    }
}

.kb-mobile-menu {
    display: none;
    padding: 1rem 0;
    border-top: 1px solid hsl(220, 13%, 91%) !important;
}

.kb-mobile-menu.active {
    display: block;
}

@media (min-width: 1024px) {
    .kb-mobile-menu {
        display: none !important;
    }
}

.kb-mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.kb-mobile-nav-link {
    color: hsla(220, 20%, 15%, 0.8) !important;
    font-weight: 500;
    padding: 0.5rem 0;
    text-align: left;
    transition: color 0.2s ease;
}

.kb-mobile-nav-link:hover {
    color: hsl(221, 83%, 37%) !important;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.kb-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
    overflow: hidden;
}

.kb-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.kb-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, 
        hsla(221, 83%, 37%, 0.95), 
        hsla(221, 83%, 37%, 0.85), 
        hsla(221, 83%, 37%, 0.70)) !important;
}

.kb-hero-glow {
    position: absolute;
    inset: 0;
    opacity: 0.2;
    pointer-events: none;
}

.kb-hero-glow::before {
    content: '';
    position: absolute;
    top: 5rem;
    left: 2.5rem;
    width: 18rem;
    height: 18rem;
    background-color: hsl(45, 100%, 50%) !important;
    border-radius: 50%;
    filter: blur(60px);
}

.kb-hero-glow::after {
    content: '';
    position: absolute;
    bottom: 5rem;
    right: 2.5rem;
    width: 24rem;
    height: 24rem;
    background-color: hsl(45, 100%, 50%) !important;
    border-radius: 50%;
    filter: blur(60px);
}

.kb-hero-content {
    position: relative;
    z-index: 10;
    padding: 4rem 0 6rem;
}

@media (min-width: 768px) {
    .kb-hero-content {
        padding: 6rem 0 8rem;
    }
}

.kb-hero-inner {
    max-width: 56rem;
    margin: 0 auto;
    text-align: center;
}

.kb-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: hsla(0, 0%, 100%, 0.1) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 9999px;
    padding: 0.5rem 1rem;
    margin-bottom: 2rem;
    border: 1px solid hsla(0, 0%, 100%, 0.2) !important;
}

.kb-hero-badge svg {
    width: 1rem;
    height: 1rem;
    color: hsl(45, 100%, 50%) !important;
}

.kb-hero-badge span {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0.875rem;
    font-weight: 500;
}

.kb-hero-title {
    font-size: 2.25rem;
    color: #ffffff !important;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

@media (min-width: 768px) {
    .kb-hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .kb-hero-title {
        font-size: 3.75rem;
    }
}

.kb-hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8) !important;
    margin-bottom: 2rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .kb-hero-description {
        font-size: 1.25rem;
    }
}

.kb-hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

@media (min-width: 640px) {
    .kb-hero-buttons {
        flex-direction: row;
    }
}

.kb-hero-buttons .kb-btn {
    width: 100%;
}

@media (min-width: 640px) {
    .kb-hero-buttons .kb-btn {
        width: auto;
    }
}

.kb-hero-awards {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .kb-hero-awards {
        flex-direction: row;
    }
}

.kb-hero-award {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: hsla(0, 0%, 100%, 0.1) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 0.5rem;
    padding: 0.75rem 1.25rem;
    border: 1px solid hsla(0, 0%, 100%, 0.2) !important;
}

.kb-hero-award svg {
    width: 2rem;
    height: 2rem;
    color: hsl(45, 100%, 50%) !important;
}

.kb-hero-award-text {
    text-align: left;
}

.kb-hero-award-title {
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.875rem;
}

.kb-hero-award-subtitle {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.75rem;
}

.kb-hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.kb-hero-wave svg {
    width: 100%;
    display: block;
}

.kb-hero-wave path {
    fill: hsl(220, 14%, 96%) !important;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */

.kb-services {
    background-color: hsl(220, 14%, 96%) !important;
}

.kb-services-header {
    text-align: center;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .kb-services-header {
        margin-bottom: 4rem;
    }
}

.kb-carousel-wrapper {
    margin: 0 -1rem;
    padding: 0 1rem;
}

.kb-carousel-container {
    overflow: hidden !important;
    width: 100% !important;
}

.kb-carousel-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    padding: 1.5rem 0;
    will-change: transform;
    /* Transition is controlled via JS for infinite effect */
}

.kb-carousel-slide {
    flex-shrink: 0 !important;
    padding: 0 0.75rem;
    box-sizing: border-box;
}

.kb-service-card {
    background: hsl(0, 0%, 100%) !important;
    border: 1px solid hsl(220, 13%, 91%) !important;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.kb-service-card:hover {
    border-color: hsla(221, 83%, 37%, 0.3) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.kb-service-card.active {
    transform: scale(1.05);
    border-color: hsla(221, 83%, 37%, 0.5) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.kb-service-image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.kb-service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.kb-service-card:hover .kb-service-image img {
    transform: scale(1.05);
}

.kb-service-content {
    padding: 1.25rem;
}

.kb-service-header-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.kb-service-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background: hsla(221, 83%, 37%, 0.1) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.kb-service-card:hover .kb-service-icon {
    background: hsla(221, 83%, 37%, 0.2) !important;
}

.kb-service-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: hsl(221, 83%, 37%) !important;
}

.kb-service-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: hsl(220, 20%, 15%) !important;
}

.kb-service-description {
    color: hsl(220, 10%, 45%) !important;
    font-size: 0.875rem;
    line-height: 1.6;
}

.kb-carousel-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
    gap: 1rem;
}

.kb-carousel-arrows {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.kb-carousel-dots {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.kb-carousel-dot {
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 9999px;
    background: hsla(221, 83%, 37%, 0.3) !important;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.kb-carousel-dot:hover {
    background: hsla(221, 83%, 37%, 0.5) !important;
}

.kb-carousel-dot.active {
    width: 2rem;
    background: hsl(221, 83%, 37%) !important;
}

/* ==========================================================================
   WHY CHOOSE US SECTION
   ========================================================================== */

.kb-why-choose-us {
    background-color: hsl(0, 0%, 100%) !important;
}

.kb-why-choose-us-header {
    text-align: center;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .kb-why-choose-us-header {
        margin-bottom: 4rem;
    }
}

.kb-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 64rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .kb-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.kb-feature-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    border-radius: 1rem;
    background: hsla(220, 14%, 96%, 0.5) !important;
    transition: background 0.2s ease;
}

.kb-feature-item:hover {
    background: hsl(220, 14%, 96%) !important;
}

.kb-feature-icon {
    flex-shrink: 0;
    width: 4rem;
    height: 4rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, hsl(221, 83%, 37%) 0%, hsl(221, 83%, 28%) 100%) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.kb-feature-icon svg {
    width: 2rem;
    height: 2rem;
    color: #ffffff !important;
}

.kb-feature-content h3 {
    font-size: 1.25rem;
    color: hsl(220, 20%, 15%) !important;
    margin-bottom: 0.5rem;
}

.kb-feature-content p {
    color: hsl(220, 10%, 45%) !important;
    line-height: 1.6;
}

.kb-stats-bar {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .kb-stats-bar {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

.kb-stat-item {
    text-align: center;
}

.kb-stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: hsl(221, 83%, 37%) !important;
    margin-bottom: 0.25rem;
}

@media (min-width: 768px) {
    .kb-stat-value {
        font-size: 3rem;
    }
}

.kb-stat-label {
    color: hsl(220, 10%, 45%) !important;
    font-size: 0.875rem;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */

.kb-about {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, hsl(221, 83%, 37%) 0%, hsl(221, 83%, 28%) 100%) !important;
}

.kb-about-glow {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    pointer-events: none;
}

.kb-about-glow::before {
    content: '';
    position: absolute;
    top: 2.5rem;
    right: 5rem;
    width: 16rem;
    height: 16rem;
    background-color: hsl(45, 100%, 50%) !important;
    border-radius: 50%;
    filter: blur(60px);
}

.kb-about-glow::after {
    content: '';
    position: absolute;
    bottom: 2.5rem;
    left: 5rem;
    width: 20rem;
    height: 20rem;
    background-color: hsl(45, 100%, 50%) !important;
    border-radius: 50%;
    filter: blur(60px);
}

.kb-about-content {
    position: relative;
    z-index: 10;
    max-width: 56rem;
    margin: 0 auto;
}

.kb-about-header {
    text-align: center;
    margin-bottom: 3rem;
}

.kb-about-header h2 {
    color: #ffffff !important;
}

.kb-about-box {
    background: hsla(0, 0%, 100%, 0.1) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid hsla(0, 0%, 100%, 0.2) !important;
}

@media (min-width: 768px) {
    .kb-about-box {
        padding: 3rem;
    }
}

.kb-about-intro {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9) !important;
    line-height: 1.7;
    margin-bottom: 2rem;
    text-align: center;
}

@media (min-width: 768px) {
    .kb-about-intro {
        font-size: 1.25rem;
    }
}

.kb-about-values {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .kb-about-values {
        grid-template-columns: repeat(3, 1fr);
    }
}

.kb-about-value {
    text-align: center;
}

.kb-about-value-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: hsla(45, 100%, 50%, 0.2) !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kb-about-value-icon svg {
    width: 2rem;
    height: 2rem;
    color: hsl(45, 100%, 50%) !important;
}

.kb-about-value h3 {
    font-weight: 700;
    color: #ffffff !important;
    margin-bottom: 0.5rem;
}

.kb-about-value p {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.875rem;
}

.kb-about-quote {
    text-align: center;
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 1.125rem;
    font-style: italic;
}

/* ==========================================================================
   REVIEWS SECTION
   ========================================================================== */

.kb-reviews {
    background-color: hsl(220, 14%, 96%) !important;
}

.kb-reviews-header {
    text-align: center;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .kb-reviews-header {
        margin-bottom: 4rem;
    }
}

.kb-reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 64rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .kb-reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.kb-review-card {
    background: hsl(0, 0%, 100%) !important;
    border: 1px solid hsl(220, 13%, 91%) !important;
    border-radius: 0.5rem;
    padding: 1.5rem;
    transition: box-shadow 0.2s ease;
}

.kb-review-card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.kb-review-quote-icon {
    width: 2rem;
    height: 2rem;
    margin-bottom: 1rem;
}

.kb-review-quote-icon svg {
    color: hsla(221, 83%, 37%, 0.2) !important;
    width: 100%;
    height: 100%;
}

.kb-review-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.kb-review-stars svg {
    width: 1.25rem;
    height: 1.25rem;
    color: hsl(45, 100%, 50%) !important;
    fill: hsl(45, 100%, 50%) !important;
}

.kb-review-text {
    color: hsla(220, 20%, 15%, 0.8) !important;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.kb-review-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.kb-review-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: hsl(221, 83%, 37%) !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kb-review-avatar span {
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.875rem;
}

.kb-review-name {
    font-weight: 700;
    color: hsl(220, 20%, 15%) !important;
}

.kb-review-label {
    color: hsl(220, 10%, 45%) !important;
    font-size: 0.875rem;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */

.kb-contact {
    background-color: hsl(0, 0%, 100%) !important;
}

.kb-contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .kb-contact-header {
        margin-bottom: 4rem;
    }
}

.kb-contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 72rem;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .kb-contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.kb-contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.kb-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.kb-contact-icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background: hsla(221, 83%, 37%, 0.1) !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kb-contact-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: hsl(221, 83%, 37%) !important;
}

.kb-contact-item h3 {
    font-weight: 700;
    color: hsl(220, 20%, 15%) !important;
    margin-bottom: 0.25rem;
}

.kb-contact-item a {
    color: hsl(221, 83%, 37%) !important;
    font-size: 1.125rem;
    font-weight: 500;
}

.kb-contact-item a:hover {
    text-decoration: underline;
}

.kb-contact-item p {
    color: hsl(220, 10%, 45%) !important;
    font-size: 0.875rem;
}

.kb-contact-item .kb-address {
    color: hsla(220, 20%, 15%, 0.8) !important;
    transition: color 0.2s ease;
}

.kb-contact-item .kb-address:hover {
    color: hsl(221, 83%, 37%) !important;
}

.kb-contact-hours p {
    color: hsla(220, 20%, 15%, 0.8) !important;
}

.kb-social-section h3 {
    font-weight: 700;
    color: hsl(220, 20%, 15%) !important;
    margin-bottom: 1rem;
}

.kb-social-links {
    display: flex;
    gap: 1rem;
}

.kb-social-link {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.kb-social-link.primary {
    background: hsl(221, 83%, 37%) !important;
}

.kb-social-link.primary:hover {
    background: hsl(221, 83%, 32%) !important;
}

.kb-social-link.accent {
    background: hsl(45, 100%, 50%) !important;
}

.kb-social-link.accent:hover {
    background: hsl(45, 100%, 42%) !important;
}

.kb-social-link svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #ffffff !important;
}

.kb-social-link.accent svg {
    color: hsl(220, 20%, 15%) !important;
}

/* Contact Form */
.kb-contact-form-wrapper {
    background: hsl(220, 14%, 96%) !important;
    border-radius: 1rem;
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .kb-contact-form-wrapper {
        padding: 2rem;
    }
}

.kb-contact-form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: hsl(220, 20%, 15%) !important;
    margin-bottom: 1.5rem;
}

.kb-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.kb-form-group label {
    display: block;
    color: hsl(220, 20%, 15%) !important;
    font-weight: 500;
    margin-bottom: 0.375rem;
}

.kb-form-input,
.kb-form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid hsl(220, 13%, 91%) !important;
    border-radius: 0.5rem;
    font-size: 1rem;
    background: hsl(0, 0%, 100%) !important;
    color: hsl(220, 20%, 15%) !important;
    transition: border-color 0.2s ease;
}

.kb-form-input:focus,
.kb-form-textarea:focus {
    outline: none;
    border-color: hsl(221, 83%, 37%) !important;
}

.kb-form-textarea {
    resize: none;
    min-height: 6rem;
}

.kb-form-submit {
    width: 100%;
}

.kb-form-disclaimer {
    color: hsl(220, 10%, 45%) !important;
    font-size: 0.75rem;
    text-align: center;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.kb-footer {
    background-color: hsl(220, 20%, 15%) !important;
    color: white !important;
}

.kb-footer-content {
    padding: 3rem 0 4rem;
}

@media (min-width: 768px) {
    .kb-footer-content {
        padding: 4rem 0 4rem;
    }
}

.kb-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .kb-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .kb-footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.kb-footer-brand img {
    height: 4rem;
    width: auto;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.kb-footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    line-height: 1.6;
}

.kb-footer-section h4 {
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.kb-footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.kb-footer-nav button {
    color: rgba(255, 255, 255, 0.7);
    text-align: left;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.kb-footer-nav button:hover {
    color: hsl(45, 100%, 50%) !important;
}

.kb-footer-services-list {
    list-style: none;
}

.kb-footer-services-list li {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    padding: 0.25rem 0;
}

.kb-footer-contact a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    transition: color 0.2s ease;
}

.kb-footer-contact a:hover {
    color: hsl(45, 100%, 50%) !important;
}

.kb-footer-contact svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.kb-footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.kb-footer-social a {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.kb-footer-social a:hover {
    background: hsl(45, 100%, 50%) !important;
}

.kb-footer-social svg {
    width: 1rem;
    height: 1rem;
}

.kb-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    text-align: center;
}

.kb-footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.kb-footer-bottom a {
    color: hsl(45, 100%, 50%) !important;
}

.kb-footer-bottom a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   FORCED COLOR OVERRIDES - Ensure colors match React exactly
   ========================================================================== */

/* Primary text color (Royal Blue) */
.kb-text-primary {
    color: hsl(221, 83%, 37%) !important;
}

/* Accent text color (Gold) */
.kb-text-accent {
    color: hsl(45, 100%, 50%) !important;
}

/* Section title colors */
.kb-section-title {
    color: hsl(220, 20%, 15%) !important;
}

.kb-section-title .kb-text-primary {
    color: hsl(221, 83%, 37%) !important;
}

.kb-section-title .kb-text-accent {
    color: hsl(45, 100%, 50%) !important;
}

/* Hero section colors */
.kb-hero-title {
    color: #ffffff !important;
}

.kb-hero-title .kb-text-accent {
    color: hsl(45, 100%, 50%) !important;
}

.kb-hero-description {
    color: rgba(255, 255, 255, 0.8) !important;
}

.kb-hero-badge span {
    color: rgba(255, 255, 255, 0.9) !important;
}

.kb-hero-badge svg {
    color: hsl(45, 100%, 50%) !important;
}

.kb-hero-award svg {
    color: hsl(45, 100%, 50%) !important;
}

.kb-hero-award-title {
    color: #ffffff !important;
}

.kb-hero-award-subtitle {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Button colors */
.kb-btn-primary {
    background-color: hsl(221, 83%, 37%) !important;
    color: #ffffff !important;
}

.kb-btn-primary:hover {
    background-color: hsl(221, 83%, 32%) !important;
}

.kb-btn-accent {
    background-color: hsl(45, 100%, 50%) !important;
    color: hsl(220, 20%, 15%) !important;
}

.kb-btn-accent:hover {
    background-color: hsl(45, 100%, 42%) !important;
}

/* Service card colors */
.kb-service-icon {
    background: hsla(221, 83%, 37%, 0.1) !important;
}

.kb-service-icon svg {
    color: hsl(221, 83%, 37%) !important;
}

.kb-service-title {
    color: hsl(220, 20%, 15%) !important;
}

.kb-service-description {
    color: hsl(220, 10%, 45%) !important;
}

/* Feature icons (Why Choose Us) */
.kb-feature-icon {
    background: linear-gradient(135deg, hsl(221, 83%, 37%) 0%, hsl(221, 83%, 28%) 100%) !important;
}

.kb-feature-icon svg {
    color: #ffffff !important;
}

.kb-feature-content h3 {
    color: hsl(220, 20%, 15%) !important;
}

.kb-feature-content p {
    color: hsl(220, 10%, 45%) !important;
}

/* Stats colors */
.kb-stat-value {
    color: hsl(221, 83%, 37%) !important;
}

.kb-stat-label {
    color: hsl(220, 10%, 45%) !important;
}

/* About section colors */
.kb-about {
    background: linear-gradient(135deg, hsl(221, 83%, 37%) 0%, hsl(221, 83%, 28%) 100%) !important;
}

.kb-about-header h2,
.kb-about-header .kb-section-title {
    color: #ffffff !important;
}

.kb-about-intro {
    color: rgba(255, 255, 255, 0.9) !important;
}

.kb-about-intro strong {
    color: hsl(45, 100%, 50%) !important;
}

.kb-about-value-icon {
    background: hsla(45, 100%, 50%, 0.2) !important;
}

.kb-about-value-icon svg {
    color: hsl(45, 100%, 50%) !important;
}

.kb-about-value h3 {
    color: #ffffff !important;
}

.kb-about-value p {
    color: rgba(255, 255, 255, 0.7) !important;
}

.kb-about-quote {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Review colors */
.kb-review-stars svg {
    color: hsl(45, 100%, 50%) !important;
    fill: hsl(45, 100%, 50%) !important;
}

.kb-review-avatar {
    background: hsl(221, 83%, 37%) !important;
}

.kb-review-avatar span {
    color: #ffffff !important;
}

.kb-review-name {
    color: hsl(220, 20%, 15%) !important;
}

.kb-review-quote-icon svg {
    color: hsla(221, 83%, 37%, 0.2) !important;
}

/* Contact colors */
.kb-contact-icon {
    background: hsla(221, 83%, 37%, 0.1) !important;
}

.kb-contact-icon svg {
    color: hsl(221, 83%, 37%) !important;
}

.kb-contact-item h3 {
    color: hsl(220, 20%, 15%) !important;
}

.kb-contact-item a:not(.kb-address) {
    color: hsl(221, 83%, 37%) !important;
}

.kb-social-link.primary {
    background: hsl(221, 83%, 37%) !important;
}

.kb-social-link.primary svg {
    color: #ffffff !important;
}

.kb-social-link.accent {
    background: hsl(45, 100%, 50%) !important;
}

.kb-social-link.accent svg {
    color: hsl(220, 20%, 15%) !important;
}

/* Footer colors */
.kb-footer {
    background-color: hsl(220, 20%, 15%) !important;
}

.kb-footer-nav button:hover,
.kb-footer-contact a:hover {
    color: hsl(45, 100%, 50%) !important;
}

.kb-footer-social a:hover {
    background: hsl(45, 100%, 50%) !important;
}

.kb-footer-bottom a {
    color: hsl(45, 100%, 50%) !important;
}

/* Carousel dots */
.kb-carousel-dot {
    background: hsla(221, 83%, 37%, 0.3) !important;
}

.kb-carousel-dot:hover {
    background: hsla(221, 83%, 37%, 0.5) !important;
}

.kb-carousel-dot.active {
    background: hsl(221, 83%, 37%) !important;
}

/* Toast notification */
.kb-toast {
    background: hsl(221, 83%, 37%) !important;
    color: #ffffff !important;
}

/* ==========================================================================
   UTILITIES & ANIMATIONS
   ========================================================================== */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Toast notifications */
.kb-toast {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    padding: 1rem 1.5rem;
    background: hsl(221, 83%, 37%) !important;
    color: #ffffff !important;
    border-radius: 0.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 100;
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.kb-toast.show {
    transform: translateY(0);
    opacity: 1;
}

.kb-toast-title {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.kb-toast-message {
    font-size: 0.875rem;
    opacity: 0.9;
}
