/* =========================================
   VISHWAKARMA PARIVAR - Main Stylesheet
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Poppins:wght@300;400;500;600;700&family=Cinzel:wght@400;600&display=swap');

/* =========================================
   CSS VARIABLES
   ========================================= */

:root {
  --primary: #E8641A;
  --primary-dark: #C4500E;
  --primary-light: #F5945A;
  --secondary: #F5C518;
  --accent: #8B1A1A;
  --dark: #1C1C2E;
  --darker: #0D0D1A;
  --light: #FFF8F0;
  --white: #FFFFFF;
  --text: #2C2C3E;
  --text-muted: #6B6B80;
  --border: #E8DDD5;
  --gradient: linear-gradient(135deg, #1C1C2E 0%, #2D1B4E 40%, #8B1A1A 70%, #E8641A 100%);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow: 0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s ease;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', sans-serif;
  --font-accent: 'Cinzel', Georgia, serif;
}

/* =========================================
   RESET & BASE
   ========================================= */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.3;
  color: var(--dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p { color: var(--text-muted); font-size: 1rem; line-height: 1.8; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 90px 0; }

.section-header { text-align: center; margin-bottom: 60px; }
.section-header p { max-width: 620px; margin: 1rem auto 0; }

.section-subtitle {
  color: var(--primary);
  font-family: var(--font-accent);
  font-size: 0.8125rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.75rem;
}

.divider {
  width: 70px;
  height: 3px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  margin: 1rem auto;
  border-radius: 2px;
}

/* =========================================
   BUTTONS
   ========================================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(232,100,26,0.4);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--dark);
  border-color: var(--secondary);
}

.btn-secondary:hover {
  background: #E0B300;
  border-color: #E0B300;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

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

/* =========================================
   HEADER & NAVIGATION
   ========================================= */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
  padding: 1.125rem 0;
}

.header.scrolled {
  background: rgba(13, 13, 26, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
  padding: 0.75rem 0;
}

.header.light-header {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  padding: 0.875rem 0;
}

.header.light-header .nav-logo { color: var(--dark); }
.header.light-header .nav-links a { color: var(--text); }
.header.light-header .nav-links a:hover,
.header.light-header .nav-links a.active { color: var(--primary); }
.header.light-header .nav-links a::after { background: var(--primary); }
.header.light-header .hamburger span { background: var(--dark); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-accent);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo .om {
  font-size: 1.625rem;
  color: var(--secondary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.125rem;
}

.nav-links a {
  padding: 0.5rem 0.875rem;
  color: rgba(255,255,255,0.88);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 6px;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--secondary);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 60%; }
.nav-links a:hover,
.nav-links a.active { color: var(--secondary); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* =========================================
   LANG SWITCHER
   ========================================= */

.lang-switcher {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 9px;
  padding: 3px;
  gap: 2px;
  margin-left: 1rem;
  flex-shrink: 0;
}

.lang-btn {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.55);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background 0.17s ease, color 0.17s ease;
  line-height: 1.5;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.lang-btn:hover {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.9);
}

.lang-btn.active {
  background: var(--secondary);
  color: var(--dark);
  font-weight: 700;
}

.header.light-header .lang-switcher {
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.1);
}

.header.light-header .lang-btn {
  color: var(--text-muted);
}

.header.light-header .lang-btn:hover {
  background: rgba(0,0,0,0.06);
  color: var(--text);
}

.header.light-header .lang-btn.active {
  background: var(--primary);
  color: var(--white);
}

/* When light-header has scrolled to dark bg, revert to dark-nav style */
.header.light-header.scrolled .lang-switcher {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.13);
}

.header.light-header.scrolled .lang-btn {
  color: rgba(255,255,255,0.55);
}

.header.light-header.scrolled .lang-btn:hover {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.9);
}

.header.light-header.scrolled .lang-btn.active {
  background: var(--secondary);
  color: var(--dark);
}

/* =========================================
   HERO — HOME
   ========================================= */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--gradient);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23FFD700' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}

.hero-om-bg {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(10rem, 20vw, 22rem);
  color: rgba(245, 197, 24, 0.07);
  line-height: 1;
  animation: float 7s ease-in-out infinite;
  user-select: none;
  pointer-events: none;
}

