
/*** 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: 60px;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
}
.btn-primary-clr{
	background-color:006400;
}
/*** 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-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50%;
}

.btn.btn-primary {
    background: var(--bs-secondary) !important;
    color: var(--bs-white) !important;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    transition: 0.5s;
}

.btn.btn.btn-primary:hover {
    background: var(--bs-primary) !important;
    color: var(--bs-secondary);
    border: 1px solid var(--bs-secondary);
}

.btn.btn-secondary {
    background: transparent;
    color: var(--bs-secondary);
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    border: none;
    transition: 0.5s;
}

.btn.btn-secondary:hover {
    color: var(--bs-primary) !important;
}


/*** Section Title Start ***/
.section-title {
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
}

.section-title .sub-style {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--bs-primary);
}


.sub-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--bs-primary);
}

/*** Topbar ***/
/* Parent container background */
.topbar-green-custom {
  background-color: #006400;
}

/* Flex wrapper */
.topbar-flex-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Sections with percentage widths */
.topbar-left,
.topbar-center,
.topbar-right {
  padding: 5px;
  color: white;
}

/* Desktop layout */
@media (min-width: 992px) {
  .topbar-left {
    width: 40%;
    text-align: left;
  }

  .topbar-center {
    width: 20%;
    text-align: center;
  }

  .topbar-right {
    width: 40%;
    text-align: right;
  }
}

/* Mobile stacked layout */
@media (max-width: 991px) {
  .topbar-flex-wrapper {
    flex-direction: column;
  }

  .topbar-center {
    order: -1; /* move logo to top */
    margin-bottom: 10px;
  }

  .topbar-left,
  .topbar-right {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* Logo box */
.mosque-logo-wrapper {
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
}
@keyframes mosqueColorCycle {
  0%   { background-color: rgb(1, 68, 33); }     /* Dark Muslim Green */
  25%  { background-color: rgb(255, 204, 0); }   /* Deep Mustard Yellow */
  50%  { background-color: rgb(0, 102, 204); }   /* Rich Blue */
  75%  { background-color: rgb(255, 140, 0); }   /* Warm Deep Orange */
  100% { background-color: rgb(1, 68, 33); }     /* Back to Green */
}

.mosque-logo-wrapper {
  display: inline-block;
  padding: 5px 15px;
  border-radius: 10px;
  margin: 0 auto;
  animation: mosqueColorCycle 10s ease-in-out infinite;
  transition: background-color 1s ease-in-out;
}


/* Mosque logo */
.mosque-logo {
  max-height: 45px;
}

/* Marquee styling */
.marquee-text {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.5px;
}
/* Muslim yellow hover effect */
.call-btn:hover,
.whatsapp-btn:hover {
  background-color: #FFD700 !important; /* Muslim yellow */
  color: #000 !important;
  border-color: #FFD700 !important;
}


/*** img Header ***/
.object-fit-cover {
  object-fit: cover;
  height: 100%;
  width: 100%;
}
/*** img Header end***/

/* Background and spacing */
.responsive-text-bar {
  background-color: #006400;
  color: #ffffff;
}

/* Auto-shrinking text */
.shrink-text {
  font-size: clamp(12px, 2vw, 18px);
  font-weight: 500;
  line-height: 1.4;
  padding: 0 10px;
}

/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    background: linear-gradient(rgba(0, 58, 102, 0.9), rgba(0, 58, 102, 0.8)), url(../img/breadcrumb.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: initial;
    background-size: cover;
    padding: 100px 0 60px 0;
}
/*** Single Page Hero Header End ***/


/*** Carousel Hero Header Start ***/
.banner-slide-img {
  width: 100%;
  height: 65vh;
  object-fit: cover;
}

/* Adjust height for smaller screens */
@media (max-width: 768px) {
  .banner-slide-img {
    height: 40vh;
  }
}

.header-carousel .header-carousel-item {
    height: 700px;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 60px;
    background: var(--bs-light);
    color: var(--bs-primary);
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev {
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    margin-left: 30px;
}
.header-carousel .owl-nav .owl-next {
    bottom: 30px;
    right: 50%;
    transform: translateX(-50%);
    margin-right: 30px;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 0 0 100px 0 var(--bs-secondary);
    color: var(--bs-white);
}

.header-carousel .header-carousel-item .carousel-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .2);
    display: flex;
    align-items: center;
}

@media (max-width: 991px) {
    .header-carousel .header-carousel-item .carousel-caption {
        padding-top: 45px;
    }

    .header-carousel .header-carousel-item {
        height: 1300px;
    }
}

@media (max-width: 767px) {
    .header-carousel .header-carousel-item {
        height: 950px;
    }

    .header-carousel .owl-nav .owl-prev {
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
        margin-left: -45px;
    }

    .header-carousel .owl-nav .owl-next {
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
        margin-left: 45px;
    }
}
/*** Carousel Hero Header End ***/

/*** About ***/
.about {
  margin-top: 30px; /* adjust as needed, try 50px for more space */
}

@media (max-width: 576px) {
  .about {
    margin-top: 20px; /* smaller top spacing for mobile */
  }
}

.bg-color{
	background-color: #006400 !important;
}
.text-H{
	text-align:center;
	color: #ffffff;
	font-size:18px;
}

.text-P{
	content:justify;
	color:#ffffff;
}

.text-pp{
	text-align:justify;
	font-size:17px;
	
}
.text-d{
	color:white;
}
.pulse-animation {
  animation: pulse 1.5s infinite;
  transition: transform 0.3s ease;
}

@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 12px rgba(255, 193, 7, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 193, 7, 0); }
}


