/* ============================================================
   ECCE 2027 - Complete Professional Redesign
   International Conference on Electrical, Computer and
   Communication Engineering
   ============================================================ */

/* ── CSS Variables ── */
:root {
  --primary:       #0d1b2a;
  --primary-light: #1a3354;
  --accent:        #c8880a;
  --accent-light:  #e8a500;
  --blue:          #1565c0;
  --blue-light:    #1e88e5;
  --white:         #ffffff;
  --gray-50:       #f8f9fa;
  --gray-100:      #f1f3f5;
  --gray-200:      #e9ecef;
  --gray-400:      #adb5bd;
  --gray-600:      #6c757d;
  --gray-800:      #343a40;
  --text-dark:     #1a1a2e;
  --text-body:     #374151;
  --shadow-sm:     0 2px 8px rgba(0,0,0,.08);
  --shadow-md:     0 4px 20px rgba(0,0,0,.12);
  --shadow-lg:     0 8px 40px rgba(0,0,0,.18);
  --radius:        8px;
  --radius-lg:     16px;
  --transition:    all .3s ease;
}

/* ── Reset / Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--white);
  overflow-x: hidden;
}

a { text-decoration: none; transition: var(--transition); }
a:hover { text-decoration: none; }

img { max-width: 100%; height: auto; }

h1,h2,h3,h4,h5,h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
}

ul { list-style: none; padding: 0; margin: 0; }

/* ── Preloader ── */
#preloader {
  position: fixed; inset: 0;
  background: var(--primary);
  z-index: 99999;
  display: flex; align-items: center; justify-content: center;
}
#preloader .loader-ring {
  width: 60px; height: 60px;
  border: 4px solid rgba(255,255,255,.2);
  border-top-color: var(--accent-light);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ================================================================
   TOP INFO BAR
================================================================ */
.ecce-topbar {
  background: var(--primary);
  color: rgba(255,255,255,.8);
  font-size: 12.5px;
  padding: 7px 0;
  border-bottom: 2px solid var(--accent);
}
.ecce-topbar .topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 6px;
}
.ecce-topbar .tb-left { display: flex; align-items: center; gap: 20px; }
.ecce-topbar .tb-right { display: flex; align-items: center; gap: 16px; }
.ecce-topbar span { display: flex; align-items: center; gap: 6px; }
.ecce-topbar i { color: var(--accent-light); }
.ecce-topbar a { color: rgba(255,255,255,.8); }
.ecce-topbar a:hover { color: var(--accent-light); }

/* ================================================================
   NAVBAR
================================================================ */
.ecce-navbar {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}
.ecce-navbar.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,.14);
}
.ecce-navbar .navbar-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 0 15px;
  height: 72px;
}
.ecce-navbar .nav-logo a {
  display: flex; align-items: center; gap: 10px;
}
.ecce-navbar .nav-logo img {
  height: 48px; width: auto;
}
.ecce-navbar .nav-logo .logo-text { display: none; }

/* Nav Menu */
.ecce-nav-menu { display: flex; align-items: center; gap: 4px; }
.ecce-nav-menu > li { position: relative; }

.ecce-nav-menu > li > a {
  display: flex; align-items: center; gap: 5px;
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--primary);
  border-radius: var(--radius);
  white-space: nowrap;
  font-family: 'Poppins', sans-serif;
  letter-spacing: .3px;
}
.ecce-nav-menu > li > a:hover,
.ecce-nav-menu > li.active > a {
  color: var(--blue);
  background: rgba(21, 101, 192, .07);
}
.ecce-nav-menu > li > a .nav-arrow {
  font-size: 10px;
  margin-top: 1px;
  transition: transform .25s;
}
.ecce-nav-menu > li:hover > a .nav-arrow { transform: rotate(180deg); }

/* Dropdown */
.ecce-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border-top: 3px solid var(--accent);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 999;
}
.ecce-nav-menu > li:hover .ecce-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.ecce-dropdown li a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 18px;
  font-size: 13px;
  color: var(--text-body);
  font-weight: 500;
  border-bottom: 1px solid var(--gray-100);
  transition: var(--transition);
}
.ecce-dropdown li:last-child a { border-bottom: none; }
.ecce-dropdown li a:hover {
  color: var(--blue);
  background: var(--gray-50);
  padding-left: 24px;
}
.ecce-dropdown li a i { color: var(--accent); font-size: 13px; }

