*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  
  background:#fff9f2;
  color:#4b2e1e;
  overflow-x:hidden;
}

.container{
  width:90%;
  max-width:1200px;
  margin:auto;
}

.section-padding{
  padding:100px 0;
}

header{
  position:fixed;
  width:100%;
  top:0;
  z-index:1000;
  background:rgba(255,255,255,0.9);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(0,0,0,0.08);
}

.nav-container{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:20px 0;
}

.logo{
  font-family:'Cinzel',serif;
  font-size:1.4rem;
  font-weight:700;
  color:#b25a00;
}

.menu-toggle{
  display: none;
}
@media (max-width:768px) {
  .logo{
  font-size:0.95rem;
  max-width: 220px;
  line-height: 1.4;
}
  
}

nav ul{
  display:flex;
  gap:25px;
  list-style:none;
}

nav a{
  text-decoration:none;
  color:#5b341d;
  position:relative;
  font-weight:500;
}

nav a::after{
  content:'';
  position:absolute;
  left:0;
  bottom:-5px;
  width:0;
  height:2px;
  background:#ff9f1c !important;
  transition:0.3s;
}

nav a:hover::after,
nav a.active::after{
  width:100%;
}

.hero{
  position:relative;
  height:100vh;
  display:flex;
  align-items:center;
  background:
  linear-gradient(rgba(255,245,230,0.7), rgba(255,248,240,0.6)),
  url('images/hero.jpg') center/cover no-repeat;
}

.hero1{
  position:relative;
  width: 100%;
  aspect-ratio: 16/9;
  display:flex;
  align-items:center;
  background:url('images/home-page-hero-new.jpeg') center/cover no-repeat;
  top: 80px;
  
}

/* .overlay{
  position:absolute;
  inset:0;
  background:radial-gradient(circle at center, rgba(255,166,0,0.15), transparent 60%);
} */

.hero-content{
  position:relative;
  z-index:2;
  max-width:700px;
}

.subtitle{
  color:#c96a00;
  font-size:1rem;
  letter-spacing:3px;
  margin-bottom:15px;
}

.hero h1{
  font-size:4rem;
  line-height:1.2;
  margin-bottom:20px;
  font-family:'Cinzel',serif;
}

.hero p{
  line-height:1.9;
  font-size:1.1rem;
}



   .hero-buttons{
      margin-top:40px;
      display:flex;
      justify-content:center;
      gap:20px;
      flex-wrap:wrap;
    }

    .btn{
      padding:16px 34px;
      border-radius:50px;
      border:none;
      font-size:16px;
      cursor:pointer;
      transition:.4s;
      font-weight:bold;
    }

.primary-btn{
  background:linear-gradient(135deg,#ff9f1c,#ffd089);
  color:#4b2e1e;
}

.secondary-btn{
  border:1px solid #d7b18c;
  color:#5b341d;
}

.btn-primary{
      background:linear-gradient(to right,#ff6a00,#ffb300);
      color:white;
      box-shadow:0 10px 25px rgba(255,140,0,0.4);
    }

    .btn-primary:hover{
      transform:translateY(-5px);
    }

    .btn-secondary{
      background:rgba(255,255,255,0.1);
      border:1px solid rgba(255,255,255,0.3);
      color:white;
      backdrop-filter:blur(10px);
    }

    .btn-secondary:hover{
      background:rgba(255,255,255,0.2);
    }
.about-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:60px;
  align-items:center;
}

.about-image img{
  width:100%;
  border-radius:25px;
  box-shadow:0 20px 60px rgba(255,153,0,0.12);
}

.section-tag{
  color:#c96a00;
  letter-spacing:3px;
  text-transform:uppercase;
  font-size:0.9rem;
}

.about-content h2,
.section-heading h2,
.contact-content h2{
  font-size:2.8rem;
  margin:15px 0 25px;
  font-family:'Cinzel',serif;
}

.about-content p{
  line-height:1.9;
  margin-bottom:20px;
}

.about-cards{
  display:flex;
  gap:20px;
  margin-top:30px;
}

@media (max-width:) {
  .about-cards{
  flex-direction: column;
}
  
}

.card{
  background:#fff;
  padding:25px;
  border-radius:20px;
  box-shadow:0 10px 30px rgba(0,0,0,0.06);
}

.card h3{
  margin-bottom:10px;
  color:#c96a00;
}

.quote-section{
  padding:90px 0;
  text-align:center;
  background:#ffe8c7;
}

.quote-section h2{
  font-size:2.5rem;
  line-height:1.6;
  font-family:'Cinzel',serif;
}

.section-heading{
  text-align:center;
  margin-bottom:60px;
}

.gallery-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:25px;
}

