/*
Theme Name: Hamza & Madina
Author: Colossus Media Group
Description: Hamza & Madina Child Theme
Version: 1.0
Template: bootstrap-component-blox
*/

/* ===== Global ===== */

html,
body { 
	overflow-x: hidden;
	font-family: var(--hm-font-body);
	color: var(--hm-dark);
}

h1, h2, h3, h4, h5 {
	font-family: var(--hm-font-header);
}

a,
a:hover {
	text-decoration: none;
}

/* ===== Custom Classes ===== */

.z-front {
	z-index: 5;
}

.z-back {
	z-index: 1;
}

.fw-600 {
	font-weight: 600;
}

.lh-sm {
	line-height: 1em!important;
}

.text-shadow {
	text-shadow: 1px 1px 20px rgb(0 0 0 / 70%);
}

.swiper-pagination-bullet {
	height: 15px;
	width: 15px;
	background: var(--hm-primary);
}

.object-fit {
	object-fit: cover;
}

.mh-300 {
	height: 300px
}

.hm-font-script {
	font-family: var(--hm-font-script);
}

.rounded-lg {
	border-radius: 20px;
}

/* ===== Text Color ===== */

.hm-text-primary {
	color: var(--hm-primary);
}

.hm-text-secondary {
	color: var(--hm-secondary);
}

.hm-text-dark {
	color: var(--hm-dark);
}

/* ===== Background Color ===== */

.hm-bg-primary {
	background-color: var(--hm-primary);
}

.hm-bg-secondary {
	background-color: var(--hm-secondary);
}

.hm-bg-dark {
	background-color: var(--hm-dark);
}

/* ===== Button ===== */

.btn-icon-reveal  {
    white-space: nowrap;
}

.btn-icon-reveal i {
   opacity: 0;
   margin-right: -20px;
   width: 15px;
   transition: .3s;
}

.btn-icon-reveal:hover i {
    opacity: 1;
    margin-right: 0px;
    transform: translatex(5px);
}

.hm-btn-dark {
	background-color: var(--hm-dark);
	color: #fff;
}

.hm-btn-dark:hover {
	background-color: var(--hm-dark);
	color: #fff;
}

.hm-btn-white {
	background-color: #fff;
	color: var(--hm-dark);
}

.hm-btn-white:hover {
	background-color: #fff;
	color: var(--hm-dark);
}

/* ===== Toggler ===== */

#toggler:focus, 
#toggler:active {
    outline: 0;
}

#toggler span {
    width: 30px;
    height: 3px;
    display: block;
    margin: 7px 0;
    -webkit-transition: 0.4s;
    -o-transition: 0.4s;
    transition: 0.4s;
}

#toggler span:nth-child(1) {
    -webkit-transform: translatey(10px) rotate(-45deg);
        -ms-transform: translatey(10px) rotate(-45deg);
            transform: translatey(10px) rotate(-45deg);
}

#toggler span:nth-child(2) {
    opacity: 1;
    width: 0;
}

#toggler span:nth-child(3) {
    -webkit-transform: translatey(-10px) rotate(45deg);
        -ms-transform: translatey(-10px) rotate(45deg);
            transform: translatey(-10px) rotate(45deg);  
}

#toggler.collapsed span {
    -webkit-transform: translatey(0) rotate(0deg);
        -ms-transform: translatey(0) rotate(0deg);
            transform: translatey(0) rotate(0deg);
    opacity: 1;
    width: 30px;   
}

/* ===== Header ===== */

.overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

@media (min-width: 992px) {
	#hm-header .row {
	padding-top: 200px;
	}
	.home #hm-slide-0 {
		height: 580px !important;
	}
}

@media (max-width: 991px) {
	.home .mainHeaderSwiper {
		height: 265px !important;
	}
	.home .mainHeaderSwiper .swiper-wrapper {
		padding-bottom: 3.5rem !important;
	}
	/*.home .mainHeaderSwiper .swiper-button-prev,
	.home .mainHeaderSwiper .swiper-button-next {
		margin-top: -60px;
	}*/
	/* #hm-header .row {
		padding-top: 145px !important;
		padding-bottom: 0px !important;
	} */
	.home #hm-slide-0 {
		/* background-size: contain !important;
		background-repeat: no-repeat !important; */
		height: auto !important;
		padding-bottom: 200px;
	}
	.sticky-wrapper {
		/*height: 129px !important;*/
	}
	.home #hm-header a.btn.hm-btn-secondary.btn-icon-reveal {
		margin-top: 2rem;
	}	
	.home .mainHeaderSwiper .swiper-pagination {
		margin-top: -2.4rem !important;
	}
}

.home #hm-slide-0 .col-lg-10 {
    width: 100% !important;
    flex: auto !important;
}

@media (min-width: 992px) {
	.home #hm-slide-0 .col-lg-10 div {
		justify-content: center !important;
	}
}

/* ===== FAQ ===== */

#hm-faq .accordion-button::after {
	display: none!important
}

#hm-faq i {
	transition: all .3s;
	transform: rotate(0deg);
}

#hm-faq .collapsed i {
	transform: rotate(180deg);
}

/* ===== Gallery ===== */

#hm-gallery img {
	transition: all .3s;
}

#hm-gallery img {
	position: relative;
	display: block;
}

#hm-gallery img:hover {
	opacity: 0.7;
}

/* ===== Home Cards ===== */

.home #hm-cards img {
	width: 300px;
	height: 300px;
	object-fit: cover;
}

/* ===== CTA ===== */

#hm-cta .row  {
	padding-top: 150px;
	padding-bottom: 150px;
}

/* ===== Has Form ===== */

.has-form .wpforms-container {
	margin-bottom: 0!important;
	margin-top: 0!important;
}

.has-form .wpforms-submit {
	color: #fff!important;
	background: var(--hm-primary)!important;
	padding: 10px 20px!important;
	text-transform: uppercase!important;
	border: none!important;
	font-weight: bold!important;
}

/* ===== Navbar ===== */

#navbar-brand-logo img {
    width: auto;
  height: 100px;
}

#navbar-main-menu .nav-item:last-child .nav-link {
	background: var(--hm-secondary);
}

#navbar-main-menu .nav-item:last-child .nav-link:before {
	display: none !important;
}

/* ===== Footer ===== */

#hm-footer-widgets {
	color: #fff;
}

#hm-footer-widgets a {	
	color: #fff;
}

#footer-widgets a:hover {	
	color: rgba(255,255,255,0.8);
}


footer {	
	background: var(--hm-dark);
	color: #fff;
}

footer a {
	color: rgba(255,255,255,0.8);
}

footer a:hover {
	color: rgba(255,255,255,0.6);
}

.customheadings h2 {
  text-align: center;
  font-size: 28px;
  line-height: 32px;
}

/* @media (max-width: 992px) {
	#hm-header .row {
		padding-top: 50px;
		padding-bottom: 50px;
	}
	
	.mh-300 {
		height: 200px
	}
} */

@media (max-width: 768px) {

}

@media (max-width: 576px) {

}



@media only screen and (min-width: 200px) and (max-width: 767px)  {
  .fw-normal {
  font-size: 20px !important;
}
.text-shadow {
  font-size: 32px;
}
   
    }