/* Nav Auth */
.nav-auth { display: flex; align-items: center; gap: 10px; margin-left: 10px; }
.nav-auth a.btn-signin {
  padding: 7px 18px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
}
.nav-auth a.btn-signin:hover { background: var(--primary); color: var(--white); }
.nav-auth a.btn-signout {
  padding: 7px 18px;
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
}
.nav-auth a.btn-signout:hover { background: var(--primary); color: var(--white); }

/* Hamburger */
.nav-toggle { display: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 5px; }
.nav-toggle span {
  display: block; width: 26px; height: 2.5px;
  background: var(--primary); border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ================================================================
   PAGE HERO BANNER (Homepage)
================================================================ */
.ecce-hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, #1565c0 100%);
  min-height: 88vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.ecce-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url('../img/hero-bg.jpg') center/cover no-repeat;
  opacity: .12;
}
.ecce-hero .hero-pattern {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(200,136,10,.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(30,136,229,.2) 0%, transparent 50%);
}
.ecce-hero .hero-content {
  position: relative; z-index: 2;
  color: var(--white);
  text-align: center;
  padding: 80px 0;
}
.ecce-hero .hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(200,136,10,.25);
  border: 1px solid rgba(200,136,10,.5);
  color: var(--accent-light);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.ecce-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 12px;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.ecce-hero h1 span { color: var(--accent-light); }
.ecce-hero .hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255,255,255,.88);
  max-width: 720px;
  margin: 0 auto 10px;
  line-height: 1.6;
}
.ecce-hero .hero-meta {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 20px;
  margin: 18px 0 28px;
}
.ecce-hero .hero-meta-item {
  display: flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,.85);
  font-size: 14px;
  font-weight: 500;
}
.ecce-hero .hero-meta-item i { color: var(--accent-light); font-size: 16px; }
.ecce-hero .hero-divider { width: 60px; height: 3px; background: var(--accent-light); margin: 0 auto 28px; border-radius: 2px; }
.ecce-hero .hero-btns { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px; }

.btn-hero-primary {
  padding: 13px 32px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  letter-spacing: .5px;
  box-shadow: 0 4px 20px rgba(200,136,10,.4);
  display: inline-flex; align-items: center; gap: 8px;
  transition: var(--transition);
}
.btn-hero-primary:hover {
  background: var(--accent-light); color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(200,136,10,.5);
}
.btn-hero-secondary {
  padding: 12px 32px;
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.6);
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  display: inline-flex; align-items: center; gap: 8px;
  transition: var(--transition);
}
.btn-hero-secondary:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
}

/* Hero Logos Row */
.hero-logos {
  display: flex; align-items: center; justify-content: center;
  gap: 28px; flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.hero-logos img { height: 44px; width: auto; filter: brightness(0) invert(1); opacity: .8; }
.hero-logos span { color: rgba(255,255,255,.4); font-size: 22px; }

/* ================================================================
   COUNTDOWN TIMER
================================================================ */
.ecce-countdown-wrap {
  background: rgba(0,0,0,.25);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  padding: 22px 32px;
  display: inline-block;
  margin-top: 28px;
}
.ecce-countdown-wrap .cd-label {
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,.65); margin-bottom: 14px; text-align: center;
}
.ecce-countdown { display: flex; align-items: center; gap: 16px; }
.cd-block { text-align: center; min-width: 70px; }
.cd-block .cd-num {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
  color: var(--white);
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.cd-block .cd-unit {
  display: block;
  font-size: 10px;
  color: var(--accent-light);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 4px;
}
.cd-sep { font-size: 2rem; color: rgba(255,255,255,.4); font-weight: 300; margin-top: -8px; }

/* ================================================================
   HIGHLIGHTS STRIP
================================================================ */
.ecce-highlights {
  background: var(--primary);
  padding: 0;
}
.ecce-highlights .highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.hl-item {
  display: flex; align-items: center; gap: 16px;
  padding: 24px 28px;
  border-right: 1px solid rgba(255,255,255,.1);
  transition: var(--transition);
}
.hl-item:last-child { border-right: none; }
.hl-item:hover { background: rgba(255,255,255,.05); }
.hl-item .hl-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: rgba(200,136,10,.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  color: var(--accent-light);
}
.hl-item .hl-text h5 {
  color: var(--white); font-size: 14px; margin-bottom: 2px;
}
.hl-item .hl-text p {
  color: rgba(255,255,255,.6); font-size: 12.5px; margin: 0;
}

/* ================================================================
   SECTIONS - Common
================================================================ */
section, .ecce-section { padding: 80px 0; }
.section-sm { padding: 50px 0; }
.section-lg { padding: 100px 0; }

.section-header { text-align: center; margin-bottom: 50px; }
.section-header .section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--text-dark);
  margin-bottom: 16px;
}
.section-header .section-line {
  width: 50px; height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--blue));
  border-radius: 2px;
  margin: 0 auto 18px;
}
.section-header p { color: var(--gray-600); max-width: 600px; margin: 0 auto; }

