/* =========================================================
   Epicare Research Center — Main Stylesheet
   ========================================================= */

/* Fonts loaded via header.php link tags — Montserrat (headings) + Nunito Sans (body) */

/* ── CSS Variables ── */
:root {
  --green-900: #1a0505;
  --green-700: #9b1c2c;
  --green-500: #c9263a;
  --green-400: #e03547;
  --green-200: #f8c0c8;
  --green-100: #fde8eb;
  --green-50:  #fff5f6;
  --accent:    #f0a500;
  --white:     #ffffff;
  --gray-50:   #f8f9fa;
  --gray-100:  #f2f2f2;
  --gray-200:  #e0e0e0;
  --gray-400:  #888888;
  --gray-600:  #4a4a4a;
  --gray-800:  #1a1a1a;
  --text:      #1a1a1a;
  --shadow-sm: 0 2px 8px rgba(155,28,44,.08);
  --shadow-md: 0 4px 24px rgba(155,28,44,.12);
  --shadow-lg: 0 12px 48px rgba(155,28,44,.16);
  --radius:    12px;
  --radius-lg: 20px;
  --font-serif: 'Montserrat', system-ui, sans-serif;
  --font-sans:  'Nunito Sans', system-ui, sans-serif;
  --transition: .3s ease;
  --max-w: 1160px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Utility ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section    { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.text-center { text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ── Typography ── */
h1,h2,h3 { font-family: var(--font-serif); line-height: 1.15; font-weight: 700; letter-spacing: -.02em; }
h4,h5 { font-family: var(--font-serif); line-height: 1.3; font-weight: 600; }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { color: var(--gray-600); }

.section-label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-500);
  background: var(--green-50);
  border: 1px solid var(--green-100);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-title { margin-bottom: 16px; }
.section-subtitle { font-size: 1.05rem; color: var(--gray-400); max-width: 640px; margin: 0 auto 48px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 8px;
  font-family: var(--font-sans); font-size: .95rem; font-weight: 600;
  cursor: pointer; border: none; transition: var(--transition);
  white-space: nowrap;
}
.btn-primary { background: var(--green-700); color: var(--white); }
.btn-primary:hover { background: var(--green-900); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--green-700); border: 2px solid var(--green-700); }
.btn-outline:hover { background: var(--green-700); color: var(--white); }
.btn-white { background: var(--white); color: var(--green-700); }
.btn-white:hover { background: var(--green-50); transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: #d4920a; transform: translateY(-2px); }

/* ── NAVIGATION ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-brand {
  display: flex; align-items: center; gap: 12px;
}
.nav-brand .logo-mark {
  width: 70px;
  height: 70px;
  border-radius: 0;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: visible;
  box-shadow: none;
}
.nav-brand .logo-mark img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  display: block;
}
.nav-brand-text .brand-name {
  font-family: var(--font-serif);
  font-size: 1.18rem; font-weight: 700;
  color: var(--green-900); line-height: 1.1;
  letter-spacing: -0.01em;
}
.nav-brand-text .brand-sub {
  font-size: .67rem; color: var(--gray-400); letter-spacing: .06em; text-transform: uppercase;
  font-weight: 600;
}
.nav-links {
  display: flex; align-items: center; gap: 4px;
}
.nav-links a {
  padding: 7px 14px; border-radius: 6px;
  font-size: .9rem; font-weight: 500; color: var(--gray-600);
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--green-700); background: var(--green-50); }
.nav-cta { margin-left: 12px; }
.nav-cta .btn { padding: 9px 20px; font-size: .88rem; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px; border: none; background: none;
}
.hamburger span {
  width: 24px; height: 2px; background: var(--gray-800);
  border-radius: 2px; transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile nav ── */
.mobile-menu {
  display: none; position: fixed;
  top: 72px; left: 0; right: 0; bottom: 0;
  background: var(--white); z-index: 999;
  padding: 32px 24px; overflow-y: auto;
  transform: translateX(100%); transition: transform var(--transition);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  display: block; padding: 14px 0;
  font-size: 1.1rem; font-weight: 500;
  color: var(--gray-800); border-bottom: 1px solid var(--gray-100);
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--green-700); }
.mobile-menu .btn { margin-top: 24px; width: 100%; justify-content: center; }

/* ── HERO ── */
.hero {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  background:
    linear-gradient(135deg, rgba(26,5,5,.94) 0%, rgba(60,10,15,.88) 45%, rgba(90,15,25,.82) 100%),
    url('https://images.unsplash.com/photo-1584515933487-779824d29309?w=1600&q=85&auto=format&fit=crop') center/cover no-repeat;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 40%, rgba(201,38,58,.18) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 120px;
  background: linear-gradient(to bottom, transparent, rgba(26,5,5,.15));
  pointer-events: none;
}

/* Hero inner: two-column layout — text left, visual right */
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 1;
}
.hero-content  { position: relative; z-index: 1; }
.hero-visual   {
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
}
.hero-visual-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%; max-width: 380px;
}
.hero-visual-card {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px; padding: 24px 18px;
  backdrop-filter: blur(8px);
  text-align: center;
  transition: transform .3s ease, background .3s ease;
}
.hero-visual-card:hover { background: rgba(255,255,255,.16); transform: translateY(-4px); }
.hero-visual-card .vc-icon { font-size: 2rem; margin-bottom: 10px; color: #ffffff !important; }
.hero-visual-card .vc-label { font-size: .78rem; color: rgba(255,255,255,.80); font-weight: 500; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  color: #f8c0c8; padding: 6px 16px; border-radius: 100px;
  font-size: .82rem; font-weight: 500; letter-spacing: .06em;
  margin-bottom: 28px;
}
.hero-badge span { width: 6px; height: 6px; background: #e03547; border-radius: 50%; flex-shrink:0; animation: pulse 2s infinite; }
.hero h1 { color: var(--white); margin-bottom: 20px; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.hero h1 em { font-style: normal; color: #f8a0ab; }
.hero-sub { font-size: 1.08rem; color: rgba(255,255,255,.82); margin-bottom: 40px; max-width: 480px; line-height: 1.75; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 32px; flex-wrap: wrap;
  margin-top: 56px; padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.hero-stat .stat-num {
  font-family: var(--font-serif); font-size: 2rem; font-weight: 700;
  color: var(--white); line-height: 1;
}
.hero-stat .stat-label { font-size: .78rem; color: rgba(255,255,255,.60); margin-top: 5px; text-transform: uppercase; letter-spacing: .06em; }
.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,.45); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  z-index: 2;
}
.hero-scroll .scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
  animation: scrollDown 2s ease infinite;
}
/* Hero responsive */
@media(max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .hero { min-height: auto; padding: 120px 0 80px; }
}

/* ── ABOUT SUMMARY ── */
.about-summary { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}
.about-visual img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.about-visual-badge {
  position: absolute; bottom: 24px; left: 24px; right: 24px;
  background: rgba(60,10,15,.92);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex; align-items: center; gap: 14px;
  border: 1px solid rgba(255,255,255,.12);
}
.about-visual-badge .abadge-icon { font-size: 1.8rem; flex-shrink: 0; }
.about-visual-badge .abadge-text strong { color: #fff; display: block; font-size: .9rem; }
.about-visual-badge .abadge-text span   { color: rgba(255,255,255,.65); font-size: .78rem; }
.about-icon-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; position: relative; z-index: 1;
}
.about-icon-card {
  background: var(--white); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow-sm); text-align: center;
}
.about-icon-card .icon { font-size: 2rem; margin-bottom: 8px; }
.about-icon-card span { font-size: .82rem; font-weight: 500; color: var(--gray-600); }
.about-text .section-label { display: block; }
.about-text p { margin-bottom: 16px; }
.about-text .btn { margin-top: 8px; }

/* ── SERVICES CARDS ── */
.services-section { background: var(--gray-50); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.service-card {
  background: var(--white); border-radius: var(--radius);
  padding: 32px; border: 1px solid var(--gray-200);
  transition: var(--transition); position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--green-500), var(--green-400));
  transform: scaleX(0); transition: var(--transition); transform-origin: left;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--green-100); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--green-50); display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 20px;
}
.service-card h3 { margin-bottom: 12px; font-size: 1.1rem; }
.service-card p { font-size: .92rem; }
.service-card .learn-more {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 16px; font-size: .88rem; font-weight: 600; color: var(--green-700);
  transition: gap var(--transition);
}
.service-card:hover .learn-more { gap: 8px; }

