:root {
  /*--primary-color: #af4c7f; Scarlet */
  /*--secondary-color: #8f3c67;  Scarlet */
  --success-color: #4caf50;  /*Green */
  --primary-color: #644caf;
    --secondary-color: #3c8f74;
  --error-color: #f44336; /* Red */
  --info-color: #2196f3; /* Blue */
  --grey-color: #eee; /* Grey */
  --warning-color: gold; /* gold */
  --text-dark-color: #fff;
  --text-light-color: #fff;
  --background-primary: #4caf50;
  --background-secondary: #4caf50;
  --background-warning: gold;
}
@-webkit-keyframes shimmer {
  100% {
    left: 100%;
  }
}
@keyframes shimmer {
  100% {
    left: 100%;
  }
}
@-webkit-keyframes fadeInOut {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}
@keyframes fadeInOut {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}
@-webkit-keyframes spin {
  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}
@keyframes spin {
  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

p {
    font-size: 1.4rem;
}

/* Shimmer Container */
.shimmer-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 20px;
}
/* Shimmer Placeholder */
.shimmer {
  background: #f0f0f0;
  border-radius: 8px;
  height: 350px; /* Adjust height as needed */
  width: 30%;
  min-width: 300px;
  position: relative;
  overflow: hidden;
}
/* Shimmer Animation */
.shimmer::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: -o-linear-gradient(
    left,
    transparent,
    rgba(255, 255, 255, 0.5),
    transparent
  );
  background: -webkit-gradient(
    linear,
    left top, right top,
    from(transparent),
    color-stop(rgba(255, 255, 255, 0.5)),
    to(transparent)
  );
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.5),
    transparent
  );
  -webkit-animation: shimmer 1.5s infinite;
  animation: shimmer 1.5s infinite;
}
.prayer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8); /* Light overlay */
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-weight: bold;
  font-size: 14px;
  color: #444;
  z-index: 5;
}
.loading-text {
  -webkit-animation: fadeInOut 1s infinite;
          animation: fadeInOut 1s infinite;
}
.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  -webkit-animation: spin 0.6s linear infinite;
          animation: spin 0.6s linear infinite;
  margin-right: 5px;
}
.subscribe__spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 3px solid white;
    border-top: 3px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

