/* =========================================================
   RAJASTHAN TRAVEL FAIR - FINAL COMPLETE STYLE.CSS
   ========================================================= */

/* ===== GLOBAL RESET ===== */
html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
  background: #0b1020 !important;
  font-family: 'Poppins', sans-serif;
}

/* ===== COMMON PAGE SECTION ===== */
.page-section {
  position: relative !important;
  margin: 0 !important;
  min-height: auto !important;
  height: auto !important;
  display: none;
  opacity: 0;
  visibility: hidden;
  flex-direction: column;
  scroll-margin-top: 80px;
}

.page-section.active {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* ===== NAV ===== */
.nav-link {
  transition: color 0.2s ease;
}

nav .text-yellow-300 {
  color: #facc15 !important;
}

#mobile-menu.flex {
  display: flex !important;
  flex-direction: column !important;
}

nav img {
  object-fit: contain !important;
  object-position: center center !important;
  background: #ffffff !important;
  border-radius: 14px !important;
  padding: 4px !important;
}

/* ===== ARROW NAVIGATION BUTTONS ===== */
.nav-arrow-button {
  position: fixed !important;
  top: 50vh !important;
  transform: translateY(-50%) !important;
  z-index: 99999 !important;
  width: 55px !important;
  height: 55px !important;
  border: none !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  color: #1B2A57 !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35) !important;
  transition: transform 0.2s ease !important;
}

.nav-arrow-button.left {
  left: 20px !important;
  background: linear-gradient(135deg, #00C9FF, #92FE9D) !important;
}

.nav-arrow-button.right {
  right: 20px !important;
  background: linear-gradient(135deg, #FDC830, #F37335) !important;
}

.nav-arrow-button:hover {
  transform: translateY(-50%) scale(1.1) !important;
}

/* ===== HOME ===== */
#home p.text-justify {
  text-align: justify !important;
  text-align-last: left !important;
}

#home img[alt="Event Logo"] {
  width: 260px !important;
  height: 260px !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: #ffffff !important;
  border-radius: 22px !important;
  padding: 10px !important;
}

/* ===== ABOUT SECTION ===== */
.about-section {
  position: relative !important;
  min-height: 100vh !important;
  padding: 0 !important;
  display: none;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  overflow: hidden !important;
  isolation: isolate;
}

.about-section.active {
  display: flex !important;
}

.about-bg-video {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  z-index: 0 !important;
  pointer-events: none !important;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.about-overlay {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(0, 0, 0, 0.72) !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

.about-content {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
  padding: 80px 20px 50px !important;
}

.about-section img[alt*="Logo"],
.about-section img[src*="RTF"],
.about-section img[src*="finallogo"] {
  width: 105px !important;
  height: 105px !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: #ffffff !important;
  border-radius: 14px !important;
  padding: 8px !important;
}

/* ===== ORGANIZERS ===== */
#organizers {
  padding: 42px 20px !important;
  margin-top: 30px !important;
  background:
    radial-gradient(circle at top left, rgba(250,204,21,0.18), transparent 30%),
    linear-gradient(135deg, #0f172a, #111827, #1b2a57);
  border-radius: 24px;
  border: 1px solid rgba(250,204,21,0.25);
}

#organizers h2 {
  color: #ffffff;
  font-size: 34px;
  font-weight: 800;
  text-align: center;
  margin: 0 0 28px !important;
}

.org-row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px !important;
  max-width: 1000px;
  margin: 0 auto 18px auto !important;
}

.org-row-1 {
  display: flex;
  justify-content: center;
  margin-bottom: 18px !important;
}

.org-row-1 > .org-card {
  width: 310px !important;
  max-width: 310px !important;
}

.org-row-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px !important;
  max-width: 660px;
  margin: 0 auto !important;
}

.org-card {
  padding: 22px 18px !important;
  border-radius: 20px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(250,204,21,0.28);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: auto !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

/* Keep organizer layout stable */
.org-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(250,204,21,0.15);
}

/* Default image style for all organizers */
.org-card img {
  width: 140px !important;
  height: 160px !important;
  border-radius: 18px !important;
  border: 3px solid #facc15 !important;
  margin-bottom: 14px !important;
  object-fit: cover !important;
  object-position: center 22% !important;
  display: block !important;
  background: #ffffff !important;
}

/* Only these 3 face fixes */
.org-card img.organizer-face {
  height: 175px !important;
  object-position: center 8% !important;
}

