/* EMS 2027 - European Marathi Sammelan
   Bootstrap used for layout (container, row, col); this file keeps design final. */
:root {
  /* Background – warm off-white (#FAF7F5 lifts maroon better per review) */
  --bg: #FAF7F5;
  --bg-dark: #f0ebe6;
  --off-white: #f5f2ee;
  /* Primary text – dark grey/black */
  --text-primary: #2c2c2c;
  /* Secondary text – light grey; use font-weight 500+ for better contrast on gray */
  --text-secondary: #5a5a5a;
  /* Maroon – main heading & primary CTA */
  --maroon: #6b2d2d;
  --maroon-hover: #8b3d3d;
  /* Orange/saffron accent – stronger, more energetic (tag, timeline dots) */
  --tag-bg: #fff0e0;
  --tag-orange: #c45c1a;
  --accent-orange: #d46220;
  /* UI */
  --white: #ffffff;
  --gray: #e0ddd8;
  --gray-mid: #9a9590;
  --red: #8b1538;
  --red-hover: #a01845;
  --orange: #d46220;
  --yellow: #ffd700;
  --font-sans: 'Outfit', system-ui, sans-serif;
  --font-marathi: 'Noto Sans Devanagari', serif;
  --max-width: 1200px;
  --header-height: 72px;
  /* Consistent vertical rhythm */
  --section-gap: 4rem;
  --block-gap: 1.5rem;
  --paragraph-gap: 1.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-primary);
  background: var(--bg);
}

/* Desktop/website view: full width content, horizontal nav */
.mobile-view {
  max-width: var(--max-width);
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
}

/* Desktop: hide hamburger, show horizontal nav */
.hamburger {
  display: none;
}
.header-left {
  display: flex;
  align-items: center;
}
.nav.nav-drawer {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
  position: static;
  width: auto;
  height: auto;
  transform: none;
  background: transparent;
  padding: 0;
  box-shadow: none;
}
.nav-overlay {
  display: none;
}

/* Mobile view: narrow width, hamburger + drawer */
@media (max-width: 768px) {
  .mobile-view {
    max-width: 480px;
    overflow-x: hidden;
  }
  .header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 0 1rem;
    height: var(--header-height);
  }
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 102;
  }
  .hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 1px;
    transition: transform 0.2s, opacity 0.2s;
  }
  .header-left {
    position: relative;
    min-height: 44px;
  }
  .header-left .hamburger {
    flex-shrink: 0;
  }
  .header-left .logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 0.25rem;
  }
  .header .logo-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 50%;
  }
  .header .logo-main {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--text-primary);
  }
  .header .logo-sub {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
  }
  .header .btn-register {
    justify-self: end;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
  .nav.nav-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: min(280px, 85vw);
    height: 100%;
    background: var(--bg);
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding: calc(var(--header-height) + 1rem) 1.5rem 1.5rem;
    box-shadow: 4px 0 20px rgba(0,0,0,0.1);
    z-index: 101;
    transform: translateX(-100%);
    transition: transform 0.25s ease-out;
  }
  .nav.nav-drawer a {
    padding: 0.75rem 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--gray);
  }
  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
  }
  .hamburger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .hamburger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .hamburger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  body.drawer-open .nav.nav-drawer {
    transform: translateX(0);
  }
  body.drawer-open .nav-overlay {
    opacity: 1;
    visibility: visible;
  }
  .hero-logo-img {
    max-width: 240px;
  }
  .hero-title {
    margin-bottom: 0.25rem;
  }
  .hero-marathi.theme {
    margin-bottom: 0.75rem;
  }
  .footer {
    padding: 2rem 1rem 1rem;
  }
  .footer-inner {
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
  .footer-brand {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
  .footer-links {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
  .footer-logo-main {
    font-size: 1rem;
  }
  .footer-marathi {
    font-size: 0.95rem;
  }
  .footer-bottom {
    padding-top: 1rem;
    font-size: 0.75rem;
  }
}

img {
  /* max-width: 100%; */
  height: auto;
  display: block;
}

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

/* Header – desktop: logo + nav + Register in a row */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  color: var(--text-primary);
  padding: 0 1.5rem;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  border-bottom: 1px solid var(--gray);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 50%;
}

.logo-img[src=""],
.logo-img:not([src]) {
  display: none;
}

.logo-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.logo-main {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  color: var(--text-primary);
}

.logo-sub {
  font-size: 0.7rem;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
}

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

.nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--maroon);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.25rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn-register {
  background: var(--maroon);
  color: var(--white);
}

