/* ==========================================================================
   TDR Global Research CSS Design System
   Clinical Biotech Theme - Light Mode Hardened
   ========================================================================== */

:root {
  /* Color Design Tokens */
  --bg: #F3F6FB;             /* Near-white with clinical blue cast */
  --surface: #FFFFFF;        /* Solid clinical white */
  --ink: #111E2E;            /* Deep navy slate for high-contrast legibility */
  --primary: #0A2540;        /* Strong, confident laboratory navy */
  --primary-light: #E2ECF5;  /* Light sky-blue background accent */
  --accent: #0D9488;         /* Muted clinical teal (WCAG AA compliant focus/headers) */
  
  /* System Shadow & Border Values */
  --border: rgba(148, 163, 184, 0.25);
  --shadow-glass: 0 8px 24px rgba(15, 32, 66, 0.08);
  --shadow-card-hover: 0 12px 32px rgba(15, 32, 66, 0.15);
  
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-sm: 6px;
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 75px;
}

/* ==========================================================================
   Base Reset & Global Styles
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background-color: var(--bg);
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Lora', serif;
  color: var(--primary);
  font-weight: 600;
  line-height: 1.25;
}

.mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9em;
  letter-spacing: -0.5px;
}

/* ==========================================================================
   Accessibility & Keyboard Focus States
   ========================================================================== */
a:focus-visible, 
button:focus-visible, 
select:focus-visible, 
textarea:focus-visible, 
input:focus-visible,
[role="button"]:focus-visible,
[role="tab"]:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 3px;
}

/* ==========================================================================
   Layout Helpers & Reusable Cards
   ========================================================================== */
.section-padding {
  padding: 6.5rem 0;
  position: relative;
}

.section-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}

.section-header {
  max-width: 720px;
  margin: 0 auto 4.5rem auto;
  position: relative;
}

.section-marker {
  font-family: 'Lora', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem auto;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(13, 148, 136, 0.3);
  border-radius: 50%;
  background: var(--surface);
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  margin-bottom: 0.88rem;
  color: var(--primary);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
}

/* Clinical Glassmorphic Cards */
.glass-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-glass);
  transition: var(--transition-smooth);
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(13, 148, 136, 0.3);
}

/* Interactive Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.6rem;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  gap: 0.5rem;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--surface) !important;
  box-shadow: 0 4px 12px rgba(10, 37, 64, 0.15);
}

.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(13, 148, 136, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--primary) !important;
  border: 2px solid var(--primary-light);
}

.btn-outline:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  transform: translateY(-2px);
}

.btn-nav-cta {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}

.w-full { width: 100%; }

/* Ambient Background Motifs */
.hex-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='98' viewBox='0 0 56 98'%3E%3Cpath d='M28 0 L56 16.16 L56 48.5 L28 64.66 L0 48.5 L0 16.16 Z M28 98 L56 81.84 L56 49.5 L28 33.34 L0 49.5 L0 81.84 Z' fill='none' stroke='rgba(13, 148, 136, 0.022)' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: repeat;
  z-index: 1;
}

/* ==========================================================================
   Header & Sticky Progress Gauge
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(243, 246, 251, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: var(--transition-smooth);
}

.header.shrink {
  height: 65px;
  box-shadow: 0 4px 15px rgba(15, 32, 66, 0.05);
}

/* Liquid gauge scroll progress */
.scroll-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(to right, var(--primary-light), var(--primary));
  transition: width 0.1s ease-out;
}

.header-container {
  width: 90%;
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  font-family: 'Lora', serif;
}

.logo-accent {
  color: var(--accent);
}

.nav-menu {
  display: flex;
  gap: 1.5rem;
}

.nav-link {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  transition: var(--transition-smooth);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent);
  transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--primary);
  margin: 4px 0;
  transition: var(--transition-smooth);
}

/* Mobile Nav Toggle states */
.mobile-nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.mobile-nav-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: var(--header-height);
  right: -100%;
  width: 80%;
  max-width: 300px;
  height: calc(100vh - var(--header-height));
  background: var(--bg);
  border-left: 1px solid var(--border);
  z-index: 999;
  transition: var(--transition-smooth);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.mobile-nav-drawer.open { right: 0; }

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav-link {
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition-smooth);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  color: var(--accent);
}

