/* --------------------------------------------------
   AUM INK - SIMPLIFIED DESIGN SYSTEM & STYLING
   -------------------------------------------------- */

/* Custom Variables */
:root {
  --color-bg-primary: #f6f3eb;    /* Serene light cream */
  --color-bg-secondary: #ebdccf;  /* Warm clay sand */
  --color-bg-dark: #1f1c18;       /* Deep meditative carbon */
  --color-text-dark: #3a332a;     /* Dark bronze charcoal */
  --color-text-muted: #6e6457;    /* Warm grey-brown */
  --color-text-light: #fdfbf7;    /* Celestial white */
  --color-accent-gold: #d4af37;   /* Sacred gold */
  --color-accent-light: #f1d07c;  /* Radiant sunlight */
  --color-accent-dark: #9e7f1e;   /* Burnished brass */
  --color-leaf-green: #8ca699;    /* Misty watercolor green */
  --color-water-blue: #aab9c4;    /* Misty horizon blue */
  
  --font-heading: 'Cinzel', serif;
  --font-body: 'Outfit', sans-serif;
  
  --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  color: var(--color-text-dark);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  background-color: transparent; /* Allows page-bg to be visible */
}

/* Full Page Serene Background */
.page-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-image: url('assets/background_mobile.jpg');
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -1; /* Floats behind everything */
  pointer-events: none;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: preserve-3d;
}

@media (min-width: 1024px) {
  .page-bg {
    background-image: url('assets/background_desktop.jpg');
  }
}

/* Page Background Glow/Fade Layer */
.page-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(246, 243, 235, 0) 10%, rgba(246, 243, 235, 0.15) 50%, rgba(246, 243, 235, 0.4) 100%);
  pointer-events: none;
}

/* Shimmering Spiritual Light Rays */
.light-rays {
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 248, 219, 0.25) 0%, rgba(241, 208, 124, 0.08) 30%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  animation: rayMotion 25s ease-in-out infinite alternate;
  mix-blend-mode: screen;
}

@keyframes rayMotion {
  0% {
    transform: rotate(0deg) translate(0, 0) scale(1);
    opacity: 0.6;
  }
  50% {
    opacity: 0.9;
  }
  100% {
    transform: rotate(6deg) translate(-2%, -4%) scale(1.05);
    opacity: 0.8;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: rgba(246, 243, 235, 0.3);
}
::-webkit-scrollbar-thumb {
  background: var(--color-accent-gold);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent-dark);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

p {
  font-weight: 300;
  margin-bottom: 1.5rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

/* Custom Cursor */
.custom-cursor {
  width: 8px;
  height: 8px;
  background-color: var(--color-accent-gold);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 10000;
  transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.cursor-trail {
  width: 140px;
  height: 140px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
  background: radial-gradient(circle, rgba(241, 208, 124, 0.16) 0%, rgba(212, 175, 55, 0.04) 50%, transparent 75%);
  mix-blend-mode: screen;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              height 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.3s, 
              background-color 0.3s,
              top 0.1s ease-out,
              left 0.1s ease-out;
}

/* Hover States for Cursor */
body.hovering .custom-cursor {
  width: 4px;
  height: 4px;
  background-color: #fff;
}
body.hovering .cursor-trail {
  width: 60px;
  height: 60px;
  background-color: rgba(212, 175, 55, 0.22);
  border-color: var(--color-accent-light);
}

/* Click State for Cursor */
body.clicking .custom-cursor {
  transform: translate(-50%, -50%) scale(0.5);
}
body.clicking .cursor-trail {
  transform: translate(-50%, -50%) scale(1.5);
  opacity: 0;
}

/* Hide cursor on touch devices */
@media (hover: none) and (pointer: coarse) {
  .custom-cursor, .cursor-trail {
    display: none;
  }
}

/* Layout Utilities */
.section-padding {
  padding: 8rem 2rem;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.align-center {
  align-items: center;
}

.text-center {
  text-align: center;
}

.section-tag {
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--color-accent-gold);
  display: block;
  margin-bottom: 1rem;
  font-weight: 500;
}

.section-title {
  font-size: 2.8rem;
  color: var(--color-text-dark);
  margin-bottom: 1.5rem;
}

/* Dividers */
.divider {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.divider.center {
  justify-content: center;
}

.divider-line {
  height: 1px;
  width: 60px;
  background: linear-gradient(90deg, transparent, var(--color-accent-gold), transparent);
}

.divider-symbol {
  font-size: 1.2rem;
  color: var(--color-accent-gold);
  opacity: 0.8;
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
  padding: 1rem 2.2rem;
  border-radius: 4px;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--color-accent-gold);
  color: var(--color-bg-dark);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.15);
}

.btn-primary:hover {
  background-color: var(--color-accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.25);
}

/* --------------------------------------------------
   Header & Navigation
   -------------------------------------------------- */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  padding: 1.5rem 2rem;
}

.main-header.scrolled {
  background-color: rgba(246, 243, 235, 0.65);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
  padding: 1rem 2rem;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo-symbol {
  font-size: 1.8rem;
  color: var(--color-accent-gold);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-text-dark);
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 500;
  color: var(--color-text-muted);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-text-dark);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-accent-gold);
  transition: var(--transition-fast);
}

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

