/* ===== ROOT VARIABLES ===== */

:root {
  --cream: #FBF4E2;
  --cream-2: #F4EAD0;
  --beige: #ECDDBE;
  --purple: #3E1488;
  --purple-deep: #2A0C5E;
  --purple-2: #6238A6;
  --purple-soft: #7A52B8;
  --gold: #C4972E;
  --gold-bright: #E2BB58;
  --gold-pale: #EAD79A;
  --gold-deep: #A1740F;
  --red: #C0202A;
  --red-soft: #D8222E;
  --ink: #46305E;
  --shadow: 0 18px 44px -18px rgba(42, 12, 94, 0.4);
}

/* ===== GLOBAL STYLES & BOOTSTRAP OVERRIDES ===== */

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

body {
  font-family: 'Poppins', sans-serif;
  background: radial-gradient(900px 360px at 0% -6%, rgba(196, 151, 46, 0.1), transparent 60%),
              radial-gradient(900px 360px at 100% 0%, rgba(62, 20, 136, 0.1), transparent 60%),
              linear-gradient(180deg, #FBF7F0, #F2EADB);
  color: var(--ink);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  color: var(--purple-deep);
}

/* Typography styles for Sanskrit and Hindi names */
.tiro-font {
  font-family: 'Tiro Devanagari Marathi', serif;
}

.mukta-font {
  font-family: 'Mukta', sans-serif;
}

.cinzel-font {
  font-family: 'Cinzel', serif;
  font-weight: 700;
}

/* Custom Container Constraint */
.site-container {
  width: 100%;
  max-width: 1351px;
  margin: 0 auto;
  padding: 0 12px;
  box-sizing: border-box;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--cream);
}
::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--purple);
}

/* Custom Bootstrap Override Classes */
.btn-primary-custom {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-deep) 100%);
  color: #fff;
  border: 1px solid var(--gold);
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(62, 20, 136, 0.2);
  transition: all 0.3s ease;
}
.btn-primary-custom:hover {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: var(--purple-deep);
  border-color: var(--purple);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196, 151, 46, 0.3);
}

.btn-secondary-custom {
  background: transparent;
  color: var(--purple-deep);
  border: 2px solid var(--purple-soft);
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn-secondary-custom:hover {
  background: rgba(62, 20, 136, 0.08);
  color: var(--purple);
  border-color: var(--purple);
  transform: translateY(-2px);
}

.card-custom {
  background: rgba(255, 255, 255, 0.9);
  border: 1.5px solid rgba(196, 151, 46, 0.25);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(42, 12, 94, 0.06);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: hidden;
}
.card-custom:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}

.bg-cream-panel {
  background: radial-gradient(circle at 50% 50%, #FFFEF8 0%, var(--cream) 100%);
  border: 1px solid var(--beige);
}

/* Form Styles */
.form-control:focus, .form-select:focus {
  border-color: var(--gold-bright);
  box-shadow: 0 0 0 0.25rem rgba(196, 151, 46, 0.25);
  background-color: #fff;
}

/* Table Custom Styles */
.table-custom {
  border: 1.5px solid var(--gold);
}
.table-custom thead {
  background: linear-gradient(90deg, var(--purple-deep), var(--purple));
  color: #fff;
}
.table-custom thead th {
  border-color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13.5px;
  letter-spacing: 0.5px;
}
.table-custom tbody tr:nth-of-type(even) {
  background-color: var(--cream);
}
.table-custom tbody td {
  border-color: var(--beige);
  color: var(--ink);
  font-size: 14.5px;
}

/* Section Titles */
.section-title {
  position: relative;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 30px;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--red), var(--gold));
  border-radius: 2px;
}

/* Tab controls */
.nav-pills-custom .nav-link {
  background: transparent;
  color: var(--purple-deep);
  border: 1.5px solid var(--gold);
  margin: 5px;
  font-weight: 600;
  border-radius: 30px;
  transition: all 0.3s ease;
}
.nav-pills-custom .nav-link.active, .nav-pills-custom .nav-link:hover {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-deep) 100%);
  color: #FFF !important;
  border-color: var(--purple-deep);
}

/* Accordion Custom */
.accordion-custom-item {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--beige) !important;
  margin-bottom: 8px;
  border-radius: 12px !important;
  overflow: hidden;
}
.accordion-custom-button {
  background-color: var(--cream) !important;
  color: var(--purple-deep) !important;
  font-weight: 600;
  border: none !important;
  box-shadow: none !important;
}
.accordion-custom-button:not(.collapsed) {
  background-color: var(--purple-soft) !important;
  color: #FFF !important;
}
.accordion-custom-button::after {
  filter: sepia(100%) hue-rotate(240deg) saturate(300%);
}