/* ================================================================
   WELCOME SECTION
================================================================ */
.ecce-welcome { background: var(--white); }
.welcome-card {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border: 1px solid var(--gray-200);
  border-left: 5px solid var(--blue);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  position: relative;
  overflow: hidden;
}
.welcome-card::before {
  content: '"';
  position: absolute;
  top: -20px; right: 30px;
  font-size: 150px;
  color: rgba(21,101,192,.06);
  font-family: Georgia, serif;
  line-height: 1;
}
.welcome-card p {
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--text-body);
  text-align: justify;
  margin-bottom: 16px;
}
.welcome-card p:last-child { margin-bottom: 0; }
.welcome-card .ieee-note {
  background: rgba(21,101,192,.08);
  border-radius: var(--radius);
  padding: 12px 20px;
  display: flex; align-items: flex-start; gap: 12px;
  margin-top: 20px;
  font-size: 13.5px;
  color: var(--blue);
  font-weight: 500;
}
.welcome-card .ieee-note i { font-size: 18px; flex-shrink: 0; margin-top: 2px; }

/* ================================================================
   CALL FOR PAPERS SECTION
================================================================ */
.ecce-cfp { background: var(--gray-50); }
.cfp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.cfp-image-wrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.cfp-image-wrap img { width: 100%; height: 400px; object-fit: cover; }
.cfp-image-wrap .cfp-badge {
  position: absolute; bottom: 20px; left: 20px;
  background: var(--primary);
  color: var(--white);
  padding: 10px 20px;
  border-radius: var(--radius);
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
}
.cfp-badge span { color: var(--accent-light); font-size: 1.4em; display: block; line-height: 1.1; }
.cfp-content h2 { font-size: 2rem; margin-bottom: 20px; }
.cfp-content h2 em { color: var(--blue); font-style: normal; }
.cfp-content p { color: var(--gray-600); margin-bottom: 24px; line-height: 1.8; }
.cfp-content .deadline-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(200,136,10,.1);
  border: 1px solid rgba(200,136,10,.3);
  color: var(--accent);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 24px;
}
.cfp-content .cfp-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-primary-solid {
  padding: 11px 26px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50px;
  font-weight: 600;
  font-size: 13.5px;
  font-family: 'Poppins', sans-serif;
  display: inline-flex; align-items: center; gap: 8px;
  transition: var(--transition);
}
.btn-primary-solid:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline-dark {
  padding: 10px 26px;
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 50px;
  font-weight: 600;
  font-size: 13.5px;
  font-family: 'Poppins', sans-serif;
  display: inline-flex; align-items: center; gap: 8px;
  transition: var(--transition);
}
.btn-outline-dark:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); }
.btn-accent {
  padding: 11px 26px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50px;
  font-weight: 600;
  font-size: 13.5px;
  font-family: 'Poppins', sans-serif;
  display: inline-flex; align-items: center; gap: 8px;
  transition: var(--transition);
}
.btn-accent:hover { background: var(--accent-light); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ================================================================
   CONFERENCE TRACKS
================================================================ */
.ecce-tracks { background: var(--white); }
.track-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.track-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--accent));
}
.track-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(21,101,192,.2);
}
.track-card .track-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--blue), var(--primary-light));
  color: var(--white);
  border-radius: 50%;
  font-size: 13px; font-weight: 700;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 14px;
}
.track-card h5 { font-size: 14.5px; color: var(--text-dark); margin-bottom: 14px; }
.track-card ul li {
  font-size: 13px;
  color: var(--gray-600);
  padding: 4px 0;
  border-bottom: 1px solid var(--gray-100);
  display: flex; align-items: flex-start; gap: 8px;
}
.track-card ul li:last-child { border-bottom: none; }
.track-card ul li::before { content: '+'; color: var(--accent); font-weight: 700; flex-shrink: 0; }