/* ── PROJECTS PREVIEW ── */
.projects-preview { background: var(--white); }
.projects-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.project-card {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--gray-200); transition: var(--transition);
}
.project-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.project-card-head {
  padding: 28px 28px 20px;
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
}
.project-badge {
  display: inline-block; background: rgba(255,255,255,.15);
  color: rgba(255,255,255,.9); font-size: .72rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 100px; margin-bottom: 12px;
}
.project-card-head h3 { color: var(--white); font-size: 1.2rem; }
.project-card-body { padding: 24px 28px; }
.project-card-body p { font-size: .92rem; margin-bottom: 16px; }
.project-card-body .btn { font-size: .85rem; padding: 8px 18px; }

/* ── CTA BANNER ── */
.cta-section {
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 100%);
  padding: 80px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: -100px; left: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: rgba(255,255,255,.04);
}
.cta-section::after {
  content: ''; position: absolute; bottom: -80px; right: -80px;
  width: 320px; height: 320px; border-radius: 50%;
  background: rgba(255,255,255,.04);
}
.cta-section h2 { color: var(--white); position: relative; z-index: 1; margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,.75); font-size: 1.05rem; margin-bottom: 36px; position: relative; z-index: 1; }
.cta-section .cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  padding: 120px 0 64px;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,.75); font-size: 1.1rem; max-width: 580px; margin: 0 auto; }
.breadcrumb { display: flex; align-items: center; gap: 8px; justify-content: center; margin-top: 20px; }
.breadcrumb a { color: rgba(255,255,255,.65); font-size: .85rem; }
.breadcrumb span { color: rgba(255,255,255,.4); font-size: .85rem; }
.breadcrumb .current { color: rgba(255,255,255,.9); font-size: .85rem; }

/* ── ABOUT PAGE ── */
.mission-vision { background: var(--gray-50); }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.mv-card {
  background: var(--white); border-radius: var(--radius);
  padding: 40px; border: 1px solid var(--gray-200);
}
.mv-card .mv-icon { font-size: 2.4rem; margin-bottom: 16px; }
.mv-card h3 { margin-bottom: 12px; color: var(--green-900); }
.mv-card p { color: var(--gray-600); }