@keyframes float {
  0%, 100% { transform: translateY(-50%); }
  50% { transform: translateY(calc(-50% - 20px)); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 60px rgba(232,100,26,0.3); }
  50% { box-shadow: 0 0 100px rgba(232,100,26,0.55); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 820px;
  margin: 0 auto;
}

.hero-tagline {
  font-family: var(--font-accent);
  font-size: 0.9375rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 1.25rem;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 0.5rem;
}

.hero h1 span { color: var(--secondary); }

.hero-subtitle {
  font-family: var(--font-accent);
  color: rgba(255,255,255,0.65);
  font-size: 1.0625rem;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
}

.hero-desc {
  color: rgba(255,255,255,0.75);
  font-size: 1.0625rem;
  max-width: 580px;
  margin: 0 auto 2.5rem;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  color: rgba(255,255,255,0.45);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounce 2.5s ease-in-out infinite;
  z-index: 1;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* =========================================
   PAGE HERO (inner pages)
   ========================================= */

.page-hero {
  padding: 160px 0 90px;
  background: var(--gradient);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23FFD700' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}

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

.page-hero-content h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero-content > p {
  color: rgba(255,255,255,0.75);
  max-width: 620px;
  margin: 0 auto 1.5rem;
}

.page-hero-om {
  position: absolute;
  right: 5%;
  bottom: -2rem;
  font-size: clamp(8rem, 15vw, 16rem);
  color: rgba(255,255,255,0.04);
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.55);
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

.breadcrumb a { color: var(--secondary); transition: var(--transition); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb i { font-size: 0.75rem; }

/* =========================================
   FEATURE CARDS (Home)
   ========================================= */

.features-section { background: var(--white); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: var(--transition);
}

.feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.375rem;
  color: var(--white);
}

.feature-card h3 { font-size: 1.25rem; margin-bottom: 0.625rem; }
.feature-card p { font-size: 0.9rem; margin-bottom: 1.25rem; }

.feature-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  transition: var(--transition);
}

.feature-link:hover { gap: 0.625rem; }

/* =========================================
   ABOUT BRIEF (Home)
   ========================================= */

.about-brief { background: var(--light); }

.about-brief-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.om-display {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9rem;
  color: var(--secondary);
  animation: pulse-glow 4s ease-in-out infinite;
  position: relative;
}

.om-display::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 2px solid rgba(245,197,24,0.2);
}

.om-display::after {
  content: '';
  position: absolute;
  inset: -24px;
  border-radius: 50%;
  border: 1px solid rgba(245,197,24,0.1);
}

.about-text .section-subtitle,
.about-text h2 { text-align: left; }
.about-text p { margin-bottom: 1rem; }

.about-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.75rem 0 2rem;
}

.fact-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--primary);
}

.fact-number {
  font-family: var(--font-heading);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.fact-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* =========================================
   FESTIVAL BANNER (Home)
   ========================================= */

.festival-banner {
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary-dark) 50%, var(--primary) 100%);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.festival-banner::after {
  content: 'ॐ';
  position: absolute;
  font-size: 22rem;
  color: rgba(255,255,255,0.04);
  top: 50%;
  right: -3%;
  transform: translateY(-50%);
  line-height: 1;
  pointer-events: none;
}

.festival-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.festival-banner-content h2 { color: var(--white); margin-bottom: 0.75rem; }
.festival-banner-content p { color: rgba(255,255,255,0.8); max-width: 480px; }

.festival-date-box {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2.5rem;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.2);
  flex-shrink: 0;
}

.festival-date-box .month {
  font-family: var(--font-accent);
  font-size: 0.8125rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--secondary);
  display: block;
  margin-bottom: 0.5rem;
}

.festival-date-box .day {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.festival-date-box .note {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.65);
  margin-top: 0.5rem;
}

/* =========================================
   STATS SECTION
   ========================================= */

