  body {
      background-color: #0d0d0d;
      color: white;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

      background-image: url('../images/bg-girl2.png');
      background-repeat: no-repeat;
      background-position: left center;
      background-size: 760px 100vh;
      /* Scale height to viewport height, auto width */
      background-attachment: fixed;
      /* optional: background stays fixed while scrolling */
  }


  /* Default Navbar Style */
  .rg-navbar {
      background: rgba(17, 17, 17, 0.7);
      backdrop-filter: blur(10px);
      border-bottom: 2px solid #333;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
      padding: 2rem 0;
      /* instead of height */
      transition: padding 0.3s ease, transform 0.3s ease;
      display: flex;
      align-items: center;
      z-index: 1030;
  }

  .rg-navbar.shrink {
      padding: 0.5rem 0;
  }

  .rg-navbar.expanded {
      padding: 2rem 0 !important;
  }

  .rg-logo {
      font-weight: 700;
      font-size: 1.75rem;
      color: #ffd700;
      /* gold-ish */
  }

  .rg-logo:hover {
      color: #ccc;
  }

  .nav-link {
      color: #ccc !important;
      font-weight: 500;
      transition: color 0.3s;
  }

  .nav-link:hover,
  .nav-link:focus {
      color: #ffd700 !important;
      text-decoration: none;
  }

  .animated-gem {
      animation: gemColorShift 12s infinite ease-in-out;
      color: #007bff;
      /* start with sapphire */
      transition: all 0.5s ease;
  }

  @keyframes gemColorShift {
      0% {
          color: #007bff;
          text-shadow: 0 0 20px rgba(0, 123, 255, 0.6);
          /* sapphire-shadow */
      }

      20% {
          color: #ff0000;
          text-shadow: 0 0 20px rgba(255, 0, 0, 0.6);
          /* ruby-shadow */
      }

      40% {
          color: #00ff64;
          text-shadow: 0 0 20px rgba(0, 255, 100, 0.6);
          /* emerald-shadow */
      }

      60% {
          color: #ffa500;
          text-shadow: 0 0 20px rgba(255, 165, 0, 0.6);
          /* orange-shadow */
      }

      80% {
          color: #ffff00;
          text-shadow: 0 0 20px rgba(255, 255, 0, 0.6);
          /* yellow-shadow */
      }

      100% {
          color: #ff69b4;
          text-shadow: 0 0 20px rgba(255, 105, 180, 0.6);
          /* pink-shadow */
      }
  }

a.rg-logo {
  pointer-events: auto; /* Ensure clicks are allowed */
  cursor: pointer;
}

  .rg-hero {
      padding: 5rem 1rem 3rem;
      text-align: center;
      background: rgba(17, 17, 17, 0.7);
      backdrop-filter: blur(10px);
      border-bottom: 2px solid #333;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
      color: #eee;
      height: 500px;
  }

  /* H1 with Tangerine */
  .rg-hero h1 {
      font-family: 'Great Vibes', cursive;
      font-size: 3.5rem;
      font-weight: 400;
      margin-bottom: 0.5rem;
      color: #eee;
  }

  /* Paragraph with Cinzel - example with class cinzel-regular */
  .rg-hero p.cinzel-regular {
      font-family: 'Cinzel', serif;
      font-optical-sizing: auto;
      font-weight: 400;
      /* regular weight */
      font-style: normal;
      font-size: 1.25rem;
      color: #ccc;
      line-height: 1.6;
  }


  /* Gems Section */
  .rg-gems-section {
      padding: 4rem 1rem 6rem;
      text-align: center;
      max-width: 1200px;
      margin: 0 auto;
  }

  .rg-gems-title {
      font-size: 2.5rem;
      margin-bottom: 3rem;
      font-weight: 700;
      color: #f5f5f5;
      letter-spacing: 1px;
  }

  /* Gem cards */
  .rg-gem-card {
      background: rgba(80, 14, 14, 0.4);
      border-radius: 16px;
      padding: 0.75rem;
      transition: transform 0.3s ease, box-shadow 0.4s ease;
      cursor: pointer;
      backdrop-filter: blur(8px);
      border: 1px solid rgba(255, 255, 255, 0.1);
      position: relative;
      overflow: hidden;
  }

/* Default card hover effect (fallback) */
.rg-gem-card:hover {
    transform: scale(1.05);
    z-index: 10;
}

/* Sapphire */
.rg-gem-card.sapphire:hover {
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.7),
        0 0 20px 10px rgba(0, 123, 255, 0.6);
}

/* Ruby */
.rg-gem-card.Ruby:hover {
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.7),
        0 0 20px 10px rgba(255, 0, 0, 0.6);
}

/* Emerald */
.rg-gem-card.Emerald:hover {
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.7),
        0 0 20px 10px rgba(0, 255, 100, 0.6);
}

/* Citrine (Yellow) */
.rg-gem-card.Citrine:hover {
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.7),
        0 0 20px 10px rgba(255, 255, 0, 0.6);
}

/* Pink Tourmaline */
.rg-gem-card.Tourmaline:hover {
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.7),
        0 0 20px 10px rgba(255, 105, 180, 0.6);
}