/* ===== BANNER ===== */
.banner {
  position: relative;
  width: 100%;
  max-width: 1351px;
  margin: 0 auto;
  height: 280px;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 0 36px;
  background: radial-gradient(120% 150% at 26% 8%, #FFFEF8 0%, var(--cream) 42%, var(--cream-2) 78%, var(--beige) 100%);
  box-shadow: 0 18px 44px -24px rgba(42, 12, 94, 0.5);
  z-index: 10;
}
.bg-mandala {
  position: absolute;
  left: 122px;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 250px;
  height: 250px;
  color: var(--purple);
  opacity: .06;
  pointer-events: none;
  animation: spin 80s linear infinite;
}
.sheen {
  position: absolute;
  top: 0;
  left: -32%;
  width: 30%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
  transform: skewX(-18deg);
  animation: sweep 7s ease-in-out 1.8s infinite;
}
.b-frame {
  position: absolute;
  inset: 8px;
  border: 1.5px solid var(--gold);
  pointer-events: none;
}
.b-frame::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(196, 151, 46, 0.45);
}
.tick {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--red);
  pointer-events: none;
}
.tk-tl { top: 14px; left: 14px; border-right: none; border-bottom: none; }
.tk-tr { top: 14px; right: 14px; border-left: none; border-bottom: none; }
.tk-bl { bottom: 14px; left: 14px; border-right: none; border-top: none; }
.tk-br { bottom: 14px; right: 14px; border-left: none; border-top: none; }

.emblem {
  flex: 0 0 auto;
  position: relative;
  width: 174px;
  height: 174px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: pop .9s cubic-bezier(.2, .8, .25, 1) .1s forwards;
}
.emblem .halo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 200px;
  height: 200px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226, 187, 88, 0.5) 0%, rgba(226, 187, 88, 0.14) 52%, rgba(226, 187, 88, 0) 70%);
  animation: halo 3.6s ease-in-out infinite;
}
.emblem .ring {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  box-shadow: 0 0 0 4px rgba(196, 151, 46, 0.12), 0 8px 20px -8px rgba(42, 12, 94, 0.35);
}
.emblem img, .emblem svg {
  position: relative;
  width: 172px;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.22));
}

.b-divider {
  flex: 0 0 auto;
  width: 1.5px;
  height: 138px;
  align-self: center;
  position: relative;
  background: linear-gradient(to bottom, rgba(196, 151, 46, 0), var(--gold) 18%, var(--gold-bright) 50%, var(--gold) 82%, rgba(196, 151, 46, 0));
}
.b-divider::before, .b-divider::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 6px;
  height: 6px;
  background: var(--red);
}
.b-divider::before { top: 22px; }
.b-divider::after { bottom: 22px; }

.btext {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.reveal {
  opacity: 0;
  animation: rise .75s cubic-bezier(.2, .7, .25, 1) forwards;
}
.toprow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 5px;
  font-family: 'Tiro Devanagari Marathi', serif;
  font-size: 14px;
  flex-wrap: wrap;
  text-align: center;
}
.toprow .sk { color: var(--gold-deep); letter-spacing: .4px; font-size: 16px; font-weight: 600; }
.toprow .mg { color: var(--purple-soft); font-size: 15px; font-weight: 500; }
.toprow .d { width: 6px; height: 6px; background: var(--red); transform: rotate(45deg); flex: 0 0 auto; }
.name-mr {
  font-family: 'Tiro Devanagari Marathi', serif;
  color: rgb(255, 106, 0);
  font-size: clamp(18px, 2.2vw, 48px);
  letter-spacing: .3px;
  line-height: 1.1;
  margin-bottom: 3px;
  max-width: 100%;
  word-break: break-word;
}
.name-en {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  color: var(--purple-deep);
  font-size: clamp(30px, 3vw, 52px);
  letter-spacing: 2px;
  line-height: 1.05;
  white-space: normal;
  max-width: 100%;
  word-break: break-word;
}
.grule {
  height: 2px;
  width: 340px;
  max-width: 60%;
  margin: 7px 0 6px;
  transform-origin: center;
  animation: grow 1s ease .95s both;
  background: linear-gradient(to right, rgba(196, 151, 46, 0), var(--gold) 22%, var(--gold-bright) 50%, var(--gold) 78%, rgba(196, 151, 46, 0));
  position: relative;
}
.grule::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 7px;
  height: 7px;
  background: var(--red);
}
.brow { display: flex; align-items: center; justify-content: center; color: var(--ink); }
.brow .item { display: flex; align-items: center; gap: 7px; padding: 0 14px; white-space: nowrap; }
.brow.addr .item { font-size: 13px; }
.brow.addr .item.mr { font-family: 'Tiro Devanagari Marathi', serif; font-size: 13.5px; }
.brow.cont { margin-top: 3px; }
.brow.cont .item { font-size: 13.5px; font-weight: 500; }
.brow .ic { flex: 0 0 auto; color: var(--gold-deep); display: flex; }
.brow .ic svg { width: 14px; height: 14px; fill: currentColor; }
.bsep { width: 5px; height: 5px; background: var(--red); transform: rotate(45deg); opacity: .9; }

