
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
 
  
}

html {
  scroll-behavior: smooth;
}

body {
  background: #E9E6DF;
  
}


header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 5;
  width: 100%;
  display: flex;
  justify-content: center;
  /**background-image: url(images/bg.jpg);**/
  background-color: #febd59;
}


.navbar {
  display: flex;
  padding: 0 10px;
  max-width: 1185px;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  background-color: #febd59;
  transition: all 0.3s ease-in-out;
  position: relative;
}

.navbar input#menu-toggler {
  display: none;
}

.navbar #hamburger-btn {
  cursor: pointer;
  display: none;
  transition: transform 0.3s ease;
}

.navbar #hamburger-btn:hover {
  transform: scale(1.1);
}

.navbar .all-links {
  display: flex;
  align-items: center;
  transition: all 0.4s ease;
}

.navbar .all-links li {
  position: relative;
  list-style: none;
  overflow: hidden;
}

.navbar .logo a {
  display: flex;
  align-items: center;
  margin-left: 0;
  color: #424c56;
  margin-top: 18px;
  font-size: 2rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.navbar .all-links li a {
  margin-left: 2.5rem;
  text-decoration: none;
  color: #424c56;
  height: 100%;
  padding: 1.25rem 0;
  display: inline-block;
  align-content: center;
  position: relative;
  transition: all 0.3s ease;
  font-weight: bolder;
}

/* Hover Effect with Underline */
.navbar li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 10px;
  left: 50%;
  /*background-color: #c8bb93;*/
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar li a:hover::after {
  width: 100%;
}

.navbar li a:hover {
  color: #ffffff;
    background: #424c56;
    border-radius: 27px;
    padding: 13px;
}

.active, .navbar li a:hover {
    background: #424c56;
}

/* Responsive Styl  es */
@media (max-width: 1024px) {
  .navbar .all-links {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #20638f;
    border-top: 1px solid #c8bb93;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.4s ease;
    z-index: 10;
  }

  .navbar input#menu-toggler:checked + label + .all-links {
    display: flex;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .navbar .all-links li {
    width: 100%;
    border-top: 1px solid #c8bb93;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.4s ease;
  }

  .navbar input#menu-toggler:checked + label + .all-links li {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transform: translateX(0);
    transition: all 0.4s ease;
  }

  .navbar .all-links li a {
    padding: 1rem;
    text-align: center;
    width: 100%;
    color: #fff;
  }

  .navbar #hamburger-btn {
    display: block;
    transition: transform 0.3s ease;
  }

  .navbar #hamburger-btn svg {
    transition: all 0.3s ease;
  }

  .navbar input#menu-toggler:checked + label svg {
    transform: rotate(90deg);
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 1rem;
  }

  .navbar .logo a {
    font-size: 1.5rem;
    margin-top: 10px;
  }
}

@media (max-width: 480px) {
  .navbar .logo a {
    font-size: 1.2rem;
    margin-top: 8px;
    margin-left: 15px;
  }

  .navbar .all-links li a {
    font-size: 0.9rem;
    padding: 0.5rem;
  }
}


/****banner start*****/
.homepage {
  height: 90vh;
  width: 100%;
  position: relative;
  background-position: center 65%;
  background-size: cover;
}

.homepage::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
}

#home {
  position: relative; /* The section is the reference point for positioning */
  height: 100vh; /* Full viewport height */
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f0f0f0; /* Adjust background color as needed */
 
}


.heading-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2; /* above slideshow, below navbar */
  text-align: center;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}



/* Text container for the individual texts */
.texts {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}


/* Style for each text block */
.texts div {
  position: absolute;
  opacity: 0;
  animation: fadeInOut 9s ease-in-out infinite;
  font-size: 2rem; /* Default font size */
  color: #000; /* Text color */
  line-height: 1.4; /* Add line-height for better text spacing */
}

.texts .txt1 {
  animation-delay: 0s;
}

.texts .txt2 {
  animation-delay: 3s;
}

.texts .txt3 {
  animation-delay: 6s;
}

/* Keyframes to animate fade in and out */
@keyframes fadeInOut {
  0%, 100% {
    opacity: 0;
  }
  10%, 30% {
    opacity: 1;
  }
  40% {
    opacity: 0;
  }
}

/* Responsive Design */
@media (max-width: 1200px) {
  .texts div {
    font-size: 1.8rem; /* Adjust for larger tablets */
  }
}

@media (max-width: 1024px) {
  .texts div {
    font-size: 1.6rem; /* For medium-sized tablets */
  }
}

@media (max-width: 768px) {
  .texts div {
    font-size: 1.4rem; /* For smaller tablets and large phones */
  }
}

@media (max-width: 480px) {
  .texts div {
    font-size: 1.2rem; /* For small phones */
  }
}



.heading-container .texts h1 {
  font-size: 4vw;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0px 8px 0px rgb(0 0 0);
}

.heading-container .texts p {
    font-size: 54px;
    font-weight: bolder;
    color: #000000;
    text-shadow: 1px 3px 0px rgb(255 255 255);
}


  /* Aboutus */

.slideshow-container {
  margin: auto;
  overflow: hidden;
  height: 92vh;
  width: 100%;
  /* position: relative; */
}

