/* ==========================================================================
   MAHESWARI GOLD - PREMIUM REDESIGN STYLESHEET
   Compatible with Bootstrap 5 Layouts
   ========================================================================== */

/* Define Global Variables */
:root {
    --gold-primary: #D4AF37;
    --gold-light: #FFDF73;
    --gold-dark: #AA7C11;
    --gold-deep: #8C6212;
    --gold-gradient: linear-gradient(135deg, #FFDF73 0%, #D4AF37 40%, #AA7C11 75%, #6E500B 100%);
    --gold-text-gradient: linear-gradient(to right, #FFE57F, #D4AF37, #AA7C11);
    
    /* Dark Theme Colors */
    --color-bg-dark: #0F0C08;       /* Very dark luxury black-brown */
    --color-bg-panel: #1A130B;      /* Deep rich bronze-brown */
    --color-bg-card: #251D14;       /* Lighter bronze-brown for cards */
    --color-text-light: #F5EFEB;    /* Warm soft white */
    --color-text-muted: #B8A89A;    /* Muted gold-grey */
    
    /* Light Theme (Login Form Side) */
    --color-bg-cream: #FAF6F0;      /* Vintage warm cream */
    --color-text-dark: #2C2216;     /* Dark bronze-brown */
    
    /* Shadows & Transitions */
    --gold-glow: 0 0 15px rgba(212, 175, 55, 0.3);
    --gold-glow-intense: 0 0 25px rgba(212, 175, 55, 0.65);
    --shadow-premium: 0 15px 35px rgba(0, 0, 0, 0.6);
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Reset and Global Overrides */
* {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg-dark) !important;
    color: var(--color-text-light) !important;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
    padding-top: 80px; /* Offset for fixed-top navbar */
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #080604;
}
::-webkit-scrollbar-thumb {
    background: var(--gold-deep);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-primary);
}

/* ==========================================================================
   NAVIGATION BAR (Bootstrap Overrides)
   ========================================================================== */
.navbar {
    background: rgba(15, 12, 8, 0.9) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    padding: 10px 0 !important;
    transition: var(--transition-smooth);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: 1px;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand img {
    height: 45px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.navbar-nav .nav-link {
    color: var(--color-text-muted) !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    padding: 8px 15px !important;
    margin-left: 5px;
    transition: var(--transition-smooth);
    border-radius: 6px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--color-text-light) !important;
    background: rgba(212, 175, 55, 0.1);
}

/* Gold Rate Badge in Nav */
.gold-rate-nav-btn {
    border: 1px solid rgba(212, 175, 55, 0.4);
    background: rgba(26, 19, 11, 0.6);
    color: var(--gold-primary) !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    border-radius: 20px;
    padding: 8px 15px !important;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 15px;
    cursor: default;
}

.gold-rate-nav-btn i {
    color: var(--gold-light);
    animation: goldPulse 2s infinite alternate;
}

@keyframes goldPulse {
    0% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(255,223,115,0.4)); }
    100% { transform: scale(1.15); filter: drop-shadow(0 0 8px rgba(255,223,115,0.8)); }
}

.nav-login-btn {
    background: var(--gold-gradient) !important;
    color: var(--color-bg-dark) !important;
    font-weight: 600 !important;
    border: none !important;
    border-radius: 20px !important;
    padding: 8px 20px !important;
    margin-left: 15px;
    box-shadow: var(--gold-glow);
    transition: var(--transition-smooth) !important;
}

.nav-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.5) !important;
    opacity: 0.95;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    height: 90vh;
    background: linear-gradient(rgba(15, 12, 8, 0.5), rgba(15, 12, 8, 0.85)),
                url('https://images.unsplash.com/photo-1617038260897-41a1f14a8ca0?q=80&w=1600&auto=format&fit=crop') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 20px;
    position: relative;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 3px;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 15px rgba(0,0,0,0.5));
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.5rem;
    color: var(--color-text-muted);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.hero .hero-sub {
    font-size: 1.1rem;
    color: var(--color-text-light);
    letter-spacing: 2px;
}

/* ================= ==========================================
   DASHBOARD CARD BUTTONS (Home Page)
   ========================================================================== */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 900px;
    margin: -60px auto 60px auto;
    position: relative;
    z-index: 10;
    padding: 0 10px;
}

