/*
Theme Name: Custom Christian Website
Author: JR
Version: 1.0
*/

/*
how to add bg image to a section:
section:
    background: var(--image-sky) no-repeat center center;
    background-position: top;
    background-size: cover;
    background-attachment: fixed;
    position:relative;

container:
    position: relative;
    z-index: 1;

section:after:  (acts as overlay for bg image)
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    width: 100%;
    background: rgba(14, 26, 36, 0.9);
*/

/*---------------------------------------
  CUSTOM PROPERTIES ( VARIABLES )             
-----------------------------------------*/
:root {
  --white-color:                  #FFFFFF;
  --primary-color:                #d3b92e;
  --primary-color-transparent:    rgba(211, 185, 46, 0.9);
  --dark-blue-color-transparent:  rgb(14 26 36 / 96%);
  --section-bg-color:             #f9f9f9;
  --dark-color:                   #000000;
  --grey-color:                   #fcfeff;
  --text-secondary-white-color:   rgba(255, 255, 255, 0.98);
  --title-color:                  #565758;
  /*--p-color:                      #717275;*/
  --dark-blue-color:              #0E1A24;
  --less-dark-blue-color:         #132433;
  --less-white-color:             #c0cad6;

  --body-font-family:           'Almarai', 'Lato', sans-serif;

	--h1-font-size:                4rem;   /* 64px */
	--h2-font-size:                2.375rem; /* 38px */
	--h3-font-size:                2rem;   /* 32px */
	--h4-font-size:                1.75rem; /* 28px */
	--h5-font-size:                1.25rem; /* 20px */
	--h6-font-size:                1.125rem; /* 18px */
	--p-font-size:                1.25rem; /* 20px */
	--copyright-text-font-size:   0.875rem; /* 14px */
	--custom-link-font-size:      0.75rem; /* 12px */

  --font-weight-light:          300;
  --font-weight-normal:         400;
  --font-weight-bold:           700;
  --font-weight-black:          900;

  --image-sky:                  url('images/sky2.webp');
  --image-clouds:               url('images/clouds.png');
}

body,
html {
  height: 100%;
}

html {
	font-size: 14px; /* Adjust base font size for smaller screens */
}

body {
    background: var(--dark-blue-color);
    font-family: var(--body-font-family);    
    position: relative;
}

/*---------------------------------------
  TYPOGRAPHY               
-----------------------------------------*/

h2,
h3,
h4,
h5,
h6 {
  color: var(--white-color);
  line-height: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--font-weight-bold);
}

h1,
h2 {
  font-weight: var(--font-weight-black);
}

h1 {
  font-size: var(--h1-font-size);
  line-height: normal;
}

h2 {
  font-size: var(--h2-font-size);
}

h3 {
  font-size: var(--h3-font-size);
}

h4 {
  font-size: var(--h4-font-size);
}

h5 {
  font-size: var(--h5-font-size);
}

h6 {
  font-size: var(--h6-font-size);
}

p {
  color: var(--white-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-light);
  letter-spacing: 0.5px;
}

.text-secondary-white-color {
  color: var(--text-secondary-white-color);
}

a, 
button {
  touch-action: manipulation;
  transition: all 0.3s;
}

a {
  color: var(--primary-color);
  text-decoration: none;
}

::selection {
  background: var(--dark-color);
  color: var(--white-color);
}

.custom-underline {
  border-bottom: 2px solid var(--white-color);
  color: var(--white-color);
  padding-bottom: 4px;
}

b,
strong {
  font-weight: var(--font-weight-bold);
}




.videoWrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */ /*or instead of the outdated padding-bottom video technique with position relative, could use this: aspect-ratio:16 / 9; */
  height: 0;
  z-index: -100;
}

.custom-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.overlay {
  /*background: linear-gradient(to top, #000, transparent 100%);*/
  background:linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3) 50%, transparent 100%);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index:4;
}

/*---------------------------------------
  CUSTOM LINK
  (if have any elet which you wanna make as the cool underline on hover, just add it as below classes. & just disregard .custom-links don't add anything to this)
-----------------------------------------*/
.custom-links {
  max-width: 230px;
}

