/* Prosper Medical Supplies — Professional Medical Supplies Landing */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  --navy:       #1a2744;
  --teal:       #0f6b68;
  --teal-light: #2a9d92;
  --gold:       #c8952a;
  --gold-light: #e8b84b;
  --off-white:  #f7f5f0;
  --light-gray: #eef0f3;
  --text-dark:  #1a1a2e;
  --text-muted: #5a6070;
  --white:      #ffffff;
  --radius:     6px;
  --radius-lg:  12px;
  --shadow-sm:  0 1px 3px rgba(26,39,68,0.08);
  --shadow-md:  0 4px 16px rgba(26,39,68,0.12);
  --shadow-lg:  0 12px 40px rgba(26,39,68,0.16);
}

/* KEYFRAMES */
@keyframes heroFadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes heroPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50%       { transform: scale(1.05); opacity: 0.8; }
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--off-white);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Libre Baskerville', serif; line-height: 1.25; }

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-light); }

/* NAV */
.nav {
  background: var(--navy);
  padding: 0 40px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-md);
}
.nav-brand {
  color: var(--white);
  font-family: 'Libre Baskerville', serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.nav-brand span { color: var(--gold-light); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 8px 20px;
  border-radius: var(--radius);
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover { background: var(--gold-light); transform: translateY(-1px); }

/* HERO */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, #243660 100%);
  padding: 96px 40px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-bg-animation {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 800px;
  margin: -400px 0 0 -400px;
  background: radial-gradient(circle, rgba(15,107,104,0.18) 0%, transparent 70%);
  animation: heroPulse 8s ease-in-out infinite;
  pointer-events: none;
}
.hero-content { position: relative; max-width: 680px; margin: 0 auto; }
.hero-badge {
  display: inline-block;
  background: rgba(200,149,42,0.15);
  border: 1px solid rgba(200,149,42,0.4);
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  opacity: 0;
}
.hero-animate-badge  { animation: heroFadeInUp 600ms ease-out 0ms    forwards; }
.hero-animate-headline { animation: heroFadeInUp 600ms ease-out 150ms  forwards; }
.hero-animate-sub     { animation: heroFadeInUp 600ms ease-out 300ms  forwards; }
.hero-animate-actions { animation: heroFadeInUp 600ms ease-out 450ms  forwards; }
.hero-animate-stats   { animation: heroFadeIn   600ms ease-out 600ms  forwards; }
.hero h1 {
  color: var(--white);
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  margin-bottom: 16px;
  font-weight: 700;
  opacity: 0;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}
.hero-sub {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  margin-bottom: 36px;
  line-height: 1.65;
  opacity: 0;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; opacity: 0; }

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  display: inline-block;
  box-shadow: 0 4px 16px rgba(200,149,42,0.3);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(200,149,42,0.4);
}
.btn-primary.hero-cta-highlight {
  box-shadow: 0 4px 20px rgba(200,149,42,0.45);
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  border: 1.5px solid rgba(255,255,255,0.3);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  display: inline-block;
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.06); }

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  opacity: 0;
}
.hero-stat { text-align: center; }
.hero-stat-num {
  color: var(--white);
  font-size: 1.6rem;
  font-weight: 700;
  font-family: 'Libre Baskerville', serif;
}
.hero-stat-label {
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  margin-top: 2px;
}

/* PRODUCTS SECTION */
.section { padding: 80px 40px; }
.section-teal { background: var(--teal); color: var(--white); }
.section-light { background: var(--light-gray); }
.section-white { background: var(--white); }