.dash-card {
    background: rgba(37, 29, 20, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 12px;
    padding: 22px 15px;
    color: var(--color-text-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-premium);
}

.dash-card:hover {
    background: rgba(37, 29, 20, 0.95);
    border-color: var(--gold-primary);
    transform: translateY(-8px);
    box-shadow: var(--gold-glow-intense);
}

.card-icon-box {
    width: 55px;
    height: 55px;
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, rgba(37, 29, 20, 0.8), rgba(15, 12, 8, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    color: var(--gold-primary);
    transition: var(--transition-smooth);
}

.dash-card:hover .card-icon-box {
    background: var(--gold-gradient);
    color: var(--color-bg-dark);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
    border-color: transparent;
}

.card-label {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.dash-card:hover .card-label {
    color: var(--color-text-light);
}

/* ================= ==========================================
   ABOUT US SECTION
   ========================================================================== */
.about {
    padding: 80px 0;
    background: radial-gradient(circle at center, rgba(37, 29, 20, 0.2) 0%, rgba(15, 12, 8, 1) 80%);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 2px;
    background: var(--gold-primary);
    margin: 10px auto 0 auto;
}

.about-card {
    background: rgba(37, 29, 20, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 16px;
    padding: 40px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.about-img-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(212, 175, 55, 0.2);
    box-shadow: var(--shadow-premium);
}

.about-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.about h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--gold-primary);
    margin-bottom: 20px;
    font-weight: 600;
}

.about p {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* ================= ==========================================
   PRODUCT SHOWCASE
   ========================================================================== */
.products {
    padding: 80px 0;
    background: #0C0805;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.product-card {
    background: var(--color-bg-card);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 16px;
    overflow: hidden;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: var(--transition-smooth);
}

.product-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
}

.card-gold-banner {
    background: linear-gradient(to right, var(--gold-deep), var(--gold-primary), var(--gold-deep));
    width: 100%;
    padding: 8px 12px;
    border-radius: 8px;
    margin-bottom: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.card-gold-banner span {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 2px;
    color: var(--color-bg-dark);
}

.card-promo-txt {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    letter-spacing: 1px;
    margin-bottom: 15px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img-frame {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 3px solid rgba(212, 175, 55, 0.2);
    overflow: hidden;
    margin-bottom: 18px;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
    position: relative;
}

.prod-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .prod-img {
    transform: scale(1.1);
}

/* Special styling for Jewelry card img frame */
.product-img-frame.jewelry-frame {
    border-radius: 12px;
    width: 100%;
    height: 200px;
}

.hallmark-seal-overlay {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(26, 19, 11, 0.9);
    border: 1px solid var(--gold-primary);
    border-radius: 6px;
    padding: 4px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.seal-num {
    font-size: 0.75rem;
    font-weight: 700;
    color: #FFF;
    letter-spacing: 1px;
}

.seal-lbl {
    font-size: 0.45rem;
    color: var(--gold-primary);
    letter-spacing: 0.5px;
}

.seal-status {
    font-size: 0.45rem;
    color: #FFF;
}

.product-details-text {
    margin-bottom: 18px;
    width: 100%;
}

.purity-seal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 5px;
}

.purity-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.purity-desc {
    font-size: 0.8rem;
    color: var(--gold-primary);
    font-weight: 500;
}

.font-gold-detail {
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Easy Payment Option Box */
.payment-option-box {
    background: #FAF6F0; 
    border-radius: 10px;
    width: 100%;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    margin-top: auto;
    border-left: 4px solid var(--gold-primary);
}

.pay-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pay-text-box {
    display: flex;
    flex-direction: column;
}

.pay-opt-lbl {
    font-size: 0.65rem;
    color: #7A6956;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.pay-opt-val {
    font-size: 0.8rem;
    color: var(--color-text-dark);
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Security Box modifications */
.payment-option-box.security-box {
    border-left-color: #0A8443;
}

/* ================= ==========================================
   FAQ SECTION (Bootstrap Overrides)
   ========================================================================== */
.faq {
    padding: 80px 0;
    background: radial-gradient(circle at center, rgba(37, 29, 20, 0.1) 0%, rgba(15, 12, 8, 1) 90%);
}

.accordion-item {
    background: rgba(37, 29, 20, 0.4) !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    margin-bottom: 15px;
    border-radius: 10px !important;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: var(--transition-smooth);
}

.accordion-item:hover {
    border-color: var(--gold-primary) !important;
}

.accordion-button {
    background: transparent !important;
    color: var(--color-text-light) !important;
    font-weight: 600 !important;
    font-size: 1.05rem !important;
    padding: 20px !important;
    box-shadow: none !important;
    transition: var(--transition-smooth);
}

.accordion-button:not(.collapsed) {
    color: var(--gold-light) !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.accordion-button::after {
    filter: invert(80%) sepia(30%) saturate(600%) hue-rotate(5deg); /* Styles accordion arrows to be goldish */
}

.accordion-body {
    color: var(--color-text-muted) !important;
    font-size: 0.95rem;
    line-height: 1.8;
    padding: 20px !important;
    background: rgba(15, 12, 8, 0.3);
}

/* ================= ==========================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials {
    padding: 80px 0;
    background: #0C0805;
}

.testimonial {
    background: var(--color-bg-card);
    padding: 40px 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    text-align: center;
    border-radius: 0 20px 0 20px;
    border: 1px solid rgba(212, 175, 55, 0.25);
    height: 100%;
    transition: var(--transition-smooth);
}

.testimonial:hover {
    transform: translateY(-5px);
    border-color: var(--gold-primary);
    box-shadow: var(--gold-glow);
}

.testimonial img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 2px solid var(--gold-primary);
    box-shadow: var(--gold-glow);
}

.testimonial h5 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: var(--gold-light);
    font-weight: 600;
    margin-bottom: 10px;
}

.testimonial p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-style: italic;
    line-height: 1.6;
}

/* ================= ==========================================
   POLICY AND TERMS SUB-PAGES
   ========================================================================== */
.hero-section {
    background: linear-gradient(rgba(15, 12, 8, 0.55), rgba(15, 12, 8, 0.85)),
                url('https://images.unsplash.com/photo-1617038220319-276d3cfab638?q=80&w=1400&auto=format&fit=crop') center/cover no-repeat;
    padding: 100px 0 140px 0;
    text-align: center;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.hero-section h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 10px rgba(0,0,0,0.5));
}

.hero-section p {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-top: 10px;
    letter-spacing: 1px;
}

/* Policy Card Content container */
.policy-card, .terms-card {
    background: var(--color-bg-panel) !important;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 18px;
    padding: 50px 45px;
    margin-top: -80px;
    margin-bottom: 80px;
    box-shadow: var(--shadow-premium);
    position: relative;
    z-index: 10;
}

.policy-card h3, .terms-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--gold-light);
    font-weight: 600;
    margin-top: 35px;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.policy-card h3::after, .terms-card h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--gold-primary);
    margin-top: 5px;
}

.policy-card p, .terms-card p,
.policy-card li, .terms-card li {
    line-height: 1.8;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.policy-card ul, .terms-card ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.policy-card li, .terms-card li {
    margin-bottom: 8px;
}

.info-box, .notice-box, .highlight-box {
    background: rgba(212, 175, 55, 0.08) !important;
    border-left: 5px solid var(--gold-primary) !important;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    color: var(--color-text-light) !important;
    font-size: 1rem !important;
    font-weight: 500;
    line-height: 1.7;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.2);
}

.btn-gold {
    background: var(--gold-gradient) !important;
    color: var(--color-bg-dark) !important;
    padding: 12px 35px !important;
    border-radius: 30px !important;
    font-weight: 600 !important;
    border: none !important;
    box-shadow: var(--gold-glow);
    transition: var(--transition-smooth) !important;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5) !important;
}
.login-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 8s ease;
}

.login-visual-panel:hover .login-hero-img {
    transform: scale(1.1) rotate(1deg);
}

.login-visual-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 12, 8, 0.2) 0%, rgba(15, 12, 8, 0.7) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    text-align: left;
}