.custom-link,
.updates-text a {
  position: relative;
  overflow: hidden;
  z-index: 1;
  /*display: inline-block; no this caused element to be raised*/
  transition: all .3s cubic-bezier(.645,.045,.355,1);
}
.custom-link::after,
.updates-text a::after {
  content: "";
  width: 0;
  height: 2px;
  bottom: 0;
  position: absolute;
  left: auto;
  right: 0;
  z-index: -1;
  transition: width .6s cubic-bezier(.25,.8,.25,1) 0s;
  background: currentColor;
}
.custom-link:hover::after,
.updates-text a:hover::after {
  width: 100%;
  left: 0;
  right: auto;
}
.custom-link:hover,.custom-link:hover::after,
.updates-text a:hover,.updates-text a:hover::after {
  color: var(--white-color);
}



/*---------------------------------------
  NAVIGATION               
-----------------------------------------*/

.navbar {
  z-index: 9;
  right: 0;
  left: 0;
  padding-top: 15px;
  padding-bottom: 15px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0)); /*Black to transparent*/
}
.sticky-wrapper.is-sticky .navbar,.navbar:has(button.navbar-toggler[aria-expanded="true"]){background:linear-gradient(rgba(0, 0, 0, 1),rgba(0, 0, 0, 0.9));}

.navbar-brand {
  color: var(--primary-color);
  font-size: 1.5rem; /* 24px is equivalent to 1.5rem if 1rem = 16px */
  font-weight: var(--font-weight-bold);
}

.navbar-expand-lg .navbar-nav .nav-link {
  padding-right:4px;
  padding-left:4px;
    display: flex;/*to make navbar menu items arrows go right to left*/
    flex-direction: row-reverse;/*to make navbar menu items arrows go right to left*/
    align-items: center;/*to make navbar menu items arrows go right to left*/
    justify-content: flex-end;/*to make navbar menu items arrows go right to left*/
}

.navbar-nav{justify-content:space-between;width:100%;}

.navbar-nav .nav-link::after {
  content: "\f12A";
  font-family: bootstrap-icons;
  display: inline-block;
  margin-left: 10px;
  color: var(--primary-color);
  opacity: 0;
  -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
  -moz-transition: opacity 0.3s, -moz-transform 0.3s;
  transition: opacity 0.3s, transform 0.3s;
  -webkit-transform: translateY(10px);
  -moz-transform: translateY(10px);
  transform: translateY(10px);
}

.navbar-nav .nav-link:hover::after {
  opacity: 1;
  -webkit-transform: translateY(0px);
  -moz-transform: translateY(0px);
  transform: translateY(0px);
}

