@import url('https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700,800,900display=swap');
/* Define the colors */
body {
  background-color: #f6f2e8; /* A shade of off-white for the page background */
}

.parchment-container {
  background-color: #f6f2e8; /* Match the page background color */
  padding: 20px; /* Add some padding to create space for content */
  border: 1px solid #d8c4a3; /* Add a border to mimic parchment edges */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); /* Add a subtle shadow */
}

/* Style the text content inside the container */
.parchment-container h1 {
  color: #7f5e3e; /* A shade of brown for headings */
}

.parchment-container p {
  color: #333; /* Dark text color */
}

/* Define the purple and gold accents */
.purple-text {
  color: #800080; /* Purple text color */
}

.gold-text {
  color: #ffd700; /* Gold text color */
}

/* styles.css */
.custom-navbar {
  background-color: #3d535f;
}
/*.custom-navbar:hover {
  transform: scale(1.5);
}*/
.custom-navbar .navbar-nav {
  justify-content: center;
}

.custom-navbar .navbar-brand {
  color:gold;
  font-weight: 500;
}
/*.custom-navbar .navbar-nav .nav-item{
  text-transform: capitalize;
  transition: 0.5s;
}*/
.custom-navbar .navbar-nav .nav-link{
  display: block;
  position: relative;
  padding: 5px;
  font-size: 18px;
  font-weight: 500;
  color: #3d535f;
  text-transform: uppercase;
  transition: 0.5s;
}
/* Hover effect for navbar links */
.custom-navbar .navbar-nav .nav-item:hover {
  transform: scale(1.5);
  opacity: .2;
  filter: blur(0);
}
/* Hover effect for navbar links */
.custom-navbar .navbar-nav .nav-item .nav-link:hover {
  transform: scale(1.1);
  color: #3d535f; /* Change the link color on hover */
  opacity: 1;

}
.custom-navbar .navbar-nav .nav-link:before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #D4AF37;
  transition: transform 0.5s;
  transform-origin: right;
  transform: scale(0);
  z-index: -1;
}
.custom-navbar .navbar-nav .nav-link:hover:before{
  transition: transform 0.5s;
  transform-origin: left;
  transform: scale(1.1);
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  transition: top 0.5s ease-in-out;
  z-index: 1000; /* Adjust as needed */
}


/* Default styles for off-canvas menu */
/* Add this CSS for the full-screen overlay menu */
/* Style for the grid menu icon */
.navbar-toggler .fas.fa-th {
  font-size: 24px; /* Adjust the font size as needed */
  color: gold; /* Icon color */
  /* Add any other styles you want */
}

/* Your existing CSS styles */

/* Mobile Devices (320px - 480px) */
@media (max-width: 480px) {
  /* Add your responsive styles for screens up to 480px here */

  .custom-navbar .navbar-nav .nav-link {
    font-size: 16px; /* Adjust font size for smaller screens */
  }

  /* Adjust other styles as needed */
  .button {
    font-size: 20px; /* Adjust font size for buttons on smaller screens */
    margin: 20px 5px; /* Adjust margins for buttons on smaller screens */
  }

  /* Responsive styles for the hero section */
  #home {
    background-position: center; /* Center the background image on smaller screens */
    background-size: cover;
    background-attachment: scroll; /* Scrollable background for smaller screens */
  }

  .home-intro-text, .welcome-intro-text {
    width: 100%; /* Take up full width on smaller screens */
  }
}


#overlay-container {
  position: relative;
}

/* Style the overlay background */
#overlay-container::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent black background */
  z-index: 999; /* Place it above everything */
  opacity: 0; /* Initially, the overlay is invisible */
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0s linear 0.3s;
}

/* Show the overlay when the menu is open */
.offcanvas.open #overlay-container::before {
  opacity: 1;
  visibility: visible;
}

/* CSS for the rotating off-canvas menu */
.offcanvas {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: burlywood;
  z-index: 1000;
  transform-origin: right top; /* Set the rotation origin to top-right */
  transform: rotate(-90deg); /* Rotate initially to hide it */
  transition: transform 0.3s ease-in-out;
}

.offcanvas.open {
  transform: rotate(0deg); /* Rotate into view */
}


/* Your other existing styles for the off-canvas menu */

/* Center the menu items vertically */
.offcanvas .offcanvas-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}


.offcanvas-header {
  padding: 1rem;
  background-color: burlywood;
  color: #3d535f;
}

.offcanvas-body {
  padding: 1rem;
}

.offcanvas a{
  color: #00bcd4;
}

.navbar-toggler {
  display: block; /* Ensure the button is visible on all screen sizes */
}

