/* ========================================
   Topline Appliance Services - Main CSS
   ======================================== */

:root {
    --navy: #0f2554;
    --navy-dark: #091a3d;
    --navy-mid: #1a3a6e;
    --orange: #f59e0b;
    --orange-dark: #d97706;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --border-color: #e2e8f0;
}

* { box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background: #fff;
}

/* ---- Top Bar ---- */
.topbar {
    background: var(--navy-dark);
    color: #94a3b8;
    font-size: 0.82rem;
    padding: 6px 0;
}
.topbar-link {
    color: var(--orange);
    text-decoration: none;
    font-weight: 600;
}
.topbar-link:hover { color: #fcd34d; }

/* ---- Navbar ---- */
.navbar { padding: 10px 0; }
.navbar-logo {
    height: 78px;
    width: auto;
    display: block;
    object-fit: contain;
}
.footer-logo {
    height: 44px;
    width: auto;
    /* PNG has navy color — add brightness filter to show on dark footer */
    filter: brightness(0) invert(1);
    opacity: 0.9;
}
.brand-icon {
    width: 44px;
    height: 44px;
    background: var(--navy);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    font-size: 1.2rem;
    flex-shrink: 0;
}
.brand-icon-sm {
    width: 36px;
    height: 36px;
    font-size: 1rem;
    border-radius: 8px;
}
.brand-name {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--navy);
    line-height: 1.1;
}
.brand-sub {
    font-size: 0.68rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.03em;
    line-height: 1.2;
}
.nav-link {
    color: var(--text-dark) !important;
    font-size: 0.93rem;
    padding: 6px 12px !important;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
}
.nav-link:hover { background: #f1f5f9; color: var(--navy) !important; }
.dropdown-menu { border-radius: 12px; padding: 8px; min-width: 220px; }
.dropdown-item { border-radius: 8px; padding: 8px 12px; font-size: 0.9rem; }
.dropdown-item:hover { background: #f1f5f9; }

/* Bootstrap overrides for primary */
.btn-primary { background: var(--navy); border-color: var(--navy); border-radius: 8px; }
.btn-primary:hover { background: var(--navy-mid); border-color: var(--navy-mid); }
.btn-warning { background: var(--orange); border-color: var(--orange); color: #fff; border-radius: 8px; }
.btn-warning:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: #fff; }
.btn-outline-primary { border-color: var(--navy); color: var(--navy); border-radius: 8px; }
.btn-outline-primary:hover { background: var(--navy); border-color: var(--navy); }

/* ---- Hero ---- */
.hero-section {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, #1e4d8c 100%);
    color: white;
    padding: 90px 0 80px;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 400px; height: 400px;
    background: rgba(245,158,11,0.08);
    border-radius: 50%;
}
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -40px;
    width: 300px; height: 300px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(245,158,11,0.15);
    border: 1px solid rgba(245,158,11,0.4);
    color: var(--orange);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 18px;
}
.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 18px;
}
.hero-title span { color: var(--orange); }
.hero-subtitle { font-size: 1.1rem; color: #94a3b8; max-width: 520px; }
.hero-phone {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--orange);
    text-decoration: none;
}
.hero-phone:hover { color: #fcd34d; }
.hero-card {
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.3);
}
.hero-card .card-title { font-weight: 700; color: var(--navy); font-size: 1.1rem; }
.trust-row { font-size: 0.82rem; color: #94a3b8; }
.trust-row i { color: var(--orange); }
.hero-appliance-img {
    width: 100%;
    max-width: 580px;
    border-radius: 20px;
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.35));
    animation: float 4s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}

/* ---- Appliance Cards ---- */
.section-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--orange);
}
.section-title { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; color: var(--navy); }
.appliance-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    transition: all 0.25s ease;
    cursor: pointer;
    text-decoration: none;
    display: block;
    color: var(--text-dark);
}
.appliance-card:hover {
    border-color: var(--navy);
    box-shadow: 0 8px 30px rgba(15,37,84,0.12);
    transform: translateY(-4px);
    color: var(--navy);
}
.appliance-icon {
    width: 64px; height: 64px;
    background: #eff6ff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--navy);
    margin: 0 auto 14px;
    transition: background 0.25s;
}
.appliance-card:hover .appliance-icon { background: var(--navy); color: white; }
.appliance-card h6 { font-weight: 700; font-size: 0.92rem; margin-bottom: 4px; }
.appliance-card small { color: var(--text-muted); font-size: 0.8rem; }