.navbar-nav .nav-link {
  color: var(--less-white-color);
  font-size: 1.125rem;  /*18px converted to rem (assuming base font-size is 16px)*/
  font-weight: var(--font-weight-bold);
  position: relative;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-item.active .nav-link::after {
  color: var(--primary-color);
  opacity: 1;
  -webkit-transform: translateY(0px);
  -moz-transform: translateY(0px);
  transform: translateY(0px);
}

.navbar-nav .nav-item.active .nav-link,
.nav-link:focus, 
.nav-link:hover {
  color: var(--white-color);
}

.nav-link:focus {
  color: var(--white-color);
}

.navbar-toggler {
  border: 0;
  padding: 0;
  cursor: pointer;
  margin: 0;
  width: 30px;
  height: 35px;
  outline: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease, -webkit-transform 300ms 350ms ease;
  top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transform: rotate(-45deg);
}

.navbar-toggler .navbar-toggler-icon {
  background:#a0aabe;
  transition: background 10ms 300ms ease;
  display: block;
  width: 30px;
  height: 2px;
  position: relative;
}

.navbar-toggler .navbar-toggler-icon:before,
.navbar-toggler .navbar-toggler-icon:after {
  transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease, -webkit-transform 300ms 50ms ease;
  position: absolute;
  right: 0;
  left: 0;
  background:#a0aabe;
  width: 30px;
  height: 2px;
  content: '';
}

.navbar-toggler .navbar-toggler-icon:before {
  top: -8px;
}

.navbar-toggler .navbar-toggler-icon:after {
  top: 8px;
}

.navbar .nav-item {
    display: flex;
    align-items: center; /* Vertically center content */
    max-height: 40px; /* Fixed height matching original navbar height */
}

.navbar .nav-item a{text-shadow: 0px 1px 0 rgba(0, 0, 0, 0.7), 0px 2px 0 rgba(0, 0, 0, 0.5), 0px 3px 0 rgba(0, 0, 0, 0.3); }

/*make navbar logo shine*/
.navbar-brand strong {
    background: linear-gradient(
        to right,
        var(--primary-color) 0%,
        var(--primary-color) 40%,
        white 50%,
        var(--primary-color) 60%,
        var(--primary-color) 100%
    );
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
    animation: shineText 8s linear infinite;
}

@keyframes shineText {
    91.67%, 100% {
        background-position: 100% 0;
    }
     0%, 83.33%{
        background-position: 0% 0;
    }
}
/*end make navbar logo shine*/


/*---------------------------------------
  HERO              
-----------------------------------------*/
.hero {
  position: relative;
  overflow: hidden;
}

.heroText {
    position: absolute;
    z-index: 9;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85%;
    text-align: center;
}



.imageWrapper {
    width: 100%;/*used with object-fit:cover; to make the image fit either width either height*/
    overflow: hidden; /* Hide overflow */
}
	.imageWrapper img {/*this is in case you use image as bg*/
		width: 100%; /* Make the image take the full width */
		height: 100%; /* Make the image take the full height */
		object-fit: cover; /* Cover the area while maintaining aspect ratio */
	}




/*related to script to parallax sky & clouds on mouse move.
if you modify the sky's    transform: translateZ(-1px) scale(1.4)    below, make sure to modify same value at script:    document.querySelector('.sky').style.transform = `translate(${-moveX / 30}px, ${-moveY / 30}px) scale(1.4)`*/
.parallax-container {
	position: relative;
	width: 100%;
	height: 100%;
	perspective: 1000px;
    overflow: hidden;
}

.sky {
    background: var(--image-sky) no-repeat center center;
    background-size: cover;
    position: absolute;
    width: 120%; /* Make sky bigger than screen */
    height: 120%; /* Make sky bigger than screen */
    top: 50%;
    left: 50%;
	/*transform: translate(-50%, -50%) scale(1.2);*/
    transform: translate(-50%, -50%);
    z-index: 1;
	filter: blur(2px);
}

.clouds {
	background: var(--image-clouds) no-repeat center center;
	background-size: cover;
	position: absolute;
	width: 100%; /* Set to 80% when wantImageBiggerThanScreen is false */
	height: 100%; /* Set to 80% when wantImageBiggerThanScreen is false */
	top: 50%;
	left: 50%;
	/*transform: translate(-50%, -50%) scale(1.02);*/
	transform: translate(-50%, -50%);
	z-index: 2;
}
/*end related*/

/*glowing h1*/
h1 {
    background: linear-gradient(
        to right,
        var(--primary-color) 0%,
        var(--primary-color) 40%,
        white 50%,
        var(--primary-color) 60%,
        var(--primary-color) 100%
    );
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: glow 3s ease-in-out 1, sweep 3s ease-in-out 1;
	text-shadow:2px 2px 5px rgba(0, 0, 0, 0.4);/*bit of text shadow*/
}

@keyframes glow {
    0%, 15% {
        text-shadow: 50px 0 20px transparent;
    }
    50% {
        text-shadow: 0 0 20px var(--white-color);
    }
    85%, 100% {
        text-shadow: -50px 0 20px transparent;
    }
}

@keyframes sweep {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: -100% 0;
    }
}
/*end glowing h1*/



/*
.sticky-wrapper {
position: sticky;
bottom: 0;
}
*/
@media screen and (min-width: 992px) {
/*can place this back if you place videowrapper back
	.hero {
		height: 100vh;
	}
*/
	.custom-video,
	.news-detail-image {
	object-fit: cover;
		width: 100vw;
		height: 100vh;
	}

	.sticky-wrapper {
		position: relative;
		bottom:70px;
		margin-bottom:-70px;/*to compensate empty space created after using above bottom*/
	}

	.imageWrapper {
		height: 100vh; /*Ensure full viewport height*/
	}
}
@media screen and (max-width: 991px) {
	.imageWrapper {
		max-height:90vh;
		min-height:40vh;
		
		/*instead of below 4 lines, i could use the following but didn't since aspect-ratio isn't supported in safari 2021:    aspect-ratio: 16/9;height: auto;*/
		width: 100%;
		overflow: hidden;
		position: relative;
		padding-top: 56.25%; /* Maintain aspect ratio *//* 16:9 aspect ratio */
	}
		.imageWrapper img {
			height: auto; /* Optional: Adjust for smaller screens if necessary */
		}
}

