/* ==========================================================================
   AKWA Research Laboratory - Light & Balanced Scientific Theme
   Domain: akwa.uz
   
   Palette:
     - Light Background (White):  #ffffff
     - Light Section (Mist):      #f1f5f8
     - Light Card Surface:        #ffffff
     - Light Card Sub-surface:    #f8fafc
     - Dark Accent Section (Logo):#353f49 (RGB: 53, 63, 73)
     - Footer / Deep Slate:       #283038 (RGB: 40, 48, 56)
     
     - Text Primary (Dark):       #242d35 (Contrast 14.5:1 on White -> AAA)
     - Text Body (Slate):         #3c4955 (Contrast 9.2:1 on White -> AAA)
     - Text Muted:                #627382 (Contrast 4.9:1 on White -> AA)
     
     - Terracotta / Coral:        #a54137 (Contrast 6.16:1 on White -> AA)
     - Terracotta Button:         #9e4a44 (Text #ffffff -> Contrast 5.01:1 -> AA)
     - Sage Green:                #306941 (Contrast 6.52:1 on White -> AA)
     - Denim Blue:                #2e536e (Contrast 7.89:1 on White -> AAA)
   ========================================================================== */

:root {
  --color-bg-white: #ffffff;
  --color-bg-light: #f1f5f8;
  --color-bg-subtle: #f8fafc;
  --color-bg-slate: #353f49;
  --color-bg-dark: #283038;
  --color-bg-deep: #1e242a;
  
  --color-card-light: #ffffff;
  --color-card-dark: #3e4954;
  
  --color-text-dark: #242d35;
  --color-text-body: #3c4955;
  --color-text-muted: #627382;
  
  --color-ivory: #efebe0;
  --color-text-dark-section: #ccdae4;
  --color-text-muted-dark: #afbec9;
  
  --color-terracotta: #a54137;
  --color-terracotta-btn: #9e4a44;
  --color-terracotta-hover: #86352c;
  --color-terracotta-light: #fdf2f0;
  
  --color-sage: #306941;
  --color-sage-light: #edf7ef;
  --color-denim: #2e536e;
  --color-denim-light: #edf4f8;
  
  --border-light: #e2e8f0;
  --border-subtle: #edf2f7;
  --border-dark: rgba(239, 235, 224, 0.15);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 14px rgba(40, 48, 56, 0.08);
  --shadow-lg: 0 12px 30px rgba(40, 48, 56, 0.12);
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --container-max: 1220px;
  --transition: all 0.2s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--color-bg-white);
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg-white);
  color: var(--color-text-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  color: var(--color-terracotta);
}

ul {
  list-style: none;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   Header & Navigation - Single Line, Perfectly Balanced
   ========================================================================== */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 1.25rem;
  flex-wrap: nowrap;
}

.logo-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
  white-space: nowrap;
}

/* Big A emblem ONLY from the logo without labels */
.nav-logo-icon {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
}

.brand-name {
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: var(--color-text-dark);
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: nowrap;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-dark);
  padding: 0.45rem 0.65rem;
  white-space: nowrap;
  display: inline-block;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-terracotta);
  background-color: var(--color-terracotta-light);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-nav {
  padding: 0.55rem 1.15rem;
  font-size: 0.88rem;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-terracotta-btn);
  color: #ffffff;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid var(--color-terracotta-btn);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(165, 65, 55, 0.25);
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary:hover {
  background-color: var(--color-terracotta-hover);
  border-color: var(--color-terracotta-hover);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(165, 65, 55, 0.35);
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--color-sage);
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1.5px solid var(--color-sage);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-secondary:hover {
  background-color: var(--color-sage-light);
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--color-text-dark);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0.35rem 0.55rem;
}

