/* =====================================================
   CSS VARIABLES
===================================================== */
:root {
  --primary: #0f4db3;
  --primary-dark: #043481;
  --gold: #dbc087;
  --gold-dark: #8e6b12;
  --gold-mid: #eed28b;
  --gold-grad: linear-gradient(90deg, #8e6b12 0%, #eed28b 50%, #8e6b12 100%);
  --hero-overlay: rgba(15, 77, 179, 0.55);
  --white: #ffffff;
  --text-dark: #1a1a2e;
  --text-mid: #444466;
  --radius-pill: 50px;
  --radius-card: 16px;
  --transition: all 0.3s ease;
}

/* =====================================================
   GLOBAL RESET & BASE
===================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
}

.sinhala {
  font-family: 'Noto Sans Sinhala', sans-serif;
}

.serif {
  font-family: 'Noto Serif', serif;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
}

/* =====================================================
   SHARED BUTTONS & UTILITIES
===================================================== */
.btn-gold {
  background: var(--gold-grad);
  color: var(--white);
  border: 2px solid var(--gold);
  border-radius: var(--radius-pill);
  font-family: 'Noto Serif', serif;
  font-weight: 600;
  padding: 10px 28px;
  transition: var(--transition);
}

.btn-gold:hover {
  filter: brightness(1.1);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-primary-custom {
  background: var(--primary);
  color: var(--white);
  border: 2px solid var(--white);
  border-radius: var(--radius-pill);
  font-family: 'Noto Serif', serif;
  font-weight: 600;
  padding: 4px 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}

.btn-primary-custom .icon-circle {
  background: var(--gold);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 14px;
  flex-shrink: 0;
}

.btn-primary-custom:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.section-title {
  font-family: 'Marko One', cursive;
  font-weight: 700;
  color: var(--primary);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 0.5rem;
}

.section-divider {
  width: 60px;
  height: 4px;
  background: var(--gold-grad);
  border-radius: 2px;
  margin: 0 auto 2rem;
}

/* SVG Section Dividers */
.section-divider-svg {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  display: block;
}

.section-divider-svg .divider-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 200px;
}

/* Responsive adjustments for dividers */
@media (max-width: 991.98px) {
  .section-divider-svg .divider-image {
    max-height: 150px;
  }

  .astrology-section::after {
    height: 150px;
  }
}

@media (max-width: 767.98px) {
  .section-divider-svg .divider-image {
    max-height: 100px;
  }

  .astrology-section::after {
    height: 100px;
  }
}

@media (max-width: 575.98px) {
  .section-divider-svg .divider-image {
    max-height: 80px;
  }

  .astrology-section::after {
    height: 80px;
  }
}

/* =====================================================
   NAVBAR
===================================================== */
.site-navbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
}

.navbar-inner {
  background: var(--white);
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
}

.navbar-logo img {
  height: 70px;
  width: auto;
  object-fit: contain;
}

.navbar-logo-placeholder {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar-nav-links li a {
  font-family: 'Marko One', cursive;
  color: var(--primary);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 4px;
}

.navbar-nav-links li a:hover {
  color: var(--gold-dark);
}

/* ── Dropdown wrapper ── */
.nav-item-dropdown {
  position: relative;
}

/* Chevron icon rotation */
.nav-item-dropdown>a .fa-chevron-down {
  transition: transform 0.25s ease;
}

.nav-item-dropdown:hover>a .fa-chevron-down,
.nav-item-dropdown.open>a .fa-chevron-down {
  transform: rotate(180deg);
}

/* ── Desktop dropdown panel ── */
.dropdown-panel {
  display: none;
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(15, 77, 179, 0.15);
  border: 1px solid rgba(15, 77, 179, 0.08);
  min-width: 220px;
  padding: 8px 0;
  z-index: 200;
  /* Animate in */
  opacity: 0;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  pointer-events: none;
}

/* Small arrow caret on top */
.dropdown-panel::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid var(--white);
  filter: drop-shadow(0 -2px 2px rgba(15, 77, 179, 0.08));
}

/* Invisible hover bridge to prevent dropdown from disappearing */
.dropdown-panel::after {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 20px;
  background: transparent;
}

