/*----------------------------------------*/
/*  3.1 Header Style 1
/*----------------------------------------*/
.mobile-menu.mean-container {
    margin-bottom: 50px;
}

.mobile-header {
    padding: 10px 15px;
     background-color: #1f2937;
}

.mobile__menu {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* Hamburger Menu Button */
.mobile__menu a.tp-menu-bar {
    margin-right: 0;
    display: inline-block;
    background: #dc2626;
    color: #fff;
    padding: 4px 12px;
    transition: 0.3s;
    border-radius: 2px;
     border: none;
}

.mobile__menu a:hover {
    color: #fff;
    background-color: #b91c1c;
}

.mobile__logo img {
    max-height: 45px;
}

/* Individual items styling */
.mobile__menu .envelope{
    display: flex;
    align-items: center;
    gap: 5px; /* Space between elements*/
}
.mobile__menu .envelope a.btn {
    border: none;
    color: #fff;
    padding: 10px 15px;
    margin: 0 4px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 3px;
}

.mobile__menu .envelope a.btn span{
    font-size: 13px; /* Adjust font-size for better fit */
}

.mobile__menu .envelope a.btn i{
    font-size: 16px; /* Adjust font-size for better fit */
}


/* Adjusting spacing between profile and menu */
.mobile__menu .tp-menu-bar {
  margin-left: 5px; /* Increase space if needed */
}
/* Adjust the height of header for small screen */
@media (max-width: 767px) {
    .mobile-header {
         padding: 8px 15px;
         height: auto;  /* Make height auto on small screen */
    }

  .mobile__logo {
        display: flex;
        justify-content: center;
    }
  .mobile__menu{
     justify-content: space-between;
  }
}
/* HEADER CSS */


.tp-header {
    position: relative;
    z-index: 50;
}

.tp-header__menu ul li:hover a {
    color: var(--primary-t-color);
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .tp-header-btn a {
        display: none !important;
    }
}

@media only screen and (min-width: 576px) and (max-width: 767px), only screen and (min-width: 768px) and (max-width: 991px), (max-width: 767px), only screen and (min-width: 450px) and (max-width: 575px) {
    .tp-header__top-left {
        display: none;
    }
}

.tp-header__logo {
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    height: 100%;
}

.header-sticky .tp-header__logo {
    padding: 10px 30px;
}

.tp-header__logo img {
    max-width: 145px;
    padding:5px 0;
}

.tp-header__contact-number {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 5px;
}

@media only screen and (min-width: 1400px) and (max-width: 1599px), only screen and (min-width: 1200px) and (max-width: 1399px), only screen and (min-width: 992px) and (max-width: 1199px), only screen and (min-width: 768px) and (max-width: 991px), only screen and (min-width: 576px) and (max-width: 767px), (max-width: 767px) {
    .tp-header__contact-number {
        display: none;
    }
}
@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .tp-header__contact-number {
      display: none;
    }
  }
  @media only screen and (min-width: 768px) and (max-width: 991px) {
    .tp-header__contact-number {
      display: none;
    }
  }
  @media only screen and (min-width: 576px) and (max-width: 767px) {
    .tp-header__contact-number {
        display: none;
    }
  }
.tp-header__wrapper-inner {
    position: relative;
    display: block;
    z-index: 0;
}

.tp-header__main-header {
    margin: 0px;
    border-top: 3px solid var(--primary-color);
    border-bottom: 1px solid var(--primary-color);
}

.tp-header__menu>nav>ul {
    display: flex;
    justify-content: space-between;
}

.tp-header__menu ul li {
    display: inline-block;
    position: relative;
    padding: 0;
}

.tp-header__menu ul li a {
    color: var(--white-color);
    display: inline-block;
    font-weight: 300;
    font-size: 14px !important;
    padding: 14px 0px;
    font-size: var(--font-sm-size);
    line-height:18px;
    transition: color 0.3s ease;
}