.values-section { background: var(--white); }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.value-card {
  background: var(--gray-50); border-radius: var(--radius);
  padding: 28px; border-left: 4px solid var(--green-500);
  transition: var(--transition);
}
.value-card:hover { background: var(--green-50); transform: translateX(4px); }
.value-card h4 { color: var(--green-900); margin-bottom: 8px; }
.value-card p { font-size: .9rem; }

/* ── TEAM PAGE ── */
.team-section { background: var(--white); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.team-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--gray-200);
  transition: var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.team-card-top {
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  padding: 36px 28px 20px; text-align: center;
}
.team-avatar {
  width: 88px; height: 88px; border-radius: 50%;
  background: rgba(255,255,255,.15);
  border: 3px solid rgba(255,255,255,.3);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 1.8rem; font-weight: 700;
  color: var(--white); margin: 0 auto 16px;
}
.team-card-top h3 { color: var(--white); font-size: 1.15rem; margin-bottom: 6px; }
.team-title { color: rgba(255,255,255,.75); font-size: .85rem; font-weight: 500; }
.team-card-body { padding: 24px 28px; }
.team-card-body p { font-size: .9rem; line-height: 1.7; }

/* ── SERVICES PAGE ── */
.service-detail {
  padding: 56px 0;
  border-bottom: 1px solid var(--gray-200);
}
.service-detail:last-child { border-bottom: none; }
.service-detail-grid { display: grid; grid-template-columns: 200px 1fr; gap: 48px; align-items: start; }
.service-detail-icon {
  width: 100%; aspect-ratio: 1; border-radius: var(--radius);
  background: var(--green-50); display: flex; align-items: center; justify-content: center;
  font-size: 4rem; flex-shrink: 0;
}
.service-detail-content h2 { margin-bottom: 16px; font-size: 1.8rem; }
.service-detail-content p { margin-bottom: 12px; }

/* ── PROJECTS PAGE ── */
.project-full {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 40px; border: 1px solid var(--gray-200); margin-bottom: 28px;
  transition: var(--transition);
}
.project-full:hover { box-shadow: var(--shadow-md); }
.project-status {
  display: inline-block; font-size: .75rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 100px; margin-bottom: 16px;
}
.project-status.ongoing { background: #fde8eb; color: #9b1c2c; }
.project-status.future  { background: #fef9c3; color: #854d0e; }
.project-full h2 { margin-bottom: 8px; font-size: 1.6rem; }
.project-full .project-tagline { color: var(--green-700); font-weight: 500; margin-bottom: 20px; }
.project-full p { margin-bottom: 12px; }
.project-objectives { margin-top: 20px; }
.project-objectives h4 { margin-bottom: 12px; color: var(--green-900); }
.project-objectives ul { display: flex; flex-direction: column; gap: 8px; }
.project-objectives li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .92rem; color: var(--gray-600);
}
.project-objectives li::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--green-500); flex-shrink: 0; margin-top: 7px;
}

/* ── PUBLICATIONS ── */
.publications-section { background: var(--white); }
.pub-list { display: flex; flex-direction: column; gap: 20px; }
.pub-card {
  background: var(--gray-50); border-radius: var(--radius);
  padding: 28px 32px; border: 1px solid var(--gray-200);
  display: flex; align-items: flex-start; gap: 20px;
  transition: var(--transition);
}
.pub-card:hover { background: var(--green-50); border-color: var(--green-200); }
.pub-num {
  font-family: var(--font-serif); font-size: 2rem; font-weight: 700;
  color: var(--green-200); flex-shrink: 0; line-height: 1;
}
.pub-content h3 { font-size: 1.05rem; margin-bottom: 6px; color: var(--green-900); }
.pub-content p { font-size: .88rem; }

/* ── WORK WITH US ── */
.work-section { background: var(--white); }
.collab-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-bottom: 56px; }
.collab-card {
  text-align: center; padding: 32px 20px;
  background: var(--gray-50); border-radius: var(--radius);
  border: 1px solid var(--gray-200); transition: var(--transition);
}
.collab-card:hover { background: var(--green-50); transform: translateY(-4px); }
.collab-card .icon { font-size: 2.4rem; margin-bottom: 12px; }
.collab-card h4 { color: var(--green-900); margin-bottom: 6px; }
.collab-card p { font-size: .88rem; }

.careers-box {
  background: var(--green-50); border-radius: var(--radius-lg);
  padding: 48px; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center;
  border: 1px solid var(--green-100);
}
.careers-box h3 { color: var(--green-900); margin-bottom: 12px; }
.careers-box p { margin-bottom: 0; }
.careers-contact { text-align: center; flex-shrink: 0; }
.careers-contact .email-link {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); padding: 14px 22px; border-radius: 10px;
  font-weight: 600; color: var(--green-700);
  border: 1px solid var(--green-200); transition: var(--transition);
}
.careers-contact .email-link:hover { background: var(--green-700); color: var(--white); }

/* ── CONTACT PAGE ── */
.contact-section { background: var(--gray-50); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; }
.contact-info h2 { margin-bottom: 16px; }
.contact-info p { margin-bottom: 32px; }
.contact-detail {
  display: flex; align-items: flex-start; gap: 14px;
  margin-bottom: 20px;
}
.contact-detail .icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--green-50); border: 1px solid var(--green-100);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.contact-detail .detail-text strong { display: block; margin-bottom: 2px; color: var(--green-900); font-size: .9rem; }
.contact-detail .detail-text span { color: var(--gray-600); font-size: .92rem; }