/* ===== NAVBAR ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  max-width: 1351px;
  margin: 0 auto;
  background: linear-gradient(90deg, var(--purple-deep), var(--purple) 55%, var(--purple-2));
  box-shadow: 0 8px 24px -10px rgba(42, 12, 94, 0.5);
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--gold), var(--gold-bright), var(--red), var(--gold)) 1;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  gap: 12px;
}
.menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 auto;
  flex: 1;
  justify-content: center;
  padding-left: 0;
  margin-bottom: 0;
}
.menu > li {
  list-style: none;
  position: relative;
}
.menu > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 50px;
  padding: 0 14px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  color: var(--cream);
  position: relative;
  transition: color .25s;
  white-space: nowrap;
}
.menu > li > a .chev {
  width: 11px;
  height: 11px;
  transition: transform .3s;
  opacity: .75;
  fill: currentColor;
}
.menu > li > a::before {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 9px;
  height: 2.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  transition: left .28s ease, right .28s ease;
}
.menu > li:hover > a { color: var(--gold-bright); }
.menu > li:hover > a::before { left: 14px; right: 14px; }
.menu > li:hover > a .chev { transform: rotate(180deg); }
.menu > li.active > a { color: var(--gold-bright); }
.menu > li.active > a::before { left: 14px; right: 14px; }

/* Dropdown Menu */
.drop {
  position: absolute;
  top: calc(100% - 4px);
  left: 0;
  min-width: 262px;
  background: #fff;
  border-radius: 0 0 14px 14px;
  box-shadow: var(--shadow);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .28s ease, transform .28s ease, visibility .28s;
  border-top: 3px solid var(--gold);
  z-index: 40;
}
.menu > li:hover > .drop { opacity: 1; visibility: visible; transform: translateY(0); }
.drop.right { left: auto; right: 0; }
.drop a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  border-radius: 9px;
  text-decoration: none;
  color: var(--ink);
  font-size: 13.5px;
  position: relative;
  transition: background .2s, color .2s, padding .2s;
}
.drop a .dic {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex: 0 0 auto;
  transition: transform .2s, background .2s;
}
.drop a:hover {
  background: linear-gradient(90deg, rgba(62, 20, 136, 0.1), rgba(226, 187, 88, 0.14));
  color: var(--purple);
  padding-left: 18px;
}
.drop a:hover .dic { background: var(--red); transform: scale(1.5); }
.menu > li:hover > .drop a { animation: itemin .4s ease both; }

/* Mega Menu */
.mega {
  display: flex;
  gap: 8px;
  padding: 14px;
  /* Re-use drop positioning rules on hover but with custom size */
  position: absolute;
  top: calc(100% - 4px);
  left: 50%;
  transform: translate(-50%, 12px);
  background: #fff;
  border-radius: 0 0 14px 14px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s ease, transform .28s ease, visibility .28s;
  border-top: 3px solid var(--gold);
  z-index: 40;
}
.menu > li:hover > .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega .col { min-width: 225px; }
.mega .col + .col { border-left: 1px solid rgba(62, 20, 136, 0.1); padding-left: 10px; }
.col-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--purple);
  padding: 6px 13px 8px;
}
.col-title .bar { width: 18px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--gold), var(--red)); }
.col-lead {
  display: block;
  margin: 0 8px 6px;
  padding: 9px 12px;
  border-radius: 9px;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  color: #fff;
  background: linear-gradient(120deg, var(--purple), var(--purple-2));
  box-shadow: 0 6px 14px -7px rgba(62, 20, 136, 0.7);
  transition: filter .2s, transform .2s;
}
.col-lead:hover { filter: brightness(1.12); transform: translateY(-1px); }