.tp-header__menu ul li.active a,
.tp-header__menu ul li:hover a {
    color: #ffffdc;
}

.tp-header__menu ul li:after {
    background: var(--primary-color);
    width: 0%;
    height: 3px;
    bottom: 0px;
    left: 0px;
    content: ' ';
    position: absolute;
    transition: 0.3s all;
}

.tp-header__menu ul li.active:after,
.tp-header__menu ul li:hover:after {
    width: 100%;
}

.tp-header__menu ul li a span {
    display: block;
    font-weight: bold;
    font-size:16px;
}

.tp-header__menu ul li .sub-menu {
    position: absolute;
    width: 280px;
    background: var(--white-color);
    padding: 5px;
    top: 110%;
    left: 0;
    text-align: left;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 5;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.tp-header__menu ul li .sub-menu li {
    display: block;
    margin: 0;
}

.tp-header__menu ul li:has(.sub-menu):after {
    content: '\f107';
    font-family: var(--font-awesome);
    font-size: 13px;
    color: var(--white-color);
}

.tp-header__menu ul li:has(.sub-menu):hover:after {
    color: var(--primary-color);
}

.tp-header__menu ul li .sub-menu li + li {
    border-top: 1px dashed #ddd;
}

.tp-header__menu ul li .sub-menu li a {
    color: #212121;
    padding: 7px 0;
    text-transform: inherit;
    font-weight: 400;
    transition: color 0.3s ease;
}

.tp-header__menu ul li .sub-menu li a:hover {
    color: var(--primary-t-color);
}

.tp-header__menu ul li:hover .sub-menu {
    visibility: visible;
    opacity: 1;
    top: 100%;
}

.tp-header__top {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 4px 0px;
    z-index: 1;
    background: var(--secondary-color);
}

.tp-header__top .container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    z-index: 1;
}

.tp-header__bottom {
    padding: 0 20px;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .tp-header__bottom {
        padding: 0 10px;
    }
}

.tp-header__top {
    font-size: 14px;
}

.tp-header__top-right .tp-location a i {
    color: var(--primary-color);
    font-size: 13px;
    padding: 0 10px 0px 0px;
}

.envelope {
    display: flex;
    gap: 5px;
}

.envelope a.btn,
.envelope p.btn {
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    font-size: 13px;
    padding: 0px 10px 0px;
    text-align: left;
    text-decoration: none;
    white-space: nowrap;
    width: auto;
    background: #444;
    display: flex;
    align-items: center;
    gap: 5px;
    position:relative;
}

.tp-header__top-right .envelope .dropdown-menu,
.mobile__menu .dropdown-menu{
    background: #1A1E20;
    border-bottom: none;
    border-left: none;
    border-right: none;
    border-top-color: #a11a17;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-top-width: 2px;
    padding: 0;
    position: absolute;
}

.tp-header__top-right .envelope .dropdown-menu i,
.mobile__menu .dropdown-menu i{
    background: #45484a;
    height: 39px;
    line-height: 39px;
    width: 39px;
    text-align: center;
}

.tp-header__top-right .envelope .dropdown-menu li,
.mobile__menu .dropdown-menu li{
    padding: 0 20px 0 0;
    border-bottom: 1px solid #000;
}

.tp-header__top-right .envelope .dropdown-menu li a,
.mobile__menu .dropdown-menu li a{
    display: flex;
    gap: 10px;
    color: #fff;
    align-items: center;
}

.btn-layer {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: transparent !important;
    padding:0px!important;
}

.btn-big {
    padding: 8px 20px !important;
}

.btn-layer i {
    font-size: 16px;
    color: #fff;
}

.btn-layer span {
    font-size: 11px;
}

@media only screen and (min-width: 992px) and (max-width: 1199px),
only screen and (min-width: 768px) and (max-width: 991px),
only screen and (min-width: 576px) and (max-width: 767px),
only screen and (min-width: 576px) and (max-width: 767px),
(max-width: 767px) {
    .tp-header__top-right .search-icon {
        display: none;
    }
    .mobile__menu{
        padding-top:20px;
    }
}

