:root {
  --default-blue-color: #322e78;
  --default-red-color: #ec1c24;
  --default-font-size: 15px;
}

/* Prevent text selection */
body {
  -webkit-user-select: none;  /* Chrome, Safari */
  -moz-user-select: none;     /* Firefox */
  -ms-user-select: none;      /* IE/Edge */
  user-select: none;          /* Standard */
}

/*---------------------------------------*/
/*::::::::::::::::HEADER:::::::::::::::::*/
/*---------------------------------------*/
.theme-blue{
    color: var(--default-blue-color);
}
.theme-red{
    color: var(--default-red-color);
}
.head-top .head-flex-inner .head-top-start a {
    padding-right:10px;
}

.head-top .head-flex-inner .head-top-end a {
    position: sticky;
    border-right: 1px solid #ffffff85;
    padding: 0 15px;
}

.head-top .head-flex-inner .head-top-end a:nth-last-child(1), .head-top .head-flex-inner .head-top-end a:last-child {
    border: none;
}

.footer-top, .head-top, .main-head {
    background-color: var(--default-blue-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    position: relative;
}

.head-top{
    height: 35px;
}

.footer-top{
    height: 100px;
}

.footer-bottom{
    background-color: #383278;
    color: white;
    min-height: 250px;
}
.footer-bottom-end{
    background-color: var(--default-blue-color);
    color: white;
    text-align: center;
    min-height: 50px;
    padding: 10px;
}

.header .head-top .time {
    color: #FFC107;
    padding-left: 5px;
}

.head-top-start, .head-top-end  {
    a{
        color: white;
        text-decoration: none;
    }
    font-size: 13px;
    z-index: 2;
    position: sticky;
    vertical-align: text-top;
}

.logo-section{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo-area, .social-media-area{
    display: flex;
    flex-flow: wrap;
    gap: 1rem;
}

.logo-img{
    padding: 10px 0px;
    max-width: 250px;
}

.footer-logo-img{
    padding: 10px 0px;
    width: 90px;
}


.login-btn {
    color: white;
    padding: 3px 33px !important;
    border: 1px solid white !important;
    border-radius: 0.3rem;
    transition: 0.3s;
}
.login-btn:hover {
    background-color: white;
    color: #000;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: #333;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-size: 18px;
    transition: background-color 0.3s;
    text-decoration: none;
}

.social-icon:hover {
    background-color: #555;
}
.social-icon.facebook {
    background-color: #3b5998;
}
.social-icon.twitter {
    background-color: #1da1f2;
}
.social-icon.instagram {
    background-color: #e1306c;
}
.social-icon.youtube {
    background-color: #ff5722;
}
.social-icon.facebook:hover {
    background-color: #ffffff;
    color: #3b5998;
    border: 1px solid #3b5998;
}
.social-icon.twitter:hover {
    background-color: #ffffff;
    color: #1da1f2;
    border: 1px solid #1da1f2;
}
.social-icon.instagram:hover {
    background-color: #ffffff;
    color: #e1306c;
    border: 1px solid #e1306c;
}
.social-icon.youtube:hover {
    background-color: #ffffff;
    color: #ff5722;
    border: 1px solid #ff5722;
}

.head-flex-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header a:hover{
    color: #fff;
}


.head-side{
    width: 212px;
    height: 100%;
    background-color: var(--default-red-color);
    clip-path: polygon(12% 0, 100% 0, 100% 100%, 0% 100%);
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
}

.trapezoid {
    width: 335px;
    height: 100%;
    background-color: var(--default-red-color);
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 0% 100%);
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
}

.footer-side {
    width: 335px;
    height: 100%;
    background-color: var(--default-red-color);
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 2;
}

.hamburger span {
    height: 3px;
    width: 25px;
    background: white;
    margin: 4px 0;
    transition: 0.3s;
}

.navbar-dark .navbar-nav .nav-link {
  color: #fff;
}
.navbar-dark .navbar-nav .nav-link:hover, .nav-item.dropdown:hover > .nav-link{
    color: #fff !important;
    background-color: var(--default-red-color) !important;
}
.dropdown-menu-theme{
  color: #ffffff;
  background-color: var(--default-blue-color);
  border: 0px;
  padding: 0px;
}
.dropdown-item{
    color: #ffffff;
}

.dropdown-item:focus,.dropdown-item:hover{
    background-color: var(--default-red-color) !important;
}

.bg-theme-col{
    color: var(--default-blue-color);
    z-index: 2;
}
.navbar {
  padding: 5px;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

/* ================= Mobile styles ================= */

/* Mobile: 0–376px */
@media (max-width: 376px){
    .head-top {
        padding: 0px;
    }
}

/* Mobile: 0–576px */
@media (max-width: 576px){
    .trapezoid {
        clip-path: polygon(78% 0, 100% 0, 100% 100%, 70% 100%);
        z-index: 2;
    }
    .head-side {
        width: 34px;
        clip-path: polygon(54% 0, 100% 0, 100% 100%, 0% 100%);
    }
    .head-top-start, .date{
        display: none;
    }
    .head-top-end{
        width: 100%;
        text-align: center;
    }
    .logo-section{
        flex-direction: column;
        padding-bottom: 10px;
    }

    .topleft {
        width: calc(100% - 150px);
    }

    .footer-side {
        width: 200px;
    }

    .footer-bottom-inner .footer-section {
        flex: unset !important;
        margin: 5px 20px !important;
        width: 100% !important;
    }

    .container-box-inner{
        padding: 40px 0px !important;
    }

    .font-size-btn{
        display: none;
    }

    .head-top .head-flex-inner .head-top-end a.mal{
        border: none;
    }

}

/* Tablets: 0–768px */
@media (max-width: 768px) {

    .hamburger {
        display: flex;
    }

}

/* Small Laptop: 0px–991px */
@media (max-width: 991px){
    .bg-theme-col{
        background-color: var(--default-blue-color);
        padding: 5px;
    }
    .menu .bg-theme-col a{
        font-size: 15px !important;
    }

    .footer-bottom .footer-bottom-inner .footer-section {
        flex: unset;
        margin: 10px;
        width: 40%;
    }

    .e-services .row .service-card {
        clip-path: polygon(100% 0, 100% 74%, 70% 100%, 0 100%, 0 0) !important;
    }

    .menu .navbar .row {
        display: contents;
    }
    .menu .navbar .row > *{
        width: unset;
    }

    .contact-us-wrap .contact-card {
        margin: 0px !important;
        margin-top: 25px !important;
    }

    .contact-us-wrap .message-card {
        margin-left: 0px !important;
        border-radius: 10px 10px 10px 10px !important;
        padding: 25px !important;
    }

}

/* Laptop: 0px–1024px */
@media (max-width: 1152px){
    .date{
        display: none;
    }
    .bg-theme-col a{
        font-size: 12px !important;
    }
}

/* Big Laptop: 0px–1280px */
@media (max-width: 1280px){

    .footer-bottom-inner .footer-section {
        margin: 20px 0px;
    }
    .row .service-card {
        clip-path: polygon(100% 0, 100% 74%, 78% 100%, 0 100%, 0 0) !important;
    }
}

/* Big Laptop: 0px–1400px */
@media (max-width: 1400px){
    .bg-theme-col a{
        font-size: 15px;
    }
    .service-card {
        clip-path: polygon(100% 0, 100% 74%, 82% 100%, 0 100%, 0 0) !important;
    }
}



.topleft {
    width: calc(100% - 170px);
    display: flex;
    align-items: center;
}
.topleft ul {
    list-style: none;
}
.topright {
    width: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.topright p {
    font-weight: 700;
    color: white;
    margin-bottom: 0;
    font-size: 1.5rem;
    text-align: center;
}
.top-foot-logo {
  display: flex;
  width: 100%;
  justify-content: space-between;
  margin: 0px;
  padding: 0px;
}
.top-foot-logo img {
  width: 150px;
  height: 80px;
  object-fit: contain;
  max-height: 50px;
}
.visitor-area{
    z-index: 2;
}

.footer-bottom-inner {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
    justify-content: space-around;
}

.footer-section {
    flex: 1;
    margin: 20px 2px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li a, .footer-section p a {
    color: #fff;
    text-decoration: none;
}

.footer-section ul li a:hover, .footer-section p a:hover, .head-top-start a:hover , .head-top-end a:hover {
    color: #FFC107;
}

.footer-section ul li {
    margin-bottom: 8px;
}

footer h5 {
  font-weight: 600;
  color: white;
  position: relative;
  padding-bottom: 5px;
  margin-bottom: 18px;
}

.b-title h5::after, footer h5::after {
  content: "";
  position: absolute;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--default-red-color);
  bottom: 0;
}

/*---------------------------------------*/
/*::::::::::::::::E-Services:::::::::::::::::*/
/*---------------------------------------*/

.service-card {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: center;
    transition: 0.3s;
    background: radial-gradient( circle, rgba(250, 250, 250, 1) 0%, rgba(251, 251, 251, 1) 43%, rgba(243, 243, 243, 1) 100% );
  clip-path: polygon(100% 0, 100% 74%, 84% 100%, 0 100%, 0 0);
}
.service-card:hover {
    transform: translateY(-5px);
}
.corner-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--default-red-color); /* red */
    color: #fff;
    border-top-left-radius: 15px;
    padding: 6px;
    transition: 0.3s;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: flex-start;
    font-size: 16px;
}
.corner-btn:hover {
    background: var(--default-blue-color);
}
.service-icon {
    font-size: 3rem;
    color: #0d6efd;
}


/*---------------------------------------*/
/*::::::::::::::::Sub Page Banner :::::::::::::::::*/
/*---------------------------------------*/

.banner {
    background: url('../images/page-banner.jpeg') center/cover no-repeat;
    color: white;
    padding: 60px 0;
    position: relative;
}
.banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4); /* dark overlay */
}
.banner-content {
    position: relative;
    z-index: 1;
}
.banner-title {
    font-size: 2rem;
    font-weight: bold;
}
.breadcrumb {
    margin-bottom: 0;
}

