:root {
    --primary-blue: #2664ec;
    --primary-red: #f13350;
    --footer-bg: #1e293b;
    --star-color: #0ba644;
    --primary-yellow: #FDA222;
    --primary-purple: #687CE3;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.header {
    transition: all 0.3s ease;
    padding: 1rem;
    position: fixed;
    width: 100%;
    background-color: #fff;
    z-index: 1030;
}
.header div img {
    max-width: 210px;
    width: 100%;
    height: auto;
}
.header.scrolled {
    padding: 0.5rem 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header.scrolled .logo img {
    height: 30px;
}

.logo img {
    height: 40px;
    width: auto;
}

.phone-number {
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
}

.intro {
    padding: 25vh 1rem 15vh 1rem;
    background-image: url(../img/hvac-heroshoot.png);
    background-size: cover;
    background-position: center 29%;
    position: relative;
}
.intro:before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,.5);
    z-index: 1;
}
.intro > * {
    position: relative;
    z-index: 2;
}
h1 {
    color: white;
}
.subheader {
    color: white;
    font-weight: 600;
    font-size: 1.3rem;
}

.cta-button {
    background-color: var(--primary-yellow);
    color: white;
    padding: 1rem 2rem;
    border-radius: 2px;
    text-decoration: none;
    font-weight: bold;
    font-size: 25px;
    display: inline-block;
    transition: filter 0.3s;
}

.cta-button:hover {
    filter: brightness(0.9);
    color: white;
    text-decoration: none;
}

.top-content .cta-button {
    font-size: 18px;
}

.feature {
    font-size: 0.9rem;
    color: white;
    max-width: 150px;
    text-align: center;
}

.intro .feature {
    font-size: 1.1rem;
    letter-spacing: 4px;
}

.hero {
    background-color: #f4f6f8;
}

.hero-image-wrap {
    position: relative;
    margin: -5rem 0 2.2rem;
    display: inline-block;
}

.hero img {
    max-width: 600px;
    border-radius: 8px;
}

.text-over-image {
    position: absolute;
    right: 0;
    bottom: 20%;
    background-color: var(--primary-yellow);
    color: #fff;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 1.3rem;
}

.star {
    color: var(--star-color);
    font-size: 1.25rem;
}

.process-step {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.process-step i {
    margin-right: 2rem;
    font-size: 3rem;
    min-width: 48px;
}

.process-step i:before {
    width: 100%;
    height: auto;
}

.call-now a {
    color: inherit;
    text-decoration: none;
}

.call-now a:hover {
    text-decoration: underline;
}

ul.checklist {
    margin-top: 0;
    margin-bottom: 0;
}

ul.checklist, ul.checklist li {
    list-style-type: none;
}

ul.checklist li {
    margin-bottom: 1rem;
}

ul.checklist li:before {
    display: inline-block;
    content: "";
    vertical-align: -.125em;
    background-image: url("data:image/svg+xml,<svg xmlns=%27http://www.w3.org/2000/svg%27 width=%2716%27 height=%2716%27 fill=%27%230ba644%27 class=%27bi bi-check-square-fill%27 viewBox=%270 0 16 16%27><path d=%27M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zm10.03 4.97a.75.75 0 0 1 .011 1.05l-3.992 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.75.75 0 0 1 1.08-.022z%27/></svg>");
    background-repeat: no-repeat;
    background-size: 1rem 1rem;
    background-color: #fff;
    margin: 0 12px 0 -15px;
    height: 1rem;
    width: 1rem;
}

.footer {
    background-color: var(--footer-bg);
    color: white;
}

.footer .phone-number {
    color: white;
}

.footer .features {
    color: #cbd5e1;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
}

.disclaimer {
    font-size: 0.75rem;
    color: #94a3b8;
    line-height: 1.6;
}

.online-status {
    width: 10px;
    height: 10px;
    background-color: #00af00;
    display: inline-block;
    border-radius: 50%;
    box-shadow: 0 0 10px rgb(4 190 5 / 80%);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 8px rgba(0, 255, 0, 0.6);
    }
    50% {
        transform: scale(1.2);
        box-shadow: 0 0 12px rgba(0, 255, 0, 0.8);
    }
}

.exit-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 2rem;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    border-radius: 8px;
    z-index: 1050;
    max-width: 90%;
    width: 400px;
}

.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 1040;
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 20px;
}