/* ===========================
   CSS VARIABLES
   =========================== */
:root {
  /* Colors */
  --green-main: #1f704a;
  --green-medium: #6fb588;
  --green-light: #a8d5ba;
  --green-lighter: #d6eadf;
  --green-lightest: #eef5f1;
  --green-dark: #0d3821;
  --green-text: #355f4b;
  --green-accent: #1f5a3d;
  
  /* Gradients */
  --gradient-primary: linear-gradient(-45deg, #a8d5ba, #7cb89d, #95c9a8, #6fb588, #b8e0ca, #89c7a5);
  --gradient-card: linear-gradient(135deg, #e8f2ec 0%, #deeee5 50%, #d6eadf 100%);
  --gradient-button: linear-gradient(to right, #a8d5ba 0%, #6fb588 51%, #a8d5ba 100%);
  
  /* Shadows */
  --shadow-sm: 0 2px 12px rgba(111, 181, 136, 0.12);
  --shadow-md: 0 8px 32px rgba(31, 112, 74, 0.15);
  --shadow-lg: 0 20px 60px rgba(31, 112, 74, 0.35);
  --shadow-glow: 0 0 20px rgba(111, 181, 136, 0.4);
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 5rem;
  
  /* Typography */
  --font-base: system-ui, -apple-system, sans-serif;
  --font-serif: Georgia, serif;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.6s ease;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
}

/* ===========================
   RESET & BASE
   =========================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: var(--font-base);
  background: var(--green-lightest);
  color: var(--green-dark);
  overflow-x: hidden;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  width: 100%;
}



img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
}


/* ===========================
   CSS - HEADER
   =========================== */

:root {
  --green-main: #1f704a;
  --green-medium: #6fb588;
  --green-light: #a8d5ba;
  --green-lighter: #d6eadf;
  --green-lightest: #eef5f1;
  --green-dark: #0d3821;
  --green-accent: #1f5a3d;
  --shadow-sm: 0 2px 12px rgba(111, 181, 136, 0.12);
  --spacing-md: 2rem;
  --transition-base: 0.3s ease;
}

.menu-toggle {
  display: none;
}

/* ===========================
   LOGO RIBBON BANNER
   =========================== */
.logo-ribbon {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  background: linear-gradient(180deg, #e8f2ec 0%, #deeee5 50%, #d6eadf 100%);
  width: 90px;
  padding: 0.35rem 0.55rem 0.8rem;
  border-left: 2px solid rgba(111, 181, 136, 0.7);
  border-right: 2px solid rgba(111, 181, 136, 0.7);
  border-bottom: 2px solid rgba(111, 181, 136, 0.7);
  border-radius: 0 0 50% 50%;
  box-shadow: 
    0 8px 24px rgba(31, 112, 74, 0.3),
    0 4px 12px rgba(111, 181, 136, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -1px 8px rgba(111, 181, 136, 0.2);
}

.header-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-logo {
  height: 62px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(31, 112, 74, 0.1));
  transform: scale(1.18);
  transform-origin: center;
}

/* ===========================
   NAV HEADER
   =========================== */
.site-header::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 22px;
  background: #e8f2ec;
  z-index: 99;
}

.site-header {
  position: fixed;
  top: 22px;
  left: 0;
  right: 0;
  z-index: 100;
  background: #e8f2ec;
  border-bottom: 1px solid rgba(168, 213, 186, 0.4);
  height: 35px;
  line-height: 35px;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
}

.nav-spacer {
  width: 150px;
  flex-shrink: 0;
}

.nav-group {
  display: flex;
  gap: 3rem;
  align-items: center;
  flex: 1;
}

.nav-group:first-child {
  justify-content: flex-end;
}

.nav-group:last-child {
  justify-content: flex-start;
}

/* ===========================
   NAV BUTTONS
   =========================== */
.home-btn,
.contact-btn {
  padding: 0 0.8rem;
  margin: 0;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--green-accent);
  background: transparent;
  border: none;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  transition: color var(--transition-base);
  vertical-align: middle;
  transform: translateY(2px);
}

.home-btn:hover,
.contact-btn:hover {
  color: var(--green-main);
}

.home-btn::after,
.contact-btn::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--green-medium), var(--green-main));
  transform: translateX(-50%);
  transition: width 0.4s ease;
}

.home-btn:hover::after,
.contact-btn:hover::after {
  width: 100%;
}

/* ===========================
   HAMBURGER MENU
   =========================== */
.hamburger-label {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  position: absolute;
  right: 1.5rem;
  z-index: 201;

}

.hamburger-label span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--green-accent);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle:checked ~ .site-header .hamburger-label span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle:checked ~ .site-header .hamburger-label span:nth-child(2) {
  opacity: 0;
}

.menu-toggle:checked ~ .site-header .hamburger-label span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu {
  position: fixed;
  top: 57px;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, #e8f2ec 0%, #deeee5 100%);
  border-bottom: 2px solid rgba(168, 213, 186, 0.4);
  box-shadow: 0 10px 30px rgba(31, 112, 74, 0.2);
  display: none;
  flex-direction: column;
  z-index: 98;
  padding-top: 3.2rem;

}

.menu-toggle:checked ~ .mobile-menu {
  display: flex;
}

.mobile-menu a {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  color: var(--green-accent);
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(168, 213, 186, 0.2);
}

.mobile-menu a:hover {
  background: rgba(168, 213, 186, 0.3);
  color: var(--green-main);
}

/* ===========================
   TABLET (No hamburger)
   =========================== */
@media (max-width: 1024px) and (min-width: 769px) {
  .logo-ribbon {
    width: 85px;
    padding: 0.33rem 0.52rem 0.76rem;
  }
  
  .header-logo {
    height: 59px;
  }
  
  .site-header::before {
    height: 21px;
  }
  
  .site-header {
    top: 21px;
    height: 33px;
    line-height: 33px;
  }
  
  .home-btn,
  .contact-btn {
    font-size: 0.9rem;
  }
  
  .nav-group {
    gap: 2rem;
  }
  
  .nav-spacer {
    width: 120px;
  }
  
  .mobile-menu {
    top: 54px;
  }
}

/* ===========================
   MOBILE (With hamburger)
   =========================== */
@media (max-width: 900px) {
  .logo-ribbon {
    width: 88px !important;
    padding: 0.35rem 0.52rem 0.82rem !important;
  }
  
  .header-logo {
    height: 62px !important;
  }
  
  .site-header::before {
    height: 20px;
  }
  
  .site-header {
    top: 20px;
    height: 32px;
    line-height: 32px;
  }
  
  .mobile-menu {
    top: 52px;
  }
  
  .hamburger-label {
    display: flex;
    top: 50%;
    transform: translateY(-50%);
  }
  
  .header-inner {
    justify-content: center;
    padding: 0;
  }
  
  .nav-group,
  .nav-spacer {
    display: none;
  }
}

/* ===========================
   SMALL MOBILE
   =========================== */
@media (max-width: 480px) {
  .logo-ribbon {
    width: 60px;
    padding: 0.24rem 0.38rem 0.58rem;
  }
  
  .header-logo {
    height: 42px;
  }
  
  .site-header::before {
    height: 14px;
  }
  
  .site-header {
    top: 14px;
    height: 35px;
    line-height: 35px;
  }
  
  .mobile-menu {
    top: 38px;
  }
  
  .hamburger-label {
    right: 1rem;
    gap: 4px;
  }
  
  .hamburger-label span {
    width: 22px;
    height: 2.5px;
  }
  
  .mobile-menu a {
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
  }
}
/* Portrait */
.portrait-wrapper {
  text-align: center;
}
.portrait-frame {
  width: 300px !important;
  height: 350px !important;
  overflow: hidden !important;
  border-radius: 150px / 175px !important;
  box-shadow: var(--shadow-md);
  position: relative;
}

/* ===========================
   NUMEROLOGY HERO â€“ PORTRAIT PRESENCE
   =========================== */

.numerology-hero .portrait-frame {
  position: relative;
  isolation: isolate;
  box-shadow:
    0 18px 40px rgba(31, 112, 74, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.35);
}

.numerology-hero .portrait-frame::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 42% 42% 48% 48% / 52% 52% 58% 58%;
  background: radial-gradient(
    ellipse at center,
    rgba(168, 213, 186, 0.35),
    rgba(168, 213, 186, 0.15) 40%,
    transparent 70%
  );
  z-index: -1;
}

.portrait-frame img {
  width: 105% !important;
  height: 105% !important;
  object-fit: cover !important;
  object-position: center center !important;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}




/* ===========================
   HERO
   =========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 70px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  animation: gradientShift 12s ease infinite;
  background-size: 400% 400%;
  z-index: 0;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  25% { background-position: 50% 100%; }
  50% { background-position: 100% 50%; }
  75% { background-position: 50% 0%; }
}

/* Stars */
.stars-container {
  position: absolute;
  inset: 0;
  z-index: 5;
  overflow: hidden;
  pointer-events: none;
}

#stars,
#stars2,
#stars3 {
  position: absolute;
  top: 0;
  left: 0;
  will-change: transform;
}

#stars {
  width: 2px; height: 2px;
  background: transparent;
  box-shadow: 
    200px 300px #FFF,400px 500px #FFF,600px 200px #FFF,800px 700px #FFF,
    100px 900px #FFF,300px 1100px #FFF,500px 400px #FFF,700px 800px #FFF,
    900px 200px #FFF,150px 600px #FFF,350px 1000px #FFF,550px 300px #FFF,
    750px 900px #FFF,950px 500px #FFF,250px 700px #FFF,450px 200px #FFF,
    650px 1100px #FFF,850px 400px #FFF,50px 800px #FFF,1050px 600px #FFF;
  animation: animStar 50s linear infinite;
}



#stars:after {
  content: " ";
  position: absolute;
  top: 2000px;
  width: 2px; height: 2px;
  background: transparent;
  box-shadow: 
    200px 300px #FFF,400px 500px #FFF,600px 200px #FFF,800px 700px #FFF,
    100px 900px #FFF,300px 1100px #FFF,500px 400px #FFF,700px 800px #FFF,
    900px 200px #FFF,150px 600px #FFF,350px 1000px #FFF,550px 300px #FFF,
    750px 900px #FFF,950px 500px #FFF,250px 700px #FFF,450px 200px #FFF,
    650px 1100px #FFF,850px 400px #FFF,50px 800px #FFF,1050px 600px #FFF;
}


#stars2 {
  width: 3px; height: 3px;
  background: transparent;
  box-shadow: 
    1723px 1344px #FFF,892px 723px #FFF,1456px 1889px #FFF,334px 567px #FFF,
    1667px 234px #FFF,578px 1456px #FFF,1234px 998px #FFF,1890px 1567px #FFF;
  animation: animStar 100s linear infinite;
}


#stars2:after {
  content: " ";
  position: absolute;
  top: 2000px;
  width: 3px; height: 3px;
  background: transparent;
  box-shadow: 
    1723px 1344px #FFF,892px 723px #FFF,1456px 1889px #FFF,334px 567px #FFF,
    1667px 234px #FFF,578px 1456px #FFF,1234px 998px #FFF,1890px 1567px #FFF;
}