.stats-section {
  background: var(--dark);
  padding: 70px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item { color: var(--white); }

.stat-icon {
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 0.75rem;
  opacity: 0.8;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: 0.375rem;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

/* =========================================
   SCRIPTURE QUOTE
   ========================================= */

.scripture-section {
  background: var(--darker);
  padding: 90px 0;
  text-align: center;
}

.scripture-inner { max-width: 820px; margin: 0 auto; }

.quote-mark {
  font-size: 5rem;
  color: rgba(245,197,24,0.15);
  font-family: Georgia, serif;
  line-height: 0.5;
  margin-bottom: 1rem;
}

.quote-text {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 3vw, 1.875rem);
  color: var(--white);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.quote-text span { color: var(--secondary); }

.quote-source {
  font-family: var(--font-accent);
  font-size: 0.8125rem;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
}

/* =========================================
   LORD VISHWAKARMA PAGE
   ========================================= */

.bio-section { background: var(--white); }

.bio-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 4rem;
  align-items: start;
}

.bio-visual { position: sticky; top: 100px; }

.deity-card {
  background: var(--gradient);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.75rem;
  text-align: center;
}

.deity-om {
  font-size: 7rem;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: 1rem;
  animation: float 6s ease-in-out infinite;
  display: block;
}

.deity-card h3 { color: var(--white); font-size: 1.375rem; margin-bottom: 0.25rem; }
.deity-card .deity-subtitle {
  color: rgba(255,255,255,0.65);
  font-family: var(--font-accent);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.deity-attrs {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.attr-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.875rem;
  background: rgba(255,255,255,0.09);
  border-radius: 8px;
  font-size: 0.8125rem;
}

.attr-row .attr-k { color: rgba(255,255,255,0.55); }
.attr-row .attr-v { color: var(--secondary); font-weight: 600; }

.bio-content h2 { margin-bottom: 1.5rem; }
.bio-content p { margin-bottom: 1rem; }
.bio-content h3 { color: var(--primary); font-size: 1.375rem; margin: 2.25rem 0 1rem; }

.highlight-box {
  background: rgba(232,100,26,0.07);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}

.highlight-box p { margin: 0; color: var(--text); font-size: 0.9375rem; }

/* =========================================
   CREATIONS GRID
   ========================================= */

.creations-section { background: var(--light); }

.creations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.creation-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.creation-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }

.creation-emoji { font-size: 2.75rem; margin-bottom: 0.875rem; display: block; }
.creation-card h4 { color: var(--dark); margin-bottom: 0.5rem; }
.creation-card p { font-size: 0.875rem; }

.creation-tag {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.25rem 0.75rem;
  background: rgba(232,100,26,0.1);
  color: var(--primary);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* =========================================
   WEAPONS SECTION
   ========================================= */

.weapons-section { background: var(--white); }

.weapons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.weapon-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--light);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.weapon-card:hover { border-color: var(--primary); background: var(--white); box-shadow: var(--shadow-sm); }

.weapon-icon {
  font-size: 2rem;
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  border-radius: 10px;
}

.weapon-card h4 { margin-bottom: 0.375rem; color: var(--dark); }
.weapon-card p { font-size: 0.875rem; }

/* =========================================
   PANCH JATI — 5 CLANS
   ========================================= */

.panch-jati-section { background: var(--light); }

.clans-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.clan-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: default;
}

.clan-card:hover {
  background: var(--dark);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.clan-number {
  font-family: var(--font-accent);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.75rem;
  transition: var(--transition);
}

.clan-card:hover .clan-number { color: var(--secondary); }

.clan-card h4 {
  font-size: 1rem;
  margin-bottom: 0.375rem;
  color: var(--dark);
  transition: var(--transition);
}

.clan-card:hover h4 { color: var(--white); }

.clan-ancestor {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  transition: var(--transition);
}

.clan-card:hover .clan-ancestor { color: rgba(255,255,255,0.6); }

.clan-craft-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(232,100,26,0.1);
  color: var(--primary);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  transition: var(--transition);
}

.clan-card:hover .clan-craft-tag {
  background: rgba(245,197,24,0.15);
  color: var(--secondary);
}

/* =========================================
   TIMELINE (Heritage)
   ========================================= */

.timeline { position: relative; padding: 1rem 0; }

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
  transform: translateX(-50%);
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 50px 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
  align-items: center;
}

.timeline-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.timeline-content:hover { box-shadow: var(--shadow); }

.timeline-content h4 { color: var(--dark); margin-bottom: 0.5rem; }
.timeline-content p { font-size: 0.9rem; }

.timeline-era {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  display: block;
}

.timeline-dot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 1.125rem;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  box-shadow: 0 0 0 5px rgba(232,100,26,0.15);
  margin: 0 auto;
}

.timeline-item:nth-child(even) .timeline-left { order: 3; }
.timeline-item:nth-child(even) .timeline-dot { order: 2; }
.timeline-item:nth-child(even) .timeline-right { order: 1; text-align: right; }

/* =========================================
   FESTIVALS PAGE
   ========================================= */

.festival-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 220px 1fr;
  margin-bottom: 2rem;
  transition: var(--transition);
}

.festival-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

.festival-card-visual {
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
  padding: 2rem;
}

.festival-card-body { padding: 2rem; }
.festival-card-body h3 { color: var(--dark); margin-bottom: 0.5rem; }

.festival-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.3rem 0.875rem;
  background: rgba(232,100,26,0.1);
  color: var(--primary);
  border-radius: 20px;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.celebration-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem;
  margin-top: 1rem;
}

.celebration-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.celebration-item i { color: var(--primary); flex-shrink: 0; }

/* Puja Steps */
.puja-steps { counter-reset: step; }

.puja-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.step-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gradient);
  color: var(--secondary);
  font-family: var(--font-accent);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.puja-step h4 { margin-bottom: 0.375rem; color: var(--dark); }
.puja-step p { font-size: 0.9rem; }

/* =========================================
   CONTACT PAGE
   ========================================= */

.contact-section { background: var(--light); }

.contact-inner {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info-wrap { display: flex; flex-direction: column; gap: 1rem; }

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.contact-info-card:hover { box-shadow: var(--shadow); transform: translateX(4px); }

.ci-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.0625rem;
  flex-shrink: 0;
}