/* ---- How It Works ---- */
.how-section { background: var(--bg-light); }
.step-num {
    width: 52px; height: 52px;
    background: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.2rem;
    margin: 0 auto 16px;
}
.step-card {
    text-align: center;
    padding: 20px;
}
.step-card h5 { font-weight: 700; color: var(--navy); }

/* ---- Trust Stats ---- */
.stat-card { text-align: center; }
.stat-number { font-size: 2.8rem; font-weight: 800; color: var(--navy); line-height: 1; }
.stat-label { color: var(--text-muted); font-size: 0.92rem; margin-top: 4px; }

/* ---- Testimonials ---- */
.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    border: 1px solid var(--border-color);
    height: 100%;
}
.stars { color: var(--orange); font-size: 0.9rem; }
.testimonial-text { font-size: 0.95rem; color: var(--text-dark); line-height: 1.7; font-style: italic; }
.reviewer-avatar {
    width: 44px; height: 44px;
    background: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1rem;
}
.reviewer-name { font-weight: 700; font-size: 0.9rem; color: var(--navy); }
.reviewer-detail { font-size: 0.78rem; color: var(--text-muted); }

/* ---- CTA Banner ---- */
.cta-banner {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
    color: white;
    padding: 70px 0;
}
.cta-banner h2 { font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.4rem); }

/* ---- Services Page ---- */
.service-hero {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
    padding: 60px 0 50px;
    color: white;
}
.service-icon-lg {
    width: 80px; height: 80px;
    background: rgba(255,255,255,0.12);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.service-feature-icon {
    width: 48px; height: 48px;
    background: #eff6ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    font-size: 1.3rem;
    flex-shrink: 0;
}
.issue-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 0.88rem;
    color: var(--text-dark);
}
.issue-chip i { color: var(--navy); }

/* ---- Booking Form ---- */
.booking-hero {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
    padding: 50px 0;
    color: white;
}
.form-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    padding: 40px;
}
.form-label { font-weight: 600; font-size: 0.88rem; color: var(--text-dark); }
.form-control, .form-select {
    border-radius: 10px;
    border: 1.5px solid var(--border-color);
    padding: 10px 14px;
    font-size: 0.93rem;
    transition: border-color 0.2s;
}
.form-control:focus, .form-select:focus {
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(15,37,84,0.1);
}
.step-indicator {
    display: flex;
    gap: 8px;
    margin-bottom: 28px;
}
.step-dot {
    height: 4px;
    flex: 1;
    background: var(--border-color);
    border-radius: 4px;
}
.step-dot.active { background: var(--navy); }

/* ---- About ---- */
.about-hero {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
    padding: 60px 0;
    color: white;
}
.value-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 28px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.value-card:hover { border-color: var(--navy); box-shadow: 0 8px 24px rgba(15,37,84,0.1); }
.value-icon {
    width: 56px; height: 56px;
    background: #eff6ff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    font-size: 1.5rem;
    margin-bottom: 16px;
}

/* ---- Contact ---- */
.contact-hero {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
    padding: 60px 0;
    color: white;
}
.contact-info-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    border: 1px solid var(--border-color);
}
.contact-icon {
    width: 48px; height: 48px;
    background: #eff6ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* ---- Confirmation ---- */
.confirmation-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    padding: 48px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}
.confirmation-icon {
    width: 80px; height: 80px;
    background: #dcfce7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2.5rem;
    color: #16a34a;
}