.slides {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.active {
  display: block;
  animation: dissolve 1.0s;
}

@keyframes dissolve {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.overlay-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  pointer-events: none;
}

.overlay-text .content {
  text-align: center;
  color: #fff;
}

.overlay-text .content h1 {
  font-size: 60px;
  font-weight: 700;
  margin-bottom: -16px;
  text-shadow: 0px 1px 13px rgb(0 0 0);
  color: #ffffff;
}

.overlay-text .content .text {
  font-size: 20px;
  margin-bottom: 50px;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.overlay-text .content a {
  color: #fff;
  text-transform: uppercase;
  font-size: 18px;
  margin: 0 10px;
  padding: 10px 30px;
  border-radius: 5px;
  background: transparent;
  border: 2px solid #fff;
  transition: 0.4s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  text-decoration: none;
}

.overlay-text .content a:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Media Queries for responsive design */

/* For tablets (portrait mode) */
@media (max-width: 768px) {
  .homepage .content {
    width: 90%;
    padding: 20px;
  }

  .overlay-text .content h1 {
    font-size: 4rem;
  }

  .heading-container p {
    font-size: 1.8rem; /* Adjust for smaller screens */
  }

  .overlay-text .content .text {
    font-size: 16px;
  }

  .content a {
    font-size: 16px;
    padding: 8px 20px;
  }

  .heading-container h1 {
    font-size: 40px;
  }
}

/* For mobile devices (portrait mode) */
@media (max-width: 480px) {
  .homepage .content {
    height: auto;
    padding: 10px;
  }

  .overlay-text .content h1 {
    font-size: 3rem;
    margin-bottom: -10px;
  }

  .heading-container p {
    font-size: 1.5rem; /* Further adjust for mobile */
  }

  .overlay-text .content .text {
    font-size: 14px;
    margin-bottom: 30px;
  }

  .content a {
    font-size: 14px;
    padding: 6px 15px;
  }

  .slideshow-container {
    height: 55vh;
  }

  .slideshow-container .slides {
    height: 90vh;
  }

  .heading-container h1 {
    font-size: 50px;
  }
}

/* Add this CSS to animate the text */
.heading-container h1, .heading-container p {
  opacity: 0; /* Initially, the text is invisible */
  transform: translateY(20px); /* Initially, text is slightly down */
 animation: fadeInUp 10s ease-out forwards;
}

/* Define the fadeInUp animation */
@keyframes fadeInUp {
  to {
      opacity: 1; /* Fade to full opacity */
      transform: translateY(0); /* Move to original position */
  }
}

/* Optional: Add a slight delay for the paragraph text */
.heading-container p {
      animation-delay: 0.50s;
}

.slideshow-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
 /* background-color: rgb(0 0 0 / 53%); */
  z-index: 1;
  background: linear-gradient(to bottom, rgb(0 0 0 / -94%) 0%, rgb(255 255 255) 97%);
}
/****banner end*****/


/****about start*****/
.about_section {
  width: 100%;
  height: auto;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center; /* Center horizontally */
  padding: 117px 11.5%;
  font-family: ff-tisa-web-pro, rockwell, serif;
  margin-top: 0px;
}

.about_details {
  /* text-align: center; Center text within the about_details div */
}

.about_details h1 {
     font-size: 40px;
    color: #000000;
    position: absolute;
    /*bottom: -54px;*/
    font-family: auto;
}

.about_details h1::after {
  content: " ";
  position: absolute;
  width: 369px;
  height: 4px;
  background-color: #c8bb93;
  border-radius: 5px;
  left: 50%; /* Center the line */
  transform: translateX(-50%);
  bottom: -5px;
}

.about_details p {
  font-size: 15px;
  color: #424c56;
  margin: 77px auto 45px auto; /* Center the paragraph */
  line-height: 29px;
  font-family: effra, helvetica, sans-serif;
  text-align: justify;
}

#about .modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
}

#about .modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 600px;
    position: relative;
}

#about .close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
}

#about .close:hover {
    color: #000;
}

#aboutModal .modal-content {
  background-color: #fff;
  margin: auto;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 1000px;
  position: relative;
  margin-top: 90px;
}

#aboutModal .modal-body {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

#aboutModal .modal-image {
  flex: 1 1 40%;
  max-width: 400px;
}

#aboutModal .modal-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

#aboutModal .image-address {
  margin-top: 15px;
  padding: 10px;
  background-color: #f5f5f5;
  border-radius: 8px;
  font-size: 14px;
  color: #444;
  line-height: 1.5;
}


#aboutModal .modal-text {
  flex: 1 1 55%;
  overflow-y: auto;
  max-height: 80vh;
}

#aboutModal .modal-text h2, .modal-text h3 {
  margin-top: 0;
}

#aboutModal .modal-text ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 20px;
}

#aboutModal .modal-text ul li {
  margin-bottom: 10px;
  line-height: 1.6;
  font-size: 16px;
}


.btn {
  padding: 10px 25px;
 /* border: 2px solid #febd59;*/
  border-radius: 5px;
  color: #c8bb93;
  text-decoration: none;
  margin: 30px 5px; /* Adjust margin for better spacing */
  transition: all .5s ease;
  /*font-weight: 600;*/
}

.btn:hover {
  background-color: #c8bb93;
  color: #333;
}

.btn1 {
 background-color: #febd59;
    color: #424c56;
}

.btn1:hover {
  background-color: #424c56;
  color: #ffffff;
  font-family: effra, helvetica, sans-serif;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .about_section {
    padding: 30px 5%; /* Reduce padding on smaller screens */
  }

  .about_details h1 {
    font-size: 32px; /* Smaller font size for h1 */
  }

  .about_details p {
    font-size: 14px; /* Smaller font size for paragraph */
    line-height: 24px; /* Adjust line height */
  }

  .btn {
    padding: 8px 20px; /* Smaller button padding */
  }
}

@media (max-width: 480px) {
  .about_section {
    padding: 20px 2%; /* Further reduce padding */
  }

  .about_details h1 {
    font-size: 28px; /* Even smaller font size for h1 */
  }

  .about_details p {
    font-size: 12px; /* Smaller font size for paragraph */
    line-height: 20px; /* Adjust line height */
  }

  .btn {
    padding: 6px 15px; /* Smaller button padding */
  }
}
/****about end*****/ 


/* MVG Start */
/* Carousel container */
.carousel-container {
  position: relative;
  overflow: hidden;
  height: 28vh;
    margin-bottom: 167px;
}

/* Carousel structure */
.carousel {
  display: flex;
  transition: transform 1s ease;
}

/* Each carousel item */
.carousel-item {
  width: 100vw;  /* Full width of the screen */
  height: auto;  /* Adjust height based on content */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-shrink: 0;  /* Prevent shrinking */
  position: relative;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  top: 28px;
}

/* Text inside each carousel item */
.slider-text {
  color: #424c56;
  width: 80%; /* Make the text container more flexible */
  text-align: center;
  z-index: 2;
  font-size: 24px;  /* Increased base font size */
}

