/* ============================================================
   ZOOM Audits — Site Styles (Bootstrap 5.1.3 companion)
   ============================================================ */

/* ----- Brand Colors ----- */
:root {
    --zoom-blue: #0d6efd;
    --zoom-dark: #1a2332;
    --zoom-gradient: linear-gradient(135deg, #1a2332 0%, #0d6efd 100%);
    --zoom-cta-gradient: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
}

/* ----- Global ----- */
html {
    scroll-behavior: smooth;
}

h1:focus, h2:focus, h3:focus,
h1:focus-visible, h2:focus-visible, h3:focus-visible {
    outline: none;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

/* ----- Brand Accent (mixed black/blue headings) ----- */
.text-zoom-blue {
    color: var(--zoom-blue);
}

/* ----- Hero Section (Home) — Video Background ----- */
.hero-section {
    position: relative;
    overflow: hidden;
    background: var(--zoom-gradient); /* Fallback if video fails to load */
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.45) 0%, rgba(13, 110, 253, 0.35) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-feature {
    padding: 1.5rem 1rem;
}

/* ----- Page Header (Interior Pages) ----- */
.page-header {
    background: var(--zoom-gradient);
    background-size: cover;
    background-position: center;
}

.page-header-services {
    background-image: linear-gradient(135deg, rgba(26, 35, 50, 0.75) 0%, rgba(13, 110, 253, 0.6) 100%), url('../images/page-header-bg.jpg');
}

.page-header-about {
    background-image: linear-gradient(135deg, rgba(26, 35, 50, 0.75) 0%, rgba(13, 110, 253, 0.6) 100%), url('../images/about-bg.jpg');
}

.page-header-contact {
    background-image: linear-gradient(135deg, rgba(26, 35, 50, 0.75) 0%, rgba(13, 110, 253, 0.6) 100%), url('../images/contact-bg.jpg');
}

.page-header-policyholders {
    background-image: linear-gradient(135deg, rgba(26, 35, 50, 0.75) 0%, rgba(13, 110, 253, 0.6) 100%), url('../images/policy-bg.jpg');
}

/* ----- CTA Banner ----- */
.cta-section {
    background: var(--zoom-cta-gradient);
}

/* ----- Comparison Table ----- */
.compare-card {
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.08);
    background: #fff;
}

.compare-table {
    border: none !important;
    border-collapse: separate !important;
    border-spacing: 0;
    margin-bottom: 0 !important;
}

.compare-table th,
.compare-table td {
    vertical-align: middle;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    border-bottom: 1px solid #e9ecef !important;
}

.compare-table tbody tr:last-child td {
    border-bottom: none !important;
}

.compare-header {
    background-color: #f1f3f5 !important;
    color: #333;
    font-weight: 600;
    border-bottom: 2px solid #dee2e6 !important;
}

.compare-header-zoom {
    background-color: var(--zoom-blue) !important;
    color: #fff !important;
    font-weight: 600;
    border-bottom: 2px solid #0b5ed7 !important;
}

/* ----- Product Icons (e-Audit / ShareAudit cards) ----- */
.product-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e8f0fe 0%, #cfe2ff 100%);
    color: var(--zoom-blue);
    font-size: 2.25rem;
}

/* ----- Cards ----- */
.card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.12) !important;
}

/* ----- Footer (Light) ----- */
.footer-light {
    background-color: #f8f9fa;
}

.footer-link {
    color: #555;
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-link:hover {
    color: var(--zoom-blue);
}

/* ----- Navbar Adjustments ----- */
.navbar-brand img {
    max-height: 40px;
    border: none;
    outline: none;
}

.navbar .nav-link {
    color: #555 !important;
    font-size: 0.95rem;
}

.navbar .nav-link:hover {
    color: var(--zoom-blue) !important;
}

.navbar .btn-primary {
    font-size: 0.875rem;
    border-radius: 4px;
}

/* ----- Form validation ----- */
.validation-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* ----- Responsive ----- */
@media (max-width: 767.98px) {
    .hero-section {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .display-4 {
        font-size: 2rem;
    }

    .display-5 {
        font-size: 1.75rem;
    }
}