/* ==========================================================================
   Hero Section - Bright, Airy & Clean
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(180deg, #f8fafc 0%, #edf2f6 100%);
  padding: 4.5rem 0 5rem;
  border-bottom: 1px solid var(--border-light);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 3.5rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background-color: var(--color-terracotta-light);
  color: var(--color-terracotta);
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid rgba(165, 65, 55, 0.3);
  margin-bottom: 1.25rem;
  align-self: flex-start;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-terracotta);
  box-shadow: 0 0 6px rgba(165, 65, 55, 0.5);
}

.hero-title {
  font-size: 2.9rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--color-text-dark);
  margin-bottom: 1.25rem;
}

.hero-title span.hl-sage {
  color: var(--color-sage);
}

.hero-subtitle {
  font-size: 1.08rem;
  color: var(--color-text-body);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-stats-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

.stat-item {
  flex: 1 1 120px;
  min-width: 100px;
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1.1;
  color: var(--color-text-dark);
}

.stat-item:nth-child(1) .stat-num { color: var(--color-sage); }
.stat-item:nth-child(2) .stat-num { color: var(--color-denim); }
.stat-item:nth-child(3) .stat-num { color: var(--color-terracotta); }
.stat-item:nth-child(4) .stat-num { color: var(--color-text-dark); }

.stat-label {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
  font-weight: 500;
}

/* Framed Logo Seal in Hero */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo-frame {
  background-color: var(--color-bg-slate);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-logo-img {
  width: 100%;
  max-width: 360px;
  height: auto;
  object-fit: contain;
  margin-bottom: 1.25rem;
  border-radius: var(--radius-md);
}

.hero-card-meta {
  width: 100%;
  border-top: 1px solid rgba(239, 235, 224, 0.15);
  padding-top: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  text-align: left;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.84rem;
  color: #ccdae4;
}

.hero-meta-item:nth-child(1) svg { color: #81a388; }
.hero-meta-item:nth-child(2) svg { color: #aabdca; }
.hero-meta-item:nth-child(3) svg { color: #e0b5b1; }

/* ==========================================================================
   Section Layouts
   ========================================================================== */
.section-padding {
  padding: 5rem 0;
}

.section-white {
  background-color: var(--color-bg-white);
  border-bottom: 1px solid var(--border-light);
}

.section-mist {
  background-color: var(--color-bg-light);
  border-bottom: 1px solid var(--border-light);
}

.section-dark-accent {
  background-color: var(--color-bg-slate);
  color: #ccdae4;
  border-bottom: 1px solid var(--border-light);
}

.section-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 3.5rem;
}

.section-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-terracotta);
  background-color: var(--color-terracotta-light);
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(165, 65, 55, 0.3);
  margin-bottom: 0.75rem;
}

.section-badge.badge-sage {
  color: var(--color-sage);
  background-color: var(--color-sage-light);
  border-color: rgba(48, 105, 65, 0.3);
}

.section-badge.badge-denim {
  color: var(--color-denim);
  background-color: var(--color-denim-light);
  border-color: rgba(46, 83, 110, 0.3);
}

.section-dark-accent .section-badge {
  background-color: rgba(186, 99, 92, 0.2);
  color: #e0b5b1;
  border-color: rgba(224, 181, 177, 0.5);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-text-dark);
  line-height: 1.25;
  margin-bottom: 0.85rem;
}

.section-dark-accent .section-title {
  color: var(--color-ivory);
}

