/* Reset default margins */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --pColor: #0A192E;
  --sColor: #47A9FF;
  --bColor: #D6edff;
}

/* Loading Indicator Styles */
#loading-indicator {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0A192E;
  /* Match your site background or dark shade */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 6px solid #E6F1FF;
  /* Light color */
  border-top: 6px solid var(--sColor);
  /* Accent color (light blue) */
  border-radius: 50%;
  animation: spin 1s linear infinite;
  overflow: hidden;
}

/* Spinner Animation */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}


body {
  font-family: Arial, sans-serif;
  background-color: #f9f9f9;
  overflow-x: hidden;
}


.container {
  /* border: 2px solid green;*/
  width: 80%;
  margin: auto;
}

.closeMenu {
  display: none;
  font-size: 3.5rem;
  z-index: 3;
}

header {
  background-color: var(--pColor);
  /* Dark blue */
  color: white;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 999;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 0;
}



.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #64FFDA;
  /* Light blue */
}

.logo img {
  background-color: #E6F1FF;
  /* Light background */
  padding: 0.5px;
  border-radius: 16%;
  /* Or use 12px for rounded box */
}

.navbar p {
  color: var(--sColor);
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}

a {
  position: relative;
  text-decoration: none;
  color: inherit;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background-color: currentColor;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.search-box {
  width: 100%;
  max-width: 400px;
  padding: 0.7rem;
  margin: 1.5rem auto;
  display: block;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 1rem;
}

.search-box:focus {
  border: 2px solid var(--sColor);
}

.folders {
  display: flex;
  gap: 1rem;
}

.folder {
  height: fit-content;
  width: fit-content;
  font-size:;
  border: 1px solid var(--sColor);
  border-radius: 5px;
  display: flex;
  flex-direction: row;
  gap: 0.7rem;
  justify-content: space-between;
  align-items: center;
  margin: 0.5rem 0;
}

.folder i {
  text-align: right;
  font-size: 2rem;
  color: var(--sColor);
  padding: 0.5rem 0.5rem;

  display: inline-block;
}

.folder p {
  text-align: left;
  padding: 0.5rem 0.5rem;
  margin: 0;
  display: inline-block;
  font-weight: bold;
}

.folder a {
  width: cover;
  text-decoration: none;
  color: inherit;
}

.folder:hover {
  box-shadow: 4px 4px 5px rgba(0,0,0,0.3) !important;
  transform: none !important;

}


.sermons-section {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
  text-align: center;
}

.sermons-section h2 {
  font-size: 1.5rem;
  color: var(--pColor);
  margin-bottom: 0.5rem;
}

.intro {
  color: #555;
  margin-bottom: 2rem;
}

.sermon-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.sermon-card {
  /*background-color: #fff;*/
  /*border: 1px solid #ddd;*/
  padding: none;
  /*border-radius: 12px;*/
  /*box-shadow: 0 2px 5px rgba(0,0,0,0.05);*/
  text-align: center;
}

#sermon-detail {
  display: grid;
  grid-template-columns: 1fr 2fr;
  column-gap: 2rem;
  padding: 1.5rem;
}