.btn-register:hover {
  background: var(--maroon-hover);
}

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

.btn-primary:hover {
  background: var(--maroon-hover);
}

/* Hero */
.hero {
  padding: var(--section-gap) 1.5rem;
  background: rgba(248, 247, 245, 1);
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  min-height: 60vh;
}

.hero-inner .row {
  --bs-gutter-x: 4rem;
  --bs-gutter-y: 2rem;
}

.tag {
  display: inline-block;
  background: rgba(247, 237, 224, 1);
  color: rgba(244, 169, 78, 1);
  padding: 0.25rem 1rem;
  font-size: 0.750rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  margin-bottom: 1rem;
  /* border: 2px solid var(--tag-orange); */
  border: 0.99px solid rgba(244, 169, 78, 1);
  border-radius: 999px;
  width: fit-content;
}

.hero-title {
  font-size: clamp(2rem, 5.5vw, 2.440rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.35px;
  margin: 0 0 0.35rem;
  color: rgba(92, 14, 14, 1);
}

.hero-marathi {
  font-family: var(--font-marathi);
  font-size: clamp(1.5rem, 3.5vw, 1.750rem);
  font-weight: 500;
  color: rgba(57, 42, 42, 1);
  margin: 0 0 0.2rem;
}

.hero-marathi.theme {
  margin-bottom: 1rem;
}

.hero-deadline,
.hero-countdown {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(94, 92, 92, 1);
  margin-bottom: 0.5rem;
}

.hero-deadline-value,
.hero-countdown-days {
  font-weight: 600;
  color: rgba(20, 20, 20, 1);
}

.hero-details {
  display: flex;
  gap: 3rem;
  margin-bottom: var(--block-gap);
}

.detail {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.detail:not(:first-child) {
  padding-left: 1.5rem;
  border-left: 1px solid var(--gray);
}

.detail-label {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: rgba(94, 92, 92, 1);
}

/* Gray text: slightly bolder for better contrast on background */
.marathi-block p,
.sponsors-desc,
.registered {
  font-weight: 500;
}

.detail-value {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(20, 20, 20, 1);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.btn-hero-register {
  padding: 0.7rem 1.5rem;
  font-size: 1rem;
  border-radius: 8px;
  font-weight: 500;
}

.btn-hero-secondary {
  padding: 0.7rem 1.5rem;
  font-size: 1rem;
  border-radius: 8px;
  background: transparent;
  color: var(--maroon);
  border: 2px solid var(--maroon);
  transition: background 0.2s, color 0.2s;
}

.btn-hero-secondary:hover {
  background: var(--maroon);
  color: var(--white);
}

.social {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  /* gap: 0.5rem; */
  padding: 0.5rem 0.75rem;
  /* background: var(--white); */
  color: var(--text-primary);
  /* border: 1px solid var(--gray); */
  /* border-radius: 999px; */
  font-size: 0.85rem;
  /* transition: background 0.2s, color 0.2s, border-color 0.2s; */
}

.social-btn-icon {
  padding: 0.5rem;
}

.social-btn-icon img {
  width: 40px;
  height: 40px;
  display: block;
}

.social-btn:hover {
  background: var(--gray);
  border-color: var(--gray-mid);
}

.social-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--gray);
  background: var(--white);
}

.social-icon-svg {
  width: 18px;
  height: 18px;
  color: var(--text-secondary);
}

.social-btn:hover .social-icon-svg {
  color: var(--text-primary);
}

.registered {
  font-size: 0.85rem;
  color: var(--text-secondary);
  max-width: 100%;
  line-height: 1.5;
}

.registered strong {
  color: var(--text-primary);
}

.hero-logo {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.75rem;
  /* background: rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(92, 39, 39, 0.06); */
}

.hero-logo-img {
  /* max-width: 238px; */
  width: 400px;
  height: auto;
  margin: 0 auto 0.5rem;
  display: block;
}

.hero-logo-img[src=""],
.hero-logo-img:not([src]) {
  display: none;
}

.hero-logo-placeholder {
  display: none;
  width: 180px;
  height: 180px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange) 0%, var(--yellow) 40%, var(--red) 100%);
  align-items: center;
  justify-content: center;
  font-family: var(--font-marathi);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

.hero-logo-placeholder.visible {
  display: flex;
}