.gallery-item{
  overflow:hidden;
  border-radius:20px;
}

.gallery-item img{
  width:100%;
  height:350px;
  object-fit:cover;
  transition:0.5s;
}

.gallery-item:hover img{
  transform:scale(1.08);
}

.event-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:25px;
}

.event-card{
  background:#fff;
  padding:35px;
  border-radius:25px;
  box-shadow:0 10px 30px rgba(0,0,0,0.06);
  transition:0.4s;
}

.event-card:hover{
  transform:translateY(-8px);
}

.event-date{
  display:inline-block;
  padding:8px 16px;
  border-radius:50px;
  background:#fff3e2;
  color:#c96a00;
  margin-bottom:20px;
  margin-top:20px;
}

.event-card h3{
  margin-bottom:15px;
}

.event-card p{
  line-height:1.8;
}

.contact-box{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:50px;
  background:#fff;
  padding:60px;
  border-radius:30px;
  box-shadow:0 10px 40px rgba(0,0,0,0.06);
}

.contact-content p{
  line-height:1.8;
}

.contact-info{
  margin-top:25px;
}

.contact-info p{
  margin-bottom:10px;
}

.contact-form{
  display:flex;
  flex-direction:column;
  gap:20px;
}

.contact-form input,
.contact-form textarea{
  padding:16px;
  border-radius:15px;
  border:1px solid #e6d3be;
}

.contact-form button{
  padding:16px;
  border:none;
  border-radius:50px;
  background:linear-gradient(135deg,#ff9f1c,#ffd089);
  color:#4b2e1e;
  font-weight:700;
  cursor:pointer;
}

footer{
  padding:40px 0;
  text-align:center;
  border-top:1px solid rgba(0,0,0,0.08);
}

.footer-content h3{
  margin-bottom:15px;
  color:#b25a00;
  font-family:'Cinzel',serif;
}

.footer-bottom{
  margin-top:20px;
  color:#777;
  font-size:0.9rem;
}

@media(max-width:992px){

  .about-grid,
  .contact-box{
    grid-template-columns:1fr;
  }

  .hero h1{
    font-size:3rem;
  }
}

@media(max-width:768px){

  nav{
    display:none;
  }

  .hero h1{
    font-size:2.3rem;
  }

  .about-content h2,
  .section-heading h2,
  .contact-content h2{
    font-size:2rem;
  }

  .about-cards,
  .hero-buttons{
    flex-direction:column;
  }

  .contact-box{
    padding:35px;
  }
  .menu-toggle{
    display: block;
    font-size: 28px;
    cursor: pointer;
  }

  nav{
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    display: none;
  }
  nav.active{
    display: block;
  }
  nav ul{
    flex-direction: column;
    padding: 20px;
    gap: 15px;
  }
}


/* gallery code */

/* Base Layout & Typography */


/* Horizontal Row Carousel Styling */
.carousel-container {
  position: relative;
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 60px;
  box-sizing: border-box;
}

.gallery-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 15px 5px;
  scrollbar-width: none; 
}

.gallery-slider::-webkit-scrollbar {
  display: none; 
}

.gallery-slider img {
  flex: 0 0 240px;
  width: 240px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
}

.gallery-slider img:hover {
  transform: scale(1.04) translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

/* Thumbnail Row Control Arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  color: #495057;
  font-size: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  z-index: 10;
  transition: opacity 0.3s ease, transform 0.2s, background 0.2s, color 0.2s;
  opacity: 1;
}

/* CSS State helper class to hide arrows smoothly */
.carousel-arrow.hidden {
  opacity: 0;
  pointer-events: none; /* Stops the user from clicking invisible arrows */
}

.carousel-arrow:hover {
  background: #000000;
  color: #ffffff;
  transform: translateY(-50%) scale(1.05);
}

.left-arrow { left: 5px; }
.right-arrow { right: 5px; }

/* Lightbox Modal System Styles */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.85);
  flex-direction: column;
}

.blur-backdrop {
  position: absolute;
  top: 10%;
  left: 10%;
  width: 80%;
  height: 80%;
  background-size: cover;
  background-position: center;
  filter: blur(60px);
  opacity: 0.35;
  z-index: -1;
  transition: background-image 0.4s ease;
  pointer-events: none;
}

