/* ==========================================
   MEDISPHERE 2026 CUSTOM THEME STYLESHEET
   A Premium, Medical-themed visual overhaul
   ========================================== */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --text-main: #0f172a;
  --text-muted: #475569;
  
  --primary-gradient: linear-gradient(135deg, #0284c7 0%, #0f766e 100%);
  --secondary-gradient: linear-gradient(135deg, #1d4ed8 0%, #4338ca 100%);
  --accent-gradient: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  --gold-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  
  --cyan: #0284c7;
  --teal: #0f766e;
  --rose: #e11d48;
  --gold: #d97706;
}

/* Global Styles */
body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  color: var(--text-main);
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--cyan);
}

/* Custom Navigation overrides */
header.header-area {
  background: #ffffff !important;
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-color);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.main-header {
  background: transparent !important;
  padding: 5px 0;
}

.main-menu nav ul li a {
  color: var(--text-main) !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 15px 15px !important;
  transition: color 0.3s ease;
}

.main-menu nav ul li a:hover {
  color: var(--cyan) !important;
}

.btn.header-btn {
  background: var(--primary-gradient);
  border: none;
  color: #ffffff !important;
  font-weight: 700;
  border-radius: 50px;
  padding: 12px 28px;
  box-shadow: 0 4px 15px rgba(13, 148, 136, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn.header-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.6);
}

/* Hero Section Styles */
.medisphere-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 140px;
  padding-bottom: 80px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.medisphere-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.7) 0%, rgba(248, 250, 252, 0.95) 80%);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.hero-logos-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 12px 30px;
  border-radius: 50px;
  margin-bottom: 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.hero-logos-container img {
  height: 48px;
  max-width: 120px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

.hero-title-badge {
  display: inline-block;
  background: rgba(6, 182, 212, 0.1);
  color: var(--cyan);
  border: 1px solid rgba(6, 182, 212, 0.2);
  padding: 6px 18px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.medisphere-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.25;
  background: linear-gradient(135deg, #0f172a 30%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 15px;
}

.hero-meta-subtitle {
  font-size: 20px;
  font-weight: 500;
  color: var(--teal);
  margin-bottom: 25px;
}

.hero-event-details {
  font-size: 16px;
  color: var(--text-muted);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-event-details span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-event-details i {
  color: var(--cyan);
}

.hero-btn-custom {
  display: inline-block;
  padding: 15px 35px;
  font-weight: 700;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.hero-btn-primary {
  background: var(--primary-gradient);
  color: white !important;
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.4);
}

.hero-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(6, 182, 212, 0.6);
}

.hero-btn-secondary {
  background: #ffffff;
  color: var(--text-main) !important;
  border: 1px solid var(--border-color);
  margin-left: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.hero-btn-secondary:hover {
  background: #f1f5f9;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

/* Sections Global */
section.section-spad {
  padding: 100px 0;
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
}

section.section-spad.alt-bg {
  background-color: var(--bg-primary);
}

.section-head {
  text-align: center;
  margin-bottom: 60px;
}

.section-head h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-head h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--primary-gradient);
  border-radius: 2px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
}

/* Institution Cards */
.inst-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.inst-card:hover {
  transform: translateY(-8px);
  border-color: rgba(6, 182, 212, 0.3);
  box-shadow: 0 15px 35px rgba(6, 182, 212, 0.15);
}

.inst-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.inst-info {
  padding: 25px;
}

.inst-info h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}

.inst-info p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Glassmorphism General Cards */
.med-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

/* Conference Tracks & Themes styling */
.track-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 30px;
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.track-card:hover {
  transform: translateY(-6px);
  border-color: rgba(20, 184, 166, 0.3);
  box-shadow: 0 12px 35px rgba(20, 184, 166, 0.12);
}

.track-head {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.track-icon {
  width: 50px;
  height: 50px;
  background: rgba(20, 184, 166, 0.1);
  color: var(--teal);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.track-card h4 {
  font-size: 18px;
  margin-bottom: 0;
}

.track-card ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.track-card ul li {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 8px;
  padding-left: 15px;
  position: relative;
}

.track-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  background: var(--teal);
  border-radius: 50%;
}

/* Modern Speakers Section Styles */
.speaker-card-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.speaker-card-container:hover {
  transform: translateY(-8px);
  border-color: rgba(6, 182, 212, 0.3);
  box-shadow: 0 15px 35px rgba(6, 182, 212, 0.15);
}

.speaker-avatar-wrap {
  position: relative;
  height: 260px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.speaker-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Styled Placeholder when image is missing/empty */
.speaker-placeholder {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, #f1f5f9, #e2e8f0);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.speaker-placeholder-icon {
  font-size: 55px;
  color: rgba(6, 182, 212, 0.3);
  margin-bottom: 12px;
  animation: pulse-light 3s infinite;
}

.speaker-placeholder-text {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.2);
}

@keyframes pulse-light {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 1; }
}

.speaker-badge-overlay {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--primary-gradient);
  color: white;
  padding: 4px 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(6,182,212,0.3);
}

