/* =========================================================
   ICIURP 2027 — Site theme (post-nav redesign)
   Ink / orange / gold / teal system. Replaces flat green
   theme and the legacy shop-template debris (cart-banner,
   price-box, blank placeholder image sections) with content
   that doesn't depend on missing photography.
   ========================================================= */

:root {
  --ink: #14162e;
  --ink-2: #1f2247;
  --ink-3: #2a2d57;
  --orange: #e25a26;
  --orange-dark: #c94916;
  --gold: #ffb238;
  --teal: #17b2a0;
  --paper: #f6f7fb;
  --ink-tint: #eef0fa;
}

/* ---------- Page canvas ---------- */
body { background: var(--paper); }

/* ---------- Buttons: more lift, still same classes used site-wide ---------- */
a.boxed-btn, a.bordered-btn, a.cart-btn {
  box-shadow: 0 10px 24px rgba(226, 90, 38, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
  font-weight: 600;
}
a.boxed-btn:hover, a.bordered-btn:hover, a.cart-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(20, 22, 46, 0.22);
}
a.bordered-btn { border-color: var(--orange); color: #fff; }
a.bordered-btn:hover { background-color: var(--orange); border-color: var(--orange); color: #fff; }

/* ---------- Breadcrumb banner: gradient instead of flat overlay ---------- */
.breadcrumb-section:after {
  background: linear-gradient(120deg, var(--ink) 0%, var(--ink-2) 60%, var(--ink-3) 100%);
  opacity: 0.92;
}
.breadcrumb-text p { letter-spacing: 6px; }

/* ---------- Hero: richer gradient over the campus photo ---------- */
.single-homepage-slider:after {
  background: linear-gradient(115deg, rgba(20,22,46,0.93) 10%, rgba(31,34,71,0.82) 55%, rgba(226,90,38,0.35) 130%);
  opacity: 1;
}
.hero-text-tablecell .subtitle {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(226, 90, 38, 0.16);
  border: 1px solid rgba(226, 90, 38, 0.4);
  letter-spacing: 4px !important;
}

/* ---------- Stat cards (Event Overview / Contact / Venue) ---------- */
.list-section {
  background: transparent;
  position: relative;
  z-index: 3;
  margin-top: -70px;
  padding-top: 0 !important;
  padding-bottom: 40px !important;
}

.list-box {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 20px 40px rgba(20, 22, 46, 0.12);
  height: 100%;
}

.list-box .list-icon i {
  background: var(--ink);
  color: #fff;
  border-radius: 14px;
  width: 60px;
  height: 60px;
  line-height: 60px;
  font-size: 22px;
}

.col-lg-4:nth-child(1) .list-box .list-icon i { background: var(--orange); }
.col-lg-4:nth-child(2) .list-box .list-icon i { background: var(--teal); }
.col-lg-4:nth-child(3) .list-box .list-icon i { background: var(--ink); }

.list-box .content h3 {
  font-weight: 700;
  color: var(--ink);
}

/* ---------- Welcome / About section ---------- */
.about-section {
  padding: 90px 0 70px;
  background: #fff;
}

.about-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--ink-tint);
  color: var(--ink);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.about-section h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
}

.about-section h2 span { color: var(--orange); }

.about-copy {
  max-width: 900px;
  margin: 28px auto 0;
  color: #4c4f63;
  font-size: 16px;
  line-height: 1.9;
  text-align: left;
}

.about-copy p { margin-bottom: 18px; }

.stat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 900px;
  margin: 40px auto 0;
}

.stat-strip .stat {
  flex: 1 1 160px;
  background: var(--paper);
  border-radius: 14px;
  padding: 20px 18px;
  text-align: center;
  border: 1px solid var(--ink-tint);
}

.stat-strip .stat .num {
  display: block;
  font-size: 30px;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-strip .stat .label {
  font-size: 13px;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* ---------- Call for Papers / countdown band ---------- */
.cfp-section {
  background: linear-gradient(120deg, var(--ink) 0%, var(--ink-2) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cfp-section::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226,90,38,0.35), transparent 70%);
}

.cfp-section::after {
  content: "";
  position: absolute;
  bottom: -140px;
  left: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(23,178,160,0.25), transparent 70%);
}

.cfp-eyebrow {
  color: var(--orange);
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 13px;
}

.cfp-section h3 {
  color: #fff;
  font-size: 34px;
  font-weight: 800;
  margin-top: 10px;
}

.cfp-section h3 span { color: var(--orange); }