.modal-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 24px 40px;
  box-sizing: border-box;
}

.image-counter {
  color: #6c757d;
  font-size: 14px;
  font-weight: 600;
}

.close-btn {
  background: none;
  border: none;
  color: #495057;
  font-size: 32px;
  cursor: pointer;
}

.modal-main-view {
  display: flex;
  flex: 1;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px 40px 40px;
  box-sizing: border-box;
  position: relative;
}

.img-frame {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  height: 100%;
  max-height: 75vh;
}

.modal-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.15);
}

.fade {
  animation: smoothFadeIn 0.35s cubic-bezier(0.215, 0.610, 0.355, 1) forwards;
}

@keyframes smoothFadeIn {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

.nav-arrow {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  color: #495057;
  font-size: 18px;
  width: 50px;
  height: 50px;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: background 0.2s, transform 0.2s;
}

.nav-arrow:hover {
  background: #ffffff;
  color: #000000;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .carousel-container { padding: 0 50px; margin: 30px auto; }
  .gallery-slider img { flex: 0 0 180px; width: 180px; }
  .modal-main-view { padding: 0 10px 20px 10px; }
  .nav-arrow { width: 44px; height: 44px; }
}

/* Update your existing .gallery-slider img class with these styles */
.gallery-slider img {
  flex: 0 0 240px;
  width: 240px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;

  /* Lazy Loading Placeholder Background styles */
  background: #e9ecef;
  animation: pulsePlaceholder 1.5s infinite ease-in-out;
}

/* Removes the loading pulse animation once the image asset finishes downloading */
.gallery-slider img:not([src=""]) {
  animation: none;
}

@keyframes pulsePlaceholder {
  0% { background-color: #e9ecef; }
  50% { background-color: #dee2e6; }
  100% { background-color: #e9ecef; }
}

/* Keep all other previous lightbox and carousel styles exactly the same */

.card-text-new {
      font-size: 18px;
    font-weight: 600;
    text-align: left;
    color: #b25a00;
    padding-top: 5px;
    padding-bottom: 5px;
} 


/* Container layout setup */
.video-grid-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  font-family: system-ui, -apple-system, sans-serif;
}

/* The Grid adjusts for vertical items, maintaining a clean mobile card look */
.fb-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

/* Card Styling Forced to a Vertical 9:16 Aspect Ratio */
.fb-grid-card {
  position: relative;
  background-color: #000;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 9 / 16; /* Perfect crop configuration for Facebook Reels */
  
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), 
              box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Forces your iframe to fill out the fullscreen card bounds */
.fb-grid-card iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  z-index: 1;
}

/* Overlay Styling */
.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2); /* Dark overlay tint */
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none; /* Allows click-through interaction straight to the play system */
  z-index: 5;
  transition: background 0.3s ease, opacity 0.3s ease;
}

.play-btn {
  width: 64px;
  height: 64px;
  background-color: rgba(255, 255, 255, 0.95);
  color: #1c1e21;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  transform: scale(1);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), 
              background-color 0.3s ease, 
              color 0.3s ease;
}

.play-btn svg {
  margin-left: 4px;
}

/* --- Interactive Reel Hover Effects --- */
.fb-grid-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(24, 119, 242, 0.25);
}

/* Clears up transparency on hover so the clip shines cleanly */
.fb-grid-card:hover .video-overlay {
  background: rgba(0, 0, 0, 0); 
}

/* Scales and styles the custom icon element on cursor focus */
.fb-grid-card:hover .play-btn {
  transform: scale(1.15);
  background-color: #1877f2; /* Changes color to Facebook Blue */
  color: #ffffff;
}

/* WhatsApp */

    .whatsapp{
      position:fixed;
      right:15px;
      bottom:15px;
      color:white;
      padding:16px 22px;
      border-radius:50px;
      font-weight:bold;
      z-index:999;
    }

    .whatsapp img{
      width: 55px;
    }

    .map-container {
  width: 100%;
  max-width: 1200px; /* Optional: Sets a maximum width for large screens */
  margin: 0 auto;    /* Center the map on the page */
  padding: 0 15px;   /* Adds spacing on mobile screens */
  box-sizing: border-box;
}

.map-column {
    flex: 1;
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #ddd;
}

/* Optional: Change the map height on smaller mobile screens */
@media (max-width: 768px) {
  .map-container iframe {
    height: 200px;
  }
}

/* Counter Section */

