@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@500;600;700;800;900&display=swap');

:root {
  --primary-navy: #091e3a;
  --secondary-navy: #102e52;
  --royal-blue: #155dfc;
  --royal-blue-hover: #0d47d4;
  --text-dark: #1e293b;
  --text-body: #334155;
  --text-muted: #64748b;
  --bg-canvas: #f8fafc;
  --bg-card: #ffffff;
  --border-light: #e2e8f0;
  --border-subtle: #edf2f7;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
  --shadow-md: 0 4px 16px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--text-body);
  background-color: #ffffff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

p,
li,
td,
th {
  font-size: 0.9375rem;
}

strong,
b,
.font-weight-bold {
  font-weight: 600;
  color: var(--text-dark);
}

a {
  color: var(--royal-blue);
  transition: color 0.15s ease;
}

a:hover {
  color: var(--royal-blue-hover);
}

a[href^="mailto:"] {
  font-weight: 400;
  /* Reduced font weight for emails */
}

/* =========================================
   HERO HEADER
   ========================================= */
.hero-header {
  position: relative;
  background: url('../img/School of Humanities and Social Sciences.jpg') no-repeat center center;
  background-size: cover;
  color: #ffffff;
  padding: 95px 20px 85px;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(6, 18, 36, 0.38) 0%, rgba(9, 28, 56, 0.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: linear-gradient(90deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.8));
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 2.45rem;
  font-weight: 800;
  line-height: 1.28;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #ffffff 20%, #f1f5f9 60%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.2px;
  filter: drop-shadow(0 3px 12px rgba(0, 0, 0, 0.85));
}

.hero-title span {
  display: inline-block;
  color: #155dfc;
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  font-style: normal;
  font-weight: 800;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.9));
}

.hero-meta-text {
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 500;
  color: #f8fafc;
  margin-bottom: 26px;
  line-height: 1.6;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
}

/* Hero Action Buttons - Reduced Width */
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.btn-hero-register {
  background: var(--royal-blue);
  color: #ffffff !important;
  border: 1px solid #155dfc;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 4px;
  display: inline-block;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(21, 93, 252, 0.35);
  transition: all 0.2s ease-in-out;
}

.btn-hero-register:hover {
  background: var(--royal-blue-hover);
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(21, 93, 252, 0.5);
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-hero-brochure {
  background: #ffffff;
  color: var(--primary-navy) !important;
  border: 1px solid #ffffff;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 4px;
  display: inline-block;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease-in-out;
}

.btn-hero-brochure:hover {
  background: #f8fafc;
  color: var(--primary-navy) !important;
  transform: translateY(-1px);
  text-decoration: none;
}

/* =========================================
   NAVBAR
   ========================================= */
.navbar-custom {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 6px 0;
}

.navbar-custom .container,
.navbar-custom .container-fluid {
  max-width: 100% !important;
  padding-left: 20px;
  padding-right: 20px;
}

.navbar-brand {
  padding-top: 2px;
  padding-bottom: 2px;
  margin-right: 15px;
  flex-shrink: 0;
}

.navbar-brand img {
  height: 50px;
  width: auto;
}

.navbar-custom .navbar-collapse {
  flex-wrap: nowrap !important;
}

.navbar-custom .navbar-nav {
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
}

.navbar-custom .nav-item {
  white-space: nowrap !important;
  flex-shrink: 0;
}

.navbar-custom .nav-link {
  font-family: var(--font-sans);
  color: #1e293b !important;
  font-weight: 500;
  font-size: 0.83rem;
  padding: 6px 7px !important;
  white-space: nowrap !important;
  transition: color 0.15s ease;
}

.navbar-custom .nav-link:hover {
  color: var(--royal-blue) !important;
}

/* Register Button in Navbar - Reduced Width */
.nav-cta-link {
  background-color: var(--royal-blue) !important;
  color: #ffffff !important;
  font-weight: 500 !important;
  font-size: 0.80rem !important;
  padding: 5px 12px !important;
  border-radius: 4px;
  margin-left: 6px;
  display: inline-block;
  white-space: nowrap !important;
  flex-shrink: 0;
  transition: background-color 0.15s ease;
}

.nav-cta-link:hover {
  background-color: var(--royal-blue-hover) !important;
  color: #ffffff !important;
  text-decoration: none;
}

/* =========================================
   SECTION HEADINGS - NO UNDERLINES, LIGHTER WEIGHT, SMALLER SIZE
   ========================================= */
h1,
h2,
.section-heading {
  font-family: var(--font-serif);
  color: var(--primary-navy);
}

.section-heading {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: -0.2px;
  line-height: 1.25;
}

.sub-heading {
  font-family: var(--font-sans);
  color: var(--primary-navy);
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.section-py {
  padding: 55px 0;
}

.bg-neutral {
  background-color: var(--bg-canvas);
}

/* =========================================
   ACADEMIC CARD CONTAINERS
   ========================================= */
.academic-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 30px 32px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}

.academic-card p {
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 16px;
}

.academic-card p:last-child {
  margin-bottom: 0;
}

/* Concept Quote */
.concept-quote {
  border-left: 3px solid var(--primary-navy);
  background: #f8fafc;
  padding: 16px 22px;
  margin: 20px 0;
  border-radius: 0 4px 4px 0;
  font-size: 0.98rem;
  color: #334155;
}

.concept-quote p {
  margin-bottom: 6px;
}

#toggle-concept-btn {
  font-weight: 400 !important;
  /* Reduced font weight */
  color: var(--royal-blue);
  text-decoration: underline;
}