/* ================================================================
   SPEAKERS / KEYNOTES
================================================================ */
.ecce-speakers { background: var(--gray-50); }
.speaker-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}
.speaker-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.speaker-card .speaker-img {
  width: 100%; height: 280px;
  object-fit: cover; object-position: top;
}
.speaker-card .speaker-body { padding: 20px; }
.speaker-card .speaker-tag {
  display: inline-block;
  font-size: 11px; letter-spacing: 1px; text-transform: uppercase;
  font-weight: 700; color: var(--accent);
  margin-bottom: 6px;
}
.speaker-card h5 { font-size: 15px; color: var(--text-dark); margin-bottom: 6px; }
.speaker-card .speaker-affil { font-size: 12.5px; color: var(--gray-600); margin-bottom: 14px; }
.speaker-card .btn-speaker {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600;
  color: var(--blue);
  padding: 6px 14px;
  border: 1.5px solid var(--blue);
  border-radius: 50px;
  transition: var(--transition);
}
.speaker-card .btn-speaker:hover { background: var(--blue); color: var(--white); }

/* Speaker Tabs */
.speaker-tabs { margin-bottom: 36px; }
.speaker-tabs .tab-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.tab-btn {
  padding: 9px 24px;
  border-radius: 50px;
  font-size: 13px; font-weight: 600;
  font-family: 'Poppins', sans-serif;
  cursor: pointer; border: none;
  background: var(--gray-100); color: var(--gray-600);
  transition: var(--transition);
}
.tab-btn.active { background: var(--blue); color: var(--white); }
.tab-content-ecce { display: none; }
.tab-content-ecce.active { display: block; animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ================================================================
   IMPORTANT DATES
================================================================ */
.ecce-dates { background: var(--primary); position: relative; overflow: hidden; }
.ecce-dates::before {
  content: '';
  position: absolute; inset: 0;
  background: url('../img/hero-bg.jpg') center/cover no-repeat;
  opacity: .05;
}
.ecce-dates .section-header h2,
.ecce-dates .section-header .section-eyebrow { color: var(--white) !important; }
.ecce-dates .section-header p { color: rgba(255,255,255,.65) !important; }
.ecce-dates .section-header .section-line { background: linear-gradient(90deg, var(--accent-light), rgba(255,255,255,.3)); }

.dates-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 20px; position: relative; z-index: 1; }
.date-card {
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  transition: var(--transition);
}
.date-card:hover { background: rgba(255,255,255,.12); transform: translateY(-4px); }
.date-card.featured { border-color: var(--accent-light); }
.date-card .dc-icon {
  width: 44px; height: 44px;
  background: rgba(200,136,10,.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--accent-light);
  margin-bottom: 14px;
}
.date-card.featured .dc-icon { background: var(--accent); }
.date-card h6 { color: rgba(255,255,255,.7); font-size: 11.5px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 6px; font-weight: 600; }
.date-card .dc-date { color: var(--white); font-size: 1.05rem; font-weight: 700; font-family: 'Poppins', sans-serif; }
.date-card.featured .dc-date { color: var(--accent-light); }
.date-card .dc-countdown { margin-top: 12px; display: flex; gap: 10px; }
.dc-c-block { text-align: center; }
.dc-c-block .dc-num { display: block; font-size: 1.4rem; font-weight: 800; color: var(--white); font-family: 'Poppins', sans-serif; }
.dc-c-block .dc-unit { display: block; font-size: 9px; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: 1px; }
.dc-sep-mini { color: rgba(255,255,255,.3); margin-top: 6px; }