.counter-section{
  position:relative;
  padding:120px 8%;
  background:
  linear-gradient(rgba(0,0,0,.7),rgba(0,0,0,.7)),
  url('images/hero.jpg');
  background-size:cover;
  background-position:center;
  background-attachment:fixed;
}

.counter-grid{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:30px;
}

.counter-box{
  text-align:center;
  padding:40px 20px;
  background:rgba(255,255,255,0.08);
  backdrop-filter:blur(10px);
  border-radius:30px;
  border:1px solid rgba(255,255,255,0.1);
}

.counter-box h2{
  font-size:58px;
  color:#ffcc80;
  margin-bottom:15px;
}

.counter-box p{
  color:#fff3dd;
  font-size:18px;
}

/* Testimonials */

.testimonial-section{
  background:#fffaf3;
}

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

.testimonial-card{
  background:white;
  padding:45px;
  border-radius:30px;
  box-shadow:0 12px 35px rgba(0,0,0,0.08);
  transition:.4s;
}

.testimonial-card:hover{
  transform:translateY(-10px);
}

.quote-icon{
  font-size:50px;
  color:#f59e0b;
  margin-bottom:20px;
}

.testimonial-card p{
  line-height:1.9;
  color:#5b3b1f;
  margin-bottom:25px;
}

.testimonial-card h4{
  color:#c2410c;
}