.tp-header__right {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: relative;
    gap: 10px;
}

@media only screen and (min-width: 576px) and (max-width: 767px),
(max-width: 767px) {
    .tp-header__right {
        display: none;
    }
}

.tp-header__right .tp-header-search a {
    padding-right: 20px;
    margin-right: 20px;
}

.tp-header__right .tp-header-search a:after {
    content: "";
    background: #e9ebea;
    width: 1px;
    height: 40px;
    position: absolute;
    top: 10px;
    left: 47px;
}

.tp-header__right .sm-clist__icon {
    float: left;
}

.tp-header__right .sm-clist__text {
    float: right;
    line-height: 1.2;
}

@media only screen and (min-width: 1400px) and (max-width: 1599px) {
    .tp-header__right .sm-clist__text {
        margin-right: 15px;
    }
}

.tp-header__right .sm-clist__text span {
    font-size: 12px;
    color: var(--tp-text-body);
    font-weight: 400;
    display: block;
    line-height: 1;
    padding-bottom: 0px;
    padding-top: 8px;
}

.tp-header__right .sm-clist__text a {
    font-size: 16px;
    color: var(--font-color);
    font-weight: 700;
}

.tp-header__right .tp-header-space {
    padding-left: 20px;
    padding-right: 20px;
}

.tp-header__right .sm-clist__icon {
    height: 40px;
    width: 40px;
    background: var(--primary-t-color);
    color: var(--white-color);
    line-height: 40px;
    text-align: center;
    border-radius: 50px;
}

.tp-header__right .sm-clist__icon i {
    font-size: 16px;
}

.tp-header__right .sm-clist__text span {
    font-size: 12px;
    color: var(--tp-text-body);
}

.tp-header-btn {
    display: flex;
}

@media only screen and (min-width: 450px) and (max-width: 575px) {
    .tp-header-btn {
        display: none;
    }
}

.header-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    box-shadow: 0px 4px 10px rgba(3, 4, 28, 0.1);
    animation: 0.95s ease 0s normal forwards 1 running headerSlideDown;
    transition: 0.3s ease;
    z-index: 9999999;
}

.header-sticky .tp-header__top {
    display: none;
}

.header-sticky .tp-header__logo a {
    width: 130px;
    text-align: center;
}

.header-sticky .tp-header__logo img {
    max-height: 60px;
}

.tp-main-menu {
    background: #fff;
}

.white-text {
    color: #fff;
}

.white-text a {
    color: #98a8a5;
}

.white-text a i {
    color: #fbd45b !important;
}

.tp-main-menu {
    background: var(--secondary-lt-color);
}

/*----------------------------------------*/
/*  2.10 Offcanvas
/*----------------------------------------*/
.tpoffcanvas {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px; /* Adjusted width */
    bottom: 0;
    background: var(--secondary-color);
    z-index: 9999;
    padding: 30px 25px;
    scrollbar-width: none;
    opacity: 0;
    visibility: hidden;
    transition: right 0.4s ease-in-out, opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
    overflow-y: scroll;
}

.tpoffcanvas.opened {
    opacity: 1;
    visibility: visible;
    right: 0;
   transition: right 0.4s ease-in-out, opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
    z-index: 99999999;
}

.tpoffcanvas__title {
    font-size: 20px;
    color: var(--font-color);
    margin-bottom: 8px;
    font-weight: 400;
}

.tpoffcanvas__contact {
    margin-bottom: 20px; /* Reduced bottom margin */
}

.tpoffcanvas__contact-content {
    margin-bottom: 8px;
     display: flex;
    align-items: center;
}
.tpoffcanvas__contact-content:last-child {
 margin-bottom: 0; /* Remove margin from the last login element */
}
.tpoffcanvas__contact-content-icon i {
    color: var(--primary-color);
    width: 25px;
    font-size:14px;
    margin-right: 8px;
}