/*---------------------------------------
  Updates + Programs & Talks
-----------------------------------------*/
/*events calendar*/
.news-list {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.news-item {
    display: flex;
    align-items: flex-start; /* Changed from center to align-items: flex-start */
    padding: 20px;
    margin-bottom: 10px;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.news-item:hover {
    background: rgba(211, 185, 46, 0.1);
    transform: translateX(-5px);
    border-color: var(--primary-color);
}

.news-item i {
	margin-top: 3px; /* Add this to align the icon with the text */
    font-size: 1.5rem;  /* 24px converted to rem (assuming base font-size is 16px) */
    color: var(--primary-color);
    margin-left: 15px;
    transition: all 0.3s ease;
}

.news-item:hover i {
    transform: scale(1.2);
}

.news-content-link {
    flex: 1;
    text-decoration: none;
    color: inherit;
    display: block;
}

.news-content-link:hover,
.news-content-link:focus {
    text-decoration: none;
    color: inherit;
}

.news-content {
    flex: 1;
}

.news-content h6 {
    margin: 0;
    color: var(--white-color);
    font-weight: var(--font-weight-normal);
}

.news-meta {
    margin-top: 8px;
}

.news-meta-item {
    /*display: inline-flex;*//*no; need them block, to be above each others*/
    display: block;
    align-items: center;
    font-size: 0.875rem;  /* 14px converted to rem (assuming base font-size is 16px) */
    color: var(--less-white-color);
    margin-left: 15px;
}

.news-meta-item i {
    font-size: 0.875rem;  /* 14px converted to rem (assuming base font-size is 16px) */
    margin-left: 5px;
    color: var(--primary-color);
}

.meta-label {
    color: var(--primary-color);
    margin-left: 4px;
    font-weight: var(--font-weight-bold);
}

.news-date {
    display: block;
    font-size: 0.75rem;  /* 12px converted to rem (assuming base font-size is 16px) */
    color: var(--less-white-color);
    margin-top: 5px;
}
/*end events calendar*/

.talk-image,
.program-image {
	width: 100%;
    height: 475px;/*aspect-ratio: 16/9; this no*/
    object-fit: cover;
    object-position: center;/*This ensures the image is centered*/
}

.program-title,
.talk-title {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 65%;
    padding: 22px 32px 32px 12px;
}
.program-title {
    background: var(--primary-color-transparent);
}
.talk-title {
    background: var(--less-dark-blue-color);
}

.carousel-control-next, 
.carousel-control-prev {
  top: auto;
  bottom:1.5rem;
}

.carousel-control-next-icon, 
.carousel-control-prev-icon {
  background-color: var(--dark-color);
  background-size: 50% 50%;
  border-radius: 100px;
  width: 3rem;
  height: 3rem;
}

/*below 2 css selectors are to place bootstrap arrows\buttons at left since html is rtl*/
.carousel-control-prev {
    left: 0;
    right: auto;
}
.carousel-control-next {
    left: 4rem;  /* Position next button relative to prev button */
    right: auto;
}

/*---------------------------------------
  Lectures               
-----------------------------------------*/
.lectures-thumb {
  position: relative;
  overflow: hidden;
}

.portfolio-title a{
	color: var(--white-color);
}

.lectures-info {
  margin: 20px;
}
.lectures-thumb:hover .lectures-info a{
	color: var(--primary-color);
}

/*---------------------------------------
  NEWS & EVENTS               
-----------------------------------------*/

.hymns-thumb {
  position: relative;
}

.tag-or-category {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  padding: 4px 12px;
  display: inline-block;
}
.tag-or-category.talks-title {
	background:var(--less-dark-blue-color)!important;
}

.news-text-info {
  margin: 0 20px;
}

.news-title {
  margin-top: 15px;
  margin-bottom: 15px;
}

.news-title-link {
  color: var(--white-color);
  display: inline-block;
}
.hymns-thumb:hover .news-title-link {
  color: var(--primary-color);
}

a.news-title-link::before {
    content: "\F49E";
    font-family: "Bootstrap-icons";
    padding-left: 5px;
    font-size: 1.125rem;  /* 18px converted to rem (assuming base font-size is 16px) */
    color: var(--primary-color);
}

.lectures-image,
.news-image {
  display: block;
  transition: transform 0.6s ease-out;
}

.hymns-image-hover {
  display: inline-block;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all .3s cubic-bezier(.645,.045,.355,1);
  padding-bottom: 4px;
  height: 100%;
}

.hymns-image-hover::after {
  content: "";
  width: 0;
  height: 4px;
  bottom: 0;
  position: absolute;
  left: auto;
  right: 0;
  z-index: -1;
  transition: width .6s cubic-bezier(.25,.8,.25,1) 0s;
  background: #198754;
}

.hymns-image-hover-warning::after {
  background: #ffc107;
}

.hymns-image-hover-primary::after {
  background: #0d6efd;
}

.hymns-image-hover-success::after {
  background: #198754;
}

.hymns-image-hover:hover::after {
  width: 100%;
  left: 0;
  right: auto;
  z-index: 9;
}

.image-popup:hover .lectures-image,
.hymns-image-hover:hover .news-image {
  transform: scale(1.02);
}

.news-two-column {
  min-height: 199px;
  margin-bottom: 16px;
}

.news-two-column .news-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.social-share-link,
.social-share-link + span {
  color: rgba(255, 255, 255, 0.65);
}

.news-top{position:relative;}

/*---------------------------------------
  Reflections
-----------------------------------------*/
#reflections {
    background: var(--dark-blue-color);
    position: relative;
    overflow: hidden;
}

.reflections-list {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.reflection-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.reflection-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
	/*background: linear-gradient(45deg, transparent, rgba(211, 185, 46, 0.1), transparent);
    background: linear-gradient(45deg, transparent, rgb(255 255 255 / 10%), transparent);
	background: linear-gradient(55deg, 
		transparent 0%,
		transparent 35%,
		rgb(255 255 255 / 10%) 50%,
		transparent 65%,
		transparent 100%
	);*/
	background: linear-gradient(45deg, transparent, rgb(255 255 255 / 10%), transparent);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}
.reflection-item:hover::before {
    transform: translateX(0%);
}

.reflection-content p {
    color: var(--white-color);
    font-size: 1.125rem;  /* 18px converted to rem (assuming base font-size is 16px) */
    line-height: 1.6;
    margin: 0;
    font-weight: var(--font-weight-light);
    text-align: center;
    position: relative;
}

.reflection-content p::before {
    content: '"';
    font-size: 3.75rem;  /* 60px converted to rem (assuming base font-size is 16px) */
    color: var(--primary-color);
    opacity: 0.4;
    position: absolute;
    top: -20px;
    right: -10px;
    font-family: serif;
}

/*---------------------------------------
  publications
-----------------------------------------*/
.publication-item {
    text-align: center;
    padding: 15px;
    height: 350px;
    display: flex;
    flex-direction: column;
    perspective: 1000px; /* For 3D effect */
    position: relative; /* For pseudo-elements */
}

.publication-item::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to left, 
        rgba(0, 0, 0, 0.2), 
        rgba(0, 0, 0, 0.05)
    );
}