/* Orange Sapphire */
.rg-gem-card.Orange:hover {
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.7),
        0 0 20px 10px rgba(255, 165, 0, 0.6);
}
.rg-gem-card {
    transition: transform 0.3s ease, box-shadow 0.4s ease;
}


  .rg-gem-img {
      width: 100%;
      max-width: 100%;
      height: auto;
      border-radius: 12px;
      transition: box-shadow 0.4s ease;
      display: block;
      margin: 0 auto;
  }


  /* Hover glow colors */
  .ruby-shadow:hover {
      box-shadow: 0 0 25px 10px rgba(255, 0, 0, 0.7);
  }

  .sapphire-shadow:hover {
      box-shadow: 0 0 25px 10px rgba(0, 123, 255, 0.7);
  }

  .emerald-shadow:hover {
      box-shadow: 0 0 25px 10px rgba(0, 255, 100, 0.7);
  }

  .orange-shadow:hover {
      box-shadow: 0 0 25px 10px rgba(255, 165, 0, 0.7);
  }

  .yellow-shadow:hover {
      box-shadow: 0 0 25px 10px rgba(255, 255, 0, 0.7);
  }

  .pink-shadow:hover {
      box-shadow: 0 0 25px 10px rgba(255, 105, 180, 0.7);
  }

  /* Gem title with icon */
  .gem-icon {
      position: absolute;
      top: 10px;
      right: 12px;
      color: rgba(93, 43, 43, 0.967);
      font-size: 1.5rem;
      pointer-events: none;
  }

  @media (max-width: 576px) {
      .rg-hero h1 {
          font-size: 2rem;
      }

      .rg-gems-title {
          font-size: 2rem;
      }
  }

  .rg-gem-card {
      perspective: 1000px;
      cursor: pointer;
      border-radius: 16px;
      background-color: #1a1a1a;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
      height: 280px;
      /* fixed height for uniform cards */
      overflow: hidden;
      transition: transform 0.3s ease;
      position: relative;
  }

  .rg-gem-card:focus {
      outline: 2px solid #ffd700;
  }

  .flip-card-inner {
      position: relative;
      width: 100%;
      height: 100%;
      transition: transform 0.6s;
      transform-style: preserve-3d;
      border-radius: 16px;
  }

  .rg-gem-card.flipped .flip-card-inner {
      transform: rotateY(180deg);
  }

  @media (max-width: 576px) {
      .rg-gem-card {
          margin-left: auto;
          margin-right: auto;
      }
  }

  /* Front & Back faces */
  .flip-card-front,
  .flip-card-back {
      position: absolute;
      width: 100%;
      height: 100%;
      border-radius: 16px;
      backface-visibility: hidden;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 15px;
      box-sizing: border-box;
      color: white;
  }

  .flip-card-front img {
      max-height: 180px;
      width: auto;
      border-radius: 12px;
      user-select: none;
      pointer-events: none;
  }

  .flip-card-back {
      background-color: rgba(0, 0, 0, 0.8);
      transform: rotateY(180deg);
      text-align: center;
      font-size: 0.9rem;
      line-height: 1.3;
      padding: 20px;
      overflow-y: auto;
  }

  /* Shadow color variations */
  .sapphire-shadow {
      box-shadow: 0 0 20px 6px rgba(0, 123, 255, 0.6);
  }

  .ruby-shadow {
      box-shadow: 0 0 20px 6px rgba(255, 0, 0, 0.6);
  }

  .emerald-shadow {
      box-shadow: 0 0 20px 6px rgba(0, 255, 100, 0.6);
  }

  .orange-shadow {
      box-shadow: 0 0 20px 6px rgba(255, 165, 0, 0.6);
  }

  .yellow-shadow {
      box-shadow: 0 0 20px 6px rgba(255, 255, 0, 0.6);
  }

  .pink-shadow {
      box-shadow: 0 0 20px 6px rgba(255, 105, 180, 0.6);
  }

  /* Ensure container has no horizontal padding on small devices */
  .rg-gems-section {
      padding-left: 0.5rem;
      padding-right: 0.5rem;
  }

  /* Center each col on extra small screens */
  @media (max-width: 575.98px) {
      .rg-gems-grid .col-6 {
          margin-left: auto;
          margin-right: auto;
      }
  }


  .footer-col {
      display: flex;
      flex-direction: column;
      gap: 12px;
      margin-bottom: 15px;
  }

  .rg-footer {
      background: rgba(17, 17, 17, 0.8);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      border-top: 2px solid #333;
      box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.3);
  }

  .footer-item {
      display: flex;
      align-items: center;
      font-size: 1rem;
      color: #ccc;
  }

  .footer-item .icon {
      width: 22px;
      text-align: center;
      margin-right: 12px;
      color: #f04d7d;
      font-size: 16px;
  }

  .footer-item span {
      white-space: nowrap;
  }

  .footer-col.left {
      align-items: flex-start;
      text-align: left;
  }

  .footer-col.center {
      align-items: center;
      text-align: center;
  }

  .footer-col.right {
      align-items: flex-end;
      text-align: right;
  }