/*** Spinner Start ***/
/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    transition: 0.5s;
    z-index: 99;
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-xl-square {
    width: 66px;
    height: 66px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-primary {
    color: var(--bs-white);
    border: none;
}

.btn.btn-primary:hover {
    background: var(--bs-white);
    color: var(--bs-primary);
    border:1px solid var(--bs-primary);
}

.btn.btn-light {
    color: var(--bs-primary);
    border: none;
}

.btn.btn-light:hover {
    color: var(--bs-white);
    background: var(--bs-primary);
}


/*** Topbar Start ***/
.topbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
    color: var(--bs-primary);
}

.topbar .dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.topbar .dropdown .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light);
    padding-top: 11px;
    border: 0;
    transition: .5s;
    opacity: 1;
}

/*** Topbar End ***/

/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
    font-family: 'Roboto', sans-serif;
    position: relative;
    margin-right: 25px;
    padding: 35px 0;
    color: var(--bs-body);
    font-size: 17px;
    font-weight: 400;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link,
.sticky-top.navbar-light .navbar-nav .nav-item .nav-link {
    padding: 20px 0;
    color: var(--bs-dark);
}

.navbar-light .navbar-nav .nav-item .nav-link {
    color: var(--bs-white);
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-item .nav-link:hover,
.navbar-light .navbar-nav .nav-item .nav-link.active  {
    color: var(--bs-primary);
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 45px;
}
.sticky-top.navbar-light .navbar-brand span {
    font-size: 1rem;
}
.navbar-light .nav-logo {
    display: flex;
    align-items: center;
    gap: 10;
    text-decoration: none;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light);
    transition: .5s;
    opacity: 1;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-light {
        position: relative;
        background: var(--bs-white);
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 10px 20px;
        border: 1px solid var(--bs-primary);
        color: var(--bs-primary);
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--bs-dark);
    }

    .navbar-light .navbar-nav .nav-item .nav-link {
        color: var(--bs-dark);
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        transition: .5s;
        opacity: 0;
    }

    .navbar-light {
        position: relative;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
        z-index: 999;
        background: var(--bs-secondary);
    }
    
    .sticky-top.navbar-light {
        position: fixed;
        background: var(--bs-light);
    }

    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--bs-primary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: calc(100% - 2px);
        left: 1px;
    }

    .navbar-light .navbar-nav .nav-link::after {
        position: absolute;
        content: "";
        width: 0;
        height: 0;
        bottom: -1px;
        left: 50%;
        background: var(--bs-primary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::after,
    .navbar-light .navbar-nav .nav-link.active::after {
        width: 2px;
        height: 12px;
    }
}
/*** Navbar End ***/

/*** Carousel Hero Header Start ***/
.header-carousel .header-carousel-item img {
    width: 100%;
    display: block;
}

.header-carousel .header-carousel-item,
.header-carousel .header-carousel-item img {
    height: 650px;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 60px;
    background: var(--bs-primary);
    color: var(--bs-white);
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev {
    bottom: 0px;
    left: 30px;
    margin-left: 90px;
}
.header-carousel .owl-nav .owl-next {
    bottom: 0px;
    left: 30px;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 0 0 100px 0 var(--bs-light);
    color: var(--bs-primary);
}


.header-carousel .header-carousel-item .carousel-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    padding-top: 120px;
    background: rgba(0, 0, 0, .7);
    display: flex;
    align-items: center;
}

@media (max-width: 991px) {
    .header-carousel .header-carousel-item .carousel-caption {
        padding-top: 45px;
    }
}

@media ((min-width: 768px) and (max-width: 1500px)) {
    .header-carousel .header-carousel-item,
    .header-carousel .header-carousel-item img {
        height: 450px;
    }
}
@media ((min-width: 1501px)) {
    .header-carousel .header-carousel-item,
    .header-carousel .header-carousel-item img {
        height: 650px;
    }
}

@media (max-width: 767px) {
    .header-carousel .owl-nav .owl-prev {
        left: 50%;
        transform: translateX(-50%);
        margin-left: -45px;
    }


    .header-carousel .owl-nav .owl-next {
        left: 50%;
        transform: translateX(-50%);
        margin-left: 32px;
    }
    .header-carousel .header-carousel-item,
    .header-carousel .header-carousel-item img {
        height: 330px;
    }
    .header-carousel .owl-nav .owl-prev,
    .header-carousel .owl-nav .owl-next {
        position: absolute;
        width: 42px;
        height: 42px;
        border-radius: 60px;
        background: var(--bs-primary);
        color: var(--bs-white);
        font-size: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: 0.5s;
    }

    .about .sub-heading {
        text-align: center;
    }
    .about .heading {
        text-align: center;
    }
}
@media(max-width: 348px) {
    .header-carousel .header-carousel-item,
    .header-carousel .header-carousel-item img {
        height: 200px;
    }
}

/*** Carousel Hero Header End ***/


/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../portal/tax.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 110px 0 0 0;
    transition: 0.5s;
}