/* Mobile Menu Burger */
.burger {
  display: none;
  width: 46px;
  height: 50px;
  border: none;
  cursor: pointer;
  background: transparent;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  align-items: center;
  margin-left: auto;
  z-index: 60;
}
.burger span { width: 24px; height: 2.5px; border-radius: 2px; background: var(--gold-bright); transition: .3s; }
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes sweep { 0% { left: -32%; } 40% { left: 128%; } 100% { left: 128%; } }
@keyframes halo { 0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: .5; } 50% { transform: translate(-50%, -50%) scale(1.08); opacity: .82; } }
@keyframes pop { 0% { opacity: 0; transform: scale(.84); } 60% { opacity: 1; } 100% { opacity: 1; transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes grow { from { transform: scaleX(0); opacity: 0; } to { transform: scaleX(1); opacity: 1; } }
@keyframes itemin { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }

/* Responsive adjustments for Nav (Desktop Breakpoint) */
@media (max-width: 1180px) {
  .banner { height: auto; flex-direction: column; gap: 18px; padding: 28px 20px; }
  .btext { padding: 0 6px; }
  .name-en { font-size: clamp(24px, 3vw, 42px); letter-spacing: 1.8px; }
  .name-mr { font-size: clamp(24px, 2.8vw, 40px); }
  .toprow { font-size: 13px; gap: 8px; }
  .toprow .sk { font-size: 15px; }
  .toprow .mg { font-size: 14px; }
  .brow { flex-wrap: wrap; justify-content: center; gap: 10px; }
  .brow .item { padding: 10px 12px; }
  .bsep { display: none; }
  .burger { display: flex; }
  .nav-inner { flex-wrap: wrap; justify-content: space-between; }
  .menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--purple-deep);
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0;
    z-index: 50;
  }
  .menu.open { max-height: 80vh; overflow-y: auto; padding: 8px 0; }
  .menu > li > a { height: auto; padding: 13px 20px; justify-content: space-between; font-size: 15px; width: 100%; box-sizing: border-box; }
  .menu > li > a::before { display: none; }
  
  /* Mobile Dropdown styles */
  .drop {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-top: none;
    border-left: 3px solid var(--gold);
    border-radius: 0;
    margin: 0 14px 8px 28px;
    display: none;
    padding: 10px 12px;
    min-width: 0;
  }
  .menu > li.mopen > .drop { display: block; }
  
  /* Mobile Mega Menu styles */
  .mega {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-top: none;
    border-left: 3px solid var(--gold);
    border-radius: 0;
    margin: 0 14px 8px 28px;
    display: none;
    padding: 10px 12px;
    min-width: 0;
    flex-direction: column;
    gap: 8px;
  }
  .menu > li.mopen > .mega { display: block; }
  .mega .col + .col { border-left: none; padding-left: 0; border-top: 1px solid rgba(62, 20, 136, .1); }
}

@media (max-width: 768px) {
  .banner { padding: 18px 12px; gap: 12px; align-items: center; }
  .btext { padding: 0 8px; width: 100%; }
  .bg-mandala { display: none; }
  .emblem { width: 120px; height: 120px; flex: 0 0 120px; }
  .emblem img, .emblem svg { width: 118px; height: auto; }
  .b-divider { display: none; }
  .grule { width: 80%; max-width: 420px; margin: 8px auto; }
  .name-en { font-size: clamp(20px, 4.2vw, 40px); }
  .name-mr { font-size: clamp(18px, 3.8vw, 36px); }
  .toprow { font-size: 14px; gap: 6px; }
  .toprow .sk { font-size: 15px; }
  .toprow .mg { font-size: 14px; }
  .brow { flex-direction: column; align-items: center; gap: 6px; }
  .brow .item { width: 100%; justify-content: center; padding: 6px 8px; white-space: normal; }
  .bsep { display: none; }
  .nav-inner { padding: 0 8px; }
  .burger { display: flex; }
  .menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--purple-deep);
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0;
  }
  .menu.open { max-height: 80vh; overflow-y: auto; padding: 8px 0; }
  .menu > li > a { padding: 12px 16px; font-size: 15px; width: 100%; box-sizing: border-box; }
  .drop { margin: 0 10px 8px 18px; padding: 8px; }
  .mega { margin: 0 10px 8px 18px; padding: 8px; }
}

/* ===== HERO PLACEHOLDER ===== */
.hero { width: 100%; max-width: 1351px; margin: 12px auto; padding: 0 12px; box-sizing: border-box; }
.hero img { width: 100%; height: auto; display: block; border-radius: 8px; box-shadow: 0 10px 30px rgba(42, 12, 94, .12); object-fit: cover; }
.hero .caption { margin-top: 8px; text-align: center; font-size: 13px; color: var(--ink); }