.section-subtitle {
  font-size: 1.02rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.section-dark-accent .section-subtitle {
  color: #afbec9;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 3.5rem;
  align-items: start;
}

.about-lead {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.about-text {
  color: var(--color-text-body);
  margin-bottom: 1.35rem;
  line-height: 1.7;
}

.about-features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.feature-box {
  background-color: var(--color-bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: var(--transition);
}

.feature-box:hover {
  background-color: #ffffff;
  border-color: var(--color-sage);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.feature-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background-color: var(--color-sage-light);
  color: var(--color-sage);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-box h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--color-text-dark);
}

.feature-box p {
  font-size: 0.86rem;
  color: var(--color-text-body);
  line-height: 1.5;
}

.about-card-banner {
  background-color: var(--color-bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
}

.about-card-banner h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-text-dark);
  margin-bottom: 0.75rem;
}

.mission-points {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.mission-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.mission-num {
  background-color: var(--color-terracotta-btn);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.82rem;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.mission-item h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 0.2rem;
}

.mission-item p {
  font-size: 0.85rem;
  color: var(--color-text-body);
  line-height: 1.5;
}

/* ==========================================================================
   Pillars & Focus Areas
   ========================================================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.pillar-card {
  background-color: var(--color-card-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.pillar-card:hover {
  border-color: var(--color-sage);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.pillar-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: var(--color-sage-light);
  color: var(--color-sage);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.35rem;
}

.pillar-card:nth-child(2) .pillar-icon-box {
  background-color: var(--color-denim-light);
  color: var(--color-denim);
}

.pillar-card:nth-child(3) .pillar-icon-box {
  background-color: var(--color-terracotta-light);
  color: var(--color-terracotta);
}

.pillar-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.pillar-card p {
  font-size: 0.9rem;
  color: var(--color-text-body);
  line-height: 1.6;
  margin-bottom: 1.35rem;
  flex-grow: 1;
}

.pillar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
}

.pillar-tag {
  background-color: var(--color-bg-subtle);
  color: var(--color-text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
}

/* ==========================================================================
   Achievements & Milestones (Slate Accent Section)
   ========================================================================== */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.achievement-card {
  background-color: var(--color-card-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.achievement-card:hover {
  border-color: #ba635c;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.achievement-year {
  display: inline-block;
  background-color: rgba(186, 99, 92, 0.2);
  color: #e0b5b1;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(224, 181, 177, 0.5);
  margin-bottom: 1rem;
  align-self: flex-start;
}

.achievement-card h3 {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--color-ivory);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.achievement-card p {
  font-size: 0.9rem;
  color: #ccdae4;
  line-height: 1.6;
  flex-grow: 1;
}

.achievement-metric {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(239, 235, 224, 0.15);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  color: #81a388;
  font-weight: 600;
}

/* ==========================================================================
   Staff / Team
   ========================================================================== */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.staff-card {
  background-color: var(--color-card-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.staff-card:hover {
  border-color: var(--color-denim);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.staff-avatar-box {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background-color: var(--color-denim-light);
  border: 2px solid var(--color-denim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--color-denim);
  margin-bottom: 1.25rem;
}

.staff-role-badge {
  display: inline-block;
  background-color: var(--color-terracotta-light);
  color: var(--color-terracotta);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border: 1px solid rgba(165, 65, 55, 0.3);
  margin-bottom: 0.65rem;
  align-self: flex-start;
}

.staff-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 0.2rem;
}

.staff-degree {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-denim);
  margin-bottom: 0.85rem;
}

.staff-bio {
  font-size: 0.86rem;
  color: var(--color-text-body);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.staff-contact-bar {
  border-top: 1px solid var(--border-light);
  padding-top: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.staff-email-link {
  font-size: 0.82rem;
  color: var(--color-sage);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  word-break: break-all;
}

.staff-email-link:hover {
  color: var(--color-text-dark);
}

/* ==========================================================================
   Facilities & Infrastructure
   ========================================================================== */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.facility-card {
  background-color: var(--color-card-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.facility-card:hover {
  border-color: var(--color-sage);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.facility-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--color-sage-light);
  color: var(--color-sage);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.facility-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 0.5rem;
}

.facility-card p {
  font-size: 0.88rem;
  color: var(--color-text-body);
  line-height: 1.6;
}

/* ==========================================================================
   Publications List
   ========================================================================== */
.publications-container {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.publication-card {
  background-color: var(--color-card-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: var(--shadow-sm);
}

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

.pub-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.pub-journal {
  background-color: var(--color-sage-light);
  color: var(--color-sage);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(48, 105, 65, 0.3);
}

.pub-year {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

.pub-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-dark);
  line-height: 1.45;
}

.pub-authors {
  font-size: 0.85rem;
  color: var(--color-denim);
  font-style: italic;
}

.pub-abstract {
  font-size: 0.88rem;
  color: var(--color-text-body);
  line-height: 1.6;
}

.pub-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-light);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pub-doi {
  font-size: 0.78rem;
  color: var(--color-denim);
  font-family: monospace;
  word-break: break-all;
}

.btn-outline-dark {
  background: transparent;
  color: var(--color-text-dark);
  border: 1px solid var(--border-light);
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-outline-dark:hover {
  border-color: var(--color-text-dark);
  background-color: var(--color-bg-subtle);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 3.5rem;
  align-items: start;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-card-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--color-terracotta-light);
  color: var(--color-terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}

.contact-card-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 0.25rem;
}

.contact-card-content p,
.contact-card-content a {
  font-size: 0.9rem;
  color: var(--color-text-body);
  line-height: 1.5;
}

.contact-card-content a:hover {
  color: var(--color-terracotta);
}

/* Contact Form */
.contact-form-box {
  background-color: var(--color-card-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
}

.contact-form-box h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-text-dark);
  margin-bottom: 0.5rem;
}

.contact-form-box p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-bottom: 1.75rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 0.4rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background-color: var(--color-bg-subtle);
  color: var(--color-text-dark);
  font-size: 0.9rem;
  transition: var(--transition);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-text-muted);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-terracotta);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(165, 65, 55, 0.15);
}

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

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.form-status {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  display: none;
}

.form-status.success {
  display: block;
  background-color: var(--color-sage-light);
  color: var(--color-sage);
  border: 1px solid rgba(48, 105, 65, 0.3);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.main-footer {
  background-color: var(--color-bg-dark);
  color: #ccdae4;
  padding: 4.5rem 0 2rem;
  border-top: 1px solid var(--border-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.footer-brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-ivory);
}

.footer-desc {
  font-size: 0.86rem;
  line-height: 1.65;
  color: #afbec9;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-ivory);
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.86rem;
  color: #ccdae4;
}

.footer-links a:hover {
  color: var(--color-ivory);
  padding-left: 4px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-size: 0.86rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.footer-contact-item svg {
  color: #ba635c;
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(239, 235, 224, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: #afbec9;
}

.footer-domain-badge {
  background-color: rgba(186, 99, 92, 0.2);
  color: #e0b5b1;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  border: 1px solid rgba(224, 181, 177, 0.4);
}

/* ==========================================================================
   Responsive & Overlap Prevention
   ========================================================================== */
@media (max-width: 1080px) {
  .nav-links {
    gap: 0.4rem;
  }
  .nav-link {
    font-size: 0.84rem;
    padding: 0.4rem 0.5rem;
  }
  .btn-nav {
    padding: 0.5rem 0.9rem;
    font-size: 0.82rem;
  }
}

@media (max-width: 960px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #ffffff;
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid var(--border-light);
    gap: 0.75rem;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-link {
    padding: 0.6rem 1rem;
    width: 100%;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-badge {
    align-self: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-stats-strip {
    justify-content: center;
  }
  
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .hero-title {
    font-size: 2.3rem;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 1.95rem;
  }
  
  .brand-name {
    font-size: 1.25rem;
  }
  
  .nav-logo-icon {
    height: 40px;
  }
  
  .hero-stats-strip {
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