.ci-body h4 { font-size: 0.9375rem; color: var(--dark); margin-bottom: 0.2rem; }
.ci-body p { font-size: 0.875rem; }

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.contact-form-card h3 { margin-bottom: 0.5rem; }
.contact-form-card .form-desc { margin-bottom: 2rem; font-size: 0.9375rem; }

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(232,100,26,0.1);
}

.form-group textarea { resize: vertical; min-height: 130px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 1rem;
  text-align: center;
}

/* =========================================
   ABOUT US PAGE
   ========================================= */

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.mission-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.mission-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }

.mission-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--white);
  margin: 0 auto 1.25rem;
}

.mission-card h3 { margin-bottom: 0.75rem; font-size: 1.25rem; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.value-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.value-item:hover { box-shadow: var(--shadow-sm); border-color: var(--primary); }

.value-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius);
  background: rgba(232,100,26,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  color: var(--primary);
  flex-shrink: 0;
}

.value-item h4 { margin-bottom: 0.375rem; }
.value-item p { font-size: 0.9rem; }

.leader-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.leader-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }

.leader-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--secondary);
  margin: 0 auto 1rem;
}

.leader-card h4 { margin-bottom: 0.25rem; }
.leader-card .leader-role {
  font-size: 0.8125rem;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 1px;
}

.leader-card p { font-size: 0.875rem; margin-top: 0.75rem; }

/* =========================================
   FOOTER
   ========================================= */

.footer {
  background: var(--darker);
  color: var(--white);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-brand-desc {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  margin: 1rem 0 1.5rem;
  max-width: 280px;
}

.footer-heading {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 1.25rem;
}

.footer-links { display: flex; flex-direction: column; gap: 0.625rem; }

.footer-links a {
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.footer-links a:hover { color: var(--secondary); padding-left: 4px; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-bottom: 0.875rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
}

.footer-contact-item i {
  color: var(--primary);
  margin-top: 3px;
  flex-shrink: 0;
}

.social-links { display: flex; gap: 0.625rem; margin-top: 0.5rem; }

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  font-size: 1rem;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.08);
}

.social-link:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom p { color: rgba(255,255,255,0.35); font-size: 0.8125rem; }
.footer-bottom span { color: var(--primary); }
.footer-bottom .footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom .footer-bottom-links a {
  color: rgba(255,255,255,0.35);
  font-size: 0.8125rem;
  transition: var(--transition);
}
.footer-bottom .footer-bottom-links a:hover { color: var(--secondary); }

/* =========================================
   BACK TO TOP
   ========================================= */

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  cursor: pointer;
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  border: none;
  box-shadow: 0 4px 15px rgba(232,100,26,0.4);
  z-index: 500;
}

.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-4px); background: var(--primary-dark); }

/* =========================================
   UTILITY
   ========================================= */

.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-white { color: var(--white); }
.bg-light { background: var(--light); }
.bg-dark { background: var(--dark); }

.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(232,100,26,0.1);
  color: var(--primary);
}

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

@media (max-width: 1100px) {
  .clans-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .bio-inner { grid-template-columns: 1fr; gap: 2rem; }
  .bio-visual { position: static; }
  .deity-card { max-width: 420px; margin: 0 auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  section { padding: 70px 0; }
  .section-header { margin-bottom: 45px; }

  .nav-links {
    display: none;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: rgba(13,13,26,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0.25rem;
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  .nav-links.active { display: flex; }
  .nav-links a { display: block; padding: 0.875rem 1rem; font-size: 1rem; }
  .hamburger { display: flex; }
  .lang-switcher { margin-left: auto; margin-right: 0.5rem; padding: 2px; gap: 1px; }
  .lang-btn { padding: 3px 8px; font-size: 0.7rem; }

  .about-brief-inner { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
  .about-text .section-subtitle, .about-text h2 { text-align: center; }
  .about-facts { grid-template-columns: 1fr 1fr; }
  .festival-banner-inner { flex-direction: column; text-align: center; }
  .festival-card { grid-template-columns: 1fr; }
  .festival-card-visual { font-size: 3rem; }
  .clans-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { left: 24px; }
  .timeline-item { grid-template-columns: 50px 1fr; }
  .timeline-item:nth-child(even) .timeline-left,
  .timeline-item:nth-child(even) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-right { order: unset; text-align: left; }
  .timeline-item .timeline-right { display: none; }
  .timeline-item:nth-child(even) .timeline-left { display: block; order: 2; }
  .contact-inner { grid-template-columns: 1fr; }
  .mission-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .om-display { width: 220px; height: 220px; font-size: 7rem; }
  .hero-om-bg { display: none; }
}

@media (max-width: 560px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.625rem; }
  .features-grid { grid-template-columns: 1fr; }
  .clans-grid { grid-template-columns: 1fr 1fr; }
  .about-facts { grid-template-columns: 1fr 1fr; }
  .celebration-items { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .mission-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