.hero-logo-caption {
  font-family: var(--font-marathi);
  font-size: 0.9rem;
  color: var(--text-primary);
  margin: 0;
}

/* Cultural section – three columns: Ganesha | Marathi text | Timeline */
.cultural {
  padding: var(--section-gap) 1.5rem;
  background: #fff;
}

.cultural-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.cultural-inner .row {
  --bs-gutter-x: 2.5rem;
  --bs-gutter-y: 2.5rem;
}

.ganesha-wrap {
  border-radius: 12px;
  overflow: hidden;
  background: var(--gray);
}

.ganesha-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.ganesha-placeholder {
  display: none;
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--orange) 0%, var(--yellow) 50%, var(--red) 100%);
  color: var(--white);
  font-family: var(--font-marathi);
  font-size: 1.5rem;
  font-weight: 600;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.ganesha-placeholder.visible {
  display: flex;
}

/* Marathi text block – no background, match section; muted text */
.marathi-block {
  padding: 0;
}

.marathi-block p {
  font-family: var(--font-marathi);
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin: 0;
}

/* Timeline – centered line, two-tone nodes, labels alternate left/right */
.timeline-wrap {
  padding-top: 0;
  padding-left: 10px !important;
  padding-right: 10px !important;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

/* Vertical line – orange accent */
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: var(--accent-orange);
  transform: translateX(-50%);
  z-index: 0;
}

.timeline li {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0;
  padding-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.timeline li:last-child {
  padding-bottom: 0;
}

/* Labels: odd = left (right-aligned), even = right (left-aligned) */
.timeline li:nth-child(odd) .timeline-label {
  grid-column: 1;
  justify-self: end;
  margin-right: 0.85rem;
}

.timeline li:nth-child(even) .timeline-label {
  grid-column: 3;
  justify-self: start;
  margin-left: 0.85rem;
}

.timeline-node {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

/* Orange/saffron accent nodes per review */
.timeline-node::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--accent-orange);
  box-sizing: border-box;
}

.timeline-node::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  margin-top: -7px;
  border-radius: 50%;
  background: var(--tag-bg);
  box-sizing: border-box;
}

/* Label: bolder, less muted */
.timeline-label {
  display: inline-block;
  background: #e8e4e0;
  color: var(--text-primary);
  font-size: 0.850rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  line-height: 1.3;
  max-width: 100%;
}

/* Experience + Memories */
.experience-memories {
  padding: var(--section-gap) 1.5rem;
  background: var(--off-white);
}

.exp-mem-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.exp-mem-inner .row {
  --bs-gutter-x: 3rem;
  --bs-gutter-y: 2rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 500;
  letter-spacing: 0.35px;
  margin: 0 0 1rem;
  color: rgba(92, 14, 14, 1);
  text-transform: uppercase;
}

.section-subtitle {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.35px;
  margin: 0 0 1rem;
  color: rgba(92, 14, 14, 1);
  text-transform: uppercase;
}

.video-wrap {
  border-radius: 12px;
  overflow: hidden;
  background: var(--gray-mid);
}

.video-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: opacity 0.2s;
}

.video-link:hover {
  opacity: 0.95;
}

.video-placeholder {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #4a4a4a 0%, #2c2a28 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.video-thumbnail {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.play-btn {
  position: relative;
  z-index: 2;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.75);
  color: var(--white);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 6px;
  transition: transform 0.2s;
  pointer-events: none;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.video-link:hover .play-btn {
  transform: scale(1.05);
}

.video-hint {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.memories-desc {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.5rem;
  margin: 0 0 1.25rem;
}

.gallery-wrap {
  position: relative;
  overflow: hidden;
  container-type: inline-size;
  container-name: gallery;
}

.gallery-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
}

.gallery-track::-webkit-scrollbar {
  height: 6px;
}

.gallery-track::-webkit-scrollbar-thumb {
  background: var(--gray-mid);
  border-radius: 3px;
}

/* 2 images visible at a time; each item is half container minus gap */
.gallery-item {
  flex: 0 0 calc(50cqw - 0.5rem);
  min-width: 260px;
  scroll-snap-align: start;
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 8px;
  overflow: hidden;
}

.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-placeholder {
  position: absolute;
  inset: 0;
  background: var(--gray-mid);
  border-radius: 8px;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--white);
}

.gallery-item .gallery-placeholder.visible {
  display: flex;
}

.gallery-next {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--gray);
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: background 0.2s;
}

.gallery-next:hover {
  background: var(--off-white);
}