#stars3 {
  width: 4px;
  height: 4px;
  background: transparent;
  box-shadow: 1612px 1789px #FFF, 445px 1223px #FFF, 1789px 556px #FFF, 889px 1445px #FFF, 1334px 223px #FFF, 223px 1667px #FFF, 1556px 1001px #FFF, 667px 334px #FFF, 1890px 1334px #FFF, 334px 889px #FFF;
  animation: animStar 150s linear infinite;
}

#stars3:after {
  content: " ";
  position: absolute;
  top: 2000px;
  width: 4px;
  height: 4px;
  background: transparent;
  box-shadow: 1612px 1789px #FFF, 445px 1223px #FFF, 1789px 556px #FFF, 889px 1445px #FFF, 1334px 223px #FFF, 223px 1667px #FFF, 1556px 1001px #FFF, 667px 334px #FFF, 1890px 1334px #FFF, 334px 889px #FFF;
}

@keyframes animStar {
  from { transform: translateY(0px); }
  to { transform: translateY(-2000px); }
}

/* Shooting Stars */
.shooting-stars {
  position: absolute;
  inset: 0;
  z-index: 6;
  overflow: hidden;
  pointer-events: none;
}

.shooting-star {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #FFF;
  position: absolute;
  transform-origin: 100% 0;
  animation: shooting-star-ani 3s infinite linear;
  opacity: 0;
  will-change: transform, opacity;
}

.shooting-star:after {
  content: '';
  position: absolute;
  top: 0px;
  left: 4px;
  border: 2px solid transparent;
  border-width: 2px 120px 2px 120px; 
  border-color: transparent transparent transparent rgba(255,255,255,0.8);
  transform: rotate(-45deg) translate3d(1px, -1px, 0);
  transform-origin: 0% 100%;
  animation: shooting-tail-ani 3s infinite linear;
}

.shooting-star-1 { top: 15%; left: 20%; animation-delay: 2s; }
.shooting-star-1:after { animation-delay: 2s; }
.shooting-star-2 { top: 25%; left: 75%; animation-delay: 8s; }
.shooting-star-2:after { animation-delay: 8s; }
.shooting-star-3 { top: 70%; left: 15%; animation-delay: 14s; }
.shooting-star-3:after { animation-delay: 14s; }
.shooting-star-4 { top: 60%; left: 80%; animation-delay: 20s; }
.shooting-star-4:after { animation-delay: 20s; }

@keyframes shooting-tail-ani {
  0%, 100% { opacity: 0; }
  5%, 95% { opacity: 1; }
}

@keyframes shooting-star-ani {
  0% { opacity: 0; transform: rotate(0) translate3d(0, 0, 0); }
  5%, 95% { opacity: 1; }
  100% { opacity: 0; transform: rotate(0) translate3d(-450px, 450px, 0); }
}

/* Hero Content */
.hero-content {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7.5rem;
  z-index: 10;
}

.portal {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform var(--transition-base);
}

.portal:focus-visible {
  outline: 3px solid var(--green-main);
  outline-offset: 8px;
  border-radius: var(--radius-sm);
}

.portal-logo {
  width: 190px;
  transition: transform 0.35s ease;
}

.portal-logo-art { width: 230px; }

.portal:hover .portal-logo,
.portal:focus .portal-logo {
  transform: scale(1.05);
}

.portal-text {
  margin-top: 0.3rem;
  font-size: 1rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #154a30;
  font-weight: 500;
}

.portal-line {
  font-size: 0.95rem;
  color: var(--green-accent);
  max-width: 280px;
  text-align: center;
}

/* Portrait */
.portrait-wrapper { text-align: center; }

.portrait-frame {
  width: 300px;
  height: 360px;
  overflow: hidden;
  border-radius: 50% / 55%;
  box-shadow: var(--shadow-md);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.name { 
  margin-top: 1.2rem; 
  font-size: 1.4rem;
  font-weight: 400;
}

.identity {
  margin-top: 0.3rem;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-main);
}

/* ===========================
   BIO
   =========================== */
/* BIO */
.bio {
  padding: var(--spacing-lg) 1.5rem 3rem;
  background: linear-gradient(var(--green-lighter), #c2ddcf);
}

.bio-inner {
  max-width: 720px;
  margin: auto;
  text-align: center;
}

.bio-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.bio-title {
  font-size: 1.6rem;
  letter-spacing: 0.12em;
  color: var(--green-main);
  margin-bottom: 1.2rem;
}

.bio-text {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--green-text);
  margin-bottom: 1.6rem;
}


/* SERVICES SECTION */
.services-section {
  margin: 0;
  padding: var(--spacing-xl) var(--spacing-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
 background: #d6f0e1;
  overflow: hidden;
}




.service-side {
  position: relative;
}

.side-header {
  text-align: center;
  margin-bottom: 3rem;
}

.header-ornament {
  font-size: 2rem;
  color: var(--green-medium);
  margin-bottom: var(--spacing-xs);
  opacity: 0.7;
  animation: gentleFloat 4s ease-in-out infinite;
}

@keyframes gentleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.side-header h2 {
  font-size: 1.9rem;
  letter-spacing: 0.06em;
  color: var(--green-accent);
  font-weight: 300;
}

.wrapper {
  position: relative;
  width: 550px;
  height: 550px;
  perspective: 1200px;
  margin: 0 auto;
}

.container {
  position: absolute;
  width: 260px;
  height: 360px;
  transition: 0.6s all cubic-bezier(0.4, 0, 0.2, 1);
  perspective: 1200px;
  box-shadow: 0px 15px 40px rgba(31, 112, 74, 0.25);
  border-radius: var(--radius-md);
  overflow: hidden;
  transform-origin: center center;
  will-change: transform;
}

#c0, #n0 {
  top: 50%;
  left: 50%;
  margin-left: -130px;
  margin-top: -320px;
  transform: rotateX(30deg) rotateZ(0deg) scale(0.78);
  z-index: 300;
}

#c1, #n1 {
  top: 50%;
  left: 50%;
  margin-left: 80px;
  margin-top: -180px;
  transform: rotateX(30deg) rotateZ(25deg) scale(0.78);
  z-index: 200;
}

#c2, #n2 {
  top: 50%;
  left: 50%;
  margin-left: -340px;
  margin-top: -180px;
  transform: rotateX(30deg) rotateZ(-25deg) scale(0.78);
  z-index: 200;
}

#c3, #n3 {
  top: 50%;
  left: 50%;
  margin-left: -130px;
  margin-top: -40px;
  transform: rotateX(30deg) rotateZ(0deg) scale(0.78);
  z-index: 250;
}

.container:hover {
  cursor: pointer;
  transform: rotateX(0deg) rotateZ(0deg) scale(1.05) translateY(-20px) !important;
  transition: 0.6s all cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 500 !important;
  box-shadow: 0px 30px 80px rgba(31, 112, 74, 0.45);
}

.services-section .image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  overflow: hidden;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.services-section .image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(168, 213, 186, 0.25) 0%, rgba(149, 201, 168, 0.35) 100%);
  z-index: 2;
  transition: opacity var(--transition-slow);
  pointer-events: none;
}

.container:hover .image::before {
  opacity: 0;
}

.cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.container:hover .cover-image {
  transform: scale(1.1);
}