/* Slide-in animation for the text */
@keyframes slideLeft {
  0% { opacity: 0; left: 200px; }
  100% { opacity: 1; left: 0; }
}

.banner-title {
  font-size: 2rem; /* Increased base title size */
}

.banner-description {
  font-size: 1.5rem; /* Increased base description size */
  margin: 0.5rem 0;
  opacity: 0;
  position: relative;
  left: 200px;
  animation: slideLeft 1s forwards;
  animation-delay: 1s;
}

/* Media queries for responsiveness */

/* For tablets and below (768px or smaller) */
@media (max-width: 768px) {
  .carousel-container {
    height: 50vh; /* Maintain height for smaller screens */
  }

  .carousel-item {
    width: 100%;  /* Full width for smaller screens */
  }

  .slider-text {
    width: 90%; /* More flexible text container */
    font-size: 20px;  /* Adjusted font size for readability */
  }

  .banner-title {
    font-size: 1.5rem;  /* Adjusted heading size */
  }

  .banner-description {
    font-size: 1.2rem;  /* Adjusted paragraph font size */
  }
}

/* For mobile screens (480px or smaller) */
@media (max-width: 480px) {
  .carousel-container {
    height: 30vh;  /* Further reduce height for very small screens */
  }

  .slider-text {
    width: 95%;  /* Even more flexible width */
    font-size: 18px;  /* Further decrease font size */
  }

  .banner-title {
    font-size: 1.2rem;  /* Even smaller title */
  }

  .banner-description {
    font-size: 1rem;  /* Smaller paragraph font size */
  }
}

/* Add transition and overflow properties to smooth out the sliding animation */
.carousel-container {
  overflow: hidden;
  background: #febd59;
}

.carousel-logo {
  display: block;
  margin: 0 auto 10px;
  max-width: 125px;
}
/* MVG End */


/****footer start*****/ 
.about .row {
margin: 60px 0 90px;
display: flex;
max-width: 1200px;
width: 100%;
align-items: center;
justify-content: space-between;
}

.about .row .col {
padding: 0 10px;
width: calc(100% / 2 - 50px);
}

.about .col p {
margin-bottom: 10px;
}

.about .col p i {
color: #7a7a7a;
margin-right: 10px;
}

.about form input {
height: 45px;
margin-bottom: 20px;
padding: 10px;
width: 100%;
font-size: 16px;
outline: none;
border: 1px solid #bfbfbf;
}

.about form textarea {
padding: 10px;
width: 100%;
font-size: 16px;
height: 150px;
outline: none;
resize: vertical;
border: 1px solid #bfbfbf;
}

.about form button {
margin-top: 10px;
padding: 10px 20px;
font-size: 17px;
color: #fff;
border: none;
cursor: pointer;
border-radius: 5px;
background: #333;
transition: 0.2s ease;
}

.about form button:hover {
background: #525252;
}



section > p {
  text-align: center;
}


.homepage .content h1 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 10px;
}

.homepage .content .text {
  font-size: 17px;
}

.content a {
  font-size: 17px;
  padding: 9px 20px;
}

.about .row {
  flex-direction: column;
}

.about .row .col {
  width: 100%;
}

.about .row .col:last-child {
  margin-top: 40px;
}



/****footer start*****/ 








/****parishes start*****/
.team-row {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  margin: 0 auto; /* Center the row */
  max-width: 1200px; /* Set a max width for larger screens */
}

.member {
  cursor: pointer;
  transition: all 0.3s;
}

.member img{
    width: 85%;
    height: auto;
    /* border: 4px solid #726a95; */
    padding-left: 20px;
}

.text {
  display: flex;
  padding: 20px;
  cursor: pointer;
  flex-direction: column;
  margin-left: 20px; /* Adjust margin for spacing */
}

.text h1 {
  font-size: 2em; /* Use relative units for responsiveness */
}

.text h3 {
  font-size: 2em; /* Use relative units for responsiveness */
  color: #424c56;
}

.text a {
    font-size: 41px;
    font-family: ff-tisa-web-pro, rockwell, serif;
    font-style: normal;
    font-weight: lighter;
    text-decoration: none;
    color: #c9890e;
}

.text a:hover {
    color: #424c56;
    text-decoration: underline;
    font-style: italic;
}

.text p {
  font-size: 18px;
  text-align: justify;
  /* letter-spacing: 1px; */
  margin-top: 38px;
  font-family: ff-tisa-web-pro, serif;
  line-height: 1.5;
  text-indent: 1.5em;
  /* font-family: effra, helvetica, sans-serif; */
  color: #424c56;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  .team-row {
    flex-direction: column; /* Stack items vertically on smaller screens */
    align-items: center; /* Center align items */
  }

  .member {
    margin-bottom: 20px; /* Add space between member and text */
  }

  .text {
    margin-left: 0; /* Remove left margin on smaller screens */
    text-align: center; /* Center text on smaller screens */
  }

  .text h1 {
    font-size: 1.5em; /* Adjust font size for smaller screens */
  }

  .text p {
    font-size: 0.9em; /* Adjust font size for smaller screens */
  }
}

@media (max-width: 480px) {
  .text h1 {
    font-size: 1.2em; /* Further adjust font size for very small screens */
  }

  .text p {
    font-size: 0.8em; /* Further adjust font size for very small screens */
  }
}