.avatar {
    width: 200px;
    height: 240px;
    object-fit: cover;
    border: 3px solid #898888;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
    border-radius: 5px;
}

.message-area{
    background-color: #f8f8f8;
    padding: 40px 0px;
}

.e-services-area a{
    text-decoration: none;
}

.container-box {
    border-radius: 20px;
    box-shadow: 0 10px 80px rgba(14,72,119, 0.2);
}
.container-box-inner{
    padding: 70px 40px;
}

.container-box-inner p {
    font-size: 17px;
}

.message-area .nav-tabs .nav-link.active {
  background-color: var(--default-red-color) !important;
  color: #fff;
  border: 1px solid #fff;
}

.message-area .nav-link {
  background-color: var(--default-blue-color) !important;
  font-weight: bold;
  color: #fff;
  border: 1px solid #fff;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.message-area .card-body{
    box-shadow: 0 0 8px rgba(0,0,0,0.2);
}

.masonry {
    column-count: 3;
    column-gap: 10px;
}

.masonry img {
    width: 100%;
    display: block;
    margin-bottom: 10px;
    border-radius: 8px;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .masonry {
        column-count: 2;
    }
}

@media (max-width: 600px) {
    .masonry {
        column-count: 1;
    }
}

.submenu-link{
    padding: .25rem 1rem !important;
}
.dropdown-menu .dropdown-submenu {
    list-style: none;
    display: none;
    position: absolute;
    left: 100%;
    top: 0px;
}
.dropdown-menu .dropdown-submenu-left {
    right: 100%;
    left: auto;
}
.dropdown-menu > li:hover > .dropdown-submenu {
    display: block;
}
.submenu-link::after{
    display: inline-block;
    content: "";
    border-top: .3em solid transparent;
    border-right: 0;
    border-bottom: .3em solid transparent;
    border-left: 0.3em solid;
    right: 5px;
    position: absolute;
    top: 13px;
}
.saheed{
   border: 2px solid black;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    max-width: 100%;
}
.martyrs{
    text-align: center;
}
.martyrs-title p, .card-text{
    text-align: left;
    font-size: 12px !important;
    font-weight: bold;
}
.martyrs img{
    max-height: 200px;
    object-fit: contain;
}
.martyrs-desc-bg{
        background-color: #FFF;
    padding: 5px 0 5px;
}
.martyrs-desc{
    text-align: center;
}

