/* ============================================
   Inspire Pharmaceuticals - Static Site CSS
   Colors: Pink #DE077F, Blue #049BC2, Dark #06111E
   ============================================ */

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

:root {
  --pink: #DE077F;
  --pink-light: #E82A83;
  --blue: #049BC2;
  --dark: #06111E;
  --white: #FFFFFF;
  --light-gray: #f5f5f5;
  --text: #333333;
  --font: 'Roboto', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
}

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

/* ---- Top Bar ---- */
.top-bar {
  background: var(--white);
  border-bottom: 1px solid #eee;
  padding: 8px 0;
  font-size: 14px;
}
.top-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--dark);
}
.top-bar-contact i { color: var(--pink); }
.top-bar-social { display: flex; gap: 12px; }
.top-bar-social a {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  transition: background 0.2s;
}
.top-bar-social a:hover { background: var(--dark); }

/* ---- Header / Nav ---- */
header {
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 75px;
}
.logo img { height: 50px; width: auto; }
.logo-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
}
.logo-text span { color: var(--pink); }

nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
nav ul li { position: relative; }
nav ul li a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
nav ul li a:hover,
nav ul li a.active { color: var(--pink); }

/* Dropdown */
nav ul li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  min-width: 260px;
  border-top: 3px solid var(--pink);
  flex-direction: column;
  gap: 0;
}
nav ul li:hover > ul { display: flex; }
nav ul li ul li a {
  padding: 10px 18px;
  border-radius: 0;
  font-size: 13px;
  border-bottom: 1px solid #f0f0f0;
}
nav ul li ul li a:hover { background: #fdf0f7; color: var(--pink); }

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--dark);
  transition: all 0.3s;
}

/* ---- Hero Slider ---- */
.hero-slider {
  position: relative;
  overflow: hidden;
  height: 500px;
  background: var(--dark);
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  background-size: cover;
  background-position: center;
}
.slide.active { opacity: 1; }
.slide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6,17,30,0.55);
  display: flex;
  align-items: center;
}
.slide-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  color: var(--white);
}
.slide-content h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}
.slide-content p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 28px;
  max-width: 560px;
}
.slider-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.slider-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  border: none;
  transition: background 0.2s;
}
.slider-dot.active { background: var(--pink); }
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  color: white;
  border: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s;
  display: flex; align-items: center; justify-content: center;
}
.slider-arrow:hover { background: var(--pink); }
.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
}
.btn-pink {
  background: var(--pink);
  color: #fff;
  border-color: var(--pink);
}
.btn-pink:hover {
  background: transparent;
  color: var(--pink);
}
.btn-outline-pink {
  background: transparent;
  color: var(--pink);
  border-color: var(--pink);
}
.btn-outline-pink:hover {
  background: var(--pink);
  color: #fff;
}
.btn-blue {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.btn-blue:hover {
  background: transparent;
  color: var(--blue);
}

/* ---- Section base ---- */
section { padding: 70px 20px; }
.container {
  max-width: 1200px;
  margin: 0 auto;
}
.section-title {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 20px;
}
.section-title.blue { color: var(--blue); }
.section-title.pink { color: var(--pink); }
.section-title.white { color: var(--white); }
.divider {
  width: 60px; height: 4px;
  background: var(--pink);
  margin-bottom: 24px;
}

/* ---- About Section (Home) ---- */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
}
.about-image {
  background-size: cover;
  background-position: center;
  min-height: 380px;
}
.about-content {
  background-size: cover;
  background-position: center;
  position: relative;
}
.about-content::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.85);
}
.about-content-inner {
  position: relative;
  padding: 60px 50px;
}
.about-content-inner h2 { color: var(--blue); font-size: 40px; font-weight: 800; margin-bottom: 20px; }
.about-content-inner p { color: var(--text); font-size: 16px; line-height: 1.7; margin-bottom: 28px; }

/* ---- Therapeutic Areas (dark banner) ---- */
.therapeutic {
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 70px 20px;
}
.therapeutic::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(6,17,30,0.52);
}
.therapeutic .container { position: relative; }
.therapeutic h2 { color: #fff; font-size: 40px; font-weight: 800; margin-bottom: 24px; }
.area-list { margin-bottom: 32px; }
.area-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.area-list li i { color: var(--pink); font-size: 14px; }

/* ---- Partners ---- */
.partners { background: var(--light-gray); }
.partners h2 { color: var(--blue); font-size: 40px; font-weight: 800; margin-bottom: 40px; text-align: center; }
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
}
.partner-item {
  background: #fff;
  border: 1px solid #eee;
  padding: 16px 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 90px;
  transition: box-shadow 0.2s;
}
.partner-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.partner-item img { max-width: 130px; max-height: 60px; object-fit: contain; }

/* ---- About Page ---- */
.page-hero {
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 80px 20px;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(6,17,30,0.6);
}
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: 48px; font-weight: 800; }
.page-hero .breadcrumb { color: rgba(255,255,255,0.8); font-size: 14px; margin-top: 10px; }
.page-hero .breadcrumb a { color: var(--pink); }

