/* ==========================================================================
   GrantsHub - Core Stylesheet
   Academic Research Portal Template (Inspired by Pure EUR / pure.eur.nl)
   Brand Identity: UEH (University of Economics Ho Chi Minh City) & UEL (University of East London)
   Palette: Deep Teal (#005A60), Turquoise (#10CFC9), UEH Navy (#003B5C), UEH Orange (#F58220)
   ========================================================================== */

:root {
  --ueh-navy: #003B5C;
  --ueh-navy-dark: #00263D;
  --ueh-navy-light: #005482;
  --deep-teal: #005A60;
  --deep-teal-dark: #004348;
  --turquoise: #10CFC9;
  --turquoise-light: #E6FAF9;
  --ueh-orange: #F58220;
  --ueh-orange-hover: #D96E14;
  --lime-accent: #E8FA23;
  
  --pure-gradient: linear-gradient(135deg, #005A60 0%, #00767E 45%, #10CFC9 100%);
  --pure-hero-gradient: linear-gradient(145deg, #003B5C 0%, #005A60 55%, #0B888C 100%);
  --ueh-gradient: linear-gradient(135deg, #003B5C 0%, #005A60 100%);
  
  --text-main: #1E293B;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --bg-body: #F8FAFC;
  --bg-card: #FFFFFF;
  --border-color: #E2E8F0;
  --border-focus: #10CFC9;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 59, 92, 0.08);
  --shadow-lg: 0 10px 25px rgba(0, 59, 92, 0.12);
  --shadow-hover: 0 14px 30px rgba(0, 90, 96, 0.18);
  
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-body);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--deep-teal);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--ueh-orange);
}

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

.container {
  width: 100%;
  max-width: 1360px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.header-container {
  width: 100%;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

/* Top Utility Bar */
.top-utility-bar {
  background-color: #00263D;
  color: #CBD5E1;
  font-size: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 0;
}

.top-utility-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-partner-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #94A3B8;
}

.top-partner-label strong {
  color: #F8FAFC;
  font-weight: 600;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-utility-link {
  color: #CBD5E1;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.top-utility-link:hover {
  color: #10CFC9;
}

/* Main Header */
.main-header {
  background: #FFFFFF;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 16px;
}

/* Logo Block */
.brand-identity {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-logo-img {
  height: 46px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

/* Primary Navigation */
.main-navigation {
  display: flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 1;
}

.nav-link {
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
  padding: 8px 11px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--deep-teal);
  background-color: #F1F5F9;
}

.nav-link.active {
  color: var(--deep-teal);
  background-color: var(--turquoise-light);
  border: 1px solid rgba(16, 207, 201, 0.45);
  box-shadow: none;
  font-weight: 700;
}

.nav-btn-apply {
  background: var(--ueh-orange) !important;
  color: #FFFFFF !important;
  font-weight: 700;
  padding: 8px 15px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(245, 130, 32, 0.25);
  margin-left: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--ueh-orange);
}

.nav-btn-apply:hover {
  background: var(--ueh-orange-hover) !important;
  color: #FFFFFF !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(245, 130, 32, 0.35);
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-color);
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 22px;
  color: var(--text-main);
  cursor: pointer;
}

/* ==========================================================================
   Pure EUR Hero Section
   ========================================================================== */
.pure-hero-section {
  background: linear-gradient(135deg, #003B5C 0%, #005A60 40%, #087E84 72%, #10CFC9 100%) !important;
  color: #FFFFFF;
  padding: 65px 0 75px;
  position: relative;
  overflow: hidden;
}

.pure-hero-section::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 207, 201, 0.25) 0%, rgba(16, 207, 201, 0) 70%);
  pointer-events: none;
}

.hero-content {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #E8FA23;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
  color: #FFFFFF;
}

.hero-title span {
  color: #10CFC9;
}

.hero-subtitle {
  font-size: 17px;
  color: #E2E8F0;
  line-height: 1.55;
  margin-bottom: 34px;
}

/* Pure EUR Omnibar Search */
.pure-search-wrapper {
  background: #FFFFFF;
  border-radius: 50px;
  padding: 6px 8px 6px 20px;
  display: flex;
  align-items: center;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
  margin-bottom: 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.pure-search-wrapper:focus-within {
  box-shadow: 0 16px 40px rgba(16, 207, 201, 0.35);
  transform: translateY(-2px);
}

.pure-search-icon {
  font-size: 22px;
  color: var(--deep-teal);
  margin-right: 12px;
}

.pure-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  font-family: inherit;
  color: #0F172A;
  background: transparent;
}