/* Donation */

    .donation{
      background:linear-gradient(to right,#7c2d12,#b45309);
      color:white;
      border-radius:40px;
      text-align:center;
      padding:80px 30px;
    }

    .donation h2{
      font-size:clamp(30px,5vw,50px)
      margin-bottom:25px;
    }

    .donation p{
      max-width:800px;
      margin:auto;
      line-height:1.8;
      color:#fde8c4;
    }

    /* =========================
   CONTACT SECTION
========================= */

.contact-section{
    padding:100px 20px;
    background:#faf7f2;
    position:relative;
    overflow:hidden;
    font-family:'Poppins',sans-serif;
}

.contact-container{
    max-width:1250px;
    margin:auto;
    display:grid;
    grid-template-columns:1fr 1.1fr;
    gap:60px;
    align-items:center;
    background:#fff;
    border-radius:32px;
    padding:60px;
    box-shadow:0 10px 40px rgba(0,0,0,0.06);
}

/* =========================
   LEFT SIDE
========================= */

.contact-info{
    text-align:center;
    position:relative;
}

.image-wrapper{
    position:relative;
    display:inline-block;
}

.glow{
    position:absolute;
    width:280px;
    height:280px;
    background:radial-gradient(circle,#f6b445 0%,transparent 70%);
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    opacity:.25;
    z-index:0;
}

.contact-image{
    width:300px;
    position:relative;
    z-index:2;
    filter:drop-shadow(0 15px 20px rgba(0,0,0,.15));
}

.info-card{
    margin-top:25px;
}

.small-text{
    font-size:15px;
    color:#666;
    margin-bottom:12px;
}

.info-card h3{
    font-size:32px;
    margin-bottom:5px;
    color:#222;
}

.info-card span{
    display:block;
    color:#b57b1d;
    margin-bottom:20px;
    font-weight:500;
}

.contact-link{
    display:inline-block;
    color:#333;
    text-decoration:none;
    font-size:18px;
    margin-bottom:18px;
    transition:.3s;
}

.contact-link:hover{
    color:#d88a1d;
}

.whatsapp-btn{
    display:inline-block;
    padding:12px 28px;
    background:#25D366;
    color:#fff;
    border-radius:50px;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
    box-shadow:0 10px 20px rgba(37,211,102,.2);
}

.whatsapp-btn:hover{
    transform:translateY(-3px);
}

/* =========================
   RIGHT SIDE
========================= */

.contact-form-box{
    width:100%;
}

.form-header span{
    color:#b57b1d;
    font-size:14px;
    letter-spacing:3px;
    font-weight:600;
}

.form-header h2{
    font-size:42px;
    margin:12px 0;
    color:#222;
}

.form-header p{
    color:#777;
    margin-bottom:35px;
}

/* =========================
   FORM
========================= */

.contact-form{
    display:flex;
    flex-direction:column;
    gap:22px;
}

.input-group input,
.input-group textarea{
    width:100%;
    border:none;
    background:#fafafa;
    padding:18px 22px;
    border-radius:16px;
    font-size:16px;
    border:1px solid #ececec;
    transition:.3s;
    outline:none;
}

.input-group textarea{
    min-height:170px;
    resize:none;
}

.input-group input:focus,
.input-group textarea:focus{
    border-color:#d88a1d;
    box-shadow:0 0 0 4px rgba(216,138,29,.12);
    background:#fff;
}

.contact-form button{
    border:none;
    padding:18px;
    border-radius:60px;
    background:linear-gradient(135deg,#d88a1d,#f4b13e);
    color:#222;
    font-size:17px;
    font-weight:700;
    cursor:pointer;
    transition:.3s;
    box-shadow:0 15px 25px rgba(216,138,29,.2);
}

.contact-form button:hover{
    transform:translateY(-3px);
    box-shadow:0 18px 30px rgba(216,138,29,.3);
}

/* =========================
   MOBILE RESPONSIVE
========================= */

@media(max-width:991px){

    .contact-container{
        grid-template-columns:1fr;
        padding:40px 25px;
        gap:50px;
    }

    .form-header h2{
        font-size:32px;
    }

    .contact-image{
        width:240px;
    }
}

@media(max-width:600px){

    .contact-section{
        padding:70px 15px;
    }

    .contact-container{
        border-radius:24px;
        padding:30px 20px;
    }

    .form-header h2{
        font-size:28px;
    }

    .contact-link{
        font-size:16px;
    }

    .contact-form button{
        font-size:16px;
    }
}
/* ==========================
   GURU CONNECT SECTION
========================== */

.guru-connect{

    padding:100px 20px;

    background:
    linear-gradient(
    135deg,
    #8d180e,
    #c73a18,
    #e45b1e
    );

    position:relative;

    overflow:hidden;
}

.guru-connect::before{

    content:"";

    position:absolute;

    width:900px;
    height:900px;

    top:50%;
    left:50%;

    transform:
    translate(-50%,-50%);

    background:
    radial-gradient(
    circle,
    rgba(255,255,255,.05),
    transparent 70%
    );

    border-radius:50%;
}

/* Container */

.guru-wrapper{

    max-width:1200px;

    margin:auto;

    display:grid;

    grid-template-columns:
    420px 1fr;

    gap:80px;

    align-items:center;

    position:relative;

    z-index:2;
}

/* Image Area */

.guru-image-area{

    position:relative;

    display:flex;

    justify-content:center;

    align-items:center;
}

.halo{

    position:absolute;

    width:380px;
    height:380px;

    border-radius:50%;

    background:
    radial-gradient(
    circle,
    rgba(255,213,111,.5),
    transparent 70%
    );

    filter:blur(40px);

    animation:
    pulse 5s infinite;
}

.guru-image-area img{

    width:350px;

    height:350px;

    object-fit:cover;

    border-radius:50%;

    border:8px solid
    rgba(255,255,255,.15);

    position:relative;

    z-index:2;

    animation:
    floating 6s ease-in-out infinite;

    box-shadow:
    0 20px 40px rgba(0,0,0,.3);
}

@keyframes floating{

    0%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-15px);
    }

    100%{
        transform:translateY(0);
    }
}

@keyframes pulse{

    0%{
        transform:scale(1);
    }

    50%{
        transform:scale(1.1);
    }

    100%{
        transform:scale(1);
    }
}

/* Content */

.guru-content{

    background:
    rgba(255,255,255,.08);

    backdrop-filter:
    blur(12px);

    padding:50px;

    border-radius:30px;

    border:
    1px solid rgba(255,255,255,.15);
}

.tagline{

    color:#ffd56f;

    letter-spacing:3px;

    font-size:13px;

    font-weight:600;
}

.guru-content h2{

    color:#fff;

    font-size:46px;

    line-height:1.3;

    margin-top:15px;
}

.divider{

    width:120px;

    height:3px;

    margin:20px 0;

    background:
    linear-gradient(
    90deg,
    transparent,
    #ffd56f,
    transparent
    );
}

.guru-content p{

    color:
    rgba(255,255,255,.85);

    line-height:1.8;

    font-size:18px;

    margin-bottom:35px;
}

/* Stats */

.stats{

    display:flex;

    gap:40px;

    margin-bottom:40px;
}

.stats h3{

    color:#ffd56f;

    font-size:30px;
}

.stats span{

    color:white;

    font-size:14px;
}

/* Social */

.social-links{

    display:flex;

    gap:18px;

    flex-wrap:wrap;

    margin-bottom:40px;
}

.social-links a{

    width:65px;
    height:65px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    color:white;

    text-decoration:none;

    font-size:24px;

    background:
    rgba(255,255,255,.1);

    transition:.4s;
}

.social-links a:hover{

    transform:
    translateY(-8px);

    background:#ffd56f;

    color:#8d180e;
}

/* Button */

.join-btn{

    display:inline-block;

    padding:16px 35px;

    border-radius:50px;

    text-decoration:none;

    font-weight:700;

    color:#8d180e;

    background:
    linear-gradient(
    135deg,
    #ffd56f,
    #f4b942
    );

    transition:.4s;
}

.join-btn:hover{

    transform:
    translateY(-4px);
}

/* Responsive */

@media(max-width:991px){

    .guru-wrapper{

        grid-template-columns:1fr;

        text-align:center;
    }

    .stats{

        justify-content:center;
    }

    .social-links{

        justify-content:center;
    }

    .guru-content h2{

        font-size:34px;
    }
}

@media(max-width:576px){

    .guru-image-area img{

        width:260px;
        height:260px;
    }

    .halo{

        width:280px;
        height:280px;
    }

    .guru-content{

        padding:30px;
    }

    .guru-content h2{

        font-size:28px;
    }
}

/* Floating Spiritual Particles */

.particles{

    position:absolute;

    inset:0;

    pointer-events:none;

    z-index:1;
}

.particles span{

    position:absolute;

    width:8px;
    height:8px;

    border-radius:50%;

    background:#ffd56f;

    opacity:.35;

    animation:
    particleFloat 12s linear infinite;
}

.particles span:nth-child(1){
left:10%;
animation-delay:0s;
}

.particles span:nth-child(2){
left:25%;
animation-delay:2s;
}

.particles span:nth-child(3){
left:40%;
animation-delay:4s;
}

.particles span:nth-child(4){
left:60%;
animation-delay:6s;
}

.particles span:nth-child(5){
left:80%;
animation-delay:8s;
}

.particles span:nth-child(6){
left:95%;
animation-delay:10s;
}

@keyframes particleFloat{

    0%{
        transform:
        translateY(100vh)
        scale(.5);

        opacity:0;
    }

    20%{
        opacity:.4;
    }

    100%{
        transform:
        translateY(-150px)
        scale(1.5);

        opacity:0;
    }
}




.pravachan-section{
    background:#fffaf4;
    padding:80px 20px;
}

.container{
    max-width:1400px;
    margin:auto;
}

.section-header{
    text-align:center;
    margin-bottom:60px;
}

.subtitle{
    color:#d97706;
    font-weight:600;
    letter-spacing:1px;
}

.section-header h2{
    font-size:42px;
    margin:15px 0;
    color:#222;
}

.section-header p{
    color:#666;
    font-size:18px;
}

.section-header::after{
    content:"";
    width:90px;
    height:4px;
    background:#d97706;
    display:block;
    margin:20px auto;
    border-radius:10px;
}

.video-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
}