/* Hover effect for offcanvas menu links */
.offcanvas .navbar-nav .nav-link:hover {
  color: yellowgreen; /* Change the link color on hover */
}

/* Mobile Devices (320px - 480px) */
@media (min-width: 320px) and (max-width: 480px) {
  .offcanvas {
    width: 100%; /* Adjust width for mobile devices */
  }
}

/* iPads and Tablets (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
  .offcanvas {
    width: 200px; /* Adjust width for iPads and Tablets */
    opacity: 0.6;
  }
  .offcanvas a{
    opacity: 1;
  }
}

/* Small Screens and Laptops (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .offcanvas {
    width: 250px; /* Adjust width for small screens and laptops */
  }
}

/* Desktops and Large Screens (1025px - 1200px) */
@media (min-width: 1025px) and (max-width: 1200px) {
  .offcanvas {
    width: 300px; /* Adjust width for desktops and large screens */
  }
}

/* Extra Large Screens and TVs (1201px and more) */
@media (min-width: 1201px) {
  .offcanvas {
    width: 350px; /* Adjust width for extra large screens and TVs */
  }
}
/* Hero Section Styles */
#home {
  background-color: #f6f2e8; /* Parchment background color */
  color: #3d535f; /* Brown text color */
  height: 100vh;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background-image: url('hero-bg.jpeg'); /* Add your image URL here */
  background-position: right; /* Position the image to the right */
  background-size: cover; /* Cover the entire viewport while maintaining aspect ratio */
  background-repeat: no-repeat; /* Prevent image from repeating */
  background-attachment: fixed; /* Fixed background for parallax effect (optional) */
}

/* CSS */
.home-intro-text {
  width: 50%; /* Take up 50% of the parent container's width (left half) */
  text-align: left; /* Align text to the left within the container */
  padding-left: 20px; /* Add some left padding for spacing */
  padding-top: 20px;
  position: relative;
}


.name.hero-text {
	font-size: 34px;
  font-weight: bold; /* Add font weight to the name */
}

.subtitle.hero-text {
	font-size: 20px;
  font-style: italic; /* Italicize the subtitle */
}

.title-verse {
	font-size: 18px;
  font-style: italic; /* Italicize the verse */
  color: gold; /* Purple color for verse */
  font-weight: 500;
}

/* Style the dotted line after the title-verse */
.title-verse::after {
  content: ''; /* Required for pseudo-element */
  position: absolute;
  bottom: -10px; /* Adjust this value to control the distance of the line from the text */
  left: 0;
  right: 0;
  height: 2px; /* Height of the line */
  background-color: #fff; /* Color of the line */
  border-bottom: 2px dotted #fff; /* Dotted line effect */
  border-radius: 50%; /* Makes the ends of the line curve up */
}
/* CSS for the home-intro-text and welcome-intro-text */
.home-intro-text, .welcome-intro-text {
  text-align: left;
  padding-left: 20px;
  font-size: 36px;
}

/* Media query for mobile devices (320px - 480px) */
@media screen and (min-width: 320px) and (max-width: 480px) {
  .home-intro-text {
    order: 2; /* Change the order to 1, placing it below */
  }

  .wwelcome-home {
    order: 1; /* Change the order to 2, placing it below */
  }
}

/* Media query for mobile devices (481px - 768px) */
@media screen and (min-width: 481px) and (max-width: 768px) {
  .home-intro-text {
    order: 2; /* Change the order to 1, placing it below */
  }

  .welcome-home {
    order: 1; /* Change the order to 2, placing it below */
  }
}

.intro-container {
  /*display: flex; Ensure it's a flex container */
  flex-direction: column; /* Change to column for stacking */
}

@media screen and (min-width: 769px) {
  .home-intro-text {
    order: 1; /* Reset the order to 1 for larger screens (side by side) */
    /* Optionally, you can also adjust other styles for larger screens */
  }

  .welcome-intro-text {
    order: 2; /* Reset the order to 2 for larger screens (side by side) */
    /* Optionally, you can also adjust other styles for larger screens */
  }

  /* Adjust flex-direction for the parent container to keep them side by side */
  .intro-container {
    display: flex; /* Ensure it's a flex container */
    flex-direction: row; /* Change to row for side by side */
  }
}

/* Your existing styles for larger screens (outside the media query) */

/* Media query for screens up to 768px */
@media screen and (max-width: 768px) {
  .intro-container > .welcome-intro-text {
    margin-left: 40px; /* Add margin to the right of the element */
  }
}

@media screen and (max-width: 768px) {
  .intro-container > .home-intro-text {
    margin-left: 70px; /* Add margin to the right of the element */
  }
}