/* Show on hover (desktop) */
.nav-item-dropdown:hover .dropdown-panel {
  display: block;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* Dropdown items */
.dropdown-panel a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  color: var(--text-dark);
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
}

.dropdown-panel a:hover {
  background: rgba(15, 77, 179, 0.05);
  color: var(--primary);
  padding-left: 26px;
}

.dropdown-panel a .drop-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, rgba(15, 77, 179, 0.1) 0%, rgba(219, 192, 135, 0.2) 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--primary);
  flex-shrink: 0;
  transition: var(--transition);
}

.dropdown-panel a:hover .drop-icon {
  background: var(--primary);
  color: var(--white);
}

/* Divider inside dropdown */
.dropdown-divider {
  height: 1px;
  background: rgba(15, 77, 179, 0.07);
  margin: 6px 16px;
}

/* Language Toggle */
.lang-toggle {
  background: var(--white);
  border: 2px solid var(--primary);
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  height: 38px;
  width: 90px;
  position: relative;
  flex-shrink: 0;
  cursor: pointer;
  user-select: none;
  overflow: hidden;
}

.lang-toggle .lang-slider {
  background: var(--gold-grad);
  border-radius: var(--radius-pill);
  height: 30px;
  width: 42px;
  position: absolute;
  left: 2px;
  top: 2px;
  transition: left 0.3s ease;
  z-index: 0;
  pointer-events: none;
}

/* Slider moves right when EN active */
.lang-toggle.lang-en .lang-slider {
  left: calc(100% - 44px);
}

.lang-toggle span {
  position: relative;
  z-index: 1;
  flex: 1;
  text-align: center;
  font-family: 'Marko One', cursive;
  font-size: 13px;
  font-weight: 600;
  transition: color 0.3s ease;
  pointer-events: none;
  /* spans don't absorb clicks */
}

/* Default: Si active */
.lang-toggle .lang-lbl-si {
  color: var(--white);
}

.lang-toggle .lang-lbl-en {
  color: var(--primary);
}

/* EN active */
.lang-toggle.lang-en .lang-lbl-si {
  color: var(--primary);
}

.lang-toggle.lang-en .lang-lbl-en {
  color: var(--white);
}

/* Sticky navbar (added by JS on scroll) */
.navbar-sticky {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  animation: navSlideDown 0.3s ease;
}

@keyframes navSlideDown {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(0);
  }
}

/* Contact Button */
.btn-contact {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-pill);
  font-family: 'Marko One', cursive;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 24px;
  white-space: nowrap;
  transition: var(--transition);
  border: none;
}

.btn-contact:hover {
  background: var(--primary-dark);
  color: var(--white);
}

/* Mobile navbar */
.mobile-menu-toggle {
  background: var(--primary);
  border: none;
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  background: var(--white);
  border-radius: 16px;
  margin-top: 12px;
  padding: 20px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
}

.mobile-nav.open {
  display: block;
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav ul li {
  border-bottom: 1px solid #eef0f8;
  padding: 12px 0;
}

.mobile-nav ul li:last-child {
  border-bottom: none;
}

.mobile-nav ul li a {
  font-family: 'Marko One', cursive;
  color: var(--primary);
  font-size: 16px;
  font-weight: 500;
}

/* ── Mobile accordion dropdown ── */
.mobile-nav-item {
  border-bottom: 1px solid #eef0f8;
}

.mobile-nav-item:last-child {
  border-bottom: none;
}

.mobile-nav-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 0;
  background: none;
  border: none;
  font-family: 'Marko One', cursive;
  color: var(--primary);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
}

.mobile-nav-trigger .mob-chevron {
  font-size: 12px;
  transition: transform 0.25s ease;
  color: var(--primary);
}

.mobile-nav-trigger.active .mob-chevron {
  transform: rotate(180deg);
}

.mobile-dropdown {
  display: none;
  background: rgba(15, 77, 179, 0.03);
  border-radius: 10px;
  margin-bottom: 8px;
  overflow: hidden;
}

.mobile-dropdown.open {
  display: block;
}

.mobile-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
}

