/*
Theme Name: Prime Diagnostics Landing Page
Theme URI: https://dicemedia.co.in/
Author: Dice Media
Author URI: https://dicemedia.co.in/
Description: A premium single-page landing page theme for Prime Diagnostics.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: prime-diagnostics
*/

:root {
  --bg: #f8fafc;
  --white: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --muted-2: #64748b;
  --border: #e2e8f0;
  --cyan: #06b6d4;
  --cyan-dark: #0891b2;
  --blue: #1d4ed8;
  --dark: #020617;
  --card-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
  --radius: 24px;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }

.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.section { padding: 84px 0; scroll-margin-top: 96px; }
.eyebrow { display: inline-block; margin-bottom: 12px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; color: var(--cyan-dark); }
.section-title { margin: 0; font-size: clamp(30px, 4.4vw, 42px); line-height: 1.1; letter-spacing: -0.03em; }
.section-copy { margin: 14px 0 0; max-width: 760px; color: var(--muted); font-size: 17px; line-height: 1.8; }

.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.84); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(226,232,240,.9); }
.header-inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; cursor: pointer; border: 0; background: transparent; padding: 0; }
.brand-badge { width: 46px; height: 46px; border-radius: 16px; display: grid; place-items: center; color: #fff; font-weight: 800; background: linear-gradient(135deg, var(--cyan), var(--blue)); box-shadow: 0 14px 28px rgba(6,182,212,.24); flex-shrink: 0; }
.brand-meta small { display: block; color: var(--muted-2); font-size: 11px; text-transform: uppercase; letter-spacing: .18em; font-weight: 700; margin-bottom: 4px; }
.brand-meta strong { display: block; font-size: 16px; font-weight: 800; color: var(--text); }
.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav-btn, .btn, .mobile-menu-toggle { border: 0; background: transparent; cursor: pointer; transition: all .25s ease; }
.nav-btn { color: var(--muted); font-size: 14px; font-weight: 600; padding: 10px 12px; border-radius: 999px; }
.nav-btn:hover, .nav-btn.active { color: var(--cyan-dark); background: rgba(6,182,212,.08); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; }
.btn-primary { color: #fff; background: linear-gradient(135deg,#0f172a,#1e293b); box-shadow: 0 12px 24px rgba(15,23,42,.14); }
.btn-primary:hover { transform: translateY(-2px); background: linear-gradient(135deg,var(--cyan-dark),var(--blue)); }
.btn-secondary { color: var(--text); background: var(--white); border: 1px solid #cbd5e1; }
.btn-secondary:hover { transform: translateY(-2px); border-color: #94a3b8; background: #f8fafc; }
.mobile-menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border); color: var(--text); }

.hero { position: relative; overflow: hidden; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 999px; filter: blur(50px); pointer-events: none; }
.hero::before { width: 260px; height: 260px; background: rgba(34,211,238,.18); top: 10px; left: -60px; }
.hero::after { width: 300px; height: 300px; background: rgba(59,130,246,.14); right: -80px; bottom: -40px; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 36px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; background: #fff; border: 1px solid #bae6fd; color: var(--cyan-dark); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.hero-title { margin: 18px 0 0; font-size: clamp(40px, 6vw, 68px); line-height: 1.02; letter-spacing: -.04em; }
.hero-copy { margin: 22px 0 0; max-width: 700px; color: var(--muted); font-size: 18px; line-height: 1.85; }
.hero-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; }
.stats-grid, .services-grid, .partners-grid, .why-grid { display: grid; gap: 20px; }
.stats-grid { margin-top: 32px; grid-template-columns: repeat(4,minmax(0,1fr)); }
.services-grid { margin-top: 36px; grid-template-columns: repeat(3,minmax(0,1fr)); }
.partners-grid { margin-top: 36px; grid-template-columns: repeat(3,minmax(0,1fr)); }
.why-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--card-shadow); transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; }
.card:hover { transform: translateY(-5px); box-shadow: 0 24px 52px rgba(15,23,42,.08); border-color: #cbd5e1; }
.stat-value { font-size: 28px; font-weight: 800; color: var(--dark); letter-spacing: -.03em; }
.stat-label { margin-top: 6px; font-size: 14px; color: var(--muted-2); }
.hero-panel { position: relative; background: #fff; border: 1px solid rgba(255,255,255,.8); border-radius: 32px; padding: 24px; box-shadow: 0 28px 60px rgba(15,23,42,.08); overflow: hidden; }
.hero-panel::after { content: ""; position: absolute; width: 190px; height: 190px; border-radius: 999px; background: rgba(34,211,238,.16); filter: blur(34px); top: -20px; right: -20px; pointer-events: none; }
.hero-panel-inner { position: relative; z-index: 1; }
.panel-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.panel-top small { display: block; color: var(--muted-2); font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.panel-top strong { display: block; color: var(--dark); font-size: 24px; font-weight: 800; }
.panel-tag { display: inline-flex; padding: 10px 14px; border-radius: 999px; background: #ecfeff; color: var(--cyan-dark); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.highlight-list { display: grid; gap: 14px; }
.highlight-item { padding: 18px; border-radius: 20px; background: #f8fafc; border: 1px solid #e2e8f0; transition: all .28s ease; }
.highlight-item:hover { background: #fff; box-shadow: 0 14px 30px rgba(15,23,42,.05); transform: translateY(-2px); }
.highlight-item h3, .service-name, .why-item, .partner-card h3, .contact-card h3 { margin: 0; color: var(--text); }
.highlight-item h3 { font-size: 16px; font-weight: 800; }
.highlight-item p { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.service-card { display: flex; align-items: center; gap: 14px; }
.service-icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 18px; background: linear-gradient(135deg,#ecfeff,#dbeafe); font-size: 24px; flex-shrink: 0; }
.service-name { font-size: 16px; font-weight: 800; line-height: 1.5; }
.partners-section { background: var(--dark); color: #fff; }
.partners-section .eyebrow { color: #67e8f9; }
.partners-section .section-title { color: #fff; }
.partners-section .section-copy { color: #cbd5e1; }
.partner-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); box-shadow: none; }
.partner-card:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.12); }
.partner-card h3 { color: #fff; font-size: 22px; font-weight: 800; margin-bottom: 14px; }
.partner-card ul { margin: 0; padding-left: 18px; color: #cbd5e1; line-height: 1.9; }
.why-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: 28px; align-items: start; }
.why-item { font-size: 16px; font-weight: 700; }
.cta-box { background: linear-gradient(135deg,var(--cyan-dark),var(--blue) 55%,#0f172a); color: #fff; border-radius: 32px; padding: 34px; box-shadow: 0 24px 60px rgba(6,182,212,.16); }
.cta-grid { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.cta-box .eyebrow { color: #cffafe; }
.cta-box .section-title, .cta-box .section-copy { color: #fff; }
.cta-box .section-copy { opacity: .92; max-width: 780px; }
.footer { background: #fff; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 28px; align-items: start; }
.contact-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 14px; }
.contact-card p { margin: 0 0 12px; color: var(--muted); line-height: 1.8; }
.contact-card strong { color: var(--text); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1024px) {
  .hero-grid, .why-layout, .footer-grid, .cta-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .services-grid, .partners-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .container { width: min(var(--container), calc(100% - 24px)); }
  .section { padding: 64px 0; }
  .header-inner { min-height: auto; padding: 14px 0; flex-wrap: wrap; }
  .mobile-menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding-top: 8px; }
  .nav.open { display: flex; }
  .nav-btn { text-align: left; width: 100%; }
  .header-cta { margin-left: auto; }
  .stats-grid, .services-grid, .partners-grid, .why-grid { grid-template-columns: 1fr; }
  .panel-top { flex-direction: column; align-items: flex-start; }
  .hero-title { font-size: clamp(34px, 10vw, 50px); }
  .hero-copy, .section-copy { font-size: 16px; }
  .cta-box { padding: 26px; }
}

/* ==============================

   Premium Footer

============================== */

.site-footer {

  background: #07131f;

  color: #ffffff;

  padding: 70px 6% 24px;

  font-family: inherit;

}

.footer-container {

  max-width: 1200px;

  margin: 0 auto;

  display: grid;

  grid-template-columns: 1.4fr 1fr 1fr;

  gap: 50px;

  padding-bottom: 42px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.12);

}

.footer-brand h3,

.footer-location h4,

.footer-contact h4 {

  margin-bottom: 16px;

  color: #ffffff;

  font-weight: 600;

}

.footer-brand h3 {

  font-size: 28px;

  letter-spacing: -0.5px;

}

.footer-brand p,

.footer-location p,

.footer-bottom p {

  color: rgba(255, 255, 255, 0.72);

  line-height: 1.7;

  font-size: 15px;

}

.footer-map-link {

  display: inline-block;

  margin-top: 12px;

  color: #7ed6ff;

  text-decoration: none;

  font-weight: 500;

  transition: all 0.3s ease;

}

.footer-map-link:hover {

  color: #ffffff;

  transform: translateX(4px);

}

.footer-contact ul {

  list-style: none;

  padding: 0;

  margin: 0;

}

.footer-contact ul li {

  margin-bottom: 10px;

}

.footer-contact ul li a {

  color: rgba(255, 255, 255, 0.72);

  text-decoration: none;

  transition: all 0.3s ease;

}

.footer-contact ul li a:hover {

  color: #ffffff;

  padding-left: 5px;

}

.footer-bottom {

  max-width: 1200px;

  margin: 24px auto 0;

  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 20px;

}

.developer-credit {

  display: flex;

  align-items: center;

  gap: 12px;

}

.developer-credit span {

  color: rgba(255, 255, 255, 0.68);

  font-size: 14px;

}

.developer-credit {

  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 10px;

  text-align: center;

}

.developer-credit span {

  color: rgba(255, 255, 255, 0.68);

  font-size: 14px;

}

.developer-credit a {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  background: #ffffff;

  padding: 10px 16px;

  border-radius: 14px;

  min-width: 125px;

  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);

  transition: all 0.3s ease;

}

.developer-credit a:hover {

  transform: translateY(-2px);

  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);

}

.developer-credit img {

  width: 95px;

  height: auto;

  display: block;

  object-fit: contain;

}

/* Footer Mobile Responsive */

@media (max-width: 900px) {

  .footer-container {

    grid-template-columns: 1fr;

    gap: 34px;

  }

  .footer-bottom {

    flex-direction: column;

    align-items: flex-start;

  }

}
@media (max-width: 520px) {

  .site-footer {

    padding: 52px 24px 22px;

  }

  .footer-brand h3 {

    font-size: 24px;

  }

  .developer-credit {

    align-items: flex-start;

    text-align: left;

  }

  .developer-credit img {

    width: 85px;

  }

  .developer-credit a {

    padding: 9px 14px;

    min-width: 112px;

    border-radius: 12px;

  }

}