.services-section .story {
  position: absolute;
  top: 50%;
  left: 0;
  height: 50%;
  width: 100%;
  z-index: 30;
  background: linear-gradient(to bottom, rgba(168, 213, 186, 0.95) 0%, rgba(149, 201, 168, 0.97) 100%);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.services-section .info {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
}

.services-section h3 {
  text-align: center;
  text-shadow: 0px 2px 6px rgba(255, 255, 255, 0.8);
  color: var(--green-dark);
  letter-spacing: 0.5px;
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.services-section p {
  font-size: 0.88rem;
  color: var(--green-accent);
  padding: 0 10px;
  line-height: 1.5;
  text-align: center;
  letter-spacing: 0.3px;
  font-weight: 400;
}

/* Service Action Buttons */
.service-actions {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
  padding: 0 var(--spacing-md);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: 0.5s;
  cursor: pointer;
  border: none;
  font-family: inherit;
  min-width: 220px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background-image: var(--gradient-button);
  background-size: 200% auto;
  color: var(--green-dark);
  box-shadow: 0 4px 15px rgba(111, 181, 136, 0.25);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.btn:hover {
  background-position: right center;
  box-shadow: 0 6px 25px rgba(111, 181, 136, 0.4);
  transform: translateY(-2px);
}

.btn:hover::before {
  left: 100%;
}

.btn svg {
  transition: transform var(--transition-base);
}

.btn:hover svg {
  transform: translateX(4px);
}


/* ===========================
   TESTIMONIALS SECTION
   =========================== */
.testimonials-section {
  background: linear-gradient(#e8f2ec, #deeee5);
  padding: var(--spacing-xl) 0;
  overflow: hidden;
}

.testimonials-section .section-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 0 var(--spacing-md);
}

.testimonials-section .section-header h2 {
  font-size: 2rem;
  letter-spacing: 0.06em;
  color: var(--green-accent);
  font-weight: 300;
  margin-bottom: var(--spacing-xs);
}

.testimonials-section .section-header p {
  font-size: 1rem;
  color: var(--green-text);
  font-style: italic;
}

/* Marquee */
.marquee-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.marquee-content {
  display: flex;
  gap: var(--spacing-md);
  animation: marqueeScroll 40s linear infinite;
  width: fit-content;
  will-change: transform;
}

.marquee-content:hover {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Testimonial Cards */
.testimonial-card {
  background: var(--gradient-card);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-md), var(--shadow-glow);
  border: 1px solid rgba(111, 181, 136, 0.5);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  min-width: 380px;
  max-width: 380px;
  flex-shrink: 0;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
  transition: transform var(--transition-slow);
  transform: scale(0);
}

.testimonial-card:hover::before {
  transform: scale(1);
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(111, 181, 136, 0.6);
  border-color: rgba(111, 181, 136, 0.7);
}

.quote-mark {
  font-size: 4rem;
  line-height: 1;
  color: var(--green-light);
  font-family: var(--font-serif);
  margin-bottom: var(--spacing-xs);
  opacity: 0.6;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--green-dark);
  margin-bottom: 1.5rem;
  font-style: italic;
  position: relative;
  z-index: 1;
  min-height: 80px;
  font-weight: 500;
}

.client-info {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  position: relative;
  z-index: 1;
}

.client-photo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(111, 181, 136, 0.3);
  border: 2px solid rgba(111, 181, 136, 0.3);
}

.client-name {
  font-size: 1rem;
  color: var(--green-dark);
  font-weight: 600;
  margin-bottom: 0.2rem;
  letter-spacing: 0.02em;
}

.client-location {
  font-size: 0.85rem;
  color: var(--green-medium);
  font-weight: 500;
}

/* ===========================
   CONTACT SECTION
   =========================== */
.contact-section {
  background: linear-gradient(var(--green-lighter), #c2ddcf);
  padding: var(--spacing-lg) var(--spacing-md);
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-section .section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-section .section-header h2 {
  font-size: 2rem;
  letter-spacing: 0.06em;
  color: var(--green-accent);
  font-weight: 300;
  margin-bottom: var(--spacing-xs);
}

.contact-section .section-header p {
  font-size: 1rem;
  color: var(--green-text);
  font-style: italic;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--gradient-card);
  border-radius: var(--radius-xl);
  padding: var(--spacing-md);
  box-shadow: 
    var(--shadow-md),
    var(--shadow-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -1px 0 rgba(168, 213, 186, 0.2);
  border: 1px solid rgba(111, 181, 136, 0.4);
  display: flex;
  flex-direction: column;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  flex: 1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--green-accent);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem var(--spacing-sm);
  border-radius: 10px;
  border: 1px solid rgba(111, 181, 136, 0.3);
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  color: var(--green-dark);
  font-family: inherit;
  transition: all var(--transition-base);
  box-shadow: inset 0 2px 4px rgba(31, 112, 74, 0.08);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-medium);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 
    inset 0 2px 4px rgba(31, 112, 74, 0.08),
    0 0 0 3px rgba(111, 181, 136, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 90px;
}

.form-group select {
  cursor: pointer;
}

/* Submit Button */
.contact-submit-btn {
  margin-top: var(--spacing-xs);
  padding: 0.75rem var(--spacing-md);
  text-align: center;
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  transition: 0.5s;
  background-image: var(--gradient-button);
  background-size: 200% auto;
  color: var(--green-dark);
  box-shadow: 0 4px 15px rgba(111, 181, 136, 0.25);
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  font-family: inherit;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.contact-submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.contact-submit-btn:hover {
  background-position: right center;
  box-shadow: 0 6px 25px rgba(111, 181, 136, 0.4);
  transform: translateY(-2px);
}

.contact-submit-btn:hover::before {
  left: 100%;
}

.contact-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Contact Info */
.contact-info-wrapper {
  display: flex;
  flex-direction: column;
}

.contact-info-card {
  background: var(--gradient-card);
  border-radius: var(--radius-xl);
  padding: var(--spacing-md);
  box-shadow: 
    var(--shadow-md),
    var(--shadow-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -1px 0 rgba(168, 213, 186, 0.2);
  border: 1px solid rgba(111, 181, 136, 0.4);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.contact-info-card h3 {
  font-size: 1.5rem;
  color: var(--green-accent);
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-bottom: 0.6rem;
}

.info-tagline {
  font-size: 0.9rem;
  color: var(--green-text);
  line-height: 1.6;
  margin-bottom: 1.8rem;
}

.info-items {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  margin-bottom: var(--spacing-md);
  flex: 1;
}

.info-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.info-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-medium) 0%, #5a9b73 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(111, 181, 136, 0.3);
}

.info-details {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.info-details h4 {
  font-size: 0.75rem;
  color: var(--green-medium);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1;
  margin: 0;
}

.info-details a,
.info-details p {
  font-size: 0.95rem;
  color: var(--green-dark);
  font-weight: 400;
  transition: color var(--transition-base);
  line-height: 1.2;
  margin: 0;
  padding: 0;
}

.info-details a:hover {
  color: var(--green-medium);
}

/* Social Links */
.social-links {
  padding-top: 1.8rem;
  border-top: 1px solid rgba(111, 181, 136, 0.3);
}

.social-links h4 {
  font-size: 0.85rem;
  color: var(--green-accent);
  font-weight: 500;
  margin-bottom: var(--spacing-sm);
  letter-spacing: 0.04em;
}

.social-icons {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  border: 2px solid transparent;
}

.social-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: white;
}

.social-facebook {
  background: #1877f2;
  color: white;
}

.social-whatsapp {
  background: #25D366;
  color: white;
}

.social-icon:hover {
  transform: translateY(-3px);
}

.social-instagram:hover {
  box-shadow: 0 6px 20px rgba(188, 24, 136, 0.4);
}

.social-facebook:hover {
  box-shadow: 0 6px 20px rgba(24, 119, 242, 0.4);
}

.social-whatsapp:hover {
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* ===========================
   FOOTER WITH CONTACT
   =========================== */
.site-footer {
  background: linear-gradient(var(--green-lighter), #c2ddcf);
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-container {
  max-width: 100%;
  margin: 0 auto;
}

/* Contact in Footer */
.footer-contact-section {
  background: transparent;
  padding: var(--spacing-lg) 0;
}

.footer-contact-section .section-header {
  padding: 0 var(--spacing-md);
}

.footer-contact-content {
  padding: 0 var(--spacing-md);
}

.footer-contact-section .section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.footer-contact-section .header-ornament {
  font-size: 2.4rem;
  color: var(--green-medium);
  margin-bottom: var(--spacing-xs);
  opacity: 0.7;
  animation: gentleFloat 4s ease-in-out infinite;
}

.footer-contact-section .section-header h2 {
  font-size: 2rem;
  letter-spacing: 0.06em;
  color: var(--green-accent);
  font-weight: 300;
  margin-bottom: var(--spacing-xs);
}

.footer-contact-section .section-header p {
  font-size: 1rem;
  color: var(--green-text);
  font-style: italic;
}

.footer-contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
}

/* Copyright */
.footer-copyright {
  padding: 1.5rem var(--spacing-md);
  text-align: center;
  background: linear-gradient(135deg, #a8d5ba 0%, #7cb89d 50%, #6fb588 100%);
}

.footer-copyright p {
  color: var(--green-dark);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin: 0;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
}

/* Responsive for Footer Contact */
@media (max-width: 900px) {
  .footer-contact-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
}

@media (max-width: 600px) {
  .footer-contact-section {
    padding: 3rem 0;
  }
  
  .footer-contact-section .section-header {
    padding: 0 1.5rem;
  }
  
  .footer-contact-content {
    padding: 0 1.5rem;
  }
  
  .footer-contact-section .section-header h2 {
    font-size: 1.7rem;
  }
  
  .footer-copyright {
    padding: 1.2rem 1.5rem;
  }
  
  .footer-copyright p {
    font-size: 0.85rem;
  }
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

/* Tablet Landscape */
@media (max-width: 1100px) {
  .services-section {
    grid-template-columns: 1fr;   /* ðŸ”¥ THIS IS THE FIX */
    gap: 7rem;
    padding: var(--spacing-lg) var(--spacing-md);
  }

  .wrapper {
    width: 500px;
    height: 500px;
  }
}


/* Tablet */
@media (max-width: 900px) {
  .hero-content {
    flex-direction: column;
    gap: 3rem;
  }
  
  .services-section {
    grid-template-columns: 1fr;
    gap: 5rem;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
}
/* Hide mobile cards on desktop by default */
.mobile-service-cards {
  display: none;
}
/* Mobile Landscape */
@media (max-width: 768px) {

  .site-header {
    padding: 0.5rem 1.5rem;
  }
  
  .header-logo {
    height: 38px;
  }
  
  .contact-btn,
  .home-btn {
    padding: 0.55rem 1.4rem;
    font-size: 0.8rem;
  }
  
  .hero {
    padding-top: 60px;
  }
  
  .portal-logo {
    width: 160px;
  }
  
  .portal-logo-art {
    width: 200px;
  }
  
  .portrait-frame {
    width: 260px;
    height: 320px;
  }
  
  .side-header h2 {
    font-size: 1.7rem;
  }
  
  .testimonial-card {
    min-width: 320px;
    max-width: 320px;
    padding: 1.5rem;
  }
  
  .marquee-content {
    gap: 1.5rem;
  }
  
  .service-actions .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  :root {
    --spacing-md: 1.5rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
  }
  
  .header-logo {
    height: 32px;
  }
  
  .contact-btn,
  .home-btn {
    padding: 0.5rem 1.2rem;
    font-size: 0.75rem;
  }
  
  .portal-logo {
    width: 140px;
  }
  
  .portal-logo-art {
    width: 170px;
  }
  
  .portrait-frame {
    width: 240px;
    height: 290px;
  }
  
  .bio-title {
    font-size: 1.4rem;
  }
  
  .bio-text {
    font-size: 1rem;
  }
  
   .wrapper {
    width: 350px;
    height: 400px;
    overflow: visible !important;
  }
  
  .container {
    width: 200px;
    height: 280px;
  }
  
  /* ADJUSTED POSITIONS - Cards moved inward */
  #c0, #n0 {
    left: 50%;
    margin-left: -100px;
    margin-top: -280px;
    scale: 0.75;
  }
  
  #c1, #n1 {
    left: 50%;
    margin-left: 30px;    /* REDUCED from 50px */
    margin-top: -160px;
    scale: 0.75;
  }
  
  #c2, #n2 {
    left: 50%;
    margin-left: -230px;  /* INCREASED from -270px */
    margin-top: -160px;
    scale: 0.75;
  }
  
  #c3, #n3 {
    left: 50%;
    margin-left: -100px;
    margin-top: -40px;
    scale: 0.75;
  }
  
  .side-header h2 {
    font-size: 1.6rem;
  }
  
  .services-section h3 {
    font-size: 1rem;
  }
  
  .services-section p {
    font-size: 0.82rem;
  }
  
  .testimonials-section .section-header h2,
  .contact-section .section-header h2 {
    font-size: 1.7rem;
  }
  
  .contact-form-wrapper,
  .contact-info-card {
    padding: 1.5rem;
  }
  
  .site-footer {
    padding: 1.2rem 1.5rem;
  }
  
  .site-footer p {
    font-size: 0.85rem;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .hero-content {
    gap: 2rem;
  }
  
  .portal-text {
    font-size: 0.9rem;
  }
  
  .portal-line {
    font-size: 0.85rem;
  }
  
   .wrapper {
    width: 320px;
    height: 380px;
  }
  
  .container {
    width: 190px;
    height: 270px;
  }
  
  /* TIGHTER POSITIONS */
  #c0, #n0 {
    margin-left: -95px;
    margin-top: -270px;
    scale: 0.72;
  }
  
  #c1, #n1 {
    margin-left: 70px;
    margin-top: -155px;
    scale: 0.72;
  }
  
  #c2, #n2 {
    margin-left: -260px;
    margin-top: -155px;
    scale: 0.72;
  }
  
  #c3, #n3 {
    margin-left: -95px;
    margin-top: -35px;
    scale: 0.72;
  }
  
  .testimonial-card {
    min-width: 280px;
    max-width: 280px;
  }
}

/* Print Styles */
@media print {
  .site-header,
  .shooting-stars,
  .stars-container,
  .contact-section,
  .site-footer {
    display: none;
  }
  
  body {
    background: white;
  }
}

/* =======================================================
   NUMEROLOGY PAGE Ã¢â‚¬" LO SHU GRIDS ONLY
   ======================================================= */

/* ===============================
   PLANET ANIMATIONS - CSS VARIABLES
   =============================== */
:root {
  --sun-image: url(https://rennurbhatt.com/images/sun1.webp);
  --sun-day: 60;
  --sun-color: #cc9f4c;
  
  --moon-image: url(https://rennurbhatt.com/images/moon1.webp);
  --moon-day: 24;
  --moon-color: #C0C0C0;
  
  --mars-image: url(https://rennurbhatt.com/images/mars.webp);
  --mars-day: 25;
  --mars-color: #c07158;
  
  --mercury-image: url(https://rennurbhatt.com/images/mercury1.webp);
  --mercury-day: 140;
  --mercury-color: #999999;
  
  --jupiter-image: url(https://rennurbhatt.com/images/jupiter.webp);
  --jupiter-day: 10;
  --jupiter-color: #c9b5a4;
  
  --venus-image: url(https://rennurbhatt.com/images/venus.webp);
  --venus-day: 580;
  --venus-color: #e8cda2;
  
  --saturn-image: url(https://rennurbhatt.com/images/saturn.webp);
  --saturn-day: 11;
  --saturn-color: #f0e2c4;
  
  --rahu-image: url(https://rennurbhatt.com/images/rahu.webp);
  --rahu-day: 30;
  --rahu-color: #5e73bb;
  
  --ketu-image: url(https://rennurbhatt.com/images/ketu.webp);
  --ketu-day: 30;
  --ketu-color: #c3b6aa;
}

@keyframes planetRotate {
  0% { background-position: 0% center; }
  100% { background-position: -200% center; }
}

@keyframes gentleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* ===============================
   HERO SCOPING (NUMEROLOGY ONLY)
   =============================== */
.numerology-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.numerology-hero .hero-content.numerology-intro {
  min-height: calc(100vh - 70px);
  display: grid;
  align-items: center;
}

/* ===============================
   INTRO Ã¢â‚¬" PORTRAIT & TEXT
   =============================== */
.numerology-intro {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.intro-portrait {
  display: flex;
  justify-content: center;
}

.numerology-portrait-frame {
  width: 280px;
  height: 380px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.numerology-portrait-frame img {
  width: 100%;
  height: 110%;
  object-fit: cover;
  object-position: center 20%;
  position: absolute;
  top: 0;
  left: 0;
}

.intro-text {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.intro-text h2 {
  font-size: 2.4rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--green-accent);
}

.intro-text p {
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--green-text);
}
/* ===========================
   NUMEROLOGY HERO â€“ TEXT AUTHORITY
   =========================== */

.numerology-hero .intro-text {
  max-width: 520px;
  position: relative;
  padding-left: 1.5rem;
}

.numerology-hero .intro-text::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4rem;
  bottom: 0.4rem;
 width: 2px;
background: radial-gradient(
  circle,
  rgba(31, 112, 74, 0.5),
  transparent 70%
);
opacity: 0.6;
}

.numerology-hero .intro-text h2 {
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 12px rgba(31, 112, 74, 0.25);
  line-height: 1.25;
}

.numerology-hero .intro-text p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: rgba(21, 74, 48, 0.92);
}


/* ===============================
   LO SHU SECTION
   =============================== */
.numerology-foundation {
  margin: -4rem auto 6rem; 
  padding: 0 2rem;
  max-width: 1500px;
  text-align: center;
}

.numerology-foundation h2 {
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--green-accent);
  margin-bottom: 3rem;
  letter-spacing: 0.06em;
}


/* ===============================
   THREE GRIDS SIDE BY SIDE
   =============================== */
.lo-shu-pair {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 3rem;
  flex-wrap: wrap;
}

/* Grid containers */
.lo-shu-container {
  width: 340px;
  padding: 2rem 1.8rem;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(168, 213, 186, 0.08));
  backdrop-filter: blur(10px);
  border: 2px solid rgba(111, 181, 136, 0.25);
  box-shadow: 0 8px 32px rgba(31, 112, 74, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 0 40px rgba(111, 181, 136, 0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.lo-shu-container::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 24px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(168, 213, 186, 0.4), rgba(111, 181, 136, 0.2), rgba(168, 213, 186, 0.4));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.lo-shu-container:hover {
  border-color: rgba(111, 181, 136, 0.45);
  box-shadow: 0 12px 48px rgba(31, 112, 74, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 0 60px rgba(111, 181, 136, 0.3);
  transform: translateY(-4px);
}

.lo-shu-container:hover::before {
  opacity: 1;
}

/* Grid Header */
.grid-header {
  text-align: center;
  margin-bottom: 2rem;
}

.grid-header .header-ornament {
  font-size: 2rem;
  color: var(--green-medium);
  margin-bottom: 0.5rem;
  opacity: 0.7;
  animation: gentleFloat 4s ease-in-out infinite;
}

.grid-title {
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--green-accent);
  margin-bottom: 0.4rem;
  text-transform: capitalize;
}

.grid-tagline {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--green-text);
  font-style: italic;
  opacity: 0.8;
}

/* ===============================
   LO SHU GRID BASE
   =============================== */
.lo-shu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

/* ===============================
   BASE LO SHU CELLS (SHARED)
   =============================== */
.lo-shu-cell {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 500;
  color: #2a6b4f;
  background: linear-gradient(135deg, var(--green-light), var(--green-medium));
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  position: relative;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid rgba(111, 181, 136, 0.3);
}

/* ===============================
   GRID 1: COLOR GRID - COMPLETE STYLES
   =============================== */
.grid-colors .lo-shu-cell {
  background: linear-gradient(135deg, var(--green-light), var(--green-medium));
  color: #2a6b4f;
}

/* Grid 1: Center cell base style */
.grid-colors .lo-shu-cell.center {
  font-size: 1.85rem;
  background: linear-gradient(135deg, #8fc3a9, #6fae92);
  box-shadow: 0 6px 20px rgba(31, 112, 74, 0.3), 0 0 30px rgba(31, 112, 74, 0.2);
}

/* Grid 1: ALL cells hover (including center) */
.grid-colors .lo-shu-cell:hover,
.grid-colors .lo-shu-cell:active,
.grid-colors .lo-shu-cell:focus-within {

  transform: scale(1.5);
  box-shadow: 0 15px 45px rgba(31, 112, 74, 0.4), 0 0 40px rgba(111, 181, 136, 0.3);
  z-index: 100;
  border-color: rgba(111, 181, 136, 0.6);
}

/* Grid 1: Center cell hover - GREEN */
.grid-colors .lo-shu-cell.center:hover {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  color: #fff;
}

/* Grid 1: Color-specific hovers */
.grid-colors .lo-shu-cell[data-color="grey"]:hover {
  background: linear-gradient(135deg, #808080, #a0a0a0);
  color: #fff;
}

.grid-colors .lo-shu-cell[data-color="red"]:hover {
  background: linear-gradient(135deg, #c41e3a, #ff4757);
  color: #fff;
}

.grid-colors .lo-shu-cell[data-color="silver"]:hover {
  background: linear-gradient(135deg, #c0c0c0, #e8e8e8);
  color: #333;
}

.grid-colors .lo-shu-cell[data-color="yellow"]:hover {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #333;
}

.grid-colors .lo-shu-cell[data-color="blue"]:hover {
  background: linear-gradient(135deg, #2980b9, #3498db);
  color: #fff;
}

.grid-colors .lo-shu-cell[data-color="saffron"]:hover {
  background: linear-gradient(135deg, #f4a460, #ff9933);
  color: #fff;
}

.grid-colors .lo-shu-cell[data-color="white"]:hover {
  background: linear-gradient(135deg, #f8f9fa, #ffffff);
  color: #333;
  border: 2px solid rgba(31, 112, 74, 0.4);
}

/* Grid 1: Tooltip - EXACT SAME SIZE AS GRID 3 */
.grid-colors .lo-shu-cell::after {
  content: attr(data-info);
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(31, 112, 74, 0.98);
  color: #fff;
  padding: 0.8rem 1.3rem;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 14px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: auto;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(111, 181, 136, 0.4);
  backdrop-filter: blur(12px);
  letter-spacing: 0.05em;
  z-index: 1000;
  border: 1px solid rgba(168, 213, 186, 0.3);
  min-width: 120px;
  text-align: center;
}

.grid-colors .lo-shu-cell:hover::after {
  opacity: 1;
  visibility: visible;
  bottom: calc(100% + 16px);
}

/* ===============================
   GRID 2: PLANET GRID - COMPLETE STYLES
   =============================== */
.grid-planets .lo-shu-cell {
  background: linear-gradient(135deg, rgba(168, 213, 186, 0.3), rgba(111, 181, 136, 0.25));
  overflow: hidden;
}

.grid-planets .lo-shu-cell.center {
  font-size: 1.85rem;
  background: linear-gradient(135deg, rgba(168, 213, 186, 0.4), rgba(111, 181, 136, 0.35));
}

.grid-planets .lo-shu-cell:hover,
.grid-planets .lo-shu-cell:active,
.grid-planets .lo-shu-cell:focus-within {

  transform: scale(1.45);
  box-shadow: 0 18px 55px rgba(31, 112, 74, 0.45), 0 0 50px rgba(111, 181, 136, 0.35);
  z-index: 100;
  border-color: rgba(111, 181, 136, 0.7);
}

/* Planet cell structure */
.planet-cell .cell-number {
  transition: opacity 0.3s ease;
  position: relative;
  z-index: 2;
  color: #2a6b4f;
}

.planet-cell .planet-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: auto;
  width: 100%;
  height: 100%;
  z-index: 3;  /* Planets now in front */
}

.planet-cell:hover .cell-number {
  opacity: 0;
}

.planet-cell:hover .planet-container {
  opacity: 1;
}

/* Planet visuals - PERFECT CONTRAST */
.planet__atmosphere {
  height: 48px;
  width: 48px;
  position: relative;
  background: radial-gradient(circle at 30% 40%, rgba(255,255,255,0.75) 0%, rgba(255,255,255,0.25) 70%);
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  transition: all 0.3s ease;
  z-index: 2;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

.planet-cell:hover .planet__atmosphere {
  height: 50px;
  width: 50px;
}

.planet__surface {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 2;
  background-size: cover;
  transform: scale(1.2);
  filter: brightness(1.08) contrast(1.02) saturate(1.01);  /* â†� Reduced contrast */
}

.planet-name {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: capitalize;
  color: var(--green-dark);
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  transition: all 0.3s ease;
}

  font-size: 0.62rem;
}

/* Individual planet styles - REMOVE DARK SHADOWS */
.planet-cell[data-planet="sun"] .planet__atmosphere {
  box-shadow: 0px 0px 12px 2px rgba(204, 159, 76, 0.95), 0px 0px 24px 4px rgba(204, 159, 76, 0.4);
}

.planet-cell[data-planet="sun"] .planet__surface {
  background-image: var(--sun-image);
  animation: planetRotate 25s linear infinite;
}

.planet-cell[data-planet="moon"] .planet__atmosphere {
  box-shadow: 
    inset 8px 0px 12px -2px rgba(255,255,255,.4),
    inset -20px 0px 20px 0px rgba(100,100,100,0.3),
    0px 0px 8px 0px rgba(192, 192, 192, 0.5);
}

.planet-cell[data-planet="moon"] .planet__surface {
  background-image: var(--moon-image);
  animation: planetRotate 25s linear infinite;
}

.planet-cell[data-planet="mars"] .planet__atmosphere {
  box-shadow: 
    inset 8px 0px 12px -2px rgba(255,255,255,.4),
    inset -20px 0px 20px 0px rgba(100,100,100,0.3),
    0px 0px 8px 0px rgba(192, 113, 88, 0.5);
}

.planet-cell[data-planet="mars"] .planet__surface {
  background-image: var(--mars-image);
  animation: planetRotate 25s linear infinite;
}

.planet-cell[data-planet="mercury"] .planet__atmosphere {
  box-shadow: 
    inset 8px 0px 12px -2px rgba(255,255,255,.4),
    inset -20px 0px 20px 0px rgba(100,100,100,0.3),
    0px 0px 8px 0px rgba(153, 153, 153, 0.5);
}

.planet-cell[data-planet="mercury"] .planet__surface {
  background-image: var(--mercury-image);
  animation: planetRotate calc(var(--mercury-day) * 0.1s) linear infinite;
}

.planet-cell[data-planet="jupiter"] .planet__atmosphere {
  box-shadow: 
    inset 8px 0px 12px -2px rgba(255,255,255,.4),
    inset -20px 0px 20px 0px rgba(100,100,100,0.3),
    0px 0px 8px 0px rgba(201, 181, 164, 0.5);
}

.planet-cell[data-planet="jupiter"] .planet__surface {
  background-image: var(--jupiter-image);
  animation: planetRotate 25s linear infinite;
}

.planet-cell[data-planet="venus"] .planet__atmosphere {
  box-shadow: 
    inset 8px 0px 12px -2px rgba(255,255,255,.4),
    inset -20px 0px 20px 0px rgba(100,100,100,0.3),
    0px 0px 8px 0px rgba(232, 205, 162, 0.5);
}

.planet-cell[data-planet="venus"] .planet__surface {
  background-image: var(--venus-image);
  animation: planetRotate 25s linear infinite;
}

.planet-cell[data-planet="saturn"] .planet__atmosphere {
  box-shadow: 
    inset 8px 0px 12px -2px rgba(255,255,255,.4),
    inset -20px 0px 20px 0px rgba(100,100,100,0.3),
    0px 0px 8px 0px rgba(240, 226, 196, 0.5);
}

.planet-cell[data-planet="saturn"] .planet__surface {
  background-image: var(--saturn-image);
  animation: planetRotate 25s linear infinite;
}

.planet-cell[data-planet="rahu"] .planet__atmosphere {
  box-shadow: 
    inset 8px 0px 12px -2px rgba(255,255,255,.4),
    inset -20px 0px 20px 0px rgba(100,100,100,0.3),
    0px 0px 8px 0px rgba(94, 115, 187, 0.5);
}

.planet-cell[data-planet="rahu"] .planet__surface {
  background-image: var(--rahu-image);
  animation: planetRotate 25s linear infinite;
}

.planet-cell[data-planet="ketu"] .planet__atmosphere {
  box-shadow: 
    inset 8px 0px 12px -2px rgba(255,255,255,.4),
    inset -20px 0px 20px 0px rgba(100,100,100,0.3),
    0px 0px 8px 0px rgba(195, 182, 170, 0.5);
}

.planet-cell[data-planet="ketu"] .planet__surface {
  background-image: var(--ketu-image);
  animation: planetRotate 25s linear infinite;
}

/* ===============================
   GRID 3: CHARACTERISTICS - COMPLETE STYLES
   =============================== */
.grid-characteristics .lo-shu-cell {
  background: linear-gradient(135deg, var(--green-light), var(--green-medium));
  color: #2a6b4f;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.8rem 0.5rem;
}

.grid-characteristics .lo-shu-cell.center {
  font-size: 1.85rem;
  background: linear-gradient(135deg, #8fc3a9, #6fae92);
  box-shadow: 0 6px 20px rgba(31, 112, 74, 0.3), 0 0 30px rgba(31, 112, 74, 0.2);
}

/* Grid 3: Hover - smaller scale */
.grid-characteristics .lo-shu-cell:hover,
.grid-characteristics .lo-shu-cell:active,
.grid-characteristics .lo-shu-cell:focus-within {

  transform: scale(1.08);
  box-shadow: 0 15px 45px rgba(31, 112, 74, 0.4), 0 0 40px rgba(111, 181, 136, 0.3);
  z-index: 100;
  border-color: rgba(111, 181, 136, 0.6);
}

/* Grid 3: Number */
.grid-characteristics .cell-number {
  display: block;
  font-size: 1.6rem;
  font-weight: 500;
  color: #2a6b4f;
  line-height: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  transition: opacity 0.3s ease;
}

.grid-characteristics .lo-shu-cell.center .cell-number {
  font-size: 1.8rem;
  color: #2a6b4f;
}

/* Grid 3: Designation - HIDDEN BY DEFAULT, SHOWS ON HOVER */
.grid-characteristics .cell-designation {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--green-accent);
  text-align: center;
  line-height: 1.2;
  max-width: 90%;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease, font-size 0.3s ease;
}

.grid-characteristics .lo-shu-cell.center .cell-designation {
  color: #2a6b4f;
}

/* Grid 3: Hover effects - NUMBER DISAPPEARS, DESIGNATION APPEARS */
.grid-characteristics .lo-shu-cell:hover .cell-number {
  opacity: 0;
}

.grid-characteristics .lo-shu-cell:hover .cell-designation {
  opacity: 1;
  font-size: 0.72rem;
}

.grid-characteristics .lo-shu-cell.center:hover .cell-designation {
  color: #2a6b4f;
  font-size: 0.75rem;
}

/* Grid 3: Tooltip (characteristics) - MATCHED WITH GRID 1 */
.grid-characteristics .lo-shu-cell::after {
  content: attr(data-info);
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(31, 112, 74, 0.98);
  color: #fff;
  padding: 0.8rem 1.3rem;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 14px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: auto;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(111, 181, 136, 0.4);
  backdrop-filter: blur(12px);
  letter-spacing: 0.05em;
  z-index: 1000;
  border: 1px solid rgba(168, 213, 186, 0.3);
  min-width: 120px;
  text-align: center;
}

.grid-characteristics .lo-shu-cell:hover::after {
  opacity: 1;
  visibility: visible;
  bottom: calc(100% + 16px);
}

/* ===============================
   MAGIC SUM
   =============================== */
.magic-sum {
  margin-top: 4rem;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  color: var(--green-accent);
  font-weight: 300;
  text-shadow: 0 2px 8px rgba(31, 112, 74, 0.15);
}

/* ===============================
   RESPONSIVE
   =============================== */
@media (max-width: 1200px) {
  .lo-shu-container {
    width: 320px;
  }
}

@media (max-width: 900px) {
  .numerology-intro {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 4rem 1.5rem;
  }

  .intro-portrait { order: 2; }
  .intro-text { order: 1; }

  .lo-shu-pair {
    gap: 2.5rem;
  }

  .lo-shu-container {
    width: 300px;
  }

  .planet__atmosphere {
    height: 60px;
    width: 60px;
  }

  .planet-name {
    font-size: 0.65rem;
  }
}

@media (max-width: 500px) {
  .numerology-portrait-frame {
    width: 220px;
    height: 310px;
  }

  .intro-text h2 {
    font-size: 2rem;
  }

  .intro-text p {
    font-size: 1.05rem;
  }

  .lo-shu-container {
    width: 280px;
    padding: 1.5rem;
  }

  .lo-shu-cell {
    font-size: 1.3rem;
  }

  .lo-shu-cell.center {
    font-size: 1.6rem;
  }

  .grid-title {
    font-size: 1.1rem;
  }

  .grid-tagline {
    font-size: 0.8rem;
  }

  .planet__atmosphere {
    height: 50px;
    width: 50px;
  }

  .planet-name {
    font-size: 0.6rem;
  }
}
/* ===============================
   LO SHU GRID EXPLANATION
   =============================== */
.loshu-explanation {
  max-width: 1500px;
  margin: 4rem auto 0;
  padding: 3rem 2.5rem;
  background: linear-gradient(135deg, 
    rgba(168, 213, 186, 0.2) 0%, 
    rgba(214, 234, 223, 0.3) 100%);
  border-radius: 24px;
  border: 2px solid rgba(111, 181, 136, 0.25);
  box-shadow: 
    0 10px 40px rgba(31, 112, 74, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  position: relative;
  backdrop-filter: blur(10px);
}

.explanation-ornament {
  text-align: center;
  font-size: 2rem;
  color: var(--green-medium);
  margin-bottom: 1.5rem;
  opacity: 0.7;
  animation: gentleFloat 4s ease-in-out infinite;
}

.explanation-title {
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--green-accent);
  text-align: center;
  margin-bottom: 2rem;
  line-height: 1.3;
}

.explanation-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.explanation-text {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--green-text);
  text-align: center;
  letter-spacing: 0.01em;
  margin: 0;
}

.explanation-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(111, 181, 136, 0.2);
}

.explanation-ornament-small {
  font-size: 0.9rem;
  color: var(--green-accent);
  opacity: 0.7;
}


.explanation-tagline {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--green-accent);
  letter-spacing: 0.05em;
  font-weight: 400;
}


/* Responsive */
@media (max-width: 768px) {
  .loshu-explanation {
    padding: 2.5rem 2rem;
    margin: 3rem auto 0;
  }
  
  .explanation-title {
    font-size: 1.7rem;
  }
  
  .explanation-text {
    font-size: 1rem;
    line-height: 1.75;
  }
}

@media (max-width: 480px) {
  .loshu-explanation {
    padding: 2rem 1.5rem;
    margin: 2.5rem auto 0;
  }
  
  .explanation-title {
    font-size: 1.5rem;
  }
  
  .explanation-text {
    font-size: 0.95rem;
  }
  
  .explanation-tagline {
    font-size: 0.85rem;
  }
}
/* ==========================================
   NUMEROLOGY SERVICES - HORIZONTAL LAYOUT
   ========================================== */

.numerology-services {
  position: relative;
  padding: 5rem 2rem 6rem;
  background: radial-gradient(ellipse at center, #e8f4e8 0%, #d6eadf 40%, #c2ddcf 100%);
  overflow: hidden;
}

/* Header */
.numerology-services .services-header {
  text-align: center;
  margin-bottom: 4rem;
}

.numerology-services .header-ornament {
  font-size: 2.5rem;
  color: var(--green-medium);
  margin-bottom: 0.5rem;
  opacity: 0.7;
  animation: gentleFloat 4s ease-in-out infinite;
}

.numerology-services .services-header h2 {
  font-size: 2.6rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--green-accent);
  margin-bottom: 0.8rem;
}

.numerology-services .services-tagline {
  font-size: 1.05rem;
  color: var(--green-text);
  font-style: italic;
  letter-spacing: 0.02em;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* Find this section in your CSS and replace it */

/* Service Cards */
.service-card {
  background: linear-gradient(135deg, rgba(168, 213, 186, 0.85), rgba(149, 201, 168, 0.9));
  backdrop-filter: blur(10px);
  border-radius: 24px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(31, 112, 74, 0.15), 
              inset 0 1px 0 rgba(255, 255, 255, 0.6);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 60px rgba(31, 112, 74, 0.35), 
              0 0 60px rgba(111, 181, 136, 0.4),
              inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Card Image */
.card-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
  position: relative;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .card-image img {
  transform: scale(1.1);
}

.card-image:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(168, 213, 186, 0.1), rgba(111, 181, 136, 0.2));
  transition: opacity 0.4s ease;
}

.service-card:hover .card-image:after {
  opacity: 0.6;
}

/* Card Content */
.card-content {
  padding: 1.8rem 1.6rem;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #2a5a42;
  margin-bottom: 0.9rem;
  line-height: 1.3;
  text-align: center;
}

.card-description {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--green-accent);
  margin-bottom: 1.3rem;
  font-weight: 400;
  text-align: center;
}

.card-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card-benefits li {
  font-size: 0.82rem;
  color: #2a5a42;
  margin-bottom: 0.65rem;
  padding: 0 0.8rem;
  position: relative;
  line-height: 1.4;
  font-weight: 500;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.card-benefits li:before,
.card-benefits li:after {
  content: '\2726';
  color: var(--green-medium);
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* ==========================================
   RESPONSIVE - SERVICES
   ========================================== */

/* Tablet landscape + portrait: keep 2 clean columns for Sacred Offerings */
@media (max-width: 1100px) {
  .numerology-services .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.6rem;
    max-width: 920px;
  }
}

/* Smaller tablets */
@media (max-width: 900px), (hover: none) and (pointer: coarse) {
  .numerology-services .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem;
    max-width: 760px;
  }

  .numerology-services .card-content {
    padding: 1.55rem 1.3rem;
  }

  .numerology-services .service-card h3 {
    font-size: 1.15rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .numerology-services {
    padding: 4rem 1.5rem;
  }
  
  .numerology-services .services-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 450px;
  }
  
  .numerology-services .card-image {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .numerology-services .services-header h2 {
    font-size: 2rem;
  }
  
  .numerology-services .card-content {
    padding: 1.5rem 1.3rem;
  }
  
  .numerology-services .service-card h3 {
    font-size: 1.15rem;
  }
}

/* ===========================
   DEEPER OFFERINGS â€“ CLEAN SIDE LAYOUT
   =========================== */
.deeper-offerings {
  position: relative;
  padding: 5rem 2rem 2rem;
  background: linear-gradient(135deg, #eef5f1 0%, #e0ede5 50%, #d6eadf 100%);
  overflow: hidden;
}

.deeper-offerings::before,
.deeper-offerings::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.6;
}

.deeper-offerings::before {
  top: -12%;
  right: -6%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(168, 213, 186, 0.2) 0%, transparent 70%);
}

.deeper-offerings::after {
  bottom: -18%;
  left: -10%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(111, 181, 136, 0.15) 0%, transparent 70%);
}

/* Header */
.offerings-header {
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
  z-index: 1;
}

.offerings-header .header-ornament {
  font-size: 2.4rem;
  color: var(--green-medium);
  margin-bottom: 0.5rem;
  opacity: 0.7;
  animation: gentleFloat 4s ease-in-out infinite;
}

.offerings-header h2 {
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--green-accent);
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
}

.offerings-tagline {
  font-size: 1rem;
  color: var(--green-text);
  font-style: italic;
  letter-spacing: 0.02em;
}

/* Card */
.unified-offering-card {
  max-width: 1200px;
  margin: 0 auto 3rem;
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.85) 0%,
    rgba(238, 245, 241, 0.9) 100%);
  border-radius: 24px;
  border: 2px solid rgba(111, 181, 136, 0.35);
  box-shadow:
    0 10px 40px rgba(31, 112, 74, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 0 0 1px rgba(168, 213, 186, 0.2);
  overflow: hidden;
  position: relative;
  z-index: 1;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  backdrop-filter: blur(10px);
}

.unified-offering-card:hover {
  transform: translateY(-6px);
  border-color: rgba(111, 181, 136, 0.55);
  box-shadow:
    0 18px 60px rgba(31, 112, 74, 0.28),
    0 0 60px rgba(111, 181, 136, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

/* Segments */
.offering-segment {
  display: grid;
  grid-template-columns: 40% 60%;
  min-height: 280px;
  align-items: stretch;
}

.offering-segment:not(:last-child) {
  border-bottom: 1px solid rgba(111, 181, 136, 0.2);
}

.offering-segment.img-left {
  grid-template-columns: 40% 60%;
}

.offering-segment.img-right {
  grid-template-columns: 60% 40%;
}

/* Image â€“ exactly one per segment */
.segment-image {
  width: 100%;
  height: 100%;
  background: var(--green-lighter);
  overflow: hidden;
  position: relative;
}

.offering-segment.img-left .segment-image {
  order: 1;
}

.offering-segment.img-right .segment-image {
  order: 2;
}

.segment-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.unified-offering-card:hover .segment-image img {
  transform: scale(1.08);
}

.segment-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(168, 213, 186, 0.15), rgba(111, 181, 136, 0.1));
  transition: opacity 0.4s ease;
}

.unified-offering-card:hover .segment-image::after {
  opacity: 0.3;
}

/* Content */
.segment-content {
  width: 100%;
  padding: 2.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg,
    rgba(238, 245, 241, 0.4) 0%,
    rgba(232, 242, 236, 0.6) 100%);
}

.offering-segment.img-left .segment-content {
  order: 2;
}

.offering-segment.img-right .segment-content {
  order: 1;
}

/* Elegant titles */
.segment-title {
  font-size: 1.6rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--green-accent);
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
}

.offering-subtitle {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--green-medium);
  margin: 0 0 1.2rem 0;
  letter-spacing: 0.02em;
}

/* Description + points */
.offering-desc {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--green-dark);
  margin-bottom: 1.5rem;
  letter-spacing: 0.01em;
}

.offering-desc strong {
  color: var(--green-main);
  font-weight: 600;
}

.offering-points {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(111, 181, 136, 0.25);
}

.offering-points span {
  font-size: 0.95rem;
  color: var(--green-text);
  padding-left: 1.6rem;
  position: relative;
  line-height: 1.5;
  font-weight: 500;
}

.offering-points span::before {
  content: '\2726';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green-medium);
  font-size: 0.9rem;
  opacity: 0.8;
}

/* CTA */
.offerings-cta {
  display: block;
  width: fit-content;
  margin: 2.5rem auto 0;
  padding: 1rem 2.8rem;
  background-image: var(--gradient-button);
  background-size: 200% auto;
  border-radius: 28px;
  color: var(--green-dark);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(111, 181, 136, 0.35);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: 0.5s;
  position: relative;
  overflow: hidden;
}

.offerings-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.offerings-cta:hover {
  background-position: right center;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(111, 181, 136, 0.45);
}

.offerings-cta:hover::before {
  left: 100%;
}

/* Responsive */
@media (max-width: 1024px) {
  .unified-offering-card {
    max-width: 900px;
  }
  
  .segment-content {
    padding: 2rem 2.5rem;
  }

  .offering-segment {
    min-height: 240px;
  }
}

@media (max-width: 768px) {
  .deeper-offerings {
    padding: 3.5rem 1.5rem 4rem;
  }
  
  .offerings-header h2 {
    font-size: 2rem;
  }
  
  .unified-offering-card {
    margin-bottom: 2.5rem;
  }
  
  .offering-segment {
    grid-template-columns: 1fr !important;
    min-height: auto;
  }

  .offering-segment.img-left .segment-image,
  .offering-segment.img-right .segment-image {
    order: 1;
  }

  .offering-segment.img-left .segment-content,
  .offering-segment.img-right .segment-content {
    order: 2;
  }
  
  .segment-image {
    min-height: 220px;
  }

  .segment-content {
    padding: 2rem 1.8rem;
  }
}

@media (max-width: 480px) {
  .offerings-header h2 {
    font-size: 1.7rem;
  }
  
  .segment-title {
    font-size: 1.3rem;
    letter-spacing: 0.06em;
  }
  
  .segment-content {
    padding: 1.8rem 1.5rem;
  }
  
  .offerings-cta {
    padding: 0.9rem 2.2rem;
    font-size: 0.85rem;
  }

  .segment-image {
    min-height: 200px;
  }
}

/* =========================================
   COSMIC SIGNATURE â€“ HERO INLINE
   ========================================= */

.cosmic-signature {
  max-width: 720px;
  margin: 1rem auto 0.5rem;  /* â†� 3remâ†’1rem (top), 2.5remâ†’0.5rem (bottom) */
  text-align: center;
  padding: 0 1.5rem;
}


/* Star */
.cosmic-star {
  font-size: 1.6rem;
  color: var(--green-medium);
  opacity: 0.75;
  margin-bottom: 0.6rem;
}

/* Title */
.cosmic-title {
  font-size: 1.4rem;                /* smaller than hero h2 */
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--green-accent);
  margin: 0 0 0.6rem;
}

/* Text */
.cosmic-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--green-text);
  margin: 0 auto 1.6rem;
}