/*---------------------------------------*/
/*::::::::::::::::Map & E-services Section:::::::::::::::::*/
/*---------------------------------------*/

.map-block {
    padding: 10px;
    border-radius: 12px;
    overflow: hidden;
}
.map-block svg{
    width: 100%;
    max-height: 400px;
}
.map-block a.text-svg {
    text-decoration: none;
    font-size: 10px;
}
.map-block-stats{
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.ps-tallewal {
    fill: #eed09d;
}

.ps-tallewal:hover {
    fill: #c7eaff;
}

.ps-mehal-kalan {
    fill: #eed09d;
}

.ps-mehal-kalan:hover {
    fill: #c7eaff;
}

.ps-thulliwal {
    fill: #eed09d;
}

.ps-thulliwal:hover {
    fill: #c7eaff;
}

.ps-barnala {
    fill: #c5e17a;
}

.ps-barnala:hover {
    fill: #c7eaff;
}

.ps-city-1 {
    fill: #c5e17a;
}

.ps-city-1:hover {
    fill: #c7eaff;
}

.ps-city-2 {
    fill: #c5e17a;
}

.ps-city-2:hover {
    fill: #c7eaff;
}

.ps-dhanaula {
    fill: #c5e17a;
}

.ps-dhanaula:hover {
    fill: #c7eaff;
}

.ps-bhadaur {
    fill: #faf884;
}

.ps-bhadaur:hover {
    fill: #c7eaff;
}

.ps-sehna {
    fill: #faf884;
}

.ps-sehna:hover {
    fill: #c7eaff;
}

.ps-tapa {
    fill: #faf884;
}

.ps-tapa:hover {
    fill: #c7eaff;
}

.ps-rureke-kalan {
    fill: #faf884;
}

.ps-rureke-kalan:hover {
    fill: #c7eaff;
}

.services-block {
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.services-block h4 {
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}
.service-item {
    border-radius: 12px;
    padding: 10px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.service-item:hover {
    transform: translateY(-5px);
    cursor: pointer;
}
.service-icon {
    font-size: 2rem;
    color: white;
    margin-bottom: 10px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}
.service-item:hover .service-icon {
    transform: scale(1.15);
    animation: pulse-glow 1s infinite;
}
.services-block a{
    font-weight: 600;
    font-size: 13px;
}
.service-name {
    color: wheat;
}
.text-wheat{
    color: wheat;
}
@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(0,0,0,0.4); }
    70% { box-shadow: 0 0 0 10px rgba(0,0,0,0); }
    100% { box-shadow: 0 0 0 0 rgba(0,0,0,0); }
}
/* Gradient Colors for each service */
.g1 { background: linear-gradient(135deg, #0d6efd, #6f42c1); }
.g2 { background: linear-gradient(135deg, #198754, #20c997); }
.g3 { background: linear-gradient(135deg, #fd7e14, #ffb84d); }
.g4 { background: linear-gradient(135deg, #dc3545, #ff6b81); }
.g5 { background: linear-gradient(135deg, #0dcaf0, #0d6efd); }
.g6 { background: linear-gradient(135deg, #6f42c1, #d63384); }
.g7 { background: linear-gradient(135deg, #ffc107, #fd7e14); }
.g8 { background: linear-gradient(135deg, #6610f2, #0d6efd); }
.g9 { background: linear-gradient(135deg, #198754, #6f42c1); }
.g10 { background: linear-gradient(135deg, #ff073a, #ff6f91); }
.g11 { background: linear-gradient(135deg, #20c997, #0dcaf0); }
.g12 { background: linear-gradient(135deg, #845ec2, #ff9671); }

.pc-sec{
    background: linear-gradient(135deg, #dc3545, #0d6efd);
}
.btn-theme-red{
    background-color: #322e78;
    color: #ffffff;
}

.btn-theme-red:hover{
    background-color: #ec1c24;
    color: #ffffff;
}

/*---------------------------------------*/
/*::::::::::::::::Chart and Important Links Block :::::::::::::::::*/
/*---------------------------------------*/

.chart-wrap { min-height:520px; display:flex; align-items:center; justify-content:center; }
.select-year { width:200px; }
.chart-legend { font-size:0.9rem; color:#3b4756; }

.link-card {
    transition: all 0.3s ease;
    background: #fff;
    padding-left: 12px !important;
}
.link-card:hover {
    background: linear-gradient(135deg, #e3f2fd, #f9f9f9);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}
.text-left{
    text-align: left;
}

/*---------------------------------------*/
/*::::::::END::::::::::::::*/
/*---------------------------------------*/

.officers-list-area tbody tr td img {
    width: 200px;
    height: 230px;
}

.min-col-width {
    min-width: 120px;
}

.max-col-width {
    width: 120px;
}

.serial-width {
    min-width: 60px;
}
.margin-top{
    margin-top: 35px;
}
.map_icon{
    width: 50px;
}

.table-info table {
  table-layout: fixed;
  width: 100%;
}
.table-info td, .table-info th {
  word-wrap: break-word;
}

.table-width-cont{
    width: max-content;
}

.sanjh-forms {
    list-style-type: none;

    a {
      text-decoration: none;
      font-size: 18px;
      line-height: 34px;

      i {
        margin-right: 10px
      }
    }
}

/*---------------------------------------*/
/*::::::::Emergency::::::::::::::*/
/*---------------------------------------*/

/* Section with fixed background */
.helpline-section {
    background: url('../images/helpline-banner.JPG') no-repeat center center fixed;
    background-size: cover;
    position: relative;
}
.helpline-section::before {
    content: "";
    position: absolute;
    top:0; left:0; right:0; bottom:0;
    background: rgba(0,0,0,0.55); /* Dark overlay for readability */
}
.helpline-section .container {
    position: relative;
    z-index: 2;
}
.helpline-section .container .bg-dark, .helpline-section .container .btn-outline-light{
    background-color: rgba(0, 0, 0, 0.7)!important;
}
.helpline-section .container .btn-outline-light:hover{
    color: white;
    background-color: rgba(0, 0, 0, 0.9)!important;
}
/* Custom pink color for 1091 */
.text-pink { color: #e83e8c; }
.btn-pink { background: #e83e8c; border: none; }
.btn-pink:hover { background: #d63384; }

/*---------------------------------------*/
/*::::::::Contact page::::::::::::::*/
/*---------------------------------------*/

.contact-us-wrap .contact-card {
    max-width: 700px;
    margin: -20px 0px -20px 0px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.7);
    background-image: linear-gradient(to right, #ec1c24, #322e78);
}
.contact-us-wrap .contact-item {
    border-bottom: 1px solid #f0f0f0;
    padding: 15px;
    display: flex;
    align-items: start;
}
.contact-us-wrap .contact-item:last-child {
    border-bottom: none;
}
.contact-us-wrap .icon-box {
    width: 45px;
    height: 45px;
    background: #fdecec;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    color: #d9534f;
    font-size: 20px;
}
.contact-us-wrap .contact-text strong {
    font-size: 15px;
    display: block;
    margin-bottom: 4px;
    color: #fff;
}
.contact-us-wrap .contact-text span {
    font-size: 14px;
    color: #fff;
    word-wrap: anywhere;
}

.help-block ul {
    margin-bottom: 0;
    padding-left: 0;
}

.help-block ul li {
    list-style-type: none;
}

.message-card {
    margin-left: -24px;
    border: 1px solid #ced4da;
    border-left-style: none;
    padding: 30px 25px 30px 40px;
    border-radius: 10px 10px 10px 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.citizen-services-wrap .service-name{
    color: #000;
}


.mobile-app{

    div{
        padding: 30px;
        a {
            text-decoration: none;

            h4 {
                text-align: center;
                margin-top: 17px;

            }
        }
    }
}

/*---------------------------------------*/
/*::::::::Sitemap::::::::::::::*/
/*---------------------------------------*/

.sitemap-section { margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 1px solid #dee2e6; }
.sitemap-section:last-child { border-bottom: none; }
.sitemap ul { list-style: none; padding-left: 0; }
.sitemap li { margin: .35rem 0; }
.sitemap a { text-decoration: none; color: rgba(0,0,0,.5); display: flex; align-items: center; gap: .4rem; }
.sitemap a:hover { color: rgba(0,0,0,.7);}
.sitemap .bi { font-size: 1rem; }
.submenu-sub { padding-left: 1.5rem!important; margin-top: .4rem; }
.equal-height { display: flex; flex-wrap: wrap; }
.equal-height > div { display: flex; flex-direction: column; }

.traffic-police .nav-item button{
    font-size: 15px;
    font-weight: 600!important;
    padding: 10px 11px;    
}

/*---------------------------------------*/
/*::::::::Translation::::::::::::::::::::*/
/*---------------------------------------*/
.skiptranslate iframe.skiptranslate {
  display: none !important;
}
body {
  top: 0px !important;
}
.goog-te-gadget-simple{
    background: none!important;
    border: none!important;
}
.goog-te-gadget-simple img {
    display: none; /* hide default Google icon */
}
.goog-te-gadget-simple::before {
    font-family: "bootstrap-icons";
    content: "\f658";
    font-size: 13px;
    color: #fff;
    padding: 0px 5px;
}
.goog-te-gadget-simple a{
    padding: 0px !important;
    color: #fff!important;
}
.goog-te-gadget-simple a span{
    border: none !important;
}
.goog-te-gadget-simple a span:last-child{
    display: none;
}