/* Custom smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Custom selection color to match brand */
::selection {
    background-color: #f59e0b; /* Brand Accent */
    color: white;
}

/* Subtle pattern overlay for sections */
.bg-pattern {
    background-image: radial-gradient(#1e3a8a 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.1;
}

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

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

/* Calendar styling tweaks */
iframe[title="Book an Appointment"] {
    width: 100% !important;
}

/* === CUSTOM RANGE SLIDER STYLING === */
/* The slider itself */
.range-slider {
    -webkit-appearance: none;  /* Override default CSS styles */
    appearance: none;
    height: 12px; /* Specified height */
    background: #e2e8f0; /* Slate 200 background */
    outline: none; /* Remove outline */
    border-radius: 15px;
    transition: opacity .2s;
}

/* Mouse-over effects */
.range-slider:hover {
    opacity: 1; /* Fully shown on mouse-over */
}

/* The slider handle (use -webkit- (Chrome, Opera, Safari, Edge) and -moz- (Firefox) to override default look) */
.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none; /* Override default look */
    appearance: none;
    width: 28px; /* Set a specific slider handle width */
    height: 28px; /* Slider handle height */
    background: #f59e0b; /* Brand Accent Color */
    border: 4px solid white;
    border-radius: 50%; 
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    cursor: pointer; /* Cursor on hover */
    transition: all 0.2s ease-in-out;
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    background: #d97706; /* Darker amber on hover */
}

.range-slider::-moz-range-thumb {
    width: 28px; /* Set a specific slider handle width */
    height: 28px; /* Slider handle height */
    background: #f59e0b; /* Brand Accent Color */
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    cursor: pointer; /* Cursor on hover */
    transition: all 0.2s ease-in-out;
}

.range-slider::-moz-range-thumb:hover {
    transform: scale(1.1);
    background: #d97706; /* Darker amber on hover */
}
