/* ==========================================
   HOME HERO
========================================== */

.home-hero{

    position:relative;

    overflow:hidden;

    isolation:isolate;

    background:

        radial-gradient(circle at 12% 18%,rgba(255,222,144,.45),transparent 34%),

        radial-gradient(circle at 86% 82%,rgba(109,15,20,.13),transparent 38%),

        linear-gradient(135deg,#fffaf1 0%,#fffdf8 55%,#f8f5ef 100%);

    border-bottom:1px solid rgba(155,91,18,.14);

}

/* ==========================================
   BACKGROUND MANDALA
========================================== */

.home-hero::before{

    content:"";

    position:absolute;

    width:520px;

    height:520px;

    top:-120px;

    right:-90px;

    background:url("../images/mandala.png")
    center/contain
    no-repeat;

    /*opacity:.02;*/

    animation:rotateMandala 120s linear infinite;

    z-index:0;

    pointer-events:none;

}
/* ==========================================
   GOLDEN HALO
========================================== */

.home-hero::after{

    content:"";

    position:absolute;

    width:260px;

    height:260px;

    left:-40px;

    bottom:-30px;

    background:url("../images/lotus.png")
    center/contain
    no-repeat;

    /*opacity:.08;*/

    animation:

    lotusFloat

    16s

    ease-in-out

    infinite;

    pointer-events:none;

    z-index:0;

}
.home-hero .pattern{

    position:absolute;

    inset:0;

    background:

    url("../images/pattern-light.png");

    background-size:180px;

    opacity:.05;

    pointer-events:none;

    z-index:1;

}

/* ==========================================
   FLOATING SPARKLES
========================================== */

.sparkles {
  position: absolute;

  inset: 0;

  overflow: hidden;

  pointer-events: none;

  z-index: 2;
}

.sparkles span {
  position: absolute;

  width: 6px;

  height: 6px;

  border-radius: 50%;

  background: #f5c242;

  box-shadow: 0 0 10px rgba(245, 194, 66, 0.8);

  opacity: 0.65;

  animation: floatSpark 12s linear infinite;
}

/* Individual Sparkles */

.sparkles span:nth-child(1) {
  top: 20%;
  left: 10%;

  animation-delay: 0s;
}

.sparkles span:nth-child(2) {
  top: 65%;
  left: 18%;

  animation-delay: 2s;
}

.sparkles span:nth-child(3) {
  top: 40%;
  right: 18%;

  animation-delay: 4s;
}

.sparkles span:nth-child(4) {
  top: 75%;
  right: 10%;

  animation-delay: 6s;
}

.sparkles span:nth-child(5) {
  top: 18%;
  left: 70%;

  animation-delay: 8s;
}

.sparkles span:nth-child(6) {
  top: 55%;
  left: 52%;

  animation-delay: 10s;
}

/* ==========================================
   HERO CARD
========================================== */

.hero-card {
  position: relative;

  z-index: 5;

  background: rgba(255, 255, 255, 0.22);

  backdrop-filter: blur(3px);

  border: 1px solid rgba(155, 91, 18, 0.18);

  border-radius: 24px;

  padding: 42px;

  box-shadow: 0 14px 34px rgba(94, 72, 32, 0.14);

  animation: heroGlow 8s ease-in-out infinite;
  
}

/* ==========================================
   HERO TEXT
========================================== */

.hero-kicker {
  display: inline-block;

  font-weight: 700;

  letter-spacing: 1.2px;

  text-transform: uppercase;

  color: #7a4b05;

  border-bottom: 2px solid #d8a44a;

  padding-bottom: 4px;

  animation: shimmerLine 4s ease-in-out infinite;
}

.hero-title {
  position: relative;

  font-size: clamp(1.9rem, 3.8vw, 3rem);

  line-height: 1.18;

  font-weight: 800;

  color: #4d2803;
}

.hero-title::after {
  content: "";

  position: absolute;

  top: 0;

  left: -20%;

  width: 20%;

  height: 100%;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.45),
    transparent
  );

  animation: titleShine 12s linear infinite;
}

