*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
}

body {
    font-family: "Barlow", sans-serif;
    color: #1c1c1e;
    background: #ffffff;
    line-height: 1.6;
    padding-top: 74px;
    transition: padding-top 0.3s ease;
}

b, strong {
    font-weight: 800 !important;
    color: #d8480d;
    text-decoration: underline;
}


.bip4-content-inner ul,
.bip4-content-inner ol {
    margin-bottom: 28px;
    padding-left: 24px;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    line-height: 1.8;
    color: #334155;
}

.bip4-content-inner ul { list-style: disc outside; }
.bip4-content-inner ol { list-style: decimal outside; }

.bip4-content-inner ul li::marker {
    color: #f26522;   /* orange to match the site */
}


.home-service-section .sa-title::after{
    display: none;
}
@media (max-width: 768px) {
    body {
        padding-top: 62px;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 56px;
    }
}

:root {
    --orange: #DA291C;         /* Roto-Rooter Red */
    --orange-light: #ea2316;   /* Bright red */
    --orange-pale: rgba(218, 41, 28, 0.08);
    --dark: #2A1768;           /* Roto-Rooter Plumb/Navy */
    --text-primary: #212529;
    --text-muted: #6c757d;
    --text-light: #8a8a8a;
    --border: #dee2e6;
    --bg: #ffffff;
    --bg-soft: #f7f8fb;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━
    SOFT CIRCLE GRID PATTERN
    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.circle-pattern {
    background-color: #f7f9fc;
    background-image: 
        radial-gradient(circle, rgba(42, 23, 104, 0.03) 1.5px, transparent 1.5px),
        radial-gradient(circle, rgba(218, 41, 28, 0.025) 1.5px, transparent 1.5px);
    background-size: 32px 32px;
    background-position: 0 0, 16px 16px;
    animation: gridScroll 45s linear infinite;
}

@keyframes gridScroll {
    from {
        background-position: 0 0, 16px 16px;
    }
    to {
        background-position: 320px 320px, 336px 336px;
    }
}

a {
    text-decoration: none;
    color: inherit;
}
ul {
    list-style: none;
}
h1,
h2,
h3,
h4 {
    font-family: "Barlow Condensed", sans-serif;
    line-height: 1.15;
    font-weight: 800;
}
h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
}
h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}
h3 {
    font-size: 1.35rem;
    font-weight: 700;
}

p {
    margin: 0;
}
.container {
    margin: 0 auto;
    padding: 0 24px;
}
.section-pad {
    padding: 64px 0;
}

.bg-dark {
    background: #1c1c1e;
    color: #ffffff;
}
.text-orange {
    color: var(--orange);
}

.badge-light {
    background: var(--orange-pale);
    color: var(--orange);
}
.section-header {
    text-align: center;
    margin: 0 auto 52px;
}
.section-header p {
    color: #555558;
    margin-top: 10px;
    font-size: 1.05rem;
}
.section-header.light h2 {
    color: #ffffff;
}
.section-header.light p {
    color: rgba(255, 255, 255, 0.65);
}
.btn-cta {
    display: inline-block;
    background: var(--orange);
    color: #fff;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.03em;
    padding: 11px 26px;
    border-radius: 100px;
    transition:
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}
.btn-cta:hover {
    background: var(--orange-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(218, 41, 28, 0.35);
}
.btn-cta.btn-large {
    font-size: 1.1rem;
    padding: 14px 34px;
}
.btn-hero {
    display: inline-block;
    background: transparent;
    color: #fff;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 13px 32px;
    border-radius: 100px;
    border: 2px solid #fff;
    transition: all 0.25s ease;
    margin-top: 28px;
}
.btn-hero:hover {
    background: var(--orange);
    border-color: var(--orange);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(218, 41, 28, 0.45);
}
.btn-outline {
    display: inline-block;
    border: 2px solid var(--orange);
    color: var(--orange);
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 11px 26px;
    border-radius: 100px;
    transition: all 0.25s ease;
    margin-top: 24px;
}
.btn-outline:hover {
    background: var(--orange);
    color: #fff;
    transform: translateY(-2px);
}
.btn-outline-white {
    display: inline-block;
    border: 2px solid rgba(255, 255, 255, 0.7);
    color: #fff;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 13px 30px;
    border-radius: 100px;
    transition: all 0.25s ease;
}
.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* TESTIMONIALS */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.review-card {
    background: #2a2a2c;
    border-radius: 14px;
    padding: 32px 28px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition: transform 0.25s ease;
}
.review-card:hover {
    transform: translateY(-5px);
}
.review-stars {
    color: #EDB900;
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 14px;
}
.review-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.97rem;
    line-height: 1.7;
    margin-bottom: 22px;
}
.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.review-avatar {
    width: 44px;
    height: 44px;
    background: var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    color: #fff;
    flex-shrink: 0;
}
.review-author strong {
    display: block;
    color: #ffffff;
    font-size: 0.95rem;
}
.review-author span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.82rem;
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* GLOBAL MODAL STYLING */
.quote-modal-backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 20px;
}

.quote-modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.quote-modal-content {
    position: relative;
    width: 100%;
    max-width: 440px;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.quote-modal-backdrop.active .quote-modal-content {
    transform: translateY(0) scale(1);
}

.quote-modal-close {
    position: absolute;
    right: 20px;
    top: 15px;
    background: none;
    border: none;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    color: #a0aec0;
    transition: color 0.2s, transform 0.2s;
    z-index: 100;
}

.quote-modal-close:hover {
    color: var(--orange);
    transform: scale(1.1);
}

/* 404 error page animations */
@keyframes shine {
    0% { transform: translateX(-120%) rotate(14deg); }
    60%, 100% { transform: translateX(320%) rotate(14deg); }
}