.container {
  width: 100%;
  min-height: 100vh;
  padding: 50px 12%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.container .section-header {
  position: relative;
  width: 100%;
  margin-bottom: 40px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap; /* Allow items to wrap on smaller screens */
}

.section-header h3 {
  font-size: 18px;
 /* text-transform: uppercase;*/
  letter-spacing: 1px;
  color: var(--primary-clr);
}

.section-header h1 {
  font-size: calc(11px + 1.5vw);
  color: var(--dark-heading-clr);
  font-weight: 600;
  margin-top: 10px;
  /*text-transform: uppercase;*/
}

.section-header .btns {
  align-self: flex-end;
  display: flex;
  z-index: 1; /* Set to a lower value than the navbar */
  position: relative; /* Keep this if you want to position relative to its parent */
  color: #424c56;
  font-family: ff-tisa-web-pro, serif;
}

.section-header .btns button {
  display: inline-block;
  padding: 10px 18px;
  color: var(--light-heading-clr);
  font-size: 16px;
  border-radius: 5em;
  cursor: pointer;
  transition: 0.3s;
  user-select: none;
  border: none;
  background: #febd59;
}

.section-header .btns button:hover {
  background-color: #424c56;
  color: #ffffff;
}

.header-text{
  COLOR: #424c56;
}

.section-header .btns button:nth-child(1) {
  margin-right: 5px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .container {
    padding: 50px 5%; /* Adjust padding for smaller screens */
  }

  .section-header {
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center items */
    text-align: center; /* Center text */
  }

  .acc-wrapper {
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center items */
  }

  .section-header .btns {
    margin-top: 20px; /* Add space above buttons */
    justify-content: center; /* Center buttons */
  }

  .section-header h1 {
    font-size: calc(18px + 2vw); /* Adjust font size for smaller screens */
  }

  .section-header h3 {
    font-size: 16px; /* Adjust font size for smaller screens */
  }

  .acc-body {
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center items */
  }

  .acc-item {
    flex: 1 1 100%; /* Full width on smaller screens */
  }

  .acc-img {
    margin-left: 0; /* Remove left margin on smaller screens */
    max-width: 100%; /* Make image full width on small screens */
  }
}

@media (max-width: 480px) {
  .section-header h1 {
    font-size: calc(18px + 2vw); /* Adjust font size for smaller screens */
  }

  .acc-img {
    max-height: 200px; /* Adjust image height for smaller screens */
  }
  .section-header .btns button {
    padding: 8px 14px; /* Adjust button padding for smaller screens */
    font-size: 14px; /* Adjust button font size */
  }
}

.container .slider{
  position: relative;
  width: 100%;
  height: 307px;
  /*background-color: lightgreen;*/
  overflow: hidden;
}
.slider .slider-item{
  width: 300px;
  max-height: 400px;
  border-radius: 15px;
  position: absolute;
  top: 0;
  left: 0;
  transition: left 0.5s cubic-bezier(0.645, 0.045, 0.354, 1);
  overflow: hidden;
}
.slider-item:nth-child(1){
  left: calc(-300px + -20px);
}
.slider-item:nth-child(2){
  left: 0;
}
.slider-item:nth-child(3){
  left: calc(300px + 20px);
}
.slider-item:nth-child(4){
  left: calc((300px + 20px) * 2);
}
.slider-item:nth-child(5){
  left: calc((300px + 20px) * 3);
}
.slider-item:nth-child(6){
  left: calc((300px + 20px) * 4);
}
.slider-item:nth-child(7){
  left: calc((300px + 20px) * 5);
}
.slider-item:nth-child(8){
  left: calc((300px + 20px) * 6);
}
.slider-item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}
.slider-item .overlay{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 30px 20px 30px;
  background: linear-gradient(to top, rgb(101 146 187) 0%, rgb(101 146 187) 10%, rgba(255, 254, 254, 0) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}
.slider-item .overlay .explore-now-btn{
  padding: 12px 20px;
 background: rgb(178 138 66);
  color: var(--light-heading-clr);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 25px;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background-color 0.3s;
  color: white;
}
.slider-item .overlay .explore-now-btn:hover{
  background-color: var(--primary-clr);
}
.slider-item .overlay .destination-desc{
  position: relative;
  margin-top:162px;
}


.slider-item .overlay .destination-desc h3{
  margin-bottom: 1px;
  font-size: 24px;
  color: var(--light-heading-clr);
  text-transform: capitalize;
  font-weight: 500;
  letter-spacing: 0px;
  color: white;
}
.slider-item .overlay .destination-desc p{
  color: var(--light-heading-clr);
  font-size: 15px;
  color: white;
  font-family: ff-tisa-web-pro, serif;
}
.slider-item .overlay .destination-desc p i{
  margin-right: 10px;
  font-size: 18px;
  color: var(--primary-clr);
}

/* The Modal (background) */
#parishModal .modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8); /* Black with opacity */
  overflow: auto; /* Enable scroll if needed */
  padding: 20px;
  box-sizing: border-box;
}

/* Modal Content */
#parishModal .modal-content {
  background-color: #fff;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  max-width: 65%; /* Increase width to fit tabs */
  height: 80vh;
  overflow: hidden;
  display: flex; /* Use flexbox for layout */
  flex-direction: column; /* Adjust direction to stack tabs and content */
  box-sizing: border-box;
  margin-top: 100px;
}

/* Modal Body */
#parishModal .modal-body {
  display: flex; /* Align image and details side by side */
  flex-direction: row; /* Horizontal alignment of image and details */
  width: 100%;
  height: calc(100% - 50px); /* Adjust height to account for tab bar height */
}

/* Image Container */
#parishModal .image-container {
  flex: 1; /* Takes up space proportional to the container */
}

/* Modal Image */
#parishModal .modal-img {
  max-width: 100%; /* Ensure the image fits within its container */
  height: auto;
  object-fit: contain;
  display: block; /* Remove extra space below image */
}

/* Details Container */
.details-container {
  display: flex;
  flex-direction: column; /* Stack description and tabs vertically */
  flex: 2; /* Takes up more space proportional to the container */
  padding-left: 20px; /* Space between image and details */
  box-sizing: border-box;
}

/* Modal Description */
.modal-desc {
  margin-top: 10px; /* Space between description and tabs */
}

.boxed-tabs {
  margin: 0 auto;
}

.tab-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap; /* Allow tabs to wrap if needed */
  border-bottom: 2px solid #ccc;
}

.tab-links li {
  margin: 0;
}

.tab-links a {
  display: block;
  padding: 10px 20px;
  border: 1px solid #ccc;
  border-radius: 5px 5px 0 0;
  text-decoration: none;
  color: #333;
  font-weight: bold;
  transition: background-color 0.3s, color 0.3s;
  white-space: nowrap; /* Prevent text wrapping */
}

.tab-links a.active {
  background-color: #333;
  color: #fff;
  border-bottom: 1px solid transparent;
}

