/* ================================================
   MRCN 2026 — Conference Website
   Ditto Real JUIT Color Scheme (#1ea8f0 & #0685c8 & #2d326c)
   Enhanced Text Readability & High Contrast
   ================================================ */

:root {
  --juit-blue:       #1ea8f0; /* Sky blue background from real_juit */
  --juit-blue-dk:    #0685c8; /* Navy blue brand color from real_juit */
  --juit-blue-navy:  #2d326c; /* Ditto deep navy text color from real_juit for header/nav */
  --juit-blue-lt:    #45bbf5; /* Lighter sky blue accent */
  --accent:          #c25e00; /* Rich amber/gold with high contrast */
  --accent-lt:       #f5a623;
  --text:            #1e293b; /* Dark slate text for maximum readability */
  --text-muted:      #475569; /* Slate gray muted text */
  --bg:              #f3f6fa;
  --white:           #ffffff;
  --border:          #dce6f2;
  --nav-hover:       #0685c8;
  --row-alt:         #f0f7fe;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a { color: var(--juit-blue-dk); text-decoration: none; }
a:hover { color: #0284c7; text-decoration: underline; }

/* ---- CONTAINER & FLEX UTILITIES ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  position: relative;
}

.flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

/* ---- REAL JUIT HEADER TOP ---- */
.header_top {
  background: #1ea8f0;
  width: 100%;
  padding: 2px 0;
  color: #2d326c;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.header_top .h-l > ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header_top .h-l > ul > li {
  position: relative;
  padding: 8px 10px;
}

.header_top .h-l > ul > li > a {
  color: #2d326c; /* Ditto real JUIT navy blue text for high contrast on sky blue */
  font-weight: 700;
  font-size: 13.5px;
  white-space: nowrap;
  display: block;
}

.header_top .h-l > ul > li > a:hover {
  color: #ffffff;
  text-decoration: none;
}

.header_top .h-l > ul > li:hover > ul {
  display: block;
}

.header_top .h-l li ul {
  position: absolute;
  display: none;
  background: #1ea8f0;
  top: 100%;
  left: 0;
  z-index: 999;
  width: 220px;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 0 0 4px 4px;
  padding: 4px 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.header_top .h-l li ul li {
  list-style: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding: 7px 12px;
  font-size: 12.5px;
}

.header_top .h-l li ul li:last-child {
  border-bottom: 0;
}

.header_top .h-l li ul li a {
  color: #2d326c; /* Ditto real JUIT navy blue dropdown link */
  font-weight: 700;
  display: block;
}

.header_top .h-l li ul li a:hover {
  color: #ffffff;
  text-decoration: none;
}

.header_top .h-r {
  padding-top: 5px;
}

.header_top .h-r ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.header_top .h-r ul li a img {
  height: 25px;
  border-radius: 3px;
  vertical-align: middle;
  transition: transform 0.2s;
}

.header_top .h-r ul li a img:hover {
  transform: scale(1.08);
}

/* ---- REAL JUIT MAIN LOGO HEADER ---- */
.header {
  background: #ffffff;
  padding: 16px 0;
  border-bottom: 1px solid #e2e8f0;
}

.header-main-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.header .logo {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo-icon {
  height: 115px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
}

.logo-text-img {
  height: 92px;
  width: auto;
  max-width: 540px;
  object-fit: contain;
}

.hlogo-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.accreditation-img {
  width: 125px;
  height: auto;
  object-fit: contain;
}

.naac-img {
  width: 140px;
}

.imis-img {
  margin-top: 10px;
}

/* ---- MRCN 2026 CONFERENCE TITLE BANNER STRIP ---- */
.mrcn-title-strip {
  background: #1ea8f0;
  color: #ffffff;
  padding: 16px 0;
  border-top: 1px solid #ffffff;
}

.mrcn-title-inner {
  text-align: center;
}

.mrcn-title-inner h1 {
  font-size: 31px;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1.3;
  margin-bottom: 8px;
  color: #2d326c; /* Deep navy text on sky blue for high contrast & crisp readability */
}

.mrcn-title-inner .mrcn-sub {
  font-size: 15px;
  color: #ffffff; /* White subtext on sky blue */
  font-weight: 700;
  margin-bottom: 6px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

.mrcn-title-inner .mrcn-info {
  font-size: 15px;
  color: #2d326c; /* Deep navy info text for maximum contrast */
  font-weight: 800;
}

/* ---- NAV ---- */
.mrcn-nav {
  background: #1ea8f0;
  border-top: 1px solid rgba(255,255,255,0.4);
  border-bottom: 3px solid #0685c8;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
}

.mrcn-nav a {
  display: block;
  color: #2d326c; /* Deep navy link text on sky blue */
  padding: 11px 16px;
  font-size: 13.5px;
  font-weight: 700;
  transition: background 0.2s, color 0.2s;
  border-right: 1px solid rgba(255, 255, 255, 0.4);
  white-space: nowrap;
}

.mrcn-nav a:hover, .mrcn-nav a.active {
  background: #0685c8;
  color: #ffffff;
  text-decoration: none;
}

/* ---- PAGE LAYOUT ---- */
.page-wrap {
  width: 100%;
  max-width: 100%;
  margin: 28px 0;
  padding: 0 20px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

/* ---- SIDEBAR ---- */
.sidebar {
  width: 230px;
  flex-shrink: 0;
}

.sidebar-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid #1ea8f0;
  margin-bottom: 20px;
}

.sidebar-box h3 {
  background: #0685c8;
  color: var(--white);
  font-size: 12.5px;
  font-weight: 700;
  padding: 9px 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
}

.sidebar-box ul {
  list-style: none;
  padding: 6px 0;
}

.sidebar-box ul li a {
  display: block;
  padding: 7px 14px;
  font-size: 13px;
  color: #1e293b;
  border-bottom: 1px solid #f0f2f6;
  transition: background 0.15s, color 0.15s, padding-left 0.15s;
}

.sidebar-box ul li a:hover, .sidebar-box ul li a.active {
  background: var(--row-alt);
  color: #0685c8;
  text-decoration: none;
  padding-left: 18px;
}

.sidebar-box ul li a.active {
  color: #0685c8;
  font-weight: 700;
}

.date-card {
  padding: 12px;
}

.date-item {
  border-bottom: 1px solid var(--border);
  padding: 7px 0;
}
.date-item:last-child { border-bottom: none; }
.date-item .di-label {
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.date-item .di-date {
  font-size: 13px;
  color: #0685c8;
  font-weight: 700;
  margin-top: 2px;
}

/* ---- MAIN CONTENT ---- */
.main-content { flex: 1; min-width: 0; }

.content-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid #1ea8f0;
  padding: 24px 28px;
  margin-bottom: 22px;
}

.content-card h2 {
  font-size: 18px;
  color: #0685c8;
  font-weight: 700;
  padding-bottom: 10px;
  border-bottom: 2px solid #1ea8f0;
  margin-bottom: 16px;
  position: relative;
}

.content-card h3 {
  font-size: 14.5px;
  color: #0685c8;
  font-weight: 700;
  margin: 16px 0 8px;
}

.content-card p { margin-bottom: 12px; color: #1e293b; }

.content-card ul, .content-card ol {
  padding-left: 20px;
  margin-bottom: 12px;
}

.content-card li { margin-bottom: 5px; color: #1e293b; }

/* ---- HOME HERO BANNER ---- */
.hero-banner {
  background: #0685c8;
  color: var(--white);
  padding: 28px 32px;
  margin-bottom: 22px;
  border: 1px solid var(--border);
  border-left: 5px solid #1ea8f0;
}

.hero-banner h2 {
  font-size: 25px;
  font-weight: 700;
  line-height: 1.35;
  border: none;
  padding: 0;
  margin-bottom: 10px;
  color: var(--white);
}

.hero-banner .tagline {
  font-size: 14px;
  color: #ffffff;
  font-weight: 500;
  margin-bottom: 16px;
}

.hero-banner .badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.badge {
  display: inline-block;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 3px;
  letter-spacing: 0.3px;
}

.badge-accent { background: #c25e00; color: var(--white); }
.badge-outline { border: 1px solid #1ea8f0; color: #ffffff; background: #0284c7; }
.badge-springer { background: #c92a2a; color: #fff; }

/* ---- TABLES ---- */
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-bottom: 18px;
}

th {
  background: #0685c8;
  color: var(--white);
  padding: 10px 12px;
  text-align: left;
  font-weight: 600;
}

td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  color: #1e293b;
}

tr:nth-child(even) td { background: var(--row-alt); }
tr:hover td { background: #e2f0fc; }

.table-section-header td {
  background: #1ea8f0 !important;
  color: #2d326c !important;
  font-weight: 700;
  font-size: 13px;
}

/* ---- IMPORTANT DATES TABLE ---- */
.dates-table td:first-child { font-weight: 600; color: var(--text); }
.dates-table td:last-child {
  color: #0685c8;
  font-weight: 700;
  white-space: nowrap;
}

.highlight-row td { background: #fff8e1 !important; }
.highlight-row td:last-child { color: #b45309 !important; font-weight: 700; }

/* ---- COMMITTEE CARDS ---- */
.committee-section {
  margin-bottom: 20px;
}

.committee-section .role-title {
  background: #0685c8;
  color: var(--white);
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0;
}

.committee-list {
  list-style: none;
  padding: 0;
  border: 1px solid var(--border);
  border-top: none;
}

.committee-list li {
  padding: 8px 16px;
  border-bottom: 1px solid #edf0f7;
  font-size: 13.5px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #1e293b;
}

.committee-list li::before {
  content: '▸';
  color: #0685c8;
  flex-shrink: 0;
  margin-top: 1px;
}

.committee-list li:last-child { border-bottom: none; }

/* ---- REGISTRATION ---- */
.fee-note {
  background: #fff8e1;
  border-left: 4px solid #d97706;
  padding: 10px 16px;
  font-size: 13px;
  margin-bottom: 16px;
  color: #1e293b;
}

.bank-table td:first-child {
  font-weight: 600;
  color: var(--text-muted);
  width: 220px;
  white-space: nowrap;
}

.bank-table td:last-child { font-weight: 500; color: #1e293b; }

.bank-section-title {
  background: #0685c8;
  color: var(--white);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  margin: 18px 0 0;
}

/* ---- TPC TABLE ---- */
.tpc-table td:first-child {
  width: 36px;
  color: var(--text-muted);
  font-size: 12px;
  text-align: center;
}

.tpc-table td:nth-child(2) { font-weight: 600; color: #1e293b; }

/* ---- PAST CONFERENCES ---- */
.past-conf-card {
  border: 1px solid var(--border);
  border-left: 4px solid #1ea8f0;
  padding: 14px 18px;
  margin-bottom: 14px;
  background: var(--white);
}

.past-conf-card h4 {
  font-size: 14.5px;
  color: #0685c8;
  font-weight: 700;
  margin-bottom: 6px;
}

.past-conf-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.past-conf-card a {
  font-size: 12.5px;
  color: #0685c8;
  font-weight: 600;
  word-break: break-all;
}

/* ---- CONTACT ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-person {
  border: 1px solid var(--border);
  border-top: 3px solid #1ea8f0;
  padding: 16px;
  background: var(--white);
}

.contact-person h4 {
  font-size: 14.5px;
  color: #0685c8;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-person .role {
  font-size: 12px;
  color: #b45309;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.contact-person p {
  font-size: 13px;
  margin-bottom: 5px;
  color: var(--text);
}

.contact-person .label {
  font-weight: 600;
  color: var(--text-muted);
}

/* ---- TOPICS GRID ---- */
.topics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}

.topic-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px solid #edf0f7;
  color: #1e293b;
}

.topic-item::before {
  content: '✦';
  color: #0685c8;
  font-size: 10px;
  flex-shrink: 0;
  margin-top: 3px;
}

/* ---- REAL JUIT FOOTER ---- */
.footer {
  width: 100%;
  background: #ffffff;
  padding: 40px 0 30px;
  clear: both;
  border-top: 4px solid #1ea8f0;
}

.footer .f-l {
  padding-right: 20px;
  width: 23%;
}

.footer .f-l:last-child {
  padding-right: 0;
}

.footer .f-l h3 {
  font-size: 16px;
  color: #0685c8;
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 14px;
  font-weight: 700;
}

.footer .f-l h3:after {
  content: "";
  width: 42px;
  height: 3px;
  background: #1ea8f0;
  position: absolute;
  left: 0;
  bottom: 0;
}

.footer .f-l ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer .f-l li {
  font-size: 13px;
  padding: 4px 0;
  border-bottom: 1px solid #f0f4f8;
  color: #1e293b;
}

.footer .f-l li:last-child {
  border-bottom: none;
}

.footer .f-l li a {
  color: #334155;
  transition: color 0.2s;
  display: inline-block;
}

.footer .f-l li a:hover {
  color: #0685c8;
  text-decoration: underline;
}

.footer-last {
  background: #0685c8;
  color: #ffffff;
  padding: 16px 0;
  font-size: 13px;
  border-top: 2px solid #1ea8f0;
}

.footer-last p {
  font-size: 13px;
  color: #ffffff;
}

.footer-last a {
  color: #ffffff;
  text-decoration: underline;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 992px) {
  .header_top .h-l { display: none; }
  .header_top .flex { justify-content: center; }
  .header-main-flex { flex-direction: column; text-align: center; justify-content: center; gap: 16px; }
  .header .logo { flex-direction: row; justify-content: center; flex-wrap: wrap; }
  .logo-icon { height: 95px; max-width: 110px; }
  .logo-text-img { height: 72px; max-width: 90%; }
  .hlogo-right { justify-content: center; flex-wrap: wrap; }
  .accreditation-img { width: 110px; }
  .naac-img { width: 120px; }
  .footer .f-l { width: 48%; margin-bottom: 24px; }
}

@media (max-width: 800px) {
  .page-wrap { flex-direction: column; }
  .sidebar { width: 100%; }
  .contact-grid { grid-template-columns: 1fr; }
  .topics-grid { grid-template-columns: 1fr; }
  .mrcn-nav a { padding: 8px 10px; font-size: 12px; }
  .hero-banner { padding: 20px; }
  .footer .f-l { width: 100%; margin-bottom: 20px; padding-right: 0; }
}

@media (max-width: 600px) {
  .logo-icon { height: 75px; }
  .logo-text-img { height: 55px; }
  .accreditation-img { width: 95px; }
  .naac-img { width: 105px; }
}