.section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 56px;
}
.section-header h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin-bottom: 14px;
}
.section-header p { color: var(--text-muted); font-size: 1.05rem; }
.section-teal .section-header p { color: rgba(255,255,255,0.65); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15,107,104,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.product-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.product-icon svg { width: 22px; height: 22px; stroke: var(--white); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.product-card h3 { font-family: 'DM Sans', sans-serif; font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; color: var(--text-dark); }
.product-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }

/* WHY CHOOSE US */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}
.feature { text-align: center; padding: 8px; }
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(15,107,104,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.feature-icon svg { width: 26px; height: 26px; stroke: var(--teal); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.feature p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.55; }

/* CONTACT SECTION */
#contact { padding: 80px 40px; background: var(--off-white); }
.contact-wrap {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.contact-info h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 16px;
  color: var(--navy);
}
.contact-info p { color: var(--text-muted); margin-bottom: 36px; line-height: 1.65; }
.contact-detail { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.contact-detail-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(15,107,104,0.1); display: flex;
  align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-detail-icon svg { width: 18px; height: 18px; stroke: var(--teal); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-detail-text { font-size: 0.95rem; }
.contact-detail-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 2px; }
.contact-detail-value { color: var(--navy); font-weight: 600; }

/* FORM */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(26,39,68,0.06);
}
.form-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--navy);
}
.form-card > p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 28px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}
.form-group label .req { color: var(--teal); margin-left: 2px; }
.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #d8dde8;
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}
.form-control:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15,107,104,0.1);
}
.form-control.error { border-color: #e05252; }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235a6070' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }

.form-submit {
  width: 100%;
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}
.form-submit:hover { background: var(--gold-light); transform: translateY(-1px); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.form-submit .spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(26,39,68,0.3);
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.form-feedback {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 16px;
  display: none;
  align-items: center;
  gap: 8px;
}
.form-feedback.show { display: flex; }
.form-feedback.success { background: #d4edda; color: #155724; border: 1px solid #b8dac6; }
.form-feedback.error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* FOOTER */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.55);
  padding: 48px 40px 32px;
  font-size: 0.88rem;
}
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer-brand { font-family: 'Libre Baskerville', serif; color: var(--white); font-weight: 700; font-size: 1rem; }
.footer-brand span { color: var(--gold-light); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }

/* ABOUT US SECTION */
.about-wrap {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(15,107,104,0.08);
  border: 1px solid rgba(15,107,104,0.2);
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.about-wrap h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin-bottom: 20px;
  color: var(--navy);
}
.about-lead {
  font-size: 1.1rem;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 16px;
}
.about-body {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 40px;
}
.about-body strong { color: var(--text-dark); }
.about-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--light-gray);
  padding: 8px 16px;
  border-radius: 8px;
}
.trust-item svg { stroke: var(--teal); flex-shrink: 0; }

/* TESTIMONIALS SECTION */
#testimonials { padding: 80px 40px; background: var(--light-gray); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto 28px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(26,39,68,0.06);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.testimonial-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.testimonial-stars { display: flex; gap: 3px; }
.testimonial-quote {
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}
.testimonial-author {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--teal);
  border-top: 1px solid var(--light-gray);
  padding-top: 14px;
}
.testimonial-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
}

/* FOOTER TOP SECTION */
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 24px;
}
.footer-brand-block { max-width: 400px; }
.footer-tagline { color: rgba(255,255,255,0.45); font-size: 0.82rem; margin: 8px 0 16px; }
.footer-compliance { display: flex; flex-direction: column; gap: 8px; }
.compliance-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,0.55);
  font-size: 0.78rem;
}
.compliance-badge svg { stroke: var(--teal-light); flex-shrink: 0; }
.footer-nav-block { }
.footer-nav-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 12px;
}
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }

/* CATALOG SECTION */
#catalog { padding: 80px 40px; background: var(--off-white); }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.section-eyebrow svg { stroke: var(--teal); }

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto 28px;
}

.catalog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1.5px solid rgba(15,107,104,0.1);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
}
.catalog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(15,107,104,0.25);
}

.catalog-card-header {
  padding: 16px 22px 14px;
  border-bottom: 1px solid var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--light-gray);
}
.catalog-category-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--navy);
}
.catalog-cat-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

.catalog-product-list {
  padding: 12px 0;
  flex: 1;
}

.catalog-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 22px;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  transition: background 0.15s;
}
.catalog-item:last-child { border-bottom: none; }
.catalog-item:hover { background: rgba(247,245,240,0.8); }

.catalog-item-info { flex: 1; min-width: 0; }
.catalog-item-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.catalog-item-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
  line-height: 1.3;
}

.catalog-item-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
}
.price-from {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.price-val {
  font-size: 1rem;
  font-weight: 700;
  color: var(--teal);
  font-family: 'DM Sans', sans-serif;
}

.catalog-cta {
  display: block;
  text-align: center;
  padding: 13px 20px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--teal);
  background: rgba(15,107,104,0.07);
  border-top: 1px solid rgba(15,107,104,0.1);
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.02em;
}
.catalog-cta:hover {
  background: var(--teal);
  color: var(--white);
}

.catalog-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.catalog-note svg { stroke: var(--teal); flex-shrink: 0; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav { padding: 0 20px; }
  .nav-links { display: none; }
  .hero { padding: 64px 20px 56px; }
  .hero-stats { gap: 24px; }
  .section { padding: 60px 20px; }
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 28px 20px; }
  .footer { padding: 40px 20px 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .about-trust { gap: 8px 16px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 6px; }
}

@media (max-width: 480px) {
  .hero-stats { flex-direction: column; gap: 20px; }
  .catalog-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
}