/* Contact Form */
.contact-form-box {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 40px; box-shadow: var(--shadow-md);
}
.contact-form-box h3 { margin-bottom: 24px; }
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group label {
  display: block; margin-bottom: 6px;
  font-size: .88rem; font-weight: 600; color: var(--gray-800);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 12px 16px; border-radius: 8px;
  border: 1px solid var(--gray-200); background: var(--gray-50);
  font-family: var(--font-sans); font-size: .95rem; color: var(--text);
  transition: var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none; border-color: var(--green-500);
  background: var(--white); box-shadow: 0 0 0 3px rgba(45,154,87,.1);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--gray-400); }

.form-submit { width: 100%; justify-content: center; padding: 14px; font-size: 1rem; }

.alert {
  padding: 14px 18px; border-radius: 8px; margin-bottom: 20px; font-size: .92rem;
}
.alert-success { background: #fde8eb; color: #9b1c2c; border: 1px solid #bbf7d0; }
.alert-error   { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }

/* ── FOOTER ── */
footer {
  background: var(--green-900); color: rgba(255,255,255,1);
}
.footer-top {
  padding: 72px 0 48px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px;
}
.footer-brand .logo-mark {
  width: 56px; height: 56px; border-radius: 0;
  background: transparent;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.footer-brand .logo-mark svg { width: 28px; height: 28px; fill: white; }
.footer-brand h3 { color: var(--white); font-family: var(--font-serif); font-size: 1.15rem; margin-bottom: 10px; }
.footer-brand p { font-size: .88rem; max-width: 280px; color: #ffffff; }
.footer-col h4 { color: var(--white); font-size: .92rem; margin-bottom: 16px; font-family: var(--font-sans); letter-spacing: .06em; text-transform: uppercase; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: .88rem; transition: color var(--transition); color: #ffffff; }
.footer-col ul a:hover { color: #f8c0c8; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; font-size: .88rem; color: #ffffff; }
.footer-contact-item .ficon { flex-shrink: 0; margin-top: 1px; opacity: 1; color: #f8c0c8; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.2);
  padding: 20px 0; display: flex;
  align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: .82rem; color: #ffffff; }
.footer-bottom a { color: #f8c0c8; }
/* Sub-footer / WashaHost credit */
.sub-footer {
  background: #0a1f10;
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 12px 0;
  text-align: center;
}
.sub-footer p {
  font-size: .78rem;
  color: rgba(255,255,255,.85);
  margin: 0;
  font-family: var(--font-sans);
}
.sub-footer a { color: #e03547; text-decoration: none; font-weight: 600; }
.sub-footer a:hover { color: #f8c0c8; }
.sub-footer i { margin-right: 5px; color: #e03547; }

/* ── ANIMATIONS ── */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(1.5); }
}
@keyframes scrollDown {
  0%   { opacity: 1; transform: scaleY(1) translateY(0); }
  100% { opacity: 0; transform: scaleY(0.5) translateY(20px); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-24px); }
  to   { opacity: 1; transform: translateX(0); }
}

.fade-in { opacity: 0; animation: fadeInUp .6s ease forwards; }
.fade-in.delay-1 { animation-delay: .1s; }
.fade-in.delay-2 { animation-delay: .2s; }
.fade-in.delay-3 { animation-delay: .3s; }
.fade-in.delay-4 { animation-delay: .4s; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Dividers & accents ── */
.divider { height: 1px; background: var(--gray-200); margin: 0; }
.tag {
  display: inline-block; background: var(--green-50); color: var(--green-700);
  border: 1px solid var(--green-100); border-radius: 4px;
  font-size: .75rem; font-weight: 600; letter-spacing: .06em;
  padding: 2px 8px; text-transform: uppercase;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .about-grid { gap: 40px; }
  .service-detail-grid { grid-template-columns: 140px 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }

  .hero { min-height: auto; padding: 120px 0 80px; }
  .hero-stats { gap: 24px; }
  .hero-stat .stat-num { font-size: 1.6rem; }

  .about-grid { grid-template-columns: 1fr; }
  .about-visual { display: none; }

  .projects-grid { grid-template-columns: 1fr; }
  .mv-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }

  .service-detail-grid { grid-template-columns: 1fr; }
  .service-detail-icon { width: 80px; height: 80px; font-size: 2.4rem; }

  .careers-box { grid-template-columns: 1fr; text-align: center; }
  .careers-contact { text-align: center; }

  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .cta-section .cta-actions { flex-direction: column; align-items: center; }
}

/* ═══════════════════════════════════════════
   BLOG / NEWS CARDS
═══════════════════════════════════════════ */
.blog-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:28px; }
.blog-card {
  background:var(--white); border-radius:var(--radius);
  overflow:hidden; border:1px solid var(--gray-200); transition:var(--transition);
}
.blog-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-lg); }
.blog-thumb { aspect-ratio:16/9; background:var(--green-100); overflow:hidden; }
.blog-thumb img { width:100%; height:100%; object-fit:cover; }
.blog-thumb-placeholder {
  width:100%; height:100%; display:flex; align-items:center; justify-content:center;
  font-size:3rem; background:var(--green-50);
}
.blog-body { padding:24px; }
.blog-meta { display:flex; gap:10px; flex-wrap:wrap; margin-bottom:10px; font-size:.78rem; color:var(--gray-400); }
.blog-body h3 { font-size:1.05rem; margin-bottom:10px; }
.blog-body h3 a { color:var(--green-900); transition:color var(--transition); }
.blog-body h3 a:hover { color:var(--green-700); }
.blog-body p { font-size:.9rem; }
.blog-readmore, .learn-more {
  display:inline-flex; align-items:center; gap:4px;
  margin-top:14px; font-size:.88rem; font-weight:600; color:var(--green-700);
  transition:gap var(--transition);
}
.blog-card:hover .learn-more,
.blog-card:hover .blog-readmore { gap:8px; }

/* ═══════════════════════════════════════════
   GLOBAL RESPONSIVE FIXES
═══════════════════════════════════════════ */
/* Ensure body never overflows horizontally */
html, body { overflow-x: hidden; width: 100%; }

/* Fix hero full-bleed */
.hero { width: 100%; box-sizing: border-box; }

/* Nav logo prevents overflow on small screens */
.nav-brand { min-width: 0; overflow: hidden; }
.nav-brand-text { min-width: 0; }
.nav-brand-text .brand-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* About grid single-col on medium screens */
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { display: none; }
  .projects-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
}

/* Stack hero stats on small */
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .stat-num { font-size: 1.6rem !important; }
  .cta-section .cta-actions { flex-direction: column; align-items: center; }
}

/* ═══════════════════════════════════════════
   STOCK PHOTO SECTIONS
═══════════════════════════════════════════ */

/* Page hero with photo background (inner pages) */
.page-hero {
  background:
    linear-gradient(135deg, rgba(26,5,5,.90) 0%, rgba(60,10,15,.85) 60%, rgba(90,15,25,.80) 100%),
    url('https://images.unsplash.com/photo-1576091160550-2173dba999ef?w=1400&q=80&auto=format&fit=crop') center/cover no-repeat;
  padding: 120px 0 64px;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p  { color: rgba(255,255,255,.75); font-size: 1.1rem; max-width: 580px; margin: 0 auto; }

/* Breadcrumb */
.breadcrumb   { display: flex; align-items: center; gap: 8px; justify-content: center; margin-top: 20px; }
.breadcrumb a { color: rgba(255,255,255,.65); font-size: .85rem; }
.breadcrumb span { color: rgba(255,255,255,.4); font-size: .85rem; }
.breadcrumb .current { color: rgba(255,255,255,.9); font-size: .85rem; }

/* Photo feature strip — used in about page */
.photo-strip {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin: 56px 0;
}
.photo-strip-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}
.photo-strip-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s ease;
}
.photo-strip-item:hover img { transform: scale(1.05); }
.photo-strip-item .ps-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(13,45,25,.9) 0%, transparent 100%);
  padding: 24px 16px 14px;
  color: #fff; font-size: .82rem; font-weight: 600;
}