.mobile-dropdown a:hover {
  color: var(--primary);
  background: rgba(15, 77, 179, 0.06);
}

.mobile-dropdown a .drop-icon {
  width: 28px;
  height: 28px;
  background: rgba(15, 77, 179, 0.08);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--primary);
  flex-shrink: 0;
}

/* =====================================================
   HERO SECTION
   Z-index stack (bottom → top):
     0  shiva_bg.png  (section background photo)
     1  blue overlay
     2  shiva.png     (absolute, bottom-left cutout)
     3  social sidebar
     4  gold frame + all text content
===================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  background: #0b2d6e;
  /* fallback while image loads */
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: 110px;
  padding-bottom: 48px;
}

/* ── Layer 0: background photo ── */
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

/* ── Layer 1: blue overlay — solid enough to darken photo ── */
.hero-blue-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg,
      rgba(4, 52, 129, 0.82) 0%,
      rgba(15, 77, 179, 0.72) 50%,
      rgba(4, 52, 129, 0.88) 100%);
  z-index: 1;
  pointer-events: none;
}

/* ── Layer 2: shiva.png — absolute, bottom-left, above overlay ── */
.hero-shiva-abs {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 92%;
  width: auto;
  max-width: 55%;
  object-fit: contain;
  object-position: bottom;
  z-index: 5;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(-12px 0 40px rgba(0, 0, 0, 0.5));
}

/* ── Layer 3: social sidebar ── */
.hero-social {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background: rgb(255 255 255 / 24%);
  border-radius: 0 28px 28px 0;
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 3;
}

.hero-social a {
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: var(--transition);
}

.hero-social a:hover {
  background: var(--primary-dark);
  transform: scale(1.1);
}

/* ── Layer 4: container holds gold frame above everything ── */
.hero-container {
  position: relative;
  z-index: 4;
  width: 100%;
}