.publication-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to top, 
        rgba(0, 0, 0, 0.2), 
        rgba(0, 0, 0, 0.05)
    );
}

.book-cover {
    flex: 1;
    margin: 0 auto 15px;
    overflow: hidden;
    border-radius: 5px;
    /*box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);*/
    transition: transform 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    padding: 10px;
    position: relative; /* Add this for the skew effect to work */
}

.book-cover img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
}

/* Hover Effects */
.publication-item:hover .book-cover {
    transform: rotateY(-15deg);
}

.book-title a {
    color: var(--white-color);
}
.book-title a:hover{
	color: var(--primary-color);
}
.publication-item:hover .book-title a{
	color: var(--primary-color);
}

/*---------------------------------------
  CONTACT              
-----------------------------------------*/
.contact-info {
  padding: 40px;
}

.contact-form .form-control {
  border-radius: 0;
  font-weight: var(--font-weight-normal);
  padding-top: 12px;
  padding-bottom: 12px;
}

.form-control:focus {/*overriding bootstrap a bit*/
    border-color: var(--primary-color);
    box-shadow: 0 0 0 .25rem #d3b92e52;
}

.contact-form button[type='submit'] {
  background: var(--dark-color);
  border: none;
  border-radius: 100px;
  color: var(--white-color);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  padding: 16px;
  transition: all 0.6s ease-out;
}