/* Services page photo banner */
.service-photo-banner {
  position: relative; height: 260px; border-radius: var(--radius-lg);
  overflow: hidden; margin-bottom: 40px;
}
.service-photo-banner img {
  width: 100%; height: 100%; object-fit: cover;
}
.service-photo-banner .spb-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(60,10,15,.85) 0%, rgba(60,10,15,.4) 60%, transparent 100%);
  display: flex; align-items: center; padding: 0 40px;
}
.service-photo-banner .spb-text h2 { color: #fff; font-size: 1.6rem; margin-bottom: 6px; }
.service-photo-banner .spb-text p  { color: rgba(255,255,255,.78); font-size: .92rem; max-width: 400px; }

/* Team photo cards */
.team-avatar-photo {
  width: 88px; height: 88px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,.35);
  overflow: hidden; margin: 0 auto 16px;
}
.team-avatar-photo img { width: 100%; height: 100%; object-fit: cover; }

/* CTA with photo */
.cta-photo-section {
  position: relative; overflow: hidden;
  padding: 100px 0; text-align: center;
}
.cta-photo-section::before {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(26,5,5,.95) 0%, rgba(60,10,15,.90) 50%, rgba(90,15,25,.88) 100%),
    url('https://images.unsplash.com/photo-1530026405186-ed1f139313f8?w=1400&q=80&auto=format&fit=crop') center/cover no-repeat;
  z-index: 0;
}
.cta-photo-section > * { position: relative; z-index: 1; }
.cta-photo-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-photo-section p  { color: rgba(255,255,255,.78); font-size: 1.05rem; margin-bottom: 36px; }

/* Impact numbers section with photo */
.impact-section {
  position: relative; padding: 80px 0;
}
.impact-section::before {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(26,5,5,.97) 0%, rgba(155,28,44,.93) 100%),
    url('https://images.unsplash.com/photo-1631217868264-e5b90bb7e133?w=1400&q=80&auto=format&fit=crop') center/cover no-repeat;
  z-index: 0;
}
.impact-section .container { position: relative; z-index: 1; }
.impact-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center;
}
.impact-item .impact-num {
  font-family: var(--font-serif); font-size: 3rem; font-weight: 700; color: #f8a0ab; line-height: 1;
}
.impact-item .impact-label { color: rgba(255,255,255,.7); font-size: .88rem; margin-top: 8px; text-transform: uppercase; letter-spacing: .08em; }
.impact-item .impact-desc  { color: rgba(255,255,255,.5); font-size: .78rem; margin-top: 4px; }