/* About – centered content, wider view, Register button bottom right */
.about {
  background: #ffffff;
  position: relative;
  padding: var(--section-gap) 1.5rem;
}

.about-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.about-inner > .section-title {
  margin-bottom: 1.5rem;
}

.about-text {
  margin: 0 auto;
  /* padding-right: 12rem; */
  max-width: 900px;
  text-align: center;
  
}

.about-text p {
  font-family: var(--font-marathi);
  font-size: 1rem;
  line-height: 1.75;
  color: #000000;
  margin: 0 0 1.25rem;
  text-align: left;
}

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

.about-subtitle {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--maroon);
  margin: 0 0 0.75rem;
}

.about-part {
  margin-bottom: var(--block-gap);
}

.about-part:last-child {
  margin-bottom: 0;
}

.about-part > p.about-text {
  margin: 0;
  font-weight: 500;
}

/* Explore Bad Nauheim */
.explore-city {
  padding: var(--section-gap) 1.5rem;
  background: var(--off-white);
}

.explore-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.explore-intro {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-primary);
  margin: 0 0 1.5rem;
  font-weight: 500;
}

.explore-intro a {
  color: var(--maroon);
  font-weight: 600;
}

.explore-intro a:hover {
  text-decoration: underline;
}

.explore-placeholder-img {
  max-width: 560px;
  height: 240px;
  background: var(--gray);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.about-cta {
  position: absolute;
  /* bottom: 2rem; */
  right: 1.5rem;
}

/* About – larger text and spacing in mobile view */
@media (max-width: 768px) {
  .about {
    padding: 3.5rem 1.25rem 5rem;
  }
  .about-text {
    padding-right: 0;
    max-width: 100%;
  }
  .about-text p {
    font-size: 1.2rem;
    line-height: 1.85;
    margin-bottom: 1.5rem;
  }
  .about-cta {
    /* bottom: 1.5rem; */
    right: 1.25rem;
  }
}

.btn-register-about {
  display: inline-block;
  background: #8b0000;
  color: #ffffff;
  padding: 0.7rem 1.75rem;
  border-radius: 6px;
  font-weight: 500;
  border: none;
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: background 0.2s;
}

.btn-register-about:hover {
  background: #a00;
  color: #ffffff;
}

/* Sponsors – light beige, circles and CTA centered like design */
.sponsors {
  padding: var(--section-gap) 1.5rem;
  background: rgba(248, 247, 245, 1);
}

.sponsors-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  /* text-align: center; */
}

.sponsors-inner .section-title {
  color: #8b2c2c;
  margin: 0 0 0.5rem;
  font-size: 2.5rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.sponsors-desc {
  font-size: 1rem;
  color: rgba(94, 92, 92, 1);
  /* margin: 0 auto 2rem; */
  max-width: 640px;
  font-weight: 400;
}

.sponsor-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.sponsor-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.sponsor-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: #d9d9d9;
  flex-shrink: 0;
  transition: transform 0.2s, box-shadow 0.2s;
}