@media (min-width: 992px) {
    .bg-breadcrumb {
        padding: 102px 0 0 0;
    }
}

@media (max-width: 991px) {
    .bg-breadcrumb {
        padding: 2px 0 0 0;
    }
}

.bg-breadcrumb .breadcrumb {
    position: relative;
}

.bg-breadcrumb .breadcrumb .breadcrumb-item a {
    color: var(--bs-white);
}
/*** Single Page Hero Header End ***/


/*** Service Start ***/
.service .service-item {
    background: var(--bs-light);
    border-radius: 10px;
    transition: 0.5s;
}

.service .service-item:hover {
    box-shadow: 0 0 45px rgba(0, 0, 0, .2);
}

.service .service-item .service-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transition: 0.5s;
}

.service .service-item .service-img img {
    width: 70% !important;
    margin-top: 10% !important;
    transition: 0.5s;
}

.service .service-item:hover .service-img img {
    transform: scale(1.2);
}
/*** Service End ***/

/*** Gallery Start ***/
.gallery .gallery-item {
    background: var(--bs-light);
    border-radius: 10px;
    transition: 0.5s;
}
.gallery .gallery-item:hover {
    box-shadow: 0 0 45px rgba(0, 0, 0, .2);
}
.gallery .gallery-item .gallery-img {
    position: relative;
    width: 100%;
    height:100%;
    object-fit:cover;
    overflow:hidden;
    border-radius:12px;
    cursor: pointer;
}
.gallery .gallery-item .gallery-img img {
    transition: 0.5s;
}
.gallery .gallery-item:hover .gallery-img img {
    transition: scale(1.2);
}

.container .gallery-img:nth-child(3n+1) {
    margin-left: 0;
}

.img-popup{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.95);
  display:none;
  justify-content:center;
  align-items:center;
  z-index:9999;
  padding:15px;
}

.img-popup.opened{
  display:flex;
}

/* Image Wrapper */
.popup-wrapper{
  position:relative;
  width:100%;
  max-width:820px;
  display:flex;
  justify-content:center;
  align-items:center;
}

/* Responsive Image */
.popup-wrapper img{
  width:auto;
  max-width:100%;
  max-height:85vh;
  object-fit:contain;
  border-radius:12px;
  display:block;
}

/* Close Button */
.close-btn{
  position:absolute;
  top:-12px;
  right:-12px;
  width:38px;
  height:38px;
  border-radius:50%;
  background:#fff;
  color:#000;
  display:flex;
  justify-content:center;
  align-items:center;
  font-size:28px;
  cursor:pointer;
  z-index:10000;
}

/* Navigation Buttons */
.prev-btn,
.next-btn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:50px;
  height:50px;
  border-radius:50%;
  background:rgba(255,255,255,.15);
  color:#fff;
  display:flex;
  justify-content:center;
  align-items:center;
  font-size:30px;
  cursor:pointer;
  user-select:none;
  z-index:10000;
  transition:.3s;
}

.prev-btn:hover,
.next-btn:hover{
  background:rgba(255,255,255,.3);
}

.prev-btn{
  left:12%;
}

.next-btn{
  right:12%;
}

/* MOBILE */
@media(max-width:768px){

  .img-popup{
    padding:10px;
  }

  .popup-wrapper{
    max-width:100%;
  }

  .popup-wrapper img{
    max-height:75vh;
    border-radius:8px;
  }

  .close-btn{
    width:34px;
    height:34px;
    font-size:22px;
    top:-10px;
    right:-5px;
  }

  .prev-btn,
  .next-btn{
    width:42px;
    height:42px;
    font-size:24px;
  }

  .prev-btn{
    left:5px;
  }

  .next-btn{
    right:5px;
  }

}
/*** Gallery End ***/