.org-card h3 {
  color: #fde68a;
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 6px;
}

.org-card p {
  color: #cbd5e1;
  font-size: 13px;
  margin: 2px 0;
}

.org-card a {
  color: #facc15;
  font-size: 13px;
  text-decoration: none;
}

/* Mobile */
@media (max-width: 560px) {
  .org-row-3,
  .org-row-2 {
    grid-template-columns: 1fr !important;
  }

  .org-row-1 > .org-card {
    width: 100% !important;
    max-width: 310px !important;
  }

  .org-card img {
    width: 130px !important;
    height: 150px !important;
  }

  .org-card img.organizer-face {
    height: 165px !important;
  }
}
/* ===== RTF FAM SECTION ===== */
.rtffam-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: 80px 0 55px 0 !important;
}

.rtffam-section.active {
  display: flex !important;
}

.partners-inner {
  width: 100%;
  max-width: 1320px !important;
  margin: 0 auto;
  padding: 0 1.5rem;
  box-sizing: border-box;
}

.partners-page-title {
  text-align: center;
  margin-bottom: 2rem;
}

.partners-page-title h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #fde047;
}

.partners-page-title p {
  color: #94a3b8;
}

/* ===== HOTEL LOGOS ===== */
.hotel-scroll-bar {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(253,224,71,0.2);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  overflow: hidden;
}

.hotel-scroll-bar h3 {
  text-align: center;
  color: #fde047;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.logo-slider {
  overflow: hidden;
  width: 100%;
}

.logo-track {
  display: flex;
  gap: 2.5rem;
  animation: scrollLogos 30s linear infinite;
  width: max-content;
  will-change: transform;
  align-items: center;
}

.logo-track:hover {
  animation-play-state: paused;
}

.logo-track img,
.logo-track-lg img {
  height: 130px !important;
  max-width: 260px !important;
  width: auto !important;
  object-fit: contain !important;
  background: #ffffff !important;
  border-radius: 14px !important;
  padding: 8px !important;
  border: 1px solid rgba(253,224,71,0.25);
  flex-shrink: 0;
}

@keyframes scrollLogos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== TWO COLUMN ===== */
.fam-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.fam-panel {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(253,224,71,0.15);
  border-radius: 1.25rem;
  padding: 1.25rem;
}

.fam-panel h3 {
  color: #fde047;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 1rem;
  text-align: center;
}

/* ===== PARTICIPANTS TABLE ===== */
.participants-search {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: white;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
  outline: none;
  box-sizing: border-box;
}

.participants-table-wrap {
  max-height: 420px;
  overflow-y: auto;
  border-radius: 0.75rem;
}

.participants-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
}

.participants-table thead th {
  background: rgba(253,224,71,0.15);
  color: #fde047;
  padding: 0.5rem 0.6rem;
  text-align: left;
  font-weight: 700;
  position: sticky;
  top: 0;
  z-index: 1;
}

.participants-table tbody tr {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.participants-table tbody tr:hover {
  background: rgba(253,224,71,0.07);
}

.participants-table tbody td {
  padding: 0.45rem 0.6rem;
  color: #e2e8f0;
  vertical-align: top;
}

/* ===== VIDEOS ===== */
.videos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.video-item {
  background: rgba(0,0,0,0.3);
  border-radius: 0.75rem;
  overflow: hidden;
}

.video-item video {
  width: 100%;
  height: 130px;
  object-fit: cover;
  display: block;
}

.video-item p {
  text-align: center;
  font-size: 0.78rem;
  color: #fde047;
  font-weight: 600;
  padding: 0.4rem 0.5rem;
  background: rgba(0,0,0,0.25);
  margin: 0;
}

/* ===== WRITTEN FEEDBACK FINAL CLEAN FIX ===== */

.feedback-scroll-section {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(253,224,71,0.15);
  border-radius: 1.25rem;
  padding: 1.25rem;
  margin-bottom: 2rem;
  overflow: hidden !important;
}

.feedback-scroll-section h3 {
  width: 100%;
  text-align: center !important;
  color: #fde047 !important;
  font-size: 1.6rem !important;
  font-weight: 800 !important;
  margin: 0 0 1.5rem 0 !important;
  line-height: 1.3 !important;
}

.feedback-track-wrap {
  width: 100%;
  overflow: hidden !important;
  padding: 20px 0;
  position: relative;
}

.feedback-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: scrollFeedback 180s linear infinite;
  will-change: transform;
  align-items: stretch;
}