.sermon-card h3 {
  color: var(--pColor);
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.sermon-card p {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 1rem;
}

.hidden {
  display: none;
}

.download-btn {
  background-color: var(--sColor);
  color: var(--pColor);
  padding: 0.5rem 1rem;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  border: 1px solid transparent;
  transition: transform 0.2s ease;
}

.download-btn:hover {
  transform: scale(1.01);
  /* subtle scale */
}

.sermon-card,
button {
  transition: transform 0.2s ease;
}

.sermon-card:hover,
button:hover {
  transform: scale(1.01);
  /* subtle scale */
}





.live-section {
  padding: 3rem 1rem;
  text-align: center;
  background-color:;
  color: var(--pColor);
}

.live-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.live-container {
  max-width: 600px;
  margin: auto;
}

.telegram-box {
  margin-top: 2rem;
  padding: 2rem;
  border: 2px solid var(--sColor);
  border-radius: 12px;
  background-color: #020C1B;
  color: var(--pColor);
}

.telegram-box i {
  color: var(--sColor);
  margin-bottom: 1rem;
}

.instagram-icon i {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.live-button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background-color: var(--pColor);
  color: var(--sColor);
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  border: 1px solid transparent;
  transition: border 0.3s ease;
}

.live-button:hover {
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.note {
  margin-top: 1rem;
  font-style: italic;
  color: var(--pColor);
}






.about-section {
  padding: 2rem;
  max-width: 900px;
  margin: auto;
}

.about-section section {
  margin-bottom: 2rem;
}

.about-section h1,
.about-section h2 {
  color: var(--pColor);
  margin-bottom: 1rem;
}

.leader-profile {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.leader-photo {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--sColor);
}




.contact-section {
  padding: 2rem;
  max-width: 1000px;
  margin: auto;
  color: #000;
}

.contact-section h1 {
  text-align: center;
  color: var(--pColor);
  margin-bottom: 1rem;
}

.contact-container {
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.contact-form {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
}

.contact-form label {
  margin-top: 1rem;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  padding: 0.8rem;
  margin-top: 0.3rem;
  border: none;
  border-radius: 5px;
  background-color: var(--pColor);
  color: #E6F1FF;
  font-size: 1rem;
}

.contact-form button {
  margin-top: 1.5rem;
  padding: 0.8rem;
  background-color: var(--sColor);
  border: none;
  border-radius: 5px;
  color: var(--pColor);
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.contact-form button:hover {
  transform: scale(1.01);
  /* subtle scale */
}


.contact-info p {
  /* margin: 0.5rem 0; */
  display: inline;
  font-size: 1.5rem;
}

.contact-info i {
  /* margin-right: 0.5rem; */
  display: inline;
  color: var(--sColor);
  font-size: 1.5rem;

}


.site-footer {
  background-color: var(--pColor);
  color: #E6F1FF;
  padding: 2rem 0 1.5rem 0;
  font-size: 0.95rem;
  position: absolute;
  bottom: 100;
  width: 100vw;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  gap: 2rem;
}

.footer-container div {
  flex: 1 1 250px;
}

.footer-about h3,
.footer-links h4,
.footer-contact h4 {
  color: var(--sColor);
  margin-bottom: 0.5rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  text-decoration: none;
  color: #E6F1FF;
  transition: transform 0.2s ease;
}

.footer-links a:hover {
  transform: scale(1.01);
  /* subtle scale */
}

.footer-contact p {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid #22334D;
  margin-top: 1rem;
  font-size: 0.85rem;
}

.contact-section {
  padding: 1.5rem 0;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  justify-content: center;
  align-content: center;
  width: fit-content;
  background-color: var(--pColor);
  border-radius: 10px;
  margin: 1rem auto;
}

.contact-item a {
  color: white;
  text-decoration: none;
  width: inherit;
  padding: 1.5rem 2rem;
  transition: color 0.3s ease, transform 0.2s ease;
}

.contact-item a:hover {
  transform: scale(1.02);
  color: var(--sColor);
}

.phone {
  display: grid;
  grid-template-columns: 1fr 1fr;
  flex-direction:;
  padding: ;
  flex-wrap: wrap;
  /* flex: 0 0 50%; */
  width: fit-content;
  position: relative;
}
.phone a {
  padding: 1.5rem 1.5rem;
}

.phone i {
  position: absolute;
  top: 45%;
  right: 47%;
}

.social-icons {
  margin-top: 1rem;
  display: flex;
  flex-direction: row;
  gap: 2rem;
  align-items: flex-start;
}

.contact-info .social-icons {
  margin-top: 1rem;
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  align-items: flex-start;
}

.contact-info .social-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
}

.social-item a {
  color: var(--pColor);
  text-decoration: none;
  transition: color 0.3s ease, transform 0.2s ease;
}

.social-item a:hover {
  transform: scale(1.02);
  color: var(--sColor);
}

.social-item i {
  color: var(--pColor);
}

.contact-info p {
  /* margin: 0.5rem 0; */
  display: inline;
  font-size: 1.5rem;
}

.contact-info i {
  /* margin-right: 0.5rem; */
  display: inline;
  color: var(--sColor);
  font-size: 1.5rem;

}














.sermon-series {
  margin-bottom: 3rem;
  padding: 1rem;
  background-color: var(--background-dark);
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.sermon-series h2 {
  color: var(--primary-blue);
  border-bottom: 2px solid var(--highlight-blue);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.sermon-item {
  margin-bottom: 1rem;
}

.sermon-item h3 {
  color: var(--text-light);
  margin: 0.5rem 0;
}

.sermon-item a {
  color: var(--glow-blue);
  text-decoration: underline;
}









.breadCrumbs {
  display: block;
  font-size: 1.1rem;
  padding: 0.5rem;
  width: fit-content;
  text-align: center;
  align-items: center;
  justify-content: center;
  margin: auto;
  transition: transform 0.2s ease;
  background-color: var(--sColor);
  color: var(--pColor);
  font-weight: 600;
  border-radius: 5px;
}

.breadCrumbs-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  gap: 0.5rem;
  width: fit-content;
  margin: auto;
}

.breadCrumbs-nav .breadCrumbs {
  background-color: var(--bColor);
}

.breadCrumbs-nav .breadCrumbs:active {
  background-color: var(--sColor);
}

.breadCrumbs:hover {
  transform: scale(1.01);
  /* subtle scale */
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #E6F1FF;
}

a {
  text-decoration: none;
  color: #E6F1FF;
  transition: color 0.3s ease;
}

/* Responsive rules */
@media (max-width: 768px) {

  .nav-links {
    display: flex;
    flex-direction: column;
    background-color: rgba(10, 25, 47, 1);
    /* semi-transparent background */
    position: fixed;
    top: 0;
    right: -100%;
    z-index: 1;
    width: 60%;
    height: 100%;
    text-align: center;
    align-items: center;
    align-content: center;
    justify-content: center;
    padding: 8rem 0;
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  }

  /*.navbar {
    display: grid;
    grid-template-columns: 1fr 500fr 1fr;
  }
  */

  .nav-links.show {
    display: flex;
    top: 0;
    right: 0;
  }

  .nav-links li a {
    font-size: 24px;
    font-weight: bold;
  }

  .nav-links li {
    padding-bottom: 2.5rem;
  }

  /* Blur effect when nav is open */
  .main-content.blur {
    filter: blur(3px);
    pointer-events: none;
    prevent clicks on blurred content
    transition: filter 0.3s ease;
  }

  .menu-toggle {
    display: block;
    z-index: 2;
  }

  .no-scroll {
    overflow: hidden !important;
    touch-action: none;
    overscroll-behavior: none;
  }

  .navbar {
    gap: 2rem;
    text-align: center;
  }

  .sermon-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 0;
  }

  #sermon-detail {
    display: block;
  }

  .container {

    width: 95%;
    margin: auto;
  }

  main {
    padding: 0.5rem 0;
  }

  .folders {
    flex-direction: column;
    gap: 0;
  }

    .live-services {
    display: block;
  }

}

@media (max-width: 310px) {
  header nav .hide {
    display: none;
  }

  .sermon-list {
    display: block;
    gap: 1.5rem;

  }

  /*.navbar {
    display: grid;
    grid-template-columns: 1fr 500fr 1fr;
  }*/
}



button,
.sermon-card {
  border: 1px solid transparent;
  transition: border 0.3s ease;
}

button:hover,
.sermon-card:hover {
  border: 1px solid rgba(0, 0, 0, 0.1);
  /* soft outline */
}