.tpoffcanvas__contact-content-content a,
.tpoffcanvas__contact-content-content a:hover {
    font-size: 14px;
    color: var(--tp-text-body);
}


.tpoffcanvas__social {
    margin-bottom: 15px;
    padding-bottom: 20px;
}

.tpoffcanvas__social .icon {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    background: transparent;
    color: var(--white-color);
    margin-right: 3px;
    transition: all 0.3s ease-in-out;
    border-radius: 5px;
}


.tpoffcanvas__social .icon:hover {
  transform: translateY(-5px);
}

@media (max-width: 767px) {
    .tpoffcanvas {
        width: 250px;
        padding: 30px 20px;
    }
}

@media only screen and (min-width: 576px) and (max-width: 767px) {
    .tpoffcanvas {
        width: 350px;
        padding: 35px;
    }
}

.tpoffcanvas__logo {
    margin-bottom: 20px;
}

@media (max-width: 767px),
only screen and (min-width: 768px) and (max-width: 991px) {
    .tpoffcanvas__logo {
        padding-top: 0;
    }
}

.tpoffcanvas__logo img {
    width: 120px;
    height: auto;
}

.tpoffcanvas__instagram {
    margin-bottom: 30px;
}

@media (max-width: 767px) {
    .tpoffcanvas__instagram {
        text-align: left;
    }
}

.tpoffcanvas__instagram img {
    width: 60px;
    margin: 0px 3px;
    margin-bottom: 10px;
}

.tpoffcanvas__instagram-title h4 {
    color: var(--white-color);
    text-transform: capitalize;
    margin-bottom: 20px;
}

.tpoffcanvas__close-btn button {
    position: absolute;
    right: 30px;
    top: 30px;
    transition: 1s;
    -webkit-transition: all 0.4s cubic-bezier(0.785, 0.135, 0.15, 0.86);
    -moz-transition: all 0.4s cubic-bezier(0.785, 0.135, 0.15, 0.86);
    transition: all 0.4s cubic-bezier(0.785, 0.135, 0.15, 0.86);
    transition-duration: 0.3s;
     height: 35px;
    width: 35px;
    border-radius: 50px;
     line-height: 35px !important;
     background-color: var(--primary-color);
    color: var(--white-color);
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .tpoffcanvas__close-btn button {
        font-size: 24px;
    }
}

@media only screen and (min-width: 576px) and (max-width: 767px) {
    .tpoffcanvas__close-btn button {
       right: 15px;
       top: 20px;
    }
}

@media (max-width: 767px) {
    .tpoffcanvas__close-btn button {
         font-size: 24px;
       right: 15px;
        top: 20px;
    }
}

.tpoffcanvas__content {
    margin-bottom: 20px;
}

.tpoffcanvas__content p {
    font-size: 14px;
    color: var(--white-color);
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 15px;
}

.tpoffcanvas__content span {
    color: var(--white-color);
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 5px;
    display: inline-block;
}

.tpoffcanvas__content a {
    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--white-color);
    display: inline-block;
}

@media (max-width: 767px) {
    .tpoffcanvas__content a {
        font-size: 20px;
    }
}

.tpoffcanvas__social .social-icon a {
    height: 40px;
    width: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 16px;
    background-color: var(--white-color);
    color: var(--primary-color);
    margin-right: 10px;
    transition: 0.3s;
    display: inline-block;
    border-radius: 8px;
}


@media (max-width: 767px) {
    .tpoffcanvas__social .social-icon a {
        margin-right: 2px;
    }
}
.tpoffcanvas__social .social-icon a:hover {
  transform: translateY(-5px);
  background-color: var(--primary-color);
  color: var(--white-color);
}


.tpoffcanvas__info {
    margin-bottom: 25px;
}

.tpoffcanvas__info .offcanva-title {
    color: var(--white-color);
    padding-bottom: 5px;
}

.tpoffcanvas__info a {
    color: var(--white-color) 9;
    line-height: 1.2;
}