/* ======================= */
/* Theme: Royal Brahmins
   Author: Wimraw
   Version: 1.0
   Made By: Jyotiarjun Dev
   */
/* ============================== */


/* ======================== */
/* Basic Theming */
/* ========================= */
:root {
    --royal-blue: #002347;
    /* Deep academic blue */
    --gold-accent: #b89146;
    /* Sophisticated gold */
    --light-gold: #e2d1a8;
    --background-paper: #fcfaf5;
    --border-color: rgba(184, 145, 70, 0.3);
}

body {
    font-family: 'Lora', serif;
    background-color: var(--background-paper);
    color: #2c2c2c;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
.nav-link {
    font-family: 'Cinzel', serif;
    letter-spacing: 1px;
}



/* ================================ */
/* Top Utility Bar */
/* ================================= */
.utility-nav {
    background: var(--royal-blue);
    color: white;
    padding: 5px 0;
    font-size: 0.75rem;
    border-bottom: 2px solid var(--gold-accent);
}

.utility-nav a {
    color: var(--light-gold);
    text-decoration: none;
    margin-right: 20px;
    transition: color 0.3s;
    letter-spacing: 1px;
}

.utility-nav a:hover {
    color: white;
}




/* ============================ */
/* Main Header & Logo */
/* =============================== */
.site-header {
    background: #fff;
    padding: 30px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.logo-box {
    display: inline-block;
    margin-bottom: 10px;
}

.logo-box img {
    max-width: 180px;
    height: auto;
}

.site-title {
    color: var(--royal-blue);
    font-weight: 700;
    font-size: 2.2rem;
    margin-bottom: 0;
}

.site-tagline {
    color: var(--gold-accent);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 5px;
    font-weight: 700;
}


/* ================================= */
/* Professional Navigation */
/* ================================= */
.main-nav {
    background: #fff;
    border-bottom: 2px solid var(--royal-blue);
    padding: 0;
}

.main-nav .nav-link {
    color: var(--royal-blue);
    font-weight: 600;
    padding: 15px 20px !important;
    font-size: 0.9rem;
}

.main-nav .nav-link:hover {
    background: var(--royal-blue);
    color: var(--gold-accent);
}

/* ============================= */
/* Hero & Search (Integrated) */
/* ============================= */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1524492412937-b28074a5d7da?q=80&w=2071&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    height: 550px;
    display: flex;
    align-items: center;
    border-bottom: 4px solid var(--gold-accent);
}

.search-container {
    background: rgba(0, 35, 71, 0.85);
    border: 1px solid var(--gold-accent);
    padding: 30px;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.search-title {
    font-family: 'Cinzel', serif;
    color: var(--gold-accent);
    margin-bottom: 20px;
    border-bottom: 1px solid var(--gold-accent);
    padding-bottom: 10px;
}

/* 3-Column Content Portal */
.portal-section {
    padding: 60px 0;
}

.portal-column {
    background: white;
    border: 1px solid var(--border-color);
    padding: 0;
    height: 100%;
    transition: transform 0.3s;
}

.portal-column:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.column-header {
    background: var(--royal-blue);
    color: var(--gold-accent);
    padding: 15px;
    text-align: center;
    font-weight: bold;
}

.portal-list {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.portal-list li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: flex-start;
    font-size: 0.95rem;
}

.portal-list li i {
    color: var(--gold-accent);
    margin-right: 15px;
    margin-top: 5px;
}

/* Quote Box */
.historical-quote {
    text-align: center;
    padding: 80px 20px;
    font-style: italic;
    font-size: 1.5rem;
    color: #444;
    background: #fff;
    position: relative;
}

.historical-quote::before {
    content: "“";
    font-size: 5rem;
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--gold-accent);
    opacity: 0.3;
}

/* Media Grids */
.section-header-bar {
    background: var(--royal-blue);
    color: var(--gold-accent);
    padding: 10px 20px;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.media-grid-item {
    margin-bottom: 25px;
}

.media-thumb {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.media-thumb:hover {
    border-color: var(--gold-accent);
}

.media-caption {
    font-size: 0.8rem;
    text-align: center;
    margin-top: 8px;
    font-weight: 600;
    color: var(--royal-blue);
}

/* Social Section */
.social-cta {
    background: #f8f9fa;
    padding: 50px 0;
    border-top: 1px solid #ddd;
    text-align: center;
}

.social-btn {
    width: 80px;
    height: 80px;
    line-height: 80px;
    display: inline-block;
    background: white;
    color: var(--royal-blue);
    font-size: 2rem;
    margin: 0 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: 0.3s;
}

.social-btn:hover {
    background: var(--royal-blue);
    color: var(--gold-accent);
    transform: translateY(-5px);
}


/* ========================= */
/* Footer */
/* ========================= */
footer {
    background: #0d1b2a;
    color: #d1d1d1;
    padding: 50px 0 30px;
    border-top: 5px solid var(--gold-accent);
}

.footer-heading {
    color: var(--gold-accent);
    font-size: 1.1rem;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(184, 145, 70, 0.3);
    padding-bottom: 10px;
}

.footer-links a {
    color: #d1d1d1;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: white;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--royal-blue);
}

/* Notification Helper */
#alert-box {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: none;
}


/* Provinces */
.province-hero {
    background: linear-gradient(rgba(0, 35, 71, 0.8), rgba(0, 35, 71, 0.8)), url('../img/history_banner.png');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: white;
    text-align: center;
    border-bottom: 5px solid var(--gold-accent);
}

.filter-section {
    background: white;
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    margin-bottom: 40px;
}

.search-box {
    border-radius: 0;
    border: 1px solid var(--border-color);
    padding: 10px 15px;
}

/* Province Cards */
.province-card {
    background: white;
    border: 1px solid var(--border-color);
    margin-bottom: 30px;
    transition: 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.province-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.province-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 3px solid var(--gold-accent);
}

.province-body {
    padding: 25px;
    flex-grow: 1;
}

.province-title {
    color: var(--royal-blue);
    font-size: 1.25rem;
    margin-bottom: 10px;
    font-weight: bold;
}

.province-meta {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--gold-accent);
    font-weight: bold;
    margin-bottom: 15px;
    display: block;
}

.province-excerpt {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 20px;
}

.btn-province {
    background: var(--royal-blue);
    color: var(--gold-accent);
    border: none;
    padding: 10px 20px;
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    width: 100%;
    transition: 0.3s;
}

.btn-province:hover {
    background: var(--gold-accent);
    color: var(--royal-blue);
}

/* Map Section Mockup */
.map-section {
    background-color: white;
    padding: 80px 0;
    border-top: 1px solid var(--border-color);
}

.map-placeholder {
    width: 100%;
    height: 450px;
    background: #f0ede5;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Provinces */


/* History */
/* History Hero */
.history-hero {
    background: linear-gradient(rgba(0, 35, 71, 0.8), rgba(0, 35, 71, 0.8)), url('../img/history_banner.png');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: white;
    text-align: center;
    border-bottom: 5px solid var(--gold-accent);
    min-height: 60vh;
}

/* Vertical Timeline */
.timeline-section {
    padding: 80px 0;
    position: relative;
}

.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--gold-accent);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--background-paper);
    border: 4px solid var(--royal-blue);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.left {
    left: 0;
    text-align: right;
}

.right {
    left: 50%;
}

