
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #0a0a0a;
  color: #ffffff;
  overflow-x: hidden;
}


/* Reusing main page font for titles */
.animated-title,
.section-title {
    font-family: 'Cinzel Decorative', serif;
    background: linear-gradient(90deg, #ffffff, #fadd7e, #ffffff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 6s linear infinite,; /* Reusing shine animation */
    letter-spacing: 2px;
    margin-bottom: 25px;
}

/* Animations from main page */
@keyframes shine {
    to { background-position: 200% center; }
}

/* Hero Section */
.about-hero {
    position: relative;
    height: 60vh; /* Shorter hero section for about page */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7));
    background-attachment: fixed; /* Parallax effect */
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    overflow: hidden; /* For any internal sparkles */
}

.hero-content {
    z-index: 10;
}

.about-hero h1 {
    font-size: 4em;
    margin-bottom: 10px;
}

.about-hero p {
    font-size: 1.5em;
    color: #bbb;
    margin-top: 0;
}

.back-home-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    display: inline-block;
    padding: 10px 20px;
    font-size: 0.9em;
    color: #000;
    text-decoration: none;
    background: linear-gradient(110deg, #fadd7e, #ffffff);
    border-radius: 50px;
    transition: all 0.3s ease;
    z-index: 10;

     
    /* box-shadow: 0 0 10px #fadd7e; */
}

.back-home-btn.glow-btn:hover {
    transform: scale(1.05);
     box-shadow: 0 0 5px #fadd7e;
}

.floating-dots::before, .floating-dots::after {
  content: '';
  position: absolute;
  width: 200%;
  height: 300%;
  top: -100%;
  left: -50%;
  background: radial-gradient(#ffffff 1px, transparent 1px);
  background-size: 50px 50px;
  animation: moveBg 15s linear infinite;
  z-index: 1;
  pointer-events: none;
}

.floating-dots::after {
  animation-direction: reverse;
  opacity: 0.5;
}


@keyframes shine {
  to {
    background-position: 200% center;
  }
}

@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes moveBg {
  0% { transform: translate(0, 0); }
  100% { transform: translate(10%, 10%); }
} 
/* chintan */


    .ritual-section {
      text-align: center;
      padding: 3rem 1rem;
      position: relative;
    }

    h1 {
      font-size: 3rem;
      margin-bottom: 2rem;
      color: #ffd700;
      text-shadow: 0 0 20px #fff3;
    }

    .diamond-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 5rem 3rem;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 1rem;
      perspective: 1500px;
    }

    .diamond {
      position: relative;
      width: 200px;
      height: auto;
      margin: 0 auto;
      transform-style: preserve-3d;
      /* opacity: 0; */
      transform: scale(1);
      transition: transform 0.8s ease, filter 0.6s ease;
      background: none;
    }

    .diamond img {
      width: 100%;
      height: auto;
      transform-style: preserve-3d;
      transition: transform 0.8s ease, filter 0.6s ease;
      /* filter: drop-shadow(0 0 10px #fff5); */
      transform: translateZ(0);
    }

    .diamond-name {
      display: block;
      margin-top: 2rem;
      font-size: 1.5rem;
      color: #fff;
      /* opacity: 0; */
      transform: translateY(10px);
      transition: opacity 0.4s ease, transform 0.4s ease;
    }

    .diamond:hover .diamond-name {
      /* opacity: 1; */
      transform: translateY(0);
    }

    .diamond:hover {
      transform: scale(1.3);
      z-index: 10;
    }

    .diamond:hover img {
      transform: scale(1.3);
      filter: drop-shadow(0px 0px 10px #d2d2d2);
    }

    .diamond-grid:hover .diamond:not(:hover) {
      /* filter: blur(2px); */
      transition: filter 0.4s ease;
    }

    .diamond::before,
    .diamond::after {
      content: none !important;
    }
    @media (max-width: 1024px) {
  .diamond-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .diamond-grid {
    grid-template-columns: 1fr;
  }

  .diamond:hover {
    transform: scale(1.2);
  }

  .diamond:hover img {
    transform: scale(1.2);
  }
}


 .fade-in-text {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1.2s ease-out forwards;
}

/* Keyframes for fade and upward slide */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



@media (max-width: 991px){
  .hero-content {
    z-index: 10;
    margin-top: 55px !important;
}
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .floating-dots::before,
  .floating-dots::after {
    background: radial-gradient(#ffffff 2px, transparent 2px);
    background-size: 60px 60px;
  }
}