/* =========================================
   THEMES DOT POINTS LIST
   ========================================= */
.themes-dot-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.themes-dot-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 11px;
  font-size: 0.9375rem;
  color: var(--text-dark);
  line-height: 1.55;
}

.themes-dot-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--royal-blue);
}

/* =========================================
   PLAIN NORMAL TABLE DESIGN
   ========================================= */
.table-plain-wrapper {
  border: 1px solid var(--border-light);
  border-radius: 4px;
  overflow: hidden;
  background: #ffffff;
}

.table-plain {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 0;
}

.table-plain th {
  background-color: #f8fafc;
  color: var(--primary-navy);
  font-weight: 600;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
  padding: 12px 16px;
}

.table-plain th:last-child {
  border-right: none;
}

.table-plain td {
  border-bottom: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
  padding: 12px 16px;
  vertical-align: middle;
  font-size: 0.92rem;
  color: var(--text-dark);
}

.table-plain td:last-child {
  border-right: none;
}

.table-plain tbody tr:last-child td {
  border-bottom: none;
}

/* =========================================
   SUBMISSION EMAIL CARD (DARK BLUE BOX, WHITE FONT)
   ========================================= */
.email-submission-card {
  background: var(--primary-navy);
  border: 1px solid var(--primary-navy);
  border-radius: 6px;
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  color: #ffffff;
}

.email-submission-card h6 {
  color: #ffffff !important;
  font-size: 0.96rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.email-submission-card p {
  color: #e2e8f0 !important;
  font-size: 0.84rem;
  margin-bottom: 12px;
  line-height: 1.45;
}

.email-pill-box {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  padding: 8px 12px;
  gap: 10px;
}

.email-pill-box a {
  color: #ffffff !important;
  font-weight: 400;
  text-decoration: none;
  font-size: 0.90rem;
}

/* Frameless Copy Button - No Box */
.btn-copy-icon {
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  color: #64748b;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  vertical-align: middle;
  margin-left: 5px;
  width: auto;
  height: auto;
}

.btn-copy-icon:hover {
  color: var(--royal-blue);
}

.btn-copy-icon.copied {
  color: #16a34a !important;
}

.email-submission-card .btn-copy-icon {
  color: #cbd5e1;
}

.email-submission-card .btn-copy-icon:hover {
  color: #ffffff;
}

.email-submission-card .btn-copy-icon.copied {
  color: #4ade80 !important;
}

/* =========================================
   RESOURCE PERSONS GRID & CARDS (COMPACT)
   ========================================= */
.resource-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 980px;
  margin: 0 auto;
}

.resource-card {
  width: 152px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  text-align: center;
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px -4px rgba(15, 23, 42, 0.10), 0 3px 6px -2px rgba(15, 23, 42, 0.05);
  border-color: rgba(21, 93, 252, 0.35);
}

.resource-photo-box {
  width: 100%;
  height: 150px;
  background-color: #f8fafc;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--border-subtle);
}

.resource-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.resource-photo-sathyaraj {
  object-position: 18% 20% !important;
}

.resource-card:hover .resource-photo {
  transform: scale(1.06);
}

.resource-card-body {
  padding: 10px 6px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #ffffff;
}

.resource-name {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 3px;
  line-height: 1.25;
}

.resource-designation {
  font-size: 0.70rem;
  font-weight: 500;
  color: #475569;
  margin-bottom: 2px;
  line-height: 1.25;
}

.resource-affiliation {
  font-size: 0.68rem;
  color: #64748b;
  margin-bottom: 0;
  line-height: 1.3;
}

/* =========================================
   ADVISORY COMMITTEE GRID & CARDS
   ========================================= */