.tab-content {
  border: 1px solid #ccc;
  border-radius: 0 0 5px 5px;
  padding: 20px;
  background-color: #fff;
  display: none; /* Hide all tab content by default */
}

.tab-content.active {
  display: block; /* Display active tab content */
}

/* Close Button */
.close {
  color: #aaa;
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
}

.name-container {
  display: flex; /* Use flexbox to align items horizontally */
  align-items: center; /* Align items vertically centered */
  margin-top: 5px;
}

.name-container h3,
.name-container h4 {
  margin: 0; /* Remove default margins */
  padding-right: 10px; /* Add space between the elements */
}

.name-container h4 {
  font-weight: normal; /* Optional: Adjust font-weight for h4 */
}
/* Basic Modal Styles */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8); /* Black with opacity */
  overflow: auto; /* Enable scroll if needed */
}

.modal-content {
  background-color: #fff;
  margin: 15% auto; /* Center the modal */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Adjust width as needed */
  max-width: 600px; /* Set a max-width */
  position: relative; /* Ensure the close button is positioned correctly */
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* Ensure modal content does not overflow */
#tab1 .modal-content ul {
  list-style: none;
  padding: 0;
}

#tab1 .modal-content li {
  margin: 10px 0;
}

#tab1 .modal-content a {
  text-decoration: none;
  color: #007bff;
}

#tab1 .modal-content a:hover {
  text-decoration: underline;
}

/* Button Container Styles */
#tab1 .button-container {
  display: flex;
  flex-wrap: wrap;
  gap: 5px; /* Space between buttons */
  margin: 15px -5px 10px -5px;
}


#tab1 .modal-trigger {
  background-color: #4CAF50; /* Green background */
  color: white; /* White text */
  border: none; /* Remove border */
  padding: 10px 20px; /* Padding */
  text-align: center; /* Center text */
  text-decoration: none; /* Remove underline */
  display: inline-block; /* Inline block display */
  font-size: 16px; /* Font size */
  margin: 0; /* Remove margin */
  cursor: pointer; /* Pointer cursor on hover */
  border-radius: 4px; /* Rounded corners */
}

#tab1 .modal-trigger:hover {
  background-color: #45a049; /* Darker green on hover */
}

table {
  border: 5px solid black;
}
th {
background-color: lightblue
}

td {
 border: 2px solid black;
}

/****parishes end*****/






/****Offices Start*****/
.acc-wrapper {
  padding: 0px;
  margin: 0 auto;
  display: flex; /* Use flexbox to align items */
  flex-wrap: wrap; /* Allow wrapping */
}

.acc-header b {
  font: normal normal normal 18px/35px Questrial;
  color: #bd9c64;
}

body {
  margin: 0;
}

.acc-header {
  margin-bottom: 50px;
}

.acc-img {
  object-fit: contain;
  display: block;
  width: 100%; /* Make image responsive */
  max-width: 400px; /* Set a max width for the image */
  height: auto; /* Maintain aspect ratio */
  margin-left: 20px; /* Space between image and offices */
}


.accs {
  flex: 1 1 300px; /* Allow the list to take up space */
  width: 100%;
  max-width: 798px;
}

.acc-header-title {
  font: normal normal normal 48px/35px Questrial;
  margin-top: 5px;
  margin-bottom: 23px;
}

.acc-subtitle {
  max-width: 1327px;
  font: normal normal 300 18px/35px Poppins;
  margin: 0;
}

.acc-body {
  display: flex;
  flex: 1; /* Allow it to grow */
  flex-wrap: wrap; /* Allow items to wrap */
  gap: 20px; /* Adjust gap for smaller screens */
}

.acc-content {
  display: none;
  margin-bottom: 36px;
  text-align: left;
  font: normal normal 300 18px/35px Poppins;
}

.acc-item a {
  text-decoration: none;
  color: #000000;
}

.acc-item a:hover {
  color: #febd59;
  font-size: 28px;
}


.acc-item p {
  display: none;
  margin-bottom: 36px;
  text-align: left;
  font: normal normal 300 18px/35px Poppins;
}

.acc-title {
  display: flex;
  align-items: center;
  font: normal normal normal 25px/35px Questrial;
  user-select: none;
  cursor: pointer;
  padding: 30px 0px;
}

.acc-item h3 {
  display: flex;
  align-items: center;
  font: normal normal normal 25px/35px Questrial;
  user-select: none;
  cursor: pointer;
  padding: 30px 0px;
  margin: 0;
}

.acc-item h3 span {
  flex-grow: 1;
  font-family: effra, helvetica, sans-serif;
}

.acc-item h3:before {
  content: url("https://svgshare.com/i/zR1.svg");
  margin-right: 30px;
}

.acc-title span {
  flex-grow: 1;
}

.acc-title:before {
  content: url("https://svgshare.com/i/zR1.svg");
  margin-right: 30px;
}

.acc-chevron {
  transform: rotate(180deg);
  height: 20px;
  margin-left: 20px;
  transition: 0.2s;
}

.acc-item {
  flex: 1 1 calc(25% - 20px); /* Responsive item width */
  min-width: 200px; /* Minimum width for items */
  transition: 1s;
  border-bottom: 1px solid #aaa;
  padding: 10px 0; /* Add some padding for better spacing */
}

.acc-item:last-child {
  border-bottom: none;
}

@media screen and (max-width: 1680px) {
  .acc-wrapper {
    width: calc(100% - 80px);
  }
}

@media screen and (max-width: 1400px) {
  .acc-body {
    gap: 40px;
  }

  .accs {
    min-width: calc(50% - 20px);
  }

  .acc-img {
    width: calc(50% - 20px);
  }
}

@media screen and (max-width: 1200px) {
  .acc-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .accs {
    max-width: initial;
  }

  .acc-img {
    max-width: initial;
    width: 100%;
    aspect-ratio: 410/247;
  }

  .accs {
    width: 100%;
  }
}

@media screen and (max-width: 864px) {
  .acc-wrapper {
    width: calc(100% - 20px);
    padding: 0px 10px;
    margin-top: 33px;
    margin-bottom: 154px;
  }

  .acc-body {
    gap: 7px;
  }

  .acc-header {
    margin-bottom: 30px;
  }

  .acc-header b {
    display: none;
  }
}