/* Calculator */
.cosmic-calc {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.cosmic-calc input {
  width: 190px;
  padding: 0.7rem 1rem;
  text-align: center;
  font-size: 0.9rem;
  letter-spacing: 0.14em;

  background: rgba(255,255,255,0.85);
  color: var(--green-dark);

  border-radius: 10px;
  border: 1px solid rgba(111,181,136,0.45);
  box-shadow: inset 0 2px 4px rgba(31,112,74,0.08);
}

.cosmic-calc button {
  padding: 0.7rem 1.4rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  background-image: var(--gradient-button);
  background-size: 200% auto;
  color: var(--green-dark);

  border: none;
  border-radius: 10px;
  cursor: pointer;

  box-shadow: 0 4px 14px rgba(111,181,136,0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cosmic-calc button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(111,181,136,0.4);
}

/* Result */
.cosmic-result {
  display: flex;
  justify-content: center;
  gap: 2rem;
  font-size: 0.95rem;
  color: var(--green-accent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.cosmic-result.visible {
  opacity: 1;
}

.cosmic-result strong {
  color: var(--green-dark);
  font-weight: 600;
}

/* Mobile */
@media (max-width: 768px) {
  .cosmic-calc {
    flex-direction: column;
    gap: 0.8rem;
  }
}
.cosmic-signature {
  opacity: 1 !important;
  position: relative;
  z-index: 20;
}
/* ===========================
   NUMEROLOGY HERO â€“ GENTLE ENTRANCE
   =========================== */

.numerology-hero .portrait-frame,
.numerology-hero .intro-text {
  animation: heroReveal 0.6s ease-out both;
}

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* UNIVERSAL MOBILE TOUCH - JSANYWHERE SAFE */
@media (max-width: 1024px) {
  
  /* 1. LO SHU GRIDS - Tap feedback */
  .lo-shu-cell {
    transition: all 0.2s ease;
  }
  .lo-shu-cell:focus,
  .lo-shu-cell:active {
    transform: scale(1.3) !important;
    outline: none;
    background: rgba(31, 112, 74, 0.2) !important;
    z-index: 1000 !important;
  }
  
  /* 2. SERVICE CARDS */
  .service-card:focus,
  .service-card:active,
  .container:focus,
  .container:active {
    transform: translateY(-12px) scale(1.02) !important;
  }
  
  /* 3. BUTTONS */
  .btn:focus,
  .btn:active,
  .contact-submit-btn:focus,
  .contact-submit-btn:active {
    transform: scale(0.97) !important;
  }
  
  /* 4. Remove hover persistence */
  *:hover {
    transition: none !important;
  }
  
  /* 5. Tap feedback */
  * {
    -webkit-tap-highlight-color: rgba(111, 181, 136, 0.4);
  }
}
/* MOBILE & TABLET LO SHU GRID FIXES */
@media (max-width: 1024px) {
  /* Keep planet container centered and sized properly */
  .grid-planets .planet-cell .planet-container {
    width: auto !important;
    height: auto !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
  }
  
  .grid-planets .planet__atmosphere {
    height: 38px !important;
    width: 38px !important;
  }
  
  .grid-planets .planet-name {
    font-size: 0.56rem !important;
  }
  
  /* Fix for characteristics grid - make text smaller and wrap properly */
  .grid-characteristics .lo-shu-cell:hover .cell-designation,
  .grid-characteristics .lo-shu-cell:active .cell-designation,
  .grid-characteristics .lo-shu-cell.active .cell-designation {
    font-size: 0.64rem !important;
    line-height: 1.2 !important;
    white-space: normal !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    padding: 0 0.35rem !important;
    max-width: 95% !important;
  }
  
  /* Smaller cells need even smaller text */
  @media (max-width: 600px) {
    .grid-characteristics .lo-shu-cell:hover .cell-designation,
    .grid-characteristics .lo-shu-cell:active .cell-designation,
    .grid-characteristics .lo-shu-cell.active .cell-designation {
      font-size: 0.58rem !important;
      line-height: 1.15 !important;
      padding: 0 0.3rem !important;
    }
  }
  
  /* Extra small screens */
  @media (max-width: 480px) {
    .grid-characteristics .lo-shu-cell:hover .cell-designation,
    .grid-characteristics .lo-shu-cell:active .cell-designation,
    .grid-characteristics .lo-shu-cell.active .cell-designation {
      font-size: 0.54rem !important;
      letter-spacing: 0.02em !important;
    }
  }
}
/* ==================================================
   LO SHU â€“ TOUCH SUPPORT (SAFE APPEND)
   Does NOT modify existing hover logic
   ================================================== */

/* Grid 1: Colors */
.grid-colors .lo-shu-cell.active::after {
  opacity: 1;
  visibility: visible;
  bottom: calc(100% + 16px);
}

/* Grid 2: Planets */
.planet-cell.active .cell-number {
  opacity: 0;
}

.planet-cell.active .planet-container {
  opacity: 1;
}

/* Grid 3: Characteristics */
.grid-characteristics .lo-shu-cell.active .cell-number {
  opacity: 0;
}

.grid-characteristics .lo-shu-cell.active .cell-designation {
  opacity: 1;
}

.grid-characteristics .lo-shu-cell.active::after {
  opacity: 1;
  visibility: visible;
  bottom: calc(100% + 16px);
}
/* ===========================
   HOME HERO â€“ MOBILE (FINAL)
   =========================== */

@media (max-width: 900px) {

  /* Give space below fixed header */
  .hero {
    padding-top: 110px;
  }

  /* Use grid for exact control */
  .hero:not(.numerology-hero) .hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "portrait portrait"
      "art numerology";
    gap: 3.5rem 1.8rem;
    align-items: center;
    justify-items: center;
    padding-bottom: 3.5rem; /* breathing space at bottom */
  }

  /* Assign grid areas */
  .hero:not(.numerology-hero) .portrait-wrapper {
    grid-area: portrait;
  }

  .hero:not(.numerology-hero) .portal:first-of-type {
    grid-area: art;
  }

  .hero:not(.numerology-hero) .portal:last-of-type {
    grid-area: numerology;
  }

  /* Smaller, calmer portrait */
  .hero:not(.numerology-hero) .portrait-frame {
    width: 180px;
    height: 215px;
  }

  /* Lift assets slightly */
  .hero:not(.numerology-hero) .portal {
    margin-bottom: 0.75rem;
    max-width: 140px;
  }

  /* Scale logos */
  .hero:not(.numerology-hero) .portal-logo {
    width: 110px;
  }

  .hero:not(.numerology-hero) .portal-logo-art {
    width: 120px;
  }

  /* Reduce text density under assets */
  .hero:not(.numerology-hero) .portal-text {
    font-size: 0.8rem;
  }

  .hero:not(.numerology-hero) .portal-line {
    font-size: 0.75rem;
    line-height: 1.3;
  }
  
}

/* ===========================
   FOOTER FORM MESSAGE
   =========================== */

.form-message {
  position: fixed;
  inset: 0;
  background: rgba(31, 112, 74, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 999;
}

.form-message.show {
  opacity: 1;
  pointer-events: auto;
}

.form-message-box {
  background: linear-gradient(180deg, #e8f2ec, #d6eadf);
  padding: 2.4rem 2.8rem;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(31, 112, 74, 0.35);
  max-width: 340px;
  animation: popIn 0.35s ease;
}

.form-message-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--green-main);
  color: #fff;
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.form-message-box h3 {
  margin-bottom: 0.4rem;
  color: var(--green-dark);
  font-weight: 500;
}

.form-message-box p {
  font-size: 0.95rem;
  color: var(--green-text);
  line-height: 1.45;
}

.form-message.error .form-message-icon {
  background: #8b2e2e;
}

@keyframes popIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
@media (max-width: 600px) {
  .services-section {
    padding: var(--spacing-lg) 1rem !important;
    overflow-x: hidden !important;
  }
  
  .wrapper {
    width: 300px !important;
    margin: 0 auto !important;
  }
  
  #c1, #n1 {
    margin-left: 15px !important;
  }
  
  #c2, #n2 {
    margin-left: -215px !important;
  }
  
  #c1:hover, #n1:hover {
    margin-left: -45px !important;
  }
  
  #c2:hover, #n2:hover {
    margin-left: -155px !important;
  }
  
  .container:hover {
    scale: 1.2 !important;
  }
  
  .services-section h3 {
    font-size: 0.9rem !important;
    line-height: 1.15 !important;
  }
  
  .services-section p {
    font-size: 0.78rem !important;
    line-height: 1.35 !important;
  }
  
.service-actions .btn {
  padding: 0.5rem 1.2rem !important;
  font-size: 0.8rem !important;
  min-width: auto !important;
  width: auto !important;
}

.service-actions {
  justify-content: center !important;
}
}
.container.active {
  transform: rotateX(0deg) rotateZ(0deg) scale(1.05) translateY(-20px) !important;
  z-index: 500 !important;
  box-shadow: 0px 30px 80px rgba(31, 112, 74, 0.45) !important;
}