.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 400px;
}
.about-intro-image {
  background-size: cover;
  background-position: center;
}
.about-intro-text {
  padding: 60px 50px;
  background: var(--white);
}
.about-intro-text h2 { color: var(--blue); font-size: 36px; font-weight: 800; margin-bottom: 16px; }
.about-intro-text p { margin-bottom: 16px; line-height: 1.7; }

.mission-vision {
  background: var(--light-gray);
  padding: 70px 20px;
}
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 20px;
}
.mv-card {
  background: #fff;
  border-radius: 8px;
  padding: 40px 36px;
  border-top: 4px solid var(--pink);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.mv-card h3 { font-size: 22px; font-weight: 700; color: var(--dark); margin-bottom: 16px; }
.mv-card p { line-height: 1.7; }

.core-values-section {
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 70px 20px;
}
.core-values-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(6,17,30,0.7);
}
.core-values-section .container { position: relative; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}
.value-item {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 30px 24px;
  text-align: center;
  backdrop-filter: blur(4px);
  transition: background 0.2s;
}
.value-item:hover { background: rgba(222,7,127,0.3); }
.value-item i {
  font-size: 32px;
  color: var(--pink);
  margin-bottom: 14px;
}
.value-item h4 { color: #fff; font-size: 18px; font-weight: 700; }

/* ---- Products Page ---- */
.product-section {
  padding: 70px 20px;
}
.product-section:nth-child(even) { background: var(--light-gray); }
.product-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 380px;
}
.product-split.reverse { direction: rtl; }
.product-split.reverse > * { direction: ltr; }
.product-image {
  background-size: cover;
  background-position: center;
}
.product-content {
  padding: 50px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.product-content h2 { font-size: 32px; font-weight: 800; color: var(--blue); margin-bottom: 20px; }
.product-items { margin-bottom: 28px; }
.product-items li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  font-size: 15px;
}
.product-items li i { color: var(--pink); margin-top: 3px; flex-shrink: 0; }

/* ---- Contact Page ---- */
.contact-section { padding: 70px 20px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: start;
}
.contact-info h2 { font-size: 32px; font-weight: 800; color: var(--blue); margin-bottom: 30px; }
.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}
.contact-icon {
  width: 48px; height: 48px;
  background: var(--pink);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-item-text h4 { font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.contact-item-text p, .contact-item-text a { color: var(--text); font-size: 15px; line-height: 1.6; }
.contact-item-text a:hover { color: var(--pink); }

.contact-form-wrapper h2 { font-size: 28px; font-weight: 800; color: var(--blue); margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; color: var(--dark); }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 15px;
  font-family: var(--font);
  transition: border-color 0.2s;
  background: #fff;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--pink);
}
.form-group textarea { height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.map-wrapper {
  margin-top: 50px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.map-wrapper iframe { display: block; width: 100%; }

/* ---- Useful Links ---- */
.useful-links-section { padding: 70px 20px; }
.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.link-card {
  background: var(--light-gray);
  border-radius: 8px;
  padding: 24px;
  border-left: 4px solid var(--pink);
  transition: transform 0.2s, box-shadow 0.2s;
}
.link-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.08); }
.link-card h4 { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.link-card a { color: var(--blue); font-size: 14px; }
.link-card a:hover { color: var(--pink); }

/* ---- Footer ---- */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.8);
  padding: 60px 20px 0;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand img { height: 45px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  transition: background 0.2s;
}
.footer-social a:hover { background: var(--pink); }
.footer-col h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 40px; height: 3px;
  background: var(--pink);
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--pink); }
.footer-col ul li a i { font-size: 10px; }
.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  align-items: flex-start;
}
.footer-contact-item i { color: var(--pink); margin-top: 3px; flex-shrink: 0; }
.footer-contact-item span { font-size: 14px; line-height: 1.5; }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .about-split,
  .about-intro,
  .product-split,
  .mv-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .product-split.reverse { direction: ltr; }
  .about-image,
  .about-intro-image,
  .product-image { min-height: 260px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .slide-content h1 { font-size: 32px; }
  .section-title { font-size: 30px; }
}
@media (max-width: 640px) {
  nav { display: none; }
  nav.open {
    display: block;
    position: absolute;
    top: 75px; left: 0; right: 0;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    padding: 16px 0;
    z-index: 999;
  }
  nav.open ul { flex-direction: column; }
  nav.open ul li ul { position: static; box-shadow: none; padding-left: 20px; }
  nav.open ul li:hover > ul { display: flex; }
  .hamburger { display: flex; }
  header { position: relative; }
  .hero-slider { height: 320px; }
  .slide-content h1 { font-size: 24px; }
  .slide-content p { font-size: 14px; }
  .about-content-inner { padding: 40px 24px; }
  .product-content { padding: 36px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .top-bar-inner { flex-direction: column; align-items: flex-start; }
}
