/* ==========================================================================
   PGBX - Pakistan Gold Bullion Exchange
   Custom Core PHP Theme - Exact Replica Layout & Professional Executive Design
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    --color-bg-dark: #071f12;
    --color-bg-main: #0c2f1b;
    --color-bg-card: #0e3820;
    --color-border-green: #287a46;
    --color-gold-text: #f1c40f;
    --color-gold-amber: #f39c12;
    --color-gold-amber-hover: #e67e22;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    --container-max-width: 1240px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.4);
    --transition: all 0.25s ease;
}

/* Reset & Base Setup */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: url('../images/pgbx-pattern.svg') repeat #0c2f1b;
    color: #f3f4f6;
    line-height: 1.65;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
}

a {
    color: #f1c40f;
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: #ffffff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #06190e;
    border-bottom: 1px solid var(--color-border-green);
}

.header-top-bar {
    background: #030d07;
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #9ca3af;
}

.header-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top-info span {
    margin-right: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.site-logo-text {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #f1c40f;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.main-nav a {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 6px 0;
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    color: #f1c40f;
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #f1c40f;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    padding: 60px 0 40px;
    background: rgba(7, 31, 18, 0.9);
    text-align: center;
    border-bottom: 1px solid var(--color-border-green);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 4px;
    background: rgba(241, 196, 15, 0.1);
    border: 1px solid #f1c40f;
    color: #f1c40f;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 14px;
    color: #ffffff;
}

.hero-title span {
    color: #f1c40f;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: #d1d5db;
    max-width: 800px;
    margin: 0 auto;
}

/* Product Verification Widget Section */
.verification-section {
    padding: 50px 0;
    background: rgba(3, 13, 7, 0.85);
}

.verification-box {
    max-width: 800px;
    margin: 0 auto;
    background: #0b1f13;
    border: 1px solid var(--color-border-green);
    border-radius: var(--radius-md);
    padding: 36px;
    box-shadow: var(--shadow-card);
    text-align: center;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #f1c40f;
}

.section-subtitle {
    color: #9ca3af;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.pvs-search-form {
    display: flex;
    gap: 10px;
    max-width: 580px;
    margin: 0 auto 20px;
}

.pvs-input {
    flex: 1;
    background: #000000;
    border: 1px solid #f39c12;
    border-radius: var(--radius-sm);
    padding: 12px 18px;
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
}

.pvs-input:focus {
    outline: none;
    border-color: #f1c40f;
    box-shadow: 0 0 8px rgba(243, 156, 18, 0.4);
}

.pvs-btn {
    background: #f39c12;
    color: #000000;
    font-weight: 800;
    border: none;
    border-radius: var(--radius-sm);
    padding: 12px 28px;
    cursor: pointer;
    font-size: 1rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.pvs-btn:hover {
    background: #e67e22;
    color: #000000;
}

.pvs-sample-tags {
    font-size: 0.85rem;
    color: #9ca3af;
}

.pvs-sample-tags span {
    color: #f1c40f;
    cursor: pointer;
    text-decoration: underline;
    margin: 0 4px;
}

/* ==========================================================================
   Product Verification Table Layout (Exact Replica of User Screenshot)
   ========================================================================== */
.pvs-result-container {
    margin-top: 24px;
    background: #141414;
    border: 1px solid #333333;
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.6);
}

.pvs-table-header {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: #f39c12;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.pvs-exact-table {
    width: 100%;
    border-collapse: collapse;
    background: #141414;
    border: 1px solid #444444;
    margin: 0 auto;
}

.pvs-exact-table td {
    padding: 12px 18px;
    border: 1px solid #444444;
    text-align: left;
    font-size: 0.95rem;
}

.pvs-exact-table tr td:first-child {
    width: 35%;
    font-weight: 700;
    color: #ffffff;
    background: #1a1a1a;
}

.pvs-exact-table tr td:last-child {
    width: 65%;
    color: #e0e0e0;
    background: #141414;
}

.pvs-error-box {
    margin-top: 20px;
    padding: 14px;
    background: #2c1212;
    border: 1px solid #e74c3c;
    border-radius: var(--radius-sm);
    color: #ecf0f1;
    font-weight: 600;
}

/* ==========================================================================
   Exact Product Cards Layout (Matching User Screenshot: 3 Products in 1 Row)
   ========================================================================== */
.products-section {
    padding: 60px 0;
}

.products-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 36px;
}

.product-card-exact {
    background: #0e3820;
    border: 2px solid var(--color-border-green);
    border-radius: 12px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);
}

.product-card-exact:hover {
    border-color: #f1c40f;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.product-image-container {
    width: 100%;
    background: #1a221d;
    border: 3px solid #777777;
    border-radius: 12px;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 340px;
    margin-bottom: 18px;
}

.product-image-container img {
    max-height: 100%;
    object-fit: contain;
}

.product-title-exact {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 16px;
    text-align: center;
}

.product-specs-exact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    width: 100%;
}

.spec-box-exact {
    background: #072113;
    border: 1px solid var(--color-border-green);
    border-radius: 6px;
    padding: 8px 4px;
    text-align: center;
}