.video-card{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.3s ease;
    min-height: 540px;
    height: auto;
}

.video-card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 40px rgba(0,0,0,.15);
}

.video-frame{
    background:#f5f5f5;
}

.video-frame iframe{
    display:block;
    width:100%;
}

.video-content{
    padding:18px;
    text-align:center;
}

.video-content h3{
    font-size:18px;
    margin-bottom:8px;
    color:#222;
    line-height:1.5;
}

.video-content p{
    color:#888;
    font-size:14px;
}

.view-all{
    text-align:center;
    margin-top:50px;
}

.view-all a{
    display:inline-block;
    background:#d97706;
    color:#fff;
    padding:14px 30px;
    border-radius:50px;
    text-decoration:none;
    transition:.3s;
}

.view-all a:hover{
    background:#b45309;
}

@media(max-width:1200px){
    .video-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:768px){
    .video-grid{
        grid-template-columns:1fr;
    }

    .section-header h2{
        font-size:30px;
    }
}

/* =========================
   MEDIA SECTION
========================= */

.media-section{
    position:relative;
    padding:120px 8%;
    overflow:hidden;
    background:
    linear-gradient(
    135deg,
    #fffaf2,
    #fff5e6,
    #fffdf8
    );
}

.media-bg{
    position:absolute;
    width:500px;
    height:500px;
    background:radial-gradient(
    circle,
    rgba(212,175,55,.12),
    transparent 70%
    );
    top:-150px;
    right:-150px;
    pointer-events:none;
}

.section-heading{
    text-align:center;
    max-width:700px;
    margin:auto;
    margin-bottom:60px;
}

.section-heading .subtitle{
    color:#c79b2c;
    font-weight:600;
    letter-spacing:2px;
    text-transform:uppercase;
}