/* ==========================================================================
   SECTION 1 — HOME / HERO (Microscope Resolution Animation)
   ========================================================================== */
.hero-section {
  position: relative;
  padding: calc(var(--header-height) + 5rem) 0 6rem 0;
  background-color: var(--bg);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

/* Microscope resolution animation */
.microscope-focus {
  animation: microscopeResolve 0.85s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes microscopeResolve {
  0% {
    filter: blur(10px) saturate(0%);
    transform: scale(1.03);
    opacity: 0;
  }
  100% {
    filter: blur(0px) saturate(100%);
    transform: scale(1.0);
    opacity: 1;
  }
}

/* Reduced motion bypass */
@media (prefers-reduced-motion: reduce) {
  .microscope-focus {
    animation: none !important;
    filter: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

.hero-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 5;
}

.hero-content {
  text-align: left;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero-lead {
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  color: var(--text-muted);
  margin-bottom: 2.25rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

/* Recent Events Photo Gallery */
.events-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
  max-width: 550px;
}

.gallery-photo-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-glass);
  aspect-ratio: 4 / 3;
  background: var(--surface);
  transition: var(--transition-smooth);
}

.gallery-photo-card:hover {
  transform: translateY(-2px);
  border-color: rgba(13, 148, 136, 0.25);
  box-shadow: var(--shadow-card-hover);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* Upcoming Events Card styling */
.upcoming-events-card {
  padding: 2.25rem;
  border-color: rgba(10, 37, 64, 0.15);
}

.upcoming-events-card .card-title {
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.6rem;
}

.upcoming-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.upcoming-list li {
  display: flex;
  gap: 0.88rem;
  align-items: flex-start;
}

.bullet-tag {
  background: var(--primary);
  color: var(--surface);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  flex-shrink: 0;
  margin-top: 0.15rem;
  font-family: 'Inter', sans-serif;
}

.bullet-tag.bg-cyan { background: var(--accent); }
.bullet-tag.bg-violet { background: #5c3ea3; }
.bullet-tag.bg-orange { background: var(--accent-orange); }

.upcoming-list p {
  font-size: 0.9rem;
  color: var(--ink);
  line-height: 1.35;
}

/* Stats bar */
.stats-bar {
  width: 90%;
  max-width: 1200px;
  margin: 5rem auto 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  border-top: 1px solid var(--border);
  padding-top: 3.5rem;
  position: relative;
  z-index: 5;
}

.stat-item { text-align: center; }

.stat-number {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--primary);
  display: block;
}

.stat-number::after { content: '+'; }
#stat-labs::after { content: ''; }

.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   SECTION 2 — ABOUT TDR
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3.5rem;
  align-items: start;
}

.vision-mission-cards {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.about-card .card-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.about-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.mission-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.mission-list li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.94rem;
  color: var(--text-muted);
}

.mission-list li::before {
  content: '➢';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* Tabs switcher styling */
.leadership-block {
  border-color: var(--border);
}

.tabs-container {
  display: flex;
  gap: 0.4rem;
  border-bottom: 1.5px solid var(--border);
  padding-bottom: 0.5rem;
}

.tab-btn {
  background: transparent;
  border: none;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  border-radius: var(--radius-sm);
}

.tab-btn:hover {
  color: var(--primary);
  background: var(--bg-secondary);
}

.tab-btn.active {
  color: var(--primary);
  background: var(--primary-light);
}

.tab-panel {
  display: none;
  animation: fadeInTab 0.3s ease forwards;
}

.tab-panel.active { display: block; }

@keyframes fadeInTab {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.note-quote {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 1rem;
  border-left: 3px solid var(--accent);
  padding-left: 0.88rem;
}

.tab-panel p {
  margin-bottom: 0.88rem;
  font-size: 0.94rem;
}

.note-author {
  margin-top: 1.25rem;
  border-top: 1px solid var(--border);
  padding-top: 0.88rem;
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   SECTION 3 — MEMBERSHIP AND AWARDS
   ========================================================================== */
.membership-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.membership-why h3, .membership-benefits h3 {
  font-size: 1.4rem;
  margin-bottom: 1.1rem;
}

.membership-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.benefits-list-custom {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.benefits-list-custom li {
  font-size: 0.94rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.benefits-list-custom span {
  color: var(--accent);
  font-weight: 700;
}

/* Table styling with sticky column */
.pricing-table-wrapper {
  box-shadow: 0 4px 15px rgba(15, 32, 66, 0.04);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.pricing-table th, .pricing-table td {
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--border);
}

.pricing-table th {
  background: var(--bg-secondary);
  color: var(--primary);
  font-weight: 700;
  font-family: 'Inter', sans-serif;
}

.pricing-table td {
  background: var(--surface);
  color: var(--ink);
}

.pricing-table td.mono {
  font-family: 'JetBrains Mono', monospace;
}

.pricing-table tr:hover td {
  background: var(--bg);
}

.pricing-table .sticky-column {
  position: sticky;
  left: 0;
  z-index: 10;
  font-weight: 600;
  color: var(--primary);
  background: var(--surface);
  border-right: 1.5px solid var(--border);
}

.pricing-table tr:hover .sticky-column {
  background: var(--bg);
}

.highlight-row td {
  background: rgba(13, 148, 136, 0.03);
}

.table-link-cta {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.table-link-cta:hover {
  text-decoration: underline;
}

/* Awards Accordion */
.awards-accordion {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-width: 900px;
  margin: 0 auto;
}

.award-card {
  padding: 0 !important;
  overflow: hidden;
}

.award-trigger {
  width: 100%;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 1.75rem;
  cursor: pointer;
  text-align: left;
}

.award-num {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  font-family: 'JetBrains Mono', monospace;
  margin-right: 1.25rem;
}

.award-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  flex-grow: 1;
}

.accordion-arrow {
  font-size: 0.75rem;
  color: var(--text-light);
  transition: transform 0.3s ease;
}

.award-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  padding: 0 1.75rem;
  background: rgba(243, 246, 251, 0.4);
}

.award-body p {
  padding-bottom: 1.25rem;
  font-size: 0.92rem;
}

.award-card.open {
  border-color: rgba(13, 148, 136, 0.4);
}

.award-card.open .accordion-arrow {
  transform: rotate(180deg);
  color: var(--accent);
}

.award-card.open .award-body {
  padding: 0.25rem 1.75rem 0 1.75rem;
}

.nomination-instructions {
  max-width: 900px;
  margin: 2rem auto 0 auto;
  border: 1.5px dashed var(--accent);
  background: rgba(13, 148, 136, 0.02);
}

.nomination-instructions h4 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.nomination-instructions p {
  font-size: 0.94rem;
  margin-bottom: 1rem;
}

.announce-card {
  max-width: 900px;
  margin: 0 auto;
  border-color: var(--border);
  background: var(--bg-secondary);
}

/* ==========================================================================
   SECTION 4 — CONFERENCE / SEMINAR (Responsive Table)
   ========================================================================== */
.upcoming-conference-banner {
  max-width: 800px;
  margin: 0 auto 3rem auto;
  border: 1.5px dashed var(--accent-orange);
  background: rgba(234, 88, 12, 0.02);
}

.status-indicator {
  display: inline-block;
  background: rgba(234, 88, 12, 0.08);
  color: var(--accent-orange);
  border: 1px solid rgba(234, 88, 12, 0.2);
  padding: 0.2rem 0.75rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.88rem;
  font-family: 'Inter', sans-serif;
}

.upcoming-conference-banner h3 { font-size: 1.45rem; margin-bottom: 0.5rem; }
.upcoming-conference-banner p { font-size: 0.94rem; }

.past-events-container {
  border-color: var(--border);
}

.table-header-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
}

.table-header-controls h3 { font-size: 1.3rem; }

.filter-group { display: flex; gap: 0.88rem; flex-wrap: wrap; }

.search-input {
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.88rem;
  width: 240px;
  outline: none;
  transition: var(--transition-smooth);
}

.search-input:focus {
  border-color: var(--accent);
}

.select-input {
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.88rem;
  outline: none;
  cursor: pointer;
  background: var(--surface);
}

/* Past events table custom rendering */
.conference-table-wrapper {
  position: relative;
  overflow-x: auto;
}

/* Scroll Shadow Indicator */
.conference-table-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 15px;
  background: linear-gradient(to right, transparent, rgba(15, 32, 66, 0.05));
  pointer-events: none;
}

.conference-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.conference-table th, .conference-table td {
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--border);
}

.conference-table th {
  background: var(--bg-secondary);
  color: var(--primary);
  font-weight: 700;
  text-align: left;
}

.conference-table td {
  background: var(--surface);
  color: var(--ink);
}

.conference-table td.mono {
  font-family: 'JetBrains Mono', monospace;
}

.conference-table tr:hover td {
  background: var(--bg);
}

.conference-table tr.hidden-row {
  display: none !important;
}

/* ==========================================================================
   SECTION 5 — MAJOR / MINI PROJECT
   ========================================================================== */
.project-info-block h3 { font-size: 1.4rem; margin-bottom: 0.88rem; }
.project-info-block p { font-size: 0.95rem; margin-bottom: 1.5rem; }

.project-actions {
  display: flex;
  justify-content: center;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.project-discipline-card {
  position: relative;
  overflow: hidden;
}

.disc-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
}

.disc-glow.bg-cyan { background: var(--accent); }
.disc-glow.bg-violet { background: #5c3ea3; }
.disc-glow.bg-orange { background: var(--accent-orange); }

.project-discipline-card h4 { font-size: 1.2rem; margin: 0.5rem 0 0.75rem 0; }
.project-discipline-card p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1.25rem; }
.project-status { font-size: 0.8rem; font-weight: 700; color: var(--text-light); border-top: 1px solid var(--border); padding-top: 0.65rem; }

/* ==========================================================================
   SECTION 6 — WORKSHOP / TRAINING / INTERNSHIP (TIMELINE)
   ========================================================================== */
.timeline-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 1.5rem 0;
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--border);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 100%;
  margin-bottom: 3rem;
}

.timeline-item:nth-child(even) { left: 50%; }

.timeline-item:nth-child(odd) {
  width: 50%;
  padding-right: 2.5rem;
}

.timeline-item:nth-child(even) {
  width: 50%;
  padding-left: 2.5rem;
}

.timeline-dot {
  position: absolute;
  top: 1.75rem;
  left: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 3.5px solid var(--bg-primary);
  transform: translateX(-50%);
  z-index: 5;
}

.timeline-item:nth-child(even) .timeline-dot { left: 0; }
.timeline-item:nth-child(odd) .timeline-dot { left: 100%; }

.timeline-content { padding: 1.75rem !important; }

.timeline-date {
  display: inline-block;
  background: rgba(13, 148, 136, 0.06);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 3px;
  margin-bottom: 0.75rem;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
}

.timeline-content h4 { font-size: 1.15rem; margin-bottom: 0.65rem; }
.timeline-content p { font-size: 0.9rem; }

.workshop-cta {
  max-width: 800px;
  margin: 0 auto;
  border-color: rgba(13, 148, 136, 0.2);
}

.workshop-cta h4 { font-size: 1.25rem; margin-bottom: 0.65rem; }
.workshop-cta p { font-size: 0.94rem; margin-bottom: 1.25rem; }

/* ==========================================================================
   SECTION 7 — JOURNALS AND BOOKS PUBLICATIONS
   ========================================================================== */
.publications-block {
  max-width: 850px;
  margin: 0 auto;
  border-color: var(--border);
  background: radial-gradient(circle at 90% 10%, rgba(13, 148, 136, 0.02) 0%, transparent 60%);
}

.publications-block h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.publication-para { font-size: 0.96rem; line-height: 1.6; margin-bottom: 1.75rem; }
.publication-actions { display: flex; justify-content: center; gap: 1.1rem; flex-wrap: wrap; }

/* ==========================================================================
   SECTION 8 — CONTACT US
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
}

.contact-info-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.65rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.4rem;
}

.contact-card p { font-size: 0.94rem; line-height: 1.45; }

.contact-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.contact-links-list li { font-size: 0.94rem; }

.contact-links-list a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.contact-links-list a:hover {
  text-decoration: underline;
}

.contact-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(13, 27, 42, 0.1);
  cursor: pointer;
  text-decoration: none;
}

.contact-action-btn:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13, 27, 42, 0.15);
}

.contact-action-btn.whatsapp:hover {
  background: #25D366;
  border-color: #25D366;
  color: var(--white);
}

.contact-action-btn.email:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.contact-map-column h4 { font-size: 1.1rem; margin-bottom: 0.88rem; }
.map-iframe-container { width: 100%; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); height: 300px; }

/* ==========================================================================
   Footer
   ========================================================================== */
/* ==========================================================================
   Simplified Footer Bar
   ========================================================================== */
.footer-bar {
  background: var(--primary);
  color: var(--surface);
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 10;
}

.footer-bar-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bar-left p {
  font-size: 0.88rem;
  opacity: 0.85;
}

.footer-bar-right {
  display: flex;
  gap: 2rem;
}

.footer-bar-link {
  color: var(--surface);
  text-decoration: none;
  font-size: 0.88rem;
  opacity: 0.85;
  transition: var(--transition-smooth);
}

.footer-bar-link:hover {
  color: var(--accent);
  opacity: 1;
}

/* ==========================================================================
   Floating Action Trigger & Modals
   ========================================================================== */
.floating-cta {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 54px;
  height: 54px;
  background: var(--primary);
  border: none;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(10, 37, 64, 0.3);
  z-index: 99;
  transition: var(--transition-smooth);
}

.floating-cta:hover {
  transform: scale(1.05);
  background-color: var(--accent);
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(17, 30, 46, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  z-index: 2000;
  transition: opacity 0.4s ease;
  padding: 1.5rem;
}

.modal-overlay.open { opacity: 1; pointer-events: auto; }

.modal-card {
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.75rem 2.25rem;
  border-color: var(--border);
  position: relative;
  transform: translateY(15px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: var(--surface);
}

.modal-overlay.open .modal-card { transform: translateY(0); }

.modal-close-btn {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  background: transparent;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text-light);
  line-height: 1;
}

.modal-close-btn:hover { color: var(--accent); }
.modal-header { margin-bottom: 1.75rem; }
.modal-title { font-size: 1.5rem; margin-bottom: 0.4rem; }
.modal-subtitle { font-size: 0.88rem; color: var(--text-light); }
.modal-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--primary); }

