/****************************************************************************            CUSTOM CSS                      **************************
*
*
/



/*********  BUTTONS ONLY ****************************/

.btn.btn-sm, .btn-group-sm > .btn {
    padding: 5px 20px;
    font-size: 12px;
}
.text-sm .btn {
    font-size: 12px !important;
}

.btn.btn-primary {
    background: #4f81c7;
    border-color: #4f81c7;
    color: #fff;
    -webkit-box-shadow: 2px 2px 0px 0px #3d73c0;
    -moz-box-shadow: 2px 2px 0px 0px #3d73c0;
    box-shadow: 2px 2px 0px 0px #3d73c0; }
.btn.btn-primary:hover, .btn.btn-primary:focus {
    border-color: #3768ac !important;
    background: #3768ac !important; }

.btn.btn-outline-primary {
    background: #fff;
    color: #4f81c7;
    border-color: #4f81c7;
    -webkit-box-shadow: 2px 2px 0px 0px #769dd3;
    -moz-box-shadow: 2px 2px 0px 0px #769dd3;
    box-shadow: 2px 2px 0px 0px #769dd3; }
.btn.btn-outline-primary:hover, .btn.btn-outline-primary:focus {
    color: #fff;
    background: #4f81c7; }


.btn.btn-secondary {
    color: #fff;
    border-color: #6c757d;
    background: #6c757d;
    -webkit-box-shadow: 2px 2px 0px 0px #91979d;
    -moz-box-shadow: 2px 2px 0px 0px #91979d;
    box-shadow: 2px 2px 0px 0px #91979d;
}
.btn.btn-secondary:hover, .btn.btn-secondary:focus {
    border-color: #6c757d !important;
    background: #6c757d !important;
}

.btn.btn-outline-secondary {
    background: #fff;
    color: #6c757d;
    border-color: #6c757d;
    -webkit-box-shadow: 2px 2px 0px 0px #91979d;
    -moz-box-shadow: 2px 2px 0px 0px #91979d;
    box-shadow: 2px 2px 0px 0px #91979d; }
.btn.btn-outline-secondary:hover, .btn.btn-outline-secondary:focus {
    color: #fff;
    background: #6c757d; }


.btn.btn-outline-danger {
    background: #fff;
    color: #e14554;
    border-color: #e14554;
    -webkit-box-shadow: 2px 2px 0px 0px #e35866;
    -moz-box-shadow: 2px 2px 0px 0px #e35866;
    box-shadow: 2px 2px 0px 0px #e35866; }
.btn.btn-outline-danger:hover, .btn.btn-outline-danger:focus {
    color: #fff;
    background: #e14554;
}

.btn.btn-danger {
    color: #fff;
    border-color: #e14554;
    background: #e14554;
    -webkit-box-shadow: 2px 2px 0px 0px #e35866;
    -moz-box-shadow: 2px 2px 0px 0px #e35866;
    box-shadow: 2px 2px 0px 0px #e35866;
}
.btn.btn-danger:hover, .btn.btn-danger:focus {
    border-color: #e35866 !important;
    background: #f0283d  !important;
}


.btn.btn-info {
    color: #fff;
    border-color: #40bfc1;
    background: #40bfc1;
    -webkit-box-shadow: 2px 2px 0px 0px #67cccd;
    -moz-box-shadow: 2px 2px 0px 0px #67cccd;
    box-shadow: 2px 2px 0px 0px #67cccd;
}
.btn.btn-info:hover, .btn.btn-secondary:focus {
    border-color: #40bfc1 !important;
    background: #1ae1e5 !important;
}

.btn.btn-outline-info {
    background: #fff;
    color: #40bfc1;
    border-color: #40bfc1;
    -webkit-box-shadow: 2px 2px 0px 0px #67cccd;
    -moz-box-shadow: 2px 2px 0px 0px #67cccd;
    box-shadow: 2px 2px 0px 0px #67cccd; }
.btn.btn-outline-info:hover, .btn.btn-outline-info:focus {
    color: #fff;
    background: #40bfc1; }


.btn.btn-success {
    color: #fff;
    border-color: #48da79;
    background: #48da79;
    -webkit-box-shadow: 2px 2px 0px 0px #33d669;
    -moz-box-shadow: 2px 2px 0px 0px #33d669;
    box-shadow: 2px 2px 0px 0px #33d669;
}
.btn.btn-success:hover, .btn.btn-success:focus {
    border-color: #48da79 !important;
    background: #48da79 !important;
}

.btn.btn-outline-success {
    background: #fff;
    color: #48da79;
    border-color: #48da79;
    -webkit-box-shadow: 2px 2px 0px 0px #33d669;
    -moz-box-shadow: 2px 2px 0px 0px #33d669;
    box-shadow: 2px 2px 0px 0px #33d669; }
.btn.btn-outline-success:hover, .btn.btn-outline-success:focus {
    color: #fff;
    background: #48da79; }





/* BUTTON end  *******************************************/


/*padding in HH all data Edit form and heading*/
.content-header {
    padding: 5px .5rem;
}

input[type="text"]:focus {
    box-shadow: 0 0 10px #66afe9;
    background-color: #ccd5dd30;
}


.sidebar-dark-info .nav-sidebar>.nav-item>.nav-link.active, .sidebar-light-info .nav-sidebar>.nav-item>.nav-link.active {
    /*background-color: #70ad47; !* CSDS Logo Green Color*!*/
    /*background-color: #f57a27 !important;  !* CSDS Logo Orange Color*!*/
    /*background-color: #ff8a3b !important;  !* CSDS Logo Orange Color*!*/
    background-color: #0056b3d6  !important;
    color: #fff;
}

#survey-edit input[type="text"] {
    /*width: 360px;*/
    height: 28px;
    font-size: 13px;
    padding: 1px 1px 1px 5px;
    background-color: #eaf8ff;
}
#survey-edit select{
    /*width: 360px;*/
    height: 28px;
    font-size: 13px;
    padding: 1px 1px 1px 5px;
    background-color: #eaf8ff;
}
.card-body.household-data input[type="text"] {
    /*width: 155px;*/
    height: 28px;
    font-size: 14px;
    padding: 1px 1px 1px 5px;
    background-color: #4f81c712;
}
.card-body.household-data select{
    /*width: 155px;*/
    height: 28px;
    font-size: 14px;
    padding: 1px 1px 1px 5px;
    background-color: #4f81c712;
}
.card-body.household-data{
    padding: 0px 24px 12px 23px;
}

.household-data .input-group-text {
    /*width: 155px;*/
    height: 28px;
    font-size: 14px;
    padding: 1px 5px 1px 5px;
    /*background-color: #4f81c712;*/
}

.card-body input[type="text"]
/*.card-body input[type="number"],
.card-body input[type="email"]*/{
    /*width: 155px;*/
    height: 28px;
    font-size: 14px;
    padding: 1px 1px 1px 5px;
    background-color: #4f81c712;
}
.card-body select{
    /*width: 155px;*/
    height: 28px;
    font-size: 14px;
    padding: 1px 1px 1px 5px;
    background-color: #4f81c712;
}

label:not(.form-check-label):not(.custom-file-label) {
    font-size: 14px;
}
/*thead {*/
/*    !*background-color: #40bfc140;*!*/
/*    background-color: #2e73d847;*/
/*    color: #6c757d;*/

/*}*/



thead {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e3a8a;
}


tbody{
    background-color: #f8fbff;
    /*background-color: #f1f5ff;*/

}


tfoot {
    background-color: #eef4ff;
    color: #1e3a8a;
    border-top: 2px solid #93c5fd;
}





thead td {
    /*border-color: red;*/
    border: 1px solid #c1c2c3 !important;
}

.page-item.active .page-link {
    z-index: 1;
    color: #fff;
    background-color: #40bfc1;
    border-color: #40bfc1;
}
.page-link {
    position: relative;
    display: block;
    padding: 0.5rem 0.75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #40bfc1;
    background-color: #fff;
    border: 1px solid #dee2e6;
}

.card-header {
    padding: 0.75rem 1.25rem;
    margin-bottom: 0;
    background-color: rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}
button {
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease; }
button:hover, button:focus {
    text-decoration: none !important;
    outline: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important; }

.btn.btn-sm.cross{
    padding: 5px 9px;
    font-size: 10px;
    margin-right: 18px;
}

.main-footer {
    padding: 6px 1px 4px 9px;
}

.company-logo-orange{
    background-color: #f57c25;
}
.company-logo-green{
    background-color: #71af45;
}
.company-logo-yellow{
    background-color: #ffc703;
}
.nav-bg-color{
    background-color: #455eaf;
}

/*.login-underline{*/
/*    !*border-bottom: 2px solid #d2b681; !* Set the color and thickness of the underline *!*!*/
/*    border-bottom: 2px solid #f57c25; !* Set the color and thickness of the underline *!*/
/*    padding-bottom: 4px; !* Space between the text and the underline *!*/
/*    display: inline-block; !* Makes the padding work correctly *!*/
/*}*/



/* Ensure the links are positioned correctly */
.underline-effect span {
    position: relative; /* Added for positioning the ::before element */
    color: white; /* Ensure text is white */
    text-decoration: none; /* Remove underline */
    padding: 10px; /* Add some padding if needed */
    transition: box-shadow 0.3s ease; /* Smooth transition for box-shadow */
}

/* Before pseudo-element for underline effect */
.underline-effect span::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background: #ffc767;
    visibility: hidden; /* Initially hidden */
    transform: scaleX(0); /* Initially scaled down */
    transition: all 0.3s ease-in-out; /* Smooth transition */
}

/* Hover effect for the link */
.login-shadow a:hover {
    box-shadow:
        0 3px 6px rgba(0, 0, 0, 0.2),
        0 3px 6px rgba(0, 0, 0, 0.26);
}

/* Show the underline effect on hover */
.underline-effect span:hover::before {
    visibility: visible; /* Make it visible on hover */
    transform: scaleX(1); /* Scale to full width on hover */
}

.pace .pace-progress {
    height: 3px !important;
}

.input-group-prepend {
    height: 28px;
}

/*.table-container {*/
/*    !*max-height: 1000px; !* Set a max height for the container *!*!*/
/*    !*overflow-y: auto; !* Enable vertical scrolling *!*!*/
/*    border: 1px solid #ccc; !* Optional: add a border to the container *!*/
/*    position: sticky; !* Make the header sticky *!*/
/*    top: 59px; !* Stick to the top of the container *!*/
/*    z-index: 10; !* Ensure the header is above the table rows *!*/
/*}*/
/*.sticky-card{*/
/*    position: sticky; !* Make the header sticky *!*/
/*    !*top: 59px; !* Stick to the top of the container *!*!*/
/*    top: 0; !* Stick to the top of the container *!*/
/*    z-index: 10; !* Ensure the header is above the table rows *!*/
/*}*/

/*table {*/
/*    width: 100%;*/
/*    border-collapse: collapse; !* Collapse borders *!*/
/*}*/

/* Leaflet map popup styles*/
.popUpTitle{
    color: #3a8000;
}
.markerPopUpBox{
    background-color: #f8f8f8;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 7px 8px 10px rgba(0, 0, 0, 0.5);
}
.wardPopUpBox{
    background-color: #3c8dbc85;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 7px 8px 10px rgba(0, 0, 0, 0.5);
}
/***/
.hvr-bounce-to-bottom:before{
    background: #455eaf !important;
}

.out-of-total-text{
    font-size: 12px;
    float: right !important;
}

/*.sidebar-nav > ul > li > a {*/
/*    color: #ffffff !important;*/
/*}*/

.login-bg-pattern {
    background-image: url("../image/45degreee_fabric.png");
    background-size: cover;
    background-repeat: no-repeat; /* Prevent tiling */
    color: white; /* Adjust text color for contrast */
    padding: 15px;
}

.login-header-color{
    background: radial-gradient(circle, rgba(150,188,225,0.37298669467787116) 0%, rgba(135,206,235,0.5) 36%, rgba(255,255,255,1) 91%, rgba(236,241,244,1) 100%);
}


label:not(.form-check-label):not(.custom-file-label) { /*overwrite of admin.css*/
    font-weight: 600;
}

.thead-color{
    background-color: #40bfc140;
}

.small-box{
    background-color: #cccccc26;
}
.btn-warning:hover{
    background-color: #ffe224;
}

/*!* Generic Raised Button Class *!*/
/*.raised-btn {*/
/*    display: inline-block;*/
/*    padding: 8px 16px;*/
/*    border-radius: 4px;*/
/*    text-decoration: none;*/
/*    transition: all 0.2s ease-in-out;*/
/*    border: none;*/
/*    cursor: pointer;*/

/*    !* Default Raised Shadow *!*/
/*    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2),*/
/*    0 1px 3px rgba(0, 0, 0, 0.1);*/
/*}*/

/*!* Hover State: Lifting effect *!*/
/*.raised-btn:hover {*/
/*    transform: translateY(-2px);*/
/*    box-shadow: 0 7px 14px rgba(0, 0, 0, 0.25),*/
/*    0 3px 6px rgba(0, 0, 0, 0.2);*/
/*}*/

/*!* Active State: Pressed effect *!*/
/*.raised-btn:active {*/
/*    transform: translateY(0);*/
/*    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);*/
/*}*/

/* RAISED EFFECT for all buttons*/
/* Target all buttons and anchor tags with the .btn class */
button, a.btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    border: none !important;
    /*border-color: #fff;*/
    cursor: pointer;

    /* Default Raised Shadow */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2),
    0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Hover State: Lifting effect */
button:hover, a.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(0, 0, 0, 0.25),
    0 3px 6px rgba(0, 0, 0, 0.2);
}

/* Active State: Pressed effect */
button:active, a.btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
}
/*RAISED EFFECT end*/


/*NEW LANDING PAGE DESIGN */

/* ──────────────────────────────────────────
   IMPORT FONTS (Nepali & Latin)
────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Tiro+Devanagari+Nepal:ital@0;1&family=DM+Sans:wght@300;400;500;600;700&family=DM+Serif+Display:ital@0;1&display=swap');

/* ──────────────────────────────────────────
   DESIGN TOKENS
────────────────────────────────────────── */
:root {
    --dp-navy:        #0d1b3e;
    --dp-navy-mid:    #152554;
    --dp-navy-light:  #1e3a7a;
    --dp-amber:       #e8a020;
    --dp-amber-light: #f5c05a;
    --dp-amber-pale:  #fdf3dc;
    --dp-teal:        #1a8f7a;
    --dp-teal-light:  #22b89a;
    --dp-crimson:     #c0392b;
    --dp-fog:         #f0f4f8;
    --dp-border:      #e4eaf5;
    --dp-text:        #0d1b3e;
    --dp-muted:       #6b7a99;
    --dp-slate:       #4a5a7a;
    --dp-card-shadow: 0 3px 18px rgba(13,27,62,0.08);
    --dp-card-shadow-hover: 0 12px 40px rgba(13,27,62,0.18);
    --dp-gold-gradient: linear-gradient(135deg, #e8a020, #f5c05a);
    --dp-navy-gradient: linear-gradient(160deg, #0d1b3e 0%, #1e3a7a 100%);

    --navy: #0d1b3e;
    --navy-mid: #152554;
    --navy-light: #1e3a7a;
    --amber: #e8a020;
    --amber-light: #f5c05a;
    --amber-pale: #fdf3dc;
    --crimson: #c0392b;
    --teal: #1a8f7a;
    --teal-light: #22b89a;
    --slate: #4a5a7a;
    --fog: #f0f4f8;
    --white: #ffffff;
    --text-dark: #0d1b3e;
    --text-muted: #6b7a99;
    --border: #dde3f0;
    --gold-gradient: linear-gradient(135deg, #e8a020, #f5c05a);
    --navy-gradient: linear-gradient(160deg, #0d1b3e 0%, #1e3a7a 100%);
    --card-shadow: 0 4px 24px rgba(13,27,62,0.10);
    --card-shadow-hover: 0 12px 40px rgba(13,27,62,0.18);
}

/* ──────────────────────────────────────────
   GLOBAL STYLES WITH NEPALI FONTS
────────────────────────────────────────── */
body {
    background: var(--dp-fog) !important;
    font-family: 'DM Sans', sans-serif;
    color: var(--dp-text);
}

/* Nepali text class for Devanagari content */
.nepali-text,
.dp-hero h1,
.section-title,
.hero-stat-card .num,
.demo-num {
    font-family: 'Tiro Devanagari Nepal', 'DM Serif Display', serif;
}

/* Latin numbers with serif for emphasis */
.stat-number,
.counter {
    font-family: 'DM Serif Display', serif;
}

.content-wrapper {
    background: var(--dp-fog) !important;
    padding: 0 !important;
}
.row-content{
    padding: 0px 1px;
    margin-top: 18px;
}

/* ──────────────────────────────────────────
   STICKY NAVBAR SHADOW
────────────────────────────────────────── */
.main-header.sticky {
    box-shadow: 0 6px 20px rgba(13,27,62,0.30) !important;
}

/* ──────────────────────────────────────────
   HERO SECTION
────────────────────────────────────────── */
.dp-hero {
    background: var(--dp-navy-gradient);
    padding: 56px 32px 64px;
    position: relative;
    overflow-x: clip;
    color: white;
}
.dp-hero::before {
    content: '';
    position: absolute; top: -80px; right: -100px;
    width: 520px; height: 520px; border-radius: 50%;
    background: radial-gradient(circle, rgba(232,160,32,0.13) 0%, transparent 70%);
    pointer-events: none;
}
.dp-hero::after {
    content: '';
    position: absolute; bottom: -100px; left: -60px;
    width: 400px; height: 400px; border-radius: 50%;
    background: radial-gradient(circle, rgba(26,143,122,0.13) 0%, transparent 70%);
    pointer-events: none;
}
.dp-hero-inner {
    max-width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.dp-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(232,160,32,0.14);
    border: 1px solid rgba(232,160,32,0.32);
    color: var(--dp-amber-light);
    font-size: 11.5px; font-weight: 600;
    letter-spacing: 1.1px; text-transform: uppercase;
    padding: 5px 14px; border-radius: 20px;
    margin-bottom: 18px;
}
.dp-hero-tag::before { content: '●'; font-size: 7px; animation: dp-blink 2s infinite; }
@keyframes dp-blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

.dp-hero h1 {
    font-family: 'Tiro Devanagari Nepal', 'DM Serif Display', serif;
    font-size: clamp(26px, 3vw, 44px);
    line-height: 1.18;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: -0.3px;
}
.dp-hero h1 em {
    font-style: italic;
    color: var(--dp-amber-light);
    font-family: 'Tiro Devanagari Nepal', serif;
}
.dp-hero p {
    font-family: 'DM Sans', sans-serif;
    font-size: 14.5px; line-height: 1.80;
    color: rgba(255,255,255,0.72);
    margin-bottom: 28px;
}
.dp-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.dp-btn-amber {
    background: var(--dp-gold-gradient);
    color: #20c997; font-weight: 700; font-size: 13.5px;
    padding: 10px 22px; border-radius: 8px; border: none;
    cursor: pointer; text-decoration: none;
    display: inline-flex; align-items: center; gap: 7px;
    transition: all .2s;
    box-shadow: 0 10px 25px rgba(232,160,32,0.38);
}
.dp-btn-amber:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(232,160,32,0.5); color: #ffc107; text-decoration:none; }
.dp-btn-ghost {
    background: transparent; color: white;
    font-weight: 500; font-size: 13.5px;
    padding: 10px 20px; border-radius: 8px;
    border: 1.5px solid rgba(255,255,255,0.28);
    cursor: pointer; text-decoration: none;
    display: inline-flex; align-items: center; gap: 7px;
    transition: all .2s;
}
.dp-btn-ghost:hover { background: rgba(255,255,255,0.10); color: white; text-decoration:none; }

/* Hero stat cards */
.dp-hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dp-hero-stat {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 14px; padding: 20px 16px;
    backdrop-filter: blur(8px);
    transition: all .3s;
}
.dp-hero-stat:hover { background: rgba(255,255,255,0.11); transform: translateY(-3px); }
.dp-hero-stat.accent { border-color: rgba(232,160,32,0.28); background: rgba(232,160,32,0.08); }
.dp-hero-stat .dp-sicon {
    width: 38px; height: 38px; border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; margin-bottom: 12px;
}
.dp-hero-stat .dp-snum {
    font-family: 'DM Serif Display', serif;
    font-size: 30px; font-weight: 700; color: white;
    line-height: 1; margin-bottom: 4px;
}
.dp-hero-stat .dp-slabel {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px; color: rgba(255,255,255,0.55); font-weight: 500;
}
.dp-hero-stat .dp-ssub  {
    font-family: 'DM Sans', sans-serif;
    font-size: 11px; color: var(--dp-amber-light); margin-top: 4px;
}

/* ──────────────────────────────────────────
   ABOUT
────────────────────────────────────────── */
.about-block {
    background: white;
    border-radius: 20px;
    padding: 40px 44px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
.about-block::before {
    content: '"';
    position: absolute;
    top: -20px; left: 24px;
    font-family: 'DM Serif Display', serif;
    font-size: 180px;
    color: var(--amber);
    opacity: 0.07;
    line-height: 1;
    pointer-events: none;
}
.about-block .ckeditor-content {
    font-size: 15px;
    line-height: 1.85;
    color: #3a4a6a;
    position: relative;
    z-index: 1;
}

/* ──────────────────────────────────────────
   SIDE MENU
────────────────────────────────────────── */
.side-menu {
    position: fixed !important;
    top: 50% !important;
    left: 12px !important;
    transform: translateY(-50%) translateX(20px) !important;
    z-index: 1000 !important;
    width: 52px !important;
    background: white !important;
    padding: 14px 8px !important;
    border-radius: 16px !important;
    box-shadow: 0 6px 28px rgba(13,27,62,0.14) !important;
    border: 1px solid var(--dp-border) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 4px !important;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.side-menu.visible {
    opacity: 1;
    transform: translateY(-50%) translateX(0) !important;
    pointer-events: auto;
}

.side-menu .menu-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important; height: 36px !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    transition: all .2s !important;
    position: relative !important;
}
.side-menu .menu-link .title-icon {
    font-size: 20px !important;
    color: var(--dp-muted) !important;
    margin: 0 !important;
    transition: color .2s !important;
}
.side-menu .menu-link:hover,
.side-menu .menu-link.active {
    background: var(--dp-navy) !important;
}
.side-menu .menu-link:hover .title-icon,
.side-menu .menu-link.active .title-icon {
    color: white !important;
    transform: none !important;
}

/* Tooltip for side menu */
.side-menu .menu-link::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 48px;
    background: var(--dp-navy);
    color: white;
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    letter-spacing: 0.3px;
    z-index: 1001;
}
.side-menu .menu-link:hover::after {
    opacity: 1;
}

/* ── CHARTS SECTION ── */
.charts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}
.chart-card {
    background: white;
    border-radius: 18px;
    padding: 28px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border);
    transition: box-shadow 0.3s;
}
.chart-card:hover { box-shadow: var(--card-shadow-hover); }
.chart-card.wide { grid-column: span 2; }
.chart-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}
.chart-title { font-size: 20px; font-weight: 600; color: var(--navy); }
.chart-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.4px;
}
.chart-badge.teal { background: #e0f5f1; color: var(--teal); }
.chart-badge.amber { background: var(--amber-pale); color: #c07010; }
.chart-badge.navy { background: #e8edf8; color: var(--navy-light); }

/* ──────────────────────────────────────────
   SECTION TITLE
────────────────────────────────────────── */

/* ── SECTION WRAPPER ──*/
.section { padding: 60px 24px; }
.section-inner { max-width: 1300px; margin: 0 auto; }
.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 24px;
    margin-top: 40px;
}
.section-title {
    position: sticky !important;
    top: 62px !important;
    z-index: 999;
    background: #f0f4f8;
    font-family: 'DM Serif Display', serif;
    font-size: 28px;
    color: var(--navy);
    line-height: 1.2;
    border-left: 4px solid var(--dp-amber);
    border-radius: 0 6px 0 0;
    padding: 10px 20px;
    margin-bottom: -30px;
}
.section-title span { color: var(--teal); }
.section-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 6px;
    margin-left: 27px;
    font-weight: 400;
}
.section-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    /*background: var(--amber-pale);*/
    background: #fdf3dc;
    /*color: var(--amber);*/
    color: #e8a020;
    border: 1px solid #f0d080;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}
.section-title .title-icon:hover,
.menu-link:hover .title-icon { transform: none !important; color: var(--dp-amber) !important; }

/* ──────────────────────────────────────────
   CARDS
────────────────────────────────────────── */
.card {
    border: 1px solid var(--dp-border) !important;
    border-radius: 14px !important;
    box-shadow: var(--dp-card-shadow) !important;
    transition: all 0.3s ease;
}
.card:hover, .chart-card:hover {
    box-shadow: var(--dp-card-shadow-hover) !important;
    transform: translateY(-2px);
}
.card-header.chart-heading,
.chart-heading {
    background: white !important;
    color: var(--dp-navy) !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    padding: 12px 16px !important;
    border-bottom: 1px solid var(--dp-border) !important;
    border-radius: 14px 14px 0 0 !important;
    font-family: 'DM Sans', sans-serif;
}
.info-box {
    border-radius: 14px !important;
    border: 1px solid var(--dp-border) !important;
    box-shadow: var(--dp-card-shadow) !important;
}

/* ──────────────────────────────────────────
   ICONS
────────────────────────────────────────── */
.ion             { color: var(--dp-teal);  font-size: 56px; margin-right: 8px; }
.fa-icon         { color: var(--dp-teal);  font-size: 56px; margin-right: 8px; }
.fi-icon         { color: var(--dp-teal);  font-size: 42px; margin-right: 16px; }
.demographics-icon {
    display: inline-block !important;
    color: var(--dp-teal) !important;
    font-size: 56px !important;
    margin-right: 8px !important;
    transition: transform .15s ease !important;
}
.demographics-icon:hover { transform: scale(1.25) !important; }

/* ──────────────────────────────────────────
   NUMBERS
────────────────────────────────────────── */
.number {
    font-family: 'DM Serif Display', serif;
    font-size: 24px; font-weight: 700; color: var(--dp-navy);
}

/* ──────────────────────────────────────────
   ICON CONTAINER
────────────────────────────────────────── */
.icon-container  { position: relative; margin-bottom: 20px; color: var(--dp-teal); }
.large-icon      { width: 40px; height: 40px; }
.small-icon      { position: absolute; top: -5px; left: -12px; }

/* ──────────────────────────────────────────
   CANVAS
────────────────────────────────────────── */
canvas { margin-top: 0.5rem; }

/* ──────────────────────────────────────────
   MAIN CONTENT OFFSET
────────────────────────────────────────── */
.content { margin-left: 80px; }
.section-content { scroll-margin-top: 72px; }

/* ──────────────────────────────────────────
   SCROLL-TO-TOP BUTTON
────────────────────────────────────────── */
#scrollToTopBtn {
    position: fixed; bottom: 48px; right: 20px;
    background: none; border: none; z-index: 9999; box-shadow: unset !important;
}
.top-icon { font-size: 38px; color: var(--dp-amber); }
#scrollToTopBtn .top-icon:hover { color: var(--dp-navy); }

/* ──────────────────────────────────────────
   PDF BUTTON
────────────────────────────────────────── */
#export-pdf-button { border: none !important; background: transparent !important; }

/* ──────────────────────────────────────────
   FOOTER
────────────────────────────────────────── */
.dp-footer {
    background: var(--dp-navy);
    color: rgba(255,255,255,0.65);
    padding: 12px 28px;
    font-size: 13px;
    margin-top: 40px;
    font-family: 'DM Sans', sans-serif;
}
.dp-footer a { color: var(--dp-amber-light); text-decoration: none; }
.dp-footer a:hover { text-decoration: underline; }

/* ──────────────────────────────────────────
   LOADING SPINNER
────────────────────────────────────────── */
#loading-spinner {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    z-index: 9999; font-size: 30px;
    color: var(--dp-navy-light);
}

/* ──────────────────────────────────────────
   CUSTOM STYLES FOR TEXT CONTENT
────────────────────────────────────────── */
.ckeditor-content {
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: #3a4a6a;
}

.ckeditor-content p {
    margin-bottom: 1rem;
}

/* Nepali text styling */
[lang="ne"], .nepali {
    font-family: 'Tiro Devanagari Nepal', serif;
}

/* ── DEMOGRAPHIC CARDS ── */
.demo-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}
.demo-card {
    background: white;
    border-radius: 16px;
    padding: 24px 16px 20px;
    text-align: center;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}
.demo-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transition: transform 0.3s;
}
.demo-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
.demo-card:hover::after { transform: scaleX(1); }
.demo-icon { font-size: 32px; margin-bottom: 12px; display: block; }
.demo-num {
    font-family: 'DM Serif Display', serif;
    font-size: 28px;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 6px;
}
.demo-label { font-size: 12px; color: var(--text-muted); font-weight: 500; letter-spacing: 0.5px; }

/* ──────────────────────────────────────────
   RESPONSIVE
────────────────────────────────────────── */
@media (max-width: 768px) {
    .dp-hero-inner    { grid-template-columns: 1fr; gap: 32px; }
    .dp-hero-stats    { grid-template-columns: 1fr 1fr; }
    .dp-hero          { padding: 36px 18px 44px; }
    .side-menu        { display: none !important; }
    .content          { margin-left: 0 !important; }
}

/* ──────────────────────────────────────────
*
*END OF NEW LANDING DESIGN PAGE STYLES
*
*
*

 */


 /*backend side bar tree childrens */
/* Target <p> inside nav-link of tenant backend sidemenu */
.nav-treeview .nav-item .nav-link p {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

/*NAV BAR 2 FRONT END STYLES*/
/* Navbar Main Container */
.main-header.custom-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(135deg, #0d1b3e 0%, #1e3a7a 100%);
    box-shadow: 0 2px 16px rgba(13,27,62,0.28);
    padding: 0 1rem;
    height: 62px;
}

/* Brand Section */
.nav-brand-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo-wrapper {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e8a020, #f5c05a);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 3px rgba(232, 160, 32, 0.25);
    flex-shrink: 0;
}

.brand-logo-wrapper img {
    width: 33px;
    height: 33px;
    object-fit: contain;
    border-radius: 50%;
}

.nav-brand-text {
    line-height: 1.15;
    text-decoration: none !important;
}

.brand-title {
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: 0.2px;
    color: white;
}

.brand-subtitle {
    font-size: 10.5px;
    font-weight: 400;
    color: rgba(245, 192, 90, 0.85);
    letter-spacing: 0.8px;
    padding-top: 3px;
}

/* Nav Links */
.custom-nav .nav-link {
    font-size: 13.5px;
    padding: 10px 13px;
    border-radius: 6px;
    transition: all .2s;
    color: rgba(255, 255, 255, 0.80);
    font-weight: 500;
}

.custom-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.10);
    color: white;
}

/* Active State */
.custom-nav .nav-link.active {
    background: linear-gradient(135deg, #e8a020, #f5c05a);
    color: #0d1b3e !important;
    font-weight: 700;
}

/* Auth Buttons */
.btn-login {
    color: white !important;
    font-size: 13px;
    font-weight: 500;
    padding: 7px 16px !important;
    border-radius: 6px;
    border: 1.5px solid rgba(255, 255, 255, 0.30);
    margin-left: 6px;
}

.btn-login:hover {
    background: white;
    color: #0d1b3e !important;
}

.btn-admin-panel {
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white !important;
    font-size: 13px;
    padding: 10px 14px !important;
}

.btn-admin-panel:hover {
    background: rgba(255, 255, 255, 0.18);
}

.btn-logout {
    background: rgba(192, 57, 43, 0.55);
    border: 1px solid rgba(192, 57, 43, 0.4);
    color: white !important;
    font-size: 13px;
    padding: 10px 14px !important;
}

.btn-logout:hover {
    background: rgba(192, 57, 43, 0.80);
}
/*end of nav bar 2*/