.btn-connect {
  border: 1px solid var(--color-accent-gold);
  padding: 0.5rem 1.5rem !important;
  border-radius: 4px;
}

.btn-connect:hover {
  background-color: var(--color-accent-gold);
  color: var(--color-text-light) !important;
}

.btn-connect::after {
  display: none;
}

/* Mobile Menu Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  width: 30px;
  z-index: 1001;
}

.mobile-nav-toggle .bar {
  height: 2px;
  width: 100%;
  background-color: var(--color-text-dark);
  transition: var(--transition-fast);
}

/* --------------------------------------------------
   Hero Section
   -------------------------------------------------- */
.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-ambient-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: screen;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: scale(0.96) translateY(15px);
  transition: opacity 1.8s cubic-bezier(0.16, 1, 0.3, 1), transform 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-content.revealed {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.hero-yantra-container {
  width: 280px;
  height: 280px;
  margin-bottom: 2rem;
  opacity: 0;
  transform: scale(0.85);
  animation: yantraEntrance 2s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.2s;
  position: relative;
}

/* Golden Glowing Particles Canvas */
.hero-glowing-particles-canvas {
  position: absolute;
  top: -40px;
  left: -40px;
  width: calc(100% + 80px);
  height: calc(100% + 80px);
  pointer-events: none;
  z-index: 1;
}

/* Inner Golden Aum Medallion */
.aum-medallion {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 170px;
  height: 170px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.45);
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.12), 
    0 0 35px rgba(212, 175, 55, 0.35), 
    inset 0 0 20px rgba(212, 175, 55, 0.2);
  overflow: hidden;
  z-index: 3;
  background-color: #ebdccf;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
}

.aum-symbol-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hover effects on central medallion */
.hero-yantra-container:hover .aum-medallion {
  transform: translate(-50%, -50%) scale(1.05);
  box-shadow: 
    0 15px 50px rgba(0, 0, 0, 0.18), 
    0 0 50px rgba(241, 208, 124, 0.75), 
    inset 0 0 25px rgba(212, 175, 55, 0.3);
}

.hero-yantra-container:hover .aum-symbol-img {
  transform: scale(1.06);
}

/* Outer Yantra Rings */
.hero-yantra-rings {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  stroke: var(--color-accent-gold);
  stroke-width: 0.85px;
  fill: none;
  opacity: 0.6;
  z-index: 2;
  pointer-events: none;
  animation: yantraSpin 120s linear infinite;
  transition: opacity 0.6s ease, stroke 0.6s ease, filter 0.6s ease;
}

.hero-yantra-container:hover .hero-yantra-rings {
  opacity: 0.9;
  stroke: var(--color-accent-light);
  filter: drop-shadow(0 0 8px rgba(241, 208, 124, 0.5));
}

.hero-title {
  font-size: 5rem;
  font-weight: 500;
  color: var(--color-text-dark);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
  text-shadow: 0 4px 20px rgba(246, 243, 235, 0.6);
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  color: var(--color-text-muted);
  text-transform: uppercase;
  margin-bottom: 3rem;
  text-shadow: 0 2px 10px rgba(246, 243, 235, 0.6);
}

.hero-cta-group {
  display: flex;
  gap: 1.5rem;
}

