@font-face {
  font-family: 'Lora-Italic-VariableFont_wght';
  src: url('/fonts/Lora-Italic-VariableFont_wght.ttf') format('truetype'); /* Adjust path */
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body, html {
    font-family: 'Lora-Italic-VariableFont_wght';
    height: 100%;
   
  }
  .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    max-width: 1200px;
}

.header{
  /* font-family: ; */
  background-color: #2b344700; color: #69B5DE; position: fixed; top: 0; left: 0; width: 100%; z-index: 9999; padding-bottom:10px;
}
.scrolled-header {
  background-color: #ffffff !important;
  transition: background-color 0.3s ease;
}

.scrolled-header a {
  color: black !important; /* Optional: change link color on scroll */
}



.slider {
  position: relative;
  /* top: -80px; */
  height: 75vh;
  overflow: hidden;
}
  
  .slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 90%;
    display: none;
    background-size: cover;
    background-position: center;
    transition: opacity 1s ease-in-out;
  }
  
  .slide.active {
    display: block;
  }
  
  .slide-content {
    background-repeat: no-repeat;
    width: auto;
    background-image: url('images/banner1.jpg'); 
    background-size: cover;  
    display: flex;
    justify-content: space-between;
    align-items: center;
  height: 620px;
    padding: 0 10%;
    color: white;
   
  }
  
  .text-left {
     margin-top: -40px;
    flex: 1;
    padding-right: 100px;
  }
  
  .text-left h1 {
    color:#8a142e;
    font-size: 52px;
    font-weight: 600;
    margin-bottom: 20px;
  }
  
  .text-left p {
    font-size: 1.2rem;
  }
  
  .image-right {
    flex: 1;
    text-align: right;
  }
  
  .image-right img {
    padding: 50px;
  margin: 140px 0px 0px 0px;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
  }
  .slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 24px;
    padding: 12px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .slider-arrow:hover {
    background-color: rgba(255, 255, 255, 0.4);
  }
  
  .left-arrow {
    left: 20px;
  }
  
  .right-arrow {
    right: 20px;
  }
  

  .btn
  {
    font-size: 16px;
    text-decoration: none;
    padding: 15px 40px 15px 40px;
    background-color: #7e4555;
    color:white;
    border-radius: 30px;
  }

  .btn1
  {
    text-decoration: none;
    padding: 10px 50px 10px 50px;
    background-color: #7e4555;
    color:white;
    border-radius: 30px;
    border: none;
  }

  .btn2
  {
    width: fit-content;
    margin-top:20px;
    font-size: 14px;
    text-decoration: none;
    padding: 10px 50px 10px 50px;
    background-color: #7e4555;
    color:white;
    border-radius: 30px;
  }
  
  p.landing {
    color: #430000;
    font-size: 20px;
}

p.carddesign {
    padding: 0 40px 0 40px;
}