/*** Features Start ***/
.feature .feature-item {
    text-align: center;
    border-radius: 10px;
    background: var(--bs-light);
    border: 1px solid transparent;
    transition: 0.5s;
}

.feature .feature-item:hover {
    border: 1px solid var(--bs-primary);
    box-shadow: 0 0 45px rgba(0, 0, 0, .2);
}

.feature .feature-item .feature-icon {
    background: var(--bs-white);
    border-radius: 10px;
    display: inline-block;
}
/*** Features End ***/

/* Gallery slider Start */
.event .event-item {
    border-radius: 10px;
    background: var(--bs-white);
    box-shadow: inset 0 0 45px rgba(0, 0, 0, .1);
    transition: 0.5s;
}
.event .event-item a {
    transition: 0.5s;
}
.event .event-item:hover a:hover {
    color: var(--bs-primary);
}
.event .event-item .event-img {
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}
.event .event-item .event-img img {
    transition: 0.5s;
}
.event .event-item .event-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 10px;
    background: rgba(0, 114, 208, 0.1);
    opacity: 0;
    transition: 0.5s;
    z-index: 1;
}
.event .event-item:hover .event-img::after {
    opacity: 1;
}
.event-carousel .owl-stage-outer {
    margin-top: 58px;
}
.event .owl-nav .owl-prev {
    position: absolute;
    top: -58px;
    left: 0;
    background: var(--bs-primary);
    color: var(--bs-white);
    padding: 6px 35px;
    border-radius: 30px;
    transition: 0.5s;
}

.event .owl-nav .owl-prev:hover {
    background: var(--bs-dark);
    color: var(--bs-primary);
}

.event .owl-nav .owl-next {
    position: absolute;
    top: -58px;
    right: 0;
    background: var(--bs-primary);
    color: var(--bs-white);
    padding: 6px 35px;
    border-radius: 30px;
    transition: 0.5s;
}

.event .owl-nav .owl-next:hover {
    background: var(--bs-dark);
    color: var(--bs-primary);
}
/*** Gallery slider End ***/


/*** FAQs Start ***/
.faq-section .accordion .accordion-item .accordion-header .accordion-button {
    color: var(--bs-secondary);
}

.faq-section .accordion .accordion-item .accordion-header .accordion-button.collapsed {
    color: var(--bs-dark);
}

.faq-section .accordion .accordion-item .accordion-collapse {
    background: #f6fbff;
}
.faq-section .accordion .accordion-item .accordion-collapse .accordion-body {
    color: #494949;
}
/*** FAQs End ***/

/*** Footer Start ***/
.footer {
    background: var(--bs-primary);
}

.footer .footer-item {
    display: flex;
    flex-direction: column;
}

.footer .footer-item a {
    line-height: 35px;
    color: var(--bs-body);
    transition: 0.5s;
}
.footer .footer-logo {
    display: flex;
    align-items: center;
    gap: 10;
    text-decoration: none;
}
.footer .footer-item a span {
    line-height: 28px;
}

.footer .footer-item p {
    line-height: 35px;
    color: #787878;
}

.footer .footer-item a:hover {
    color: var(--bs-secondary);
}

.footer .footer-item .footer-btn a,
.footer .footer-item .footer-btn a i {
    transition: 0.5s;
}

.footer .footer-item .footer-btn a:hover {
    background: var(--bs-white);
}

.footer .footer-item .footer-btn a:hover i {
    color: var(--bs-primary);
}
/*** Footer End ***/

/*** copyright Start ***/
.copyright {
    background: var(--bs-dark);
}
/*** copyright end ***/

