/* Jinnah Pharmaceuticals — global styles */

:root {
  --navy: #0a2540;
  --navy-light: #123a5e;
  --teal: #00a99d;
  --teal-dark: #00857c;
  --white: #ffffff;
  --off-white: #f5f8fa;
  --gray-text: #4a5568;
  --border: #e2e8f0;
  --max-width: 1160px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

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

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

/* ---------- Navigation ---------- */

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.nav-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-brand {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.nav-brand span {
  color: var(--teal);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 4px;
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--teal);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--teal);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
}

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

.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 169, 157, 0.35);
}

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 110px 0 100px;
  text-align: center;
}

.hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
  max-width: 820px;
  margin: 0 auto 24px;
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 680px;
  margin: 0 auto 40px;
}

/* ---------- Section basics ---------- */

section {
  padding: 88px 0;
}

.section-alt {
  background: var(--off-white);
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  text-align: center;
  color: var(--gray-text);
  max-width: 640px;
  margin: 0 auto 56px;
  font-size: 1.05rem;
}

/* ---------- About ---------- */

.about-text {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.about-text p {
  color: var(--gray-text);
  font-size: 1.05rem;
  margin-bottom: 20px;
}

/* ---------- Vision & Mission ---------- */

.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.vm-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--teal);
  border-radius: 8px;
  padding: 40px 32px;
  box-shadow: 0 4px 20px rgba(10, 37, 64, 0.06);
}

.vm-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--navy);
}

.vm-card p {
  color: var(--gray-text);
}

/* ---------- Manufacturing grid ---------- */

.mfg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.mfg-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 36px;
  box-shadow: 0 4px 20px rgba(10, 37, 64, 0.06);
}

.mfg-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--navy);
}

.mfg-license {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal-dark);
  background: rgba(0, 169, 157, 0.1);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.mfg-card ul {
  list-style: none;
}

.mfg-card ul li {
  padding: 10px 0;
  border-top: 1px solid var(--border);
  color: var(--gray-text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.mfg-card ul li:first-child {
  border-top: none;
}

.mfg-card ul li::before {
  content: '';
  width: 8px;
  height: 8px;
  min-width: 8px;
  background: var(--teal);
  border-radius: 50%;
}

/* ---------- Capabilities ---------- */

.capabilities-text {
  max-width: 780px;
  margin: 0 auto;
}

.capabilities-text p {
  color: var(--gray-text);
  font-size: 1.05rem;
  margin-bottom: 20px;
}

/* ---------- Quality Commitment ---------- */

.quality-list {
  list-style: none;
  max-width: 780px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.quality-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px 22px;
  color: var(--navy);
  font-size: 1rem;
}

.quality-list li .check {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  margin-top: 2px;
}

/* ---------- CTA ---------- */

.cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  text-align: center;
}

.cta h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

/* ---------- Page header (contact) ---------- */

.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  text-align: center;
  padding: 90px 0 70px;
}

.page-header h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.page-header p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ---------- Contact layout ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(10, 37, 64, 0.06);
}

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

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--navy);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--navy);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 169, 157, 0.15);
}

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

.form-note {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--gray-text);
  text-align: center;
}

/* Honeypot field hidden from real users */
.hidden-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
}

/* ---------- Contact details card ---------- */

.contact-details {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 40px;
}

.contact-details h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--navy);
}

.detail-item {
  margin-bottom: 20px;
}

.detail-item .detail-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--teal-dark);
  margin-bottom: 4px;
}

.detail-item .detail-value {
  color: var(--navy);
  font-size: 1rem;
}

.detail-item a {
  color: var(--navy);
}

.detail-item a:hover {
  color: var(--teal-dark);
}

/* ---------- Footer ---------- */

.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.8);
  padding: 48px 0 28px;
  text-align: center;
}

.footer .footer-brand {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.footer .footer-brand span {
  color: var(--teal);
}

.footer .footer-tagline {
  font-size: 0.95rem;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.7);
}

.footer .footer-copy {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}

/* ---------- Mobile nav toggle (no JS, checkbox trick not needed — simple stack) ---------- */

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .hero h1 {
    font-size: 2.1rem;
  }

  .hero p {
    font-size: 1rem;
  }

  section {
    padding: 64px 0;
  }

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

  .vm-grid,
  .mfg-grid {
    grid-template-columns: 1fr;
  }

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

  .page-header h1 {
    font-size: 1.9rem;
  }
}

@media (max-width: 640px) {
  .nav-inner {
    height: 64px;
  }

  .nav-links {
    gap: 18px;
  }

  .nav-brand {
    font-size: 1.05rem;
  }

  .hero {
    padding: 72px 0 64px;
  }

  .hero h1 {
    font-size: 1.7rem;
  }

  .contact-form-wrap,
  .contact-details {
    padding: 28px 22px;
  }
}
