/* Premium Pharma Design System */
:root {
  --primary-color: #0a2540; /* Deep trust blue */
  --secondary-color: #00d4ff; /* Innovation cyan/blue */
  --accent-color: #10b981; /* Health green */
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-color: #f9fafb;
  --white: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.18);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md:
    0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg:
    0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s ease;
  --logo-width: 380px;
  --logo-height: 76px;
}

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

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.3rem 5%;
  transition: var(--transition);
  gap: 2rem;
  min-height: calc(var(--logo-height) + 1rem);
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  width: var(--logo-width);
  height: var(--logo-height);
}

.logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.logo span {
  color: var(--secondary-color);
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-color);
  min-width: 44px;
  min-height: 44px;
}

/* Hero Section */
.hero {
  padding: 8rem 5% 4rem;
  background: linear-gradient(135deg, var(--bg-color) 0%, #e0f2fe 100%);
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  position: relative;
  overflow: hidden;
}

.page-hero {
  min-height: 50vh;
  padding-top: 10rem;
}

.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(0, 212, 255, 0.1) 0%,
    rgba(10, 37, 64, 0) 70%
  );
  border-radius: 50%;
}

.hero-content {
  max-width: 600px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

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

.hero-buttons .btn {
  min-width: 220px;
  text-align: center;
}

.hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.hero-image-right {
  width: 100%;
  max-width: 550px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Make sure the hero collapses to a single column on mobile */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    min-height: auto;
    padding: 7.25rem 5% 3rem;
    gap: 1.6rem;
  }

  .page-hero {
    min-height: auto;
    padding-top: 7rem;
  }

  .hero-content {
    max-width: 23rem;
    margin: 0 auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-buttons .btn {
    width: min(100%, 280px);
    min-width: 0;
  }

  .hero-image-wrapper {
    margin-top: 0.75rem;
  }

  .hero-image-right {
    max-width: 94%;
    border-radius: 16px;
  }
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background-color: #0d3156;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* Sections General */
section {
  padding: 5rem 5%;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
}

/* Cards (Innovation, Therapeutics, Pipeline) */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--white);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

/* Pipeline Specific */
.pipeline-stage {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  background: var(--white);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.stage-name {
  width: 150px;
  font-weight: 600;
  color: var(--primary-color);
}

.progress-bar-container {
  flex-grow: 1;
  background-color: #e5e7eb;
  height: 12px;
  border-radius: 10px;
  overflow: hidden;
  margin: 0 2rem;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--secondary-color),
    var(--primary-color)
  );
  border-radius: 10px;
  transition: width 1.5s ease-in-out;
}

/* Forms */
.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  padding: 3rem;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-panel {
  color: var(--text-dark);
}

.contact-panel h2 {
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 1.5rem;
}

.contact-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.contact-list li {
  background: var(--white);
  border: 1px solid rgba(10, 37, 64, 0.08);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  color: var(--text-dark);
  min-height: 130px;
  padding: 1.25rem;
}

.contact-list a {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-list a:hover {
  color: var(--secondary-color);
}

.contact-label,
.footer-contact span {
  display: block;
  color: var(--secondary-color);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}

.form-container {
  width: min(100%, 680px);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.2);
}

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

/* Footer */
footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 4rem 5% 2rem;
}

footer .logo {
  width: 320px;
  max-width: 100%;
  height: 80px;
}

footer .logo img {
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

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

.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #d1d5db;
  text-decoration: none;
  transition: var(--transition);
}

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

.footer-contact {
  list-style: none;
}

.footer-contact li {
  color: #d1d5db;
  margin-bottom: 1rem;
  overflow-wrap: anywhere;
}

.footer-contact a {
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--white);
}

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

.footer-bottom a {
  color: #d1d5db;
}

.footer-bottom a:hover {
  color: var(--white);
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Responsive */
@media (max-width: 768px) {
  :root {
    --logo-width: clamp(230px, 70vw, 320px);
    --logo-height: 70px;
  }

  .navbar {
    padding: 0.5rem 5%;
  }

  .nav-links {
    position: fixed;
    top: calc(var(--logo-height) + 1rem);
    right: -100%;
    height: calc(100vh - var(--logo-height) - 1rem);
    width: 100%;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    padding-top: 3rem;
    transition: 0.3s ease-in-out;
    box-shadow: var(--shadow-lg);
  }

  .nav-links.active {
    right: 0;
  }

  .hamburger {
    display: block;
  }

  .hero h1 {
    font-size: 2.4rem;
    line-height: 1.08;
    margin-bottom: 1.25rem;
  }

  .hero p {
    max-width: 32ch;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.75rem;
    font-size: 1rem;
    line-height: 1.55;
    color: #526273;
  }

  section {
    padding: 3.5rem 5%;
  }

  .section-title {
    font-size: 2rem;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .form-container {
    padding: 2rem 1.25rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-panel h2 {
    text-align: left;
  }

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

  .contact-list li {
    min-height: auto;
  }

  .pipeline-stage {
    flex-direction: column;
    align-items: flex-start;
  }

  .progress-bar-container {
    width: 100%;
    margin: 1rem 0;
  }

  footer {
    padding-top: 3rem;
  }

  footer .logo {
    width: min(100%, 300px);
  }
}