.pure-search-input::placeholder {
  color: #94A3B8;
}

.pure-search-btn {
  background: var(--pure-gradient);
  border: none;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: 40px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.pure-search-btn:hover {
  background: var(--ueh-orange);
}

/* Quick Search Suggestions */
.search-chips {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #CBD5E1;
}

.search-chip {
  background: rgba(255, 255, 255, 0.12);
  color: #F8FAFC;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: all 0.2s;
}

.search-chip:hover {
  background: #FFFFFF;
  color: var(--deep-teal);
  border-color: #FFFFFF;
}

/* ==========================================================================
   Metrics Counter Banner (Pure EUR Style)
   ========================================================================== */
.metrics-strip {
  margin-top: -36px;
  position: relative;
  z-index: 10;
  margin-bottom: 50px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.metric-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 24px 20px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.metric-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--turquoise);
}

.metric-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}

.metric-icon-teal {
  background-color: var(--turquoise-light);
  color: var(--deep-teal);
}

.metric-icon-orange {
  background-color: #FFF2E8;
  color: var(--ueh-orange);
}

.metric-icon-blue {
  background-color: #EBF4FA;
  color: var(--ueh-navy);
}

.metric-icon-green {
  background-color: #ECFDF5;
  color: #059669;
}

.metric-number {
  font-size: 28px;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.1;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.metric-number span.plus {
  color: var(--ueh-orange);
  font-size: 20px;
}

.metric-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ==========================================================================
   Standardized Subpage Components (Breadcrumbs, Subpage Hero, Content Sections)
   ========================================================================== */

/* Breadcrumb Bar */
.breadcrumb-bar {
  background: #F8FAFC;
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
}

.breadcrumb-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.breadcrumb-inner a {
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.breadcrumb-inner a:hover {
  color: var(--deep-teal);
}

.breadcrumb-inner .separator {
  font-size: 10px;
  color: var(--text-light);
}

.breadcrumb-inner .current {
  color: var(--ueh-navy);
  font-weight: 700;
}

/* Subpage Hero Section */
.subpage-hero-section {
  background: linear-gradient(135deg, #003B5C 0%, #005A60 40%, #087E84 72%, #10CFC9 100%) !important;
  color: #FFFFFF;
  padding: 50px 0 58px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.subpage-hero-section::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 207, 201, 0.25) 0%, rgba(16, 207, 201, 0) 70%);
  pointer-events: none;
}

.subpage-hero-title {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.6px;
  margin-bottom: 14px;
  color: #FFFFFF;
}

.subpage-hero-subtitle {
  font-size: 16px;
  color: #F1F5F9;
  line-height: 1.6;
  max-width: 820px;
  margin: 0 auto;
}

/* Colleague Avatar Card */
.colleague-avatar-card {
  background: #F8FAFC;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.colleague-avatar-card:hover {
  transform: translateY(-3px);
  border-color: var(--turquoise);
  box-shadow: var(--shadow-md);
  background: #FFFFFF;
}

.colleague-avatar-wrap {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 12px;
  border: 3px solid #FFFFFF;
  box-shadow: 0 4px 10px rgba(0, 59, 92, 0.12);
  background: var(--turquoise-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* Feature Callout Box */
.feature-callout-box {
  background: #F8FAFC;
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--deep-teal);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  margin-bottom: 40px;
}

/* ==========================================================================
   Section Headers & Titles
   ========================================================================== */
.section-wrapper {
  padding: 60px 0;
}

.section-wrapper.bg-light {
  background-color: #F8FAFC;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-wrapper.bg-white {
  background-color: #FFFFFF;
}

.section-header {
  margin-bottom: 40px;
}

.section-header.text-center {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--deep-teal);
  background: var(--turquoise-light);
  padding: 4px 12px;
  border-radius: 30px;
  margin-bottom: 10px;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--ueh-navy);
  letter-spacing: -0.5px;
  line-height: 1.25;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Pure EUR Card Grids & Detail Cards
   ========================================================================== */
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.cards-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Pure EUR Funding Opportunity Card */
.pure-grant-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.pure-grant-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--deep-teal);
  transition: width 0.2s ease;
}

.pure-grant-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--turquoise);
}

.pure-grant-card:hover::before {
  width: 6px;
  background: var(--pure-gradient);
}

.card-top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 8px;
}

