/* Public Website Styles - Samvidhanghar */

:root {
    --primary: #334155;
    --primary-dark: #1e293b;
    --secondary: #d97706;
    --accent: #f59e0b;
    --danger: #dc2626;
    --bg: #f8fafc;
    --card: #ffffff;
    --text: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --shadow: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-lg: 0 4px 6px rgba(0,0,0,0.1);
    --radius: 12px;
    --radius-sm: 8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

/* Header */
.site-header {
    background: var(--card);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    font-size: 1.25rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.logo-icon { font-size: 1.5rem; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    list-style: none;
}

.nav-links .nav-hide-tablet {
    display: list-item;
}

@media (max-width: 1023px) {
    .nav-links .nav-hide-tablet { display: none; }
}

.nav-links a { display: inline-flex; align-items: center; gap: 0.35rem; }
.nav-links a:not(.btn) {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.82rem;
    position: relative;
}
.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.25s ease;
}
.nav-links a:not(.btn):hover::after {
    width: 100%;
}
.nav-links a:not(.btn):hover { color: var(--text); text-decoration: none; }
.nav-links a i { font-size: 0.78rem; }

.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }

/* Hero */
.hero {
    background: linear-gradient(135deg, #334155 0%, #475569 100%);
    color: white;
    padding: 4rem 1rem;
    text-align: center;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.text-gradient {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-actions .btn-primary {
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}

.hero-actions .btn-outline {
    color: white;
    border-color: white;
}

.hero-actions .btn-outline:hover {
    background: rgba(255,255,255,0.15);
    color: white;
    border-color: white;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
    text-decoration: none;
    gap: 0.5rem;
}

.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary { background: var(--primary); color: white; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }

.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: white; }

.btn-link { background: none; color: var(--primary); padding: 0; border: none; }
.btn-link:hover { text-decoration: underline; transform: none; }

.btn-sm { padding: 0.375rem 0.75rem; font-size: 0.8rem; }
.btn-lg { padding: 0.875rem 2rem; font-size: 1rem; }
.btn-full { width: 100%; }
.btn-danger { background: var(--danger); color: white; border-color: var(--danger); }

/* Stats Section */
.stats-section { padding: 3rem 1rem; }

.stats-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.stat-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
}

.stat-number { display: block; font-size: 1.75rem; font-weight: 700; color: var(--primary); }
.stat-label { font-size: 0.85rem; color: var(--text-muted); }

/* Sections */
.section-title {
    text-align: center;
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 2rem;
}

.exams-section, .features-section {
    padding: 3rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Exam Cards */
.exam-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.exam-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: box-shadow 0.2s, transform 0.2s;
    text-decoration: none;
    color: var(--text);
    display: block;
}

.exam-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    text-decoration: none;
}

.exam-card-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.exam-card h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.exam-card p { font-size: 0.85rem; color: var(--text-muted); }

/* Full-width exam cards (exams listing page) */
.exam-cards-full {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}
.exam-cards-full .exam-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: var(--shadow);
    transition: box-shadow 0.2s, transform 0.2s;
    text-decoration: none;
    color: var(--text);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.exam-cards-full .exam-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    text-decoration: none;
}
.exam-tag {
    display: inline-block;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: #eff6ff;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    align-self: flex-start;
    margin-top: auto;
}

/* Notifications Section */
.notifications-section {
    background: var(--card);
    padding: 3rem 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.notification-ticker { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1rem; }

.notification-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: var(--bg);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}

.notification-badge {
    background: var(--accent);
    color: white;
    padding: 0.125rem 0.5rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.notification-date { color: var(--text-muted); font-size: 0.8rem; margin-left: auto; white-space: nowrap; }

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    text-align: center;
    padding: 2rem 1rem;
}

.feature-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.feature-card h3 { margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.9rem; color: var(--text-muted); }