.form-input {
  padding: 0.7rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--ink);
  background: var(--bg-secondary);
  outline: none;
  transition: var(--transition-smooth);
  width: 100%;
}

.form-input:focus {
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.textarea { min-height: 100px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.error-message { font-size: 0.75rem; color: var(--accent-orange); font-weight: 500; display: none; }
.form-group.error .form-input { border-color: var(--accent-orange); background: rgba(234, 88, 12, 0.02); }
.form-group.error .error-message { display: block; }
.hidden { display: none !important; }

/* Success State */
.form-success-state { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 1.75rem 0; }

.success-icon {
  width: 64px;
  height: 64px;
  background: rgba(13, 148, 136, 0.1);
  color: var(--accent);
  border: 2px solid var(--accent);
  border-radius: 50%;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.form-success-state h3 { font-size: 1.5rem; margin-bottom: 0.65rem; }
.form-success-state p { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 1.5rem; }

/* Scroll Fade In Up */
.fade-in-up {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.appear {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Navigation Dropdown & Mega-Menu
   ========================================================================== */
.nav-item.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-trigger {
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  padding: 0.25rem 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition-smooth);
}

.dropdown-trigger:hover,
.nav-item.dropdown:hover .dropdown-trigger {
  color: var(--accent);
}

.dropdown-trigger .caret-icon {
  font-size: 0.7em;
  transition: transform 0.25s ease;
  display: inline-block;
}

.nav-item.dropdown:hover .dropdown-trigger .caret-icon,
.nav-item.dropdown.open .dropdown-trigger .caret-icon {
  transform: rotate(180deg);
}

.dropdown-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card-hover);
  padding: 1.25rem;
  min-width: 250px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  z-index: 100;
}

/* Open states */
.nav-item.dropdown:hover .dropdown-panel,
.nav-item.dropdown.open .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(8px);
}

/* Caret indicator pointing upwards */
.dropdown-arrow {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid var(--surface);
}

/* Dropdown list styling */
.dropdown-menu-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.dropdown-link, 
.nested-trigger {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: transparent;
  border: none;
  font-family: inherit;
  cursor: pointer;
}

.dropdown-link:hover, 
.nested-trigger:hover {
  background: var(--primary-light);
  color: var(--primary);
}

/* Nested Submenu (2nd Level Dropdown) */
.nested-menu {
  position: relative;
}

.nested-trigger .nested-caret {
  font-size: 0.75em;
  transition: transform 0.25s ease;
}

.nested-menu-items {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-left: 0.75rem;
}

.nested-menu.open .nested-menu-items {
  max-height: 200px;
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}

.nested-menu.open .nested-trigger .nested-caret {
  transform: rotate(180deg);
}

.nested-menu-items .dropdown-link {
  font-size: 0.82rem;
  padding: 0.45rem 0.6rem;
}

/* Mobile Navigation Dropdown Accordion */
.mobile-dropdown-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-left: 1rem;
  border-left: 1.5px solid var(--border);
  margin-top: 0;
}