.cursive-purity {
    font-family: 'Great Vibes', cursive;
    font-size: 2.8rem;
    color: #FFF;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.creation-text {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    font-weight: 700;
    letter-spacing: 3px;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    line-height: 1;
}

/* Right side panel */
.login-form-panel {
    background: var(--color-bg-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
}

.form-container {
    width: 100%;
    max-width: 360px;
    text-align: center;
}

.form-container h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--color-text-dark);
    font-weight: 700;
    margin-bottom: 5px;
}

.form-sub {
    font-size: 0.9rem;
    color: #7A6956;
}

.vintage-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px auto 25px auto;
    width: 150px;
    height: 1px;
    background: #D8CEBC;
    position: relative;
}

.vintage-divider::after {
    content: '⚜';
    color: var(--gold-primary);
    font-size: 1rem;
    position: absolute;
    background: var(--color-bg-cream);
    padding: 0 8px;
}

.login-option-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 15px;
    margin-bottom: 25px;
}

.login-portal-btn {
    display: block;
    text-decoration: none !important;
    background: #FFF;
    border: 1px solid #D8CEBC;
    border-radius: 8px;
    padding: 14px 10px;
    color: var(--color-text-dark) !important;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.login-portal-btn:hover {
    border-color: var(--gold-primary);
    color: var(--gold-deep) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(212, 175, 55, 0.15);
}

/* Input Fields */
.input-group {
    position: relative;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.input-group input {
    width: 100%;
    padding: 12px 15px 12px 50px;
    border: 1px solid #D8CEBC;
    border-radius: 8px;
    background: #FFF;
    font-size: 0.95rem;
    color: var(--color-text-dark);
    transition: var(--transition-smooth);
}

.input-group input:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.25);
}