@media screen and (max-width: 768px) {
  /* Target child elements and reduce font size within this media query */
  .intro-container .dc-slogan {
    font-size: 18px; /* Adjust the font size as needed */
  }

  .intro-container .multitext {
    font-size: 20px; /* Adjust the font size as needed */
  }
}

@media screen and (max-width: 768px) {
  /* Target child elements and reduce font size within this media query */
  .intro-container .name.hero-text {
    font-size: 24px; /* Adjust the font size as needed */
  }

  .intro-container .subtitle.hero-text {
    font-size: 20px; /* Adjust the font size as needed */
  }

  .intro-container .welcome-home{
    font-size: 24px;
  }
}


@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

.multitext::after {
  content: "✓"; /* Cursor blinking effect */
  animation: blink 0.7s infinite alternate;
}

@keyframes blink {
  to {
    opacity: 0;
  }
}

.dc-slogan h2{
  font-size: 36px;
}

.dc-slogan {
  opacity: 0; /* Start with opacity set to 0 to hide the element */
  transform: translateY(-50px); /* Move the element 50px up */
  animation: slideFromTop 4s ease-out 2s forwards; /* Use a custom animation */
}

@keyframes slideFromTop {
  0% {
    opacity: 0;
    transform: translateY(-50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Style for the welcome-intro-text */
.home-intro-text {
  display: none; /* Initially hide the welcome-intro-text */
}

/* Animation classes (you can customize these animations) */
.animate-in {
  animation: fadeInUp 3s ease-in-out;
  display: block !important;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* CSS for the home-intro-text and welcome-intro-text */
.home-intro-text, .welcome-intro-text {
  text-align: left;
  padding-left: 20px;
}

/* Style for the welcome-intro-text */
.welcome-intro-text {
  display: none; /* Initially hide the welcome-intro-text */
}

/* Style for the welcome-home heading */
.welcome-home {
  font-size: 36px; /* Adjust the font size as needed */
  font-weight: bold; /* Add font weight for emphasis */
}

/* Animation classes (you can customize these animations) */
/* CSS for scale-in animation */

 h2{
 	display: block;
 	font-size: 1em;
 	font-weight: 700;
 	color: #3d535f;
  font-style: italic;

 }
/* CSS for slide-in from right animation */
.slide-in-right {
  transform: translateX(100%);
  animation: slideRight 2s ease-in-out forwards;
}

@keyframes slideRight {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(0);
  }
}

.btns{
	width: 100%;
	position: relative;
	left:150px;
}
.button{
	outline: none;
	border: none;
	cursor: pointer;
	font-size: 25px;
	font-weight: 400;
	color: #fff;
	background-color: #3d535f;
	padding: 8px 14px;
	margin: 40px 5px;
	letter-spacing: 2px;
	text-transform: capitalize;
	box-shadow: 0 15px 10px rgba(0, 0, 0, 0.4);
}
.button:hover{
	background-color: #7600ff;
}


#events {
  background-color: #666; /* Add your background image URL here */
  background-size: cover;
  padding: 60px 0;
  border-radius: 10px;
  width: 100%;
  min-height: 100vh;
  background-size: cover;
  overflow-y: scroll;
}

.events-section {
  padding: 80px 0;
}

.event-card {
  background-color: #D4AF37;
  border-style: groove;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s;
  margin-top: 30px;
  margin-bottom: 30px;
  transform: translateX(100%); /* Initially off-screen to the right */
}

/* New CSS for the animation effect */
.event-card.slide-in-right {
  animation-duration: 1s; /* Adjust the animation duration as needed */
  animation-fill-mode: both;
}

@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Mobile responsiveness */
@media (max-width: 767px) {
  .events-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .event-card.slide-in-right {
    transform: translateY(100%);
  }
}


/* Style the background color of the sermons section */
/* Adjust the styles for the sermons and events sections */
#sermons {
    background-color: #FFD700;
    padding: 60px 0;
    border-radius: 10px;
    width: 100%;
    min-height: 100vh; /* Use min-height instead of height */
    background-size: cover;
    overflow-y: auto; /* Add vertical scrolling if needed */
}

#sermons h2 {
    font-size: 32px;
    color: #3d535f;
}

/* Style the sermon cards */
.card {
	background-color: #D4AF37;
    border-style: groove;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s;
    margin-left: 10px;
    margin-right: 10px;
    transform: translateX(100%); /* Initially off-screen to the right */
}

/* Add hover effect */
.card:hover {
    background-color: #008080; /* Change background color on hover */
    transform: scale(2.0); /* Slight scale up effect on hover */
}

.card h1, .card p {
  transition: color 0.3s; /* Smooth transition for text color */
}

