@media(max-width: 1400px){
	.hero-section {
    padding-top: 240px;
    padding-bottom: 90px;
  }
  .hero-section {
    height: auto;
  }
  .hero-section img.hero-img-style {
    position: absolute;
    top: 0;
    height: 100%;
  }
  .navbar-links li.navbar-dropdown span {
     top: -6px;
     padding: 3px 8px;
     font-size: 10px;
     right: 10px;
    }
  .navbar-links li.navbar-dropdown .dropdown a {
    font-size: 14px;
    padding-left: 20px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .error form {
    margin-top: 15px;
  }
  .header-search a {
    font-size: 14px;
  }
  #progress {
    height: 47px;
    width: 47px;
  }
  .error h2 {
    font-size: 160px;
    line-height: 120px;
  }
  .join-our-img img:nth-child(3) {
    right: 4%;
    top: 7%;
  }
  .header-search svg {
    width: 17px;
    margin-right: 12px;
  }
	.navbar-links li > a {
    font-size: 14px;
  }
  .hero-section.two .hero-text h1 {
    font-size: 58px;
  }
  .bannr-text h2 {
    font-size: 58px;
    line-height: 56px;
  }
	.navbar-links li:not(:last-child) {
    padding-right: 30px;
	}
	.hero-text h1 {
    font-size: 60px;
  }
  .error h3 {
    font-size: 30px;
    padding-bottom: 10px;
    padding-top: 10px;
  }
  .hero-text p {
    padding-bottom: 38px;
    font-size: 20px;
    width: 91%;
	}
	.slider-home-1 .owl-dots {
    left: 8%;
    bottom: 26px;
	}
	.btn {
    padding: 18px 36px;
  }
  .comment h3 {
    font-size: 36px;
  }
  .hero-img img {
    width: 50% !important;
	}
	.namaz-time h4 {
    font-size: 28px;
    padding-top: 6px;
    padding-bottom: 16px;
  }
  .service a {
    font-size: 24px;
    padding-top: 18px;
    padding-bottom: 4px;
  }
  .travel-package-list ul li i {
    font-size: 18px;
  }
  .program .heading.two {
    padding-bottom: 30px;
  }
  .audio-ayat {
    margin-top: 30px;
  }
  .namaz-time {
    padding-top: 15px;
    padding-bottom: 90px;
  }
  .namaz-time h5 {
    font-size: 18px;
	}
	.heading {
    width: 66%;
  }
  .community img {
    width: 100%;
	}
  .pillars-name > img {
    width: 100%;
	}
	.pillars-name {
    width: 19%;
	}
  .support-us h6 {
    font-size: 40px;
    padding-top: 14px;
  }
  .count-style h2 {
    font-size: 60px;
  }
  .islamic-mosque {
    padding: 53px 0;
  }
	.footer-top {
    padding-bottom: 60px;
    margin-bottom: 60px;
	}
	.Information ul li {
    padding-bottom: 22px;
  }
  .widget-title p {
    width: 90%;
	}
	.Information {
    padding-bottom: 70px;
	}
	.islamic-ayat  img.ayat-with-img {
    width: 43%;
	}
	.ayat-img {
    margin-top: 178px;
    margin-left: 40px;
	}
  .wpo-lower-footer {
    padding-top: 24px;
    padding-bottom: 24px;
	}
  .pillars-name a {
    font-size: 23px;
    padding-top: 15px;
    padding-bottom: 0px;
  }
  .listen-holy .heading.two {
    padding-top: 120px;
  }
  .support-us {
    padding-bottom: 80px;
    padding-top: 70px;
  }
  .support-us h4 {
    font-size: 40px;
    padding-bottom: 14px;
	}
	.courses-text a {
    font-size: 20px;
    line-height: 30px;
    padding-bottom: 14px;
  }
  h2 {
      font-size: 46px;
  }
	.real-history-book {
    margin-top: 18px;
	}
	.circle-text img.circle-text-img {
    top: 6%;
    left: 18%;
  }
  
  .real-history-book img,
  .real-history-book figure {
    width: 100%;
	}
  .gap {
    padding-top: 100px;
    padding-bottom: 100px;
	}
	.no-top {
    padding-top: 0;
	}
	.no-bottom {
    padding-bottom: 0;
	}
}
@media(max-width: 1200px){
	.two-bar:before,.two-bar:after,.top-bar {
    display: none;
	}
  .search-popup .close-search {
    top: 6%;
    left: 82%;
  }
  .error p {
    padding-top: 10px;
    line-height: 26px;
  }
  .content {
    margin-top: -31px;
    padding-top: 50px !important;
  }
  .hero-section.two .hero-text h1 {
    font-size: 48px;
  }
  .mobile-nav {
    width: 50%;
  }
  .contact-us {
    padding: 26px;
  }
  .bannr-section {
    padding-top: 100px;
    padding-bottom: 30px;
  }
	header {
		position: relative;
    background-color: var(--common-colour);
	}
	.two-bar {
    padding: 8px 0;
  }
	.header-search,header .navbar {
		display: none;
	}
	.courses-text a {
    font-size: 18px;
    line-height: 28px;
    padding-bottom: 14px;
	}
	.bar-menu {
		display: block;
	}
  ul.list li:before {
    top: 6px;
  }
  .contact-us h4 {
    font-size: 20px;
  }
  .contact-us i {
    width: 70px;
    height: 70px;
  }
  .contact-us p {
    font-size: 13px;
    line-height: 23px;
  }
  .content {
    padding: 30px;
  }
  .contact-us svg {
    width: 37px;
  }
  .contact-us {
    padding: 40px;
  }
	.bar-menu i {
		color: #fff;
	}
  .hero-img.two img {
    left: -25%;
    width: 70% !important;
  }
	.two-bar .d-flex.align-items-center.justify-content-between {
    width: 100%;
	}
  .service a {
    font-size: 22px;
  }
  .widget-title h5 a {
    font-size: 22px;
  }
  .travel-package-list {
    padding: 26px;
  }
  .slider-ayat.two {
    padding-bottom: 0px;
  }
  .service + .service {
    margin-top: 40px;
  }
  .service {
    width: 100%;
  }
	.bar-menu i {
    margin-right: 0px; 
    font-size: 26px;
	}
	.hero-section {
    height: auto;
	}
	.hero-section {
    padding-top: 120px;
    padding-bottom: 120px;
	}
	.courses-weeks {
    padding: 14px 16px;
  }
	.hero-text h1 {
    font-size: 48px;
	}
  h2 {
    font-size: 46px;
	}
	.slider-ayat.owl-carousel .owl-item img {
    width: 100%;
  }
  .heading {
    padding-bottom: 30px;
	}
	.join-our-community h2 {
    width: 72%;
    font-size: 44px;
	}
	.Information ul li a {
    font-size: 14px;
	}
	.islamic-mosque h5 {
    padding-top: 4px;
    padding-bottom: 28px;
    font-size: 16px;
	}
	.support-us h4 {
    font-size: 32px;
    padding-bottom: 14px;
	}
	.courses .border {
    height: 38px;
    margin-top: -21px;
	}
	.islamic-history p {
    line-height: 26px;
    font-size: 16px;
	}
	.circle-text figure.circle-img {
    width: 152px;
    height: 152px;
  }
	.islamic-history  a.btn {
    margin-top: 14px;
	}
	ul.list li {
    font-size: 16px;
	}
	.circle-text figure.circle-img img {
    width: 105px;
    padding: 24px;
	}
	.circle-text img.circle-text-img {
    top: 6%;
    left: 18%;
    width: 64%;
	}
	.namaz-time h4 {
    font-size: 22px;
  }
	img.hero-img-style {
    width: 100% !important;
	}
}
@media(max-width: 993px){
	.gap {
    padding-top: 80px;
    padding-bottom: 80px;
	}
  .accordion .content {
    margin-bottom: 0;
  }
	.no-top {
    padding-top: 0;
	}
  .no-bottom {
    padding-bottom: 0;
  }
  .comment h3 {
    font-size: 32px;
  } 
  .courses-details h5 {
    font-size: 30px;
    line-height: 40px;
  }
  .video a i:after {
    width: 90px;
    height: 90px;
  }
  .bannr-text h2 {
    font-size: 46px;
    line-height: 46px;
  }
  .content {
    margin-bottom: 40px;
  }
  .video a i {
    width: 74px;
    height: 74px;
  }
  .audio-ayat #wrapper {
    padding: 20px 20px;
    padding-top: 20px;
  }
  .hero-section.two .hero-text {
    width: 100%;
    margin: auto;
  }
  .service:before {
    left: 66px;
  }
	.slider-home-1 .owl-item img.hero-img-style {
    height: 100% !important;
    object-fit: cover;
	}
  footer.two .wpo-lower-footer {
    border-top: 0px;
    margin-top: 0;
  }
	.namaz-time {
    border: 1px solid #bcbcbc;
  }
  .program .heading.two {
    margin-top: 40px;
  }
  .video {
    margin-top: 40px;
    margin-bottom: 40px;
  }
	.listen-holy .heading.two {
    padding-top: 100px;
	}
	.hero-text p,.heading {
    width: 100%;
	}
  h2 {
    font-size: 40px;
  }
  .audio-ayat #wrapper h4,.audio-ayat #wrapper h5 {
    font-size: 14px;
    padding-left: 50px;
  }
  .audio-ayat #wrapper {
    width: 98%;
  }
  .pdf-slider {
    margin-top: 80px;
  }
  .islamic-history {
    margin-top: 40px;
  }
  .hero-img.two img {
    left: 7%;
    width: 52% !important;
  }
  .hero-img.two {
    justify-content: end;
  }
	.support-us {
    padding-bottom: 60px;
    padding-top: 60px;
    border-radius: 0;
    margin-top: 40px;
	}
	.pillars-name {
    width: 31%;
    margin-right: 16px;
    margin-bottom: 30px;
	}
	.hero-section {
    text-align: center;
	}
	.hero-img {
    justify-content: center;
    margin-top: 40px;
	}
	.islamic-mosque {
		width: 49.9%;
		margin-bottom: 40px;
	}
	.pillars {
		justify-content: start;
		flex-wrap: wrap;
	}
	.ayat-img,.islamic-ayat img.ayat-with-img {
		display: none;
	}
	.islamic-ayat {
    margin-bottom: 100px;
	}
	.fun-facts {
		flex-wrap: wrap;
	}
	.namaz-timing {
    flex-wrap: wrap;
	}
	.namaz-time {
    width: 33%;
    margin-top: 30px;
	}
	.circle-text {
    margin-top: 17px;
    width: fit-content;
	}
	.hero-img img {
    width: 30% !important;
	}
	.circle-text img.circle-text-img {
    top: 8%;
    left: 6%;
    width: 87%;
	}
	.community {
    margin-bottom: 40px;
	}
	.courses {
    margin-bottom: 40px;
	}
	.courses-text a {
    font-size: 22px;
    line-height: 32px;
  }
	.our-courses-section {
    background-size: cover;
	}
	.join-our-img {
		display: none;
	}
	.join-our-community h2 {
    font-size: 33px;
    width: 98%;
  }
  .join-our-community {
    padding: 60px 0;
  }
	.Information {
    padding-bottom: 0px;
    border: 0;
	}
	.wpo-lower-footer .border {
    border: 1px solid #ffffff!important;
    height: 22px;
    margin: 0px 16px;
	}
	.wpo-lower-footer {
    margin-top: 60px;
    border-top: 1px solid;
	}
	.wpo-lower-footer {
		margin-top: 60px;
		margin-bottom: 60px;

	}
}
@media(max-width: 768px){
	h2 {
    font-size: 38px;
  }
  .join-our-community {
      border-radius: 0;
  }
  .error {
    width: 100%;
  }
  .slider-ayat.two .ayat {
    padding: 0;
    padding-bottom: 20px;
  }
  .courses-details figure img {
    width: 100%;
    height: auto;
  }
  .mobile-nav {
    width: 70%;
  }
  .map iframe {
    height: 300px;
  }
	.hero-section {
    padding-top: 70px;
    padding-bottom: 80px;
	}
  .hero-img.two img {
    display: none;
  }
  .comment h4 {
    font-size: 22px;
  }
  footer.two {
    padding-top: 60px;
  }
  footer.two .widget-title {
    padding-top: 20px;
  }
	.Information.widget-title {
    margin-top: 40px;
    margin-bottom: 40px;
	}
	.wpo-lower-footer p {
    margin-bottom: 10px;
	}
  
	.owl-theme .owl-nav.disabled+.owl-dots {
    width: 100%;
  }
  .slider-home-1 .owl-dots {
    left: -2%;
  }
	.wpo-lower-footer {
    flex-wrap: wrap;
    justify-content: center;
	}
	.courses {
    width: 100%;
  }
	.pillars-name {
    width: 46%;
  }
  .join-our-community {
    padding: 60px 20px;
  }
	.widget-title p {
    width: 100%;
	}
}
@media(max-width: 576px){
  .gap {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .accordion .content {
    padding: 22px;
    border-radius: 25px;
    padding-top: 67px !important;
    margin-top: -48px;
    padding-bottom: 20px;
  }
  .no-top {
    padding-top: 0;
  }
  .no-bottom {
    padding-bottom: 0;
  }
  .our-courses .content {
    padding: 25px;
  }
  .course-free {
    padding: 10px;
    margin-top: -282px;
    padding-top: 254px;
  }
  .travel-package-list {
    padding: 15px;
  }
  .listen-holy .progressbar {
    width: 142px;
  }
  .mobile-nav {
    width: 100%;
  }
  .pagination li.prev a, .pagination li.next a {
    font-size: 14px;
  }
  .pagination li.prev, .pagination li.next {
    width: 60px;
  }
  .progressbar {
    width: 90px;
  }
  .pagination li {
    padding: 14px;
    padding-left: 0;
  }
	.hero-text h1 {
    font-size: 38px;
	}
	.hero-img img {
    width: 50% !important;
	}
  .hero-section.two .hero-text h1 {
    font-size: 38px;
  }
	.namaz-time {
    width: 49%;
  }
  #countdown ul li span {
    font-size: 30px;
    line-height: 21px;
    padding: 0;
    padding-bottom: 4px;
	}
	p {
    font-size: 14px;
  }
  .heading p {
    font-size: 14px;
    padding-top: 16px;
  }
  #countdown ul li {
    width: 84px;
    height: 84px;
    padding: 7px;
  }
}
@media(max-width: 500px){
  .comment h3 {
    font-size: 28px;
  }
}
@media(max-width: 480px){
  .islamic-mosque {
    margin-bottom: 15px;
  }
  .content {
    padding-top: 30px !important;
  }
  .error h2 {
    font-size: 120px;
    line-height: 73px;
  }
  footer.two .wpo-lower-footer {
    padding-top: 30px;
    padding-bottom: 10px;
  }
  .error h3 {
    font-size: 24px;
  }
  .bannr-text h2 {
    padding-top: 10px;
    font-size: 36px;
    line-height: 46px;
  }
  .map iframe {
    height: 250px;
  }
	h2 {
    font-size: 30px;
	}
  .audio-ayat .owl-nav {
    position: relative;
    text-align: center;
    margin-top: 25px;
  }
	.btn {
    font-size: 14px;
    padding: 16px 34px;
	}
	p {
    font-size: 16px;
    line-height: 26px;
  }
  .support-us h4 {
    font-size: 28px;
  }
  .support-us h6 {
    font-size: 32px;
  }
  .support-us span {
    font-size: 16px;
    padding-bottom: 18px;
    padding-top: 4px;
	}		
	.support-us {
    padding: 40px;
	}
  .wpo-lower-footer p {
  	text-align: center;
  }
  .wpo-lower-footer a {
    font-size: 14px;
	}
	.join-our-community p {
    padding-top: 16px;
    padding-bottom: 20px;
    font-size: 18px;
  }
	.join-our-community h2 {
    font-size: 28px;
    width: 100%;
	}
	.islamic-mosque {
    width: 100%;
  }
  .slider-ayat .owl-dots {
    text-align: center;
    position: relative;
    width: 100%;
    margin-top: 0px;
	}
  .slider-ayat .owl-dots {
    left: 0%;
    bottom: -40px;
  }
}
@media(max-width: 450px){
  .courses-img img {
    object-fit: cover;
    height: 280px;
  }
  .courses-details h5 {
    font-size: 28px;
    line-height: 38px;
  }
  .pagination li a {
    padding-right: 14px;
  }
  .bannr-section {
    padding-top: 66px;
    padding-bottom: 30px;
  }
  .pagination li.prev, .pagination li.next {
    width: 54px;
  }
  .hero-section.two .hero-text h1 {
    font-size: 30px;
  }
	.footer-top {
    border-bottom: 0;
    padding-bottom: 0px;
    margin-bottom: 50px;

	}
  .footer-items{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
  }
	#countdown ul li {
    margin-right: -10px;
	}
	.pillars-name figure {
    width: 75px;
    height: 75px;
	}
	.pillars-name figure img {
    width: 52px;
	}
	.pillars-name {
    margin-right: 10px;
    width: 46%;
	}
	.ayat h5 {
    font-size: 14px;
    padding: 5px 16px;
  }
	.ayat h4 {
    padding-top: 7px;
    font-size: 17px;
    padding-bottom: 20px;
    line-height: 26px;
	}
	.pillars-name a {
    font-size: 20px;
  	padding-left: 10px;
  }

  .pillars-name span {
    padding-left: 10px;
    font-size: 14px;
	}
  ol.breadcrumb a,ol.breadcrumb li {
    font-size: 14px;
    color: #fff;
  }
  .breadcrumb-item+.breadcrumb-item::before {
    padding-right: .4rem;
    padding-left: .4rem;
  }
}