/* ================================================================
   COMMITTEE SECTION (Homepage preview)
================================================================ */
.ecce-committee { background: var(--gray-50); }
.committee-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.comm-tab-btn {
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 13px; font-weight: 600;
  cursor: pointer; border: 1.5px solid var(--gray-200);
  background: var(--white); color: var(--gray-600);
  transition: var(--transition); font-family: 'Poppins', sans-serif;
}
.comm-tab-btn.active { background: var(--primary); color: var(--white); border-color: var(--primary); }
.committee-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.committee-table th {
  background: var(--primary);
  color: var(--white);
  padding: 14px 18px;
  font-size: 13px; font-weight: 600;
  letter-spacing: .5px;
  text-align: left;
}
.committee-table th:first-child { border-radius: var(--radius) 0 0 0; }
.committee-table th:last-child { border-radius: 0 var(--radius) 0 0; }
.committee-table td {
  padding: 12px 18px;
  font-size: 13.5px;
  color: var(--text-body);
  border-bottom: 1px solid var(--gray-100);
  vertical-align: top;
}
.committee-table tr:last-child td { border-bottom: none; }
.committee-table tr:nth-child(even) td { background: var(--gray-50); }
.committee-table tr:hover td { background: rgba(21,101,192,.04); }
.committee-table td strong { color: var(--primary); }

/* ================================================================
   PAGE BANNER (Inner Pages)
================================================================ */
.ecce-page-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 60%, var(--blue) 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.ecce-page-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: url('../img/hero-bg.jpg') center/cover no-repeat;
  opacity: .08;
}
.ecce-page-banner::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--blue));
}
.ecce-page-banner .pb-inner { position: relative; z-index: 1; text-align: center; }
.ecce-page-banner .pb-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; letter-spacing: 2px; text-transform: uppercase;
  font-weight: 600; color: var(--accent-light);
  margin-bottom: 10px;
}
.ecce-page-banner h1 {
  color: var(--white);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  margin: 0;
}
.ecce-page-banner .pb-breadcrumb {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 14px;
  font-size: 13px; color: rgba(255,255,255,.6);
}
.ecce-page-banner .pb-breadcrumb a { color: var(--accent-light); }
.ecce-page-banner .pb-breadcrumb i { font-size: 10px; }

/* ================================================================
   INNER PAGE CONTENT
================================================================ */
.ecce-content-section { padding: 70px 0; }
.content-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.content-card .cc-header {
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  color: var(--white);
  padding: 18px 28px;
  display: flex; align-items: center; gap: 12px;
}
.content-card .cc-header i { font-size: 20px; color: var(--accent-light); }
.content-card .cc-header h4 { color: var(--white); margin: 0; font-size: 15px; }
.content-card .cc-body { padding: 28px; }

/* Info block */
.ecce-info-block {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px;
  background: var(--gray-50);
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.ecce-info-block .ib-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue), var(--primary-light));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--white);
}
.ecce-info-block .ib-text h6 { font-size: 13px; color: var(--gray-600); margin-bottom: 2px; }
.ecce-info-block .ib-text p { font-size: 14.5px; color: var(--text-dark); font-weight: 600; margin: 0; }