.hero-text {
  max-width: 880px;

  font-size: 1.05rem;

  line-height: 1.8;

  color: #56422a;
}
/* ==========================================
   SECTION HEADINGS
========================================== */

.section-heading {
  font-size: clamp(1.5rem, 2.4vw, 2rem);

  font-weight: 800;

  color: #5d2f09;

  position: relative;

  display: inline-block;

  margin-bottom: 1.5rem;
}

.section-heading::after {
  content: "";

  position: absolute;

  left: 0;

  bottom: -8px;

  width: 70px;

  height: 3px;

  border-radius: 50px;

  background: linear-gradient(90deg, #c48b2f, #f1c76c);
}

/* ==========================================
   ABOUT PANEL
========================================== */

.about-panel {
  background: #ffffff;

  border-radius: 22px;

  padding: 30px;

  border: 1px solid rgba(155, 91, 18, 0.16);

  box-shadow: 0 10px 26px rgba(93, 53, 9, 0.11);

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.about-panel:hover {
  transform: translateY(-3px);

  box-shadow: 0 18px 34px rgba(93, 53, 9, 0.16);
}

.about-panel p {
  color: #5f4f3b;

  line-height: 1.8;

  font-size: 1rem;
}

/* ==========================================
   GURU CARD
========================================== */

.guru-card {
  position: relative;

  overflow: hidden;

  display: grid;

  grid-template-columns: 180px 1fr;

  background: #fff;

  border-radius: 22px;

  border: 1px solid rgba(109, 15, 20, 0.12);

  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.07);

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.guru-card-wide {
  grid-template-columns: 240px 1fr;
}

.guru-card:hover {
  transform: translateY(-8px);

  box-shadow: 0 22px 36px rgba(75, 42, 8, 0.16);

  border-color: rgba(109, 15, 20, 0.25);
}

/* ==========================================
   GURU IMAGE
========================================== */

.guru-media {
  background: linear-gradient(145deg, #e9d7a9, #fff4d8);

  overflow: hidden;

  min-height: 100%;
}

.guru-media img {
  width: 100%;

  height: 100%;

  object-fit: cover;

  transform: scale(1.02);

  transition: transform 0.6s ease;
}

.guru-card:hover .guru-media img {
  transform: scale(1.08);
}

.guru-media.no-image {
  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 2.7rem;

  font-weight: 800;

  color: #7d5615;
}

/* ==========================================
   GURU CONTENT
========================================== */

.guru-content {
  padding: 24px;

  animation: floatContent 10s ease-in-out infinite;
}

.guru-card:nth-child(even) .guru-content {
  animation-delay: 3s;
}

.guru-content h3 {
  margin-bottom: 10px;

  color: #5a2b08;

  font-weight: 700;
}

.guru-content p {
  color: #5f4f3b;

  line-height: 1.75;
}

/* ==========================================
   LIGHT SHINE ON HOVER
========================================== */

.guru-card::before {
  content: "";

  position: absolute;

  top: 0;

  left: -120%;

  width: 60%;

  height: 100%;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );

  transition: left 0.9s ease;
}

.guru-card:hover::before {
  left: 140%;
}
/* ==========================================
   SCROLL REVEAL
========================================== */

.reveal-up {
  opacity: 0;

  transform: translateY(25px);

  transition:
    opacity 0.8s ease,
    transform 0.8s ease;

  will-change: opacity, transform;
}

.reveal-up.in-view {
  opacity: 1;

  transform: translateY(0);
}

/* ==========================================
   KEYFRAMES
========================================== */

@keyframes rotateMandala {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes haloDriftReverse {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(12px, -8px) scale(1.08);
  }
}

@keyframes shimmerLine {
  0%,
  100% {
    border-bottom-color: #d8a44a;
  }

  50% {
    border-bottom-color: #f3cb73;
  }
}

@keyframes floatSpark {
  0% {
    transform: translateY(0) scale(0.5);

    opacity: 0;
  }

  20% {
    opacity: 0.7;
  }

  80% {
    opacity: 0.5;
  }

  100% {
    transform: translateY(-90px) scale(1.2);

    opacity: 0;
  }
}

@keyframes heroGlow {
  0%,
  100% {
    box-shadow: 0 14px 34px rgba(94, 72, 32, 0.14);
  }

  50% {
    box-shadow: 0 18px 42px rgba(212, 167, 74, 0.28);
  }
}

@keyframes titleShine {
  from {
    left: -25%;
  }

  to {
    left: 125%;
  }
}

@keyframes floatContent {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 991px) {
  .hero-card {
    padding: 28px;
  }

  .guru-card,
  .guru-card-wide {
    grid-template-columns: 1fr;
  }

  .guru-media {
    min-height: 220px;
  }
}

@media (max-width: 768px) {
  .home-hero::before {
    width: 280px;

    height: 280px;

    right: -90px;

    top: -70px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-text {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .hero-card {
    padding: 24px;

    border-radius: 18px;
  }

  .about-panel {
    padding: 22px;
  }

  .guru-content {
    padding: 20px;
  }

  .section-heading {
    font-size: 1.55rem;
  }
}

/* ==========================================
   REDUCED MOTION
========================================== */

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;

    transition: none !important;

    scroll-behavior: auto !important;
  }

  .reveal-up {
    opacity: 1;

    transform: none;
  }
}
/* ==========================================
   PREMIUM IMPROVEMENTS
========================================== */

/* Smooth Scrolling */

html {
  scroll-behavior: smooth;
}

/* Better Text Selection */

::selection {
  background: #d8a44a;

  color: #fff;
}

/* Better Focus */

a:focus,
button:focus {
  outline: none;

  box-shadow: 0 0 0 0.2rem rgba(216, 164, 74, 0.25);
}

/* Hero Card Border Glow */

.hero-card::before {
  content: "";

  position: absolute;

  inset: 0;

  border-radius: 24px;

  padding: 1px;

  background: linear-gradient(
    135deg,
    rgba(216, 164, 74, 0.45),
    rgba(255, 255, 255, 0),
    rgba(109, 15, 20, 0.15)
  );

  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);

  -webkit-mask-composite: xor;

  mask-composite: exclude;

  pointer-events: none;
}

/* Elegant Image Loading */

.guru-media img {
  display: block;

  backface-visibility: hidden;
}

/* Better Paragraph Readability */

p {
  text-rendering: optimizeLegibility;
}

/* Nice Hover for About Panel */

.about-panel {
  position: relative;

  overflow: hidden;
}

.about-panel::before {
  content: "";

  position: absolute;

  top: 0;

  left: -120%;

  width: 60%;

  height: 100%;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.28),
    transparent
  );

  transition: left 0.9s ease;
}

.about-panel:hover::before {
  left: 130%;
}

/* Floating Decorative Dots */

.decor-circle {
  position: absolute;

  width: 14px;

  height: 14px;

  border-radius: 50%;

  background: rgba(216, 164, 74, 0.18);

  animation: floatCircle 18s ease-in-out infinite;
}

.decor-circle.one {
  top: 18%;

  right: 15%;
}

.decor-circle.two {
  bottom: 12%;

  left: 12%;

  animation-delay: 6s;
}

/* Fade-in Images */

.guru-media img {
  animation: imageFade 1.5s ease;
}

/* Footer spacing */

footer {
  margin-top: 40px;
}
@keyframes floatCircle {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-15px) scale(1.15);
  }
}

@keyframes imageFade {
  from {
    opacity: 0;

    transform: scale(1.05);
  }

  to {
    opacity: 1;

    transform: scale(1);
  }
}

@keyframes lotusFloat{

    0%,100%{

        transform:

        translateY(0)

        rotate(0deg);

    }

    50%{

        transform:

        translateY(-15px)

        rotate(4deg);

    }

}