/*
Theme Name: Jamia Masjid Rizvia
Theme URI: https://jmrbrierleyhill.co.uk/
Author: 1stFold
Author URI: https://1stfold.com/
Description: A lightweight WordPress theme built for Elementor.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: custom-elementor-theme
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
body{font-family: "Montserrat", sans-serif; padding:0; margin:0;}

.wpcf7 form .wpcf7-response-output {font-size: 15px;}
.hover01 img {
	-webkit-transform: scale(1);
	transform: scale(1);
	-webkit-transition: .1s ease-in-out;
	transition: .3s ease-in-out;
}
.hover01 img:hover {
	-webkit-transform: scale(1.1);
	transform: scale(1.1);
}

.cur-date{background-color: #F5F5F5; padding: 4px 10px 4px 10px; margin:0 auto;}
.cur-date p{font-family: "Montserrat", Sans-serif; font-size: 20px; font-weight: 500; color: #6DBE57; margin: 0;}
.contact-box-one h3, .contact-box-two h3, .contact-box-three h3, .contact-box-four h3 {color:#189246; position:relative;}
.contact-box-one:before{position:absolute; width:16px; height:15px;}
.center-logo-img{position: absolute!important; right: -113px; z-index: 99999;}
.btn-donate{color:#6DBE57; font-weight:Bold; text-align:center; font-size:12px; text-decoration:none; border: 2px solid #6DBE57; border-radius: 40px; text-transform:uppercase;}
.btn-donate:hover{background-color:#000; transition: all 0.5s ease-in-out; -webkit-transition: all 0.5s ease-in-out; -moz-transition: all 0.5s ease-in-out; color:#fff;}
.footer-top-main{background-color:#189246;}
.footer-top-inner-main{max-width:1200px; margin:0 auto;display: flex ; align-items: center;justify-content: space-between;}
.footer-1st-col{width:25%; text-align:center;}
.footer-3rd-col{width:17%; text-align:center;}
.footer-2nd-col{width:50%;}
.footer-1st-col{background-color:#fff; padding:34px 0px;}
.footer-1st-col h4{color:#444444; font-size:14px; font-weight:300; margin-bottom: 20px; margin-top:20px;}
.footer-1st-col h4 span{color:#6DBE57; font-size:14px; font-weight:bold;}
.footer-1st-col a{color:#189246; font-weight:Bold; text-align:center; font-size:12px; text-decoration:none; border: 1px solid #189246; padding: 10px 15px; border-radius: 40px;}
.footer-1st-col a:hover{background-color:#444444; transition: all 0.5s ease-in-out; -webkit-transition: all 0.5s ease-in-out; -moz-transition: all 0.5s ease-in-out; color:#fff;}
.footer-2nd-col ul li{width:50%; float:left; text-align:left; list-style:none; color:#fff; padding-bottom:10px;}
.footer-3rd-col ul li{color:#fff; text-align:left; list-style:none; color:#fff; padding-bottom:10px;}
.footer-2nd-col ul li a, .footer-3rd-col ul li a{color:#fff; text-decoration:none;}
.footer-2nd-col ul li a:hover, .footer-3rd-col ul li a:hover{transition: all 0.5s ease-in-out; -webkit-transition: all 0.5s ease-in-out; -moz-transition: all 0.5s ease-in-out; color: #444444;}
.footer-2nd-col h3, .footer-3rd-col h3{color:#fff; text-decoration:underline; text-align:left; margin-left: 32px; font-size: 18px; font-weight: 700;}

.clear{clear:both;}


.footer-mini-main{background-color:#444444;}
.footer-inner-main{max-width:1200px; margin:0 auto;}
.copy-right-cls{padding:21px 0px; font-size:14px; line-height:18px; font-weight:400; letter-spacing:1px; color:#fff;}
.copy-right-cls{float:left;}
.powered-by-cls{float:right; padding:21px 0px; font-size:14px; line-height:18px; font-weight:400; letter-spacing:1px; color:#fff;}
.powered-by-cls a{color:#6DBE57; text-decoration:none;}
.powered-by-cls a:hover{color:#FFF;}
.container{ max-width:1200px; margin:0 auto;}
.site-header{
    background:#444;
    width: 100%;
}
.site-header .container {
    background: #189246;
    padding: 10px 20px 10px 40px;
    display: flex;
    border-radius: 15px;
    align-items: center;margin-bottom: -60px;
    position: relative;
    z-index: 999;
}
.site-header .logo{ margin-right:93px;}
.site-header .logo img{
    max-width: 114px;
    height: auto;
	vertical-align: middle;
}
#primary-menu{ padding:0; margin:0;}
#primary-menu li{ display:inline-block; list-style:none; margin-right:43px;}
#primary-menu li:last-child{ margin-right:0;}
/*#primary-menu li a{ font-size:18px; color:#fff; font-weight:500; text-decoration:none; text-transform:uppercase;}
#primary-menu li a:hover,#primary-menu li.current_page_item a{ border-bottom:1px solid #fff;}*/
/* Base link styling */
#primary-menu li a {
  font-size: 18px;
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  text-transform: uppercase;
  position: relative; /* for ::after underline */
  display: inline-block;
  padding: 4px 0; /* optional: adds some vertical breathing space */
  transition: color 0.3s ease;
}