/****offices end*****/




/****section start*****/
section {
  align-items: center;
  flex-direction: column;
  /* padding: 60px 15px 0; */
}
section h2 {
  font-size: 4rem;
}
section > p {
  text-align: center;
}
/****section end*****/


/****Bishops start*****/
.bishop {
    padding: 100px 18px;
}




.bishop .header-text h1 {
  font-size: 5vw; /* Responsive font size based on viewport width */
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-clr);
  margin: 0; /* Remove default margin */
}

.bishop .header-text {
  width: 100%;
  min-height: 0vh;
  padding: 0 5%; /* Adjust padding for better responsiveness */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; /* Center align items */
}

/* Media Queries for additional responsiveness */
@media (max-width: 768px) {
  .bishop .header-text h1 {
      font-size: 8vw; /* Increase font size for smaller screens */
  }
}

@media (max-width: 480px) {
  .bishop .header-text h1 {
      font-size: 10vw; /* Further increase font size for very small screens */
  }
}


 #next-btn {
            margin-top: 20px;
            padding: 10px 20px;
            background-color: #007bff;
            color: white;
            border: none;
            cursor: pointer;
        }

.portrait-container {
  padding: 0 5vw;
}

@media all and (min-width: 64em) {
  .portrait-container {
    padding: 0 15vw;
    margin-top: 30px;
  }
}

.portrait {
    display: inline-flex;
    justify-content: center;
    height: 10rem;
    width: 11rem;
    /* border-radius: 2.5rem; */
    margin: 1em;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    transition: all .3s;
    /* filter: grayscale(100%); */
}

.portrait:hover {
  filter: grayscale(0);

}


.portrait-details {
  white-space: nowrap;
  position: absolute;
  bottom: 2.5rem;
  padding: 0;
  background: #FAFAFA;
  border: solid 1px SteelBlue;
  box-shadow: 0 3px 7px 1px rgba(0,0,0,0.3);
  border-radius: 5px;
  transition: all .2s ease-in-out;
  opacity: 0;
  visibility: hidden;
}

@media all and (max-width: 64em) {
  .portrait-details {
    white-space: normal;
    min-width: 220px;
  }
}

.portrait-details:after {
  content: '';
  display: block;
  background-color: #fff;
  border-bottom: 1px solid SteelBlue;
  border-right: 1px solid SteelBlue;
  bottom: -6px;
  height: 10px;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  width: 10px;
  transform: rotate(45deg);
}

.show .portrait-details {
  opacity: 1;
  visibility: visible;
  bottom: 5rem;
}

.portrait-details li {
  color: Grey;
  padding: .3em 1.9em;
  font: 400 .8em/1 'PT Sans';
  list-style: none;
}

.portrait-details li:first-child {
  font: 700 1em/1 'PT Sans';
  padding: .6em 1.5em;
  color: #000;
  border-bottom: solid 1px #fff;
  background-image: linear-gradient(left top, SteelBlue, #B0C4DE);
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}

.portrait-details li:last-child {
  border-bottom: none;
  /****padding-bottom: 1.5em;***/
}

.portrait-details li:nth-child(2) {
  color: Grey;
  padding: 1.5em 1.9em .7em;
  font-weight: 700;
}

.portrait-details a {
  color: SteelBlue;
  cursor: pointer;
}

[class*="fontawesome-"]:before {
  font-family: ff-tisa-web-pro, rockwell, serif;
  color: SteelBlue;
  margin-right: .3em;
}

.fontawesome-phone a {
  text-decoration: none;
}


/* Ensure the modal is centered and covers the screen */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  /* z-index: 1; Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
  max-width: 600px; /* Limits the max width of the modal */
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* Responsive image */
.responsive-img {
   width: 50%;
   height: auto;
}


  .button-container {
    display: flex; /* Use flexbox for horizontal layout */
    justify-content: space-between; /* Distribute buttons evenly */
    margin: 20px; /* Margin around the button container */
  }

  .button {
    padding: 10px 20px; /* Padding inside each button */
    background-color: #007bff; /* Button background color */
    color: #fff; /* Text color */
    border: none; /* Remove default border */
    border-radius: 5px; /* Rounded corners */
    text-align: center; /* Center text */
    text-decoration: none; /* Remove underline */
    cursor: pointer; /* Cursor style */
    transition: background-color 0.3s ease; /* Smooth background transition */
  }

  .button:hover {
    background-color: #0056b3; /* Darker background color on hover */
  }
/* Button Container Styles */
#clergy .button-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px; /* Space between buttons */
  margin-top: 10px;
}

#clergy .modal-trigger {
  background-color: #4CAF50; /* Green background */
  color: white; /* White text */
  border: none; /* Remove border */
  padding: 10px 20px; /* Padding */
  text-align: center; /* Center text */
  text-decoration: none; /* Remove underline */
  display: inline-block; /* Inline block display */
  font-size: 16px; /* Font size */
  margin: 0; /* Remove margin */
  cursor: pointer; /* Pointer cursor on hover */
  border-radius: 4px; /* Rounded corners */
}

#clergy .modal-trigger:hover {
  background-color: #45a049; /* Darker green on hover */
}
#bishopModal .modal-content {
	 background-color: #fff;
  margin: auto;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 1000px;
  position: relative;
  margin-top: 90px;
}
/****Bishops end*****/


/****Clergy Start*****/

.priest .header-text{
  width: 100%;
  min-height: 0vh;
  padding: 0px 1%;
  display: flex;
  flex-direction: column;
  justify-content: center;

}

.grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 60px;
    left: 60px;
}

.priest-card {
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
}

.priest-card:hover {
  transform: scale(1.09);
}

.priest-card img {
  width: 125px; 
  height: 125px;
  border-radius: 50%; 
  object-fit: cover; 
}
.priest-name {
    text-align: center;
    margin-top: 10px;
    font-weight: bold;
    font-size: 16px;
}

.priest-pos {
    text-align: center;
    margin-top: 8px;
    font-weight: bold;
    font-size: 13px;
	font-style: italic;
}