.cfp-deadline-label {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  margin-top: 18px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.cfp-section .time-countdown .counter-column {
  border: none;
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 12px 18px 16px;
  margin: 0 8px 8px 0;
  color: rgba(255,255,255,0.75);
}

.cfp-section .time-countdown .counter-column .count {
  color: var(--gold);
}

.cfp-badge {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 2px dashed rgba(226,90,38,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  font-weight: 800;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.3;
}

.cfp-badge strong { display: block; font-size: 20px; color: var(--orange); }

/* ---------- Themes grid (replaces blank video placeholder) ---------- */
.themes-section {
  padding: 90px 0;
  background: var(--paper);
}

.themes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.theme-card {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: 0 10px 24px rgba(20, 22, 46, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.theme-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(20, 22, 46, 0.12);
}

.theme-card .num {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  font-size: 16px;
}

.theme-card:nth-child(8n+1) .num { background: var(--orange); }
.theme-card:nth-child(8n+2) .num { background: var(--teal); }
.theme-card:nth-child(8n+3) .num { background: var(--ink); }
.theme-card:nth-child(8n+4) .num { background: var(--gold); }
.theme-card:nth-child(8n+5) .num { background: var(--ink-2); }
.theme-card:nth-child(8n+6) .num { background: var(--orange-dark); }
.theme-card:nth-child(8n+7) .num { background: var(--teal); }
.theme-card:nth-child(8n+8) .num { background: var(--ink); }

.theme-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.theme-card p { font-size: 13.5px; color: #6b6e85; line-height: 1.6; }

@media (max-width: 767.98px) {
  .themes-grid { grid-template-columns: 1fr; }
}

/* ---------- Footer polish ---------- */
.footer-area {
  position: relative;
  padding-top: 90px;
}
.footer-area::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--gold), var(--teal));
}

/* ---------- Bootstrap "success" (green) overrides used on committee tables ---------- */
.table-success, .table-success > th, .table-success > td {
  background-color: var(--ink-tint) !important;
  border-color: #dfe2f2 !important;
}
.table-striped > tbody > tr:nth-of-type(odd) > * {
  --bs-table-accent-bg: transparent;
  background-color: #fbfbfe;
}
.bg-success { background-color: var(--ink) !important; }
.text-success { color: var(--orange) !important; }
.btn-success {
  background-color: var(--orange) !important;
  border-color: var(--orange) !important;
}
.btn-success:hover {
  background-color: var(--orange-dark) !important;
  border-color: var(--orange-dark) !important;
}

/* ---------- Generic inner-page section (replaces the blank-image shop-banner bg) ---------- */
.shop-banner {
  background-image: none;
  background-color: var(--paper);
  padding: 70px 0 90px;
}

.content-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(20, 22, 46, 0.07);
  padding: 44px 48px;
}

@media (max-width: 767.98px) {
  .content-card { padding: 30px 24px; }
}

.content-card > h4:first-child,
.section-heading {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
}

.content-card > h4:first-child::before,
.section-heading::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--orange);
  display: inline-block;
}

.content-card hr {
  border: none;
  height: 3px;
  width: 56px;
  background: linear-gradient(90deg, var(--orange), var(--gold));
  border-radius: 3px;
  margin: 14px 0 26px;
}

.content-card p, .content-card li { color: #4c4f63; line-height: 1.85; }

.lede {
  font-size: 17px;
  color: #363850 !important;
  border-left: 3px solid var(--orange);
  padding-left: 20px;
  margin-bottom: 30px !important;
}

/* Bootstrap .card polish (registration/payment pages already use it) */
.card {
  border: none !important;
  border-radius: 16px !important;
  box-shadow: 0 16px 40px rgba(20, 22, 46, 0.07);
  overflow: hidden;
  margin-bottom: 24px;
}

.card-header {
  background: var(--ink) !important;
  color: #fff;
  border: none !important;
  padding: 22px 30px !important;
}

.card-header h4 { color: #fff; margin: 0; font-weight: 700; }
.card-header hr { border-color: rgba(255,255,255,0.15); opacity: 1; margin: 12px 0 0; }

.card-body { padding: 30px !important; }
.card-body h4 { color: var(--ink); font-weight: 700; }
.card-body ol li, .card-body ul li { color: #4c4f63; line-height: 1.9; margin-bottom: 6px; }
.card-body a { color: var(--orange-dark); font-weight: 600; }

.btn-info {
  background: var(--orange) !important;
  border-color: var(--orange) !important;
  border-radius: 999px !important;
  padding: 12px 28px !important;
  font-weight: 700 !important;
  box-shadow: 0 10px 24px rgba(226,90,38,0.28);
}
.btn-info:hover { background: var(--orange-dark) !important; border-color: var(--orange-dark) !important; }

/* Payment table */
.table-dark {
  --bs-table-bg: #fff;
  --bs-table-striped-bg: var(--ink-tint);
  --bs-table-color: var(--ink);
  --bs-table-striped-color: var(--ink);
  border-radius: 12px;
  overflow: hidden;
}
.table-dark thead tr { background: var(--ink) !important; --bs-table-color: #fff; }
.table-dark thead th { border: none !important; color: #fff !important; padding: 16px !important; }
.table-dark tbody tr { background: #fff !important; color: var(--ink) !important; }
.table-dark tbody tr:nth-of-type(odd) { background: var(--ink-tint) !important; }
.table-dark tbody td { padding: 14px 16px !important; border-color: #e2e5f2 !important; color: var(--ink) !important; background: transparent !important; }

/* ---------- Member / committee cards ---------- */
.member-section { margin-bottom: 34px; }
.member-section:last-child { margin-bottom: 0; }

.member-section .cat-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--orange-dark);
  margin-bottom: 14px;
}

.member-section .cat-label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (max-width: 767.98px) {
  .member-grid { grid-template-columns: 1fr; }
}

.member-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--paper);
  border-radius: 12px;
  padding: 16px 18px;
  border: 1px solid var(--ink-tint);
}

.member-card .avatar {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
  background: var(--ink);
}

.member-card .name { font-weight: 700; color: var(--ink); display: block; font-size: 14.5px; }
.member-card .role { color: #6b6e85; font-size: 13px; }

/* ---------- TBA panel ---------- */
.tba-panel {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(20, 22, 46, 0.07);
  padding: 60px 40px;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.tba-panel .tba-icon {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--gold));
}

.tba-panel h4 { font-size: 22px; font-weight: 800; color: var(--ink); margin-bottom: 12px; }
.tba-panel p { color: #6b6e85; line-height: 1.8; margin-bottom: 22px; }

.tba-panel .contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  border: 2px solid var(--orange);
  color: var(--orange-dark);
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease;
}
.tba-panel .contact-link:hover { background: var(--orange); color: #fff; }

/* ---------- Resource / download cards ---------- */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 30px;
}

@media (max-width: 767.98px) {
  .resource-grid { grid-template-columns: 1fr; }
}

.resource-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--paper);
  border: 1px solid var(--ink-tint);
  border-radius: 14px;
  padding: 20px;
}

.resource-card .ico {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--ink);
  font-size: 18px;
}