.speaker-info-block {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.speaker-name-deg {
  margin-bottom: 15px;
}

.speaker-name-deg h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.speaker-name-deg .degrees {
  font-size: 12px;
  color: var(--cyan);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.speaker-divider-line {
  width: 40px;
  height: 3px;
  background: var(--cyan);
  margin-bottom: 15px;
  border-radius: 20px;
}

.speaker-role-label {
  font-size: 12px;
  color: var(--teal);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.speaker-card-affiliation {
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.5;
  margin-bottom: 0;
}

/* Committee Overrides */
.committee-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 45px;
}

.committee-title-highlight {
  font-size: 15px;
  color: var(--cyan);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(6,182,212,0.15);
  padding-bottom: 8px;
}

.committee-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
}

.committee-list li {
  margin-bottom: 14px;
  line-height: 1.5;
}

.committee-list li strong {
  color: var(--text-main);
}

.committee-list li span {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
}

.committee-col-divider {
  border-right: 1px solid var(--border-color);
}

@media (max-width: 767px) {
  .committee-col-divider {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 30px;
    padding-bottom: 10px;
  }
}

/* Table Style Overrides */
.table-responsive-custom {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.med-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  color: var(--text-main);
  margin-bottom: 0;
}

.med-table th {
  background: #f1f5f9;
  color: var(--cyan);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  padding: 18px;
  font-size: 15px;
  border-bottom: 2px solid var(--border-color);
}

.med-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
  vertical-align: middle;
}

.med-table tbody tr:hover {
  background: rgba(255,255,255,0.02);
}

/* Payment Section Grid Details */
.payment-info-box {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 30px;
  height: 100%;
}

.payment-detail-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  border-bottom: 1px dashed rgba(255,255,255,0.06);
  padding-bottom: 8px;
}

.payment-detail-row:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.payment-detail-row strong {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 13.5px;
}

.payment-detail-row span {
  color: var(--text-main);
  font-weight: 600;
  font-size: 14.5px;
}

/* Important Dates Timeline Cards */
.timeline-date-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-top: 4px solid var(--cyan);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
}

.timeline-date-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(6,182,212,0.15);
}

.timeline-date-icon {
  font-size: 28px;
  color: var(--cyan);
  margin-bottom: 15px;
}

.timeline-date-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.timeline-date-card .date-val {
  font-size: 24px;
  font-weight: 800;
  color: var(--rose);
  margin-bottom: 5px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.timeline-date-card .date-note {
  font-size: 12px;
  color: var(--text-muted);
}

/* Research Awards Styles */
.award-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 35px;
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  position: relative;
  overflow: hidden;
}

.award-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold-gradient);
}

.award-box:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.3);
  box-shadow: 0 12px 35px rgba(245, 158, 11, 0.12);
}

.award-box h3 {
  font-size: 20px;
  color: var(--text-main);
  margin-bottom: 15px;
  font-weight: 700;
}

.award-price-badge {
  display: inline-block;
  background: rgba(245, 158, 11, 0.1);
  color: var(--gold);
  border: 1px solid rgba(245, 158, 11, 0.2);
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 22px;
  font-weight: 800;
  font-family: 'Plus Jakarta Sans', sans-serif;
  margin-bottom: 20px;
}

.award-box ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.award-box ul li {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
  text-align: left;
}

.award-box ul li i {
  position: absolute;
  left: 0;
  top: 4px;
  color: var(--gold);
  font-size: 12px;
}

/* Site Footer Overrides */
.site-footer {
  background: var(--bg-secondary) !important;
  color: var(--text-main) !important;
  border-top: 1px solid var(--border-color);
  padding: 60px 0 25px !important;
}

.footer-widget-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 22px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.footer-links-list li {
  margin-bottom: 12px;
}

.footer-links-list li a {
  color: var(--text-muted) !important;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 14.5px;
}

.footer-links-list li a:hover {
  color: var(--cyan) !important;
}

/* Contact widgets in footer */
.footer-contact-item {
  margin-bottom: 15px;
}

.footer-contact-item p.label {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 3px;
  letter-spacing: 0.5px;
}

.footer-contact-item p.val {
  font-size: 14.5px;
  color: var(--text-main);
  margin-bottom: 0;
  font-weight: 600;
}

.footer-copyright-row {
  border-top: 1px solid var(--border-color);
  margin-top: 40px;
  padding-top: 25px;
  text-align: center;
}

.footer-copyright-row p {
  color: var(--text-muted) !important;
  font-size: 13.5px;
  margin-bottom: 0;
}

/* Back top button override */
#back-top a {
  background: var(--primary-gradient) !important;
  color: #ffffff !important;
  border-radius: 50% !important;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.4);
}