.modal {
  display: none; /*Hidden by default*/
  position: fixed; /*Stay in place*/
  z-index: 1; /*Sit on top */
  left: 0;
  top: 0;
  width: 100%; /*Full width*/ 
  height: 100%; /*Full height*/
  overflow: auto; /*Enable scroll if need*/
  background-color: /*rgb(0,0,0); Fallback col*/
  background-color: /*rgba(0,0,0,0.4); Black w/ opacity*/
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /*15% from the top and centered*/ 
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /*Could be more or less, depending on screen size*/ 
}


.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.round {
    padding: 10px 15px; /* Padding for the buttons */ 
    border-radius: 5px; /* Rounded corners */
    background-color: #007bff; /* Button color */
    color: white; /* Text color */
    ext-decoration: none; /* Remove underline */
    margin-left: 10px; /* Space between buttons */
}

.round:hover {
     background-color: #0056b3; /* Darker color on hover */
}

.clergy-container {
  width: fit-content;
  padding: 10px 10px 30px 10px; /* extra bottom padding to mimic Polaroid */
  background: white;
  border: 1px solid #ccc;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  text-align: center;
  margin: 80px auto;
}

.clergy-container img {
  display: block;
  max-width: 100%;
  height: auto;
}

/****Clergy end*****/
.dropdown {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 160px;
  border: 1px solid #ccc;
  z-index: 1000;
}

.dropdown li a {
  display: block;
  padding: 10px;
  color: #333;
  text-decoration: none;
}

.dropdown li a:hover {
  background-color: #f1f1f1;
}

.has-dropdown {
  position: relative;
  display: inline-block;
}





/****Gallery start

.filter-buttons {
  text-align: center;
  margin-bottom: 20px;
}

.filter-button {
  margin: 0 5px;
  padding: 8px 16px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.filter-button:hover {
  background-color: #0056b3;
}


#myImg {
  border-radius: 0px;
  cursor: pointer;
  transition: 0.3s;
}

#myImg:hover {
  opacity: 0.7;
}

.modal {
  display: none;
  position: fixed;
  z-index: 6;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

.modal-content,
#caption {
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from {
    transform: scale(0)
  }
  to {
    transform: scale(1)
  }
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

@media only screen and (max-width: 700px) {
  .modal-content {
    width: 100%;
  }
}
  

* {
  box-sizing: border-box;
}

.row-pg {
  display: -ms-flexbox; 
  display: flex;
  -ms-flex-wrap: wrap; 
  flex-wrap: wrap;
  padding: 0 4px;
  margin-left: auto;
  padding-left: 285px;
  padding-right: 285px;
}


.column-pg {
  -ms-flex: 25%; 
  flex: 25%;
  max-width: 25%;
  padding: 0 4px;
  flex-direction: column;
  column-gap: 25px;
}

.column img {
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
}

@media screen and (max-width: 600px) {
  .enap-gallery-img {
    padding-left: 5px;
    padding:right: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
    }
}

@media screen and (max-width: 800px) {
  .column-pg {
    -ms-flex: 50%;
    flex: 50%;
    max-width: 50%;
    column-gap: 5px;
    flex-direction: column;
  }
  .row-pg {
    padding-left: 0px;
    padding-right: 0px;
  }
}

@media screen and (max-width: 600px) {
  .column-pg {
    -ms-flex: 100%;
    flex: 100%;
    max-width: 100%;
    column-gap: 10px;
    flex-direction: column;
  }
  .row-pg {
    padding-left: 15px;
    padding-right: 15px;
  }
}

.previous, .next {
  background-color: #4CAF50; 
  color: white; 
  border: none; 
  padding: 10px 20px;
  text-align: center; 
  text-decoration: none; 
  display: inline-block; 
  font-size: 16px; 
  margin: 10px; 
  cursor: pointer; 
  border-radius: 5px; 
  transition: background-color 0.3s; 
  font-family: effra, helvetica, sans-serif;
}

.previous:hover, .next:hover {
  background-color: #45a049;
}

.previous:disabled, .next:disabled {
  background-color: #ccc; 
  cursor: not-allowed; 
}


/****Gallery end*****/

.gallery{
  padding-top: 55px;
}

.gallery h1 {
      text-align: left;
    font-size: calc(11px + 1.5vw);
    color: var(--dark-heading-clr);
    font-weight: 600;
    margin-top: 10px;
    padding: 30px 184px 36px;
}



.group {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap; /* Keeps the items wrapped to the next line if necessary */
  gap: 20px; /* Adds spacing between the flip boxes */
}



.group .flip {
  position: relative;
  display: inline-block;
  margin: 0 10px; /* Adjusted margin for better spacing */
  width: 100%;
  max-width: 348px;
  flex: 1 1 300px; /* Allows the flip boxes to grow and shrink */
}

.front p {
  font-size: 1.5rem;
  text-align: center;
  margin-top: 4.5rem;
}

.flip > .front,
.flip > .back {
  display: block;
  color: white;
  width: inherit;
  background-size: cover !important;
  background-position: center !important;
  height: 220px;
  padding: 1em 2em;
  background: #313131;
  border-radius: 10px;
  transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transition-duration: 0.5s;
  transition-property: transform, opacity;
  background-blend-mode: soft-light;
}

.flip > .front {
  transform: rotateY(0deg);
}

.flip > .back {
  position: absolute;
  opacity: 0;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  transform: rotateY(-180deg);
}

.flip:hover > .front {
  transform: rotateY(180deg);
}

.flip:hover > .back {
  opacity: 1;
  transform: rotateY(0deg);
}

.view-more-btn {
  padding: 0.5rem 1rem;
  background-color: #febd59; /* Button color */
  color: rgb(0, 0, 0);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  margin-top: 2rem;
  border-radius: 6rem;
  text-decoration: none;
}

.view-more-btn:hover {
  background-color: #424c56; /* Darker color on hover */
  color: #ffffff;
}