/* CTA */
.cta-section {
    background: linear-gradient(135deg, #334155, #1e293b);
    color: white;
    text-align: center;
    padding: 4rem 1rem;
}

.cta-content { max-width: 600px; margin: 0 auto; }
.cta-content h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1rem; }
.cta-content p { margin-bottom: 2rem; opacity: 0.9; }
.cta-content .btn-primary { background: white; color: #334155; border-color: white; }
.cta-content .btn-primary:hover { background: #f1f5f9; }

/* Footer */
.site-footer {
    background: #1e293b;
    color: #cbd5e1;
    padding: 3rem 1rem 1.5rem;
}

.footer-container { max-width: 1200px; margin: 0 auto; }

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h4 { color: white; margin-bottom: 1rem; font-size: 1rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: #94a3b8; }
.footer-col a:hover { color: white; }

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
}

.footer-credit {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: #64748b;
}

.footer-credit a {
    color: #94a3b8;
    font-weight: 600;
    transition: color 0.2s;
}

.footer-credit a:hover {
    color: white;
    text-decoration: none;
}

.disclaimer {
    color: #64748b;
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

/* Auth Pages */
.auth-container {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.auth-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 2rem;
    width: 100%;
    max-width: 400px;
    box-shadow: var(--shadow-lg);
}

.auth-card h1 { font-size: 1.5rem; margin-bottom: 1.5rem; text-align: center; }

.auth-link {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Forms */
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; margin-bottom: 0.375rem; font-weight: 500; font-size: 0.9rem; }
.form-input {
    width: 100%;
    padding: 0.625rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color 0.2s;
}
.form-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,86,219,0.1); }
textarea.form-input { resize: vertical; min-height: 100px; }

/* Page Header */
.page-header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    text-align: center;
}
.page-header h1 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.5rem; }
.page-header p { color: var(--text-muted); }

.content-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem 3rem;
}
.content-page h2 { font-size: 1.25rem; margin: 1.5rem 0 0.75rem; }
.content-page p, .content-page li { line-height: 1.7; color: var(--text-muted); }
.content-page ul { padding-left: 1.5rem; }
.content-page li { margin-bottom: 0.5rem; }

.disclaimer-banner {
    background: #fef3c7;
    color: #92400e;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    margin: 1rem 0;
}