.right::after {
    left: -10px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: white;
    position: relative;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.timeline-year {
    font-family: 'Cinzel', serif;
    color: var(--gold-accent);
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

/* Sage Profiles */
.sage-section {
    background-color: white;
    padding: 80px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.sage-card {
    text-align: center;
    padding: 30px;
    transition: 0.3s;
}

.sage-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid var(--gold-accent);
    margin-bottom: 20px;
    object-fit: cover;
}

/* Infographic Section */
.info-strip {
    background: var(--royal-blue);
    color: var(--light-gold);
    padding: 40px 0;
    text-align: center;
}

/* Mobile Adjustments */
@media screen and (max-width: 600px) {
    .timeline-container::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
        text-align: left;
    }

    .timeline-item::after {
        left: 21px;
    }

    .right {
        left: 0%;
    }
}

/* End History */

/* Contact */
/* Contact Hero */
.contact-hero {
    background: linear-gradient(rgba(0, 35, 71, 0.8), rgba(0, 35, 71, 0.8)), url('../img/history_banner.png');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    color: white;
    text-align: center;
    border-bottom: 5px solid var(--gold-accent);
}

/* Contact Section */
.contact-card-wrapper {
    margin-top: -50px;
    margin-bottom: 60px;
}

.contact-form-card {
    background: white;
    border: 1px solid var(--border-color);
    padding: 50px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.contact-sidebar {
    background: var(--royal-blue);
    color: white;
    padding: 50px;
    height: 100%;
}

.sidebar-title {
    color: var(--gold-accent);
    border-bottom: 1px solid var(--gold-accent);
    padding-bottom: 15px;
    margin-bottom: 30px;
    font-size: 1.2rem;
}

.info-block {
    display: flex;
    margin-bottom: 30px;
}

.info-block i {
    color: var(--gold-accent);
    font-size: 1.4rem;
    margin-right: 20px;
    margin-top: 5px;
}

.info-block h6 {
    color: var(--gold-accent);
    margin-bottom: 5px;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.info-block p {
    font-size: 0.9rem;
    margin-bottom: 0;
    opacity: 0.9;
}

/* Form Styling */
.form-label {
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--royal-blue);
    text-transform: uppercase;
}

.form-control,
.form-select {
    border-radius: 0;
    border: 1px solid #ddd;
    padding: 12px;
    font-family: 'Lora', serif;
}

.form-control:focus {
    border-color: var(--gold-accent);
    box-shadow: none;
}

.btn-submit {
    background: var(--royal-blue);
    color: var(--gold-accent);
    border: none;
    padding: 15px 30px;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    width: 100%;
    transition: 0.3s;
}

.btn-submit:hover {
    background: var(--gold-accent);
    color: var(--royal-blue);
}

/* Map Placeholder */
.map-frame {
    background: #eee;
    height: 400px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    margin-bottom: 60px;
    position: relative;
}

.map-overlay-text {
    text-align: center;
    color: #777;
}

/* Social Section */
.social-cta {
    background: #fff;
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid #eee;
}

.social-btn {
    width: 60px;
    height: 60px;
    line-height: 60px;
    display: inline-block;
    background: var(--royal-blue);
    color: var(--gold-accent);
    font-size: 1.5rem;
    margin: 0 10px;
    border-radius: 0;
    transition: 0.3s;
}

.social-btn:hover {
    transform: translateY(-5px);
    color: white;
}

/* Notification Box */
#msg-box {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: none;
}

/* ================================================ 
Membesrhsip Page
==================================================*/
.tier-name {
    font-family: 'Cinzel', serif;
    letter-spacing: 1px;
}

/* Membership Hero */
.membership-hero {
    background: linear-gradient(rgba(0, 35, 71, 0.8), rgba(0, 35, 71, 0.8)), url('../../static/img/about_banner.png');
    background-size: cover;
    padding: 80px 0;
    color: white;
    text-align: center;
    border-bottom: 5px solid var(--gold-accent);
}

/* Tier Cards */
.tier-card {
    background: white;
    border: 1px solid var(--border-color);
    padding: 40px;
    text-align: center;
    height: 100%;
    transition: 0.3s;
    position: relative;
}

.tier-card.featured {
    border: 2px solid var(--gold-accent);
    transform: scale(1.05);
    z-index: 2;
}

.tier-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold-accent);
    color: white;
    padding: 5px 20px;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
}

.tier-name {
    color: var(--royal-blue);
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.tier-price {
    font-size: 2rem;
    color: var(--gold-accent);
    font-weight: bold;
    margin-bottom: 20px;
}

.tier-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    font-size: 0.9rem;
    text-align: left;
}

.tier-features li {
    padding: 8px 0;
    border-bottom: 1px solid #f9f9f9;
}

.tier-features i {
    color: var(--gold-accent);
    margin-right: 10px;
}

/* Form Styling */
.registration-box {
    background: white;
    border: 1px solid var(--border-color);
    padding: 50px;
    margin-top: 60px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

.form-section-title {
    color: var(--royal-blue);
    font-size: 1rem;
    border-bottom: 1px solid var(--gold-accent);
    padding-bottom: 10px;
    margin-bottom: 25px;
    margin-top: 30px;
    text-transform: uppercase;
    font-weight: bold;
}

.btn-register {
    background: var(--royal-blue);
    color: var(--gold-accent);
    border: none;
    padding: 18px 40px;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    width: 100%;
    transition: 0.3s;
    letter-spacing: 2px;
}

.btn-register:hover {
    background: var(--gold-accent);
    color: var(--royal-blue);
}


/* =================================================
Article Details Page 
=================================================== */
/* Reading Progress Bar */
#progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 9999;
}

#progress-bar {
    height: 100%;
    background: var(--gold-accent);
    width: 0%;
    transition: width 0.1s ease;
}

/* Modern Hero Section */
.article-hero {
    position: relative;
    padding: 100px 0 60px;
    background: white;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.category-badge {
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    background: var(--royal-blue);
    color: var(--gold-accent);
    padding: 6px 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 25px;
    display: inline-block;
}

.article-title {
    font-size: 3rem;
    font-weight: 700;
    max-width: 900px;
    margin: 0 auto 20px;
    line-height: 1.2;
}

.article-meta-top {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

/* Featured Image */
.featured-img-container {
    max-width: 1000px;
    margin: -30px auto 60px;
    position: relative;
    z-index: 10;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border: 10px solid white;
}

.featured-img-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* Content Styling */
.article-body-wrapper {
    font-size: 1.2rem;
    color: #333;
}

/* Modern Drop Cap */
.blog-content>p:first-of-type::first-letter {
    font-family: 'Cinzel', serif;
    float: left;
    font-size: 4.5rem;
    line-height: 1;
    font-weight: bold;
    padding-right: 12px;
    color: var(--royal-blue);
}

.blog-content blockquote {
    border-left: 5px solid var(--gold-accent);
    padding: 30px 40px;
    margin: 40px 0;
    background: white;
    font-style: italic;
    font-size: 1.4rem;
    color: var(--royal-blue);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.blog-content h3 {
    margin-top: 50px;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

/* Sidebar Refinements */
.sidebar-widget {
    background: white;
    border: 1px solid var(--border-color);
    padding: 30px;
    margin-bottom: 40px;
    position: relative;
}

.sidebar-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--royal-blue);
}

.widget-title {
    font-size: 1rem;
    text-transform: uppercase;
    border-bottom: 2px solid var(--gold-accent);
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-weight: bold;
}

.category-list {
    list-style: none;
    padding: 0;
}

.category-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}

.category-list a {
    text-decoration: none;
    color: #555;
    font-size: 0.95rem;
    display: flex;
    justify-content: space-between;
    transition: 0.3s;
}

.category-list a:hover {
    color: var(--gold-accent);
    padding-left: 5px;
}

/* Share Bar */
.share-container {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    margin: 60px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.share-icon {
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: var(--royal-blue);
    color: var(--gold-accent);
    border-radius: 50%;
    transition: 0.3s;
    text-decoration: none !important;
}

.share-icon:hover {
    background: var(--gold-accent);
    color: var(--royal-blue);
    transform: translateY(-3px);
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .article-title {
        font-size: 2rem;
    }

    .article-hero {
        padding: 60px 20px;
    }
}


/* ==============================
    End Article Details
    ================================= */


/* =============================================
    About 
    ====================================== */


/* Hero Section */
.about-hero {
    background: linear-gradient(rgba(0, 35, 71, 0.7), rgba(0, 35, 71, 0.7)), url('../../static/img/about_banner.png');
    background-size: cover;
    background-position: center;
    padding: 120px 0;
    color: white;
    text-align: center;
    border-bottom: 5px solid var(--gold-accent);
}

/* Content Sections */
.section-padding {
    padding: 80px 0;
}

.mission-box {
    background: white;
    border: 1px solid var(--border-color);
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--gold-accent);
}

.heritage-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.value-card {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border: 1px solid var(--border-color);
    height: 100%;
    transition: 0.3s;
}

.value-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold-accent);
}