.badge-funder {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 4px;
  background: #F1F5F9;
  color: #334155;
}

.badge-status {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.badge-status.open {
  background-color: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.badge-status.upcoming {
  background-color: #FFFBEB;
  color: #92400E;
  border: 1px solid #FDE68A;
}

.grant-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ueh-navy);
  margin-bottom: 12px;
}

.grant-title a {
  color: var(--ueh-navy);
}

.grant-title a:hover {
  color: var(--ueh-orange);
}

.grant-summary {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 18px;
  flex: 1;
}

.grant-meta-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid #F1F5F9;
  font-size: 13px;
  color: #475569;
  margin-bottom: 18px;
}

.meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.meta-row i {
  color: var(--deep-teal);
  font-size: 16px;
}

.card-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.btn-card-primary {
  background: var(--deep-teal);
  color: #FFFFFF !important;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-card-primary:hover {
  background: var(--ueh-orange);
}

.btn-card-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--deep-teal);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-card-link:hover {
  color: var(--ueh-orange);
}

/* ==========================================================================
   Partners & Initiative Section (Section 2)
   ========================================================================== */
.partner-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.partner-card:hover {
  border-color: var(--turquoise);
  box-shadow: var(--shadow-md);
}

.partner-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--deep-teal);
  background: var(--turquoise-light);
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 12px;
  align-self: flex-start;
}

.partner-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--ueh-navy);
  margin-bottom: 4px;
}

.partner-role {
  font-size: 13px;
  font-weight: 600;
  color: var(--ueh-orange);
  margin-bottom: 12px;
}

.partner-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
}

/* ==========================================================================
   Why GrantsHub Section (Section 3: Challenges vs Solutions)
   ========================================================================== */
.why-granthub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.why-column {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.why-col-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #F1F5F9;
}

.why-col-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.why-col-icon.challenge-icon {
  background: #FEE2E2;
  color: #DC2626;
}

.why-col-icon.solution-icon {
  background: var(--turquoise-light);
  color: var(--deep-teal);
}

.why-col-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--ueh-navy);
}

.why-item-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.why-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.challenge-item-icon {
  background: #FFF1F2;
  color: #E11D48;
}

.solution-item-icon {
  background: #ECFDF5;
  color: #059669;
}

.why-item-content h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ueh-navy);
  margin-bottom: 4px;
}

.why-item-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Meet Our Team (Section 4 & About)
   ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.team-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--turquoise);
}

.team-img-wrap {
  width: 100%;
  height: 360px;
  background-color: #F8FAFC;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.3s ease;
  image-rendering: -webkit-optimize-contrast;
}

.team-card:hover .team-img {
  transform: scale(1.03);
}

.team-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.team-role-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--deep-teal);
  background: var(--turquoise-light);
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 8px;
  align-self: flex-start;
}

.team-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--ueh-navy);
  margin-bottom: 4px;
}

.team-affiliation {
  font-size: 13px;
  font-weight: 500;
  color: var(--ueh-orange);
  line-height: 1.4;
  margin-bottom: 12px;
}

.team-bio {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
}

.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid #F1F5F9;
}

.team-tag {
  font-size: 11px;
  background: #F1F5F9;
  color: #475569;
  padding: 2px 8px;
  border-radius: 4px;
}

/* ==========================================================================
   Get Inspired Video Section (Section 5)
   ========================================================================== */
.inspired-box {
  background: var(--ueh-navy);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1.1fr 1.05fr;
  gap: 36px;
  align-items: center;
  box-shadow: var(--shadow-lg);
  background-image: radial-gradient(circle at 90% 10%, rgba(16, 207, 201, 0.15) 0%, transparent 60%);
}

/* White Card Wrapper for Video (matches docx mockup & user screenshot) */
.video-showcase-card {
  background: #FFFFFF;
  color: var(--text-main);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.video-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.video-card-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--ueh-navy);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.video-card-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--deep-teal);
  background: var(--turquoise-light);
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Main Video Screen Container */
.video-screen-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0B192C;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  margin-bottom: 14px;
}

.video-screen-poster {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
}

.video-screen-poster::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0, 59, 92, 0.75) 0%, rgba(0, 38, 61, 0.6) 50%, rgba(0, 24, 38, 0.9) 100%);
  z-index: 1;
}