.filter-bar {
    max-width: 1200px;
    margin: 0 auto 1.5rem;
    padding: 0 1rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.filter-bar .form-input { flex: 1; min-width: 210px; }
.badge, .badge-row {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.badge {
    padding: 0.25rem 0.65rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--bg);
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
}
.badge-row { display: flex; flex-wrap: wrap; margin-top: 1rem; }
.flowchart-grid {
    max-width: 1200px;
    margin: 0 auto 2rem;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 1rem;
}
.flowchart-card { overflow: hidden; padding: 0; }
.flowchart-card > a { display: block; height: 210px; background: var(--bg); }
.flowchart-card img { width: 100%; height: 100%; object-fit: cover; }
.flowchart-card-body { padding: 1rem; }
.flowchart-card-body h2 { margin: 0.65rem 0; font-size: 1.1rem; }
.flowchart-card-body small { color: var(--text-muted); }
.flowchart-public-detail {
    max-width: 1000px;
    margin: 2rem auto 1rem;
}
.flowchart-public-detail > img {
    display: block;
    max-width: 100%;
    max-height: 75vh;
    margin: 0 auto 1rem;
    border-radius: var(--radius-sm);
}
.empty-state { text-align: center; padding: 2rem; }
.question-list {
    max-width: 1000px;
    margin: 0 auto 2rem;
    padding: 0 1rem;
    display: grid;
    gap: 1rem;
}
.question-card h2 { margin: 0.65rem 0; font-size: 1.1rem; line-height: 1.5; }
.question-detail { max-width: 900px; margin: 2rem auto; }
.question-detail h1 { margin: 1rem 0; font-size: clamp(1.25rem, 3vw, 1.75rem); line-height: 1.6; }
.question-options { display: grid; gap: 0.75rem; margin: 1rem 0; padding-left: 1.5rem; }
.question-options li { padding: 0.85rem; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.answer-reveal { margin-top: 1rem; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.answer-reveal summary { padding: 0.85rem; background: #eff6ff; color: #1e40af; cursor: pointer; font-weight: 600; }
.answer-reveal > div { padding: 1rem; }

/* Tags */
.tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: var(--bg);
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid var(--border);
    transition: all 0.2s;
}
.tag:hover, .tag.active { background: var(--primary); color: white; border-color: var(--primary); text-decoration: none; }

.notifications-filter {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem 1rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.notifications-list {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem 3rem;
}

/* Error Page */
.error-page { display: flex; align-items: center; justify-content: center; min-height: 60vh; }
.error-container { text-align: center; }
.error-container h1 { font-size: 4rem; color: var(--primary); }
.error-container p { color: var(--text-muted); margin: 1rem 0 2rem; }

/* Text utilities */
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-sm { font-size: 0.85rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }

/* Responsive */
/* Enhanced Exam Category Cards */
.exam-card-enhanced {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.exam-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.exam-card-icon-large {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
}

.exam-card-icon-large i {
    display: inline-block;
    width: 56px;
    height: 56px;
    line-height: 56px;
    text-align: center;
    background: #f0f5ff;
    border-radius: 12px;
    font-size: 1.75rem;
    color: #1a56db;
}

.exam-card-enhanced h3 {
    font-size: 1rem;
    margin-bottom: 0;
}

.exam-card-stats {
    display: flex;
    gap: 0.75rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border);
}

.exam-stat-item {
    flex: 1;
    text-align: center;
}

.exam-stat-num {
    display: block;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
}

.exam-stat-lbl {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* Status badge colors */
.notification-badge.type-notification { background: var(--primary); }
.notification-badge.type-result { background: var(--secondary); }
.notification-badge.type-admit_card { background: var(--accent); }
.notification-badge.type-question_paper { background: #8b5cf6; }
.notification-badge.type-answer_key { background: #ec4899; }
.notification-badge.type-deadline { background: var(--danger); }
.notification-badge.type-scheme_update { background: #14b8a6; }

/* ── Language Dropdown ── */
.lang-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.lang-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.5rem;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 500;
    color: #475569;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.lang-dropdown-trigger:hover {
    background: #f1f5f9;
    color: #1e293b;
}
.lang-globe-icon {
    font-size: 1rem;
    color: #94a3b8;
    transition: color 0.2s, transform 0.3s ease;
}
.lang-dropdown-trigger:hover .lang-globe-icon {
    color: #1a56db;
    transform: rotate(-12deg);
}
.lang-chevron {
    font-size: 0.55rem;
    color: #cbd5e1;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.lang-dropdown:hover .lang-chevron { transform: rotate(180deg); }
.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: -4px;
    min-width: 190px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 0.4rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.95);
    transform-origin: top right;
    transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.2s ease;
    z-index: 500;
    pointer-events: none;
}
.lang-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 14px;
    background: transparent;
}
.lang-dropdown:hover .lang-dropdown-menu,
.lang-dropdown-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.lang-option {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.6rem 0.75rem;
    border-radius: 8px;
    text-decoration: none;
    color: #334155;
    transition: background 0.15s ease;
    cursor: pointer;
}
.lang-option:hover {
    background: #f1f5f9;
}
.lang-option.active {
    background: #eff6ff;
    color: #1a56db;
}
.lang-option-native {
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.3;
    min-width: 4ch;
}
.lang-option-name {
    font-size: 0.75rem;
    color: #94a3b8;
    line-height: 1.3;
}
@media (max-width: 767px) {
    .nav-container { flex-wrap: wrap; }
    .nav-links { display: none; flex-direction: column; gap: 0; width: 100%; margin-top: 0.5rem; padding: 0.5rem 0; }
    .nav-links.open { display: flex; animation: navSlideDown 0.25s ease; }
    .nav-links li { width: 100%; }
    .nav-links a { display: flex; align-items: center; gap: 0.4rem; padding: 0.65rem 0; border-top: 1px solid #f1f5f9; }
    .nav-links .btn { justify-content: center; }
    .nav-toggle { display: block; }
    .nav-logo { font-size: 1.1rem; }
    .logo-text { font-size: 1rem; }
    .hero { padding: 3rem 1rem; }
    .exam-cards { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .notification-item { flex-wrap: wrap; }
    .notification-date { margin-left: 0; width: 100%; }
    .exam-card-stats { flex-wrap: wrap; }
}

@keyframes navSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 420px) {
    .nav-logo { font-size: 1rem; }
    .logo-icon { font-size: 1.25rem; }
    .nav-container { padding: 0.5rem 0.75rem; }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .exam-cards { grid-template-columns: repeat(2, 1fr); }
}

/* ── Syllabus Content Styling ── */
.syllabus-content h5 {
    font-size: 1rem;
    color: #1e293b;
    margin: 1rem 0 0.5rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid #e2e8f0;
}
.syllabus-content h5:first-child { margin-top: 0; }
.syllabus-content ul {
    margin: 0.25rem 0 0.75rem;
    padding-left: 1.25rem;
}
.syllabus-content ul ul {
    margin: 0.25rem 0 0.25rem 1rem;
}
.syllabus-content li {
    margin-bottom: 0.3rem;
    line-height: 1.6;
}
.syllabus-content p {
    margin: 0.5rem 0;
    line-height: 1.7;
}
.syllabus-content strong {
    color: #1e293b;
}

/* ── Exam Detail Page ── */
.exam-detail-page .page-header {
    margin-bottom: 0.5rem;
}
.exam-tab-content {
    padding-top: 0.5rem;
}
.exam-section h3 {
    font-size: 1.1rem;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}
.exam-section h4 {
    font-size: 0.95rem;
    color: #334155;
}
@media (max-width: 767px) {
    .exam-tabs { overflow-x: auto; white-space: nowrap; }
    .exam-tab { padding: 0.6rem 0.85rem; font-size: 0.85rem; }
}

/* ── About Page ── */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.about-disclaimer {
    display: flex;
    gap: 1rem;
    background: #fef3c7;
    padding: 1.5rem;
    border-radius: var(--radius);
    align-items: flex-start;
    margin: 2rem 0;
}

.about-disclaimer i {
    font-size: 1.5rem;
    color: #d97706;
    flex-shrink: 0;
}

.about-disclaimer h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.about-disclaimer p {
    color: var(--text-muted);
    line-height: 1.6;
}

.offer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.offer-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--card);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    font-weight: 500;
    flex: 0 1 auto;
}

.offer-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fef3c7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    flex-shrink: 0;
}

/* ── Contact Page ── */
.contact-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.35rem;
    font-size: 0.9rem;
}

.form-input {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.15);
}

textarea.form-input { resize: vertical; }

.btn-full { width: 100%; }

.contact-info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    align-items: flex-start;
}

.contact-info-item i {
    font-size: 1.25rem;
    color: var(--primary);
    width: 24px;
    text-align: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-info-item strong {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.contact-info-item span { font-size: 0.95rem; }

.contact-login-card {
    background: linear-gradient(135deg, #334155, #475569);
    color: #fff;
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    margin-top: 1.5rem;
}

.contact-login-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.contact-login-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-login-card p {
    font-size: 0.9rem;
    opacity: 0.85;
    margin-bottom: 1.25rem;
}

.contact-login-card .btn-primary {
    background: var(--secondary);
    border-color: var(--secondary);
}

.contact-login-card .btn-primary:hover {
    background: #b45309;
    border-color: #b45309;
}

@media (max-width: 767px) {
    .contact-split { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .offer-grid { flex-direction: column; align-items: stretch; }
}

/* ── Page List CTA ── */
.page-list-cta {
    margin-top: 3rem;
    background: linear-gradient(135deg, #334155, #1e293b);
    border-radius: var(--radius);
    text-align: center;
    padding: 2.5rem 1rem;
    color: #fff;
}

.page-list-cta-content h3 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

.page-list-cta-content p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 1.25rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Public Listing Hero (non-logged-in) ── */
.public-listing-hero {
    margin: 2rem 0;
}