.advisory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.advisory-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 16px 14px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.advisory-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--royal-blue);
}

.advisory-name {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 4px;
  line-height: 1.3;
}

.advisory-title {
  font-size: 0.80rem;
  font-weight: 600;
  color: var(--royal-blue);
  margin-bottom: 4px;
}

.advisory-institute {
  font-size: 0.78rem;
  color: #475569;
  margin-bottom: 0;
  line-height: 1.4;
}

/* =========================================
   COMMITTEE PROFILE CARDS - HIGH END DESIGN
   ========================================= */
.committee-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.committee-card-narrow {
  width: 152px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.committee-card-narrow:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px -4px rgba(15, 23, 42, 0.10), 0 3px 6px -2px rgba(15, 23, 42, 0.05);
  border-color: rgba(21, 93, 252, 0.35);
}

.committee-photo-box {
  width: 100%;
  height: 150px;
  background-color: #f8fafc;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--border-subtle);
}

.committee-photo-full {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.committee-card-narrow:hover .committee-photo-full {
  transform: scale(1.06);
}

.committee-card-narrow .card-body-compact {
  padding: 10px 6px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #ffffff;
}

.committee-person-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 3px;
  line-height: 1.25;
}

.committee-person-dept {
  font-size: 0.70rem;
  font-weight: 500;
  color: #64748b;
  margin-bottom: 0;
  line-height: 1.3;
}

/* Organizing committee box */
.organizing-committee-card {
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  padding: 14px 20px;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.organizing-committee-card:hover {
  border-color: var(--royal-blue);
  background: #fafcff;
}

/* =========================================
   CLICKABLE MAP CARD & OVERLAYS
   ========================================= */
.map-clickable-wrapper {
  display: block;
  text-decoration: none !important;
  color: inherit !important;
  cursor: pointer;
  position: relative;
}

.map-container-box {
  border-radius: 10px;
  overflow: hidden;
  border: 1.5px solid var(--border-light);
  height: 250px;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.06);
  margin-bottom: 0;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  background-color: #f1f5f9;
}

.map-container-box iframe {
  pointer-events: none; /* Allows click to bubble up to wrapper anchor tag */
  width: 100%;
  height: 100%;
  border: 0;
}

.map-overlay-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.25s ease;
  z-index: 2;
}

.map-overlay-badge svg {
  color: #38bdf8;
}

.map-clickable-wrapper:hover .map-container-box {
  border-color: var(--royal-blue);
  box-shadow: 0 8px 20px rgba(21, 93, 252, 0.15);
  transform: translateY(-2px);
}

.map-clickable-wrapper:hover .map-overlay-badge {
  background: var(--royal-blue);
  color: #ffffff;
  transform: scale(1.04);
}

/* Compact Info Card */
.info-card-compact {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 12px 10px;
  text-align: center;
  height: 100%;
  box-shadow: var(--shadow-sm);
}

/* =========================================
   BUTTONS
   ========================================= */
.btn-academic-primary {
  background-color: var(--primary-navy);
  color: #ffffff !important;
  border: 1px solid var(--primary-navy);
  font-weight: 500;
  font-size: 0.85rem;
  padding: 7px 16px;
  border-radius: 4px;
  display: inline-block;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-academic-primary:hover {
  background-color: #051427;
  text-decoration: none;
}

.btn-academic-outline-dark {
  background-color: transparent;
  color: var(--primary-navy) !important;
  border: 1px solid var(--primary-navy);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 22px;
  border-radius: 4px;
  display: inline-block;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-academic-outline-dark:hover {
  background-color: var(--primary-navy);
  color: #ffffff !important;
  text-decoration: none;
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background-color: var(--primary-navy);
  color: #94a3b8;
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer p {
  color: #cbd5e1;
}

@media (max-width: 768px) {
  .hero-header {
    padding: 55px 15px 45px;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .hero-meta-text {
    font-size: 0.95rem;
  }

  .section-py {
    padding: 40px 0;
  }

  .committee-card-narrow,
  .resource-card {
    width: 138px;
  }

  .committee-photo-box,
  .resource-photo-box {
    height: 135px;
  }

  .resource-grid,
  .committee-grid {
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .committee-card-narrow,
  .resource-card {
    width: 125px;
  }

  .committee-photo-box,
  .resource-photo-box {
    height: 122px;
  }

  .committee-person-name,
  .resource-name {
    font-size: 0.78rem;
  }

  .committee-person-dept,
  .resource-designation,
  .resource-affiliation {
    font-size: 0.65rem;
  }

  .resource-grid,
  .committee-grid {
    gap: 8px;
  }
}