/* =====================================================
   GecnoGuru — Inner Page Styles (page.css)
   Deploy at: public_html/assets/page.css
   ===================================================== */

/* ---------- Page Hero Banner ---------- */
.page-hero {
    padding: 6rem 0 3rem;
    margin-top: 64px; /* navbar height */
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: -40%; left: -10%;
    width: 55%; height: 200%;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    pointer-events: none;
}
.page-hero-inner {
    text-align: center;
    position: relative;
    z-index: 1;
}
.page-hero-inner h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}
.breadcrumb-nav {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.75);
}
.breadcrumb-nav a { color: rgba(255,255,255,0.85); transition: color 0.2s; }
.breadcrumb-nav a:hover { color: #fff; }
.breadcrumb-nav i { font-size: 0.65rem; }

/* ---------- Page Main Area ---------- */
.page-main {
    padding: 3rem 0 5rem;
    background: #f8fafc;
    min-height: 60vh;
}
.page-content-card {
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 4px 40px rgba(0,0,0,0.07);
    padding: 3rem 3.5rem;
    line-height: 1.8;
    color: #334155;
    font-size: 1rem;
}

/* ---------- Inner Page Typography ---------- */
.page-content-card h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1e40af;
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #dbeafe;
}
.page-content-card h2:first-child { margin-top: 0; }
.page-content-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 1.5rem 0 0.5rem;
}
.page-content-card p { margin-bottom: 1.1rem; }
.page-content-card p:last-child { margin-bottom: 0; }
.page-content-card strong { color: #1e293b; font-weight: 700; }
.page-content-card ul,
.page-content-card ol {
    padding-left: 1.5rem;
    margin-bottom: 1.1rem;
}
.page-content-card li { margin-bottom: 0.5rem; }
.page-content-card address {
    font-style: normal;
    background: #f1f5f9;
    border-left: 4px solid #2563eb;
    padding: 1rem 1.25rem;
    border-radius: 0 0.5rem 0.5rem 0;
    margin: 1rem 0;
}

/* ---------- FAQ Specific ---------- */
.faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: box-shadow 0.2s;
}
.faq-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.07); }
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    font-weight: 700;
    color: #1e293b;
    cursor: pointer;
    background: #f8fafc;
    transition: background 0.2s;
    gap: 1rem;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 1rem;
    font-family: inherit;
}
.faq-question:hover { background: #eff6ff; }
.faq-question.open { background: #eff6ff; color: #1e40af; }
.faq-icon { font-size: 0.8rem; color: #2563eb; flex-shrink: 0; transition: transform 0.25s; }
.faq-question.open .faq-icon { transform: rotate(180deg); }
.faq-answer {
    display: none;
    padding: 1.25rem 1.5rem;
    background: #fff;
    color: #475569;
    border-top: 1px solid #e2e8f0;
    line-height: 1.75;
}
.faq-answer.open { display: block; }

/* ---------- About Page ---------- */
.about-lead {
    font-size: 1.15rem;
    color: #475569;
    line-height: 1.85;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

/* ---------- Policy Date Badge ---------- */
.policy-date {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #eff6ff;
    color: #1e40af;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    margin-bottom: 2rem;
    border: 1px solid #bfdbfe;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .page-content-card { padding: 2rem 1.25rem; }
    .page-hero          { padding: 5rem 0 2.5rem; }
}