.feedback-track-wrap:hover .feedback-track,
.feedback-track:hover {
  animation-play-state: paused !important;
}

@keyframes scrollFeedback {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.feedback-card-item {
  width: 300px !important;
  min-width: 300px !important;
  max-width: 300px !important;
  flex: 0 0 300px !important;
  min-height: 395px !important;
  background: rgba(255,255,255,0.07) !important;
  border: 1px solid rgba(253,224,71,0.2) !important;
  border-radius: 1rem !important;
  padding: 16px !important;
  text-align: center !important;
  overflow: visible !important;
  white-space: normal !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  transition: transform 0.35s ease, box-shadow 0.35s ease !important;
  cursor: pointer;
}

.feedback-card-item:hover {
  transform: scale(1.06) !important;
  box-shadow: 0 18px 45px rgba(250,204,21,0.24) !important;
  z-index: 99 !important;
}

.feedback-person-img {
  width: 135px !important;
  height: 135px !important;
  object-fit: cover !important;
  object-position: center top !important;
  border-radius: 14px !important;
  margin: 0 auto 12px auto !important;
  display: block !important;
  border: 3px solid #facc15 !important;
  background: #ffffff !important;
}

.feedback-card-item h4 {
  color: #fde047 !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  margin: 0 0 6px 0 !important;
  line-height: 1.3 !important;
  text-align: center !important;
}

.feedback-card-item .org {
  color: #7dd3fc !important;
  font-size: 0.82rem !important;
  margin-bottom: 10px !important;
  line-height: 1.35 !important;
  text-align: center !important;
}

.feedback-card-item .quote {
  color: #e2e8f0 !important;
  font-size: 0.86rem !important;
  line-height: 1.6 !important;
  font-style: italic !important;
  text-align: center !important;
}

/* ===== RTF FAM GALLERY FINAL CLEAN FIX ===== */

.gallery-section {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(253,224,71,0.15);
  border-radius: 1.25rem;
  padding: 1.25rem;
  overflow: hidden !important;
}

.gallery-section h3 {
  color: #fde047 !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  margin-bottom: 1rem !important;
  text-align: center !important;
}

.gallery-scroll-wrap {
  overflow: hidden !important;
  width: 100%;
  padding: 20px 0;
}

.gallery-scroll-track {
  display: flex;
  gap: 1rem;
  animation: scrollGallery 95s linear infinite !important;
  width: max-content;
  will-change: transform;
  align-items: center;
}

.gallery-scroll-wrap:hover .gallery-scroll-track,
.gallery-scroll-track:hover {
  animation-play-state: paused !important;
}

@keyframes scrollGallery {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.gallery-scroll-track img {
  height: 260px !important;
  width: 380px !important;
  object-fit: cover !important;
  background: #ffffff !important;
  border-radius: 0.75rem !important;
  flex-shrink: 0 !important;
  border: 2px solid rgba(253,224,71,0.2) !important;
  padding: 6px !important;
  transition: transform 0.35s ease, box-shadow 0.35s ease !important;
  cursor: zoom-in;
}

.gallery-scroll-track img:hover {
  transform: scale(1.1) !important;
  box-shadow: 0 18px 45px rgba(250,204,21,0.25) !important;
  z-index: 99 !important;
}


/* ===== RTF GLOBAL FAM: POSTER/SNAPSHOT LARGE SIZE ===== */
#rtfglobal .rfg-row1 {
  grid-template-columns: 1fr 1fr !important;
  align-items: stretch !important;
  gap: 1.25rem !important;
}

#rtfglobal .rfg-row1 .rfg-cell,
#rtfglobal .rfg-cell-snapshot {
  width: 100% !important;
  min-height: 620px !important;
  max-height: none !important;
  height: auto !important;
  aspect-ratio: auto !important;
  overflow: hidden !important;
}

#rtfglobal .rfg-row1 .rfg-cell img,
#rtfglobal .rfg-cell-snapshot img {
  width: 100% !important;
  height: 620px !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: #020617 !important;
  padding: 8px !important;
  box-sizing: border-box !important;
}

@media (max-width: 900px) {
  #rtfglobal .rfg-row1 {
    grid-template-columns: 1fr !important;
  }

  #rtfglobal .rfg-row1 .rfg-cell,
  #rtfglobal .rfg-cell-snapshot {
    min-height: 430px !important;
  }

  #rtfglobal .rfg-row1 .rfg-cell img,
  #rtfglobal .rfg-cell-snapshot img {
    height: 430px !important;
  }
}