.search-icon {
    position: absolute;
    left: 15px; /* Adjust icon position */
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    color: #888; /* Adjust color */
    pointer-events: none; /* Prevents interaction with the icon */
}
.search-icon__menu {
    width: 24px;
    height: 24px;
    position: relative;
    top: 2px;
    color: #ffffff;
}
/* reset boostrap inherit*/
html {
  font-size: unset;
}
.h1,
.h2,
.h3,
h1,
h2,
h3 {
  margin-top: unset;
  margin-bottom: unset;
  line-height: unset;
  font-weight: 600;
}
.container {
  padding: unset;
}
/* General Styles */
body {
  font-family: "Open Sans", sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  color: #333;
  background-color: #f9f9f9;
  font-size: unset;
}
h1,
h2,
h3 {
  font-family: "Merriweather", serif;
}
a:focus,
a:hover {
  color: unset;
  text-decoration: unset;
}
a {
  text-decoration: none;
  color: #6f6f6f;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}
a:focus,
a:hover {
  color: #fff;
}
.container {
  width: 100%;
  max-width: 1800px;
  margin: 0 auto;
}
/* Header */
header {
  background-color: var(--primary-color);
  color: white;
  padding: 20px 0;
  border-bottom: 4px solid #fff;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
header h1 {
  margin: 0;
  font-size: 2.5rem;
}
.nav-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.nav-logo {
  margin: -48px 0 -35px 0;
  vertical-align: middle;
  width: 100px;
}
nav ul li {
  margin-left: 20px;
}
nav ul li a {
  color: white;
  font-weight: 600;
}
/* Hero Section */
/* Hero Section */
#hero {
  position: relative;
  color: white;
  text-align: center;
  padding: 100px 0;
  overflow: hidden; /* Ensures the overlay doesn't overflow */
}
#hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
  z-index: 1; /* Places the overlay above the background image */
}
#hero .container {
max-width:1024px;
  position: relative;
  z-index: 2; /* Places the content above the overlay */
}
#hero h2 {
  font-size: 3rem;
  margin-bottom: 10px;
}
#hero p {
  font-size: 1.5rem;
  margin-bottom: 45px;
}
.button {
  background-color: var(--primary-color);
  color: white;
  padding: 14px 20px;
  margin-right:15px;
  border-radius: 5px;
  font-weight: 600;
  margin-top: 10px;
  border: none;
  -webkit-appearance: button;
  cursor: pointer;
}
button,
input,
optgroup,
select,
textarea {
  color: inherit;
  font: inherit;
  margin: 0;
}
.button:hover {
  background-color: var(--secondary-color);
}
.button:hover {
  background-color: var(--secondary-color);
}
.button.button-cancel {
  background: #fff;
  color: #000;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}
.button.button-cancel:hover {
  background: var(--grey-color);
  color: #000;
}
.button.hero-button_yellow {
  background: #fff;
  color: #000;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}
.button.hero-button_yellow:hover {
  background: gold;
  color: #000;
}
/* Blog Section */
#blog {
  padding: 50px 2%;
}
#blog h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5rem;
}
.blog-posts {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 20px;
}
.blog-layout {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
}
.sidebar {
  min-width: 250px;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 8px;
}
.sidebar h3 {
  margin-bottom: 15px;
}
.sidebar label {
  margin-bottom: 8px;
  cursor: pointer;
}
.sidebar input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  top: 5px;
  position: relative;
}
.flexbox-space {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
.flexbox-center {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: center;
  gap: 20px;
}
.flex-width-100 {
  width: 100%;
}
.flex-width-70 {
  width: 69%;
}
.flex-width-30 {
  width: 29%;
}
.flex-width-40 {
  width: 39%;
}
.flex-width-60 {
  width: 59%;
}
button.select2-selection__choice__remove {
  margin-top: auto;
}
.form-title {
  text-align: center;
}
#clear-filters {
  display: none; /* Initially hidden */
  margin-top: 10px;
  width: 100%;
  background-color: #d9534f;
  color: white;
  padding: 10px;
  text-align: center;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
}
#clear-filters.show {
  display: block; /* Show when at least one filter is selected */
}
#clear-filters:hover {
  background-color: #c9302c;
}
.post {
  position: relative;
  background: white;
  border: 1px solid #ddd;
  border-radius: 5px;
  overflow: hidden;
  height: 100%;
  width: 30%;
  min-width: 300px;
  margin-bottom: 20px;
  -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.post-filter__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.post img {
  width: 100%;
  height: 236px;
  -o-object-fit: cover;
  object-fit: cover;
}
.post h3 {
  font-size: 1.5rem;
  margin: 20px;
}
.post p {
  margin: 0 20px 20px;
}
.post .button {
  display: block;
  text-align: center;
  margin: 0 20px 20px;
}
.post-edit {
  position: absolute;
  right: 15px;
  top: 15px;
  padding: 0 5px;
  
}
.post-edit a {
  background: #ffffff82;
  border-radius: 5px;
  padding: 2px 5px;
}
.post-edit a:hover {
  background: #fff;
}
.post-page_edit,
.post-page_delete {
  text-align: right;
  margin: 0;
}
.post-page_edit:hover {
  text-decoration: underline;
}
.post-draft {
background: #000000bf;
    box-sizing: border-box;
    border-radius: 4px;
    color: #ffffff;
}
/* Footer */
footer {
  background-color: #333;
  color: white;
  padding: 20px 0;
  text-align: center;
}
footer ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
footer ul li {
  margin: 0 10px;
}
footer ul li a {
  color: white;
}
footer ul li a:hover {
  text-decoration: underline;
}

.footer-container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.footer-content p {
    font-size: 14px;
}

.footer-links {
    margin: 10px 0;
}

.footer-links a {
    color: #b5b5b5;
    text-decoration: none;
    margin: 0 10px;
    font-weight: bold;
}

.footer-links a:hover {
    text-decoration: underline;
}

.newsletter {
    margin-top: 20px;
}
.newsletter p {
    text-align: center;
}
.newsletter h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.newsletter form {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.newsletter input {
    padding: 8px;
    width: 250px;
    border: none;
    border-radius: 5px;
}

.newsletter button {
    padding: 8px 15px;
    background: #338e8f;
    color: #ffffff;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.newsletter button:hover {
    background: #ffae42;
}

.notification {
  position: fixed;
  bottom: -50px; /* Start position (below screen) */
  right: 20px;
  margin-left:20px;
  background: blue;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  -webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
          box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  opacity: 0;
  -webkit-transition: opacity 0.5s ease-out, -webkit-transform 0.5s ease-out;
  transition: opacity 0.5s ease-out, -webkit-transform 0.5s ease-out;
  -o-transition: transform 0.5s ease-out, opacity 0.5s ease-out;
  transition: transform 0.5s ease-out, opacity 0.5s ease-out;
  transition: transform 0.5s ease-out, opacity 0.5s ease-out, -webkit-transform 0.5s ease-out;
  -webkit-transform: translateY(20px);
      -ms-transform: translateY(20px);
          transform: translateY(20px);
}
.notification.show {
  bottom: 20px; /* Slide into view */
  opacity: 1;
  -webkit-transform: translateY(0);
      -ms-transform: translateY(0);
          transform: translateY(0);
}
.notification.hide {
  opacity: 0;
  -webkit-transform: translateY(20px);
      -ms-transform: translateY(20px);
          transform: translateY(20px);
}
.nav-mobile__menu {
  font-size: 2.5rem;
  cursor: pointer;
  display: none;
  margin-right: 20px
}
.nav-desktop__menu {
  display: block;
}
.nav-desktop__menu a {
  text-decoration: none;
  padding: 10px;
  display: block;
}
.dropdown {
  position: relative;
  display: inline-block; /* Ensures it doesn’t take full width */
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background-color: white;
  -webkit-box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
          box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  min-width: 240px;
  z-index: 1000;
  border-radius: 8px;
}
.dropdown-content li {
  display: block;
  margin: 10px;
}
.dropdown-content a {
  padding: 10px;
  color: black;
}
.dropdown-content a:hover {
  background-color: #f4f4f4;
}
/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
  display: block;
}
/* Mobile Menu Overlay */
.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  -webkit-transition: opacity 0.3s ease-in-out;
  -o-transition: opacity 0.3s ease-in-out;
  transition: opacity 0.3s ease-in-out;
}
/* Mobile Menu Sidebar */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -300px; /* Initially hidden */
  width: 250px;
  height: 100%;
  background: white;
  -webkit-box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
          box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
  padding: 20px;
  -webkit-transition: right 0.3s ease-in-out;
  -o-transition: right 0.3s ease-in-out;
  transition: right 0.3s ease-in-out;
  z-index: 1000;
  overflow-y: auto;
}
/* Close Button */
.close-menu {
  background: none;
  border: none;
  font-size: 28px;
  font-weight: bold;
  color: black;
  position: absolute;
  top: 15px;
  right: 15px;
  cursor: pointer;
}
/* Show Menu & Overlay when Open */
.mobile-menu.open {
  right: 0;
}
.menu-overlay.open {
  display: block;
  opacity: 1;
}
/* Mobile Menu Links */
.mobile-menu ul {
  list-style: none;
  padding: 50px 0 0; /* Space for close button */
  margin: 0;
  text-align: left;
}
.mobile-menu ul li {
  padding: 12px 20px;
  border-bottom: 1px solid #ddd;
}
.mobile-menu ul li a {
  color: black;
  text-decoration: none;
  font-size: 18px;
  display: block;
}
.mobile-menu ul li a:hover {
  background: #f4f4f4;
}
/* Mobile support: Clicking toggles dropdown */
@media (min-width: 1375px) {
  .mobile-filter-btn {
    display: none;
  }
}
@media (max-width: 1067px) {
  .post,
  .shimmer {
    width: 48%;
  }
  .nav-mobile__menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .nav-desktop__menu {
    display: none;
  }
}
@media (max-width: 787px) {
  header {
    /* padding: 20px 0 0 0;*/
  }
  nav ul li:first-child {
    margin-left: 0;
  }
  /* .nav-header {
  display: block;
}*/
  nav ul {
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    margin-top: 12px;
  }
  nav ul li {
    padding: 15px 0 15px 0;
  }
  .dropdown-content {
    position: relative;
    display: none;
  }
  .dropdown.open .dropdown-content {
    display: block;
  }
}
@media (max-width: 693px) {
  .post,
  .shimmer {
    width: 100%;
  }
}
@media (max-width: 598px) {
  header h1 {
    font-size: 1.7rem;
    text-align: center;
  }
  .nav-mobile__menu {
    font-size: 1.5rem;
  }
  .nav-logo {
    width: 45px;
  }
  nav ul {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 15px 0;
  }
  .nav-logo {
    width: 60px;
  }
  /*.flexbox-space,
  .flexbox-center {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }*/
  
  .blog.flexbox-space{
  -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    flex-wrap: wrap;
  }
  
  
  .flex-width-70,
  .flex-width-60,
  .flex-width-40,
  .flex-width-30 {
    width: 100%;
  }
}