/* =============================================
   SHRI GORAKSH NATHJI - SPIRITUAL WEBSITE
   Primary: #000000 | Accent: #fd981d
   ============================================= */

/* --- Google Fonts Import --- */
@import url("https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700;900&family=Cinzel:wght@400;500;600;700&family=EB+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&display=swap");

/* --- CSS Variables --- */
:root {
  --primary-bg: #000000;
  --secondary-bg: #0a0a0a;
  --card-bg: #111111;
  --accent: #fd981d;
  --accent-dark: #c97a10;
  --accent-light: #ffb347;
  --text-primary: #f0e8d8;
  --text-secondary: #b8a898;
  --text-muted: #7a6a5a;
  --border-color: rgba(253, 152, 29, 0.3);
  --glow: 0 0 20px rgba(253, 152, 29, 0.4);
  --glow-strong: 0 0 40px rgba(253, 152, 29, 0.6);
  --font-display: "Cinzel Decorative", cursive;
  --font-heading: "Cinzel", serif;
  --font-body: "EB Garamond", serif;
  --transition: all 0.35s ease;
  --radius: 4px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding: 200px;
}
section {
    scroll-margin-bottom: 40px;
}

body {
  background-color: var(--primary-bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.8;
  overflow-x: hidden;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #111;
}
::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 3px;
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--accent);
  line-height: 1.3;
  letter-spacing: 0.03em;
}

h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}
h2 {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
}
h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
}
h4 {
  font-size: clamp(1rem, 2vw, 1.4rem);
}

p {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}
a:hover {
  color: var(--accent-light);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

hr {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  margin: 2.5rem 0;
  opacity: 0.7;
}

/* --- Section Title Style --- */
.section-title {
  font-family: var(--font-display);
  color: var(--accent);
  text-align: center;
  margin-bottom: 0.5rem;
  position: relative;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 3rem;
  font-size: 1.05rem;
}

.title-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.title-ornament span {
  display: block;
  height: 1px;
  width: 80px;
  background: linear-gradient(90deg, transparent, var(--accent));
}

.title-ornament span:last-child {
  background: linear-gradient(90deg, var(--accent), transparent);
}

.title-ornament .om {
  color: var(--accent);
  font-size: 1.4rem;
  font-family: var(--font-display);
  text-shadow: var(--glow);
}

/* --- Sections --- */
section {
  padding: 80px 0;
}

.section-dark {
  background-color: var(--secondary-bg);
}

.section-card {
  background-color: var(--card-bg);
}

/* =============================================
   NAVBAR
   ============================================= */

.navbar {
  background-color: rgba(0, 0, 0, 0.97) !important;
  border-bottom: 2px solid var(--accent);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1050;
  box-shadow: 0 4px 30px rgba(253, 152, 29, 0.15);
  backdrop-filter: blur(10px);
}

.navbar-brand {
  font-family: var(--font-display);
  color: var(--accent) !important;
  font-size: 0.9rem;
  text-shadow: var(--glow);
  letter-spacing: 0.05em;
  padding: 12px 0;
  line-height: 1.2;
}

.navbar-brand .brand-sub {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  color: var(--text-secondary);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-shadow: none;
}

.navbar-brand .brand-om {
  font-size: 1.5rem;
  margin-right: 8px;
  vertical-align: middle;
  line-height: 1;
}

.navbar-toggler {
  border: 1px solid var(--accent);
  padding: 6px 10px;
}

.navbar-toggler-icon {
  filter: invert(65%) sepia(80%) saturate(500%) hue-rotate(0deg);
}

.navbar-nav .nav-link {
  font-family: var(--font-heading);
  color: var(--text-primary) !important;
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 17px 4px !important;
  position: relative;
  transition: var(--transition);
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--accent) !important;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 80%;
}

.dropdown-menu {
  background-color: #0d0d0d;
  border: 1px solid var(--border-color);
  border-top: 2px solid var(--accent);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  padding: 8px 0;
  animation: dropDown 0.25s ease;
}

@keyframes dropDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-item {
  font-family: var(--font-heading);
  color: var(--text-primary) !important;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 17px;
  transition: var(--transition);
}

