.bg-primary,
.btn-primary{
    background-color: #634997 !important;
    border-color: #634997 !important;
}
.text-primary, .text-dark {
    color: #634997 !important;
}

.common_banner.hajj-banner {
  background-image: url('../images/hajj/banner.webp');
      padding: 250px 0;
      background-position: center;
}
.common_banner.urmah-banner {
      background-image: url('../images/umrah/banner.webp');
      padding: 250px 0;
      background-position: center;
}

/*===== Upcoming Event Style =====
*/
.tq-fixed-bg {
        background-position: right center;
    height: 100%;
    width: 100%;
    margin: 0;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -2;
    color: #fff;
}
.tq-upcoming-wrapper .tq-fixed-bg {
  left: 19.0625rem;
  background-repeat: no-repeat;
}
.tq-fixed-bg.tq-bg-norpet {
    background-size: initial;
    background-repeat: no-repeat;
}
.tq-upcoming-img {
  margin: 2px 0;
}
.tq-upcoming-img > img {
  filter: -webkit-drop-shadow(0 0 9.6875rem rgba(0, 0, 0, 0.25));
  filter: drop-shadow(0 0 9.6875rem rgba(0, 0, 0, 0.25));
}
.tq-upcoming-cap > span {
  font-family: var(--Cinzel-Decorative);
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
}
.tq-upcoming-cap > span + h3 {
  margin-top: 6px;
}
.tq-upcoming-cap > h3 {
  font-size: 2.5rem;
  line-height: 1.5;
}
.tq-upcoming-cap > h3 + ul {
  margin-top: 1.375rem;
}
.tq-upcomin-meta {
  gap: 1.75rem;
}
.tq-upcomin-meta > li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.tq-upcoming-cap > h3,
.tq-upcoming-cap > ul li,
.tq-count-item > span.tq-count-cap {
  color: #fff;
}
.tq-upcomin-meta > li svg {
  width: 1.375rem;
}
.tq-upcomin-meta + .tq-count-down {
  margin-top: 4.6875rem;
}
.tq-count-down {
  display: flex;
  gap: 4.0625rem;
}
.tq-count-item {
  display: flex;
  flex-direction: column;
  font-weight: 700;
  text-align: center;
  align-items: center;
  gap: 10px;
}
.tq-count-item > span {
  line-height: 1;
  color: #fff;
}
.tq-count-item > span:not(.tq-count-cap) {
  font-size: 3.125rem;
}
.tq-count-item > span.tq-count-cap {
  font-size: 1.25rem;
}
.tq-bg-secondary {
    background-color: #634997;
}


/* ************************ */


/*** Spinner Start ***/

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

#spinner.show {
    transition: opacity .8s ease-out, visibility 0s linear .0s;
    visibility: visible;
    opacity: 1;
}

.wow,
.animated {
    animation-duration: 2s !important;
}

/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
}

.back-to-top:hover {
    background: var(--bs-dark);
    color: var(--bs-primary);
}

h1, h2, h3, .h1, .h2, .h3 {
    font-weight: 700 !important;
    font-family: 'Open', sans-serif !important;
}

h4, h5, h6, .h4, .h5, .h6 {
    font-weight: 600 !important;
    font-family: 'Open', sans-serif !important;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}


/*** Button Start ***/

.btn {
    font-weight: 600;
    transition: .5s;
}

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

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

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

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

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

.btn.btn-primary:hover {
    color: var(--bs-primary) !important;
    background: var(--bs-dark) !important;
    border-color: var(--bs-dark) !important;
}

.btn.btn-dark:hover {
    color: var(--bs-dark) !important;
    background: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
}
/*** Button End ***/


/*** Topbar Start ***/
.topbar .topbar-inner {
    height: 45px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, .5);
}

.topbar a,
.topbar a i {
    transition: 0.5s;
}

.topbar a:hover,
.topbar a i:hover {
    color: var(--bs-primary) !important;
}
/*** Topbar End ***/




/*** Hero Header ***/
.hero-header {
    margin-bottom: 6rem;
    padding-top: 15rem;
    padding-bottom: 6rem;
    background: url("../img/hero.jpg"), center center no-repeat;
    background-size: cover;
}

.hero-header .hero-header-inner {
    padding: 3rem;
    background: rgba(255, 255, 255, .5);
}