.back p {
  margin-bottom: 18px;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  .gallery h1 {
    font-size: 2rem; /* Smaller heading on smaller screens */
  }

  .group .flip {
    max-width: 90%; /* Allow more width on smaller screens */
    margin: 10px 0; /* Adjust margin for better spacing */
  }

  .front p {
    font-size: 1.2rem; /* Smaller text on smaller screens */
  }

  .view-more-btn {
    font-size: 0.9rem; /* Smaller button text */
  }
}

@media (max-width: 480px) {
  .gallery h1 {
    font-size: 1.5rem; /* Even smaller heading */
  }

  .front p {
    font-size: 1rem; /* Even smaller text */
  }

  .view-more-btn {
    padding: 0.4rem 0.8rem; /* Smaller button padding */
  }
}


/**Footer start**/



footer{
  /**background-image: url("images/bg.jpg");**/
  width: 100%;
  bottom: 0;
  left: 0;
      background-color: #febd59;
}
footer::before{
  cont: '';
  position: absolute;
  left: 0;
  top: 100px;
  height: 1px;
  width: 100%;
  background: #AFAFB6;
}
footer .cont{
  max-width: 1250px;
  margin: auto;
  padding: 30px 40px 40px 40px;
}
footer .cont .top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 50px;
}
.cont .top .logo-details {
    color: #424c56;
    font-size: 20px;
    font-weight: bold;
    margin-left: -25px;
}
.cont .top .media-icons{
  display: flex;
}
.cont .top .media-icons a{
  height: 40px;
  width: 40px;
  margin: 0 8px;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  color: #fff;
  font-size: 17px;
  text-decoration: none;
  transition: all 0.4s ease;
}
.top .media-icons a:nth-child(1){
  background: #4267B2;
}
.top .media-icons a:nth-child(1):hover{
  color: #4267B2;
  background: #fff;
}
.top .media-icons a:nth-child(2){
  background: #1DA1F2;
}
.top .media-icons a:nth-child(2):hover{
  color: #1DA1F2;
  background: #fff;
}
.top .media-icons a:nth-child(3){
  background: #E1306C;
}
.top .media-icons a:nth-child(3):hover{
  color: #E1306C;
  background: #fff;
}
.top .media-icons a:nth-child(4){
  background: #0077B5;
}
.top .media-icons a:nth-child(4):hover{
  color: #0077B5;
  background: #fff;
}
.top .media-icons a:nth-child(5){
  background: #FF0000;
}
.top .media-icons a:nth-child(5):hover{
  color: #FF0000;
  background: #fff;
}
footer .cont .link-boxes{
  width: 100%;
  display: flex;
  justify-content: space-between;
}
footer .cont .link-boxes .box{
  width: calc(100% / 5 - 10px);
}
.cont .link-boxes .box .link_name{
  color: #424c56;
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 10px;
  position: relative;
}
.link-boxes .box .link_name::before{
  cont: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 35px;
  background: #fff;
}
.cont .link-boxes .box li{
  margin: 6px 0;
  list-style: none;
}
.cont .link-boxes .box li a{
  color: #424c56;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  transition: all 0.4s ease
}
.cont .link-boxes .box li a:hover{
  opacity: 1;
  text-decoration: underline;
  COLOR: rgb(255, 255, 255);
}
.cont .link-boxes .input-box{
  margin-right: 55px;
}
.link-boxes .input-box input{
  height: 40px;
  width: calc(100% + 55px);
  outline: none;
  border: 2px solid #AFAFB6;
  background: #140B5C;
  border-radius: 4px;
  padding: 0 15px;
  font-size: 15px;
  color: #424c56;
  margin-top: 5px;
}
.link-boxes .input-box input::placeholder{
  color: #AFAFB6;
  font-size: 16px;
}
.link-boxes .input-box input[type="button"]{
  background: #424c56;
  color: #140B5C;
  border: none;
  font-size: 18px;
  font-weight: 500;
  margin: 4px 0;
  opacity: 0.8;
  cursor: pointer;
  transition: all 0.4s ease;
}
.input-box input[type="button"]:hover{
  opacity: 1;
}
footer .bottom-details{
  width: 100%;
  /***background-color: #444444;***/
  
}
footer .bottom-details .bottom_text{
  max-width: 1250px;
  margin: auto;
  padding: 20px 30px;

  justify-content: space-between;
}
.bottom-details .bottom_text span,
.bottom-details .bottom_text a{
  font-size: 14px;
  font-weight: 300;
  color: #424c56;
  text-decoration: none;
}
.bottom-details .bottom_text a:hover{
  opacity: 1;
  text-decoration: underline;
}
.bottom-details .bottom_text a{
  margin-right: 10px;
}
@media (max-width: 900px) {
  footer .cont .link-boxes{
    flex-wrap: wrap;
  }
  footer .cont .link-boxes .input-box{
    width: 40%;
    margin-top: 10px;
  }
}
@media (max-width: 700px){
  footer{
    position: relative;
  }
  .cont .top .logo-details{
    font-size: 26px;
  }
  .cont .top .media-icons a{
    height: 35px;
    width: 35px;
    font-size: 14px;
    line-height: 35px;
  }
  footer .cont .link-boxes .box{
    width: calc(100% / 3 - 10px);
  }
  footer .cont .link-boxes .input-box{
    width: 60%;
  }
  .bottom-details .bottom_text span,
  .bottom-details .bottom_text a{
    font-size: 12px;
  }
}
@media (max-width: 520px){
  footer::before{
    top: 145px;
  }
  footer .cont .top{
    flex-direction: column;
  }
  .cont .top .media-icons{
    margin-top: 16px;
  }
  footer .cont .link-boxes .box{
    width: calc(100% / 2 - 10px);
  }
  footer .cont .link-boxes .input-box{
    width: 100%;
  }
}

.box p {
    
    max-width: 1200px;
    width: 100%;
    align-items: center;
    justify-content: normal;
    margin-bottom: 10px;
    color: #424c56;
}

.box a:hover {
    color: #ffffff;
}

.box a {
    
    max-width: 1200px;
    width: 100%;
    align-items: center;
    justify-content: normal;
    margin-bottom: 10px;
    color: #424c56;
}
.logo-details img {
    width: 50px;
    height: 50px;
}

/****footer end*****/