@media (max-width: 600px) {
  .container.active {
    scale: 1.2 !important;
  }
}


/* ===========================
   ART PAGE â€“ HERO (FINAL FIX)
   =========================== */

.hero.art-hero {
  min-height: 100vh;
}

/* OVERRIDE global hero-content behavior */
.hero.art-hero .hero-content.coming-soon-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;

  /* spacing */
  padding: 3.8rem 2rem 6.5rem;
  gap: 1.4rem;

  text-align: center;
}

/* Portrait */
.hero.art-hero .art-portrait-frame {
  width: 260px;
  height: 260px;
  margin-top: 1.6rem;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.35);
  box-shadow: 0 12px 40px rgba(31,112,74,0.25);
}

.hero.art-hero .art-portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Text */
.hero.art-hero .coming-soon-text {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  line-height: 1.5;
  color: #154a30;
  max-width: 680px;
  text-shadow: 0 2px 8px rgba(255,255,255,0.3);
}

/* Tablet */
@media (max-width: 768px) {
  .hero.art-hero .coming-soon-text {
    font-size: 1.35rem;
  }
}

/* Mobile â€” FULL SCREEN, STACKED */
@media (max-width: 480px) {

  .hero.art-hero {
    min-height: 100vh;
  }

  .hero.art-hero .hero-content.coming-soon-content {
    padding: 4.2rem 2rem 5.8rem;
    gap: 2rem;
  }

  .hero.art-hero .art-portrait-frame {
    width: 180px;
    height: 180px;
    margin-top: 0;
  }

  .hero.art-hero .coming-soon-text {
    font-size: 1.15rem;
    letter-spacing: 0.05em;
    line-height: 1.45;
  }
}
@media (min-width: 769px) {
  .hero.art-hero .hero-content.coming-soon-content {
    gap: 2.2rem;
  }
}