@media (max-width: 992px) {
    .hero-header {
        padding-top: 12rem;
    }
}

.hero-header .breadcrumb-item {
    font-size: 18px;
}
/*** Hero Header ***/


/*** About Start ***/
.about a.btn.btn-light:hover {
    background: var(--bs-dark) !important;
    color: var(--bs-primary) !important;
    border: 0;
}
.about .col-lg-7 h1 {
    font-size: 32px;
    line-height: 40px;
    color: #fff;
}
/*** About End ***/


/*** Activities Start ***/
.activities .activities-item {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 45px rgba(12, 18, 20, .08);
    transition: 0.5s;
    border-radius: 10px;
}

/* .activities .activities-item:hover {
    background: #634997 !important;
    color: var(--bs-dark) !important;
} */

.activities .activities-item:hover a {
    background: var(--bs-light) !important;
    color: #634997 !important;
}

.activities .activities-item:hover a:hover {
    background: var(--bs-dark) !important;
    color: var(--bs-primary) !important;
}
/*** Activities End ***/


/*** Events Start ***/
.event-item img {
    transition: 0.5s;
}

.event .event-item a {
    transition: 0.5s;
}

.event-item:hover img {
    transition: 0.5s;
    transform: scale(1.2)
}

.event-item a:hover {
    background: var(--bs-dark);
    color: var(--bs-primary);
    opacity: 0.5s;
}
/*** Events End ***/

/*===== Help Us Style =====*/
.help-us-wrapper.position-relative.w-100 {
    padding: 100px 0;
}
.help-us-box {
  -webkit-border-radius: 3.125rem;
  border-radius: 3.125rem;
  padding: 5.625rem 5.625rem 6.125rem;
}
.help-us-box:before {
  content: "";
  position: absolute;
  inset: 0;
  -webkit-border-radius: inherit;
  border-radius: inherit;
  z-index: -1;
  opacity: 0.9;
    background-color: #634997;
}
.help-us-box-inner {
  max-width: 90%;
}
.help-us-box-inner > h2 {
  font-size: 3.125rem;
}
.help-us-box-inner > h2, .help-us-box-inner > p {
    color: #fff;
    line-height: normal;
}
.help-us-box-inner > h2 + p {
  margin-top: 12px;
}
.help-us-box-inner > p {
  font-size: 1rem;
  line-height: 1.75rem;
}
.help-us-box-inner > a.tq-theme-btn {
  border-color: #fff;
}
.help-us-box-inner > a.tq-theme-btn:before {
  background-color: inherit;
}
.help-us-box-inner > p + a {
  margin-top: 1.875rem;
}
.help-us-box-inner > a {
    background: #fff !important;
    color: #634997;
    padding: 10px 35px;
}


@media (max-width:767px) {
  .py-5 {
    padding-top: 1rem!important;
    padding-bottom: 1rem!important;
}
    .help-us-box {
    padding: 5.625rem .1rem 6.125rem;
}
.about .col-lg-7 h1 {
    font-size: 24px;
    line-height: 31px;
}
.tq-upcoming-wrapper .tq-fixed-bg {
    left: 0;
    top: -19px;
    padding: 20px 0;
}
.tq-upcoming-cap.d-flex.flex-column.align-items-start.position-relative.w-100 {
    text-align: center;
    padding-bottom: 32px;
}
.tq-upcoming-cap > span + h3 {
    margin-top: 6px;
    font-size: 27px;
    line-height: normal;
}
.tq-count-item > span:not(.tq-count-cap) {
    font-size: 2rem;
}
.tq-count-down {
    display: flex;
    gap: 22px;
    margin-top: 20px !important;
    margin-left: 39px;
}
.tq-count-downL:last-child {
    display: flex;
    gap: 0px;
}
.tq-upcoming-cap > span {
    margin-left: 94px;
    margin-top: 25px;
}
.help-us-box-inner > h2 {
    line-height: normal;
    font-size: 32px;
}

.help-us-box {
    padding: 50px 0;
}
section.upcoming-event-section {
    padding: 50px 0;
}
.common_banner.hajj-banner {
      padding: 100px 0;
}
.common_banner.urmah-banner {
      padding: 100px 0;
}
}