.dropdown-item:hover {
  background-color: rgba(253, 152, 29, 0.1);
  color: var(--accent) !important;
  padding-left: 28px;
}

/* =============================================
   HERO SLIDER
   ============================================= */

.hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000;
}

.hero-slider .carousel-item {
  position: relative;
}

.hero-slider .carousel-item img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  /* opacity: 0.75;
  filter: brightness(0.8) sepia(0.2); */
}

.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
  width: 60px;
  height: 60px;
  background: rgba(253, 152, 29, 0.2);
  border: 1px solid var(--accent);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.8;
  transition: var(--transition);
}

.hero-slider .carousel-control-prev {
  left: 20px;
}
.hero-slider .carousel-control-next {
  right: 20px;
}

.hero-slider .carousel-control-prev:hover,
.hero-slider .carousel-control-next:hover {
  background: var(--accent);
  opacity: 1;
  box-shadow: var(--glow);
}

.hero-slider .carousel-indicators {
  margin-bottom: 20px;
}

.hero-slider .carousel-indicators [data-bs-target] {
  width: 30px;
  height: 3px;
  background-color: rgba(253, 152, 29, 0.5);
  border: none;
  border-radius: 2px;
  transition: var(--transition);
}

.hero-slider .carousel-indicators .active {
  background-color: var(--accent);
  width: 50px;
  box-shadow: var(--glow);
}

.slider-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.6) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =============================================
   BUTTONS
   ============================================= */

.btn-spiritual {
  font-family: var(--font-heading);
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.82rem;
  padding: 12px 32px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-spiritual::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transition: left 0.3s ease;
  z-index: -1;
}

.btn-spiritual:hover {
  color: #000;
  box-shadow: var(--glow);
}

.btn-spiritual:hover::before {
  left: 0;
}

.btn-spiritual-fill {
  background: var(--accent);
  border: 2px solid var(--accent);
  color: #000;
  font-family: var(--font-heading);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.82rem;
  padding: 12px 32px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 700;
}

.btn-spiritual-fill:hover {
  background: transparent;
  color: var(--accent);
  box-shadow: var(--glow);
}

/* =============================================
   BREADCRUMB
   ============================================= */

.breadcrumb-section {
  background: linear-gradient(135deg, #0d0d0d 0%, #111 100%);
  border-bottom: 1px solid var(--border-color);
  padding: 50px 0 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.breadcrumb-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(253, 152, 29, 0.05) 0%,
    transparent 70%
  );
}

.breadcrumb-section h1 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  text-shadow: var(--glow);
  margin-bottom: 12px;
}

.breadcrumb {
  background: transparent;
  justify-content: center;
  padding: 0;
  margin: 0;
}

.breadcrumb-item a {
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.breadcrumb-item a:hover {
  color: var(--accent);
}

.breadcrumb-item.active {
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: var(--accent);
  content: "›";
  font-size: 1.1rem;
}

/* =============================================
   CARDS
   ============================================= */

.spiritual-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  /* height: 20%; */
}

.spiritual-card:hover {
  border-color: var(--accent);
  box-shadow:
    var(--glow),
    0 10px 40px rgba(0, 0, 0, 0.5);
  transform: translateY(-4px);
}

.spiritual-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.spiritual-card:hover img {
  transform: scale(1.05);
}

.spiritual-card .card-body {
  padding: 18px;
  background: var(--card-bg);
}

.spiritual-card .card-title {
  font-family: var(--font-heading);
  color: var(--accent);
  font-size: 0.95rem;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}

/* =============================================
   ABOUT PREVIEW
   ============================================= */

.about-preview {
  background: var(--primary-bg);
}

.about-preview .about-image-wrap {
  position: relative;
  display: inline-block;
}

.about-preview .about-image-wrap::before {
  content: "";
  position: absolute;
  top: -12px;
  left: -12px;
  right: 12px;
  bottom: 12px;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  z-index: 0;
  opacity: 0.5;
}

.about-preview .about-image-wrap img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.6);
}

/* =============================================
   PARAMPARA SECTION
   ============================================= */