.section-heading h2{
    font-size:3rem;
    margin:15px 0;
    color:#2b1f12;
}

.section-heading p{
    color:#666;
    line-height:1.8;
}

.media-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr;
    gap:25px;
}

.media-card{
    position:relative;
    overflow:hidden;
    border-radius:24px;
    background:#fff;
    box-shadow:
    0 15px 40px rgba(0,0,0,.08);
    cursor:pointer;
    transition:.5s;
}

.media-card:hover{
    transform:translateY(-8px);
}

.media-card img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:.6s;
}

.media-card:hover img{
    transform:scale(1.08);
}

.featured{
    grid-row:span 2;
    min-height:420px;
}

.featured img{
    height:420px;
}

.media-content{
    position:absolute;
    left:30px;
    bottom:30px;
    color:white;
    z-index:2;
}

.media-content span{
    display:inline-block;
    padding:6px 14px;
    background:rgba(212,175,55,.9);
    border-radius:30px;
    font-size:13px;
    margin-bottom:12px;
}

.media-content h3{
    font-size:28px;
    font-weight:700;
}

.play-btn{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:80px;
    height:80px;
    background:
    linear-gradient(
    135deg,
    #d4af37,
    #f5d06b
    );
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:28px;
    z-index:2;
    box-shadow:
    0 10px 30px rgba(212,175,55,.5);
}

.overlay{
    position:absolute;
    inset:0;
    background:
    linear-gradient(
    rgba(0,0,0,.15),
    rgba(0,0,0,.65)
    );
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    padding:25px;
    color:white;
}

.overlay i{
    font-size:28px;
    margin-bottom:12px;
    color:#f5d06b;
}

.media-buttons{
    text-align:center;
    margin-top:50px;
}

.media-btn{
    display:inline-block;
    padding:14px 34px;
    border-radius:50px;
    text-decoration:none;
    background:
    linear-gradient(
    135deg,
    #d4af37,
    #f5d06b
    );
    color:#2b1f12;
    font-weight:600;
    margin:10px;
    transition:.4s;
}

.media-btn:hover{
    transform:translateY(-3px);
}

.media-btn.outline{
    background:transparent;
    border:2px solid #d4af37;
    color:#c79b2c;
}

@media(max-width:768px){

    .featured{
        grid-column:span 1;
    }

    .featured img{
        height:300px;
    }

    .section-heading h2{
        font-size:2.2rem;
    }

}



.gallery-page{
    padding:120px 8%;
    background:
    linear-gradient(
        180deg,
        #fffdf8,
        #fff8eb
    );
}

/* HEADER */

.gallery-header{
    text-align:center;
    max-width:800px;
    margin:auto;
    margin-bottom:70px;
}

.gallery-subtitle{
    color:#c89d2b;
    font-weight:600;
    letter-spacing:3px;
    text-transform:uppercase;
}

.gallery-header h1{
    font-size:4rem;
    color:#24160b;
    margin:15px 0;
}

.gallery-header p{
    color:#666;
    line-height:1.8;
}

/* FILTERS */

.gallery-filter{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:15px;
    margin-bottom:50px;
}

.gallery-filter button{
    border:none;
    padding:12px 28px;
    border-radius:50px;
    cursor:pointer;

    background:#fff;
    color:#444;

    box-shadow:
    0 5px 20px rgba(0,0,0,.08);

    transition:.4s;
}

.gallery-filter button.active,
.gallery-filter button:hover{

    background:
    linear-gradient(
    135deg,
    #d4af37,
    #f7d471
    );

    color:#2b1f12;
}

/* MASONRY */

.gallery-grid{
    columns:4 280px;
    column-gap:20px;
}

.gallery-card{
    position:relative;
    overflow:hidden;
    border-radius:24px;
    margin-bottom:20px;
    break-inside:avoid;

    background:#fff;

    box-shadow:
    0 15px 40px rgba(0,0,0,.08);
}

.gallery-card img{
    width:100%;
    display:block;
    transition:.8s;
}

.gallery-card:hover img{
    transform:scale(1.08);
}

.gallery-overlay{

    position:absolute;
    inset:0;

    background:
    linear-gradient(
    transparent,
    rgba(0,0,0,.75)
    );

    display:flex;
    align-items:flex-end;

    padding:25px;

    opacity:0;

    transition:.5s;
}

.gallery-card:hover .gallery-overlay{
    opacity:1;
}