/* ===========================
   ART PAGE - PAINTINGS GALLERY
   =========================== */
.art-page .art-gallery-section {
  position: relative;
  padding: 1.5rem 2rem 4.5rem;
  overflow: hidden;
}

.art-page .art-gallery-header {
  text-align: center;
  margin-bottom: 1.6rem;
}

.art-page .art-gallery-header p {
  font-size: 1.14rem;
  color: var(--green-text);
  font-style: italic;
  letter-spacing: 0.02em;
}

.art-page .art-gallery-stage {
  width: min(980px, 100%);
  height: clamp(280px, 42vw, 460px);
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1300px;
}

.art-page .art-gallery-track {
  --ring-radius: min(56vw, 660px);
  width: 146px;
  height: 146px;
  position: relative;
  transform-style: preserve-3d;
  animation: artGalleryRotate 248s linear infinite;
}

.art-page .art-gallery-track:hover {
  animation-play-state: paused;
}

.art-page .art-gallery-track figure {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 22px rgba(31, 112, 74, 0.16);
  background: transparent;
  backface-visibility: hidden;
  transform: rotateY(calc(var(--index) * (360deg / var(--items)))) translateZ(var(--ring-radius));
}

.art-page .art-gallery-track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  background: transparent;
  padding: 0;
  transition: none;
  filter: saturate(0.97);
  backface-visibility: hidden;
}

