/* ==================== FRONTEND CSS STYLESHEET  ============== */

:root {
    --primary-color: #1B2A57;
    --secondary-color: #E4B959;
    --accent-color: #e74c3c;
    --light-bg: #f8f9fa;
    --dark-text: #333;
    --light-text: #fff;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-text);
    background-color: #f9faff;
    /*line-height: normal;*/
    font-size: 1rem;
    line-height: 1.5;
}

::selection {
    background: #1B2A57;       
    color: #ffffff;  
}

::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background-color: #797979;
    border-radius: 10px;
    border: 3px solid #f1f1f1;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #555555;
}

.text-color-primary {
    color: var(--primary-color);
}
.text-color-secondary {
    color: var(--secondary-color);
}
.background-text-primary {
    background-color: var(--primary-color);
}
.background-text-secondary {
    background-color: var(--secondary-color);
}

.background-text-secondary:hover {
    background-color: var(--secondary-color);
}

.navbar {
    background-color: var(--primary-color);
    padding: 0.5rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    color: var(--dark-text) !important;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    color: var(--dark-text) !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.navbar-toggler {
    background: #fff3cd !important;
    border: 1px solid #E4B959;
}

.navbar-toggler:focus {
    box-shadow: none; 
}

@media (min-width: 1280px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1280px;
    }
}

.ad-section {
    position: sticky;
    top: 11vh;
    /*border: 1px solid #cfcfcf;*/
    border-radius: 10px;
    text-align: center;
    /*padding: 15px;*/
    font-weight: 500;
    color: #0a4275;
}

.ad-box .right-box img,
.ad-box .left-box img{
    width: 100%;
}

.ad-box .top-box img {
    height: 160px;
}

.search-container {
    margin-bottom: 1rem;
}

.search-box {
    max-width: 400px;
    margin: 0 auto;
    
}