.password-toggle-btn {
    position: absolute;
    right: 15px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Checkbox and options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 0.85rem;
}

.checkbox-container {
    display: block;
    position: relative;
    padding-left: 25px;
    cursor: pointer;
    color: #5C4F3C;
    user-select: none;
    text-align: left;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 2px;
    left: 0;
    height: 16px;
    width: 16px;
    background-color: #FFF;
    border: 1px solid #D8CEBC;
    border-radius: 4px;
}

.checkbox-container:hover input ~ .checkmark {
    border-color: var(--gold-primary);
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--gold-primary);
    border-color: transparent;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: stroke #FFF;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    border-style: solid;
    border-color: #FFF;
}

.forgot-pass-link {
    color: var(--gold-deep);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.forgot-pass-link:hover {
    color: var(--gold-primary);
    text-decoration: underline;
}

/* Submit Button */
.login-submit-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(to right, #B8860B, #D4AF37, #B8860B);
    border: none;
    border-radius: 8px;
    color: #FFF;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3);
    transition: var(--transition-smooth);
}

.login-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
    background: linear-gradient(to right, #C69A1C, #FFDF73, #C69A1C);
}

/* ================= ==========================================
   FOOTER (Bootstrap compatibility)
   ========================================================================== */
footer {
    background: #080604 !important;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding: 60px 0 20px 0 !important;
    color: var(--color-text-muted) !important;
    font-size: 0.9rem;
}

footer h4 {
    font-family: 'Playfair Display', serif;
    color: var(--gold-light);
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

footer a {
    color: var(--color-text-muted) !important;
    text-decoration: none;
    transition: var(--transition-smooth);
}

footer a:hover {
    color: var(--gold-primary) !important;
    padding-left: 3px;
}

footer p {
    line-height: 1.8;
}

footer i {
    color: var(--gold-primary);
    margin-right: 8px;
}

/* Ticking Clock style in Footer */
.footer-clock-box {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gold-primary);
    font-weight: 600;
    font-size: 0.85rem;
}

.footer-clock-box i {
    color: var(--gold-light);
}

/* ================= ==========================================
   MODAL WINDOW SYSTEM
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-content.glassmorphic {
    background: rgba(37, 29, 20, 0.9);
    border: 2px solid var(--gold-primary);
    box-shadow: var(--gold-glow-intense), var(--shadow-premium);
    border-radius: 16px;
    width: 90%;
    max-width: 620px;
    padding: 35px;
    position: relative;
    color: var(--color-text-light);
    transform: scale(0.85);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.modal-overlay.open .modal-content.glassmorphic {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.modal-close-btn:hover {
    color: var(--gold-light);
}

.modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--gold-primary);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.modal-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.modal-table th, .modal-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    font-size: 0.85rem;
}

.modal-table th {
    font-family: 'Playfair Display', serif;
    color: var(--gold-light);
    font-weight: 600;
}

.modal-table tr:hover {
    background: rgba(212, 175, 55, 0.05);
}

/* ================= ==========================================
   RESPONSIVE DESIGN MEDIA QUERIES
   ========================================================================== */

@media (max-width: 991px) {
    body {
        padding-top: 130px; /* More padding for wrapped header */
    }
    
    .navbar-collapse {
        background: rgba(15, 12, 8, 0.95);
        padding: 20px;
        margin-top: 10px;
        border-radius: 10px;
        border: 1px solid rgba(212, 175, 55, 0.2);
    }
    
    /* .navbar-nav {
        align-items: center !important;
        text-align: center;
        width: 100%;
    } */
    
    .navbar-nav .nav-link {
        margin-left: 0;
        margin-bottom: 10px;
        width: 100%;
    }
    
    .gold-rate-nav-btn {
        margin-left: 0;
        margin-bottom: 15px;
        justify-content: center;
        width: 80%;
    }
    
    .nav-login-btn {
        margin-left: 0;
        width: 80%;
        justify-content: center;
    }

    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 600px;
        margin-top: -40px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
}

@media (max-width: 767px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto 50px auto;
    }
    
    .policy-card, .terms-card {
        padding: 30px 25px;
        margin-top: -50px;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 575px) {
    body {
        padding-top: 100px;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
        max-width: 280px;
        margin-top: -20px;
    }
    
    .about-card {
        padding: 20px;
    }
    
    .about h3 {
        font-size: 1.4rem;
    }
}