.video-poster-top {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.video-now-playing-pill {
  font-size: 11px;
  font-weight: 700;
  color: #FFFFFF;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.video-duration-pill {
  font-size: 11px;
  font-weight: 700;
  color: var(--lime-accent);
  background: rgba(0, 0, 0, 0.6);
  padding: 4px 8px;
  border-radius: 6px;
}

/* Center Large Animated Play Button */
.video-center-cta {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  pointer-events: none;
}

.video-play-pulse-btn {
  width: 76px;
  height: 76px;
  background: rgba(0, 38, 61, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), 0 0 0 0 rgba(255, 255, 255, 0.5);
  animation: videoGlassPulse 2.2s infinite;
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  pointer-events: auto;
  cursor: pointer;
  border: 2.5px solid rgba(255, 255, 255, 0.9);
}

.video-play-pulse-btn svg {
  margin-left: 4px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
  transition: transform 0.2s ease;
}

.video-screen-poster:hover .video-play-pulse-btn {
  transform: scale(1.12);
  background: rgba(245, 130, 32, 0.85);
  border-color: #FFFFFF;
  box-shadow: 0 12px 36px rgba(245, 130, 32, 0.5);
}

.video-screen-poster:hover .video-play-pulse-btn svg {
  transform: scale(1.08);
}

@keyframes videoGlassPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.65), 0 8px 24px rgba(0, 0, 0, 0.4);
  }
  65% {
    box-shadow: 0 0 0 18px rgba(255, 255, 255, 0), 0 10px 28px rgba(0, 0, 0, 0.5);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0), 0 8px 24px rgba(0, 0, 0, 0.4);
  }
}

.video-play-hint {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #FFFFFF;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.video-poster-bottom {
  position: relative;
  z-index: 2;
  color: #FFFFFF;
}

.video-poster-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
  color: #FFFFFF;
}

.video-poster-subtitle {
  font-size: 11px;
  color: #CBD5E1;
}

/* Episodes Grid (2 Cards side-by-side, matching docx mockup) */
.video-episodes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.video-episode-card {
  background: #F8FAFC;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  transition: all 0.2s ease;
  cursor: pointer;
  text-align: left;
}

.video-episode-card:hover {
  background: #FFFFFF;
  border-color: var(--turquoise);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.video-episode-card.active {
  background: var(--turquoise-light);
  border-color: var(--deep-teal);
  box-shadow: 0 2px 8px rgba(0, 90, 96, 0.15);
}

.video-episode-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.video-episode-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #FFFFFF;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.video-episode-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--ueh-navy);
  line-height: 1.3;
}

.video-episode-role {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.25;
}

.btn-watch-episode {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid var(--deep-teal);
  background: #FFFFFF;
  color: var(--deep-teal);
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
}

.btn-watch-episode:hover,
.video-episode-card.active .btn-watch-episode {
  background: var(--ueh-orange);
  color: #FFFFFF;
  border-color: var(--ueh-orange);
}

/* Card Bottom Info Bar */
.video-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--border-color);
  font-size: 11px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 8px;
}

.ai-assistant-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  padding: 3px 8px;
  border-radius: 20px;
  font-size: 11px;
  color: var(--ueh-navy);
}

.ai-assistant-badge i {
  color: var(--ueh-orange);
  font-size: 13px;
}

.guidelines-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--lime-accent);
  background: rgba(232, 250, 35, 0.12);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

/* ==========================================================================
   Pure EUR Two-Column Directory Layout (Sidebar + Results)
   Used in Funding Opportunities, Find a Project, Find a Partner
   ========================================================================== */
.pure-directory-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 32px;
  align-items: flex-start;
  padding: 40px 0 80px;
}

/* Pure EUR Left Facet Sidebar */
.pure-sidebar-box {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 96px;
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.sidebar-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ueh-navy);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-reset-btn {
  font-size: 12px;
  font-weight: 600;
  color: var(--deep-teal);
  cursor: pointer;
  background: none;
  border: none;
}

.sidebar-reset-btn:hover {
  color: var(--ueh-orange);
  text-decoration: underline;
}

/* Filter Groups */
.filter-group {
  margin-bottom: 24px;
}

.filter-group-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.filter-search-box {
  position: relative;
  margin-bottom: 12px;
}

.filter-search-box input {
  width: 100%;
  padding: 8px 12px 8px 34px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  font-size: 13px;
  font-family: inherit;
  outline: none;
}

.filter-search-box input:focus {
  border-color: var(--deep-teal);
  box-shadow: 0 0 0 2px var(--turquoise-light);
}

.filter-search-box i {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 15px;
}

.filter-options-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 220px;
  overflow-y: auto;
  padding-right: 4px;
}