@media (max-width: 560px) {
  #rtfglobal .rfg-row1 .rfg-cell,
  #rtfglobal .rfg-cell-snapshot {
    min-height: 360px !important;
  }

  #rtfglobal .rfg-row1 .rfg-cell img,
  #rtfglobal .rfg-cell-snapshot img {
    height: 360px !important;
  }
}

/* ===== FINAL SAFETY FIXES ===== */
.rfg-lightbox * {
  box-sizing: border-box !important;
}

.rfg-lightbox.open {
  opacity: 1 !important;
  visibility: visible !important;
}

body.rfg-lightbox-open {
  overflow: hidden !important;
}

/* =========================================================
   FINAL LIVE FIX - RTF GLOBAL FAM + FOOTER + MOBILE
   Add/keep this at the bottom. It overrides older conflicts.
   ========================================================= */

/* Prevent overflow everywhere */
* {
  box-sizing: border-box;
}

img,
video {
  max-width: 100%;
}

/* Registration button used after removing button-inside-anchor issue */
.registration-btn {
  background: linear-gradient(90deg, #facc15, #f97316) !important;
  color: #020617 !important;
  font-weight: 800 !important;
  font-size: 1rem !important;
  padding: 14px 36px !important;
  border-radius: 999px !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 0 8px 24px rgba(250,204,21,0.35) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  white-space: nowrap !important;
}

.registration-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 30px rgba(250,204,21,0.45) !important;
}

/* ===== RTF GLOBAL FAM SECTION ===== */
#rtfglobal.page-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%) !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  padding: 75px 0 45px !important;
  width: 100% !important;
  overflow: hidden !important;
}

#rtfglobal.page-section.active {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.rtfglobal-inner {
  width: 100% !important;
  max-width: 1320px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
  box-sizing: border-box !important;
}

.rtf-header-wrapper {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  gap: 16px !important;
  padding: 28px !important;
  margin-bottom: 28px !important;
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(253,224,71,0.22) !important;
  border-radius: 22px !important;
}

.rtf-logo {
  width: 180px !important;
  height: 180px !important;
  background: #ffffff !important;
  border-radius: 22px !important;
  padding: 10px !important;
  border: 2px solid #facc15 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}

.rtf-logo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block !important;
}

.rtf-title {
  font-size: 2.2rem !important;
  line-height: 1.15 !important;
  font-weight: 800 !important;
  color: #fde047 !important;
  margin: 0 !important;
}

.rtf-subtitle {
  color: #cbd5e1 !important;
  font-size: 1.05rem !important;
  line-height: 1.6 !important;
  margin: 8px 0 0 !important;
}

/* Row 1 = 2 cards */
#rtfglobal .rfg-row1 {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 24px !important;
  margin-bottom: 24px !important;
  align-items: stretch !important;
}

/* Row 2 = 4 cards */
#rtfglobal .rfg-row2,
#rtfglobal .rfg-row2-four {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 20px !important;
  margin-bottom: 24px !important;
  align-items: stretch !important;
}

/* Row 3 = 1 centered card */
#rtfglobal .rfg-row3 {
  display: flex !important;
  justify-content: center !important;
  align-items: stretch !important;
  margin-bottom: 24px !important;
}

#rtfglobal .rfg-row3 .rfg-cell {
  width: 560px !important;
  max-width: 100% !important;
}

#rtfglobal .rfg-cell {
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(253,224,71,0.25) !important;
  border-radius: 22px !important;
  padding: 14px !important;
  text-align: center !important;
  overflow: hidden !important;
  cursor: zoom-in !important;
  height: 100% !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

#rtfglobal .rfg-cell:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 18px 45px rgba(250,204,21,0.18) !important;
}

#rtfglobal .rfg-cell img {
  width: 100% !important;
  height: 330px !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: #020617 !important;
  border-radius: 16px !important;
  padding: 8px !important;
  display: block !important;
}

/* First row poster and snapshot larger */
#rtfglobal .rfg-row1 .rfg-cell,
#rtfglobal .rfg-cell-snapshot {
  min-height: 620px !important;
}

#rtfglobal .rfg-row1 .rfg-cell img,
#rtfglobal .rfg-cell-snapshot img {
  height: 620px !important;
}