.parampara-preview {
  background: var(--secondary-bg);
}

/* =============================================
   BOOKS SECTION
   ============================================= */

.books-section {
  background: var(--primary-bg);
}

.book-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  text-align: center;
}

.book-card:hover {
  border-color: var(--accent);
  box-shadow:
    var(--glow),
    0 10px 30px rgba(0, 0, 0, 0.5);
  transform: translateY(-5px);
}

.book-card .book-img-wrap {
  overflow: hidden;
  aspect-ratio: 2/3;
}

.book-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.book-card:hover img {
  transform: scale(1.07);
}

.book-card .book-info {
  padding: 14px 10px;
}

.book-card .book-title {
  font-family: var(--font-heading);
  color: var(--accent);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  line-height: 1.4;
}

/* =============================================
   BLOG SECTION
   ============================================= */

.blog-section {
  background: var(--secondary-bg);
}

.blog-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}

.blog-card:hover {
  border-color: var(--accent);
  box-shadow: var(--glow);
  transform: translateY(-4px);
}

.blog-card .blog-img {
  overflow: hidden;
  aspect-ratio: 16/9;
}

.blog-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.blog-card:hover img {
  transform: scale(1.05);
}

.blog-card .blog-content {
  padding: 22px;
}

.blog-card .blog-meta {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  /* text-transform: uppercase; */
  margin-bottom: 10px;
}

.blog-card .blog-title {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-size: 1.05rem;
  margin-bottom: 12px;
  line-height: 1.4;
  transition: var(--transition);
}

.blog-card:hover .blog-title {
  color: var(--accent);
}

.blog-card .blog-excerpt {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

/* =============================================
   GALLERY PAGE
   ============================================= */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  aspect-ratio: 1;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-item:hover {
  border-color: var(--accent);
  box-shadow: var(--glow);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(253, 152, 29, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  font-size: 2rem;
  color: var(--accent);
  text-shadow: var(--glow);
}

/* =============================================
   VIDEO PAGE
   ============================================= */

.video-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}

.video-card:hover {
  border-color: var(--accent);
  box-shadow: var(--glow);
}

.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.video-card:hover .video-thumb img {
  transform: scale(1.05);
}

.play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
}

.play-btn i {
  font-size: 3.5rem;
  color: var(--accent);
  text-shadow: var(--glow-strong);
  transition: var(--transition);
}

.video-card:hover .play-btn i {
  transform: scale(1.1);
}

/* =============================================
   AUDIO PAGE
   ============================================= */

.audio-player-card {
  background: #fd981d;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
}

.audio-player-card:hover {
  border-color: var(--accent);
  box-shadow: var(--glow);
}

.audio-icon {
  width: 70px;
  height: 70px;
  background: rgba(253, 152, 29, 0.1);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.audio-icon i {
  font-size: 1.8rem;
  color: var(--accent);
}

.audio-player-card audio {
  width: 100%;
  margin-top: 12px;
  filter: sepia(30%) brightness(0.9);
}

audio::-webkit-media-controls-panel {
  background: #111;
}

/* =============================================
   GORAKHSHNATH PAGE
   ============================================= */

.nathji-hero {
  background: var(--secondary-bg);
}

.nathji-alt-section {
  padding: 60px 0;
}

.nathji-alt-section:nth-child(even) {
  background: var(--secondary-bg);
}

.content-divider {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 30px 0;
}

.content-divider span {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.content-divider .om-symbol {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.2rem;
  text-shadow: var(--glow);
}

/* =============================================
   PARAMPARA PAGE TABLE
   ============================================= */

.parampara-table-section {
  background: var(--secondary-bg);
}

.parampara-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
}

.parampara-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

.parampara-table thead th {
  background: rgba(253, 152, 29, 0.15);
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 20px;
  border: 1px solid var(--border-color);
  text-align: center;
}

.parampara-table tbody td {
  background: var(--card-bg);
  color: var(--text-primary);
  padding: 14px 20px;
  border: 1px solid rgba(253, 152, 29, 0.15);
  font-size: 0.95rem;
  text-align: center;
  transition: var(--transition);
}

.parampara-table tbody tr:hover td {
  background: rgba(253, 152, 29, 0.07);
  color: var(--accent);
}

/* =============================================
   GURU LINEAGE
   ============================================= */

.lineage-item {
  position: relative;
  padding: 30px 30px 30px 80px;
  border-left: 2px solid var(--border-color);
  margin-bottom: 30px;
}

.lineage-item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 36px;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: var(--glow);
}