.mobile-dropdown.open .mobile-dropdown-panel {
  max-height: 200px;
  margin-top: 0.75rem;
}

.mobile-dropdown-trigger {
  background: transparent;
  border: none;
  font-family: inherit;
  text-align: left;
  width: 100%;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.25rem 0;
}

.mobile-dropdown-trigger .caret-icon {
  font-size: 0.8em;
  transition: transform 0.25s ease;
}

.mobile-dropdown.open .mobile-dropdown-trigger .caret-icon {
  transform: rotate(180deg);
}

.mobile-nav-sub-link {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--primary);
  opacity: 0.85;
  transition: var(--transition-smooth);
}

.mobile-nav-sub-link:hover {
  color: var(--accent);
}

/* ==========================================================================
   Horizontal Card Carousel System
   ========================================================================== */
.carousel-section-wrapper {
  position: relative;
  width: 100%;
  z-index: 10;
}

.carousel-section-title {
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
  color: var(--primary);
  font-family: 'Lora', serif;
}

.carousel-outer-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.carousel-track-wrapper {
  overflow: hidden;
  width: 100%;
  border-radius: var(--radius-md);
  padding: 0.5rem 0;
}

.carousel-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem 0.25rem;
}

.carousel-track::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

/* Light theme carousel cards */
.carousel-card {
  flex: 0 0 calc((100% - 3 * 1.5rem) / 4);
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--primary-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-glass);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