/* Alert / Notice */
.ecce-alert {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 18px 22px;
  border-radius: var(--radius);
  margin-bottom: 20px;
}
.ecce-alert-info { background: rgba(21,101,192,.08); border-left: 4px solid var(--blue); color: var(--blue); }
.ecce-alert-warning { background: rgba(200,136,10,.1); border-left: 4px solid var(--accent); color: #7a5000; }
.ecce-alert i { margin-top: 2px; flex-shrink: 0; }

/* Timeline (Dates) */
.ecce-timeline { position: relative; padding-left: 32px; }
.ecce-timeline::before {
  content: '';
  position: absolute; left: 10px; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(to bottom, var(--blue), var(--accent));
  border-radius: 1px;
}
.tl-item {
  position: relative;
  margin-bottom: 28px;
}
.tl-item::before {
  content: '';
  position: absolute; left: -26px; top: 6px;
  width: 14px; height: 14px;
  background: var(--blue);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--blue);
}
.tl-item.featured::before { background: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.tl-item .tl-date {
  font-size: 11px; letter-spacing: 1px; text-transform: uppercase;
  font-weight: 700; color: var(--accent); margin-bottom: 4px;
}
.tl-item .tl-title {
  font-size: 14.5px; font-weight: 600; color: var(--text-dark); margin-bottom: 2px;
}
.tl-item .tl-desc { font-size: 13px; color: var(--gray-600); }

/* Dates Table */
.dates-table { width: 100%; border-collapse: collapse; }
.dates-table th {
  background: var(--primary); color: var(--white);
  padding: 14px 18px; font-size: 13.5px; font-weight: 600;
  text-align: left;
}
.dates-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--gray-100);
  font-size: 14px; color: var(--text-body);
  vertical-align: middle;
}
.dates-table tr:hover td { background: var(--gray-50); }
.dates-table .deadline-row td { font-weight: 600; color: var(--primary); }
.dates-table .cd-mini { display: flex; gap: 8px; }
.dates-table .cd-mini .cdm-block { text-align: center; }
.dates-table .cd-mini .cdm-num { display: block; font-size: 1.1rem; font-weight: 800; color: var(--blue); font-family: 'Poppins', sans-serif; }
.dates-table .cd-mini .cdm-unit { display: block; font-size: 9px; color: var(--gray-400); text-transform: uppercase; }
.dates-table .cdm-sep { color: var(--gray-400); margin-top: 4px; }
.dates-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 11.5px;
  font-weight: 600;
}
.dates-badge.active { background: rgba(21,101,192,.1); color: var(--blue); }

/* ================================================================
   SUBMISSION / PROCEEDINGS
================================================================ */
.submission-step {
  display: flex; align-items: flex-start; gap: 20px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
  transition: var(--transition);
}
.submission-step:hover { box-shadow: var(--shadow-md); border-color: rgba(21,101,192,.2); }
.submission-step .step-num {
  width: 44px; height: 44px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue), var(--primary));
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 800;
  font-family: 'Poppins', sans-serif;
}
.submission-step .step-body h5 { font-size: 15px; margin-bottom: 6px; }
.submission-step .step-body p { font-size: 13.5px; color: var(--gray-600); margin: 0; }

/* ================================================================
   REGISTRATION
================================================================ */
.reg-fee-table { width: 100%; border-collapse: collapse; }
.reg-fee-table th {
  background: var(--primary); color: var(--white);
  padding: 12px 16px; font-size: 13px; font-weight: 600;
}
.reg-fee-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-100);
  font-size: 13.5px;
}
.reg-fee-table tr:nth-child(even) td { background: var(--gray-50); }
.reg-fee-table .fee-amount { font-weight: 700; color: var(--blue); }

/* Dashboard form styling overrides */
.ecce-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  margin-bottom: 28px;
}
.ecce-form-card .fc-head {
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  padding: 18px 24px;
  color: var(--white);
}
.ecce-form-card .fc-head h4 { color: var(--white); margin: 0; font-size: 15.5px; }
.ecce-form-card .fc-body { padding: 28px; }
.form-label { font-weight: 600; font-size: 13px; color: var(--text-dark); margin-bottom: 6px; }
.form-control {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 13.5px;
  transition: var(--transition);
}
.form-control:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21,101,192,.12); outline: none; }

/* ================================================================
   CONTACT PAGE
================================================================ */
.contact-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  height: 100%;
}
.contact-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.contact-card .cc-avatar {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--blue));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: var(--white);
  margin-bottom: 20px;
}
.contact-card .cc-role {
  font-size: 12px; letter-spacing: 1px; text-transform: uppercase;
  font-weight: 700; color: var(--accent);
  margin-bottom: 6px;
}
.contact-card h5 { font-size: 16px; color: var(--text-dark); margin-bottom: 4px; }
.contact-card .cc-title { font-size: 13px; color: var(--gray-600); margin-bottom: 16px; }
.contact-card hr { border-color: var(--gray-100); margin: 16px 0; }
.contact-card .cc-detail {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 10px;
  font-size: 13.5px; color: var(--text-body);
}
.contact-card .cc-detail i { color: var(--blue); font-size: 14px; margin-top: 2px; flex-shrink: 0; }
.contact-card .cc-detail a { color: var(--blue); }