.resource-card h5 { margin: 0 0 4px; font-weight: 700; color: var(--ink); font-size: 15px; }
.resource-card .status {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--orange-dark);
  background: #fdf1ea;
  padding: 3px 10px;
  border-radius: 999px;
}

/* ---------- Timeline (deadlines) ---------- */
.timeline { position: relative; padding-left: 36px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--ink-tint);
}

.timeline-item { position: relative; padding-bottom: 26px; }
.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: "";
  position: absolute;
  left: -36px;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--orange);
}

.timeline-item.is-highlight::before { border-color: var(--teal); background: var(--teal); }

.timeline-item .t-cat { font-weight: 700; color: var(--ink); display: block; }
.timeline-item .t-date { color: var(--orange-dark); font-weight: 700; font-size: 15px; }
.timeline-item.is-highlight .t-date { color: var(--teal); }

/* ---------- Process steps (registration guidelines) ---------- */
.process-steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.process-steps li {
  counter-increment: step;
  position: relative;
  padding: 4px 0 22px 46px;
  color: #4c4f63 !important;
}
.process-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.process-steps li:nth-child(odd)::before { background: var(--orange); }

/* ---------- Contact cards ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 767.98px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-card {
  background: var(--paper);
  border-radius: 16px;
  padding: 28px 22px;
  text-align: center;
  border: 1px solid var(--ink-tint);
}
.contact-card .ico {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
}
.contact-card:nth-child(1) .ico { background: var(--orange); }
.contact-card:nth-child(2) .ico { background: var(--teal); }
.contact-card:nth-child(3) .ico { background: var(--ink); }
.contact-card h5 { font-weight: 700; color: var(--ink); font-size: 15px; margin-bottom: 8px; }
.contact-card p { color: #6b6e85; font-size: 14px; margin: 0; }
.contact-card a { color: inherit; }

/* ---------- Preloader (new design) ---------- */
.loader {
  background: var(--ink);
}

.loader-mark-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.loader-mark-glow {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226,90,38,0.4), rgba(255,178,56,0.14) 55%, transparent 75%);
  top: 36px;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: loaderPulse 2.4s ease-in-out infinite;
  filter: blur(2px);
}

.loader-badge {
  position: relative;
  width: 76px;
  height: 76px;
  border-radius: 20px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.32), 0 0 0 5px rgba(255, 255, 255, 0.05);
  animation: loaderBreathe 2.4s ease-in-out infinite;
}

.loader-logo {
  position: relative;
  width: 40px;
  height: auto;
  display: block;
}

.loader-label {
  margin: 20px 0 0;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 4.5px;
  text-transform: uppercase;
  opacity: 0.82;
}

.loader-label span { color: var(--gold); }

.loader-bar {
  position: relative;
  width: 150px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255,255,255,0.1);
  overflow: hidden;
  margin-top: 16px;
}

.loader-bar span {
  position: absolute;
  top: 0; left: -45%;
  width: 45%;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--orange), var(--gold), transparent);
  animation: loaderSweep 1.6s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

@keyframes loaderPulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.94); }
  50% { opacity: 0.9; transform: translate(-50%, -50%) scale(1.06); }
}

@keyframes loaderBreathe {
  0%, 100% { transform: scale(1); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.32), 0 0 0 5px rgba(255, 255, 255, 0.05); }
  50% { transform: scale(1.025); box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34), 0 0 0 7px rgba(255, 255, 255, 0.07); }
}

@keyframes loaderSweep {
  0% { left: -45%; }
  100% { left: 100%; }
}
