@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --color-bg: #03101B; /* Deep dark blue */
  --color-surface: #061c2d;
  --color-surface-light: #0d2a42;
  --color-primary: #ed6c2c; /* Vibrant orange */
  --color-text: #ffffff;
  --color-text-muted: #94a3b8;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: all 0.3s ease;
  --max-width: 1200px;
}

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

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

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

ul {
  list-style: none;
}

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

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
}

.text-primary {
  color: var(--color-primary);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: var(--font-body);
}

.btn-primary {
  background-color: var(--color-primary);
  color: #fff;
}

.btn-primary:hover {
  background-color: #d85c20;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(237, 108, 44, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: #fff;
  background-color: rgba(255, 255, 255, 0.1);
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(3, 16, 27, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo img {
  height: 40px;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding-top: 160px;
  padding-bottom: 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(13,42,66,0.5) 0%, rgba(3,16,27,0) 70%);
  z-index: -1;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h5 {
  color: var(--color-primary);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-content h1 em {
  font-style: italic;
  color: var(--color-primary);
}

.hero-content p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  max-width: 90%;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.network-svg {
  width: 100%;
  max-width: 500px;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

.node-pulse {
  animation: pulse 2s infinite;
  transform-origin: center;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* Stats Section */
.stats {
  padding: 4rem 0;
}

.stats-grid {
  background: linear-gradient(145deg, var(--color-surface), rgba(6, 28, 45, 0.4));
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 3rem;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.stat-item {
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.1);
}

.stat-item h2 {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 0.5rem;
  color: #fff;
}

.stat-item p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Fields of Cooperation (Accordion style list) */
.fields {
  padding: 8rem 0;
  background-color: #fff;
  color: #111827;
}

.fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.fields-content h5 {
  color: var(--color-primary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.fields-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #0f172a;
}

.fields-content > p {
  color: #64748b;
  margin-bottom: 2.5rem;
}

.field-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.field-item {
  background-color: #f1f5f9;
  padding: 1.2rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.field-item:hover, .field-item.active {
  background-color: #fff;
  border-color: #e2e8f0;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.field-item span {
  color: var(--color-primary);
  font-family: var(--font-heading);
}

.fields-visual {
  position: relative;
}

.fields-visual img {
  border-radius: 12px;
  position: relative;
  z-index: 2;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.fields-visual::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  width: 100%;
  height: 100%;
  background-color: var(--color-primary);
  border-radius: 12px;
  z-index: 1;
}

.dots-pattern {
  position: absolute;
  left: -40px;
  top: 40px;
  z-index: 0;
  display: grid;
  grid-template-columns: repeat(3, 8px);
  gap: 12px;
}

.dots-pattern span {
  width: 6px;
  height: 6px;
  background-color: #cbd5e1;
  border-radius: 50%;
}

/* Global Cooperation */
.global {
  padding: 8rem 0;
  background-color: #fff;
  color: #111827;
  border-top: 1px solid #f1f5f9;
}

.global-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.global-content h5 {
  color: var(--color-primary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.global-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #0f172a;
}

.global-content > p {
  color: #64748b;
  margin-bottom: 2rem;
}

.benefit-list {
  margin-bottom: 2.5rem;
}

.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 1rem;
  color: #475569;
  font-size: 0.95rem;
}

.benefit-list li svg {
  color: var(--color-primary);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.global-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Contact / Form Section */
.contact {
  padding: 0;
  background-color: #fff;
}

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

.quote-panel {
  background-image: url('../assets/bg-quote.png');
  background-size: cover;
  background-position: center;
  padding: 6rem 4rem;
  display: flex;
  align-items: center;
  position: relative;
  color: #fff;
}

.quote-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(3,16,27,0.8) 0%, rgba(3,16,27,0.4) 100%);
}

.quote-content {
  position: relative;
  z-index: 1;
}

.quote-content blockquote {
  font-size: 1.8rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 2rem;
  font-family: var(--font-heading);
}

.quote-author {
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
}

.form-panel {
  padding: 6rem 4rem;
  background-color: #f8fafc;
  color: #0f172a;
}

.form-panel h5 {
  color: var(--color-primary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.form-panel h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.form-panel > p {
  color: #64748b;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #475569;
}

.form-group label span {
  color: red;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s;
  background-color: #fff;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
}

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

.form-panel .btn-primary {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
}

.form-note {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 1rem;
  text-align: center;
}

/* Footer */
footer {
  background-color: #061c2d;
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 2rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand img {
  height: 50px;
  margin-bottom: 1.5rem;
}

.footer-brand p {
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
}

.footer-links h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

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

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

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.social-icons a:hover {
  background-color: var(--color-primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Subpages General */
.page-header {
  padding-top: 140px;
  padding-bottom: 60px;
  background: linear-gradient(to right, var(--color-surface), var(--color-bg));
  text-align: center;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.page-header p {
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.content-section {
  padding: 5rem 0;
  background-color: #fff;
  color: #333;
}

/* Notebook Chat Overrides to fit nicely */
#nbueh-panel {
  z-index: 9999;
}
#nbueh-fab {
  z-index: 9998;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid, .fields-grid, .global-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  
  .stat-item:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--color-surface);
    flex-direction: column;
    padding: 2rem;
    text-align: center;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-item::after {
    display: none;
  }
  
  .quote-panel, .form-panel {
    padding: 3rem 2rem;
  }
}

/* Scroll to Top Button */
#scrollToTopBtn {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(237, 108, 44, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 999;
}

#scrollToTopBtn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#scrollToTopBtn:hover {
  background-color: #d85c1e;
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(237, 108, 44, 0.6);
}

.fa-chevron-up:before{
	color:#f26f33 !important;
}