.filter-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #334155;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
  transition: background 0.15s;
}

.filter-option:hover {
  background-color: #F8FAFC;
}

.filter-option-label {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.filter-checkbox {
  accent-color: var(--deep-teal);
  width: 15px;
  height: 15px;
  cursor: pointer;
}

.filter-count {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-light);
  background: #F1F5F9;
  padding: 1px 6px;
  border-radius: 10px;
}

/* Directory Content Area */
.directory-results-area {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.results-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 20px;
  box-shadow: var(--shadow-sm);
}

.results-count {
  font-size: 14px;
  font-weight: 600;
  color: #334155;
}

.results-count strong {
  color: var(--deep-teal);
}

.results-sort-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
}

.results-sort-select {
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  background: #FFFFFF;
  font-family: inherit;
  font-size: 13px;
  color: var(--text-main);
  outline: none;
}

/* ==========================================================================
   Find a Partner / Academic Directory Cards (Pure EUR Expert Profiles)
   ========================================================================== */
.partner-profile-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 24px;
  align-items: center;
  transition: all 0.25s ease;
}

.partner-profile-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--turquoise);
}

.partner-avatar-box {
  width: 90px;
  height: 90px;
  border-radius: 12px;
  background-color: var(--turquoise-light);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #E2E8F0;
}

.partner-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.partner-avatar-placeholder {
  font-size: 32px;
  color: var(--deep-teal);
  font-weight: 700;
}

.profile-main-info h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ueh-navy);
  margin-bottom: 4px;
}

.profile-title-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--ueh-orange);
  margin-bottom: 4px;
}

.profile-affiliation {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.profile-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.profile-chip {
  font-size: 11px;
  font-weight: 600;
  background: #F1F5F9;
  color: #334155;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid #E2E8F0;
}

.profile-external-links {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
}

.profile-external-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--deep-teal);
  font-weight: 600;
}

.profile-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.btn-connect-partner {
  background: var(--pure-gradient);
  color: #FFFFFF !important;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 6px rgba(0, 90, 96, 0.2);
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-connect-partner:hover {
  background: var(--ueh-orange);
  transform: translateY(-1px);
}

.email-protection-note {
  font-size: 11px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   Funding Preparation Stepper & Accordion
   ========================================================================== */
.prep-step-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}

.prep-step-card.active-step {
  border-color: var(--deep-teal);
  box-shadow: 0 4px 16px rgba(0, 90, 96, 0.1);
}

.prep-step-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background: #FFFFFF;
  transition: background 0.15s;
}

.prep-step-header:hover {
  background: #F8FAFC;
}

.step-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.step-num-badge {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--pure-gradient);
  color: #FFFFFF;
  font-size: 17px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-header-text h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ueh-navy);
  margin-bottom: 2px;
}

.step-header-text p {
  font-size: 13px;
  color: var(--text-muted);
}

.step-chevron {
  font-size: 20px;
  color: var(--text-light);
  transition: transform 0.25s ease;
}

.prep-step-card.active-step .step-chevron {
  transform: rotate(180deg);
  color: var(--deep-teal);
}

.prep-step-body {
  padding: 0 24px 24px;
  border-top: 1px solid #F1F5F9;
}

.step-actions-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.step-action-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: #334155;
  line-height: 1.5;
}

.step-action-item i {
  color: #059669;
  font-size: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Interactive Checklist Box */
.checklist-container {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  margin-top: 40px;
}

.checklist-title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.checklist-progress-bar {
  width: 100%;
  height: 8px;
  background: #E2E8F0;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 24px;
}

.checklist-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--pure-gradient);
  transition: width 0.3s ease;
}

.checklist-items-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.checklist-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid #F1F5F9;
  background: #FAFAFA;
  cursor: pointer;
  transition: all 0.15s ease;
}

.checklist-row:hover {
  background: #F1F5F9;
  border-color: #E2E8F0;
}

.checklist-row.checked {
  background: #ECFDF5;
  border-color: #A7F3D0;
}

.checklist-checkbox {
  width: 18px;
  height: 18px;
  accent-color: #059669;
  cursor: pointer;
}

.checklist-label {
  font-size: 14px;
  font-weight: 500;
  color: #1E293B;
  flex: 1;
}

.checklist-row.checked .checklist-label {
  text-decoration: line-through;
  color: #065F46;
}

/* ==========================================================================
   Scroll To Top with Circular Radial Progress
   ========================================================================== */