.value-icon {
    font-size: 3rem;
    color: var(--gold-accent);
    margin-bottom: 20px;
}

.team-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 3px solid var(--gold-accent);
    overflow: hidden;
    background: #eee;
}

.team-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Timeline */
.timeline-item {
    padding-left: 30px;
    border-left: 2px solid var(--gold-accent);
    position: relative;
    padding-bottom: 40px;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: -9px;
    top: 0;
    width: 16px;
    height: 16px;
    background: var(--royal-blue);
    border: 2px solid var(--gold-accent);
    border-radius: 50%;
}

/* CTA Footer */
.about-cta {
    background: var(--royal-blue);
    color: white;
    padding: 60px 0;
    text-align: center;
}

/* ============================
End About
============================ */


/* =======================================
Blog/Article
========================================= */

/* Blog Hero */
.blog-hero {
    background: linear-gradient(rgba(0, 35, 71, 0.8), rgba(0, 35, 71, 0.8)), url('https://images.unsplash.com/photo-1517655823101-729904944b05?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    padding: 80px 0;
    color: white;
    text-align: center;
    border-bottom: 5px solid var(--gold-accent);
}

/* Blog Sidebar */
.sidebar-section {
    background: white;
    border: 1px solid var(--border-color);
    padding: 25px;
    margin-bottom: 30px;
}

.sidebar-title {
    color: var(--royal-blue);
    font-size: 0.9rem;
    border-bottom: 2px solid var(--gold-accent);
    padding-bottom: 10px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* Blog Card */
.blog-card {
    background: white;
    border: 1px solid var(--border-color);
    margin-bottom: 40px;
    transition: 0.3s;
}

.blog-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.blog-img-wrapper {
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.blog-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.blog-card:hover .blog-img-wrapper img {
    transform: scale(1.05);
}

.blog-body {
    padding: 40px;
}

.blog-meta {
    font-size: 0.75rem;
    color: var(--gold-accent);
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.blog-title {
    font-size: 1.6rem;
    color: var(--royal-blue);
    margin-bottom: 15px;
    line-height: 1.3;
}

.blog-excerpt {
    color: #555;
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.btn-read {
    background: var(--royal-blue);
    color: var(--gold-accent);
    border: none;
    padding: 12px 30px;
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    text-decoration: none;
    transition: 0.3s;
    display: inline-block;
}

.btn-read:hover {
    background: var(--gold-accent);
    color: var(--royal-blue);
}

.category-list {
    list-style: none;
    padding: 0;
}

.category-list li {
    border-bottom: 1px solid #f0f0f0;
    padding: 8px 0;
}

.category-list a {
    text-decoration: none;
    color: #555;
    font-size: 0.9rem;
}

.category-list a:hover {
    color: var(--royal-blue);
    font-weight: bold;
}

/* ==================================
    End Article
    ===================================== */

/* ==============================
    clan Details
    ================================= */

/* Clan Header Banner */
.family-banner {
    background: linear-gradient(to bottom, #3d2525, #1a0f0f);
    padding: 50px 0;
    text-align: center;
    border-bottom: 3px solid var(--gold-accent);
}

.family-banner h1 {
    color: white;
    margin: 0;
    font-size: 2.8rem;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
    text-transform: uppercase;
}

.family-banner p {
    color: var(--gold-accent);
    font-family: 'Cinzel', serif;
    letter-spacing: 3px;
    font-size: 0.9rem;
    margin-top: 10px;
}

/* Archive Paper Container */
.archive-paper {
    background: var(--archive-bg);
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    padding: 60px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.05);
    margin-bottom: 60px;
    position: relative;
}

/* History Divider */
.history-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px 0;
    position: relative;
}

.history-divider::before,
.history-divider::after {
    content: "";
    height: 1px;
    background: #ccc;
    flex: 1;
}

.history-divider span {
    padding: 0 20px;
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--royal-blue);
    text-transform: uppercase;
    letter-spacing: 4px;
    display: flex;
    align-items: center;
}

.history-divider i {
    color: var(--history-red);
    margin-right: 12px;
    font-size: 1.3rem;
}

/* --- FAMILY TREE STYLING --- */
.family-tree-section {
    margin: 60px 0;
    padding: 40px;
    background: #fff;
    border: 1px solid var(--border-color);
    position: relative;
}

.tree-scroll-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px 0;
}

.tree-scroll-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: var(--gold-accent);
    transform: translateX(-50%);
}

.clan-tree-node {
    position: relative;
    width: 100%;
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
}

.node-box {
    background: var(--archive-bg);
    border: 2px solid var(--royal-blue);
    padding: 15px 25px;
    text-align: center;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    min-width: 220px;
}

.node-era {
    font-family: 'Cinzel', serif;
    font-size: 0.7rem;
    color: var(--gold-accent);
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.node-name {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    color: var(--royal-blue);
    font-weight: bold;
    display: block;
}

.node-title {
    font-size: 0.8rem;
    color: #666;
    font-style: italic;
}

/* Branches */
.branch-line {
    position: absolute;
    top: 50%;
    width: 50%;
    height: 1px;
    background: var(--gold-accent);
    z-index: 1;
}

.node-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: var(--gold-accent);
    border-radius: 50%;
    border: 2px solid white;
    z-index: 3;
}

/* --- SIDEBAR --- */
.lineage-sidebar {
    background: white;
    border: 1px solid var(--border-color);
    padding: 25px;
    border-top: 4px solid var(--gold-accent);
    position: sticky;
    top: 20px;
}

.stat-label {
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    color: var(--gold-accent);
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 1.1rem;
    color: var(--royal-blue);
    margin-bottom: 20px;
    font-weight: bold;
}

/* Narrative Content */
.narrative h2 {
    color: var(--deep-gold);
    font-size: 1.8rem;
    margin-bottom: 20px;
    border-bottom: 1px dashed #ccc;
    padding-bottom: 10px;
}

.narrative p {
    text-align: justify;
    font-size: 1.15rem;
    margin-bottom: 25px;
}

.family-crest-box {
    float: right;
    width: 320px;
    margin-left: 30px;
    margin-bottom: 20px;
    border: 1px solid #add8e6;
    padding: 8px;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.family-crest-box img {
    width: 100%;
    display: block;
    border: 1px solid #eee;
}

.btn-return {
    background: #333;
    color: #fff;
    font-family: 'Cinzel', serif;
    border-radius: 0;
    padding: 10px 25px;
    font-size: 0.8rem;
    text-decoration: none;
    display: inline-block;
    margin-top: 40px;
    transition: 0.3s;
}

.btn-return:hover {
    background: #000;
    color: var(--gold-accent);
}

.archive-meta {
    font-size: 0.8rem;
    color: #888;
    border-top: 1px solid #eee;
    padding-top: 20px;
    margin-top: 60px;
    font-style: italic;
}

/* =====================================
    End Clan Details 
    ====================================*/

/* ========================
    clan
    ========================= */

/* Banner */
.page-banner {
    background: linear-gradient(rgba(0, 35, 71, 0.85), rgba(0, 35, 71, 0.85)), url('../../static/img/about_banner.png');
    padding: 40px 0;
    text-align: center;
    border-bottom: 3px solid var(--gold-accent);
}

.page-banner h1 {
    color: white;
    margin: 0;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Main Archive Container */
.archive-container {
    background: var(--archive-bg);
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    padding: 50px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
    margin-top: -20px;
    position: relative;
    z-index: 10;
}

/* History Divider Section */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 50px 0;
}

.section-divider::before,
.section-divider::after {
    content: "";
    height: 1px;
    background: #ccc;
    flex: 1;
}

.section-divider span {
    padding: 0 20px;
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--royal-blue);
    text-transform: uppercase;
    letter-spacing: 3px;
    display: flex;
    align-items: center;
}

.section-divider i {
    color: var(--history-red);
    margin-right: 10px;
}

/* Genealogy Tree Visual */
.genealogy-tree-box {
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 40px;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tree-node {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid var(--gold-accent);
    background: var(--royal-blue);
    color: var(--light-gold);
    font-family: 'Cinzel', serif;
    margin: 10px;
    position: relative;
}

.tree-line-v {
    width: 2px;
    height: 30px;
    background: var(--gold-accent);
    margin: 0 auto;
}

/* Clan Cards */
.clan-card {
    background: white;
    border: 1px solid #eee;
    border-top: 5px solid var(--royal-blue);
    padding: 30px;
    height: 100%;
    transition: 0.3s;
}

.clan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-top-color: var(--gold-accent);
}

.clan-title {
    color: var(--history-red);
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

/* Interactive List Items */
.clan-option {
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.clan-option:hover {
    background-color: var(--archive-bg) !important;
    padding-left: 20px !important;
    color: var(--history-red) !important;
}

.clan-option i {
    transition: transform 0.2s ease;
}

.clan-option:hover i {
    transform: translateX(5px);
}

/* Search Bar */
.search-dossier {
    background: var(--royal-blue);
    padding: 30px;
    border-radius: 0;
    color: white;
    border: 1px solid var(--gold-accent);
}

.form-control-archive {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 0;
    border: none;
    padding: 12px;
}

/* ====================================
    End Clans
    ======================================== */

/* ====================================
    User Dashboard
    ====================================== */

/* Page Header */
.page-header {
    background: linear-gradient(rgba(0, 35, 71, 0.9), rgba(0, 35, 71, 0.9)), url('https://images.unsplash.com/photo-1545062990-4a95e8e4b96d?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    padding: 60px 0;
    color: white;
    border-bottom: 4px solid var(--gold-accent);
    margin-bottom: 40px;
    text-align: center;
}

/* ID Card Styling */
.identity-sidebar {
    background: white;
    border: 1px solid var(--border-color);
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 20px;
}

.id-card-preview {
    width: 100%;
    background: var(--royal-blue);
    border: 3px solid var(--gold-accent);
    border-radius: 12px;
    padding: 25px 15px;
    color: white;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    margin-bottom: 25px;
}

.id-card-preview h6 {
    font-size: 0.7rem;
    color: var(--gold-accent);
    text-transform: uppercase;
    border-bottom: 1px solid var(--gold-accent);
    padding-bottom: 8px;
    margin-bottom: 15px;
    font-family: 'Cinzel', serif;
}

.id-photo {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 3px solid var(--gold-accent);
    margin-bottom: 15px;
    object-fit: cover;
    background: white;
}

.id-name {
    font-size: 1.1rem;
    font-family: 'Cinzel', serif;
    margin-bottom: 5px;
}

.id-number {
    font-size: 0.75rem;
    color: var(--light-gold);
    letter-spacing: 1px;
}

/* Column-Wise Details List */
.details-container {
    background: white;
    border: 1px solid var(--border-color);
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.detail-row {
    display: flex;
    border-bottom: 1px solid #f0f0f0;
    padding: 15px 0;
    align-items: center;
}

.detail-row:last-child {
    border-bottom: none;
}

.section-label {
    width: 200px;
    color: var(--gold-accent);
    font-weight: bold;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin: 0;
}

.detail-value {
    flex: 1;
    font-size: 1rem;
    color: #333;
    margin: 0;
}

.detail-value i {
    color: var(--royal-blue);
    width: 25px;
}

.content-block-title {
    background: var(--royal-blue);
    color: var(--gold-accent);
    padding: 10px 20px;
    font-size: 0.9rem;
    margin: 30px 0 10px 0;
}

/* Buttons */
.btn-gold {
    background: var(--gold-accent);
    color: var(--royal-blue);
    font-family: 'Cinzel', serif;
    font-weight: bold;
    border-radius: 0;
    border: none;
    padding: 12px;
    transition: 0.3s;
}

.btn-gold:hover {
    background: var(--royal-blue);
    color: var(--gold-accent);
}

.btn-logout {
    border: 1px solid #dc3545;
    color: #dc3545;
    font-family: 'Cinzel', serif;
    border-radius: 0;
    margin-top: 15px;
}

.btn-logout:hover {
    background: #dc3545;
    color: white;
}

/* ==================================
    end user dashboard
    ==================================== */

/* ======================================
    donation
    =========================================== */
/* Donate Hero */
.donate-hero {
    background: linear-gradient(rgba(0, 35, 71, 0.85), rgba(0, 35, 71, 0.85)), url('../../static/img/about_banner.png');
    background-size: cover;
    padding: 100px 0;
    color: white;
    text-align: center;
    border-bottom: 5px solid var(--gold-accent);
}

/* Impact Section */
.impact-card {
    background: white;
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    text-align: center;
    height: 100%;
    transition: 0.3s;
}

.impact-icon {
    font-size: 3rem;
    color: var(--gold-accent);
    margin-bottom: 20px;
}

.impact-title {
    color: var(--royal-blue);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

/* Donation Form Box */
.donation-container {
    background: white;
    border: 1px solid var(--border-color);
    padding: 50px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.amount-btn-group {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 25px;
}

.amount-btn {
    border: 1px solid var(--border-color);
    background: #fff;
    padding: 15px;
    font-family: 'Cinzel', serif;
    font-weight: bold;
    color: var(--royal-blue);
    transition: 0.3s;
}

.amount-btn:hover,
.amount-btn.active {
    background: var(--royal-blue);
    color: var(--gold-accent);
    border-color: var(--royal-blue);
}

.custom-amount-input {
    border-radius: 0;
    border: 1px solid var(--border-color);
    padding: 15px;
    font-family: 'Cinzel', serif;
    text-align: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.btn-donate-submit {
    background: var(--gold-accent);
    color: white;
    border: none;
    padding: 20px;
    width: 100%;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 2px;
    transition: 0.3s;
    margin-top: 30px;
}

.btn-donate-submit:hover {
    background: var(--royal-blue);
    color: var(--gold-accent);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    opacity: 0.6;
}

.trust-badges i {
    font-size: 2rem;
    color: #555;
}

/* ================================
    End donation 
    ===================================== */


/* ===================================
Gotra Directory
======================================= */
/* Traditional Page Banner */
.gotra-banner {
    background: linear-gradient(rgba(61, 37, 37, 0.9), rgba(26, 15, 15, 0.9)),
        url('https://images.unsplash.com/photo-1594142436735-8664033c5e26?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    text-align: center;
    border-bottom: 5px solid var(--gold-accent);
    position: relative;
}

.gotra-banner::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 10px;
    background-image: radial-gradient(circle, var(--gold-accent) 20%, transparent 20%);
    background-size: 20px 20px;
    background-position: 0 0;
}

.gotra-banner h1 {
    color: white;
    text-transform: uppercase;
    font-size: 3rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    margin: 0;
}

.gotra-banner p {
    color: var(--gold-accent);
    font-family: 'Cinzel', serif;
    letter-spacing: 4px;
    font-size: 1rem;
    margin-top: 15px;
    font-weight: bold;
}

/* Archive Main Container with Decorative Border */
.archive-paper {
    background: var(--archive-bg);
    border: 1px solid #ddd;
    padding: 50px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.05);
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

/* Decorative Corner Flourishes */
.archive-paper::before {
    content: '❦';
    position: absolute;
    top: 10px;
    left: 10px;
    color: var(--gold-accent);
    font-size: 2rem;
    opacity: 0.5;
}

.archive-paper::after {
    content: '❦';
    position: absolute;
    bottom: 10px;
    right: 10px;
    color: var(--gold-accent);
    font-size: 2rem;
    opacity: 0.5;
    transform: rotate(180deg);
}

/* History Divider Style */
.history-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 50px 0;
}

.history-divider::before,
.history-divider::after {
    content: "";
    height: 1px;
    background: linear-gradient(to right, transparent, #ccc, transparent);
    flex: 1;
}

.history-divider-content {
    padding: 0 25px;
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--royal-blue);
    text-transform: uppercase;
    letter-spacing: 5px;
    display: flex;
    align-items: center;
}

.history-divider-content i {
    color: var(--history-red);
    margin-right: 15px;
    font-size: 1.4rem;
}

/* Compact Traditional Search Bar - Centered */
.gotra-search-box {
    background: white;
    border: 1px solid var(--gold-accent);
    padding: 10px 15px;
    margin: 0 auto 40px;
    /* Centered with margin auto */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    max-width: 400px;
}

.gotra-search-box input {
    font-size: 0.9rem;
    color: var(--royal-blue);
}

.gotra-search-box .input-group-text i {
    font-size: 1rem;
}

/* Gotra List Styling */
.gotra-list-container {
    max-height: 650px;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    background: white;
    padding: 10px;
}

.gotra-item {
    padding: 15px 25px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Cinzel', serif;
    color: var(--royal-blue);
    font-weight: 600;
}

.gotra-item:hover {
    background: var(--background-paper);
    color: var(--history-red);
    padding-left: 35px;
    border-left: 4px solid var(--saffron);
}

.gotra-item.active {
    background: var(--royal-blue);
    color: var(--gold-accent);
    border-left: 8px solid var(--gold-accent);
}

/* Scroll/Manuscript Detail Section */
.dossier-card {
    background: white;
    border: 1px solid var(--border-color);
    padding: 50px;
    position: sticky;
    top: 100px;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)),
        url('https://www.transparenttextures.com/patterns/natural-paper.png');
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
}

.dossier-header {
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--gold-accent);
    padding-bottom: 25px;
    position: relative;
}

.dossier-header::after {
    content: '🙢';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 0 10px;
    color: var(--gold-accent);
    font-size: 1.5rem;
}

.dossier-title {
    font-size: 2.2rem;
    color: var(--history-red);
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 700;
}

.detail-row {
    display: flex;
    padding: 18px 0;
    border-bottom: 1px dashed #ddd;
    align-items: flex-start;
}

.detail-label {
    width: 160px;
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--deep-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.detail-value {
    flex: 1;
    font-weight: 600;
    color: var(--royal-blue);
    font-size: 1.1rem;
    line-height: 1.4;
}

/* Print/Traditional Button */
.btn-traditional {
    background: var(--history-red);
    color: var(--light-gold);
    font-family: 'Cinzel', serif;
    font-weight: 700;
    border: none;
    border-radius: 0;
    padding: 15px;
    width: 100%;
    margin-top: 30px;
    letter-spacing: 2px;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(128, 0, 0, 0.2);
}

.btn-traditional:hover {
    background: var(--royal-blue);
    color: var(--gold-accent);
}

/* Custom Scrollbar */
.gotra-list-container::-webkit-scrollbar {
    width: 8px;
}

.gotra-list-container::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.gotra-list-container::-webkit-scrollbar-thumb {
    background: var(--history-red);
}

/* ==============================
    End Gotra Directory
    ==================================== */

/* =================================
    Notable Details
    ==================================== */

/* Page Top Banner */
.notable-banner {
    background: linear-gradient(to bottom, #2c3b4a, #2a1b1b);
    padding: 20px 0;
    text-align: center;
    border-bottom: 2px solid var(--gold-accent);
}

.notable-banner h1 {
    font-family: 'Cinzel', serif;
    color: white;
    margin: 0;
    font-size: 2.2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Main Container */
.notable-detail-container {
    background: var(--archive-bg);
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    padding: 40px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 50px;
}

/* First Paragraph Lead */
.lead-para {
    font-size: 1.05rem;
    margin-bottom: 30px;
    text-align: justify;
}

.lead-para strong {
    color: #000;
}

/* History Header Divider (Exact match to screenshot) */
.history-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 0;
    position: relative;
}

.history-divider::before {
    content: "";
    height: 1px;
    background: #ccc;
    flex: 1;
    margin-right: 15px;
}

.history-divider::after {
    content: "";
    height: 1px;
    background: #ccc;
    flex: 1;
    margin-left: 15px;
}

.history-divider-content {
    display: flex;
    align-items: center;
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--royal-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.history-divider-content i {
    color: var(--history-red);
    margin-right: 10px;
    font-size: 1.3rem;
}

/* Floated Image Section */
.figure-aside {
    float: right;
    width: 350px;
    margin-left: 25px;
    margin-bottom: 20px;
    background: white;
    padding: 8px;
    border: 1px solid #add8e6;
    /* Light blue border from reference */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.figure-aside img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid #eee;
}

/* Text Flow and Typography */
.narrative-content {
    overflow: hidden;
    /* Clearfix for floated image */
}

.narrative-content h2 {
    color: var(--deep-gold);
    font-family: 'Lora', serif;
    font-size: 1.7rem;
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 400;
}

.narrative-content p {
    font-size: 1.1rem;
    text-align: justify;
    margin-bottom: 20px;
    color: #333;
}

/* Action Buttons */
.btn-archive {
    background: #333;
    color: #fff;
    font-family: 'Cinzel', serif;
    border-radius: 0;
    padding: 8px 20px;
    font-size: 0.8rem;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
}

.btn-archive:hover {
    background: #000;
    color: var(--gold-accent);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .figure-aside {
        float: none;
        width: 100%;
        margin-left: 0;
        margin-bottom: 30px;
    }

    .notable-detail-container {
        padding: 20px;
    }
}

/* ===============================
    End Notable Details
    ===================================== */


/* ===============================
    Notable
    ==================================== */

/* Hero */
.notables-hero {
    background: linear-gradient(rgba(0, 35, 71, 0.85), rgba(0, 35, 71, 0.85)), url('../../static/img/about_banner.png');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: white;
    text-align: center;
    border-bottom: 5px solid var(--gold-accent);
}

/* Category Filter Bar */
.filter-bar {
    background: white;
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    margin-bottom: 50px;
}

.filter-btn {
    background: transparent;
    border: 1px solid #ddd;
    padding: 8px 25px;
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    margin: 5px;
    transition: 0.3s;
    color: var(--royal-blue);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--royal-blue);
    color: var(--gold-accent);
    border-color: var(--royal-blue);
}

/* Notable Cards */
.notable-card {
    background: white;
    border: 1px solid var(--border-color);
    margin-bottom: 30px;
    transition: 0.3s;
    height: 100%;
    text-align: center;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.notable-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--gold-accent);
}

.notable-img-wrapper {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 4px solid var(--gold-accent);
    overflow: hidden;
    margin-bottom: 25px;
    background: #f1f1f1;
}

.notable-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.notable-name {
    color: var(--royal-blue);
    font-size: 1.25rem;
    margin-bottom: 8px;
    font-weight: bold;
}

.notable-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--gold-accent);
    font-weight: bold;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.notable-bio {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 20px;
    flex-grow: 1;
    font-style: italic;
}

.btn-bio {
    background: var(--royal-blue);
    color: var(--gold-accent);
    border: none;
    padding: 10px 20px;
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    transition: 0.3s;
}

.btn-bio:hover {
    background: var(--gold-accent);
    color: var(--royal-blue);
}

/* Sidebar Info */
.nomination-box {
    background: var(--royal-blue);
    color: white;
    padding: 40px;
    text-align: center;
    margin-top: 60px;
    border-top: 5px solid var(--gold-accent);
}

/* ============================
        End Notable
        =============================== */

/* ===================================
        Photo
        ======================================= */

/* Gallery Hero */
.gallery-hero {
    background: linear-gradient(rgba(0, 35, 71, 0.8), rgba(0, 35, 71, 0.8)), url('../../static/img/about_banner.png');
    background-size: cover;
    padding: 80px 0;
    color: white;
    text-align: center;
    border-bottom: 5px solid var(--gold-accent);
}

/* Filter Bar */
.filter-bar {
    background: white;
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    margin-bottom: 40px;
}

.filter-btn {
    background: transparent;
    border: 1px solid #ddd;
    padding: 8px 20px;
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    margin: 5px;
    transition: 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--royal-blue);
    color: var(--gold-accent);
    border-color: var(--royal-blue);
}

/* Photo Grid */
.photo-item {
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    background: white;
    padding: 8px;
    border: 1px solid var(--border-color);
    transition: 0.3s;
}

.photo-item:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.photo-img-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.photo-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.photo-item:hover img {
    transform: scale(1.1);
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 15px;
    color: white;
    opacity: 0;
    transition: 0.3s;
}

.photo-item:hover .photo-overlay {
    opacity: 1;
}

.photo-caption {
    font-size: 0.85rem;
    font-weight: 600;
}

/* ===============================
End Photo 
===================================*/


/* =======================================
Provinces
========================================== */

/* Card Architecture */
.province-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.province-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 35, 71, 0.15);
    border-color: var(--gold-accent);
}

/* Image Wrapper Design */
.province-img-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-bottom: 4px solid var(--gold-accent);
    background: #f0ede5;
}