.contact-form button[type='submit']:hover {
  background: var(--primary-color);
}

.form-label {
  color: var(--white-color);
  font-weight: var(--font-weight-bold);
}

.map-iframe {
  display: block;
  filter: grayscale(100);
}

/*---------------------------------------
  SITE FOOTER               
-----------------------------------------*/
.site-footer {
  background: var(--dark-color);
  padding-top: 4.5rem;
  padding-bottom: 2.5rem;
}

.site-footer .custom-link {
  color: rgba(255, 255, 255, 0.65);
  font-size: var(--p-font-size);
}

.site-footer .custom-link:hover,
.site-footer .social-icon-link:hover {
  color: var(--white-color);
}

.copyright-text {
  color: rgba(255, 255, 255, 0.45);
  font-size: var(--copyright-text-font-size);
}

/*---------------------------------------
  SECTION common       
-----------------------------------------*/

/*custom scrollbars*/
/* Webkit browsers (Chrome, Safari, newer Edge) */
::-webkit-scrollbar {
    width: auto; /* Default browser width */
    height: auto; /* For horizontal scrollbars */
}

::-webkit-scrollbar-track {
    background: var(--dark-blue-color);
    border-radius: 10px;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
    border: 2px solid var(--dark-blue-color);
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: color-mix(in srgb, #4e616f 80%, white);
    border-color: var(--less-dark-blue-color);
}

* {
    scrollbar-width: auto; /* Keeps default width */
    scrollbar-color:#4e616f var(--dark-blue-color);
}
/*custom scrollbars*/

.section-padding {
  padding-top: 7rem;
  padding-bottom: 7rem;
}

.view-all-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: var(--dark-color);
    text-decoration: none;
    font-size: 1.125rem;  /* 18px converted to rem (assuming base font-size is 16px) */
    font-weight: var(--font-weight-bold);
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.view-all-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.view-all-button:hover {
    background-color: #1a2b39;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

.view-all-button:hover:before {
    transform: translateX(100%);
}

.view-all-button span {
    z-index: 1;
}

.view-all-button i {
    margin-right: 8px;
    transition: transform 0.3s ease;
    z-index: 1;
}

.view-all-button:hover i {
    transform: translateX(-5px);
}

/*bg image*/
section#hymns, section.bg-image{
    background: var(--image-sky) no-repeat center center;
    background-position: top;
    background-size: cover;
    background-attachment: fixed;
    position:relative;
}
section#hymns:after, section.bg-image:after{/*acts as overlay for bg image*/
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    width: 100%;
    background: rgba(14, 26, 36, 0.9);
}
section#hymns .container, section.bg-image .container{
    position: relative;
    z-index: 1;
}
/*end bg image*/









/*sticky side icons*/
.sticky-icons-container {
	padding: 0;
	margin: 0;
	position: fixed;
	left: -158px;/*if want icons at right of website: right:-158px;*/
	top: 50%;
	transform: translateY(-50%);
	width: 200px;
	z-index: 9999;
}

.sticky-icons li {
	list-style-type: none;
	background-color: #333; /* Background color for list items */
	height: 43px; /* Set height */
	padding: 0;
	margin: 0 0 1px 0; /* Margin between items */
	transition: all 0.25s ease-in-out; /* Transition for hover effects */
	cursor: pointer; /* Change cursor on hover */
	color: transparent; /* Make text transparent by default */
	overflow: hidden; /* Hide overflow */
	filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); 
	filter: gray; 
		-webkit-filter: grayscale(100%);
}

.sticky-icons li:hover {
	/* styles when hovering over li */
	margin-right: -115px; /* Move left on hover *//*if want icons at right of website: margin-left:-115px;*/
	color: #fff; /* Change text color to white on hover */
	filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'1 0 0 0 0, 0 1 0 0 0, 0 0 1 0 0, 0 0 0 1 0\'/></filter></svg>#grayscale");
		-webkit-filter: grayscale(0%);
}

.sticky-icons li p {
	padding: 0px;
	margin: 0px;
	line-height: 43px;
	font-size:14px;
	color:var(--primary-color);
}
.sticky-icons li i,.sticky-icons li p{
	float:right;/*if want icons at right of website: float:left;*/
}
.sticky-icons li a{
	height: 43px; /* Set a fixed height */
	line-height: 43px; /* Set line-height equal to height */
	display: block;
}
.sticky-icons li a:hover{
	color:var(--primary-color);
}
/*end sticky side icons*/

