﻿:root {
    --bg-primary: #27283d;
    --bg-primary-soft: #313250;
    --accent-gold: #f5dbaa;
    --accent-gold-deep: #dbc08b;
    --text-light: #f8f9fa;
    --text-muted: #ced4da;
    --card-dark: #2e2f49;
    --shadow-soft: 0 14px 40px rgba(0, 0, 0, 0.25);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Cairo', sans-serif;
    background: radial-gradient(circle at 12% 20%, rgba(245, 219, 170, 0.1), transparent 30%),
        radial-gradient(circle at 85% 10%, rgba(255, 255, 255, 0.05), transparent 35%),
        linear-gradient(135deg, var(--bg-primary) 0%, #1f2032 100%);
    color: var(--text-light);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.navbar {
    margin-top: 0;
}

.nav-glass {
    position: sticky;
    top: 0;
    z-index: 1050;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
}

.site-bg-glow {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(circle at 80% 78%, rgba(245, 219, 170, 0.07) 0, transparent 35%);
    z-index: -1;
}

.nav-glass {
    background: rgba(20, 21, 36, 0.72);
    border-bottom: 1px solid rgba(245, 219, 170, 0.12);
    backdrop-filter: blur(10px);
}

.brand-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.brand-text {
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 0.98rem;
}

.hero-section {
    position: relative;
    padding-top: 4.5rem;
}

.hero-logo-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.1rem;
    border: 1px solid rgba(245, 219, 170, 0.3);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
}

.hero-logo {
    width: min(360px, 75vw);
    max-height: 90px;
    object-fit: contain;
}

.inquiry-card,
.result-shell,
.verification-card {
    background: linear-gradient(160deg, rgba(49, 50, 80, 0.95), rgba(35, 36, 58, 0.94));
    border: 1px solid rgba(245, 219, 170, 0.22);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.inquiry-card,
.result-shell {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.inquiry-card::before,
.result-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background-image: url('../img/frame-pattern.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    opacity: 0.11;
}

.text-gold {
    color: var(--accent-gold);
}

.form-control {
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid #d8dde3;
    min-height: 56px;
    border-radius: 12px;
}

.form-control:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 0.2rem rgba(245, 219, 170, 0.32);
}

.btn-gold {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-deep));
    color: #22253a;
    border: 0;
    border-radius: 12px;
    box-shadow: 0 10px 22px rgba(245, 219, 170, 0.28);
}

.btn-gold:hover,
.btn-gold:focus {
    color: #1a1c30;
    transform: translateY(-1px);
}

.quick-demo .btn {
    border-color: rgba(255, 255, 255, 0.4);
}

.query-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(245, 219, 170, 0.14);
    border: 1px solid rgba(245, 219, 170, 0.35);
    color: var(--accent-gold);
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
}

.top-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem 1rem;
    flex-wrap: wrap;
}

.top-meta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
}

.query-chip-compact {
    padding: 0.36rem 0.72rem;
    font-size: 0.86rem;
    line-height: 1.2;
}

.query-chip-soft {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.08);
}

.ops-line {
    height: 1px;
    background: rgba(255, 255, 255, 0.35);
    margin-top: 0.35rem;
}

.ops-text {
    color: #f5dbaa;
    text-align: center;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.profile-visual {
    background: linear-gradient(145deg, rgba(245, 219, 170, 0.16), rgba(245, 219, 170, 0.06));
    border: 1px solid rgba(245, 219, 170, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
}

.pilgrim-photo,
.female-avatar {
    width: 180px;
    height: 180px;
    border-radius: 18px;
    border: 2px solid rgba(245, 219, 170, 0.55);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.pilgrim-photo {
    object-fit: contain;
    object-position: center;
    background: #fff;
    padding: 0;
    display: block;
}

.female-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.08);
}

.verified-badge {
    background-color: #198754;
    color: #fff;
    border-radius: 999px;
    padding: 0.55rem 0.95rem;
    font-size: 0.95rem;
}

.official-card {
    background: #f8f9fb;
    border-radius: 16px;
    padding: 1.4rem;
    color: #20263f;
    border: 1px solid #e4e6f0;
}

.official-head {
    padding-bottom: 0.8rem;
    border-bottom: 1px dashed #c6cde0;
}

.data-item {
    background: #ffffff;
    border: 1px solid #e8eaf3;
    border-right: 4px solid var(--accent-gold-deep);
    border-radius: 12px;
    padding: 0.8rem 0.95rem;
    min-height: 100%;
}

.data-item .label {
    display: block;
    font-size: 0.85rem;
    color: #6a738f;
    margin-bottom: 0.35rem;
    font-weight: 700;
}

.data-item strong {
    font-size: 1rem;
    line-height: 1.8;
}

.supervisor-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    align-items: start;
}

.supervisor-grid > * {
    min-width: 0;
}

.supervisor-name {
    display: flex;
    align-items: center;
    min-height: 100%;
}

.supervisor-contacts {
    display: grid;
    gap: 0.55rem;
    min-width: 0;
}

.contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    background: #eef1f8;
    color: #303a58;
    border: 1px solid #d8dfef;
    border-radius: 999px;
    padding: 0.38rem 0.8rem;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    white-space: normal;
    overflow-wrap: anywhere;
}

.contact-pill.whatsapp {
    background: #eaf9f0;
    border-color: #c7ebd4;
    color: #1d7b47;
}

.contact-pill:hover {
    color: #1f2842;
    filter: brightness(0.98);
}

.footer-official {
    background: rgba(19, 20, 34, 0.85);
    border-top: 1px solid rgba(245, 219, 170, 0.2);
    color: #d5d8e1;
}

.py-lg-6 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

@media (max-width: 991.98px) {
    .brand-text {
        font-size: 0.9rem;
    }

    .official-card {
        padding: 1.1rem;
    }
}

@media (max-width: 575.98px) {
    .hero-logo {
        max-height: 72px;
    }

    .pilgrim-photo,
    .female-avatar {
        width: 150px;
        height: 150px;
        border-radius: 14px;
    }

    .query-chip {
        font-size: 0.9rem;
    }
}

@media (max-width: 767.98px) {
    .supervisor-grid {
        grid-template-columns: 1fr;
    }

    .top-meta-row {
        align-items: flex-start;
    }
}