/*** Notification Start ***/
    .marquee-container {
      height: 220px;
      overflow: hidden;
      position: relative;
      border-radius: 12px;
      background: #fff;
    }

    .marquee-track {
      display: flex;
      flex-direction: column;
      animation: verticalScroll 8s linear infinite;
      animation-play-state: running;
    }

    /* Pause animation */
    .marquee-track.paused {
      animation-play-state: paused;
    }

    /* Pause when hovering any item */
    .marquee-track:hover {
      animation-play-state: paused;
    }

    .notification-item {
      padding: 14px 16px;
      border-bottom: 1px solid #ececec;
      background: #fff;
      color: #494949;
      font-size: 15px;
      min-height: 62px;
      display: flex;
      align-items: center;
      transition: background 0.3s ease;
      cursor: pointer;
    }

    .notification-item:hover {
      background: #f8f9fa;
    }

    .control-btn {
      width: 34px;
      height: 34px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    /* Infinite continuous scroll */
    @keyframes verticalScroll {
      0% {
        transform: translateY(0);
      }

      100% {
        transform: translateY(-50%);
      }
    }

    @media (max-width: 576px) {

        h4 {
            font-size: calc(1.2rem + 0.3vw);
        }

      .marquee-container {
        height: 180px;
      }

      .notification-item {
        font-size: 14px;
        padding: 12px;
        min-height: 56px;
      }

        .header-carousel .header-carousel-item,
        .header-carousel .header-carousel-item img {
            height: 210px;
        }
        .header-carousel .owl-nav .owl-prev,
        .header-carousel .owl-nav .owl-next {
            position: absolute;
            width: 36px;
            height: 36px;
            border-radius: 60px;
            background: var(--bs-primary);
            color: var(--bs-white);
            font-size: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: 0.5s;
        }
        .feature .feature-item .feature-icon i {
            font-size: 2.6rem;
        }
    }

/*** Notification End ***/

/*** Card Heading Start ***/
.card-stats .card-body h5 strong {
    padding: 4px 10px;
    border-left: 3px solid #003B5D;
    background: #c2dff4;
    box-shadow: 2px 6px 15px 0px rgba(69, 65, 78, 0.1);
}
.card-stats .card-body .form-group label {
    color:#525252;
}
.card-stats .card-body .form-group input {
    color:#252525;
}
.card-stats .card-body .form-group select {
    color:#252525;
}
.card-stats .card-body .form-group textarea {
    color:#252525;
}
/*** Card Heading End ***/

/*** Datatable Start ***/
.table td,
.table th {
  vertical-align: middle;
  font-size: 0.813rem;
}
/* Long text handling */
.table td {
  word-break: break-word;
}
/* Search Box */
.dataTables_filter {
  float: right;
  margin-bottom: 15px;
}
.dataTables_filter input {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 6px 12px;
}

/* Entries Dropdown */
.dataTables_length select {
  border-radius: 8px;
  padding: 4px 8px;
}

/* Pagination */
.dataTables_paginate {
  margin-top: 15px !important;
}
.dataTables_paginate .paginate_button {
    margin: 0 3px;
}
@media only screen and (max-width: 767px) {
    .responsive-card-table .table,
    .responsive-card-table .table thead,
    .responsive-card-table .table tbody,
    .responsive-card-table .table tr,
    .responsive-card-table .table td {
      display: block;
      width: 100%;
    }
    .responsive-card-table .table thead,
    .responsive-card-table .table tfoot {
      display: none;
    }
    .responsive-card-table .table tbody tr {
      background: #fff;
      margin-bottom: 16px;
      border-radius: 14px;
      overflow: hidden;
      border: 1px solid #eee;
      box-shadow: 0 2px 8px rgba(0,0,0,0.06);
      padding: 8px 0;
    }
    .responsive-card-table .table tbody td {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 15px;
      padding: 12px 16px !important;
      border: none !important;
      border-bottom: 1px solid #f1f1f1 !important;
      text-align: left;
      word-break: break-word;
    }
    .responsive-card-table .table tbody td:last-child {
      border-bottom: none !important;
    }
  
    /* LABEL */
    .responsive-card-table .table tbody td::before {
      content: attr(data-label);
      flex: 0 0 110px;
      max-width: 110px;
      font-weight: 600;
      color: #555;
    }
  
    /* FULL WIDTH SEARCH */
    .responsive-card-table .dataTables_filter {
      width: 100%;
      float: none;
      margin-bottom: 15px;
    }
    .responsive-card-table .dataTables_filter label {
      width: 100%;
    }
    .responsive-card-table .dataTables_filter input {
      width: 100% !important;
      margin-left: 0 !important;
      margin-top: 8px;
    }
  
    /* PAGINATION */
    .responsive-card-table .dataTables_paginate {
      display: flex;
      justify-content: center;
      overflow-x: auto;
      white-space: nowrap;
      width: 100%;
    }
}
/*** Datatable End ***/