.carousel-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--accent);
}

.carousel-card .card-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
  display: block;
}

.carousel-card .card-headline {
  font-family: 'Lora', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.4;
  margin-bottom: auto;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.carousel-card .card-tag {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50px;
  margin-top: 1rem;
}

/* Slide 1: Special Archive Card styling */
.carousel-card.archive-card {
  background: var(--primary-light);
  border-color: rgba(13, 148, 136, 0.15);
}

.archive-card-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.archive-card .archive-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  display: block;
}

.archive-card h4 {
  font-family: 'Lora', serif;
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.archive-card p {
  font-size: 0.85rem;
  color: var(--ink);
  opacity: 0.8;
  margin-bottom: 1.25rem;
  line-height: 1.4;
}

.archive-card button {
  align-self: flex-start;
  margin-top: auto;
}

/* Carousel Control Arrows */
.carousel-arrow {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--primary);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glass);
  transition: var(--transition-smooth);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 12;
}

.carousel-arrow:hover {
  background: var(--primary);
  color: var(--surface);
  border-color: var(--primary);
  box-shadow: var(--shadow-card-hover);
}

.prev-arrow {
  left: -22px;
}

.next-arrow {
  right: -22px;
}

/* Carousel Dot Indicators */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(10, 37, 64, 0.2);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: var(--transition-smooth);
}