.spec-heading-exact {
    font-size: 0.8rem;
    font-weight: 700;
    color: #f1c40f;
    margin-bottom: 4px;
}

.spec-value-exact {
    font-size: 0.82rem;
    font-weight: 600;
    color: #ffffff;
}

/* Content Box */
.content-section {
    padding: 60px 0;
}

.content-box {
    background: rgba(14, 56, 32, 0.9);
    border: 1px solid var(--color-border-green);
    border-radius: var(--radius-md);
    padding: 36px;
    margin-bottom: 30px;
}

.content-box h2 {
    color: #f1c40f;
    font-size: 1.8rem;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--color-border-green);
    padding-bottom: 10px;
}

.content-box p {
    margin-bottom: 16px;
    color: #d1d5db;
    font-size: 1.02rem;
}

/* Editorial Blog Section */
.blog-section {
    padding: 60px 0;
    background: rgba(3, 13, 7, 0.9);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    margin-top: 36px;
}

.blog-card {
    background: #0e3820;
    border: 1px solid var(--color-border-green);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.blog-card:hover {
    border-color: #f1c40f;
    transform: translateY(-4px);
}

.blog-img {
    height: 210px;
    object-fit: cover;
    width: 100%;
}

.blog-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    font-size: 0.82rem;
    color: #f1c40f;
    margin-bottom: 10px;
    font-weight: 600;
}

.blog-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: #ffffff;
}

.blog-excerpt {
    color: #9ca3af;
    font-size: 0.92rem;
    margin-bottom: 20px;
    flex: 1;
}

.read-more-btn {
    font-weight: 700;
    color: #f1c40f;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.read-more-btn:hover {
    color: #ffffff;
}

/* FAQ Accordion Section */
.faqs-section {
    padding: 60px 0;
}

.faq-list {
    max-width: 850px;
    margin: 30px auto 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: #0e3820;
    border: 1px solid var(--color-border-green);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-header {
    padding: 18px 24px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-header:hover {
    color: #f1c40f;
}

.faq-body {
    padding: 0 24px 18px;
    color: #9ca3af;
    display: none;
}

.faq-item.active {
    border-color: #f1c40f;
}

.faq-item.active .faq-body {
    display: block;
}

/* Regulatory & Government Logos Bar */
.partners-bar {
    padding: 35px 0;
    background: #ffffff;
    border-top: 3px solid #f1c40f;
    border-bottom: 3px solid #f1c40f;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.partners-heading {
    text-align: center;
    color: #0c2f1b;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
}

.partners-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.partner-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 75px;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.partner-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(241, 196, 15, 0.25);
    border-color: #f1c40f;
}

.partner-card img {
    max-height: 52px;
    max-width: 170px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.04));
}


/* About Page Styling */
.about-section {
    padding: 70px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-text p {
    color: #d1d5db;
    margin-bottom: 18px;
    font-size: 1.05rem;
    line-height: 1.75;
}

.about-highlights {
    list-style: none;
    margin: 24px 0;
}

.about-highlights li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 1rem;
}

.about-highlights li i {
    color: #f1c40f;
    font-size: 1.1rem;
}

.about-img {
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid var(--color-border-green);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
    position: relative;
}

.about-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.about-img:hover img {
    transform: scale(1.03);
}

.about-feature-card {
    background: #0e3820;
    border: 1px solid var(--color-border-green);
    border-radius: 12px;
    padding: 30px 24px;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.about-feature-card:hover {
    transform: translateY(-5px);
    border-color: #f1c40f;
    box-shadow: 0 8px 24px rgba(241, 196, 15, 0.15);
}

.about-feature-card h3 {
    color: #f1c40f;
    font-size: 1.25rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-feature-card p {
    color: #9ca3af;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Footer */

.site-footer {
    background: #030d07;
    border-top: 1px solid var(--color-border-green);
    padding: 60px 0 24px;
    color: #9ca3af;
    font-size: 0.92rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 16px;
    font-size: 1.1rem;
    border-bottom: 2px solid #f1c40f;
    padding-bottom: 6px;
    display: inline-block;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #9ca3af;
}

.footer-links a:hover {
    color: #f1c40f;
}

.office-list {
    list-style: none;
}

.office-list li {
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    text-align: center;
    font-size: 0.85rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* Comprehensive Responsive Setup */
@media (max-width: 992px) {
    .products-grid-3 { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .about-grid { grid-template-columns: 1fr; gap: 32px; }
    .contact-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .partner-card { min-width: 160px; height: 68px; padding: 10px 16px; }
}

@media (max-width: 640px) {
    .products-grid-3 { grid-template-columns: 1fr; gap: 16px; }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #06190e;
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--color-border-green);
    }
    .main-nav.active { display: flex; }
    .mobile-toggle { display: block; }
    .pvs-search-form { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .partners-flex { gap: 12px; }
    .partner-card { min-width: 135px; height: 60px; padding: 8px 12px; }
    .partner-card img { max-height: 42px; max-width: 130px; }
    .product-specs-exact { gap: 6px; }
    .spec-box-exact { padding: 8px 4px; }
    .spec-heading-exact { font-size: 0.75rem; }
    .spec-value-exact { font-size: 0.82rem; }
}