/* Responsive photo strip */
@media(max-width: 768px) {
  .photo-strip { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .service-photo-banner { height: 180px; }
  .service-photo-banner .spb-overlay { padding: 0 20px; }
}

/* ── Font Awesome Icon Overrides ── */
/* Make FA icons render cleanly inside existing icon containers */
.vc-icon i, .service-icon i, .mv-icon i,
.abadge-icon i, .service-detail-icon i,
.collab-card .icon i, .contact-detail .icon i,
.ficon i, .value-card h4 i {
  display: inline-block;
  line-height: 1;
}

/* Hero floating cards */
.vc-icon { display:flex; align-items:center; justify-content:center; font-size:1.5rem; color:#ffffff !important; }

/* Service icon circles */
.service-icon { display:flex; align-items:center; justify-content:center; font-size:1.6rem; }
.service-icon i { color: var(--green-700); }

/* Mission / Vision icons */
.mv-icon { display:flex; align-items:center; justify-content:center; font-size:2rem; color: var(--green-700); }

/* About badge icon */
.abadge-icon { display:flex; align-items:center; justify-content:center; font-size:1.6rem; }

/* Service detail large icon */
.service-detail-icon { display:flex; align-items:center; justify-content:center; font-size:2.2rem; color: var(--green-700); }

/* Collab / work cards */
.collab-card .icon, .work-card .icon { display:flex; align-items:center; justify-content:center; font-size:1.8rem; color: var(--green-700); }

/* Contact detail icons */
.contact-detail .icon { display:flex; align-items:center; justify-content:center; font-size:1.2rem; color: var(--green-700); }

/* Footer icons */
.ficon i { font-size:.9rem; }

/* Value card heading icons */
.value-card h4 i { margin-right:6px; font-size:.95em; color: var(--green-700); }

/* Publication link icon */
.pub-content a i { margin-right:5px; font-size:.85em; }

/* Contact quick-link icons */
.quick-links a i { margin-right:6px; }

/* ═══════════════════════════════════════════════════════════
   PUBLICATIONS GRID
═══════════════════════════════════════════════════════════ */
.pub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}

.pub-card-grid {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.pub-card-grid:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pub-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
}
.pub-card-icon {
  width: 48px; height: 48px;
  background: rgba(255,255,255,.18);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: #fff;
}
.pub-year-badge {
  background: rgba(0,0,0,.2);
  color: #fff;
  font-size: .75rem; font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: .06em;
}

.pub-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pub-card-body h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green-900);
  line-height: 1.35;
}
.pub-authors {
  font-size: .82rem;
  color: var(--gray-600);
  font-style: normal;
  line-height: 1.5;
}
.pub-journal {
  font-size: .82rem;
  color: var(--green-700);
  font-weight: 600;
}
.pub-highlight {
  display: inline-block;
  background: var(--green-50);
  color: var(--green-700);
  font-size: .74rem;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 6px;
  font-style: normal;
  font-weight: 600;
}
.pub-abstract {
  font-size: .88rem;
  color: var(--gray-600);
  line-height: 1.65;
  flex: 1;
}
.pub-findings {
  background: var(--green-50);
  border-left: 3px solid var(--green-500);
  border-radius: 0 8px 8px 0;
  padding: 12px 16px;
}
.pub-findings-title {
  font-size: .8rem;
  font-weight: 700;
  color: var(--green-700);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 8px;
}
.pub-findings-title i { margin-right: 5px; }
.pub-findings ul {
  list-style: none;
  display: flex; flex-direction: column; gap: 5px;
}
.pub-findings ul li {
  font-size: .82rem;
  color: var(--green-900);
  padding-left: 14px;
  position: relative;
}
.pub-findings ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--green-500);
  font-size: .78rem;
}
.pub-tags {
  display: flex; gap: 5px; flex-wrap: wrap;
  margin-top: auto;
  padding-top: 8px;
}
.pub-doi-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 9px 16px;
  background: var(--green-700);
  color: #fff;
  border-radius: 7px;
  font-size: .84rem;
  font-weight: 600;
  text-align: center;
  justify-content: center;
  transition: background var(--transition);
  text-decoration: none;
}
.pub-doi-link:hover { background: var(--green-900); color: #fff; }
.pub-doi-link.pub-inpress {
  background: var(--gray-100);
  color: var(--gray-600);
  cursor: default;
}

/* ═══════════════════════════════════════════════════════════
   PROJECTS GRID
═══════════════════════════════════════════════════════════ */
.proj-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 32px;
}

.proj-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.proj-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.proj-card-top {
  padding: 24px;
  display: flex; align-items: flex-start; justify-content: space-between;
}
.proj-card-icon {
  width: 52px; height: 52px;
  background: rgba(255,255,255,.18);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: #fff;
}
.proj-status-badge {
  font-size: .72rem; font-weight: 700;
  padding: 4px 10px; border-radius: 20px;
  letter-spacing: .05em; text-transform: uppercase;
}
.proj-status-badge.ongoing { background: rgba(255,255,255,.22); color: #fff; }
.proj-status-badge.planned { background: rgba(255,255,255,.15); color: rgba(255,255,255,.85); }

.proj-card-body {
  padding: 24px;
  flex: 1; display: flex; flex-direction: column; gap: 10px;
}
.proj-card-body h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem; font-weight: 700;
  color: var(--green-900); line-height: 1.3;
}
.proj-tagline {
  font-size: .85rem; color: var(--green-700);
  font-weight: 600; font-style: italic;
}
.proj-desc {
  font-size: .9rem; color: var(--gray-600);
  line-height: 1.65; flex: 1;
}
.proj-objectives {
  background: var(--gray-50);
  border-radius: 8px;
  padding: 12px 14px;
  margin-top: 4px;
}
.proj-obj-title {
  font-size: .78rem; font-weight: 700;
  color: var(--green-700);
  text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: 8px;
}
.proj-obj-title i { margin-right: 5px; }
.proj-objectives ul { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.proj-objectives ul li {
  font-size: .82rem; color: var(--gray-600);
  padding-left: 14px; position: relative;
}
.proj-objectives ul li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--green-500); font-size: .78rem; font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════
   LOGO — bigger, fully visible