.carousel-dot.active {
  background: var(--primary);
  width: 20px;
  border-radius: 4px;
}

/* ==========================================================================
   Hero Split-Layout Pattern
   ========================================================================== */
.hero-container.split-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: stretch;
  min-height: 480px;
}

.hero-photo-panel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-glass);
  border: 1px solid var(--border);
  display: flex;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 37, 64, 0) 50%, rgba(10, 37, 64, 0.4) 100%);
  pointer-events: none;
}

.hero-text-panel {
  background: var(--primary);
  color: var(--surface);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  box-shadow: var(--shadow-card-hover);
}

.hero-text-panel .hero-eyebrow {
  align-self: flex-start;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(13, 148, 136, 0.15);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  letter-spacing: 0.8px;
  margin-bottom: 1.5rem;
}

.hero-text-panel h1 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-family: 'Lora', serif;
  color: var(--surface);
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

.hero-text-panel .hero-description {
  font-size: 0.98rem;
  opacity: 0.9;
  line-height: 1.6;
  margin-bottom: 1.75rem;
  font-weight: 400;
}

.hero-meta-details {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
}

.hero-meta-item {
  font-size: 0.88rem;
  opacity: 0.85;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-arrow-link {
  position: absolute;
  bottom: 2.5rem;
  right: 3rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--surface);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition-smooth);
  background: transparent;
  border: none;
  font-family: inherit;
  cursor: pointer;
}