.sponsor-item:hover .sponsor-circle {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.sponsor-item:hover .sponsor-label {
  font-weight: 700;
}

.sponsor-label {
  font-size: 0.9rem;
  font-weight: 400;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.sponsors-cta {
  display: flex;
  /* flex-direction: column; */
  align-items: center;
  gap: 0.75rem;
  /* text-align: center; */
  justify-content: space-evenly;
}

.sponsors-cta-text {
  max-width: 480px;
}

.cta-title {
  font-weight: 500;
  font-size: 1.25rem;
  color: rgba(128, 0, 0, 1);
  margin: 0 0 0.25rem;
}

.cta-sub {
  font-size: 1rem;
  font-weight: 400;
  color: rgba(74, 85, 101, 1);
  margin: 0;
}

.sponsors-cta .btn-primary {
  background: #8b2c2c;
  color: var(--white);
  text-transform: uppercase;
}

/* Sponsors – mobile view: white background, horizontal scroll circles, cream CTA card */
@media (max-width: 768px) {
  .sponsors {
    background: #ffffff;
    padding: 2.5rem 1.25rem 2.5rem;
  }
  .sponsors-inner {
    text-align: left;
  }
  .sponsors-inner .section-title {
    color: #8b2c2c;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }
  .sponsors-desc {
    color: #555555;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
  }
  .sponsor-logos {
    display: flex;
    flex-wrap: nowrap;
    gap: 1.25rem;
    justify-content: flex-start;
    margin-bottom: 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.5rem 0 1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #bbb transparent;
  }
  .sponsor-logos::-webkit-scrollbar {
    height: 6px;
  }
  .sponsor-logos::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 3px;
  }
  .sponsor-logos::-webkit-scrollbar-thumb {
    background: #bbb;
    border-radius: 3px;
  }
  .sponsor-item {
    flex-direction: column;
    flex-shrink: 0;
    flex-grow: 0;
    min-width: 80px;
    align-items: center;
    gap: 0.5rem;
  }
  .sponsor-circle {
    width: 80px;
    height: 80px;
    background: #e0e0e0;
  }
  .sponsor-label {
    display: block;
    font-size: 0.75rem;
    color: #555555;
    text-align: center;
  }
  .sponsors-cta {
    background: #f5f2ed;
    border-radius: 12px;
    padding: 1.5rem 1.25rem;
    align-items: stretch;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .sponsors-cta-text {
    max-width: 100%;
    padding-right: 0;
  }
  .sponsors-cta .cta-title {
    font-size: 1rem;
    margin-bottom: 0.25rem;
  }
  .sponsors-cta .cta-sub {
    font-size: 0.85rem;
    color: #6b6b6b;
  }
  .sponsors-cta .btn-primary {
    align-self: flex-end;
    margin-top: 0.25rem;
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
    border-radius: 8px;
    background: #5c2a2a;
  }
}

/* Footer – per design: dark reddish-brown, logo row, orange headings, light gray bottom bar */
.footer {
  background: #590505;
  color: var(--white);
  padding: 3rem 1.5rem 1.5rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  /* padding-bottom: 2rem; */
  /* border-bottom: 1px solid rgba(255, 255, 255, 0.25); */
}

.footer-inner .row {
  --bs-gutter-x: 2.5rem;
  --bs-gutter-y: 1.5rem;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.footer-logo-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-logo-placeholder {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.footer-logo-placeholder.visible {
  display: block;
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-logo-main {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
}

.footer-logo-sub {
  font-size: 0.75rem;
  color:#DEDEDE;
}

.footer-marathi {
  font-family: var(--font-marathi);
  font-size: 1.5rem;
  margin: 0 0 1rem;
  color: var(--white);
}

.footer-social {
  display: flex;
  gap: 0.5rem;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: var(--white);
  transition: background 0.2s, border-color 0.2s;
}

.footer-social-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
}

.footer-social-icon {
  font-size: 1rem;
  font-weight: 700;
  font-style: italic;
}

.footer-social-icon-svg {
  width: 18px;
  height: 18px;
}

.footer-links h3,
.footer-contact h3 {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin: 0 0 1rem;
  color: #F49C24;
}

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

.footer-links a {
  color: #F0F0F0;
  font-size: 1rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-contact p {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color:#F0F0F0;
}

.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.footer-contact-row.footer-address {
  align-items: flex-start;
}

.footer-contact-row.footer-address .footer-icon {
  margin-top: 0.15rem;
}

.footer-icon {
  color: #FF9933;
  flex-shrink: 0;
  font-size: 1rem;
  margin: auto 0;
}

.footer-contact a {
  color: #F0F0F0;
  text-decoration: none;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 2rem auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: #F0F0F0;
}

.footer-bottom a {
  margin-left: 1rem;
  color: #F0F0F0;
}

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

/* Responsive */
@media (max-width: 900px) {
  .hero-inner {
    min-height: auto;
    padding: 2rem 0;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-details {
    justify-content: center;
  }

  .registered {
    text-align: center;
  }

  .hero-logo {
    padding: 1.5rem;
  }

  .cultural-left {
    max-width: 320px;
    margin: 0 auto;
  }

  .footer-inner {
    text-align: center;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-links {
    align-items: center;
  }

  .footer-contact {
    text-align: center;
  }

  .footer-contact-row span, a {
    text-align: center;
  }

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

@media (max-width: 640px) {
  .sponsor-logos {
    justify-content: flex-start;
  }
}


.home-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(122, 104, 104, 0.1);
  color: var(--white);
  transition: background 0.2s, border-color 0.2s;
}

.home-social-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
}

.home-social-icon {
  font-size: 1rem;
  font-weight: 700;
  font-style: italic;
  color:#000000
}

.home-social-icon-svg {
  width: 18px;
  height: 18px;
}

p-32{
  padding: 0px, 32px;
}