═══════════════════════════════════════════════════════════ */
.nav-brand { gap: 14px; }
.nav-brand .logo-mark img { width: 70px; height: 70px; object-fit: contain; }

/* Tighten navbar height to accommodate bigger logo */
.navbar { padding: 8px 0; }
.nav-inner { min-height: 72px; }

/* Footer logo */
.footer-brand .logo-mark { width: 64px; height: 64px; }
.footer-brand .logo-mark img { width: 64px; height: 64px; object-fit: contain; filter: brightness(0) invert(1); }

/* ═══════════════════════════════════════════════════════════
   TYPOGRAPHY REFINEMENTS (non-AI, editorial look)
═══════════════════════════════════════════════════════════ */
.section-label {
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-700);
  background: var(--green-50);
  border: 1px solid var(--green-100);
  padding: 5px 14px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 16px;
}
.section-title {
  font-style: italic;
}
p { font-size: .97rem; }

/* Service cards — less boxy, more refined */
.service-card {
  border-top: 3px solid var(--green-400);
  border-radius: 0 0 var(--radius) var(--radius);
}
.service-card:hover { transform: translateY(-3px); }

/* News/blog grid — make blog-thumb use icon instead of emoji */
.blog-thumb-placeholder {
  display: flex; align-items: center; justify-content: center;
  height: 100%; font-size: 2rem; color: var(--green-400);
}
.blog-thumb-placeholder::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f1ea"; /* fa-newspaper */
  font-size: 2rem;
  color: var(--green-400);
}
.blog-thumb-placeholder { font-size: 0; } /* hide emoji fallback */

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — Grid collapse on mobile
═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .pub-grid  { grid-template-columns: 1fr; }
  .proj-grid { grid-template-columns: 1fr; }
  .nav-brand .logo-mark, .nav-brand .logo-mark img { width: 52px; height: 52px; }
}


/* ═══════════════════════════════════════════════════════════
   PAGE HERO — enhanced with background image
═══════════════════════════════════════════════════════════ */
.page-hero {
  position: relative;
  padding: 120px 0 72px;
  text-align: center;
  overflow: hidden;
  background: var(--green-900);
}
.page-hero-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(10,31,16,.88) 0%, rgba(20,50,70,.82) 100%);
  z-index: 1;
}
.page-hero-content {
  position: relative;
  z-index: 2;
}
.page-hero-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 2px solid rgba(255,255,255,.25);
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}
.page-hero h1 { color: #fff; margin-bottom: 14px; font-size: clamp(2rem,5vw,3.2rem); }
.page-hero p  { color: rgba(255,255,255,.82); font-size: 1.1rem; max-width: 600px; margin: 0 auto 24px; }

/* ═══════════════════════════════════════════════════════════
   SECTION HEADER ROW
═══════════════════════════════════════════════════════════ */
.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 56px;
}
.section-header-accent {
  flex-shrink: 0;
  width: 80px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--green-700), var(--green-400));
  margin-bottom: 12px;
}

/* ═══════════════════════════════════════════════════════════
   PROJECTS STATS BAR
═══════════════════════════════════════════════════════════ */
.projects-stats-bar {
  background: var(--green-900);
  padding: 20px 0;
  border-bottom: 3px solid var(--green-700);
}
.psbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.psbar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 36px;
  color: #fff;
}
.psbar-item > i {
  font-size: 1.6rem;
  color: #e03547;
}
.psbar-item strong {
  display: block;
  font-size: 1.3rem;
  font-family: var(--font-serif);
  color: #fff;
  line-height: 1;
}
.psbar-item span {
  font-size: .78rem;
  color: rgba(255,255,255,.65);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.psbar-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.2);
}

/* ═══════════════════════════════════════════════════════════
   PROJECT CARDS V2 — full redesign
═══════════════════════════════════════════════════════════ */
.proj-grid-v2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 36px;
}
.proj-card-v2 {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
  transition: transform .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
}
.proj-card-v2:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,.15);
}