.card:hover h1, .card:hover p {
  color: #fff; /* Change text color on hover */
}

.card-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.card-text {
    font-size: 16px;
    color: #666;
}

.card-img-top {
    max-height: 200px;
    object-fit: cover;
}

/* Style the "Read More" button */
.btn-primary {
    background-color: #007bff;
    color: #fff;
    transition: background-color 0.2s;
}

.btn-primary:hover {
    background-color: #6A0DAD;
}

.contact{
  position: relative;
  min-height: 100vh;
  padding: 50px 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column ;
}

.contact-details{
  max-width: 800px;
  text-align: center;
}
.contact-details h2{
  font-size: 36px;
  font-weight: 500;
  color: #3d535f;
}
.contact-details p{
  
  font-weight: 400;
  color: #3d535f;
}
.contact-container{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}
.contact-container .contactInfo{
  width: 50%;
  display: flex;
  flex-direction: column;
}
.contact-container .contactInfo .box{
  position: relative;
  padding: 20px 0;
  display: flex;
}
.contact-container .contactInfo .box .icon{
  min-width: 60px;
  height: 60px;
  background: #FFD700;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  font-size: 22px;
}
.contact-container .contactInfo .box .text{
  display: flex;
  margin-left: 20px;
  font-size: 16px;
  color: #00bcd4;
  flex-direction: column;
  font-weight: 400;
}
.contact-container .contactInfo .box .text h3{
  font-weight: 400;
  color: #00bcd4;
}

.contactForm{
  width: 40%;
  padding: 40px;
  background: #fff;
}

.contactForm h2{
  font-size: 30px;
  font-weight: 500;
  color: #3d535f;
}
.contactForm .inputBox {
  position: relative;
  width: 100%;
  margin-top: 10px;
}

.contactForm .inputBox input,
.contactForm .inputBox textarea {
  width: 100%;
  padding: 5px 0;
  font-size: 16px;
  margin: 10px 0;
  border: none;
  border-bottom: 2px solid #333;
  outline: none;
  resize: none;
}

.contactForm .inputBox label {
  position: absolute;
  left: 0;
  padding: 5px 0;
  font-size: 16px;
  margin: 10px 0;
  pointer-events: none;
  transition: 0.5s !important; /* Reduced the transition duration to 0.5s */
  color: #666; 
  transform: translateY(-20px) !important; /* Move the label up initially */
}

/* Add transition to input fields and labels */
.contactForm .inputBox input,
.contactForm .inputBox textarea,
.contactForm .inputBox label {
  transition: all 0.5s ease !important; /* Apply a 0.3s transition with ease easing function */
}

/* Adjust label styles on focus or when input is valid */
.contactForm .inputBox input:focus ~ label,
.contactForm .inputBox input:valid ~ label,
.contactForm .inputBox textarea:focus ~ label,
.contactForm .inputBox textarea:valid ~ label {
  color: #e91e63;
  font-size: 12px;
  transform: translateY(-20px) !important;
}
.contactForm .inputBox input[type="submit"]{
  width: 100px;
  background:#FFD700;
  color: #666;
  border: none;
  cursor: pointer;
  padding: 10px;
  font-size: 18px;
}
@media (max-width: 991px){
  .contact{
    padding: 50px;
  }
  .contact-container{
    flex-direction: column;
  }
  .contact-container .contactInfo{
    margin-bottom: 40px;
  }
  .contact-container .contactInfo, .contactForm{
    width: 100%;
  }
}

/* Style for the card */
.about-card {
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  padding: 20px;
  border-radius: 5px;
  margin-top: 20px;
}

.about-card h3 {
  color: #333;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.about-card ul {
  list-style-type: disc;
  padding-left: 20px;
}

.about-card li {
  margin-bottom: 8px;
  font-size: 1rem;
  color: #555;
}

/* Additional styling for your existing section content */
.content-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.why {
  margin-top: 40px;
  /* Add any other styles you have for this section */
}

/* Style for the card when it's revealed */
.about-card.active {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s; /* Delay the animation slightly */
}

/* CSS Styles */
#church-info {
  text-align: center;
  background-color: #f6f2e8;
}

.icon-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.icon {
  background-color: #D4AF37 ;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  margin: 0 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease-in-out;
}

.icon:hover {
  transform: scale(1.1);
}

.section-title {
  font-size: 24px;
  font-weight: bold;
  margin-top: 20px;
  color: #333;
}

.principles {
  font-size: 18px;
  line-height: 1.6;
  margin-top: 20px;
  color: #555;
}

/* Add CSS styles for the modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  border-radius: 10px;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: burlywood;
}