/*search form*/
/* Search Overlay Styles */
.search-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	display: none; /* Hidden by default */
	justify-content: center;
	align-items: center;
	z-index: 1000;
}

.search-container {
	background-color: #fff;
	border-radius: 10px;
	padding: 20px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
	width: 80%;
	max-width: 500px;
}

/* Search Form Styles */
.search-form {
	display: flex;
	align-items: center;
	width: 100%;
}

/* Search Input Styles */
.search-input {
	width: 100%;
	padding-left: 50px;
	border: 1px solid #ced4da;
	border-radius: 5px;
	height: 40px;
	font-size: 16px;
}

/* Search Icon Styles */
.search-button {
	position: absolute!important;
	left: 10px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	color: var(--primary-color);
	font-size: 18px;
	cursor: pointer;
	z-index:9!important;
}

/* Close Button Styles */
.search-close {
	background: none;
	border: none;
	font-size:14px;
	color: var(--primary-color);
	cursor: pointer;
}
/*end search form*/















.mfp-counter {
    direction:ltr;/*replace back left to right magnific popup images numbering; e.g. 2 of 7 which show under image when clicking a magnific popup image*/
}

.updates-text {
    word-spacing:2px;
}

/*---------------------------------------
  SOCIAL ICON               
-----------------------------------------*/
.social-icon {
  margin: 0;
  padding: 0;
}

.social-icon li {
  list-style: none;
  display: inline-block;
  vertical-align: top;
}

.social-icon-link {
  color: rgba(255, 255, 255, 0.45);
  font-size: 1rem;
  display: inline-block;
  vertical-align: top;
  margin-top: 4px;
  margin-bottom: 4px;
  margin-right: 15px;
}

.social-icon-link:hover {
  color: var(--primary-color);
}

/*---------------------------------------
  RESPONSIVE STYLES               
-----------------------------------------*/
@media screen and (min-width: 1600px) {
  .news-two-column {
    min-height: 232.5px;
  }
}

@media screen and (max-width: 991px) {
    html {
        font-size: 14px; /* Adjust base font size for smaller screens */
    }
	
  .navbar {
    padding-top: 10px;
    padding-bottom:10px;
	background: linear-gradient(rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
	/*display: flex;
	justify-content: space-between;
	align-items: center;*/
  }

  .section-padding {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .program-title,.talk-title {
    left:0;
    width: auto;
	padding:22px 32px 32px 112px;
	position:relative;
  }

  .news-two-column {
    height: auto !important;
    min-height: inherit;
  }

  #hymns .col-12 .news-two-column:first-child {
    margin-bottom: 38px;
  }
  
	/*sticky side icons*/
	.sticky-icons-container {
        top: 0 !important;
        position: relative;
        margin: 0 auto;
        right: 0;
        left: 0;
        text-align: center;
        width: auto;
		transform:unset;
	}
	
	.sticky-icons-container ul {margin:0;}
	
	.sticky-icons-container li {
		display: inline-block;
		overflow: hidden ;
		height: 31px;
		background-color:unset;
	}
	.sticky-icons li:hover {
		margin-right: 0!important;/*if want icons at right of website: margin-left:0!improtant;*/
	}
	
	.sticky-icons-container li a {
		display: inline-block;
		width: 43px
	}

	.sticky-icons li img{
		width:20px;
		height:20px;
    }
	/*end sticky side icons*/
	
	li.nav-item{padding-top:16px;}
}

@media screen and (max-width: 767px) {
	/*details page*/
	.news-detail-title {
		font-size: 36px;
	}
	/*end details page*/
  
	/*news calender on homepage*/
    .news-list {
        margin-top: 20px;
    }
    
    .news-meta-item {
        margin-top: 4px;
    }
	/*end news calender on homepage*/
	
	/*reflections on homepage*/
    .reflections-list {
        gap: 20px;
    }
    
    .reflection-item {
        padding: 20px;
    }
    
    .reflection-content p {
        font-size: 16px;
    }
	/*end reflections on homepage*/
}

@media screen and (max-width: 360px) {
  h1 {
    font-size: 32px;
  }

  .heroText p {
    font-size: 14px;
  }
}

@media screen and (max-width: 359px) {
  .news-detail-title {
    font-size: 22px;
  }
}