/* ── Gold frame: content box ── */
.hero-gold-frame {
  background: linear-gradient(180deg, #EFD38B 0%, rgba(239, 211, 139, 0.10) 100%);
  border-radius: 34px;
  padding: 48px 40px 25px;
  width: 100%;
  /* ensure content is always readable above overlay */
  position: relative;
  z-index: 4;
  /* backdrop blur adds depth on browsers that support it */
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.hero-content {
  position: relative;
  z-index: 5;
}

/* Text content */
.hero-badge {
  background: var(--primary);
  color: var(--white);
  border-radius: 12px;
  padding: 10px 20px;
  font-family: 'Marko One', cursive;
  font-size: clamp(12px, 1.4vw, 15px);
  font-weight: 400;
  display: inline-block;
  margin-bottom: 18px;
}

.hero-title-sinhala {
  font-family: 'Noto Sans Sinhala', sans-serif;
  font-size: clamp(1.6rem, 4.5vw, 3rem);
  color: var(--white);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  text-stroke-width: 4.24px;
  -webkit-text-stroke-width: 4.24px;
  text-stroke-color: #0F4DB3;
  -webkit-text-stroke-color: #0F4DB3;
  paint-order: stroke fill;
}

.hero-subtitle {
  color: var(--primary);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: clamp(12px, 1.4vw, 15px);
  background: rgba(255, 255, 255, 0.92);
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 28px;
}

/* Mobile social inside gold frame */
.hero-mobile-social {
  display: none;
  gap: 12px;
  margin-top: 24px;
}

.hero-mobile-social a {
  background: rgba(219, 192, 135, 0.85);
  color: var(--primary);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: var(--transition);
}

.hero-mobile-social a:hover {
  background: var(--gold);
}

/* CTA Button wrapper - positioned at bottom edge of gold frame */
.hero-cta-wrapper {
  position: absolute;
  bottom: -25px;
  z-index: 10;
}

/* =====================================================
   SERVICES SECTION
===================================================== */
.services-section {
  padding: 80px 0;
}

.services-decorative-placeholder {
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
}

.services-decorative-placeholder i {
  font-size: 80px;
  color: rgba(15, 77, 179, 0.25);
}

.service-card {
  padding: 24px;
  transition: var(--transition);
  height: 100%;
}

.service-card:hover {
  box-shadow: 0 4px 12px rgba(15, 77, 179, 0.12);
  transform: translateY(-4px);
  border-color: rgba(15, 77, 179, 0.2);
}

.service-icon-wrap {
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, rgba(15, 77, 179, 0.1) 0%, rgba(219, 192, 135, 0.2) 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  flex-shrink: 0;
}

.service-icon-wrap img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.service-icon-wrap i {
  font-size: 22px;
  color: var(--primary);
}

.service-card h4 {
  font-family: 'Marko One', cursive;
  color: var(--primary);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card p {
  font-family: 'Noto Sans Sinhala', sans-serif;
  color: var(--text-mid);
  font-size: 13px;
  line-height: 1.8;
  margin: 0;
}

/* =====================================================
   ABOUT / FOUNDER SECTION
===================================================== */
.about-section {
  position: relative;
  overflow: hidden;
}

/* Outer shell — plain fallback bg for areas outside the container */
.about-section-inner {
  background: linear-gradient(180deg, rgba(255, 210, 0, 0.92) 0%, rgba(255, 210, 0, 0.70) 30%, rgba(255, 210, 0, 0.35) 60%, transparent 100%);
}

/* content-wrap needs no z-index, just sits normally */
.about-content-wrap {
  position: relative;
}

/* ── The container itself is the positioning parent for images ── */
.about-container {
  position: relative;
  overflow: hidden;
}

/* ── Layer 0: numinda_bg.png — fills the container, large screens only ── */
.about-bg-photo {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

/* ── Layer 1: Yellow-to-transparent gradient overlay — inside container ── */
.about-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 1;
  pointer-events: none;
}

/* ── Layer 3: numinda.png — bottom-right of container, large screens only ── */
.about-numinda-abs {
  position: absolute;
  bottom: 0;
  right: 0;
  width: auto;
  max-width: 95%;
  object-fit: contain;
  object-position: bottom right;
  z-index: 5;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(-8px 0 32px rgba(0, 0, 0, 0.35));
}

/* ── Layer 2: all real content — above overlay ── */
.about-section-content {
  position: relative;
  z-index: 2;
  padding: 0 0 56px;
}

/* ── 30+ badge — white pill, drops from very top ── */
.about-exp-badge {
  background: var(--white);
  border-radius: 0 0 18px 18px;
  padding: 18px 28px 20px;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
  margin-left: auto;
  flex-shrink: 0;
}

.about-exp-badge .exp-num {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -3px;
}

.about-exp-badge .exp-label {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.3;
}

/* Top row: badge aligned right */
.about-top-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 24px;
}

/* ── Org title ── */
.about-org-title {
  font-family: 'Marko One', cursive;
  font-size: clamp(1.5rem, 3vw, 2.8rem);
  color: #674a00;
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 80px;
}

/* ── Bio card: two halves, solid #0f4db3 ── */
.about-bio-card {
  display: flex;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 28px;
  background: #0f4db3;
}

/* Left half — image zone */
.about-bio-img-half {
  flex: 1;
  min-height: 220px;
  background: #0f4db3;
  position: relative;
}

/* Right half — text */
.about-bio-text-half {
  flex: 1;
  background: #0f4db3;
  padding: 32px 36px;
}

.about-bio-text-half p {
  font-family: 'Noto Sans Sinhala', sans-serif;
  color: var(--white);
  font-size: clamp(13px, 1.4vw, 15px);
  line-height: 2;
  margin-bottom: 14px;
}

.about-bio-text-half p:last-child {
  margin-bottom: 0;
}

/* ── "Call Us Today" label ── */
.about-call-label {
  display: inline-flex;
  align-items: center;
  background: var(--gold-grad);
  border: 2px solid var(--gold);
  border-radius: var(--radius-pill);
  padding: 6px 22px;
  font-family: 'Marko One', cursive;
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 14px;
}

/* ── Gold phone button ── */
.about-phone-btn {
  background: var(--gold-grad);
  border: 2px solid var(--gold);
  border-radius: var(--radius-pill);
  padding: 12px 28px 12px 16px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: 'Marko One', cursive;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 500;
  color: var(--white);
  transition: var(--transition);
  text-decoration: none;
}

.about-phone-btn:hover {
  filter: brightness(1.1);
  color: var(--white);
  transform: translateY(-2px);
}

.about-phone-btn .ph-icon {
  background: var(--white);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--white);
  flex-shrink: 0;
}

.about-phone-btn .ph-icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* ── Fallback placeholder removed — numinda_bg.png used instead ── */

/* Responsive */
@media (max-width: 991.98px) {
  .about-exp-badge .exp-num {
    font-size: 4rem;
  }

  .about-org-title {
    font-size: 1.8rem;
  }

  .about-bio-card {
    flex-direction: column;
  }

  .about-bio-img-half {
    display: none;
  }

  .about-bio-text-half {
    padding: 22px 24px;
  }

  .about-section-content {
    padding: 0 0 36px;
  }
}

@media (max-width: 767.98px) {
  .about-section-content {
    padding: 0 0 40px;
  }

  .about-org-title {
    font-size: 1.5rem;
  }

  .about-bio-text-half {
    padding: 18px 18px;
    border-radius: 14px;
  }

  .about-exp-badge .exp-num {
    font-size: 3.2rem;
    letter-spacing: -1px;
  }

  .about-exp-badge {
    padding: 14px 20px 16px;
  }

  .about-phone-btn {
    font-size: 1rem;
  }
}

/* =====================================================
   DARK ASTROLOGY SECTION
===================================================== */
.astrology-section {
  background-image: url("../images/asapuwa_home.png");
  background-color: #f0f0f0;
  background-repeat: no-repeat;
  /* Show the image only once */
  background-position: center;
  /* Center the image */
  background-size: cover;
  /* Resize to cover the entire container */
  padding: 80px 0;
  position: relative;
  overflow: visible;
}

.astrology-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(15, 77, 179, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 30%, rgba(219, 192, 135, 0.05) 0%, transparent 50%);
}

