/* ═══════════════════════════════════════════════════════════════
   NotaryAssistantSCM – Professional Notary Website Styles
   ═══════════════════════════════════════════════════════════════ */

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
    --navy:        #1a2744;
    --navy-dark:   #0f1a2e;
    --navy-light:  #253a5e;
    --gold:        #c5a047;
    --gold-light:  #d4b76a;
    --gold-bg:     #fdf8ed;
    --text:        #2c3e50;
    --text-muted:  #6b7c93;
    --bg-light:    #f5f7fa;
    --bg-white:    #ffffff;
    --border:      #e2e8f0;
    --shadow-sm:   0 1px 3px rgba(0,0,0,.08);
    --shadow-md:   0 4px 12px rgba(0,0,0,.1);
    --shadow-lg:   0 8px 30px rgba(0,0,0,.12);
    --radius:      10px;
    --radius-sm:   6px;
    --transition:  all 0.25s ease;
}

/* ── Base ──────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    background: var(--bg-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.65;
}

main { flex: 1; }

a { color: var(--navy); transition: var(--transition); }
a:hover { color: var(--gold); }

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--navy);
    line-height: 1.3;
}

/* ── Navbar ────────────────────────────────────────────────── */
.navbar-notary {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
    padding: 0.6rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-notary .navbar-brand {
    font-weight: 700;
    font-size: 1.3rem;
    color: #fff !important;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    letter-spacing: 0.02em;
}

.navbar-notary .navbar-brand img {
    border-radius: 6px;
    border: 2px solid rgba(255,255,255,.15);
}

.navbar-notary .navbar-brand .brand-sub {
    font-size: 0.72rem;
    font-weight: 400;
    color: var(--gold-light);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: block;
    margin-top: 2px;
}

.navbar-notary .nav-link {
    color: rgba(255,255,255,.8) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    font-size: 0.92rem;
}

.navbar-notary .nav-link:hover,
.navbar-notary .nav-link.active {
    color: #fff !important;
    background: rgba(255,255,255,.1);
}

.btn-outline-login {
    color: var(--gold-light);
    border: 1px solid var(--gold);
    border-radius: 20px;
    padding: 0.4rem 1.2rem;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-outline-login:hover {
    background: var(--gold);
    color: var(--navy-dark) !important;
    border-color: var(--gold);
}

.navbar-notary .gold-divider {
    width: 1px;
    height: 20px;
    background: var(--gold);
    opacity: .4;
    margin: auto 0.5rem;
}

/* ── Hero Section ──────────────────────────────────────────── */
.hero-section {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
    color: #fff;
    padding: 3.5rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M54.627 0l.83.828-1.415 1.415L51.8 0h2.827zM5.373 0l-.83.828L5.96 2.243 8.2 0H5.374zM48.97 0l3.657 3.657-1.414 1.414L46.143 0h2.828zM11.03 0L7.372 3.657 8.787 5.07 13.857 0H11.03zm32.284 0L49.8 6.485 48.384 7.9l-7.9-7.9h2.83zM16.686 0L10.2 6.485 11.616 7.9l7.9-7.9h-2.83zM22.344 0L13.858 8.485 15.272 9.9l9.9-9.9h-2.828zM27 0l-9.9 9.9 1.415 1.414L29.828 0H27zm5.657 0L22.343 10.314l1.414 1.414L35.485 0h-2.828z' fill='%23ffffff' fill-opacity='0.02' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.hero-section .container { position: relative; z-index: 1; }

.hero-section h1 {
    color: #fff;
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.hero-section .hero-subtitle {
    color: var(--gold-light);
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.hero-section .hero-tagline {
    color: rgba(255,255,255,.65);
    font-size: 0.92rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 1rem;
    max-width: 500px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(197,160,71,.15);
    border: 1px solid rgba(197,160,71,.3);
    color: var(--gold-light);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.3rem 0.85rem;
    border-radius: 20px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

/* ── Section Titles ────────────────────────────────────────── */
.section-title {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 0.25rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.section-divider {
    width: 50px;
    height: 3px;
    background: var(--gold);
    border: none;
    margin: 0.75rem 0 1.5rem;
    border-radius: 2px;
}

/* ── Document Category Cards ──────────────────────────────── */
.doc-category {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    overflow: hidden;
}

.doc-category:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    border-color: var(--gold);
}

.doc-category-header {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: #fff;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.doc-category-header .cat-icon {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,.12);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.doc-category-header h5 {
    color: #fff;
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.doc-category-body {
    padding: 1.25rem;
}

.doc-category-body .cat-description {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.55;
    margin-bottom: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--border);
}

.doc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.doc-list li {
    padding: 0.4rem 0;
    font-size: 0.9rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.doc-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
}

.doc-list li + li {
    border-top: 1px dashed rgba(0,0,0,.06);
}

/* ── Verify Page ──────────────────────────────────────────── */
.verify-page-header {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
    color: #fff;
    padding: 2.5rem 0 2rem;
    margin-bottom: 2rem;
}

.verify-page-header h1 {
    color: #fff;
    font-size: 2rem;
}

.verify-page-header p {
    color: rgba(255,255,255,.7);
}

.verify-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 2rem;
    max-width: 520px;
}

.verify-card .form-label {
    font-weight: 600;
    color: var(--navy);
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
}

.verify-card .form-control {
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border);
    padding: 0.6rem 0.85rem;
    font-size: 0.95rem;
    transition: var(--transition);
}

.verify-card .form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(197,160,71,.15);
}

.btn-verify {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 0.65rem 2rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    font-size: 0.95rem;
}

.btn-verify:hover {
    background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy) 100%);
    color: #fff;
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

/* ── Results Table ─────────────────────────────────────────── */
.tableReport {
    border: 1px solid var(--border);
    border-collapse: collapse;
    width: 100%;
    background: var(--bg-white);
    margin-top: 1.5rem;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.tableReport td {
    border: 1px solid var(--border);
    padding: 12px 16px;
    vertical-align: top;
    font-size: 0.92rem;
}

/* ── Contact Page ──────────────────────────────────────────── */
.contact-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    overflow: hidden;
}

.contact-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.contact-card-header {
    background: var(--navy);
    color: #fff;
    padding: 0.85rem 1.25rem;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-card-body {
    padding: 1.25rem;
}

.contact-card-body p {
    margin-bottom: 0.5rem;
    font-size: 0.92rem;
}

.contact-card-body a {
    color: var(--navy);
    font-weight: 500;
}

.contact-card-body a:hover {
    color: var(--gold);
}

/* ── Info Banner ──────────────────────────────────────────── */
.info-banner {
    background: var(--gold-bg);
    border: 1px solid rgba(197,160,71,.2);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1.25rem;
    font-size: 0.88rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-banner .bi {
    color: var(--gold);
    font-size: 1.1rem;
}

/* ── Footer ────────────────────────────────────────────────── */
.footer-notary {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
    color: rgba(255,255,255,.7);
    padding: 1.5rem 0;
    margin-top: auto;
    font-size: 0.85rem;
}

.footer-notary a {
    color: var(--gold-light);
    text-decoration: none;
}

.footer-notary a:hover {
    color: #fff;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,.08);
    margin: 0.75rem 0;
}

/* ── Utilities ─────────────────────────────────────────────── */
.text-gold { color: var(--gold) !important; }
.bg-navy   { background-color: var(--navy) !important; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 767.98px) {
    .hero-section { padding: 2.5rem 0 2rem; }
    .hero-section h1 { font-size: 1.75rem; }
    .hero-section .hero-subtitle { font-size: 1rem; }
    .verify-card { padding: 1.5rem; }
    .section-title { font-size: 1.35rem; }
    .navbar-notary .navbar-brand { font-size: 1.1rem; }
    .navbar-notary .navbar-brand img { height: 40px !important; }
}

@media (max-width: 575.98px) {
    .hero-section h1 { font-size: 1.5rem; }
    .doc-category-header { padding: 0.85rem 1rem; }
    .doc-category-body { padding: 1rem; }
}