/* ---- Footer ---- */
.footer-main { background: var(--navy-dark); }
.footer-heading { color: #e2e8f0; font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: #94a3b8; text-decoration: none; font-size: 0.9rem; transition: color 0.15s; }
.footer-links a:hover { color: var(--orange); }
.footer-contact li { display: flex; align-items: flex-start; gap: 12px; color: #94a3b8; font-size: 0.9rem; margin-bottom: 12px; }
.footer-contact i { color: var(--orange); margin-top: 2px; flex-shrink: 0; }
.footer-contact a { color: #94a3b8; text-decoration: none; transition: color 0.15s; }
.footer-contact a:hover { color: var(--orange); }
.footer-text { color: #64748b; font-size: 0.88rem; line-height: 1.6; }
.footer-hr { border-color: rgba(255,255,255,0.08); margin: 28px 0 20px; }
.footer-legal { color: #64748b; text-decoration: none; font-size: 0.85rem; transition: color 0.15s; }
.footer-legal:hover { color: var(--orange); }
.social-icon {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
.social-icon:hover { background: var(--orange); color: white; }

/* ---- Alert ---- */
.alert-success { background: #f0fdf4; border-color: #bbf7d0; color: #15803d; border-radius: 12px; }

/* ========================================
   PULS-STYLE APPLIANCE GRID (Home Page)
   ======================================== */
.puls-appliance-card {
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    padding: 28px 16px 20px;
    cursor: pointer;
    transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
    min-height: 150px;
}
.puls-appliance-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.1);
    border-color: #9ca3af;
    transform: translateY(-3px);
}
.puls-appliance-icon {
    font-size: 2.6rem;
    color: #374151;
    line-height: 1;
    transition: color 0.2s;
}
.puls-appliance-card:hover .puls-appliance-icon { color: var(--navy); }
.puls-appliance-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #374151;
    text-align: center;
    line-height: 1.3;
}
.puls-appliance-card:hover .puls-appliance-label { color: var(--navy); }

/* Hero quick-select buttons */
.hero-appliance-btn {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    transition: all 0.2s;
    color: #0f2554;
    padding: 10px 8px;
    min-height: 72px;
}
.hero-appliance-btn:hover {
    background: #eff6ff;
    border-color: #0f2554;
    transform: translateY(-2px);
}
.hero-appliance-btn i { color: #0f2554; }

/* ========================================
   BRAND MARQUEE STRIP
   ======================================== */
.brand-strip {
    background: #fff;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    overflow: hidden;
}
.brand-marquee-wrapper {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}
.brand-marquee-wrapper::before,
.brand-marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 80px;
    z-index: 2;
}
.brand-marquee-wrapper::before { left: 0; background: linear-gradient(to right, #fff 0%, transparent 100%); }
.brand-marquee-wrapper::after  { right: 0; background: linear-gradient(to left, #fff 0%, transparent 100%); }

.brand-marquee {
    display: inline-flex;
    align-items: center;
    gap: 56px;
    padding: 8px 0;
    animation: marquee-scroll 28s linear infinite;
}
.brand-marquee:hover { animation-play-state: paused; }

@keyframes marquee-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Individual brand logo styles */
.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 700;
    font-size: 1.05rem;
    color: #374151;
    letter-spacing: -0.01em;
    flex-shrink: 0;
    opacity: 0.75;
    transition: opacity 0.2s;
    cursor: default;
    white-space: nowrap;
}
.brand-logo:hover { opacity: 1; }

/* Brand circle badges (GE, LG, Bosch) */
.brand-circle {
    width: 32px; height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 800;
    flex-shrink: 0;
}
.brand-ge .brand-circle        { background: #003087; color: #fff; font-size: 0.7rem; }
.brand-circle-bosch             { background: #e20015; color: #fff; font-size: 0.72rem; }
.brand-circle-lg                { background: #a50034; color: #fff; font-size: 0.65rem; }

/* Per-brand font styling */
.brand-ge         { font-size: 1rem; }
.brand-sharp      { font-size: 1.15rem; letter-spacing: 0.06em; }
.brand-bosch      { font-size: 1.05rem; letter-spacing: 0.03em; }
.brand-samsung    { font-size: 1.1rem; letter-spacing: -0.02em; }
.brand-lg         { font-size: 1.05rem; }
.brand-frigidaire { font-size: 0.95rem; letter-spacing: 0.04em; }
.brand-kenmore    { font-size: 1.1rem; font-style: italic; font-weight: 800; }
.brand-whirlpool  { font-size: 1rem; }
.brand-maytag     { font-size: 1.05rem; letter-spacing: 0.03em; color: #c41e3a; }
.brand-kitchenaid { font-size: 0.95rem; }
.brand-electrolux { font-size: 0.95rem; }