/* Add divider as pseudo-element at bottom of astrology section */
.astrology-section::after {
  content: '';
  position: absolute;
  bottom: -5px;
  width: 100%;
  height: 100px;
  background-image: url('../images/devider.svg');
  background-size: contain;
  background-position: center bottom;
  background-repeat: repeat-x;
  z-index: 10;
  pointer-events: none;
}

.astrology-title {
  font-family: 'Noto Sans Sinhala', sans-serif;
  background: linear-gradient(90deg, #DCBF75 2.73%, #8E6B12 14.82%, #EED28B 28.35%, #8E6B12 43.93%, #EED28B 53.42%, #BC9D4D 70.29%, #EED28B 99.7%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.astrology-text {
  font-family: 'Noto Sans Sinhala', sans-serif;
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(13px, 1.5vw, 15px);
  line-height: 2.1;
  position: relative;
  z-index: 1;
}

.zodiac-wheel-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.zodiac-img {
  width: 100%;
  max-width: 460px;
  filter: drop-shadow(0 0 40px rgba(219, 192, 135, 0.3));
}

.zodiac-placeholder {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(15, 77, 179, 0.4) 0%, rgba(5, 8, 26, 0.9) 70%);
  border: 2px solid rgba(219, 192, 135, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: zodiacPulse 4s ease-in-out infinite;
  margin: auto;
}

@keyframes zodiacPulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(219, 192, 135, 0.2);
  }

  50% {
    box-shadow: 0 0 0 30px rgba(219, 192, 135, 0);
  }
}

.zodiac-placeholder::before {
  content: '';
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  border: 1px solid rgba(219, 192, 135, 0.2);
}

.zodiac-placeholder i {
  font-size: 100px;
  color: rgba(219, 192, 135, 0.4);
}

/* =====================================================
   BLOG / NEWS SECTION
===================================================== */
.blog-section {
  padding: 80px 0;
}

.blog-card {
  background: var(--white);
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  box-shadow: 0 4px 12px rgba(15, 77, 179, 0.14);
  transform: translateY(-6px);
}

.blog-card-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.blog-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-img-wrap img {
  transform: scale(1.05);
}

.blog-card-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e8eaf6 0%, #c5cae9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card-img-placeholder i {
  font-size: 60px;
  color: rgba(15, 77, 179, 0.2);
}

