/* Custom Styles for Energy Consult Landing Page */

/* Hero Section Background Pattern */
.hero-pattern {
    background-color: #111827;
    background-image: linear-gradient(rgba(17, 24, 39, 0.85), rgba(17, 24, 39, 0.7)), url('../../images/hero.png?v=2');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Body Reset */
body {
    margin: 0;
    padding: 0;
}

/* Progress Bar Animations */
@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.animate-shimmer {
    animation: shimmer 2s infinite;
}

.scale-105 {
    transform: scaleX(1.02);
    transition: transform 0.3s ease-out;
}

/* Card Hover Effects */
.card-hoverable {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hoverable:hover {
    transform: translateY(-5px);
}

/* Slider Thumb Customization */
input[type=range] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 12px;
    background: #e5e7eb;
    outline: none;
    opacity: 0.9;
    -webkit-transition: .2s;
    transition: opacity .2s;
    border-radius: 6px;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 28px;
    height: 28px;
    background: #F2C94C;
    cursor: pointer;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

input[type=range]::-moz-range-thumb {
    width: 28px;
    height: 28px;
    background: #F2C94C;
    cursor: pointer;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* ========================================================================
   TOGGLE SWITCH STYLES (Expert-Toggle Visual Feedback)
   ======================================================================== */

/* Toggle Checkbox - The white slider circle */
.toggle-checkbox {
    right: 0;
    left: 0;
    transform: translateX(0);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

/* Toggle Label - The track background */
.toggle-label {
    transition: background-color 0.3s ease;
}

/* When Toggle is CHECKED - Slider animates to the right */
.toggle-checkbox:checked {
    transform: translateX(100%);
    border-color: #22c55e;
}

/* When Toggle is CHECKED - Background turns green */
.toggle-checkbox:checked+.toggle-label {
    background-color: #22c55e;
}

/* Hover effect on toggle */
.toggle-checkbox:hover {
    transform: scale(1.05);
}

.toggle-checkbox:checked:hover {
    transform: translateX(100%) scale(1.05);
}