/*** Counter Facts Start ***/
.counter-facts {
    background: linear-gradient(rgba(255, 255, 255, .9), rgba(255, 255, 255, 0.8)), url(../img/contact-form.jpg);
    background-size: cover;
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
}

.counter-facts .counter {
    position: relative;
    text-align: center;
    width: 200px;
    min-height: 215px;
    padding: 10px 15px;
    margin: 0 auto;
    border-radius: 100px;
    box-shadow: 0 8px 5px rgba(0, 0, 0, 0.2);
    background: var(--bs-white);
}

.counter-facts .counter:before {
    content: "";
    position: absolute;
    height: 105px;
    width: 100%;
    left: 0;
    top: 0;
    border-radius: 10px 10px 0 0;
    background-color: var(--bs-primary);
    
}
.counter-facts .counter .counter-icon {
    position: relative;
    width: 120px;
    height: 100px;
    margin: 0 auto 10px;
    border-radius: 10px 10px 0 0;
    transform: translateY(-20px);
    font-size: 50px;
    line-height: 90px;
    color: var(--bs-secondary);
    background: rgba(1, 143, 252, 0.5);
    clip-path: polygon(0% 0%, 100% 0, 100% 70%, 50% 100%, 0 70%);
}
.counter-facts .counter .counter-icon:before {
    content: "";
    position: absolute;
    width: 120px;
    height: 90px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 10px 10px 0 0;
    background: rgba(0, 58, 102, 0.5);
    z-index: -1;
    clip-path: polygon(0% 0%, 100% 0, 100% 70%, 50% 100%, 0 70%);
}
.counter-facts .counter:hover .counter-icon i {
    transform: rotate(360deg);
    transition: all 0.3s ease;
}
.counter-facts .counter h3 {
    color: var(--bs-primary);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 0 5px 0;
}
.counter-facts .counter .counter-value {
    font-size: 30px;
    font-weight: 700;
    display: block;
    color: var(--bs-secondary);
}

@media screen and (max-width: 1200px) {
    .counter-facts .counter { margin-bottom: 40px; 
    }
}
/*** Counter Facts End ***/


/*** service Start ***/
.service .service-item {
    position: relative;
    overflow: hidden;
}

.bg-primary-c{
	background-color: #FF9100 !important;
}
.service .service-item .service-inner .service-title {
    position: relative;
    margin-top: -30px;
    text-align: center;
    transition: 0.5s;
}

/* ✅ Make service content always visible */
.service .service-item .service-inner .service-title .service-content {
    position: static;
    margin: 0;
    text-align: center;
    border-radius: 10px;
    background: none; /* Optional: remove background color */
    opacity: 1;
    transition: none;
}

/* ❌ Remove hover reveal effect */
.service .service-item:hover .service-inner .service-title .service-content {
    /* No effect needed */
}

/* Keep border under title inside content if desired */
.service .service-item .service-inner .service-title .service-content a h4 {
    border-bottom: 1px solid rgba(256, 256, 256, .1);
}

.service .service-item .service-inner .service-title .service-title-name {
    transition: 0.5s;
}

/* ❌ Do not hide the title name on hover */
.service .service-item:hover .service-inner .service-title .service-title-name {
    opacity: 1;
}

/* Service image styling */
.service .service-item .service-inner .service-img {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

/* ❌ Removed image overlay */
.service .service-item .service-inner .service-img::after {
    display: none;
}

/* ✅ Optional: keep image zoom or disable it */
.service .service-item .service-inner .service-img img {
    transition: 0.5s;
}

/* ✅ Comment out to disable zoom effect */
.service .service-item:hover .service-inner .service-img img {
    transform: scale(1.3);
    /* transform: none;  ← uncomment this line and comment above line to disable zoom */
}

.btn-call {
    background-color: #198754 !important; /* Muslim Green */
    color: #fff !important;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}
.btn-call:hover {
    background-color: #146c43 !important; /* Darker Green on hover */
    color: #fff !important;
}
.btn-call svg {
    flex-shrink: 0;
}

.btn-call {
    background-color: #198754; /* Muslim Green */
    color: #fff !important;
    font-weight: 600;
    font-size: 1rem;
    animation: heartbeat 1.8s infinite ease-in-out;
    transition: background-color 0.6s ease;
    box-shadow: 0 0 0 rgba(25, 135, 84, 0.7);
}

.btn-call:hover {
    background-color: #146c43;
    color: #fff;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(25, 135, 84, 0.7);
    }
    30% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(25, 135, 84, 0);
    }
    60% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(25, 135, 84, 0);
    }
}