/* Animations Trigger Classes */
.animate-up {
  opacity: 0;
  transform: translateY(30px);
  animation: revealUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 {
  animation-delay: 0.3s;
}
.delay-2 {
  animation-delay: 0.6s;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.scroll-text {
  font-family: var(--font-body);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--color-text-muted);
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--color-accent-gold), transparent);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background: var(--color-accent-light);
  animation: scrollDown 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* --------------------------------------------------
   The Portal (Booking) Section
   -------------------------------------------------- */
.portal-section {
  position: relative;
  overflow: hidden;
  color: var(--color-text-dark);
}

.portal-section .section-container {
  position: relative;
  z-index: 2;
}

.portal-details {
  margin-top: 3rem;
}

.detail-item {
  font-size: 1rem;
  margin-bottom: 1.2rem;
  color: var(--color-text-muted);
}

.detail-item strong {
  color: var(--color-accent-dark);
}

/* Warm Light Glassmorphic Form Card */
.portal-form-wrapper {
  background-color: rgba(253, 251, 247, 0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 3.5rem;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(58, 51, 42, 0.06);
}

.form-title {
  margin-bottom: 2.5rem;
}

.form-title h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: var(--color-accent-dark);
}

.form-title p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

.input-group {
  position: relative;
  margin-bottom: 2.2rem;
}

.input-group input,
.input-group textarea,
.input-group select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(58, 51, 42, 0.25);
  padding: 0.75rem 0;
  color: var(--color-text-dark);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.input-group select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.input-group select option {
  background-color: var(--color-bg-primary);
  color: var(--color-text-dark);
}

.input-group label {
  position: absolute;
  top: 0.75rem;
  left: 0;
  pointer-events: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: rgba(58, 51, 42, 0.5);
  transition: var(--transition-fast);
}

/* Float logic */
.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:not(:placeholder-shown) ~ label {
  top: -1.2rem;
  font-size: 0.75rem;
  color: var(--color-accent-dark);
  letter-spacing: 0.1em;
}

/* Select float helper custom styles */
.input-group select:focus ~ .select-label,
.input-group select:valid ~ .select-label {
  top: -1.2rem;
  font-size: 0.75rem;
  color: var(--color-accent-dark);
  letter-spacing: 0.1em;
}

/* Input Focus Line Effect */
.input-group::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-accent-gold);
  transition: var(--transition-smooth);
}

.input-group:focus-within::after {
  width: 100%;
}