/* ===== NEWS TICKER ===== */
.news-section { width: 100%; max-width: 1351px; margin: 22px auto 0; padding: 0 12px; box-sizing: border-box; margin-bottom: 24px; }
.news-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; color: var(--purple); text-align: center; margin-bottom: 10px; }
.news-ticker { position: relative; overflow: hidden; background: rgba(255, 255, 255, .92); border: 1px solid rgba(62, 20, 136, .16); border-radius: 999px; box-shadow: 0 10px 32px rgba(42, 12, 94, .08); }
.ticker-wrap { overflow: hidden; }
.ticker-track { display: inline-flex; align-items: center; gap: 48px; padding: 12px 0; animation: scroll 20s linear infinite; }
.ticker-track:hover { animation-play-state: paused; cursor: pointer; }
.ticker-item { flex: 0 0 auto; font-size: 14px; color: var(--purple-deep); white-space: nowrap; padding: 0 12px; }
.ticker-item a { color: var(--purple-deep); text-decoration: none; font-weight: 500; }
.ticker-item a:hover { color: var(--red); text-decoration: underline; }
.ticker-item::before { content: '•'; color: var(--gold); display: inline-block; margin-right: 10px; }

@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== IMAGE SLIDER ===== */
.image-slider { width: 100%; max-width: 1351px; margin: 24px auto 0; padding: 0 12px; box-sizing: border-box; }
.slider-inner { position: relative; overflow: hidden; border-radius: 20px; border: 1px solid rgba(62, 20, 136, .12); background: linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .8)); box-shadow: 0 16px 40px rgba(42, 12, 94, .1); }
.slider-track { display: flex; transition: transform .6s ease-in-out; }
.slide { min-width: 100%; position: relative; height: 480px; overflow: hidden; }
.slide img { width: 100%; height: 100%; display: block; object-fit: cover; }
.slide-label { position: absolute; left: 18px; bottom: 18px; padding: 10px 20px; background: rgba(42, 12, 94, 0.85); color: #fff; border-radius: 999px; font-size: 14.5px; font-weight: 600; border: 1.5px solid var(--gold); box-shadow: 0 4px 15px rgba(0,0,0,0.3); max-width: 85%; }
.slider-controls { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.slider-button { background: var(--purple); color: #fff; border: 1px solid var(--gold); padding: 8px 18px; border-radius: 999px; cursor: pointer; box-shadow: 0 10px 24px rgba(42, 12, 94, .18); transition: transform .2s, background .2s; font-size: 14px; font-weight: 500; }
.slider-button:hover { transform: translateY(-1px); background: var(--gold); color: var(--purple-deep); }
.slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .8); border: 1.5px solid rgba(62, 20, 136, .4); cursor: pointer; transition: transform .2s, background .2s; }
.dot.active { background: var(--purple); transform: scale(1.3); border-color: var(--gold-bright); }

@media (max-width: 768px) {
  .slide { height: 280px; }
  .slide-label { left: 12px; bottom: 12px; font-size: 12.5px; padding: 6px 12px; }
}

/* ===== GALLERY & EVENTS ===== */
.gallery-events-section { width: 100%; max-width: 1351px; margin: 32px auto; padding: 0 12px; box-sizing: border-box; }
.gallery-events-container { background: rgba(255, 255, 255, 0.7); border: 1px solid rgba(62, 20, 136, 0.1); border-radius: 24px; padding: 24px; box-shadow: 0 10px 30px rgba(42, 12, 94, 0.05); }
.gallery-slider { position: relative; border-radius: 16px; overflow: hidden; height: 350px; border: 1.5px solid var(--gold); }
.gallery-slider img { width: 100%; height: 100%; object-fit: cover; }
.events-list { max-height: 350px; overflow-y: auto; padding-right: 8px; }
.event-item { display: flex; flex-direction: column; padding: 14px; border-bottom: 1.5px dashed var(--beige); transition: background 0.2s; border-radius: 8px; }
.event-item:hover { background: rgba(196, 151, 46, 0.08); }
.event-date { font-size: 12px; font-weight: 700; color: var(--red); text-transform: uppercase; margin-bottom: 4px; }
.event-title { font-size: 14px; font-weight: 600; color: var(--purple-deep); line-height: 1.4; text-decoration: none; }
.event-title:hover { color: var(--purple); text-decoration: underline; }

/* ===== STATS COUNTER ===== */
.stats-section {
  width: 100%;
  max-width: 1351px;
  margin: 36px auto;
  padding: 0 12px;
}
.stats-banner {
  background: linear-gradient(135deg, var(--purple-deep) 0%, var(--purple-2) 100%);
  border: 2px solid var(--gold);
  border-radius: 20px;
  color: #fff;
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--shadow);
}
.stat-box {
  padding: 15px;
}
.stat-number {
  font-family: 'Cinzel', serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--gold-bright);
  margin-bottom: 5px;
}
.stat-label {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--cream);
}

