/* ===== Work Order Form Rows ===== */
.wo-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
}

@media (max-width: 600px) {
    .wo-row {
        grid-template-columns: 1fr;
    }
}

.wo-optional {
    font-weight: 400;
    font-size: .85em;
    color: rgba(255, 255, 255, .45);
}

.wo-input:is(select) {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%237dd3fc' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 5.5 8 12l6.5-6.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    padding-right: 36px;
    cursor: pointer;
}

/* ===== Contact Page ===== */
.contact-hero {
    background: linear-gradient(135deg, #071b33 0%, #0f2b4a 100%);
    padding: 20px 0 10px;
    text-align: center;
}

.contact-hero-inner {
    max-width: 640px;
    margin: 0 auto;
}

.contact-hero-icon {
    font-size: 48px;
    color: #7dd3fc;
    display: block;
    margin-bottom: 18px;
}

.contact-hero-title {
    font-size: clamp(1.8rem, 4vw, 2.1rem);
    color: #fff;
    margin: 0 0 12px;
}

.contact-hero-sub {
    color: rgba(255, 255, 255, .7);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

.contact-section {
    padding: 64px 0 80px;
    background: #0a1e36;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-card {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 14px;
    padding: 28px 20px;
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, .35);
    border-color: rgba(125, 211, 252, .35);
}

.contact-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(125, 211, 252, .15), rgba(125, 211, 252, .05));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 22px;
    color: #7dd3fc;
}

.contact-card-title {
    font-size: 1rem;
    color: #fff;
    margin: 0 0 8px;
    font-weight: 600;
}

.contact-card-link {
    display: block;
    color: #7dd3fc;
    text-decoration: none;
    font-size: .95rem;
    line-height: 1.7;
    transition: color .2s ease;
}

.contact-card-link:hover {
    color: #bae6fd;
    text-decoration: underline;
}

.contact-card-text {
    color: rgba(255, 255, 255, .75);
    font-size: .95rem;
    line-height: 1.5;
    margin: 0;
}

.service--clickable {
    cursor: pointer;
}

/* ===== Footer Business Hours ===== */
.footer-hours {
    margin-top: 8px;
}

.footer-hours h4 {
    font-size: 13px;
    color: rgba(234, 242, 255, .95);
    margin: 0 0 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-hours ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-hours ul li {
    font-size: 12px;
    color: rgba(234, 242, 255, .65);
    padding: 2px 0;
    font-weight: 600;
}

.footer-hours ul li::before {
    content: '•';
    margin-right: 6px;
    color: #7dd3fc;
}

.footer-hours-note {
    /*font-size: 11px;*/
    color: rgba(234, 242, 255, .5);
    margin: 6px 0 0;
    font-style: italic;
}

.hs-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    z-index: 9999;
}

/* Modal is now wider to accommodate card grid */
.hs-modal {
    width: min(900px, 96vw);
    background: #071b33;
    color: #eaf0ff;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    box-shadow: 0 24px 80px rgba(0,0,0,.5);
    padding: 18px 18px 16px;
}

.hs-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.hs-modal-title {
    margin: 0;
    font-size: 18px;
    line-height: 1.2;
}

.hs-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.06);
    color: #fff;
    font-size: 22px;
    line-height: 1;
}

/*for mobile menu*/
.burger {
    position: relative;
}

    .burger i {
        position: absolute;
    }

.icon-close {
    display: none;
}

.burger.is-open .icon-burger {
    display: none;
}

.burger.is-open .icon-close {
    display: block;
}

.mobile-menu a {
    padding: 14px 16px;
    border-radius: 12px;
    transition: background-color .15s ease, color .15s ease;
}

.mobile-menu a:hover {
    background-color: rgba(29, 78, 216, 0.08);
    color: #1d4ed8;
}
.mobile-menu a:active {
    background-color: rgba(29, 78, 216, 0.15);
}

/*------------------service modal scrolbar*/

/* ===== Modal scroll fix for mobile ===== */
.hs-modal {
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

/* Header stays fixed */
.hs-modal-head {
    flex-shrink: 0;
}

/* Scrollable card grid */
.hs-modal-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    overflow-y: auto;
    padding-right: 4px;
}