.search-box input {
    border-radius: 30px 0 0 30px;
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.search-box button {
    border-radius: 0 30px 30px 0;
    background-color: var(--secondary-color);
    border: none;
    color: var(--primary-color);
    font-weight: 600;
    padding: 0.8rem 1.5rem;
}

.search-box button:hover {
    background-color: #c49b2f;
    color: var(--light-text);
}

.join-btn {
    color: #000;
    transition: all 0.3s ease;
    border-radius: 10px;
    padding: 10px 15px;
}

.join-btn:hover {
    color: var(--dark-text) !important;
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.gateway-section {
    /*margin-bottom: 3rem;*/
}

.section-title {
    color: var(--primary-color);
    border-bottom: 4px solid var(--secondary-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
}

.card {
    border: 2px solid var(--light-bg);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    /* background-image: url("assets/images/background-card.svg"); */
    /* background: linear-gradient(177deg, #ffffff, #fdffbe); */
    border-radius: 15px;
    /*margin-bottom: 1.5rem;*/
    transition: all 0.4s ease;
    overflow: hidden;
    position: relative;
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(120deg, rgba(243, 235, 126, 0.15), rgba(184, 172, 14, 0.15)); */
    transition: 0.5s;
}

.card:hover::before {
    left: 0;
}

.card:hover {
    border: 2px solid var(--secondary-color);
    transition: 0.5s;
    /* transform: translateY(-8px); */
    /* box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2); */
}

.card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.card-body {
    text-align: center;
    padding: 20px;
    z-index: 1;
    position: relative;
    border-bottom: 2px solid #E4B959;
}

.card-description {
    font-weight: 500;
    color: var(--accent-color);
}

.contact-info {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 2rem 0;
    margin-top: 2rem;
}

.contact-info h5 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.contact-info a {
    color: var(--light-text);
    text-decoration: none;
}

.contact-info a:hover {
    color: var(--secondary-color);
}

.footer {
    background-color: #E4B959;
    color: var(--light-text);
    padding: 1.2rem 0;
    font-size: 0.9rem;
    line-height: normal;
}

.footer p {
    margin: 0px;
}

.social-icons a {
    color: var(--light-text);
    margin-right: 1rem;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--secondary-color);
}

.website-hits {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-weight: 600;
    display: inline-block;
    margin-top: 1rem;
}

.offcanvas-title,
.navbar-brand {
    color: var(--primary-color) !important;
}

@media (max-width: 768px) {
    .navbar-nav {
        text-align: left;
        margin-top: 0.5rem;
    }
    
    .navbar-nav .nav-item:hover {
        background-color: #fff3cd;
        border-radius: 10px;
    }

    .search-box {
        padding: 0 1rem;
    }

    .card {
        margin-bottom: 1rem;
    }
}

/* ==================== END OF FRONTEND CSS STYLESHEET  ============== */

/* category content-page styles */

.sidebar {
    background: #fff;
    border-right: 2px solid #e4e6ef;
    height: 100%;
    padding: 20px;
    border-radius: 6px;
}

.sidebar h5 {
    font-weight: 700;
    color: #2b2e83;
    margin-bottom: 20px;
}

.sidebar ul {
    list-style: none;
    padding-left: 0;
}

.sidebar ul li {
    margin-bottom: 14px;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px dashed #aeaeae;
    padding-bottom: 10px;
}

.sidebar ul li a {
    text-decoration: none;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar ul li a:hover {
    color: #2b2e83;
}

.sidebar ul li.active a {
    color: #2b2e83;
    font-weight: 700;
}

.content-count {
    background: #e5e7ff;
    color: #2b2e83;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
}

.content-area {
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgb(255 239 18 / 80%);
}


.meta-info .badge {
    background-color: #6666cc;
    font-size: 14px;
}

.meta-info .date {
    background-color: #e5e7ff;
    color: #2b2e83;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
}

.meta-icons i {
    margin-right: 10px;
    color: #2b2e83;
    cursor: pointer;
}

.meta-descpt {
    display: flex;
    gap:8px;
}

.table-box table {
    border: 1px dotted #E4B959;
    border-radius: 15px;
    padding: 15px;
}

.table-box table {
    width: 100%;
}

.table-box td {
    /*border: 1px dotted #bcbdf0;*/
    /*padding: 0.8rem;*/
}

.table-box a {
    /*color: #2b2e83;*/
    text-decoration: none;
    /*font-weight: 500;*/
}

.table-box a:hover {
    text-decoration: underline;
}

.nav-arrows {
    display: flex;
    gap: 10px;
    align-items: center;
}

.nav-arrows .btn {
    padding: 6px 12px;
    border-radius: 10px;
}




/*===========================================*/



/* Breadcrumb Styling */
.custom-breadcrumb {
    /*background: linear-gradient(135deg, #1B2A57 0%, #1B2A57 100%);*/
    /*border-radius: 10px;*/
    padding: 10px 0px;
    margin-bottom: 10px;
    /*box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);*/
}

.breadcrumb-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    color: white;
    font-size: 12px;
    font-weight: 500;
}

.breadcrumb-item a {
    color: #5a5b75;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: #1B2A57;
    /*background: rgba(255, 255, 255, 0.2);*/
}

.breadcrumb-separator {
    align-items: center;
    display: flex;
}

.breadcrumb-current {
    /*background: rgba(255, 255, 255, 0.2);*/
    /*padding: 5px 15px;*/
    /*border-radius: 20px;*/
    /*border: 1px solid rgba(255, 255, 255, 0.3);*/
}

/* Main Content Styling */

.page-title {
    /*text-transform: capitalize;*/
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.3rem;
    /*margin-bottom: 10px;*/
    padding-bottom: 10px;
    /*border-bottom: 3px solid #1B2A57;*/
    position: relative;
}

.page-title::after {
    /*content: '';*/
    /*position: absolute;*/
    /*bottom: -3px;*/
    /*left: 0;*/
    /*width: 100px;*/
    /*height: 3px;*/
    /*background: #E4B959;*/
}

.meta-info {
    margin-bottom: 20px;
    justify-content: space-between;
}

.meta-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.meta-right {
    display: flex;
    align-items: center;
}


.table-box h6 {
    color: #2c3e50;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px dashed #bdc3c7;
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.single-column {
    grid-template-columns: 1fr;
}

.category-item,
.content-item {
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #E4B959;
    transition: all 0.3s ease;
}

.category-item:hover,
.content-item:hover {
    background: #fff5d9;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.category-item a,
.content-item a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
}

.category-item a:hover,
.content-item a:hover {
    color: #1B2A57;
}

.item-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.item-count-badge {
    background: #3498db;
    color: white;
    border-radius: 12px;
    padding: 2px 8px;
    font-size: 0.8rem;
    font-weight: 600;
}

.item-meta {
    color: #7f8c8d;
    font-size: 0.9rem;
}


/* Alert Styling */
.alert-info {
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #d6eaf8 0%, #ebf5fb 100%);
    border-left: 4px solid #E4B959;
    color: #2c3e50;
    padding: 10px;
}

/* Parent Link */
.parent-link {
    text-align: center;
}

.parent-link .btn {
    border-radius: 25px;
    padding: 10px 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.parent-link .btn:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Category Stats */
.category-stats {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.stat-item {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pdf-content p {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-area {
        padding: 15px;
    }

    .page-title {
        font-size: 1.1rem;
    }

    .items-grid {
        grid-template-columns: 1fr;
    }

    .meta-info {
        gap: 10px;
        text-align: center;
    }

    .meta-left {
        justify-content: center;
    }

    .category-stats {
        justify-content: center;
    }

    .category-item,
    .content-item {
        padding: 12px;
    }
}

@media (max-width: 576px) {
    .breadcrumb-links {
        align-items: flex-start;
        gap: 5px;
    }

    .custom-breadcrumb {
        /*display: none;*/
    }

    .category-stats {
        flex-direction: column;
    }

    .stat-item {
        justify-content: center;
    }
}


/* Meta Info */
.meta-info {
    /*background: #fff3cd;*/
    /*padding: 10px;*/
    /*border-radius: 15px;*/
    /*border: 1px solid #E4B959;*/
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.meta-badge {
    /*background: #8585d8;*/
    color: #1B2A57;
    padding: 5px 10px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    /*box-shadow: 0 4px 12px rgba(43, 46, 131, 0.2);*/
}

.date-badge {
    /*background: #8585d8;*/
    color: #1B2A57;
    padding: 5px 10px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 13px;
    /*box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);*/
}

/* Meta Icons */
.meta-icons {
    display: flex;
    gap: 10px;
} 

.meta-icons i {
    width: 30px;
    height: 30px;
    background: #fcfcfc;
    color: #1B2A57;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(43, 46, 131, 0.1);
    border: 2px solid transparent;
}

.meta-icons i:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(43, 46, 131, 0.2);
}

.meta-icons .fa-facebook-f:hover {
    background: #3b5998;
    color: white;
    border-color: #3b5998;
}

.meta-icons .fa-whatsapp:hover {
    background: #25d366;
    color: white;
    border-color: #25d366;
}

.meta-icons .fa-print:hover {
    background: #e74c3c;
    color: white;
    border-color: #e74c3c;
}

.meta-icons .fa-link:hover {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.weui--arrow-filled {
  display: inline-block;
  width: 12px;
  height: 20px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 24'%3E%3Cdefs%3E%3Cpath id='SVG1pzpbdYY' fill='%235a5b75' d='m7.588 12.43l-1.061 1.06L.748 7.713a.996.996 0 0 1 0-1.413L6.527.52l1.06 1.06l-5.424 5.425z'/%3E%3C/defs%3E%3Cuse fill-rule='evenodd' href='%23SVG1pzpbdYY' transform='rotate(-180 5.02 9.505)'/%3E%3C/svg%3E");
}



/*===================================*/



.content-body {
    border: 1px solid #E4B959;
    border-radius: 15px;
    padding: 15px;
}

.content-body p{
    margin-top: 6px !important;
    margin-bottom: 6px !important;
    line-height: 1.2rem !important;
    padding-right: 5px !important;
    padding-left: 5px !important;
}

.content-body p span {
  color: #090909;
}

.view-content .category-item {
    padding: 10px 12px;
}

.selection-controls input[type="radio"] {
  accent-color: #1B2A57; 
}

.custom-meta-group {
    display: inline-flex;
    align-items: center;
    background: var(--secondary-color);
    border-radius: 10px;
    overflow: hidden;
    color: var(--primary-color);
    font-size: 14px;
}

.custom-meta-group .meta-item {
    padding: 4px 16px;
    display: flex;
    align-items: center;
    border-right: 1px solid rgba(255,255,255,0.4);
}

.custom-meta-group .meta-item:last-child {
    border-right: none;
}

.custom-meta-group .icon-item i {
    font-size: 16px;
    padding: 2px 0px;
    cursor: pointer;
}

.custom-meta-group .view-item i {
    margin-right: 5px;
}

.form-control:focus {
    box-shadow: none;
}