/* ===== AYUSH SECTION ===== */
.ayush-section {
  width: 100%;
  max-width: 1351px;
  margin: 36px auto;
  padding: 0 12px;
}
.ayush-container {
  background: radial-gradient(circle at 10% 20%, rgba(251, 244, 226, 0.8) 0%, rgba(236, 221, 190, 0.5) 90%);
  border: 2.5px solid var(--gold);
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--shadow);
}
.section-tag {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--red);
  margin-bottom: 8px;
}
.ayush-title {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  color: var(--purple-deep);
  margin-bottom: 20px;
}
.ayush-content {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
}
.info-card {
  background: #FFF;
  border: 1px solid var(--beige);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  height: 100%;
}
.info-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 12px;
}
.info-icon {
  margin-bottom: 14px;
  color: var(--gold);
}
.info-icon svg {
  width: 44px;
  height: 44px;
  fill: currentColor;
}

/* ===== FOOTER ===== */
.site-footer {
  width: 100%;
  max-width: 1351px;
  margin: 36px auto 0;
  padding: 48px 28px 28px;
  background: linear-gradient(180deg, rgba(62, 20, 136, .96), rgba(58, 16, 131, .98));
  border-top: 3px solid var(--gold);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(42, 12, 94, .18);
  color: #F6E9CF;
}
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 18px; flex: 1 1 320px; min-width: 260px; }
.footer-logo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(226, 187, 88, .96), rgba(226, 187, 88, .18) 42%, rgba(255, 255, 255, 0) 82%);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .13), inset 0 0 0 1px rgba(255, 255, 255, .22);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}
.footer-logo svg, .footer-logo img {
  width: 100%;
  height: 100%;
}
.footer-title { font-family: 'Cinzel', serif; font-size: 1.03rem; font-weight: 700; letter-spacing: 1px; margin-bottom: 8px; line-height: 1.25; color: #fff; }
.footer-subtitle { font-family: 'Poppins', sans-serif; font-size: 0.96rem; color: rgba(255, 255, 255, .82); max-width: 420px; line-height: 1.5; }
.footer-links { display: flex; gap: 28px; flex: 2 1 560px; flex-wrap: wrap; justify-content: flex-end; }
.footer-col { min-width: 180px; display: flex; flex-direction: column; gap: 10px; }
.footer-col h3 { font-size: 0.92rem; color: var(--gold-bright); text-transform: uppercase; letter-spacing: 0.18em; margin-bottom: 14px; }
.footer-col a, .footer-col span { color: rgba(255, 255, 255, .88); text-decoration: none; font-size: 0.94rem; line-height: 1.65; transition: color .2s; }
.footer-col a:hover { color: var(--gold-pale); text-decoration: underline; }
.footer-col span { display: block; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 34px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .12); flex-wrap: wrap; }
.footer-bottom p { color: rgba(255, 255, 255, .72); font-size: 0.93rem; }
.footer-bottom .social { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer-bottom .social a { color: rgba(255, 255, 255, .88); text-decoration: none; font-size: 0.92rem; transition: color .2s; display: flex; align-items: center; gap: 5px; }
.footer-bottom .social a svg { width: 16px; height: 16px; fill: currentColor; }
.footer-bottom .social a:hover { color: var(--gold-bright); }

@media (max-width: 768px) {
  .news-section, .image-slider { padding: 0 10px; }
  .news-ticker { border-radius: 999px; }
  .ticker-track { gap: 26px; padding: 14px 0; }
  .ticker-item { font-size: 13px; }
  .site-footer { padding: 36px 18px 26px; }
  .footer-top { flex-direction: column; gap: 28px; }
  .footer-brand { width: 100%; justify-content: center; text-align: center; flex-direction: column; }
  .footer-links { width: 100%; flex-wrap: wrap; justify-content: flex-start; gap: 20px; }
  .footer-col { min-width: 140px; width: calc(50% - 10px); }
  .footer-col h3 { font-size: 14px; }
  .footer-col a { font-size: 13px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-bottom .social { justify-content: center; gap: 10px; }
}

/* ===== 4K SCREEN (2560px+) ===== */
@media (min-width: 2560px) {
  body { min-height: 100vh; }
  
  /* CONTAINERS - Expand for 4K */
  .banner { max-width: 95vw; height: 380px; gap: 38px; padding: 0 48px; }
  .nav { max-width: 95vw; }
  .site-footer { max-width: 95vw; margin: 48px auto; }
  .image-slider { max-width: 95vw; margin: 32px auto; }
  .news-section { max-width: 95vw; margin: 32px auto; }
  .ayush-section { max-width: 95vw; }
  .gallery-events-section { max-width: 95vw; }
  .stats-section { max-width: 95vw; }
  
  /* BANNER */
  .bg-mandala { width: 350px; height: 350px; left: 160px; }
  .emblem { width: 240px; height: 240px; }
  .emblem .halo { width: 280px; height: 280px; }
  .emblem img, .emblem svg { width: 238px; }
  .b-divider { height: 180px; width: 2px; }
  .b-divider::before, .b-divider::after { width: 8px; height: 8px; }
  .toprow { font-size: 24px; gap: 16px; margin-bottom: 8px; }
  .toprow .sk { font-size: 28px; }
  .toprow .mg { font-size: 24px; }
  .name-mr { font-size: 72px; }
  .name-en { font-size: 88px; letter-spacing: 3px; }
  .grule { width: 420px; height: 3px; margin: 10px 0; }
  .grule::before { width: 10px; height: 10px; }
  .brow { gap: 16px; flex-wrap: wrap; }
  .brow .item { font-size: 20px; padding: 0 20px; gap: 10px; }
  .brow.addr .item { font-size: 20px; }
  .brow.addr .item.mr { font-size: 22px; }
  .brow.cont { margin-top: 6px; }
  .brow.cont .item { font-size: 22px; }
  .brow .ic svg { width: 20px; height: 20px; }
  .bsep { width: 8px; height: 8px; }
  
  /* NAVBAR */
  .nav { border-top: 4px solid var(--gold); }
  .nav-inner { padding: 0 18px; gap: 18px; min-height: 80px; }
  .menu > li > a { height: 80px; padding: 0 20px; font-size: 20px; gap: 8px; }
  .menu > li > a .chev { width: 14px; height: 14px; }
  .menu > li > a::before { bottom: 14px; height: 3px; }
  .menu > li:hover > a::before { left: 20px; right: 20px; }
  .drop { padding: 14px; min-width: 320px; }
  .drop a { padding: 12px 16px; font-size: 16px; gap: 12px; }
  .drop a .dic { width: 9px; height: 9px; }
  .burger { width: 54px; height: 60px; gap: 6px; }
  .burger span { width: 28px; height: 3px; }
  
  /* NEWS SECTION */
  .news-section { padding: 0 24px; }
  .news-title { font-size: 18px; margin-bottom: 16px; }
  .ticker-wrap { height: 50px; }
  .ticker-track { gap: 56px; padding: 18px 0; }
  .ticker-item { font-size: 20px; padding: 0 16px; }
  
  /* IMAGE SLIDER */
  .image-slider { padding: 0 24px; }
  .slider-inner { border-radius: 24px; }
  .slider-track { transition: transform 0.8s ease; }
  .slide { min-width: 100%; height: 650px; }
  .slide-label { left: 24px; bottom: 24px; padding: 14px 20px; font-size: 18px; border-radius: 999px; }
  .slider-controls { gap: 14px; margin-top: 20px; }
  .slider-button { padding: 14px 24px; font-size: 16px; box-shadow: 0 14px 32px rgba(42, 12, 94, .25); }
  .slider-dots { gap: 12px; margin-top: 16px; }
  .dot { width: 14px; height: 14px; }
  
  /* STATS BANNER */
  .stats-banner { padding: 50px 30px; }
  .stat-number { font-size: 60px; }
  .stat-label { font-size: 20px; }

  /* GALLERY & EVENTS */
  .gallery-events-section { margin: 36px auto; padding: 0 24px; }
  .gallery-slider { height: 480px; }
  .gallery-column h2, .events-column h2 { font-size: 48px; }
  .event-title { font-size: 22px; }
  .event-date { font-size: 18px; }
  .events-list { max-height: 480px; }
  .event-item { padding: 24px; }
  
  /* FOOTER */
  .site-footer { padding: 64px 48px 40px; border-top: 4px solid var(--gold); border-radius: 32px; }
  .footer-top { gap: 48px; }
  .footer-brand { gap: 24px; }
  .footer-logo { width: 100px; height: 100px; }
  .footer-title { font-size: 1.4rem; margin-bottom: 12px; }
  .footer-subtitle { font-size: 1.2rem; line-height: 1.7; }
  .footer-links { gap: 48px; }
  .footer-col { gap: 14px; min-width: 240px; }
  .footer-col h3 { font-size: 1.2rem; margin-bottom: 18px; }
  .footer-col a, .footer-col span { font-size: 1.1rem; line-height: 1.8; }
  .footer-bottom { gap: 28px; margin-top: 48px; padding-top: 20px; }
  .footer-bottom p { font-size: 1.1rem; }
  .footer-bottom .social { gap: 24px; }
  .footer-bottom .social a { font-size: 1rem; }
  
  /* AYUSH SECTION */
  .ayush-container { max-width: 95vw; margin: 0 auto; padding: 0 32px; gap: 60px; }
  .ayush-section { padding: 50px 0; }
  .gallery-item { grid-auto-rows: 200px; }
  .gallery-item.wide { height: 240px; }
  .icon-box img { width: 100px; height: 100px; }
  .section-tag { font-size: 28px; margin-bottom: 20px; }
  .ayush-content h2 { font-size: 56px; margin-bottom: 28px; }
  .ayush-content > p { font-size: 20px; line-height: 1.9; margin-bottom: 48px; }
  .mission-vision { gap: 40px; }
  .info-icon { min-width: 80px; }
  .info-icon svg { width: 80px; height: 80px; }
  .info-card h3 { font-size: 36px; margin-bottom: 14px; }
  .info-card p { font-size: 18px; line-height: 1.8; }
}

/* ===== ULTRA-WIDE TV (3840px+) ===== */
@media (min-width: 3840px) {
  /* CONTAINERS - Full width for ultra-wide */
  .banner { max-width: 97vw; }
  .nav { max-width: 97vw; }
  .site-footer { max-width: 97vw; margin: 64px auto; }
  .image-slider { max-width: 97vw; margin: 48px auto; }
  .news-section { max-width: 97vw; margin: 48px auto; }
  .ayush-section { max-width: 97vw; }
  .gallery-events-section { max-width: 97vw; }
  .stats-section { max-width: 97vw; }
  
  /* BANNER */
  .banner { height: 480px; gap: 50px; padding: 0 64px; }
  .bg-mandala { width: 450px; height: 450px; left: 200px; }
  .emblem { width: 320px; height: 320px; }
  .emblem .halo { width: 380px; height: 380px; }
  .emblem img, .emblem svg { width: 318px; }
  .b-divider { height: 240px; width: 3px; }
  .toprow { font-size: 32px; gap: 20px; }
  .toprow .sk { font-size: 36px; }
  .toprow .mg { font-size: 32px; }
  .name-mr { font-size: 96px; }
  .name-en { font-size: 120px; letter-spacing: 4px; }
  .grule { width: 520px; height: 4px; }
  .brow .item { font-size: 28px; padding: 0 28px; }
  .brow.addr .item { font-size: 28px; }
  .brow.addr .item.mr { font-size: 30px; }
  .brow.cont { margin-top: 10px; }
  .brow.cont .item { font-size: 30px; }
  
  /* NAVBAR */
  .nav { border-top: 5px solid var(--gold); }
  .nav-inner { padding: 0 24px; min-height: 100px; }
  .menu > li > a { height: 100px; padding: 0 28px; font-size: 28px; }
  .menu > li > a::before { bottom: 18px; height: 4px; }
  .drop { padding: 18px; min-width: 380px; }
  .drop a { padding: 16px 20px; font-size: 20px; }
  
  /* NEWS & SLIDER */
  .news-section { padding: 0 32px; }
  .news-title { font-size: 24px; }
  .ticker-item { font-size: 28px; padding: 0 20px; }
  .image-slider { padding: 0 32px; }
  .slide { height: 850px; }
  .slide-label { left: 32px; bottom: 32px; padding: 18px 24px; font-size: 24px; }
  .slider-button { padding: 18px 32px; font-size: 20px; }
  
  /* STATS BANNER */
  .stats-banner { padding: 64px 40px; }
  .stat-number { font-size: 80px; }
  .stat-label { font-size: 26px; }

  /* GALLERY & EVENTS */
  .gallery-events-section { padding: 60px 32px; }
  .gallery-slider { height: 560px; }
  .gallery-column h2, .events-column h2 { font-size: 56px; }
  .event-title { font-size: 28px; }
  .event-date { font-size: 22px; }
  .event-item { padding: 28px; }
  
  /* FOOTER */
  .site-footer { padding: 80px 64px 48px; border-top: 5px solid var(--gold); }
  .footer-title { font-size: 1.8rem; }
  .footer-subtitle { font-size: 1.5rem; }
  .footer-col h3 { font-size: 1.4rem; }
  .footer-col a, .footer-col span { font-size: 1.3rem; }
  
  /* AYUSH SECTION */
  .ayush-container { max-width: 97vw; margin: 0 auto; padding: 0 40px; gap: 80px; }
  .ayush-section { padding: 140px 0; }
  .gallery-item.wide { height: 300px; }
  .section-tag { font-size: 36px; }
  .ayush-content h2 { font-size: 72px; margin-bottom: 32px; }
  .ayush-content > p { font-size: 28px; }
  .info-card h3 { font-size: 48px; }
  .info-card p { font-size: 24px; }
}