/*** Service End ***/


/*** Features Start ***/
.features .feature-item .feature-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    display: inline-block;
    background-color: #006400 ; /* Muslim green */
}

.features .feature-item .feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none; /* remove any default border */
}


.features .feature-item:hover .feature-icon {
    box-shadow: 0 0 12px rgba(0, 128, 0, 0.3);
    transform: scale(1.05);
}

.features .feature-item:hover .feature-icon img {
    transform: rotate(10deg);
}
.country-item {
  transition: all 0.3s ease;
}
.country-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}
.country-flag img {
  width: 50px;
  height: 50px;
  border: 2px solid #fff;
}
@media (max-width: 576px) {
  .country-item h5 {
    font-size: 1rem;
  }
  .btn {
    font-size: 14px;
    padding: 8px 14px;
  }
}


/*** Features End ***/


/*** Country Start ***/
.country .country-item {
    position: relative;
}

.country .country-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 58, 102, 0.7);
    border-radius: 10px;
    transition: 0.5s;
    z-index: 1;
}

.country .country-item:hover::after {
    height: 100%;
}

.country .country-item .country-flag {
    position: absolute;
    width: 90px; 
    height: 90px; 
    border-radius: 50%;
    top: -45px; 
    left: 50%; 
    transform: translateX(-50%);
    transition: 0.5s;
    z-index: 2;
}

.country .country-item .country-flag img {
    border: 5px solid var(--bs-white);
    transition: 0.5s;
}

.country .country-item:hover .country-flag img {
    border: 5px solid var(--bs-white);
    transform: rotate(360deg);
    transition: all 0.5s ease;
}

.country .country-item .country-name {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 0.5s;
    opacity: 0;
    z-index: 3;
}

.country .country-item:hover .country-name {
    opacity: 1;
}

.country .country-item img {
    transition: 0.5s;
}

.country .country-item:hover img {
    transform: scale(1.2);
}

.country .country-item .country-name a.fs-4 {
    transition: 0.5s;
}

.country .country-item .country-name a.fs-4:hover {
    color: var(--bs-secondary) !important;
}
/*** Country End ***/


/*** testimonial Start ***/
.testimonial .owl-carousel.testimonial-carousel {
    position: relative;
}

.testimonial .owl-carousel.testimonial-carousel .testimonial-item .testimonial-content {
    position: relative;
    border-radius: 10px;
    background-color: rgb(210, 245, 224);
}

.testimonial .owl-carousel.testimonial-carousel .testimonial-item .testimonial-content::after {
    position: absolute;
    content: "";
    width: 45px;
    height: 45px;
    bottom: -20px;
    left: 30px;
    transform: rotate(45deg);
    background-color: rgb(210, 245, 224);
    z-index: -1;
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav {
    position: absolute;
    top: -60px;
    right: 0;
    display: flex;
    font-size: 40px;
    color: var(--bs-primary);
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-prev {
    margin-right: 40px;
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-prev,
.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-next {
    transition: 0.5s;
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--bs-secondary);
}
/*** testimonial end ***/

/*** Footer Start ***/
.footer {
    background: var(--bs-primary);
}
.footer .footer-item a {
    line-height: 30px;
    color: var(--bs-white);
    transition: 0.5s;
}

.footer .footer-item p {
    line-height: 30px;
}

.footer .footer-item a:hover {
    letter-spacing: 2px;
    color: var(--bs-secondary);
}
.footer-heading {
    font-size: 2.5rem;
}

@media (max-width: 576px) {
    .footer-heading {
        font-size: 1.6rem;
    }
}

@media (min-width: 577px) and (max-width: 992px) {
    .footer-heading {
        font-size: 2rem;
    }
}

@media (min-width: 993px) {
    .footer-heading {
        font-size: 3rem;
    }
}


/*** Footer End ***/


/*** copyright Start ***/
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #f2c119 !important;
}
/*** copyright end ***/


/*** bottom call button ***/
@media (max-width: 767.98px) {
  .mobile-fixed-buttons {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background-color: #198754; /* Same as btn-success */
  }

  .mobile-fixed-buttons a {
    height: 60px;
    font-size: 16px;
    border-radius: 0;
  }

  .mobile-bottom-spacer {
    height: 60px; /* Same height as the fixed buttons */
    width: 100%;
  }
}