/* Mobile buttons container */
.mobile-buttons {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    background-color: var(--common-colour);
    padding: 5px 0;
    z-index: 1000;
}

/* Each button */
.mobile-buttons a {
    flex: 1; 
    color: #fff;
    text-align: center;
    text-decoration: none;
    padding: 8px 0;
    background-color: var(--common-colour);
    font-size: 11px;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s, filter 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0; /* Prevent overflow */
}

/* Icon */
.mobile-buttons a img {
    transition: filter 0.3s;
    max-width: 24px; /* Keep icons small */
    height: auto;
}



/* Active state: Solid icon and gray text */

.mobile-buttons a.active {
    color: #E8A928;
}






/* Mobile buttons container for larger screens */
@media (min-width: 1200px) {
    .mobile-buttons {
        display: none; /* Hide the buttons on large screens and up */
    }
}


.dropdown-menu {
    display: none; /* Hidden by default */
    position: absolute;
    bottom: 70px; /* Slightly increased to avoid overlap with button */
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--common-colour, #f8f9fa); /* Fallback color */
    border: none; /* Remove border for a cleaner look */
    border-radius: 8px; /* Softer, modern corners */
    min-width: 250px; /* Wider to prevent text wrapping */
    max-width: 300px; /* Limit width for readability */
    z-index: 1001; /* Ensure it appears above other elements */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Softer, deeper shadow */
    overflow: hidden; /* Ensure rounded corners clip content */
    animation: slideUp 0.2s ease-out; /* Subtle animation on show */
}

/* Animation for dropdown appearance */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Dropdown menu links */
.dropdown-menu a {
    display: block;
    padding: 7px 10px; /* More balanced padding */
    color: #E8A928;
    text-decoration: none;
    font-size: 12px; /* Slightly larger for readability */
    font-weight: 500; /* Medium weight for modern look */
    white-space: nowrap; /* Prevent text wrapping */
    background-color: var(--common-colour, #f8f9fa);
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;

}

.dropdown-menu a:hover {
    color: #E8A928; /* Match active state color */
    transform: translateX(5px); /* Subtle slide effect on hover */
}

.dropdown-menu a:last-child {
    border-bottom: none; /* Remove border from last item */
}

/* Show dropdown when active */
.dropdown-menu.active {
    display: block;
}

/* Ensure dropdown links don’t wrap on smaller screens */
@media (max-width: 768px) {
    .dropdown-menu {
        min-width: 160px; /* Slightly smaller for mobile */
        max-width: 90%; /* Adapt to screen size */
    }
}