.blog-date-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--primary);
  color: var(--white);
  overflow: hidden;
  text-align: center;
  width: 46px;
}

.blog-date-badge .day {
  background: var(--white);
  font-size: 16px;
  font-weight: 700;
  font-family: 'Noto Serif', serif;
  padding: 4px 6px;
  color: var(--primary);
  display: block;
}

.blog-date-badge .month {
  font-size: 11px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  padding: 3px;
  display: block;
}

/* Comment count badge */
.blog-comment-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-comment-badge .comment-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.blog-comment-badge .comment-count {
  background: var(--primary);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 600;
  min-width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  position: absolute;
  left: 10px;
  top: -10px;
}

.blog-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-cat-tag {
  display: inline-block;
  background: var(--text-dark);
  color: var(--white);
  border-radius: 20px;
  padding: 3px 12px;
  font-size: 11px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 10px;
  width: max-content;
}

.blog-card-title {
  font-family: 'Noto Sans Sinhala', sans-serif;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.7;
  margin-bottom: 16px;
  flex: 1;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.blog-author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 14px;
  flex-shrink: 0;
  overflow: hidden;
}

.blog-author span {
  font-family: 'Noto Sans Sinhala', sans-serif;
  font-size: 12px;
  color: var(--text-mid);
}

.btn-read-more {
  background: linear-gradient(90deg, #8E6B12 2.75%, #EED28B 110.85%, #8E6B12 223.07%);
  color: var(--white);
  border-radius: 10px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-read-more:hover {
  background: var(--primary-dark);
  color: var(--white);
}

.btn-view-more {
  background: linear-gradient(90deg, #8E6B12 2.75%, #EED28B 110.85%, #8E6B12 223.07%);
  color: var(--white);
  border-radius: 10px;
  padding: 12px 32px;
  font-family: 'Noto Serif', serif;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}

.btn-view-more:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
}

/* =====================================================
   FOOTER
===================================================== */
.site-footer {
  background-image: url('../images/footer.svg');
  background-color: var(--primary-dark);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

/* Blue transparent overlay for footer */
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.footer-top {
  padding: 28px 0;
  position: relative;
  z-index: 1;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-contact-icon {
  width: 52px;
  height: 52px;
  background: #DBC087;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--gold);
  flex-shrink: 0;
}

.footer-contact-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.footer-contact-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-family: 'Poppins', sans-serif;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
}

.footer-contact-value {
  font-size: 18px;
  font-weight: 700;
  font-family: 'Noto Serif', serif;
  color: var(--white);
}

.footer-contact-divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.25);
  align-self: stretch;
}

.footer-main {
  padding: 60px 0 30px;
  position: relative;
  z-index: 1;
}

.footer-logo-placeholder {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
}

.footer-org-name {
  font-family: 'Noto Sans Sinhala', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 12px;
}

.footer-about-text {
  font-family: 'Noto Sans Sinhala', sans-serif;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 2;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 15px;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--primary-dark);
}