/* Image area */
.pcv2-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.pcv2-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s;
}
.proj-card-v2:hover .pcv2-image img { transform: scale(1.06); }
.pcv2-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 20%, rgba(0,0,0,.65) 100%);
}
.pcv2-top-row {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
}
.pcv2-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--card-color, #9b1c2c);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
}
.pcv2-badge {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.pcv2-badge--ongoing {
  background: rgba(76, 222, 130, .2);
  color: #e03547;
  border: 1px solid rgba(76,222,130,.4);
}
.pcv2-badge--planned {
  background: rgba(168,140,255,.2);
  color: #c8b4ff;
  border: 1px solid rgba(168,140,255,.4);
}
.pcv2-title-over {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 2;
}
.pcv2-title-over h3 {
  color: #fff;
  font-size: 1.3rem;
  margin: 0 0 4px;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.pcv2-tagline {
  color: rgba(255,255,255,.75);
  font-size: .82rem;
  margin: 0;
}

/* Card body */
.pcv2-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.pcv2-desc {
  font-size: .9rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 20px;
}
.pcv2-objectives {
  background: var(--gray-50);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 20px;
}
.pcv2-obj-title {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--green-700);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.pcv2-objectives ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.pcv2-objectives ul li {
  font-size: .84rem;
  color: var(--gray-600);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}
.pcv2-objectives ul li i {
  flex-shrink: 0;
  margin-top: 3px;
  font-size: .7rem;
  color: var(--green-600);
}
.pcv2-objectives ul li i.fa-arrow-right {
  color: #7a4d8a;
}
.pcv2-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
}
.pcv2-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.pcv2-status-text {
  font-size: .78rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: .06em;
  flex: 1;
}
.pcv2-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
  background: var(--green-700);
  color: #fff;
  transition: background .2s, transform .2s;
}
.pcv2-btn:hover { background: var(--green-900); transform: translateY(-1px); }
.pcv2-btn--alt { background: #4d2e6b; }
.pcv2-btn--alt:hover { background: #361f4d; }

/* CTA icon wrap */
.cta-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  font-size: 1.8rem;
  color: #e03547;
  margin-bottom: 20px;
  border: 2px solid rgba(255,255,255,.2);
}

/* ═══════════════════════════════════════════════════════════
   PUBLICATIONS V2 — horizontal card layout
═══════════════════════════════════════════════════════════ */
.pub-grid-v2 {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.pub-card-v2 {
  display: grid;
  grid-template-columns: 260px 1fr;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 28px rgba(0,0,0,.09);
  background: var(--white);
  transition: transform .3s, box-shadow .3s;
}
.pub-card-v2:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 44px rgba(0,0,0,.14);
}

/* Left panel */
.pub-v2-left {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  overflow: hidden;
}
.pub-v2-img {
  position: absolute;
  inset: 0;
}
.pub-v2-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s;
}
.pub-card-v2:hover .pub-v2-img img { transform: scale(1.07); }
.pub-v2-img-overlay {
  position: absolute;
  inset: 0;
  opacity: .88;
}
.pub-v2-year-block {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 20px 20px;
  flex: 1;
  text-align: center;
}
.pub-v2-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  border: 2px solid rgba(255,255,255,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 16px;
}
.pub-v2-year {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.pub-v2-year-label {
  font-size: .7rem;
  color: rgba(255,255,255,.65);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-top: 4px;
}
.pub-v2-doi-btn {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 16px 20px;
  padding: 10px 16px;
  border-radius: 8px;
  background: rgba(255,255,255,.2);
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.3);
  transition: background .2s;
  text-align: center;
}
.pub-v2-doi-btn:hover { background: rgba(255,255,255,.32); }
.pub-v2-doi-btn--pending { opacity: .7; cursor: default; }

/* Right panel */
.pub-v2-right {
  padding: 30px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pub-v2-journal-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.pub-v2-journal-badge {
  font-size: .82rem;
  color: var(--gray-500);
  padding: 4px 10px;
  background: var(--gray-50);
  border-radius: 4px;
  font-style: italic;
}
.pub-v2-highlight {
  font-size: .74rem;
  background: var(--green-50);
  color: var(--green-700);
  border: 1px solid var(--green-100);
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 600;
}
.pub-v2-title {
  font-size: 1.15rem;
  color: var(--text);
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
}
.pub-v2-authors {
  font-size: .82rem;
  color: var(--gray-400);
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 7px;
}
.pub-v2-authors i { flex-shrink:0; margin-top: 2px; color: var(--green-600); }
.pub-v2-abstract {
  background: var(--gray-50);
  border-radius: 10px;
  padding: 14px 16px;
  border-left: 3px solid var(--green-400);
}
.pub-v2-abstract-label {
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--green-700);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.pub-v2-abstract p:last-child {
  font-size: .86rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin: 0;
}
.pub-v2-findings {
  border-radius: 10px;
  padding: 14px 16px;
  background: #f0f9f4;
  border: 1px solid var(--green-100);
}
.pub-v2-findings-label {
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--green-700);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.pub-v2-findings ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pub-v2-findings ul li {
  font-size: .83rem;
  color: var(--gray-600);
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.5;
}
.pub-v2-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 4px;
}
.pub-v2-tag {
  font-size: .72rem;
  padding: 4px 11px;
  border-radius: 20px;
  background: var(--gray-100);
  color: var(--gray-500);
  border: 1px solid var(--gray-200);
  transition: background .2s, color .2s;
}
.pub-v2-tag:hover { background: var(--green-50); color: var(--green-700); border-color: var(--green-200); }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — new components
═══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .pub-card-v2 { grid-template-columns: 1fr; }
  .pub-v2-left { height: 200px; }
  .pub-v2-year-block { flex-direction: row; padding: 20px; gap: 16px; justify-content: flex-start; }
  .pub-v2-doi-btn { margin: 0 16px 16px; }
  .proj-grid-v2 { grid-template-columns: 1fr; }
  .section-header-row { flex-direction: column; align-items: flex-start; }
  .psbar-inner { gap: 0; }
  .psbar-item { padding: 8px 20px; }
}
@media (max-width: 600px) {
  .psbar-inner { gap: 0; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
  .pub-v2-right { padding: 20px; }
  .pcv2-body { padding: 18px; }
  .page-hero { padding: 100px 0 56px; }
}