.scroll-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #FFFFFF;
  border: none;
  box-shadow: 0 4px 18px rgba(0, 59, 92, 0.2), 0 2px 6px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  z-index: 998;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.88);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, box-shadow 0.2s ease;
  padding: 0;
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.scroll-to-top:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 8px 24px rgba(245, 130, 32, 0.35), 0 2px 8px rgba(0, 59, 92, 0.15);
}

.scroll-to-top .progress-ring {
  position: absolute;
  top: 1px;
  left: 1px;
  transform: rotate(-90deg);
  pointer-events: none;
}

.scroll-to-top .progress-ring-bg {
  fill: none;
  stroke: #E2E8F0;
  stroke-width: 3.5;
}

.scroll-to-top .progress-ring-circle {
  fill: none;
  stroke: var(--ueh-orange);
  stroke-width: 3.8;
  stroke-linecap: round;
  stroke-dasharray: 125.66;
  stroke-dashoffset: 125.66;
  transition: stroke-dashoffset 0.1s linear;
}

.scroll-to-top i {
  position: relative;
  z-index: 2;
  font-size: 19px;
  color: var(--ueh-navy);
  transition: color 0.2s ease, transform 0.2s ease;
}

.scroll-to-top:hover i {
  color: var(--ueh-orange);
  transform: translateY(-2px);
}

/* ==========================================================================
   Modals & Popups
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 38, 61, 0.65);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-dialog {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  position: relative;
  animation: modalFadeIn 0.25s ease-out;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--ueh-navy);
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-light);
  cursor: pointer;
}

.modal-close-btn:hover {
  color: var(--ueh-orange);
}

.modal-body {
  padding: 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  font-family: inherit;
  font-size: 14px;
  color: var(--text-main);
  outline: none;
}

.form-control:focus {
  border-color: var(--deep-teal);
  box-shadow: 0 0 0 3px var(--turquoise-light);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.main-footer {
  background: #002236;
  color: #CBD5E1;
  font-size: 14px;
  margin-top: auto;
  border-top: 4px solid var(--turquoise);
}

.footer-top {
  padding: 60px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
}

.footer-col-title {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #FFFFFF;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--ueh-orange);
}

.footer-desc {
  font-size: 13px;
  line-height: 1.6;
  color: #94A3B8;
  margin-bottom: 20px;
}

.footer-partner-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-partner-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #E2E8F0;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list a {
  color: #94A3B8;
  font-size: 13px;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links-list a:hover {
  color: var(--turquoise);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 13px;
  color: #CBD5E1;
}

.footer-contact-item i {
  color: var(--turquoise);
  font-size: 16px;
  margin-top: 3px;
}

.footer-bottom {
  background: #001929;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12px;
  color: #64748B;
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-legal-links a {
  color: #64748B;
}

.footer-legal-links a:hover {
  color: var(--turquoise);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1280px) {
  .header-container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .nav-link {
    font-size: 12.5px;
    padding: 6px 8px;
  }
  .nav-btn-apply {
    font-size: 12.5px;
    padding: 7px 11px;
    margin-left: 4px;
  }
  .brand-logo-img {
    height: 40px;
    max-width: 170px;
  }
}

@media (max-width: 1140px) {
  .mobile-nav-toggle {
    display: block;
  }
  .main-navigation {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: #FFFFFF;
    flex-direction: column;
    padding: 20px;
    border-bottom: 2px solid var(--deep-teal);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    align-items: stretch;
    gap: 6px;
    z-index: 1000;
  }
  .main-navigation.show {
    display: flex;
  }
  .nav-link {
    font-size: 14px;
    padding: 10px 14px;
    width: 100%;
  }
  .nav-btn-apply {
    margin-left: 0;
    margin-top: 8px;
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 1024px) {
  .cards-grid-3, .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cards-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .why-granthub-grid {
    grid-template-columns: 1fr;
  }
  .pure-directory-layout {
    grid-template-columns: 1fr;
  }
  .pure-sidebar-box {
    position: static;
  }
}

@media (max-width: 768px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cards-grid-3, .cards-grid-2, .team-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 28px;
  }
  .partner-profile-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .partner-avatar-box {
    margin: 0 auto;
  }
  .profile-keywords {
    justify-content: center;
  }
  .profile-actions {
    align-items: center;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom .container {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  .inspired-box {
    grid-template-columns: 1fr;
  }
  .video-episodes-grid {
    grid-template-columns: 1fr;
  }
}