.custom-section {
  background-color: transparent;
  background-image: linear-gradient(180deg, #49263d 46%, rgba(73, 38, 61, 0) 140%);
  opacity: 1;
  transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 100px;
    position: relative;
    overflow: hidden;
  }

  @keyframes rotate360 {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.custom-section::before {
    content: '';
    background: url(images/flower.webp) no-repeat top center;
    background-size: contain;
    position: absolute;
    top: -210px;
    left: 0;
    width: 100%;
    height: 450px;
    z-index: 0;
    pointer-events: none;
    animation: rotate360 10s linear infinite;
    transform-origin: center center;
}


  .banner-section {
 background-color: transparent;
   background-image: linear-gradient(180deg, #49263d 46%, rgba(73, 38, 61, 0) 140%);
   opacity: 1;
   transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
    color: white; 
    padding: 100px;
    position: relative;
    overflow: hidden;
  }

  @keyframes rotate360 {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}


.banner-section::before {
    content: '';
    background: url('images/flower.webp') no-repeat top center;
    background-size: contain;
    position: absolute;
    top: -210px;
    left: 0;
    width: 100%;
    height: 450px;
    z-index: 0;
    pointer-events: none;
    animation: rotate360 10s linear infinite;
    transform-origin: center center;
}



.social-icons
{
  gap:5px;
  background-color: #ea762b;
    color: #E6F1F3;
    padding: 3px 10px 0px 10px;
    border-radius: 61px;
    font-size: 24px;
}




  .section-image,
  .section-text {
    z-index: 1;
    width: 48%;
  }

  .section-image img {
    border-radius: 50%;
    max-width: 100%;
    width: 80%;
    height: 80%;
  }

  h2.about {
    line-height: 40px;
    font-size: 2rem;
    font-weight: 600;
}
.col-md-9.d-flex.flex-column.justify-content-between.event {
  background-color: white;
    margin-left: -4%;
}

section.cardsection {
  background: #ffefe2;
}

.featured-section {
    display: flex;
    gap: 10px;
  }
  
  .column {
    flex: 1;
  }
  


  
  /* First Column (Single Row) */
  .column-1 {
    font-size: 32px;
    font-weight: 600;
    display: flex
;
    height: 600px;
    border: 1px solid black;
    padding: 20px;
    text-align: left;
    background-image: url(images/servicebg.png);
    background-size: cover;
    background-position: center;
    color: white;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
  }
  
  /* Second Column with 2 Rows */
  .column-2 {

    display: flex;
    flex-direction: column;
   
  }
  
  /* First Row of Second Column */
  .row-1 {
    
    font-weight: 600;
    padding: 10px 160px 70px 30px;
    font-size: 28px;
    display: flex
;
    height: 300px;
    border: 1px solid black;
    text-align: left;
    background-image: url(https://vihara.themerex.net/wp-content/uploads/2019/07/new-post-11-copyright-770x428.jpg);
    background-size: cover;
    background-position: center;
    color: white;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
  }
  
  /* Second Row of Second Column */
  .row-2 {
    font-weight: 600;
    padding: 10px 160px 70px 30px;
    font-size: 28px;
    display: flex
;
    height: 300px;
    border: 1px solid black;
    text-align: left;
    background-image: url(images/servicebg1.png);
    background-size: cover;
    background-position: bottom;
    color: white;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
  }
  
  .section {
 
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 20px auto;
    padding:30px;
  }
  .text-column {
    flex: 1;
  }
  .form-column {
    flex: 1;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  .form-column form {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  .form-column input {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  .form-column button {
    padding: 12px;
    background-color: #007BFF;
    color: #fff;
    border: none;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  .form-column button:hover {
    background-color: #0056b3;
  }
  @media (max-width: 768px) {
    .section {
      flex-direction: column;
    }
    .slide-content {
    background-repeat: no-repeat;
    width: auto;
    background-image: url(images/banner1.jpg);
    background-size: contain;
    display: flex
;
    justify-content: space-between;
    align-items: center;
    height: 620px;
    padding: 0 10%;
    color: white;
}

.box {
    display: flex
;
    text-align: left;
    flex-direction: column;
    justify-content: flex-end;
}

.slider {
    position: relative;
    top: 82px;
    height: 90vh;
    overflow: hidden;
}
.text-left h1 {
    color: #8a142e;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}
p.landing {
  display: none;
    color: #430000;
    font-size: 10px;
}

 .sidebarbtn
  {
    border:none;
    font-size: 16px;
    text-decoration: none;
           padding: 5px 25px 5px 25px;
    background-color: #7e4555;
    color:white;
    border-radius: 30px;
  }

p.carddesign {
    padding: 0;
}

  .btn
  {
    margin-top:10px;
 font-size: 15px;
        text-decoration: none;
        padding: 3px 20px 3px 25px;
        background-color: #7e4555;
        color: white;
        border-radius: 30px;
  }
.btn1 {
   font-size: 12px;
    text-decoration: none;
    padding: 10px 50px 10px 50px;
    background-color: #7e4555;
    color: white;
    border-radius: 30px;
    border: none;
}
.btn:hover {
    font-size: 12px;
    text-decoration: none;
 padding: 8px 15px 8px 15px;
     background: white;
    color: #7e4555;
    border-radius: 30px;
}
.text-left {
    margin-top: -40px;
    flex: 1;
    padding-right: 40px;
}
.slider-arrow {
    position: absolute;
    top: 22%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 24px;
    padding: 7px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
    transition: background 0.3s ease;
        display: none;
;
    align-items: center;
    justify-content: center;
}
    .slider {
        position: relative;
        top: 82px;
        height: 38vh;
        overflow: hidden;
    }


  }



  .bannersection-text
  {
    position: relative;
    z-index: 1;
    width: 100%;
  }



  .about-hero {
    position: relative;
    height: 50vh;
    background: url('https://vihara.themerex.net/wp-content/uploads/2018/12/header-copyright.jpg') no-repeat center center/cover;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    color: white;
  }

  .about-overlay {
    width: 100%;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.132); /* dark overlay at bottom */
    text-align: center;
  }

  .breadcrumb-nav {
    font-size: 14px;
    color: #c8513e;
    margin-bottom: 10px;
  }

  .breadcrumb-nav a {
    color: #f59c3f;
    text-decoration: none;
  }

  .breadcrumb-nav a:hover {
    text-decoration: underline;
  }

  .about-title {
    
    font-size: 36px;
    margin: 0;
  }

  .about-section {
    
    padding: 60px ;
    background-color: #f8f9fa;
  }

  .about-image img {
    width: 100%;
    border-radius: 10px;
  }
  .about-para
  {
    padding-left:15%;
    padding-right:15%;
  }

  .container.progress-container{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 40px;
    max-width: 900px;
    margin: 0 auto;
  }
  .progress-bar-bg {
    background: #ddd;
    border-radius: 20px;
    overflow: hidden;
    height: 20px;
    margin: 15px 0;
  }

  .progress-bar-fill {
    height: 100%;
    width: 0;
    background:#72a5ce;
    transition: width 2s ease;
  }

  .number {
    font-size: 24px;
    font-weight: bold;
  }

  .box {
    text-align: left;
}

.card-section
{
  padding-bottom:90px;
  background-color: #ffefe2;
}
.card {
  border: none;
  display: flex;
  text-align: center;
justify-content: center;
  align-items: center;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 0.8s ease forwards;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card:nth-child(1) {
  animation-delay: 0.1s;
}

.card:nth-child(2) {
  animation-delay: 0.2s;
}

.card:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card:hover {
  transform: translateY(-15px);
}

.card:hover.card-1 {
  box-shadow: 0 12px 24px rgba(13, 110, 253, 0.5); /* Bootstrap Primary */
}

.card:hover.card-2 {
  box-shadow: 0 12px 24px rgba(13, 110, 253, 0.5); /* Bootstrap Primary */
}

.card:hover.card-3 {
  box-shadow: 0 12px 24px rgba(13, 110, 253, 0.5); /* Bootstrap Primary */
}

.card-img-top {
  align-items: center;
  max-height: 200px;
width:120px;
  border-top-left-radius: calc(0.5rem - 1px);
  border-top-right-radius: calc(0.5rem - 1px);
}


.sectionhistory {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px;
  max-width: 1000px;
  margin: auto;
}
.left-content {
  flex: 1;
  padding-right: 20px;
}
.left-content h2 {
  font-size: 28px;
  margin-bottom: 10px;
}
.left-content p {
  font-size: 18px;
  margin-bottom: 20px;
}
.controls {
  background-color:white;
  display: flex;
  gap: 10px;
}
.controls button {
  background-color: #ea762b;
  padding: 10px 20px;
  font-size: 16px;
}
.right-image {
  flex: 1;
  text-align: center;
}
.right-image img {
  max-width: 100%;
  height: auto;
}

.btn:hover {
   font-size: 16px;
    text-decoration: none;
    padding: 15px 40px 15px 40px;
    background-color: #7e4555;
    color: white;
    border-radius: 30px;
}



@media(max-width: 768px) {
  .sectionhistory {
    flex-direction: column;
  }
  .left-content, .right-image {
    padding: 10px;
  }
}



@media (max-width: 768px) {
   section.spiritual {
    display: none;
}
a.menumobile.d-block.mb-2 {
    font-size: 24px;
    color: black;
    text-decoration: auto;
}
    .slide-content {
        display: flex;
       
        justify-content: space-between;
      align-items: flex-start;
        height: 100%;
        padding: 60px 10%;
        color: white;
 
        flex-direction: column;
    }
.topservicebox {
    width: 100%;
   
}
.about-section {
    padding: 20px;
    background-color: #f8f9fa;
}
.about-para {
    padding-left: 0%;
    padding-right: 0%;
}
.banner-section {
    background-color: transparent;
    background-image: linear-gradient(180deg, #49263d 46%, rgba(73, 38, 61, 0) 140%);
    opacity: 1;
    transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
    color: white;
    padding: 30px;
    position: relative;
    overflow: hidden;
}

    .custom-section {
        background-color: #2c3850;
        color: white;
        display: flex
    ;
        align-items: center;
        justify-content: space-between;
              padding: 0px 0px 20px 0px;
        position: relative;
        overflow: hidden;
        flex-direction: column;
    }
    .section-image, .section-text {
        z-index: 1;
        width: 80%;
    }
    img.img-fluid.rounded-start.h-100 {
        width: 100%;
    }
    .col-md-9.d-flex.flex-column.justify-content-between.event {
        margin-left: 0%;
    }
    .image-right img {
      padding: 45px;
      margin: 0px;
      max-width: 100%;
      height: auto;
      border-radius: 10px;
  }
  }

  .form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
  }
  .form-row input,
  .form-row textarea {
    border: 1px solid #fd8f8f;
    border-radius: 20px;
    flex: 1;
    padding: 8px;
    font-size: 1rem;
  }
  .form-group {
    margin-bottom: 1rem;
  }

  .d-flex.align-items-center.card-textbox {
    margin-left:-31px;
    padding-right: 0px;
}

.card-body.d-flex.align-items-center.justify-content-between.eventbox {
  background: white;
}

section.eventpage
{
  background-color: #ffefe2;
}

.team-card img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  margin-top: -50px;
  border: 4px solid white;
}
.team-card {
  overflow: hidden;
  border-radius: 15px;
}
.social-icons a {
  color: #555;
  margin: 0 8px;
  transition: color 0.3s;
}
.social-icons a:hover {
  color: #0d6efd;
}

#slider-text {
  position: relative;
  font-size: 1.25rem;
  font-style: italic;
  color: #333;
}

#slider-text::before,
#slider-text::after {
  font-family: serif;
  font-size: 40px;
  color: #8a142e;
}

#slider-text::before {
  content: '“'; /* opening quote */
  margin-right: 5px;
}

#slider-text::after {
  content: '”'; /* closing quote */
  margin-left: 5px;
}

.section.yogabox
{
  display: flex
  ;
      gap: 40px;
      align-items: flex-start;
      justify-content: center;
      max-width: 1232px;
      margin: -30px auto;
      padding: 30px;
}

.card-image-full {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-top-left-radius: calc(0.25rem - 1px);
  border-top-right-radius: calc(0.25rem - 1px);
}

.card {
  overflow: hidden;
}

.card.card.text-left.cardpattern {
  padding: 0px;
}

.card.card-1.text-center.cardpattern {
  padding: 0px;
}


.card.card-2.text-center.cardpattern {
  padding: 0px;
}

.card.card-3.text-center.cardpattern {
  padding: 0px;
}

section.event-pagesection {
  padding-top: 30px;
  padding-bottom: 30px;
  background: #ffefe2;
}

.topservicebox {

  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease-in-out;
  height: 100%;
}

.topservicebox:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}
 @keyframes blink {
      0% { opacity: 1; }
      50% { opacity: 0; }
      100% { opacity: 1; }
    }
    .blink {
      animation: blink 1s infinite;
      color: #7e4555;
    }
.imgbox {
    width:35px;
  animation: rotate360 2s linear infinite; /* Adjust time/duration as needed */
}

@keyframes rotate360 {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.map-responsive {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}

.map-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