.hs-modal-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 12px;
    padding: 12px 14px;
    transition: background-color .2s ease, border-color .2s ease, transform .15s ease;
}

.hs-modal-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(125, 211, 252, 0.35);
    transform: translateY(-2px);
}

.hs-modal-card-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(29, 78, 216, 0.2);
    color: #7dd3fc;
    font-size: 15px;
}

.hs-modal-card-icon svg {
    width: 18px;
    height: 18px;
}

.hs-modal-card-text {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    color: #eaf0ff;
}

/* Mobile: 2 columns */
@media (max-width: 720px) {
    .hs-modal-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small mobile: 1 column */
@media (max-width: 560px) {
    .hs-modal {
        max-height: 85vh;
        width: 100%;
        border-radius: 16px;
    }

    .hs-modal-cards {
        grid-template-columns: 1fr;
        max-height: calc(85vh - 60px);
        -webkit-overflow-scrolling: touch;
    }
}

/* Mobile tap highlight */
@media (hover: none) {
    .hs-modal-card:active {
        background: rgba(255, 255, 255, 0.15);
        border-color: rgba(125, 211, 252, 0.4);
    }
}

/* ===== Font Awesome icon sizing for all containers ===== */
.chip i { font-size: 16px; color: var(--primary); }
.stat-icon i { font-size: 20px; }
.card .icon i { font-size: 24px; }
.learn i { font-size: 13px; }
.service .sicon i { font-size: 22px; }
.bicon i { font-size: 20px; }
.pill .check i { font-size: 14px; }
.mini .micon i { font-size: 22px; }
.social a i { font-size: 16px; }
.burger i { font-size: 20px; color: #22324a; }
.cta-card .icon { width: 56px; height: 56px; border-radius: 18px; background: rgba(232,239,255,.7); display: grid; place-items: center; border: 1px solid rgba(219,227,239,.8); }

/* ===== Nav-links hover color ===== */
.nav-links a:hover {
    color: var(--primary);
    opacity: 1;
}

/* ===== Card & section hover effects ===== */

/* Who We Serve cards */
.card {
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(29, 78, 216, .12);
    border-color: rgba(29, 78, 216, .25);
}
.card:hover .icon {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.card:hover .learn {
    color: var(--primary-600);
}

/* What We Do service tiles */
.service {
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.service:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(29, 78, 216, .14);
    border-color: rgba(29, 78, 216, .3);
    background: #f0f4ff;
}
.service:hover .sicon {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transition: background .25s ease, color .25s ease, border-color .25s ease;
}

/* Technology platform mini cards */
.mini {
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.mini:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 45px rgba(29, 78, 216, .12);
    border-color: rgba(29, 78, 216, .25);
}
.mini:hover .micon {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transition: background .25s ease, color .25s ease, border-color .25s ease;
}

/* Trust & Compliance pills */
.pill {
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.pill:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, .14);
    border-color: rgba(48, 199, 255, .3);
}
.pill:hover .check {
    background: rgba(48, 199, 255, .35);
    transition: background .2s ease;
}

/* Partner & Careers CTA cards */
.cta-card {
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.cta-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 55px rgba(29, 78, 216, .14);
    border-color: rgba(29, 78, 216, .25);
}
.cta-card:hover .icon {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.cta-card:hover .icon i {
    color: #fff !important;
}

/* Coverage bullets */
.bullets li {
    transition: transform .2s ease;
}
.bullets li:hover {
    transform: translateX(4px);
}
.bullets li:hover .bicon {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

/* ===== How It Works timeline animation ===== */

/* Before animation triggers, hide steps */
.timeline .step {
    opacity: 0;
    transform: translateY(24px);
}

/* The connecting line starts at zero width */
.timeline .timeline-line {
    transform-origin: left center;
    transform: scaleX(0);
}

/* Dot starts small */
.timeline .dot {
    transform: scale(0);
}

/* When timeline enters viewport — animate the line */
.timeline.is-animated .timeline-line {
    animation: hs-line-grow .8s cubic-bezier(.4, 0, .2, 1) forwards;
}

/* Staggered step fade-in */
.timeline.is-animated .step {
    animation: hs-step-in .5s cubic-bezier(.22, 1, .36, 1) forwards;
    animation-delay: calc(.15s + var(--i) * .14s);
}

/* Dot pops in after its step starts */
.timeline.is-animated .step .dot {
    animation: hs-dot-pop .45s cubic-bezier(.34, 1.56, .64, 1) forwards;
    animation-delay: calc(.2s + var(--i) * .14s);
}

@keyframes hs-line-grow {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}

@keyframes hs-step-in {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hs-dot-pop {
    0%  { transform: scale(0); }
    70% { transform: scale(1.15); }
    100%{ transform: scale(1); }
}

/* Hover lift on individual steps */
.timeline.is-animated .step {
    cursor: default;
    transition: transform .2s ease;
}
.timeline.is-animated .step:hover {
    transform: translateY(-4px);
}
.timeline.is-animated .step:hover .dot {
    box-shadow: 0 18px 40px rgba(29, 78, 216, .32);
    transition: box-shadow .2s ease;
}

/* ===== Coverage zone tree ===== */
.cov-panel {
    margin-top: 44px;
    border: 1px solid rgba(219,227,239,.95);
    border-radius: var(--radius-xl);
    background: var(--card);
    box-shadow: 0 18px 50px rgba(10,25,50,.07);
    overflow: hidden;
}
.cov-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(219,227,239,.85);
    background: rgba(246,248,251,.6);
    flex-wrap: wrap;
}
.cov-panel-title {
    margin: 0;
    font-size: 18px;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
}
.cov-panel-title i {
    color: var(--primary);
    font-size: 18px;
}
.cov-search-wrap {
    position: relative;
}
.cov-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    color: var(--muted);
    pointer-events: none;
}
.cov-search {
    padding: 10px 14px 10px 36px;
    border: 1px solid rgba(219,227,239,.95);
    border-radius: 12px;
    background: #fff;
    font: inherit;
    font-size: 14px;
    width: 260px;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.cov-search:focus {
    border-color: rgba(29,78,216,.5);
    box-shadow: 0 0 0 3px rgba(29,78,216,.08);
}
.cov-tree {
    max-height: 520px;
    overflow-y: auto;
    padding: 6px 0;
}
.cov-tree::-webkit-scrollbar { width: 6px; }
.cov-tree::-webkit-scrollbar-track { background: transparent; }
.cov-tree::-webkit-scrollbar-thumb { background: rgba(29,78,216,.15); border-radius: 6px; }

/* Rows */
.cov-row {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 11px 24px;
    border: none;
    background: none;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: background .15s ease;
    text-align: left;
}
.cov-row:hover {
    background: rgba(232,239,255,.55);
}
.cov-row--city {
    padding-left: 50px;
    font-weight: 600;
    font-size: 13.5px;
}
.cov-row--zone {
    padding-left: 76px;
    cursor: default;
    font-weight: 500;
    font-size: 13px;
    color: #3a4a64;
}
.cov-row--zone:hover {
    background: rgba(232,239,255,.35);
}

/* Arrow rotation */
.cov-arrow {
    font-size: 10px;
    color: var(--muted);
    transition: transform .2s ease;
    flex-shrink: 0;
    width: 14px;
    text-align: center;
}
.cov-node.is-open > .cov-row .cov-arrow {
    transform: rotate(90deg);
    color: var(--primary);
}

/* Icon badges */
.cov-flag {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-size: 13px;
}
.cov-row--state .cov-flag {
    background: rgba(232,239,255,.7);
    color: var(--primary);
    border: 1px solid rgba(219,227,239,.8);
}
.cov-row--city .cov-flag {
    background: rgba(232,239,255,.45);
    color: var(--primary);
    border: 1px solid rgba(219,227,239,.6);
    width: 26px;
    height: 26px;
    border-radius: 8px;
    font-size: 11px;
}
.cov-zone-pin {
    font-size: 12px;
    color: var(--primary);
    opacity: .6;
    flex-shrink: 0;
    width: 14px;
    text-align: center;
}
.cov-label {
    flex: 1;
    min-width: 0;
}
.cov-badge {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    color: var(--primary);
    background: var(--primary-100);
    padding: 3px 8px;
    border-radius: 8px;
}
.cov-count {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    white-space: nowrap;
}
.cov-zip {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    background: var(--primary-100);
    padding: 3px 10px;
    border-radius: 8px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.cov-zip i {
    font-size: 9px;
    opacity: .6;
}

/* Children slide */
.cov-children {
    animation: cov-slide .2s ease;
}
@keyframes cov-slide {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Divider between states */
.cov-state + .cov-state {
    border-top: 1px solid rgba(219,227,239,.5);
}

/* Empty state */
.cov-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 40px 24px;
    color: var(--muted);
    font-weight: 600;
    font-size: 14px;
}
.cov-empty i {
    font-size: 18px;
    opacity: .5;
}

/* Responsive */
@media (max-width: 560px) {
    .cov-search { width: 100%; }
    .cov-panel-head { flex-direction: column; align-items: stretch; }
    .cov-row--city { padding-left: 36px; }
    .cov-row--zone { padding-left: 52px; }
}

/* ===== Work Order Form Modal ===== */
.hs-modal--form {
    width: min(520px, 96vw);
    max-height: 92vh;
    display: flex;
    flex-direction: column;
}
.wo-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow-y: auto;
    padding: 4px 2px 2px;
}
.wo-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.wo-label {
    font-size: 13px;
    font-weight: 700;
    color: rgba(234,242,255,.85);
    display: flex;
    align-items: center;
    gap: 8px;
}
.wo-label i {
    font-size: 12px;
    color: #7dd3fc;
}
.wo-input,
.wo-textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    background: rgba(255,255,255,.06);
    color: #eaf0ff;
    font: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.wo-input::placeholder,
.wo-textarea::placeholder {
    color: rgba(234,242,255,.35);
}
.wo-input:focus,
.wo-textarea:focus {
    border-color: rgba(125,211,252,.45);
    background: rgba(255,255,255,.09);
    box-shadow: 0 0 0 3px rgba(125,211,252,.08);
}
.wo-input option {
    background-color: #071b33; /* Matches your .hs-modal background */
    color: #eaf0ff; /* Matches your light text color */
}
.wo-textarea {
    resize: vertical;
    min-height: 90px;
}
.wo-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 4px;
}
.wo-email-btn {
    gap: 8px;
}
.wo-actions .btn--ghost {
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.14);
    color: rgba(234,242,255,.85);
}
.wo-actions .btn--ghost:hover {
    background: rgba(255,255,255,.10);
}
.wo-hint {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    color: rgba(234,242,255,.45);
    display: flex;
    align-items: center;
    gap: 6px;
}
.wo-hint i {
    font-size: 11px;
    color: rgba(125,211,252,.5);
}

/* Clickable mini card (Work Orders) */
.mini--clickable {
    cursor: pointer;
}

/* ===== Work Order Toast / Status ===== */
.wo-toast {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    animation: wo-toast-in .3s ease;
}
.wo-toast--success {
    background: rgba(34,197,94,.15);
    border: 1px solid rgba(34,197,94,.35);
    color: #4ade80;
}
.wo-toast--error {
    background: rgba(239,68,68,.15);
    border: 1px solid rgba(239,68,68,.35);
    color: #f87171;
}
.wo-toast i {
    font-size: 16px;
    flex-shrink: 0;
}
.wo-toast-close {
    margin-left: auto;
    background: none;
    border: none;
    color: inherit;
    font-size: 18px;
    cursor: pointer;
    opacity: .6;
    padding: 0 2px;
    line-height: 1;
}
.wo-toast-close:hover {
    opacity: 1;
}
@keyframes wo-toast-in {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Submit button */
.wo-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.wo-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: hs-spin .7s linear infinite;
}

/* Responsive form */
@media (max-width: 560px) {
    .hs-modal--form {
        max-height: 88vh;
    }
    .wo-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ===== Loading screen ===== */
.hs-loader-wrap {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    background: rgba(255, 255, 255, .75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hs-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(29, 78, 216, .15);
    border-top-color: #1d4ed8;
    border-radius: 50%;
    animation: hs-spin .8s linear infinite;
}

@keyframes hs-spin {
    to { transform: rotate(360deg); }
}

.hs-loader-text {
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #2a3952;
    letter-spacing: -0.01em;
}