/* ================================================================
   VENUE PAGE
================================================================ */
.venue-map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 380px;
}
.venue-map-wrap iframe { width: 100%; height: 100%; border: none; }
.venue-feature {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
}
.venue-feature:last-child { border-bottom: none; }
.venue-feature .vf-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(21,101,192,.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--blue);
}
.venue-feature .vf-text h6 { font-size: 13px; color: var(--gray-600); margin-bottom: 1px; }
.venue-feature .vf-text p { font-size: 14px; font-weight: 600; color: var(--text-dark); margin: 0; }

/* ================================================================
   OTHERS / MISC PAGE
================================================================ */
.misc-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
  transition: var(--transition);
}
.misc-card:hover { box-shadow: var(--shadow-md); }
.misc-card h5 { font-size: 15px; color: var(--primary); margin-bottom: 10px; }
.misc-card p { font-size: 13.5px; color: var(--text-body); margin: 0; }

/* ================================================================
   AUTH PAGES (Login/Register)
================================================================ */
.auth-wrapper {
  min-height: 80vh;
  display: flex; align-items: center; justify-content: center;
  padding: 60px 0;
  background: var(--gray-50);
}
.auth-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 44px 40px;
  max-width: 460px; width: 100%;
}
.auth-card .auth-logo { text-align: center; margin-bottom: 28px; }
.auth-card .auth-logo img { height: 50px; }
.auth-card h3 { text-align: center; font-size: 1.4rem; margin-bottom: 6px; }
.auth-card .auth-sub { text-align: center; color: var(--gray-600); font-size: 13px; margin-bottom: 28px; }
.btn-auth-submit {
  width: 100%;
  padding: 13px;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 14px; font-weight: 600;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: var(--transition);
}
.btn-auth-submit:hover { background: var(--primary); }

/* ================================================================
   FOOTER
================================================================ */
.ecce-footer {
  background: var(--primary);
  padding: 60px 0 0;
  position: relative;
}
.ecce-footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--blue), var(--accent));
}
.footer-brand .footer-logo { height: 48px; width: auto; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer-brand p { color: rgba(255,255,255,.65); font-size: 13.5px; line-height: 1.8; margin-bottom: 20px; text-align: justify; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7); font-size: 14px;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--accent); color: var(--white); transform: translateY(-3px); }

.footer-col h5 {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}
.footer-links { }
.footer-links li { margin-bottom: 10px; }
.footer-links li a {
  color: rgba(255,255,255,.65);
  font-size: 13.5px;
  display: flex; align-items: center; gap: 8px;
  transition: var(--transition);
}
.footer-links li a::before { content: '›'; color: var(--accent-light); font-size: 16px; }
.footer-links li a:hover { color: var(--accent-light); padding-left: 4px; }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 14px;
  color: rgba(255,255,255,.65); font-size: 13.5px;
}
.footer-contact-item i { color: var(--accent-light); font-size: 15px; margin-top: 2px; flex-shrink: 0; }
.footer-contact-item a { color: rgba(255,255,255,.65); }
.footer-contact-item a:hover { color: var(--accent-light); }

.ecce-footer-bottom {
  background: rgba(0,0,0,.2);
  margin-top: 50px;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-bottom-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
}
.footer-bottom-inner p { color: rgba(255,255,255,.5); font-size: 12.5px; margin: 0; }
.footer-bottom-inner a { color: rgba(255,255,255,.6); }
.footer-bottom-inner a:hover { color: var(--accent-light); }