/* The smooth underline using ::after */
#primary-menu li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0; /* aligns at the bottom of the text */
  width: 0%;
  height: 2px; /* underline thickness */
  background: #fff;
  transition: width 0.3s ease;
}

/* On hover and on current page */
#primary-menu li a:hover::after,
#primary-menu li.current_page_item a::after {
  width: 100%;
}

/* Optional: change color on hover (looks more lively) */
#primary-menu li a:hover,
#primary-menu li.current_page_item a {
  color: #32F36C; /* pick your brand accent color, or keep it #fff */
}

/*#primary-menu li.nav-btn a{
    font-weight: 700;
    padding: 14px 22px;
    border: 2px solid #fff;
    border-radius: 100px;
}*/
#primary-menu li.nav-btn a {
  font-weight: 700;
  padding: 14px 22px;
  border: 2px solid #fff;
  border-radius: 100px;
  color: #fff;
  background: transparent;
  transition: all 0.3s ease;
}

/* On hover: invert color and add shadow */
#primary-menu li.nav-btn a:hover {
  background: #fff;
  color: #000; /* or your brand color */
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.4);
}
#primary-menu li.nav-btn a::after{display:none;}

.social-main-box{ max-width:1200px; margin:0 auto; display:flex; align-items:center;padding: 25px 0 20px;justify-content: space-between;}
/* Parent container for control (optional) */
.social-main-box a {
  display: inline-flex;
  align-items: center;
  gap: 6px; /* space between icon and text */
  font-size: 14px;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}
.social-main-box a img {
  transition: transform 0.3s ease-in-out;
}