.province-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.province-card:hover .province-img-wrapper img {
    transform: scale(1.1) rotate(1deg);
}

/* Content Body Typography */
.province-body {
    padding: 30px;
    flex-grow: 1;
    background: linear-gradient(to bottom, #ffffff, var(--background-paper));
}

.region-tag {
    font-family: 'Cinzel', serif;
    font-size: 0.7rem;
    color: var(--gold-accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: block;
}

.province-name {
    font-family: 'Cinzel', serif;
    color: var(--royal-blue);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.province-name::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gold-accent);
}

.province-excerpt {
    font-family: 'Lora', serif;
    font-size: 0.95rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

/* List styling for lineage data */
.province-body ul {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
    border-left: 2px solid var(--light-gold);
    padding-left: 15px;
}

.province-body ul li {
    margin-bottom: 8px;
    font-family: 'Lora', serif;
    color: #555;
}

.province-body ul li b {
    color: var(--royal-blue);
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-right: 5px;
}

/* Royal Action Button */
.btn-explore {
    background: var(--royal-blue);
    color: var(--gold-accent);
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 2px;
    padding: 12px 25px;
    border-radius: 0;
    display: block;
    text-align: center;
    text-decoration: none;
    transition: 0.3s;
    border: 1px solid var(--royal-blue);
}

.btn-explore:hover {
    background: var(--gold-accent);
    color: var(--royal-blue);
    border-color: var(--gold-accent);
}

/* =================================
    End Provinces 
    ====================================*/

/* ====================================
  Footer Social Media Icons
    ========================================= */
/* Royal Brahmin Social Icon Styles */
.footer-social-links {
    display: flex;
    gap: 12px;
    margin-top: 0;
    justify-content: center;
    /* Centers the icons horizontally */
}

.social-icon {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    color: #e2d1a8;
    /* Light Gold */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(184, 145, 70, 0.3);
    /* Transparent Gold Border */
}

.social-icon:hover {
    background: #b89146;
    /* Royal Gold */
    color: #002347;
    /* Royal Blue */
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(184, 145, 70, 0.4);
}

.footer-heading {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    margin-bottom: 20px;
    color: #b89146;
    letter-spacing: 1px;
}

.footer-links a {
    color: #d1d1d1;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    font-size: 0.9rem;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #b89146;
    padding-left: 5px;
}

/* Reg Status */

/* Status Card Container */
.status-wrapper {
    max-width: 750px;
    margin: 80px auto;
    padding: 20px;
}

.induction-card {
    background: white;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    padding: 60px 40px;
    text-align: center;
}

/* Decorative Gold Frame */
.induction-card::before {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 2px solid var(--gold-accent);
    pointer-events: none;
    opacity: 0.4;
}

.status-icon-box {
    font-size: 5rem;
    margin-bottom: 20px;
    display: inline-block;
}

.text-success-gold {
    color: var(--success-gold);
}

.text-failure-maroon {
    color: var(--failure-maroon);
}

.status-title {
    font-size: 2.2rem;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: var(--royal-blue);
}

/* History Divider Style */
.history-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 0;
}

.history-divider::before,
.history-divider::after {
    content: "";
    height: 1px;
    background: #ccc;
    flex: 1;
}

.history-divider span {
    padding: 0 15px;
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    color: var(--gold-accent);
    font-weight: bold;
}

/* Data Table */
.receipt-data {
    max-width: 450px;
    margin: 0 auto 30px;
    text-align: left;
}

.data-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
}