#rtfglobal .rfg-cell-label {
  color: #fde047 !important;
  font-weight: 800 !important;
  margin-top: 12px !important;
  font-size: 0.95rem !important;
  line-height: 1.4 !important;
}

/* ===== RTF GLOBAL LIGHTBOX ===== */
.rfg-lightbox {
  position: fixed !important;
  inset: 0 !important;
  z-index: 999999 !important;
  background: rgba(2, 6, 23, 0.96) !important;
  display: none !important;
  align-items: flex-start !important;
  justify-content: center !important;
  padding: 70px 24px 60px !important;
  overflow: auto !important;
  box-sizing: border-box !important;
}

.rfg-lightbox.open {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
}

#rfgLightboxImg,
.rfg-lightbox img {
  max-width: 94vw !important;
  max-height: 86vh !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  background: #ffffff !important;
  border-radius: 14px !important;
  padding: 8px !important;
  cursor: zoom-in !important;
  transition: transform 0.25s ease !important;
  transform-origin: center center !important;
  box-shadow: 0 25px 80px rgba(0,0,0,0.75) !important;
  user-select: none !important;
}

#rfgLightboxImg.zoomed {
  max-width: none !important;
  max-height: none !important;
  cursor: zoom-out !important;
}

.rfg-lightbox-close {
  position: fixed !important;
  top: 22px !important;
  right: 28px !important;
  z-index: 1000000 !important;
  width: 50px !important;
  height: 50px !important;
  border-radius: 50% !important;
  border: 1px solid #facc15 !important;
  background: rgba(15, 23, 42, 0.92) !important;
  color: #facc15 !important;
  font-size: 28px !important;
  line-height: 46px !important;
  text-align: center !important;
  cursor: pointer !important;
}

.rfg-lightbox-close:hover {
  background: #facc15 !important;
  color: #0f172a !important;
}

.rfg-lightbox-help {
  position: fixed !important;
  left: 50% !important;
  bottom: 18px !important;
  transform: translateX(-50%) !important;
  z-index: 1000000 !important;
  color: #fde68a !important;
  background: rgba(15,23,42,0.82) !important;
  border: 1px solid rgba(250,204,21,0.35) !important;
  border-radius: 999px !important;
  padding: 8px 16px !important;
  font-size: 13px !important;
  white-space: nowrap !important;
  pointer-events: none !important;
}

body.rfg-lightbox-open {
  overflow: hidden !important;
}

/* ===== FOOTER FINAL FIX ===== */
.site-footer {
  clear: both !important;
  display: block !important;
  width: 100% !important;
  position: relative !important;
  margin-top: 0 !important;
  background: linear-gradient(135deg, #020617 0%, #0f172a 45%, #111827 100%) !important;
  color: #d1d5db !important;
  overflow: hidden !important;
}

.footer-bg-grid {
  position: absolute !important;
  inset: 0 !important;
  background-image:
    linear-gradient(rgba(250,204,21,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(250,204,21,0.05) 1px, transparent 1px) !important;
  background-size: 36px 36px !important;
  opacity: 0.45 !important;
  pointer-events: none !important;
}

.footer-inner {
  position: relative !important;
  z-index: 2 !important;
  max-width: 1280px !important;
  margin: 0 auto !important;
  padding: 58px 28px 28px !important;
}

.footer-top {
  display: grid !important;
  grid-template-columns: 2fr 1fr 1.4fr 1.4fr !important;
  gap: 34px !important;
  margin-bottom: 38px !important;
  align-items: start !important;
}

.footer-logo-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  margin-bottom: 18px !important;
}

.footer-logo-img {
  width: 82px !important;
  height: 82px !important;
  border-radius: 14px !important;
  object-fit: contain !important;
  border: 3px solid #facc15 !important;
  background: #ffffff !important;
  padding: 6px !important;
  flex-shrink: 0 !important;
}

.footer-brand-name,
.footer-col-title {
  color: #fde047 !important;
  font-weight: 800 !important;
  margin: 0 0 12px !important;
}

.footer-brand-name {
  font-size: 1.35rem !important;
  line-height: 1.2 !important;
}

.footer-brand-sub {
  color: #94a3b8 !important;
  margin: 4px 0 0 !important;
  font-size: 0.92rem !important;
}

.footer-tagline {
  color: #cbd5e1 !important;
  line-height: 1.7 !important;
  margin: 0 0 18px !important;
}

.footer-link-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer-link-list li {
  margin-bottom: 10px !important;
}

.footer-link,
.footer-contact-list a,
.footer-bottom a,
.social-pill {
  color: #e5e7eb !important;
  text-decoration: none !important;
  transition: color 0.2s ease, background 0.2s ease !important;
}

.footer-link:hover,
.footer-contact-list a:hover,
.footer-bottom a:hover,
.social-pill:hover {
  color: #fde047 !important;
}

.footer-contact-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  word-break: break-word !important;
}