/* ================================================================
   SEARCH OVERLAY
================================================================ */
.ecce-search-overlay {
  position: fixed; inset: 0;
  background: rgba(10,20,40,.92);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: var(--transition);
}
.ecce-search-overlay.active { opacity: 1; visibility: visible; }
.ecce-search-box { width: 100%; max-width: 600px; padding: 0 20px; }
.ecce-search-box input {
  width: 100%;
  padding: 18px 24px;
  font-size: 1.2rem;
  background: rgba(255,255,255,.1);
  border: 2px solid rgba(255,255,255,.3);
  border-radius: var(--radius-lg);
  color: var(--white);
  outline: none;
}
.ecce-search-box input::placeholder { color: rgba(255,255,255,.5); }
.ecce-search-box .search-close {
  position: absolute; top: 30px; right: 30px;
  color: rgba(255,255,255,.7); font-size: 24px;
  cursor: pointer; transition: var(--transition);
}
.ecce-search-close:hover { color: var(--white); transform: rotate(90deg); }

/* ================================================================
   MOBILE MENU
================================================================ */
.mobile-nav-overlay {
  position: fixed; inset: 0;
  background: rgba(10,20,40,.6);
  z-index: 1099;
  opacity: 0; visibility: hidden;
  transition: var(--transition);
}
.mobile-nav-overlay.active { opacity: 1; visibility: visible; }
.mobile-nav-panel {
  position: fixed; top: 0; left: -320px;
  width: 300px; height: 100vh;
  background: var(--primary);
  z-index: 1100;
  overflow-y: auto;
  transition: left .35s ease;
  display: flex; flex-direction: column;
}
.mobile-nav-panel.open { left: 0; }
.mobile-nav-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.mobile-nav-head img { height: 40px; filter: brightness(0) invert(1); }
.mobile-nav-close {
  color: rgba(255,255,255,.7); font-size: 20px; cursor: pointer;
}
.mobile-nav-menu { padding: 10px 0; flex: 1; }
.mobile-nav-menu > li { border-bottom: 1px solid rgba(255,255,255,.06); }
.mobile-nav-menu > li > a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
  color: rgba(255,255,255,.85); font-size: 14px; font-weight: 600;
  font-family: 'Poppins', sans-serif;
}
.mobile-nav-menu > li > a:hover, .mobile-nav-menu > li.active > a { color: var(--accent-light); }
.mobile-sub-menu { background: rgba(0,0,0,.2); display: none; }
.mobile-sub-menu li a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 20px 11px 36px;
  color: rgba(255,255,255,.65); font-size: 13px;
}
.mobile-sub-menu li a::before { content: '–'; color: var(--accent-light); }
.mobile-sub-menu li a:hover { color: var(--accent-light); }
.mobile-sub-menu.show { display: block; }

/* ================================================================
   UTILITIES
================================================================ */
.text-accent { color: var(--accent) !important; }
.text-blue { color: var(--blue) !important; }
.bg-primary-ecce { background: var(--primary) !important; }
.bg-accent { background: var(--accent) !important; }

/* MS CMT Notice */
.cmt-notice {
  background: linear-gradient(135deg, #f8f9fa, #e9f3ff);
  border: 1px solid rgba(21,101,192,.2);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: flex; align-items: flex-start; gap: 16px;
  margin-top: 24px;
}
.cmt-notice .cn-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: var(--blue);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--white);
}
.cmt-notice p { font-size: 14px; color: var(--text-body); margin: 0; line-height: 1.7; }

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 1199px) {
  .ecce-nav-menu > li > a { padding: 8px 10px; font-size: 13px; }
}
@media (max-width: 991px) {
  .ecce-topbar .tb-left { display: none; }
  .ecce-nav-menu { display: none; }
  .nav-toggle { display: flex; }
  .cfp-split { grid-template-columns: 1fr; }
  .ecce-highlights .highlight-grid { grid-template-columns: 1fr; }
  .hl-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .hl-item:last-child { border-bottom: none; }
  .nav-auth { display: none; }
}
@media (max-width: 767px) {
  .ecce-hero { min-height: 70vh; }
  .ecce-hero h1 { font-size: 1.8rem; }
  .ecce-countdown { flex-wrap: wrap; justify-content: center; }
  .cd-sep { display: none; }
  .welcome-card { padding: 24px; }
  section, .ecce-section { padding: 55px 0; }
  .ecce-page-banner { padding: 44px 0; }
}
@media (max-width: 480px) {
  .ecce-hero .hero-btns { flex-direction: column; align-items: center; }
  .ecce-topbar { display: none; }
  .auth-card { padding: 28px 20px; }
}