.gallery-overlay h3{
    color:#fff;
    font-size:20px;
}

.gallery-hero{
    height:60vh;

    background:
    linear-gradient(
    rgba(0,0,0,.55),
    rgba(0,0,0,.55)
    ),
    url(images/gallery-banner.jpg)
    center/cover;

    display:flex;
    align-items:center;
    justify-content:center;

    text-align:center;
}

.gallery-hero h1{
    color:white;
    font-size:5rem;
}

.gallery-hero p{
    color:#f5d06b;
    margin-top:20px;
}

@media(max-width:992px){

    .media-grid{
        grid-template-columns:1fr 1fr;
    }

    .featured{
        grid-column:span 2;
        grid-row:auto;
    }
}

@media(max-width:576px){

    .media-grid{
        grid-template-columns:1fr;
    }

    .featured{
        grid-column:auto;
    }

    .media-card{
        min-height:250px;
    }
}

@media(max-width:768px){

    .guru-wrapper{
        gap:40px;
    }

    .stats{
        flex-wrap:wrap;
        gap:20px;
    }

    .social-links a{
        width:50px;
        height:50px;
        font-size:18px;
    }
}

@media(max-width:576px){

  .counter-box h2{
      font-size:40px;
  }

  .counter-box p{
      font-size:15px;
  }
}

@media(max-width:576px){

    .contact-image{
        width:180px;
    }

    .info-card h3{
        font-size:24px;
    }
}

img{
  max-width:100%;
  height:auto;
}

iframe{
  max-width:100%;
}

table{
  width:100%;
  overflow-x:auto;
  display:block;
}

body{
  overflow-x:hidden;
}

html{
  overflow-x:hidden;
}

.welcome-heading {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 30px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

/* Small underline accent below heading */
.welcome-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: #e74c3c;
    border-radius: 2px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.info-item i {
    font-size: 18px;
    margin-top: 3px;
    width: 20px;
    text-align: center;
}

/* Individual Icon Colors */
.icon-location { color: #e74c3c; }
.icon-phone { color: #2ecc71; }
.icon-email { color: #3498db; }

.info-item p {
    font-size: 15px;
    color: #555555;
    line-height: 1.6;
}

.info-item a {
    color: #555555;
    text-decoration: none;
    transition: color 0.2s ease;
}

.info-item a:hover {
    color: #000000;
    text-decoration: underline;
}


/* Overlay backdrop covering the full screen */
.custom-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* Dark dim effect */
  backdrop-filter: blur(4px); /* Modern blur effect */
  -webkit-backdrop-filter: blur(4px); /* Safari support */
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  
  /* Initial hidden states for animation */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* State when JS opens the modal */
.custom-modal-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

/* White popup box container */
.custom-modal-content {
  background-color: #ffffff;
  border-radius: 24px;
  padding: 24px;
  max-width: 360px;
  width: 90%;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  position: relative;
  text-align: center;
  font-family: sans-serif;
  
  /* Initial scale for bounce transition */
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

/* Scale up the box smoothly when overlay becomes active */
.custom-modal-overlay.is-active .custom-modal-content {
  transform: scale(1);
}

/* Close "X" icon button */
.custom-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  color: #a0aec0;
  cursor: pointer;
  line-height: 1;
}
.custom-modal-close:hover {
  color: #4a5568;
}

/* Typography styles inside popup */
.modal-title {
  font-size: 20px;
  font-weight: 700;
  color: #2d3748;
  margin: 0 0 4px 0;
}
.modal-subtitle {
  font-size: 13px;
  color: #718096;
  margin: 0 0 16px 0;
}

/* Gray placeholder box around QR image */
.modal-qr-container {
  background-color: #f7fafc;
  border: 1px solid #edf2f7;
  border-radius: 16px;
  padding: 16px;
  display: inline-block;
  margin-bottom: 16px;
}
.modal-qr-img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  display: block;
}

/* Orange highlighted fallback box for UPI text */
.modal-upi-details {
  background-color: #fffaf0;
  border: 1px solid #feebc8;
  color: #c05621;
  font-size: 13px;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 16px;
}
.upi-id-text {
  font-weight: 700;
  user-select: all; /* Highlights whole ID when clicked */
}

/* Bottom text/app indications */
.modal-apps-title {
  font-size: 10px;
  color: #a0aec0;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 4px 0;
  font-weight: 600;
}
.modal-apps-list {
  font-size: 12px;
  color: #4a5568;
  font-weight: 600;
  opacity: 0.8;
}