.hero-arrow-link:hover {
  color: var(--accent);
}

.hero-arrow-link .arrow-icon {
  font-size: 1.1rem;
  transition: transform 0.25s ease;
}

.hero-arrow-link:hover .arrow-icon {
  transform: translateX(5px);
}

/* ==========================================================================
   Responsive Breakpoints & Media Queries
   ========================================================================== */

@media (max-width: 1024px) {
  html { font-size: 15px; }
  .hero-container { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
  .hero-content { display: flex; flex-direction: column; align-items: center; }
  .hero-buttons { justify-content: center; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
  .about-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .membership-intro-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-container { grid-template-columns: 1fr 1fr; gap: 3rem; }

  /* Dropdown & Carousel / Split Hero for 1024px */
  .carousel-card {
    flex: 0 0 calc((100% - 2 * 1.5rem) / 3); /* 3 cards */
  }
  .hero-container.split-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-photo-panel {
    aspect-ratio: 16 / 9;
    height: auto;
  }
  .hero-text-panel {
    padding: 3rem 2.25rem;
  }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .mobile-nav-toggle { display: block; }
  .section-padding { padding: 4.5rem 0; }
  .table-tip { display: block; }
  
  /* Timeline adaptation */
  .timeline-container::before { left: 16px; }
  .timeline-item { width: 100% !important; padding-left: 2.5rem !important; padding-right: 0 !important; }
  .timeline-item:nth-child(even) { left: 0; }
  .timeline-dot { left: 16px !important; }

  /* Carousel overrides & menu overrides for 768px */
  .carousel-card {
    flex: 0 0 calc((100% - 1 * 1.5rem) / 2); /* 2 cards */
  }
  .prev-arrow { left: -10px; }
  .next-arrow { right: -10px; }
  .carousel-arrow { width: 36px; height: 36px; font-size: 0.85rem; }
  .nav-menu { display: none !important; } /* Enforce hiding desktop nav */
}

@media (max-width: 480px) {
  .stats-bar { grid-template-columns: 1fr; gap: 2rem; }
  .hero-buttons { flex-direction: column; width: 100%; }
  .btn { width: 100%; }
  .projects-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 1.1rem; }
  .modal-card { padding: 2.25rem 1.1rem; }
  .footer-container { grid-template-columns: 1fr; }

  /* Stacked comparison cards for Membership Pricing Table */
  .pricing-table-wrapper {
    border: none;
    overflow-x: visible;
  }
  .pricing-table, .pricing-table thead, .pricing-table tbody, .pricing-table tr, .pricing-table td {
    display: block;
    width: 100%;
  }
  .pricing-table thead {
    display: none; /* Hide header completely */
  }
  .pricing-table tr {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    box-shadow: var(--shadow-glass);
  }
  .pricing-table td {
    border-bottom: 1px solid var(--bg-secondary);
    padding: 0.75rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.92rem;
  }
  .pricing-table td:first-child {
    font-weight: 700;
    color: var(--primary);
    border-bottom: 1.5px solid var(--primary-light);
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
    justify-content: center;
    font-size: 1rem;
  }
  .pricing-table td::before {
    font-weight: 600;
    color: var(--text-light);
  }
  .pricing-table td:nth-child(2)::before { content: 'Bronze:'; }
  .pricing-table td:nth-child(3)::before { content: 'Silver:'; }
  .pricing-table td:nth-child(4)::before { content: 'Gold:'; }
  .pricing-table td:last-child {
    border-bottom: none;
  }

  /* Past Conferences Table Collapse into Cards */
  .conference-table-wrapper {
    border: none;
    overflow-x: visible;
  }
  .conference-table, .conference-table thead, .conference-table tbody, .conference-table th, .conference-table td, .conference-table tr {
    display: block;
  }
  .conference-table thead {
    display: none; /* Hide header completely */
  }
  .conference-table tr {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    padding: 1.1rem;
    box-shadow: var(--shadow-glass);
  }
  .conference-table td {
    border-bottom: 1px solid var(--bg-secondary);
    padding: 0.65rem 0;
    text-align: right;
    position: relative;
    padding-left: 45%;
    font-size: 0.88rem;
  }
  .conference-table td::before {
    content: attr(data-label);
    position: absolute;
    left: 0;
    width: 40%;
    text-align: left;
    font-weight: 700;
    color: var(--primary);
  }
  .conference-table td:last-child {
    border-bottom: none;
  }

  /* Carousel & Hero & Footer for 480px */
  .carousel-card {
    flex: 0 0 100%; /* 1 card */
  }
  .carousel-outer-wrapper {
    padding: 0 0.5rem;
  }
  .prev-arrow { left: -5px; }
  .next-arrow { right: -5px; }
  .hero-text-panel {
    padding: 2.5rem 1.5rem;
  }
  .hero-arrow-link {
    position: static;
    margin-top: 2rem;
    align-self: flex-start;
  }
  .footer-bar-container {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .footer-bar-right {
    gap: 1.5rem;
  }
}

/* ==========================================================================
   CSP Compliance & Inline Styles Migration Utilities
   ========================================================================== */
.panel-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}
.logo-icon-custom {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 10px;
}
.mobile-enquire-btn {
  margin-top: 1.5rem;
  width: 100%;
}
.pricing-title {
  margin-bottom: 1.5rem;
}
.mt-3rem {
  margin-top: 3rem;
}
.mb-2rem {
  margin-bottom: 2rem;
}
.nomination-card {
  margin-top: 2rem;
  padding: 1.5rem 1rem;
}
.nomination-desc {
  font-size: 0.92rem;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}
.mt-2rem {
  margin-top: 2rem;
}
.my-3rem {
  margin-top: 3rem;
  margin-bottom: 3rem;
}
.contact-action-buttons {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.map-iframe {
  border: 0;
}
.navigate-btn {
  margin-top: 1.25rem;
  display: inline-block;
  text-align: center;
  text-decoration: none;
}
.mt-075rem {
  margin-top: 0.75rem;
}
.hidden-input {
  display: none !important;
}

/* Body Scroll Control via Class instead of style property */
body.no-scroll {
  overflow: hidden;
}

/* Dynamic JS elements classes */
.winners-list {
  list-style: none !important;
  padding: 0 !important;
  margin-top: 1rem !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.5rem !important;
}
.winners-list-item {
  font-size: 0.95rem !important;
}

/* ==========================================================================
   Subpages Styles for Service Detail Pages
   ========================================================================== */
.back-link-container {
  margin-bottom: 1.5rem;
}
.back-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.2s;
}
.back-link:hover {
  transform: translateX(-4px);
  color: var(--primary-hover);
}
.service-detail-card {
  padding: 3rem;
  border-radius: var(--radius-md);
}
.service-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--primary);
}
.service-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 2rem;
}
.service-capabilities {
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.service-capabilities h3 {
  font-family: var(--font-display);
  margin-bottom: 1.25rem;
  color: var(--primary);
}
.capabilities-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}
.capabilities-list li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-muted);
}
.capabilities-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}
.service-actions {
  margin-top: 2.5rem;
  display: flex;
  justify-content: flex-start;
}

/* Services Mobile Dropdown Expand Height */
.mobile-dropdown-services.open .mobile-dropdown-panel {
  max-height: 450px !important;
}

/* ==========================================================================
   Services Grid Layout & Card Styling
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-card-hover);
}

.service-card-img-wrapper {
  width: 100%;
  height: 180px;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--border);
}

.service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card-img {
  transform: scale(1.05);
}

.service-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-content h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.service-card-content p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-card-content .btn-readmore {
  align-self: flex-start;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.service-card-content .btn-readmore:hover {
  color: var(--primary);
}