.footer-heading {
  font-family: 'Noto Serif', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links li a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links li a::before {
  content: '›';
  color: var(--gold);
  font-size: 18px;
}

.footer-links li a:hover {
  color: var(--gold);
}

.footer-links-si li a {
  font-family: 'Noto Sans Sinhala', sans-serif;
  font-size: 13px;
}

.newsletter-desc {
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 16px;
  line-height: 1.7;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter-input {
  background: var(--primary);
  border: 1px solid var(--gold);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--gold);
  font-size: 13px;
  font-family: 'Poppins', sans-serif;
  outline: none;
  width: 100%;
}

.newsletter-input::placeholder {
  color: rgba(219, 192, 135, 0.6);
}

.newsletter-btn {
  background: var(--gold-grad);
  color: var(--white);
  border: 1px solid var(--gold);
  border-radius: 10px;
  padding: 10px 24px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  transition: var(--transition);
}

.newsletter-btn:hover {
  filter: brightness(1.1);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  font-family: 'Poppins', sans-serif;
  margin: 0;
}

.footer-bottom p a {
  color: var(--gold);
  text-decoration: underline;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  font-family: 'Poppins', sans-serif;
  transition: var(--transition);
}

.footer-legal-links a:hover {
  color: var(--gold);
}

/* =====================================================
   ANIMATIONS
===================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

.animate-in {
  animation: fadeInUp 0.7s ease forwards;
}

.delay-1 {
  animation-delay: 0.10s;
}

.delay-2 {
  animation-delay: 0.25s;
}

.delay-3 {
  animation-delay: 0.40s;
}

.delay-4 {
  animation-delay: 0.55s;
}

/* =====================================================
   RESPONSIVE BREAKPOINTS
===================================================== */

@media (max-width: 1400px) {
  .hero-section {
    min-height: 70vh;
  }

  .about-org-title {
    margin-bottom: 28px;
  }
}

@media (max-width: 1200px) {
  .hero-section {
    min-height: 60vh;
  }
}

@media (max-width: 991.98px) {

  /* hero */
  .hero-section {
    padding-top: 100px;
    padding-bottom: 36px;
    min-height: auto;
  }
  
  .hero-cta-wrapper {
    position: static;
    margin-top: 30px;
  }

  .hero-gold-frame {
    padding: 36px 28px;
    border-radius: 24px;
  }

  .hero-social {
    display: none !important;
  }

  .hero-mobile-social {
    display: flex !important;
  }

  /* shiva figure: scale down and keep bottom-right on tablet */
  .hero-shiva-abs {
    height: 80%;
    max-width: 50%;
    transform: translateX(30%);
  }

  .about-content-wrap {
    padding: 0 0 36px;
  }

  .footer-contact-divider {
    display: none;
  }

  .hero-shiva-abs {
    display: none;
  }

  .blog-section {
    padding: 155px 0 80px 0;
  }
}

@media (max-width: 767.98px) {
  .navbar-inner {
    padding: 8px 16px;
  }

  .navbar-logo-placeholder {
    width: 52px;
    height: 52px;
    font-size: 22px;
  }

  /* hero */
  .hero-section {
    padding-top: 90px;
    padding-bottom: 28px;
  }

  .hero-gold-frame {
    padding: 28px 20px;
    border-radius: 18px;
  }

  .hero-mobile-social {
    display: flex !important;
  }

  /* shiva figure: smaller, pushed further right so it doesn't cover text */
  .hero-shiva-abs {
    height: 60%;
    max-width: 60%;
    transform: translateX(40%);
    opacity: 0.6;
  }

  .services-section {
    padding: 50px 0;
  }

  .blog-section {
    padding: 130px 0 50px 0;
  }

  .astrology-section {
    padding: 50px 0;
  }

  .footer-main {
    padding: 40px 0 20px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-contact-item {
    justify-content: center;
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 575.98px) {
  .hero-section {
    padding-top: 80px;
  }

  .hero-gold-frame {
    padding: 24px 16px;
    border-radius: 14px;
  }

  .hero-title-sinhala {
    font-size: 1.5rem;
  }

  .hero-badge {
    font-size: 11px;
    padding: 8px 14px;
  }

  .service-card {
    padding: 16px;
  }

  .blog-section {
    padding: 120px 0 50px 0;
  }

  /* hide shiva on very small phones to avoid text overlap */

}


/* ═══════════════════════════════════════════════════════
   BILINGUAL CONTENT SWITCHING
   ───────────────────────────────────────────────────────
   Usage in templates:
     Inline:  <span class="lang-si-text">සිංහල</span><span class="lang-en-text">English</span>
     Block:   <div class="lang-si-block">...</div><div class="lang-en-block">...</div>

   JS sets  body.lang-en  when English is active.
═══════════════════════════════════════════════════════ */

/* English content hidden by default — !important prevents Bootstrap overrides */
.lang-en-text  { display: none !important; }
.lang-en-block { display: none !important; }

/* When English is active — hide Sinhala, show English */
body.lang-en .lang-si-text  { display: none !important; }
body.lang-en .lang-si-block { display: none !important; }
body.lang-en .lang-en-text  { display: inline !important; }
body.lang-en .lang-en-block { display: block !important; }

}