#templeHL-section {
  padding: 60px 0;
  background-color: #fff9f2;
  position: relative;
}

.templeHL-heading {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.templeHL-heading h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  color: #6b2c1a;
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.5px;
  position: relative;
  display: inline-block;
}

.templeHL-heading h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #ff9c00, #6b2c1a);
}

.templeHL-slider {
  padding: 0 0 40px;
}

.templeHL-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  background: #fff;
  border-radius: 12px;
  padding: 30px 25px;
  position: relative;
  overflow: hidden;
  min-height: 360px;
  height: 100%;
  border: none;
  box-shadow: 0 4px 20px rgba(107, 44, 26, 0.08);
  transition: all 0.4s ease;
}

.templeHL-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(107, 44, 26, 0.12);
}

.templeHL-box:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #ff9c00, #6b2c1a);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.templeHL-box:hover:before {
  opacity: 1;
}

.templeHL-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background-color: #fff4e6;
  color: #6b2c1a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 8px rgba(107, 44, 26, 0.1);
}

.templeHL-box:hover .templeHL-icon {
  background-color: #6b2c1a;
  color: #fff;
  transform: scale(1.05);
}

.templeHL-box h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  margin: 15px 0;
  color: #6b2c1a;
  font-weight: 600;
  line-height: 1.3;
}

.templeHL-box p {
  font-size: 1rem;
  color: #555;
  font-family: 'Raleway', sans-serif;
  flex-grow: 1;
  line-height: 1.6;
  margin-bottom: 15px;
}

.templeHL-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #6b2c1a;
  background-color: #fff4e6;
  border: 1px solid rgba(107, 44, 26, 0.1);
  border-radius: 50px;
  font-family: 'Raleway', sans-serif;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(107, 44, 26, 0.1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.templeHL-btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #ff9c00, #6b2c1a);
  transition: width 0.3s ease;
  z-index: -1;
}

.templeHL-btn:hover {
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(107, 44, 26, 0.2);
}

.templeHL-btn:hover:before {
  width: 100%;
}

.templeHL-loader {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, #ff9c00, #6b2c1a);
  transition: none;
}

.templeHL-loader.active {
  animation: templeHLloaderAnim 3s linear forwards;
}

@keyframes templeHLloaderAnim {
  0% { width: 0%; }
  100% { width: 100%; }
}

@media (max-width: 768px) {
  #templeHL-section {
    padding: 40px 0;
  }
  
  .templeHL-heading h2 {
    font-size: 2rem;
  }
  
  .templeHL-box {
    min-height: 320px;
    padding: 25px 20px;
  }
  
  .templeHL-icon {
    width: 70px;
    height: 70px;
    font-size: 28px;
  }
}
/* Photo Gallery */
#FrontPageGallery-wrapper {
  margin: 0 20px;
   font-family: 'Cormorant Garamond', serif;
}

.FrontPageGallery-container {
  display: flex;
  gap: 20px;
  height: 450px;
}

.FrontPageGallery-left,
.FrontPageGallery-right {
  flex: 1;
  min-width: 300px;
  height: 100%;
  overflow: hidden;
  position: relative;
  border-radius: 10px;
}

.FrontPageGallery-left iframe {
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

.FrontPageGallery-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 15px;
  overflow: hidden;
  padding-left: 5px;
}

.FrontPageGallery-column {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
  position: relative;
}

.FrontPageGallery-inner {
  transition: transform 0.5s ease;
}

.FrontPageGallery-column a {
  display: block;
  position: relative;
  margin-bottom: 12px;
  border-radius: 8px;
  overflow: hidden;
}

.FrontPageGallery-column img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  transition: transform 0.3s ease;
  border-radius: 8px;
}

.FrontPageGallery-column a:hover img {
  transform: scale(1.05);
}

.FrontPageGallery-column a::before {
  content: "\f00e";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  font-size: 24px;
  color: white;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.FrontPageGallery-column a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.FrontPageGallery-column a:hover::before,
.FrontPageGallery-column a:hover::after {
  opacity: 1;
}

.FrontPageGallery-controls {
  text-align: right;
  margin-top: 15px;
}

.FrontPageGallery-button {
  padding: 6px 14px;
  background-color: #800000;
  color: white;
  border: none;
  margin: 0 5px;
  cursor: pointer;
  border-radius: 6px;
}

@media (max-width: 768px) {
  .FrontPageGallery-container {
    flex-direction: column;
    height: auto;
  }

  .FrontPageGallery-left {
    height: 250px;
  }

  .FrontPageGallery-right {
    grid-template-columns: 1fr;
  }

  .FrontPageGallery-column {
    height: auto;
  }
}
/* Contact Form */
.temple-contact-form-wrapper {
  background-color: #ffffff;
  padding: 20px 20px;
  border-radius: 10px;
  box-shadow: 0px 0px 0px 1px rgb(158 154 154 / 43%);
  max-width: 650px;
  margin: 0 auto;
  font-family: 'Segoe UI', sans-serif;
}

.temple-contact-heading {
  text-align: center;
  margin-bottom: 20px;
  position: relative;
}

.temple-contact-heading h2 {
  color: #800000;
  font-size: 24px;
  font-weight: 700;
  display: inline-block;
  padding-bottom: 6px;
  margin: 0;
  position: relative;
}

.temple-contact-heading h2::after {
  content: "";
  display: block;
  height: 3px;
  width: 50px;
  background-color: #f19c00;
  margin: 6px auto 0;
  border-radius: 2px;
}

.temple-contact-form-wrapper .temple-contact-form label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  color: #333;
  font-size: 14px;
}

.temple-contact-form-wrapper .temple-contact-form input[type="text"],
.temple-contact-form-wrapper .temple-contact-form input[type="email"],
.temple-contact-form-wrapper .temple-contact-form input[type="tel"],
.temple-contact-form-wrapper .temple-contact-form textarea {
  width: 100%;
  padding: 8px 12px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #fafafa;
  transition: border-color 0.3s ease;
  margin-bottom: 12px;
}

.temple-contact-form-wrapper .temple-contact-form input:focus,
.temple-contact-form-wrapper .temple-contact-form textarea:focus {
  border-color: #800000;
  outline: none;
  background-color: #fff;
}

.temple-contact-form-wrapper .temple-contact-form textarea {
  height: 80px;
  resize: vertical;
}

.temple-contact-form-wrapper .temple-contact-form input[type="submit"],
.temple-contact-form-wrapper input.wpcf7-form-control.wpcf7-submit {
  background-color: #800000;
  color: #fff;
  padding: 9px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  font-size: 14px;
  transition: background-color 0.3s ease;
  margin-top: 5px;
}

.temple-contact-form-wrapper .temple-contact-form input[type="submit"]:hover,
.temple-contact-form-wrapper input.wpcf7-form-control.wpcf7-submit:hover {
  background-color: #f19c00;
  color: #000;
}

@media (max-width: 768px) {
  .temple-contact-form-wrapper {
    padding: 15px;
  }

  .temple-contact-heading h2 {
    font-size: 22px;
  }
}