.btn-submit {
  width: 100%;
  background-color: var(--color-accent-gold);
  color: var(--color-bg-dark);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.btn-submit span {
  position: relative;
  z-index: 2;
}

.btn-submit .btn-glow {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: 0.6s;
  z-index: 1;
}

.btn-submit:hover .btn-glow {
  left: 100%;
}

.btn-submit:hover {
  background-color: var(--color-accent-light);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.form-feedback {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  min-height: 24px;
  transition: var(--transition-fast);
}

.form-feedback.success {
  color: #558757;
  font-weight: 500;
}

.form-feedback.error {
  color: #b24b4b;
}

/* --------------------------------------------------
   Footer
   -------------------------------------------------- */
/* Full-Screen Effects Canvas */
.global-effects-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9998;
}

/* --------------------------------------------------
   Footer (Minimalist & Compact)
   -------------------------------------------------- */
.main-footer {
  background-color: rgba(31, 28, 24, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  color: rgba(253, 251, 247, 0.55);
  padding: 2.2rem 2rem;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-logo-small {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-text-light);
}

.footer-logo-small .footer-symbol {
  color: var(--color-accent-gold);
  font-size: 1.3rem;
}

.footer-links-small, .footer-socials-small {
  display: flex;
  gap: 2rem;
}

.footer-links-small a, .footer-socials-small a {
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(253, 251, 247, 0.60);
  transition: var(--transition-fast);
}

.footer-links-small a:hover, .footer-socials-small a:hover {
  color: var(--color-accent-gold);
}

.footer-bottom-small {
  width: 100%;
  border-top: 1px solid rgba(253, 251, 247, 0.06);
  padding-top: 1rem;
  text-align: center;
}

.footer-bottom-small p {
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: rgba(253, 251, 247, 0.45);
  margin-bottom: 0;
}

/* --------------------------------------------------
   Reveal Animations System
   -------------------------------------------------- */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up {
  transform: translateY(50px);
}

.reveal-left {
  transform: translateX(-50px);
}

.reveal-right {
  transform: translateX(50px);
}

.active.reveal-up,
.active.reveal-left,
.active.reveal-right {
  opacity: 1;
  transform: translate(0, 0);
}

/* --------------------------------------------------
   Responsive Design Breakpoints
   -------------------------------------------------- */
@media (max-width: 992px) {
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  
  .portal-info {
    text-align: center;
  }
  
  .portal-info .divider {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 3.5rem;
  }
  
  .hero-subtitle {
    font-size: 0.95rem;
    letter-spacing: 0.2em;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .main-header {
    padding: 1.25rem 1.5rem;
  }
  
  .mobile-nav-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: var(--color-bg-primary);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: var(--transition-smooth);
    padding: 8rem 3rem;
  }
  
  .nav-menu.open {
    right: 0;
  }
  
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 2.5rem;
  }
  
  .nav-link {
    font-size: 1.1rem;
  }
  
  .btn-connect {
    padding: 0.8rem 2.5rem !important;
  }
  
  .mobile-nav-toggle.open .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .mobile-nav-toggle.open .bar:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-nav-toggle.open .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .portal-form-wrapper {
    padding: 2rem;
  }
  
  .footer-row {
    flex-direction: column;
    text-align: center;
    gap: 1.2rem;
  }
  .footer-links-small, .footer-socials-small {
    justify-content: center;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-subtitle {
    font-size: 0.85rem;
    letter-spacing: 0.15em;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .section-padding {
    padding: 4.5rem 1.25rem;
  }
  
  .hero-yantra-container {
    width: 220px;
    height: 220px;
  }
  
  .aum-medallion {
    width: 130px;
    height: 130px;
  }
  
  .portal-form-wrapper {
    padding: 1.5rem;
  }
  
  .btn-connect {
    padding: 0.7rem 1.8rem !important;
  }
  
  .btn {
    padding: 0.9rem 1.8rem;
    font-size: 0.75rem;
  }
}

/* --------------------------------------------------
   Keyframes
   -------------------------------------------------- */
@keyframes lineDraw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes yantraSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes yantraEntrance {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollDown {
  0% {
    transform: translateY(-20px);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateY(50px);
    opacity: 0;
  }
}

/* --------------------------------------------------
   Preloader (Splash Screen)
   -------------------------------------------------- */
body.loading {
  overflow: hidden; /* Prevent scrolling during load */
}

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--color-bg-primary); /* Cream */
  z-index: 99999; /* Highest priority */
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), transform 1.2s cubic-bezier(0.25, 1, 0.5, 1), visibility 1.2s;
  visibility: visible;
  opacity: 1;
  transform: scale(1);
}

.preloader.fade-out {
  opacity: 0;
  transform: scale(1.08);
  filter: blur(8px);
  visibility: hidden;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.preloader-yantra-wrapper {
  position: relative;
  width: 280px;
  height: 280px;
}

.preloader-yantra {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.45);
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.08), 
    0 0 30px rgba(212, 175, 55, 0.25);
  animation: 
    yantraLoaderSpin 45s linear infinite,
    yantraLoaderPulse 4s ease-in-out infinite alternate;
}

/* Secondary outer dashed ring */
.preloader-ring {
  position: absolute;
  top: -20px;
  left: -20px;
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  border: 1px dashed rgba(212, 175, 55, 0.35);
  border-radius: 50%;
  animation: yantraLoaderSpinOpposite 25s linear infinite;
  pointer-events: none;
}

.preloader-text-group {
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.preloader-dots span {
  display: inline-block;
  animation: dotBlink 1.4s infinite both;
  font-family: var(--font-body);
}

.preloader-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.preloader-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

/* --------------------------------------------------
   Preloader Animations
   -------------------------------------------------- */
@keyframes yantraLoaderSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes yantraLoaderSpinOpposite {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}

@keyframes yantraLoaderPulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08), 0 0 20px rgba(212, 175, 55, 0.2);
  }
  100% {
    transform: scale(1.05);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12), 0 0 45px rgba(241, 208, 124, 0.55);
  }
}

@keyframes dotBlink {
  0% {
    opacity: 0.2;
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 0.2;
  }
}