.data-label {
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    font-weight: bold;
    color: var(--gold-accent);
    text-transform: uppercase;
}

.data-value {
    font-weight: 600;
    color: var(--royal-blue);
}

/* Buttons */
.btn-secretariat {
    background: var(--royal-blue);
    color: var(--gold-accent);
    font-family: 'Cinzel', serif;
    font-weight: 700;
    border: none;
    border-radius: 0;
    padding: 15px 40px;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 2px;
    transition: 0.3s;
    margin-top: 20px;
}

.btn-secretariat:hover {
    background: var(--gold-accent);
    color: var(--royal-blue);
    box-shadow: 0 5px 15px rgba(184, 145, 70, 0.3);
}

.btn-retry {
    border: 1px solid var(--failure-maroon);
    color: var(--failure-maroon);
    font-family: 'Cinzel', serif;
    padding: 12px 30px;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
}

.watermark-om {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20rem;
    color: var(--background-paper);
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}

.z-index-1 {
    position: relative;
    z-index: 1;
}

/* End  */


/* vedic rituals */

/* Simplified Hero */
.vidhi-banner {
    background: linear-gradient(rgba(0, 35, 71, 0.9), rgba(0, 35, 71, 0.9)),
        url('https://images.unsplash.com/photo-1621360841013-c7683c659ec6?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    color: white;
    text-align: center;
    border-bottom: 4px solid var(--gold-accent);
}

.vidhi-banner h1 {
    color: white;
    text-transform: uppercase;
    font-size: 2.8rem;
    margin: 0;
}

.vidhi-banner p {
    color: var(--gold-accent);
    font-family: 'Cinzel', serif;
    letter-spacing: 3px;
    font-size: 1rem;
    margin-top: 10px;
}

/* Main Content Container */
.content-wrapper {
    padding: 60px 0;
}

/* Simplified Section Divider */
.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.section-header h3 {
    margin: 0 20px;
    font-size: 1.5rem;
    white-space: nowrap;
    text-transform: uppercase;
    font-weight: 700;
}

.section-header::before,
.section-header::after {
    content: "";
    height: 1px;
    background: #dee2e6;
    flex: 1;
}

.section-header i {
    color: var(--history-red);
    margin-right: 10px;
}

/* Clean Ritual Cards */
.vidhi-card {
    border: 1px solid #eee;
    transition: 0.3s;
    height: 100%;
    border-radius: 0;
}

.vidhi-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: var(--gold-accent);
}