.social-main-box a:hover {
  color: #32F36C; /* optional: change text color on hover */
}
.social-main-box a:hover svg path{ fill: #32F36C;}

.social-main-box a:hover img {
  transform: rotate(15deg) scale(1.2);
}

.social-main-box img,.social-main-box svg{ vertical-align:middle; margin-right:9px;}
.address-list{font-size:12px; color:#fff;}
.address-list span{ margin-right:30px;}
.islam-pillars-box{
    background: url(/wp-content/uploads/2025/06/pillars-bg-wt.png) no-repeat;
    max-width: 962px;
    margin: 0 auto;
    height: 482px; position:relative;
}
.islam-pillars-box h3{
    font-size: 48px;
    line-height: 60px;
    text-transform: uppercase;
    text-align: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    color: #444;
    font-weight: 900;
	padding: 0;
    margin: 60px 0 40px;
}
.islam-pillars-box h3 .green{ font-size:100px; color:#189246;}
.pillar1{
    position: absolute;
    left: -35px;
	bottom: 135px;}
.pillar1 path,.pillar1 circle,.pillar2 path,.pillar2 circle,.pillar3 path,.pillar3 circle,.pillar3 path,.pillar4 circle,.pillar5 path,.pillar5 circle{
	transition: all 0.5s ease-in-out;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
}
.pillar2{
    position: absolute;
    left: 145px;
    top: 6px;
}
.pillar3{
    position: absolute;
    left: 405px;
    top: -69px;
}
.pillar4{
    position: absolute;
    right:145px;
    top: 6px;
}
.pillar5{
    position: absolute;
    right:-25px;
    bottom: 135px;
}
.pillar1 a:hover svg path,.pillar2 a:hover svg path,.pillar3 a:hover svg path,.pillar4 a:hover svg path,.pillar5 a:hover svg path{fill:#fff;}
.pillar1 a:hover svg circle,.pillar2 a:hover svg circle,.pillar3 a:hover svg circle,.pillar4 a:hover svg circle,.pillar5 a:hover svg circle{fill:#32F36C;}

.posts-list h5{display:none;}
.posts-list ul{ padding:0; margin:0;}
.posts-list li,.posts-list .card-body{ list-style:none; padding:20px 30px; background:#fff;}
.posts-list .mg-shadow,.posts-list .mgpd .card {
    border-radius: 0;
    box-shadow: none;
    border: none;
}
.posts-list li a,.posts-list h4.mgp-ptitle{ font-size:20px; font-weight:700; color:#000; margin-bottom:8px; display:block;}
.posts-list li span.post-date,.posts-list span.mp-posts-date{ display:block; font-size:12px; color:#000; font-weight:400;}

.event-list .card-body{ padding:0; background:none;}
.event-list .mg-shadow,.event-list .mgpd .card {border-radius: 0;box-shadow: none;background: none; border:none;}
.event-list .card-body{ display:flex; align-items:center; justify-content:space-between;flex-direction: row;}
.event-list .mp-meta{ display:none;}
.event-list h4.mgp-ptitle{ font-size:18px; font-weight:700; color:#fff;}
.event-list a.mp-post-btn{
    font-size: 12px;
    color: #fff;
    font-weight: 500;
}
#main_countedown_widget_2 .countdown {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
#main_countedown_widget_2 .element_conteiner {
    min-width: auto !important;
    display: flex;
    align-items: center;
    gap: 8px;
}
#main_countedown_widget_2 .time_description {
    font-size: 14px;
    font-family: 'Montserrat';
    color: #000000;
    font-weight: 500;
}
#main_countedown_widget_2 .countdown .time_left {
    border-radius: 0;
    background-color: transparent;
    font-size: 38px;
    font-family: 'Montserrat';
    color: #fff;
	font-weight: 700;
    padding: 0;
}
#main_countedown_widget_2 .countdown {
    margin-top: 0!important;
    margin-bottom: 0!important;
}
.service-box .title-box{
    background: #fff;
    padding: 55px 15px 26px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between; position:relative;
}
.service-box .title-box svg{
    position: absolute;
    top: -51px;
}
.service-box .title-box h4{ font-size:16px; font-weight:700; color:#189246; padding:0; margin:0;}
.service-box .title-box img{ max-width:35px;}
.service-box:hover svg circle{ fill:#189246;}
.service-box:hover svg path,.service-box:hover svg g rect{ fill:#fff;}
/* Basic toggle button styling */
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001; /* Ensure above menu */
}

.menu-toggle .bar {
  display: block;
  width: 100%;
  height: 4px;
  background-color: #fff;
  margin: 5px 0;
  transition: 0.4s;
}
.post-detail{margin: 130px auto 50px;max-width: 1200px;}
.social-address-box h3{ font-size:14px; font-weight:600;padding: 0;margin: 0 0 5px;}
.contact-box-one,.contact-box-two,.contact-box-three,.contact-box-four{ font-size:12px;padding-left: 26px;position: relative;}
.contact-box-one svg,.contact-box-two svg,.contact-box-three svg,.contact-box-four svg{position: absolute;left: 0;}
ul.prayer-timings{ padding:0; margin:0; text-align:center;}
ul.prayer-timings li {
    list-style: none;
    border: 1px solid #D9D9D9;
    padding: 16px;
    min-width: 245px;
    display: inline-block;
    margin-right: -1px;
	margin-top: -1px; font-size:24px; font-weight:700; color:#444; line-height:32px;
}
ul.prayer-timings li strong {
    display: block;
    font-size: 28px;
    color: #6DBE57;
    font-weight: 700;
    line-height: 34px;
}
.contact-form label {
    font-size: 20px;
    font-weight: 600;
    color: #444;
    width: 100%;
}
.contact-form .wpcf7-text,.contact-form .wpcf7-email,.contact-form .wpcf7-textarea,.contact-form .wpcf7-date{
    background: #F5F5F5;
    border: 1px solid #D9D9D9;
    padding: 13px 20px;
    font-size: 14px;
    line-height: 17px;
    width: 100%;
}
.contact-form .wpcf7-textarea{ height:100px;}
.contact-form .wpcf7-submit{
	font-size: 16px;
    font-weight: 700;
    color: #6DBE57;
    background: none;
    padding: 6px 40px;
    border: 2px solid #6DBE57;
    border-radius: 50px;}
.contact-form .wpcf7-submit:hover{ background:#000; color:#fff;}

.booking-list ul{
    padding: 0;
    margin: 0 0 0 20px;
}
.booking-list li::marker {
  color: #6DBE57;
}
.booking-list li a{color: #6DBE57;}
.booking-list li a:hover{color: #fff;}
.booking-list ul:after {
    content: "";
    width: 1px;
    height: 93%;
    left: 4px;
    background: #D9D9D9;
    position: absolute;
    top: 7px;
    z-index: 1;
}
.booking-list li{position:relative; z-index:999; margin-bottom:30px;}
.booking-list li:last-child{margin-bottom:0;}
.nikah-btn{margin: 0 auto;}
.cus-date{font-family: "Montserrat", Sans-serif; font-size: 20px; font-weight: 500; color: #6DBE57;}
.chat-link{    position: fixed;
    bottom: 12px;
    right: 12px;
    z-index: 9999;}
.book-link a{color:#32F36C;}
.book-link a:hover{color:#fff;}
@media (max-width:1200px) {
	.social-main-box{ padding:20px;}
#primary-menu li {margin-right: 32px;}
#primary-menu li a {font-size: 16px;}
}
@media (max-width:1024px) {
.address-list {font-size: 10px;}
.address-list span {margin-right: 10px;}
.islam-pillars-box {
    max-width: 670px;
    height: 336px;
    background-size: contain;
}
.islam-pillars-box h3 {
    font-size: 32px;
    line-height: 42px;
    margin: 45px 0 20px;
}
	.islam-pillars-box h3 .green {font-size: 70px;}
.islam-pillars-box svg{
    width: 100px;
    height: 100px;
}
	.pillar1 {
    position: absolute;
    left: -15px;
    bottom: 120px;
}
	.pillar2 {
    position: absolute;
    left: 110px;
    top: 0px;
}
.pillar3 {
    position: absolute;
    left: 285px;
    top: -45px;
}
.pillar4 {
    position: absolute;
    right: 120px;
    top: 0px;
}
.pillar5 {
    position: absolute;
    right: 0px;
    bottom: 120px;
}
#primary-menu li {margin-right: 20px;}
.site-header .logo {margin-right: 40px;}
#primary-menu li.nav-btn a {padding: 12px 15px;}
#primary-menu li a {font-size: 12px;}
.service-box .title-box h4 {font-size: 18px;}
}
.brk{display:none;}

/* Show toggle and hide menu on small screens */
@media (max-width: 768px) {
	.main-tag-line{background-color: #000000BD; padding:10px;}
	.brk{display:block;}
	.service-box{max-width:380px; margin:0 auto;}
	#main_countedown_widget_2 .countdown .time_left {font-size: 32px;}
	#main_countedown_widget_2 .time_description {font-size: 14px;}
	.event-list .card-body {display: block;}
	.site-header .logo img {max-width: 90px;}
	.social-main-box {display: none;}
	.site-header {padding-top: 0px;}
  .menu-toggle {
    display: block;
  }

  .main-navigation .menu {
    display: none;
    flex-direction: column;
  }

  .main-navigation .menu.active {
    display: flex;
  }
	
	.islam-pillars-box h3 {
        position: relative;
        padding: 38px 30px;
        margin: 0;
        background: #fff;
        width: fit-content;
        border-radius: 500px;
		margin-bottom: 30px;
		font-size: 28px;
        line-height: 38px;
    }
	.islam-pillars-box {max-width: 100%;height: auto;background: none;}
	.pillar1, .pillar2, .pillar3, .pillar4, .pillar5 {
        position: relative;
        left: auto;
        bottom: auto;
        top: auto;
        right: auto;
        text-align: center;
        margin: 20px 10px;
        display: inline-block;width: 30%;
    }
	.islam-pillars-box{ text-align:center;}
	
.menu-main-menu-container{
    position: absolute;
    width: 100%;
    left: 0;
    text-align: center;
    background: #444;
    top: 40px;
}
#primary-menu li {
    display: inline-block;
        list-style: none;
        padding: 15px 0;
        border-bottom: 1px solid #189246;
        margin: 0;
}
	#primary-menu li.nav-btn a {
    font-weight: 700;
    padding: 14px 22px;
    border: 2px solid #fff;
    border-radius: 100px;
    margin-bottom: 20px;
    display: block;
    max-width: 185px;
    margin: 0 auto;
}
.menu-toggle {
    display: block;
  }

  .main-navigation .menu {
    display: none;
    flex-direction: column;
    background: #444; /* Optional: background for dropdown */
    position: absolute;
    top: 60px; /* adjust based on header height */
    right: 0;
    left: 0;
    z-index: 1000;
  }

  .main-navigation .menu.active {
    display: flex;
  }

  /* Transform hamburger to cross when active */
  .menu-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(7px, 6px);
  }

  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
	.site-header .container {justify-content: space-between;}
	.footer-top-inner-main {display: block;}
	.footer-1st-col, .footer-3rd-col,.footer-2nd-col {width: 100%;clear: both;}
	.footer-1st-col {margin-bottom: 20px;}
	.copy-right-cls,.powered-by-cls {float: none;text-align: center;}
	#primary-menu li a {
        font-size: 16px;
    }
ul.prayer-timings li {
    font-size: 16px;
    min-width: auto;
    width: 50%;
    padding: 10px;
}
ul.prayer-timings li strong {
    font-size: 20px;
    line-height: 30px;
}
.powered-by-cls {padding: 0 0 55px 0px;}
.footer-1st-col h4 {margin: 20px 0px 20px; 0px}
.site-header .container {border-radius: 0;}
.service-title-icon img{ max-width:80px!important;}
.cus-date{font-size: 14px;}
}