@keyframes artGalleryRotate {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}

@media (max-width: 1024px), (hover: none) and (pointer: coarse) {
  .art-page .art-gallery-section {
    padding: 1rem 1.5rem 3.8rem;
  }

  .art-page .art-gallery-stage {
    height: auto;
    perspective: none;
    overflow: hidden;
    display: block;
    padding-bottom: 0.4rem;
    touch-action: pan-x pan-y;
    contain: paint;
  }

  .art-page .art-gallery-track {
    width: max-content;
    height: auto;
    position: static;
    animation: marqueeScroll 72s linear infinite !important;
    display: flex;
    gap: 0.9rem;
    padding: 0 0.15rem;
    will-change: transform;
    backface-visibility: hidden;
    contain: content;
  }

  .art-page .art-gallery-track figure {
    position: relative;
    inset: auto;
    transform: none !important;
    flex: 0 0 252px;
    width: 252px;
    height: 252px;
  }

  .art-page .art-gallery-controls {
    display: none !important;
  }

}

@media (max-width: 560px), (hover: none) and (pointer: coarse) {
  .art-page .art-gallery-stage {
    padding-bottom: 0.3rem;
  }

  .art-page .art-gallery-track {
    gap: 0.7rem;
  }

  .art-page .art-gallery-track figure {
    flex: 0 0 214px;
    width: 214px;
    height: 214px;
  }

  .art-page .art-gallery-header p {
    font-size: 1rem;
  }
}



.art-page .art-gallery-controls {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 0.8rem;
}

.art-page .art-gallery-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(111, 181, 136, 0.45);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.45), rgba(168, 213, 186, 0.28));
  color: var(--green-accent);
  font-size: 1.15rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(31, 112, 74, 0.14);
  transition: transform var(--transition-base), box-shadow var(--transition-base), color var(--transition-base);
}

.art-page .art-gallery-btn:hover {
  transform: translateY(-2px);
  color: var(--green-dark);
  box-shadow: 0 10px 18px rgba(31, 112, 74, 0.2);
}

/* ===== Mobile Tap + Visual Feedback (All Browsers) ===== */