.vidhi-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.vidhi-body {
    padding: 25px;
}

.vidhi-tag {
    font-family: 'Cinzel', serif;
    font-size: 0.7rem;
    color: var(--gold-accent);
    font-weight: bold;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.vidhi-title {
    font-size: 1.25rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.vidhi-text {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
}

.btn-vidhi {
    background: var(--royal-blue);
    color: var(--gold-accent);
    font-family: 'Cinzel', serif;
    border-radius: 0;
    padding: 10px;
    font-size: 0.75rem;
    font-weight: bold;
    text-decoration: none;
    display: block;
    text-align: center;
    transition: 0.3s;
}

.btn-vidhi:hover {
    background: var(--gold-accent);
    color: var(--royal-blue);
}

/* Step List */
.step-list {
    list-style: none;
    padding: 0;
}

.step-item {
    display: flex;
    margin-bottom: 30px;
}

.step-circle {
    width: 35px;
    height: 35px;
    background: var(--royal-blue);
    color: var(--gold-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-title {
    font-weight: 700;
    color: var(--royal-blue);
    margin-bottom: 5px;
}

/* Sidebar Sidebar */
.sidebar-box {
    background: var(--background-light);
    padding: 30px;
    border-top: 4px solid var(--royal-blue);
}

.samagri-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.samagri-list li {
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.9rem;
    color: #444;
}

.samagri-list li i {
    color: var(--saffron);
    margin-right: 10px;
}

/* end */

/* Video */

/* Video Hero */
.video-hero {
    background: linear-gradient(rgba(0, 35, 71, 0.8), rgba(0, 35, 71, 0.8)), url('../../static/img/about_banner.png');
    background-size: cover;
    padding: 80px 0;
    color: white;
    text-align: center;
    border-bottom: 5px solid var(--gold-accent);
}

/* Video Cards */
.video-card {
    background: white;
    border: 1px solid var(--border-color);
    margin-bottom: 30px;
    transition: 0.3s;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.video-thumb-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    background: #000;
    overflow: hidden;
}

.video-thumb-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: 0.3s;
}

.video-card:hover .video-thumb-wrapper img {
    opacity: 0.6;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--gold-accent);
    font-size: 3rem;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    transition: 0.3s;
}

.video-card:hover .play-icon {
    transform: translate(-50%, -50%) scale(1.1);
    color: white;
}

.video-body {
    padding: 20px;
}

.video-title {
    font-size: 0.95rem;
    color: var(--royal-blue);
    margin-bottom: 10px;
    font-weight: bold;
    height: 45px;
    overflow: hidden;
}

.video-meta {
    font-size: 0.75rem;
    color: #777;
    font-weight: bold;
}

/* End */


/* ================================
Member Directory
================================= */

/* Page Banner */
.directory-banner {
    background: linear-gradient(rgba(0, 35, 71, 0.9), rgba(0, 35, 71, 0.9)),
        url('https://images.unsplash.com/photo-1545062990-4a95e8e4b96d?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    text-align: center;
    border-bottom: 5px solid var(--gold-accent);
}

.directory-banner h1 {
    color: white;
    text-transform: uppercase;
    font-size: 2.8rem;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.directory-banner p {
    color: var(--gold-accent);
    font-family: 'Cinzel', serif;
    letter-spacing: 3px;
    font-size: 1rem;
    margin-top: 10px;
}

/* Search Section */
.search-registry-wrapper {
    background: white;
    border: 1px solid var(--border-color);
    padding: 30px;
    margin: -40px auto 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
    max-width: 600px;
}

.search-title {
    text-align: center;
    font-size: 0.8rem;
    color: var(--gold-accent);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-title::before,
.search-title::after {
    content: "";
    height: 1px;
    background: var(--gold-accent);
    flex: 1;
    margin: 0 15px;
}

.gotra-search-bar {
    display: flex;
    border-bottom: 2px solid var(--royal-blue);
}

.gotra-search-bar input {
    border: none;
    padding: 10px 15px;
    flex-grow: 1;
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    color: var(--royal-blue);
    background: transparent;
}

.gotra-search-bar input:focus {
    outline: none;
}

.gotra-search-bar button {
    background: transparent;
    color: var(--royal-blue);
    border: none;
    padding: 10px;
    font-size: 1.1rem;
}

/* History Divider */
.history-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 50px 0;
}

.history-divider::before,
.history-divider::after {
    content: "";
    height: 1px;
    background: var(--gold-accent);
    flex: 1;
}

.history-divider i {
    color: var(--history-red);
    margin: 0 20px;
    font-size: 1.2rem;
}

/* CardWise Member Registry */
.member-grid {
    padding: 40px 0 80px;
}

.member-card {
    background: white;
    background-image: url('https://www.transparenttextures.com/patterns/natural-paper.png');
    border: 1px solid var(--border-color);
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 30px 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.member-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 35, 71, 0.15);
    border-color: var(--gold-accent);
}

.member-photo-frame {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border: 3px solid var(--gold-accent);
    padding: 5px;
    background: white;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.member-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.member-name {
    color: var(--royal-blue);
    font-size: 1.3rem;
    margin-bottom: 5px;
    font-weight: 700;
    font-family: 'Cinzel', serif;
}

.member-gotra-tag {
    display: inline-block;
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    color: var(--gold-accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.btn-see-details {
    background: var(--royal-blue);
    color: var(--gold-accent);
    border: none;
    border-radius: 0;
    padding: 12px;
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    font-weight: bold;
    width: 100%;
    margin-top: auto;
    text-decoration: none;
    display: block;
    transition: 0.3s;
    letter-spacing: 2px;
}

.btn-see-details:hover {
    background: var(--gold-accent);
    color: var(--royal-blue);
}

/* Modal / Dossier Styling */
.modal-content {
    background-color: var(--archive-bg);
    background-image: url('https://www.transparenttextures.com/patterns/natural-paper.png');
    border-radius: 0;
    border: 8px solid var(--royal-blue);
}

.modal-header {
    border-bottom: 2px solid var(--gold-accent);
    padding: 40px 40px 20px;
    text-align: center;
    display: block;
    position: relative;
}

.dossier-label {
    color: var(--gold-accent);
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    border-bottom: 1px dashed var(--gold-accent);
    margin-bottom: 10px;
    padding-bottom: 5px;
}

.dossier-value {
    color: var(--royal-blue);
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 25px;
    font-family: 'Cinzel', serif;
}

/* =======================================
End Member Directory
============================================ */



/* ====================================
Privacy Policy
========================== */
/* Page Banner */
.policy-banner {
    background: linear-gradient(rgba(0, 35, 71, 0.9), rgba(0, 35, 71, 0.9)),
        url('../../static/img/about_banner.png');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    text-align: center;
    border-bottom: 5px solid var(--gold-accent);
}

.policy-banner h1 {
    color: white;
    text-transform: uppercase;
    font-size: 2.8rem;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.policy-banner p {
    color: var(--gold-accent);
    font-family: 'Cinzel', serif;
    letter-spacing: 3px;
    font-size: 1rem;
    margin-top: 10px;
}

/* Archive Paper Container */
.policy-container {
    background: white;
    background-image: url('https://www.transparenttextures.com/patterns/p6.png');
    border: 1px solid var(--border-color);
    padding: 60px;
    margin: -40px auto 80px;
    max-width: 950px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
}

/* Inner Border */
.policy-container::before {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 1px solid rgba(184, 145, 70, 0.2);
    pointer-events: none;
}

/* History Divider Style */
.policy-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px 0 30px;
}

.policy-divider::before,
.policy-divider::after {
    content: "";
    height: 1px;
    background: var(--gold-accent);
    flex: 1;
    opacity: 0.4;
}

.policy-divider span {
    padding: 0 20px;
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--royal-blue);
    text-transform: uppercase;
    display: flex;
    align-items: center;
}

.policy-divider i {
    color: #800000;
    margin-right: 12px;
}

.policy-content h3 {
    color: var(--royal-blue);
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.policy-content p,
.policy-content li {
    font-size: 1.05rem;
    color: #444;
    text-align: justify;
    margin-bottom: 20px;
}

.policy-content ul {
    padding-left: 20px;
    margin-bottom: 30px;
}

.policy-content li {
    margin-bottom: 10px;
    list-style-type: square;
}

.effective-date {
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    color: var(--gold-accent);
    text-align: center;
    margin-bottom: 40px;
    display: block;
    font-weight: bold;
}

.secretariat-seal-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 25rem;
    color: rgba(184, 145, 70, 0.03);
    z-index: -1;
    pointer-events: none;
}

@media (max-width: 768px) {
    .policy-container {
        padding: 30px 20px;
        margin-top: 0;
    }

    .policy-banner h1 {
        font-size: 2rem;
    }
}

/* ====================================
    End Privacy Policy
    ============================= */


/* =======================
Terms And Condition
============================= */
/* Page Banner */
.terms-banner {
    background: linear-gradient(rgba(0, 35, 71, 0.9), rgba(0, 35, 71, 0.9)),
        url('https://images.unsplash.com/photo-1524492412937-b28074a5d7da?q=80&w=2071&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    text-align: center;
    border-bottom: 5px solid var(--gold-accent);
}

.terms-banner h1 {
    color: white;
    text-transform: uppercase;
    font-size: 2.8rem;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.terms-banner p {
    color: var(--gold-accent);
    font-family: 'Cinzel', serif;
    letter-spacing: 3px;
    font-size: 1rem;
    margin-top: 10px;
}

/* Archive Paper Container */
.terms-container {
    background: white;
    background-image: url('https://www.transparenttextures.com/patterns/p6.png');
    border: 1px solid var(--border-color);
    padding: 60px;
    margin: -40px auto 80px;
    max-width: 950px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
}

/* Inner Border */
.terms-container::before {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 1px solid rgba(184, 145, 70, 0.2);
    pointer-events: none;
}

/* History Divider Style */
.terms-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px 0 30px;
}

.terms-divider::before,
.terms-divider::after {
    content: "";
    height: 1px;
    background: var(--gold-accent);
    flex: 1;
    opacity: 0.4;
}

.terms-divider span {
    padding: 0 20px;
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--royal-blue);
    text-transform: uppercase;
    display: flex;
    align-items: center;
}

.terms-divider i {
    color: #800000;
    margin-right: 12px;
}

.terms-content h3 {
    color: var(--royal-blue);
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.terms-content p,
.terms-content li {
    font-size: 1.05rem;
    color: #444;
    text-align: justify;
    margin-bottom: 20px;
}

.terms-content ul {
    padding-left: 20px;
    margin-bottom: 30px;
}

.terms-content li {
    margin-bottom: 10px;
    list-style-type: square;
}

.effective-date {
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    color: var(--gold-accent);
    text-align: center;
    margin-bottom: 40px;
    display: block;
    font-weight: bold;
}

.secretariat-seal-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 25rem;
    color: rgba(184, 145, 70, 0.03);
    z-index: -1;
    pointer-events: none;
}

.statute-box {
    border-left: 4px solid var(--gold-accent);
    background: #fdfaf0;
    padding: 20px 30px;
    margin-bottom: 30px;
    font-style: italic;
    color: var(--royal-blue);
}

@media (max-width: 768px) {
    .terms-container {
        padding: 30px 20px;
        margin-top: 0;
    }

    .terms-banner h1 {
        font-size: 2rem;
    }
}

/* ==========================
    End
    ================================= */



/* ================================
    Refund Policy
====================================== */
.refund-banner {
    background: linear-gradient(rgba(0, 35, 71, 0.9), rgba(0, 35, 71, 0.9)),
        url('https://images.unsplash.com/photo-1554224155-6726b3ff858f?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    text-align: center;
    border-bottom: 5px solid var(--gold-accent);
}

.refund-banner h1 {
    color: white;
    text-transform: uppercase;
    font-size: 2.8rem;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.refund-banner p {
    color: var(--gold-accent);
    font-family: 'Cinzel', serif;
    letter-spacing: 3px;
    font-size: 1rem;
    margin-top: 10px;
}

/* Archive Paper Container */
.refund-container {
    background: white;
    background-image: url('https://www.transparenttextures.com/patterns/p6.png');
    border: 1px solid var(--border-color);
    padding: 60px;
    margin: -40px auto 80px;
    max-width: 950px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
}

/* Inner Border */
.refund-container::before {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 1px solid rgba(184, 145, 70, 0.2);
    pointer-events: none;
}

/* History Divider Style */
.refund-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px 0 30px;
}

.refund-divider::before,
.refund-divider::after {
    content: "";
    height: 1px;
    background: var(--gold-accent);
    flex: 1;
    opacity: 0.4;
}

.refund-divider span {
    padding: 0 20px;
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--royal-blue);
    text-transform: uppercase;
    display: flex;
    align-items: center;
}

.refund-divider i {
    color: #800000;
    margin-right: 12px;
}

.refund-content h3 {
    color: var(--royal-blue);
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.refund-content p,
.refund-content li {
    font-size: 1.05rem;
    color: #444;
    text-align: justify;
    margin-bottom: 20px;
}

.refund-content ul {
    padding-left: 20px;
    margin-bottom: 30px;
}

.refund-content li {
    margin-bottom: 10px;
    list-style-type: square;
}

.effective-date {
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    color: var(--gold-accent);
    text-align: center;
    margin-bottom: 40px;
    display: block;
    font-weight: bold;
}

.secretariat-seal-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 25rem;
    color: rgba(184, 145, 70, 0.03);
    z-index: -1;
    pointer-events: none;
}

.notice-box {
    border: 1px solid var(--gold-accent);
    background: #fdfaf0;
    padding: 25px;
    margin-bottom: 30px;
    text-align: center;
}

.notice-box i {
    color: var(--gold-accent);
    font-size: 2rem;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .refund-container {
        padding: 30px 20px;
        margin-top: 0;
    }

    .refund-banner h1 {
        font-size: 2rem;
    }
}

/* =======================================
    End Refund Policy
    ============================================ */


/* =====================================
Resources
=========================================== */
 /* Page Banner */
        .resource-hero {
            background: linear-gradient(rgba(0, 35, 71, 0.95), rgba(0, 35, 71, 0.9)), 
                        url('https://images.unsplash.com/photo-1524995997946-a1c2e315a42f?q=80&w=2070&auto=format&fit=crop');
            background-size: cover;
            background-position: center;
            padding: 100px 0;
            text-align: center;
            border-bottom: 5px solid var(--gold-accent);
        }
        .resource-hero h1 { color: white; text-transform: uppercase; font-size: 3.2rem; margin: 0; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
        .resource-hero p { color: var(--gold-accent); font-family: 'Cinzel', serif; letter-spacing: 4px; font-size: 1.1rem; margin-top: 15px; }

        /* Tabbed Navigation */
        .archive-nav {
            background: white;
            border: 1px solid var(--border-color);
            padding: 10px;
            margin: -35px auto 50px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            display: flex;
            justify-content: center;
            gap: 10px;
            max-width: 800px;
            position: relative;
            z-index: 10;
        }
        .nav-link-royal {
            color: var(--royal-blue);
            text-decoration: none;
            font-family: 'Cinzel', serif;
            font-weight: 700;
            font-size: 0.75rem;
            padding: 10px 18px;
            border: 1px solid transparent;
            transition: 0.3s;
            text-transform: uppercase;
            letter-spacing: 2px;
        }
        .nav-link-royal:hover, .nav-link-royal.active {
            background: var(--royal-blue);
            color: var(--gold-accent);
            border-color: var(--royal-blue);
        }

        /* Enhanced Resource Cards */
        .resource-grid { padding-bottom: 80px; }
        
        .manuscript-card {
            background: white;
            background-image: url('https://www.transparenttextures.com/patterns/natural-paper.png');
            border: 1px solid var(--border-color);
            padding: 40px 30px;
            height: 100%;
            transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
            position: relative;
            display: flex;
            flex-direction: column;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        }
        .manuscript-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0,35,71,0.15);
            border-color: var(--gold-accent);
        }

        .card-category {
            font-family: 'Cinzel', serif;
            font-size: 0.7rem;
            color: var(--gold-accent);
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 2px;
            display: block;
            margin-bottom: 12px;
            border-bottom: 1px solid rgba(184, 145, 70, 0.2);
            padding-bottom: 8px;
            width: fit-content;
        }

        .resource-title {
            color: var(--royal-blue);
            font-size: 1.4rem;
            font-weight: 700;
            margin-bottom: 15px;
            line-height: 1.3;
            font-family: 'Cinzel', serif;
        }

        .resource-desc {
            font-size: 0.95rem;
            color: #555;
            margin-bottom: 25px;
            flex-grow: 1;
            line-height: 1.6;
            text-align: justify;
        }

        .resource-meta-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-top: 1px dashed #ddd;
            padding-top: 20px;
            margin-top: auto;
        }

        .file-spec {
            font-size: 0.75rem;
            color: #888;
            font-weight: bold;
            font-family: 'Cinzel', serif;
        }

        .btn-download-royal {
            background: var(--royal-blue);
            color: var(--gold-accent);
            border: none;
            border-radius: 0;
            padding: 10px 20px;
            font-family: 'Cinzel', serif;
            font-weight: bold;
            font-size: 0.7rem;
            text-decoration: none;
            transition: 0.3s;
            letter-spacing: 1px;
        }
        .btn-download-royal:hover {
            background: var(--gold-accent);
            color: var(--royal-blue);
        }

        /* History Divider */
        .history-divider {
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 60px 0 40px;
        }
        .history-divider::before, .history-divider::after { 
            content: ""; 
            height: 1px; 
            background: var(--gold-accent); 
            flex: 1; 
            opacity: 0.4;
        }
        .history-divider i { color: var(--history-red); margin: 0 25px; font-size: 1.6rem; }


        @media (max-width: 768px) {
            .archive-nav { flex-wrap: wrap; margin-top: 0; }
            .resource-hero h1 { font-size: 2.2rem; }
        }

/* ==========================
    End Resources 
    ==================================*/