.fc-item {
  display: flex !important;
  gap: 10px !important;
  line-height: 1.6 !important;
  align-items: flex-start !important;
}

.fc-icon {
  flex: 0 0 auto !important;
}

.footer-socials {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-top: 18px !important;
}

.social-pill,
.footer-register-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 10px 16px !important;
  border-radius: 999px !important;
  background: rgba(250,204,21,0.12) !important;
  border: 1px solid rgba(250,204,21,0.35) !important;
  color: #fde047 !important;
  font-weight: 700 !important;
  cursor: pointer !important;
}

.footer-register-btn {
  margin-top: 18px !important;
  width: 100% !important;
}

.footer-register-btn:hover {
  background: rgba(250,204,21,0.22) !important;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12) !important;
  padding-top: 20px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
  color: #94a3b8 !important;
  font-size: 0.92rem !important;
}

.footer-bottom p {
  margin: 0 !important;
}

.footer-legal-links {
  display: flex !important;
  gap: 8px !important;
  align-items: center !important;
  flex-wrap: wrap !important;
}

/* ===== FINAL RESPONSIVE FIXES ===== */
@media (max-width: 1100px) {
  #rtfglobal .rfg-row2,
  #rtfglobal .rfg-row2-four {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 900px) {
  .fam-two-col {
    grid-template-columns: 1fr !important;
  }

  #rtfglobal.page-section {
    padding-top: 55px !important;
  }

  #rtfglobal .rfg-row1,
  #rtfglobal .rfg-row2,
  #rtfglobal .rfg-row2-four {
    grid-template-columns: 1fr !important;
  }

  #rtfglobal .rfg-row3 {
    display: block !important;
  }

  #rtfglobal .rfg-row3 .rfg-cell {
    width: 100% !important;
  }

  #rtfglobal .rfg-row1 .rfg-cell,
  #rtfglobal .rfg-cell-snapshot {
    min-height: auto !important;
  }

  #rtfglobal .rfg-row1 .rfg-cell img,
  #rtfglobal .rfg-cell-snapshot img,
  #rtfglobal .rfg-cell img {
    height: auto !important;
    max-height: 520px !important;
  }

  .footer-top {
    grid-template-columns: 1fr !important;
  }

  .footer-logo-wrap {
    align-items: flex-start !important;
  }
}

@media (max-width: 768px) {
  .registration-btn {
    padding: 11px 18px !important;
    font-size: 0.86rem !important;
  }

  .rtfglobal-inner {
    padding: 0 16px !important;
  }

  .rtf-header-wrapper {
    padding: 22px 16px !important;
  }

  .rfg-lightbox {
    padding: 68px 10px 58px !important;
  }

  #rfgLightboxImg,
  .rfg-lightbox img {
    max-width: 96vw !important;
    max-height: 82vh !important;
  }

  .rfg-lightbox-help {
    font-size: 11px !important;
    padding: 7px 12px !important;
  }
}

@media (max-width: 560px) {
  #home img[alt="Event Logo"] {
    width: 190px !important;
    height: 190px !important;
  }

  .rtf-logo {
    width: 130px !important;
    height: 130px !important;
  }

  .rtf-title {
    font-size: 1.45rem !important;
  }

  .rtf-subtitle {
    font-size: 0.9rem !important;
  }

  #rtfglobal .rfg-cell {
    padding: 10px !important;
  }

  #rtfglobal .rfg-cell img {
    max-height: 430px !important;
  }

  .footer-inner {
    padding: 42px 18px 24px !important;
  }

  .footer-logo-wrap {
    flex-direction: column !important;
    text-align: center !important;
    align-items: center !important;
  }

  .footer-brand-col,
  .footer-links-col,
  .footer-contact-col {
    text-align: center !important;
  }

  .fc-item {
    justify-content: center !important;
    text-align: left !important;
  }

  .footer-socials {
    justify-content: center !important;
  }

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

  .footer-legal-links {
    justify-content: center !important;
  }
}