/* 1. Remove mobile tap delay */
.lo-shu-cell {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* 2. Keep hover on desktop, use active feedback on mobile */
@media (hover: none) and (pointer: coarse) {
  .lo-shu-cell:active {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  }
}
/* ===== Mobile Tap + Visual Feedback (All Browsers) ===== */

/* 1. Remove mobile tap delay */
.lo-shu-cell {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* 2. Keep hover on desktop, use active feedback on mobile */
@media (hover: none) and (pointer: coarse) {
  .lo-shu-cell:active {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  }
}
/* Tap Hint - MOBILE ONLY */
.tap-hint {
  display: none; /* Hidden on desktop */
}

@media (max-width: 468px) {
  .tap-hint {
    display: block;
    position: absolute;
    top: 42%; /* Shifted up from 50% */
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 400;
    pointer-events: none;
    text-align: center;
    opacity: 0.75; /* More subtle */
  }
  
  .tap-hint-text {
    font-size: 0.7rem; /* Smaller */
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #1f5a3d;
    background: rgba(255, 255, 255, 0.75); /* More transparent */
    padding: 0.35rem 0.75rem; /* Smaller padding */
    border-radius: 16px;
    box-shadow: 0 3px 10px rgba(31, 112, 74, 0.12);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(111, 181, 136, 0.25);
    animation: gentlePulse 2.5s ease-in-out infinite;
  }
}

@keyframes gentlePulse {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.03); }
}

@media (max-width: 480px) {
  .tap-hint {
    top: 40%; /* Even higher on small screens */
  }
  
  .tap-hint-text {
    font-size: 0.65rem;
    padding: 0.3rem 0.65rem;
  }
}

/* ===========================
   COSMIC STORE PAGE
   =========================== */

/* Full-page animated background */
.cosmic-store-page {
  background: transparent;
}

.cosmic-store-page .cosmic-store-background {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.cosmic-store-page .cosmic-store-background .hero-bg,
.cosmic-store-page .cosmic-store-background .stars-container,
.cosmic-store-page .cosmic-store-background .shooting-stars {
  position: absolute;
  inset: 0;
}

/* Let the full-page background remain visible through sections */
.cosmic-store-page .hero.numerology-hero.cosmic-store-hero,
.cosmic-store-page .site-footer {
  background: transparent;
}

/* Hero */
.hero.numerology-hero.cosmic-store-hero {
  min-height: 24vh;
}

.hero.numerology-hero.cosmic-store-hero .hero-content.cosmic-store-hero-content {
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
}

.hero.numerology-hero.cosmic-store-hero h1 {
  font-size: 2.4rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--green-accent);
  text-shadow: 0 2px 12px rgba(31, 112, 74, 0.25);
  line-height: 1.25;
  margin-bottom: 0.3rem;
}

.hero.numerology-hero.cosmic-store-hero .cosmic-store-divider {
  width: min(420px, 72vw);
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(31, 112, 74, 0) 0%,
    rgba(31, 112, 74, 0.45) 20%,
    rgba(111, 181, 136, 0.8) 50%,
    rgba(31, 112, 74, 0.45) 80%,
    rgba(31, 112, 74, 0) 100%
  );
  position: relative;
  margin-top: 0.1rem;
}

.hero.numerology-hero.cosmic-store-hero .cosmic-store-divider::after {
  content: none;
}

/* Hero Title Spacing */
.cosmic-store-page .hero.numerology-hero h1 {
    margin-top: 2rem; 
    margin-bottom: 0.5rem;
}

.cosmic-store-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.2rem 2rem 2.2rem;
  position: relative;
  z-index: 10;
}

.cosmic-store-page .store-section {
  margin-bottom: 4rem;
}

.cosmic-store-container .store-section:last-child {
  margin-bottom: 1.2rem;
}

.cosmic-store-page .footer-contact-section {
  padding-top: 2.2rem;
}

/* Category Headers - Matched to .offerings-header */
.cosmic-store-page .store-section .services-header {
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
  z-index: 1;
}

.cosmic-store-page .store-section .header-ornament {
  font-size: 2.4rem;
  color: var(--green-medium);
  margin-bottom: 0.5rem;
  opacity: 0.7;
  animation: gentleFloat 4s ease-in-out infinite;
}

.cosmic-store-page .store-section .services-header h2 {
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--green-accent);
  letter-spacing: 0.06em;
  margin-bottom: 0.6rem;
  text-transform: none; /* Reset uppercase if inherited */
  font-family: var(--font-base); /* Inherit or specify if needed, .offerings-header uses default which is sans-serif but looked serif in screenshot? Let's check var(--font-base). Actually .offerings-header h2 uses default font weight 300. */
}

.cosmic-store-page .store-section .services-tagline {
  font-size: 0.85rem;
  color: var(--green-text);
  font-style: italic;
  letter-spacing: 0.02em;
}

/* Grid */
.cosmic-store-page .store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  justify-content: center;
}

/* Product Card - Matched to .service-card */
.cosmic-store-page .product-card {
  background: transparent;
  border-radius: 24px;
  border: 1px solid rgba(111, 181, 136, 0.25);
  box-shadow: 0 10px 34px rgba(31, 112, 74, 0.18);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
  text-align: center;
  position: relative;
  height: 100%;
}

.cosmic-store-page .product-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 56px rgba(31, 112, 74, 0.32), 0 0 44px rgba(111, 181, 136, 0.22);
  border-color: rgba(111, 181, 136, 0.45);
}

/* Image Wrapper */
.cosmic-store-page .card-image-wrapper {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.cosmic-store-page .card-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13, 56, 33, 0.02), rgba(13, 56, 33, 0.24));
  transition: opacity 0.4s ease;
}

.cosmic-store-page .card-img-top {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.cosmic-store-page .product-card:hover .card-img-top {
  transform: scale(1.1);
}

/* Card Body */
.cosmic-store-page .card-body {
  padding: 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  align-items: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(168, 213, 186, 0.12));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(111, 181, 136, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.cosmic-store-page .product-card:hover .card-body {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(168, 213, 186, 0.18));
  border-top-color: rgba(111, 181, 136, 0.44);
}

.cosmic-store-page .product-card h3 {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #2a5a42;
  margin-bottom: 0.9rem;
  line-height: 1.3;
}

.cosmic-store-page .product-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--green-accent); /* Match .card-description */
  margin-bottom: 1.3rem;
  font-weight: 400;
  flex-grow: 1;
}

.cosmic-store-page .product-footer {
  margin-top: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.cosmic-store-page .price-tag {
  font-family: var(--font-base);
  font-size: 1rem;
  font-weight: 500;
  color: var(--green-accent);
  background: rgba(255, 255, 255, 0.2);
  padding: 0.36rem 1.05rem;
  border-radius: 50px;
  display: inline-block;
  border: 1px solid rgba(111, 181, 136, 0.28);
  box-shadow: inset 0 1px 6px rgba(255,255,255,0.22);
}

/* Buttons */
.cosmic-store-page .btn-book {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(168, 213, 186, 0.28));
  color: var(--green-accent);
  padding: 0.62rem 1.7rem;
  border-radius: 50px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
  box-shadow: 0 5px 16px rgba(31, 112, 74, 0.15);
  border: 1px solid rgba(111, 181, 136, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.cosmic-store-page .btn-book:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.38), rgba(168, 213, 186, 0.35));
  color: var(--green-dark);
  box-shadow: 0 8px 20px rgba(31, 112, 74, 0.2);
  transform: translateY(-2px);
}

.cosmic-store-page .btn-request {
  background: rgba(255, 255, 255, 0.9);
  color: var(--green-main);
  border: 1px solid var(--green-medium);
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.cosmic-store-page .btn-request:hover {
  background: #fff;
  color: var(--green-dark);
}

.cosmic-store-page .highlight-card {
  /* Inherit same base style, maybe slightly different gradient if needed? 
     For now keep same as .service-card to ensure consistency */
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 10px 40px rgba(31, 112, 74, 0.25), 
              inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.cosmic-store-page .popular-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #f59e0b;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
  z-index: 5;
}

/* Responsive */
@media (max-width: 600px) {
  .cosmic-store-page .store-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

/* ===========================
   CHECKOUT PAGE
   =========================== */
.checkout-page .checkout-hero {
  min-height: 20vh;
}

.checkout-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.8rem 2rem 4rem;
  position: relative;
  z-index: 10;
}

.checkout-back-link {
  display: inline-block;
  margin-bottom: 1.2rem;
  font-size: 0.9rem;
  color: var(--green-accent);
  opacity: 0.9;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.8rem;
}

.checkout-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(168, 213, 186, 0.14));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(111, 181, 136, 0.3);
  border-radius: 24px;
  box-shadow: 0 12px 36px rgba(31, 112, 74, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  padding: 1.8rem;
}

.checkout-card h2 {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--green-accent);
  letter-spacing: 0.03em;
  margin-bottom: 1.2rem;
}

.checkout-form {
  display: grid;
  gap: 1rem;
}

.checkout-form .form-group {
  gap: 0.35rem;
}

.checkout-form input,
.checkout-form textarea {
  padding: 0.75rem 0.95rem;
  border-radius: 10px;
  border: 1px solid rgba(111, 181, 136, 0.35);
  background: rgba(255, 255, 255, 0.72);
  color: var(--green-dark);
  font-size: 0.92rem;
  font-family: inherit;
  box-shadow: inset 0 2px 4px rgba(31, 112, 74, 0.08);
}

.checkout-form input:focus,
.checkout-form textarea:focus {
  outline: none;
  border-color: var(--green-medium);
  box-shadow: inset 0 2px 4px rgba(31, 112, 74, 0.08), 0 0 0 3px rgba(111, 181, 136, 0.18);
}

.checkout-summary .summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(111, 181, 136, 0.22);
  color: var(--green-text);
}

.checkout-summary .summary-row strong {
  color: var(--green-accent);
  font-weight: 500;
  text-align: right;
}

.checkout-summary .total-row {
  margin-top: 0.3rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(111, 181, 136, 0.35);
  border-bottom: none;
}

.checkout-summary .discount-row strong {
  color: #2f7d55;
}

.coupon-wrap {
  margin-top: 0.8rem;
  margin-bottom: 0.15rem;
}

.coupon-wrap label {
  display: block;
  font-size: 0.8rem;
  color: var(--green-accent);
  margin-bottom: 0.7rem;
  letter-spacing: 0.02em;
}

.coupon-row {
  display: flex;
  gap: 0.5rem;
}

.coupon-row input {
  flex: 1;
  min-width: 0;
  border-radius: 10px;
  border: 1px solid rgba(111, 181, 136, 0.35);
  background: rgba(255, 255, 255, 0.72);
  color: var(--green-dark);
  padding: 0.58rem 0.75rem;
  font-size: 0.84rem;
  font-family: inherit;
}

.coupon-row input:focus {
  outline: none;
  border-color: var(--green-medium);
  box-shadow: 0 0 0 3px rgba(111, 181, 136, 0.18);
}

.coupon-row button {
  border: 1px solid rgba(111, 181, 136, 0.4);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.34), rgba(168, 213, 186, 0.34));
  color: var(--green-accent);
  padding: 0.58rem 0.85rem;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  font-family: inherit;
}

.coupon-message {
  min-height: 1.2rem;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: #2f7d55;
}

.coupon-message.error {
  color: #8b2e2e;
}
.checkout-pay-btn {
  margin-top: 1.4rem;
  width: 100%;
  padding: 0.72rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(111, 181, 136, 0.35);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.34), rgba(168, 213, 186, 0.34));
  color: var(--green-accent);
  letter-spacing: 0.04em;
  font-weight: 500;
  font-family: inherit;
  box-shadow: 0 6px 18px rgba(31, 112, 74, 0.15);
}

.checkout-pay-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(31, 112, 74, 0.2);
}

.checkout-note {
  margin-top: 0.95rem;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--green-text);
  opacity: 0.9;
}

@media (max-width: 900px) {
  .checkout-grid {
    grid-template-columns: 1fr;
  }
}