.lineage-num {
  position: absolute;
  left: 20px;
  top: 28px;
  width: 40px;
  height: 40px;
  background: rgba(253, 152, 29, 0.1);
  border: 1px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
}

/* =============================================
   GHOR AGHOR PAGE
   ============================================= */

.ghor-hero {
  background: #050505;
  position: relative;
  padding: 100px 0;
  text-align: center;
  overflow: hidden;
}

.ghor-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(253, 152, 29, 0.05) 0%,
    transparent 70%
  );
}

.ghor-section {
  background: #060606;
  border-bottom: 1px solid rgba(253, 152, 29, 0.1);
}

.ghor-mystical-text {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 2;
  border-left: 2px solid var(--accent);
  padding-left: 25px;
  margin: 25px 0;
}

/* =============================================
   SPIRITUAL RESEARCH
   ============================================= */

.research-item {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 30px;
  margin-bottom: 30px;
  transition: var(--transition);
}

.research-item:hover {
  border-color: var(--accent);
  box-shadow: var(--glow);
}

.research-icon {
  width: 60px;
  height: 60px;
  background: rgba(253, 152, 29, 0.1);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.research-icon i {
  font-size: 1.5rem;
  color: var(--accent);
}

/* =============================================
   BOOKS PAGE
   ============================================= */

.single-book-section {
  background: var(--primary-bg);
}

.single-book-img {
  position: relative;
}

.single-book-img img {
  border: 2px solid var(--border-color);
  border-radius: var(--radius);
  box-shadow:
    var(--glow),
    20px 20px 60px rgba(0, 0, 0, 0.5);
}

/* =============================================
   BLOG DETAILS
   ============================================= */

.blog-post-content {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 40px;
}

.blog-post-content h2,
.blog-post-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.blog-post-content p {
  margin-bottom: 1.5rem;
  line-height: 2;
}

.blog-post-header img {
  width: 100%;
  max-height: 450px;
  object-fit: contain;
  border-radius: var(--radius);
  margin-bottom: 30px;
}

.blog-tags a {
  display: inline-block;
  background: rgba(253, 152, 29, 0.1);
  border: 1px solid var(--border-color);
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin: 4px;
  transition: var(--transition);
}

.blog-tags a:hover {
  background: var(--accent);
  color: #000;
}

.blog-sidebar {
  position: sticky;
  top: 80px;
}

.sidebar-widget {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 25px;
  margin-bottom: 25px;
}

.sidebar-widget-title {
  font-family: var(--font-heading);
  color: var(--accent);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

/* =============================================
   NEWS CUTOUTS (TABS)
   ============================================= */

.news-tabs .nav-tabs {
  border-bottom: 2px solid var(--border-color);
  gap: 5px;
}

.news-tabs .nav-tabs .nav-link {
  font-family: var(--font-heading);
  color: var(--text-secondary);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  background: transparent;
  border: 1px solid var(--border-color);
  border-bottom: none;
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 10px 20px;
  transition: var(--transition);
}

.news-tabs .nav-tabs .nav-link:hover {
  color: var(--accent);
  border-color: var(--border-color);
  background: rgba(253, 152, 29, 0.05);
}

.news-tabs .nav-tabs .nav-link.active {
  background: rgba(253, 152, 29, 0.15);
  border-color: var(--accent);
  color: var(--accent);
  border-bottom: 2px solid var(--primary-bg);
}

/* =============================================
   CONTACT PAGE
   ============================================= */

.contact-form-wrap {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 40px;
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  font-family: var(--font-heading);
  color: var(--text-secondary);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.form-control,
.form-select {
  background: #0a0a0a;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
  background: #0f0f0f;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(253, 152, 29, 0.15);
  color: var(--text-primary);
  outline: none;
}

.form-control::placeholder {
  color: var(--text-muted);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  margin-bottom: 16px;
  transition: var(--transition);
}

.contact-info-item:hover {
  border-color: var(--accent);
  box-shadow: var(--glow);
}

.contact-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  background: rgba(253, 152, 29, 0.1);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon i {
  font-size: 1.2rem;
  color: var(--accent);
}

.contact-info-item h5 {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}

.contact-info-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 0;
}

.map-wrap {
  border: 2px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
}

.map-wrap iframe {
  width: 100%;
  height: 400px;
  filter: invert(0.9) hue-rotate(180deg) saturate(0.8);
  display: block;
}

/* =============================================
   FOOTER
   ============================================= */

.footer {
  background: #050505;
  border-top: 2px solid var(--accent);
  padding-top: 60px;
}

.footer-logo {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 1.2rem;
  text-shadow: var(--glow);
  margin-bottom: 15px;
}

.footer-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer h5 {
  font-family: var(--font-heading);
  color: var(--accent);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a::before {
  content: "›";
  color: var(--accent);
  font-size: 1.2rem;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 6px;
}

.footer-contact p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-contact i {
  color: var(--accent);
  font-size: 1rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: rgba(253, 152, 29, 0.08);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1rem;
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
  box-shadow: var(--glow);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  margin-top: 40px;
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}

.footer-bottom span {
  color: var(--accent);
}

/* =============================================
   AOS ANIMATIONS
   ============================================= */

[data-aos="fade-up-spiritual"] {
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.8s ease;
}

[data-aos="fade-up-spiritual"].aos-animate {
  transform: translateY(0);
  opacity: 1;
}

/* =============================================
   DECORATIVE ELEMENTS
   ============================================= */

.om-divider {
  text-align: center;
  padding: 15px 0;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-shadow: var(--glow);
  letter-spacing: 0.3em;
}

.mandala-bg {
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: 400px;
  opacity: 0.03;
  pointer-events: none;
}

.glow-text {
  text-shadow: var(--glow-strong);
  color: var(--accent);
}

/* =============================================
   RESPONSIVE MEDIA QUERIES
   ============================================= */

@media (max-width: 1199px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991px) {
  section {
    padding: 60px 0;
  }

  .navbar-nav .nav-link {
    padding: 12px 16px !important;
  }

  .navbar-nav .nav-link::after {
    display: none;
  }

  .navbar-collapse {
    background: rgba(0, 0, 0, 0.97);
    padding: 15px;
    border-top: 1px solid var(--border-color);
  }

  .hero-slider .carousel-item img {
    height: 420px;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .blog-sidebar {
    position: static;
    margin-top: 40px;
  }
}

@media (max-width: 767px) {
  section {
    padding: 50px 0;
  }

  h1 {
    font-size: 1.6rem;
  }
  h2 {
    font-size: 1.4rem;
  }

  .hero-slider .carousel-item img {
    height: 280px;
  }
  .hero-slider .carousel-control-prev,
  .hero-slider .carousel-control-next {
    width: 44px;
    height: 44px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .contact-form-wrap {
    padding: 25px;
  }

  .parampara-table {
    min-width: 600px;
  }
}

@media (max-width: 575px) {
  .navbar-brand {
    font-size: 0.9rem;
  }
  .hero-slider .carousel-item img {
    height: 220px;
  }
  .section-title {
    font-size: 1.3rem;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog-post-content {
    padding: 20px;
  }
  .btn-spiritual,
  .btn-spiritual-fill {
    font-size: 0.75rem;
    padding: 10px 22px;
  }
}

/* =============================================
   LOADER (Optional)
   ============================================= */

.page-loader {
  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
}

.loader-om {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 4rem;
  text-shadow: var(--glow-strong);
  animation: pulse-om 1.5s ease infinite;
}

@keyframes pulse-om {
  0%,
  100% {
    opacity: 0.4;
    transform: scale(0.95);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

/* Bootstrap overrides */
.dropdown-toggle::after {
  border-color: var(--accent) transparent transparent transparent;
}
