/* =========================================================
   SureHealth Solutions — Modern Design System
   Replaces the legacy "Medilab" Bootstrap theme styling.
   ========================================================= */

:root{
  --navy: #0a3550;
  --navy-dark: #072434;
  --teal: #0cb8b6;
  --teal-dark: #089795;
  --ink: #23343f;
  --muted: #5b7686;
  --bg-soft: #f4f8f9;
  --border: #e3eaec;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 10px rgba(10,53,80,0.06);
  --shadow-md: 0 10px 30px rgba(10,53,80,0.10);
  --shadow-lg: 0 20px 50px rgba(10,53,80,0.16);
  --container: 1180px;
  --transition: 0.25s ease;
}

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

html{ scroll-behavior: smooth; }

body{
  font-family: 'Inter', 'Open Sans', Arial, sans-serif;
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  background: var(--white);
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6{
  font-family: 'Poppins', 'Raleway', sans-serif;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 16px;
}

p{ margin: 0 0 16px; color: var(--ink); }
a{ color: var(--teal-dark); text-decoration: none; transition: color var(--transition); }
a:hover{ color: var(--navy); }
img{ max-width: 100%; height: auto; display: block; }
ul{ margin: 0; padding: 0; }

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

.section{ padding: 84px 0; }
.section-tight{ padding: 56px 0; }
.section-soft{ background: var(--bg-soft); }
.section-navy{ background: linear-gradient(135deg, var(--navy) 0%, #0e4a6b 100%); color: #dbe8ee; }
.section-navy h2, .section-navy h3{ color: var(--white); }

.eyebrow{
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 10px;
}
.section-navy .eyebrow{ color: #6be3e1; }

.section-head{ max-width: 700px; margin: 0 auto 48px; text-align: center; }
.section-head h2{ font-size: 32px; margin-bottom: 14px; }
.section-head p{ color: var(--muted); font-size: 17px; margin: 0; }
.section-navy .section-head p{ color: #b8cdd7; }

.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
}
.btn-primary{ background: var(--teal); color: var(--white) !important; }
.btn-primary:hover{ background: var(--teal-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline{ border-color: rgba(255,255,255,0.55); color: var(--white) !important; }
.btn-outline:hover{ background: rgba(255,255,255,0.12); transform: translateY(-2px); }
.btn-navy{ background: var(--navy); color: var(--white) !important; }
.btn-navy:hover{ background: var(--navy-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ===================== Header / Nav ===================== */
.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.site-header.is-scrolled{
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border);
}
.nav-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}
.brand img{ height: 46px; width: auto; }

.nav-list{
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.nav-list > li{ position: relative; }
.nav-list > li > a{
  display: block;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--navy);
  border-radius: 999px;
  transition: background var(--transition), color var(--transition);
}
.nav-list > li > a:hover,
.nav-list > li.current > a{
  background: rgba(12,184,182,0.12);
  color: var(--teal-dark);
}

.has-dropdown > a::after{
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 8px;
  position: relative;
  top: -2px;
}
.dropdown{
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
  border: 1px solid var(--border);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a{
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.dropdown a:hover{ background: var(--bg-soft); color: var(--teal-dark); }

.nav-cta{ margin-left: 8px; }

.nav-toggle{
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span{
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--navy);
  margin: 5px 0;
  border-radius: 2px;
  transition: all var(--transition);
}

@media (max-width: 991px){
  .nav-toggle{ display: block; }
  .nav-list{
    position: fixed;
    top: 82px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 20px;
    box-shadow: var(--shadow-md);
    max-height: calc(100vh - 82px);
    overflow-y: auto;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
  }
  .nav-list.is-open{
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-list > li > a{ padding: 14px 10px; border-radius: 8px; }
  .dropdown{
    position: static;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; display: none;
    background: var(--bg-soft); margin: 4px 0 8px;
  }
  .has-dropdown.is-open .dropdown{ display: block; }
  .has-dropdown > a::after{ float: right; margin-top: 6px; }
  .nav-cta{ margin: 10px 0 0; }
}

/* ===================== Hero ===================== */
.hero{
  position: relative;
  margin-top: 82px;
  min-height: 620px;
  display: flex;
  align-items: center;
  background: linear-gradient(120deg, rgba(7,36,52,0.92) 0%, rgba(10,79,107,0.86) 100%), url('../img/bg-banner.jpg') center/cover no-repeat;
  color: var(--white);
}
.hero-inner{ max-width: 720px; padding: 90px 0; }
.hero .eyebrow{ color: #6be3e1; }
.hero h1{
  color: var(--white);
  font-size: 42px;
  margin-bottom: 20px;
}
.hero p.lead{
  font-size: 18px;
  color: #cfe2e9;
  max-width: 600px;
  margin-bottom: 32px;
}
.hero-cta{ display: flex; gap: 14px; flex-wrap: wrap; }

.hero-badges{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}
.hero-badges span{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #e7f2f5;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 8px 16px;
  border-radius: 999px;
}
.hero-badges i{ color: var(--teal); }

/* Small inner-page banner (subpages) */
.page-banner{
  position: relative;
  margin-top: 82px;
  padding: 70px 0 60px;
  color: var(--white);
  background: linear-gradient(120deg, rgba(7,36,52,0.92) 0%, rgba(10,79,107,0.86) 100%), var(--bg-image, none) center/cover no-repeat;
}
.page-banner h1{ color: var(--white); font-size: 34px; margin-bottom: 10px; }
.breadcrumb{ font-size: 14px; color: #bcd6de; }
.breadcrumb a{ color: #bcd6de; }
.breadcrumb a:hover{ color: var(--white); }

/* ===================== Cards / Services ===================== */
.grid{ display: grid; gap: 26px; }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
.grid-4{ grid-template-columns: repeat(4, 1fr); }

.card{
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-md); }

.card-icon{
  width: 54px; height: 54px;
  border-radius: 14px;
  background: rgba(12,184,182,0.12);
  color: var(--teal-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}
.card h3{ font-size: 19px; margin-bottom: 10px; }
.card p{ color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.card-link{ font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.card-link i{ font-size: 12px; transition: transform var(--transition); }
.card-link:hover i{ transform: translateX(4px); }

/* ===================== About / split content ===================== */
.split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split img{ border-radius: var(--radius); box-shadow: var(--shadow-md); }
.checklist{ list-style: none; margin: 22px 0; }
.checklist li{
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 15.5px;
  color: var(--ink);
}
.checklist i{
  color: var(--teal-dark);
  background: rgba(12,184,182,0.12);
  border-radius: 50%;
  width: 22px; height: 22px;
  flex: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  margin-top: 2px;
}

/* ===================== Partners strip ===================== */
.partners{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 42px;
}
.partners img{ max-height: 46px; width: auto; opacity: 0.75; filter: grayscale(15%); transition: opacity var(--transition); }
.partners img:hover{ opacity: 1; }

/* ===================== CEO / quote ===================== */
.quote-block{
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.quote-block p{ font-size: 19px; color: #d7e7ec; line-height: 1.8; }
.quote-block .who{ margin-top: 20px; font-weight: 700; color: var(--white); }
.quote-block .who span{ display: block; font-weight: 400; font-size: 13.5px; color: #9fc0cb; margin-top: 4px; }

/* ===================== Contact ===================== */
.contact-card{
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 36px;
}
.contact-info-list{ list-style: none; margin-bottom: 24px; }
.contact-info-list li{
  display: flex; gap: 14px; align-items: flex-start;
  margin-bottom: 18px;
  font-size: 15px;
}
.contact-info-list i{
  width: 40px; height: 40px; flex: none;
  border-radius: 10px;
  background: rgba(12,184,182,0.12);
  color: var(--teal-dark);
  display: flex; align-items: center; justify-content: center;
}
.hp-field{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.form-group{ margin-bottom: 18px; }
.form-control{
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus{
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(12,184,182,0.15);
}
textarea.form-control{ resize: vertical; min-height: 130px; }
.validation{ color: #d9534f; display:none; margin: 6px 0 0; font-weight:500; font-size:13px; }
#sendmessage, #errormessage{
  display:none; text-align:center; padding:14px 16px; border-radius: var(--radius-sm);
  font-weight:600; margin-bottom:18px; font-size: 14.5px;
}
#sendmessage{ color: #1c7a4c; background: #e9f7ef; border: 1px solid #bfe6cf; }
#errormessage{ color: #b3261e; background: #fbeceb; border: 1px solid #f2c9c6; }
#sendmessage.show, #errormessage.show{ display:block; }

/* ===================== Footer ===================== */
.site-footer{ background: var(--navy-dark); color: #a9c1cb; }
.footer-top{ padding: 64px 0 40px; }
.footer-col h4{ color: var(--white); font-size: 16px; margin-bottom: 18px; }
.footer-col p, .footer-col li{ font-size: 14.5px; color: #a9c1cb; }
.footer-links{ list-style: none; }
.footer-links li{ margin-bottom: 10px; }
.footer-links a{ color: #a9c1cb; }
.footer-links a:hover{ color: var(--teal); }
.footer-links i{ font-size: 6px; margin-right: 10px; vertical-align: middle; color: var(--teal); }

.social-row{ display: flex; gap: 10px; }
.social-row a{
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  transition: background var(--transition), transform var(--transition);
}
.social-row a:hover{ background: var(--teal); transform: translateY(-3px); color: var(--white); }

.footer-bottom{
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
  text-align: center;
  font-size: 13.5px;
  color: #7d97a2;
}

/* ===================== Utility ===================== */
.text-center{ text-align: center; }
.mt-0{ margin-top: 0; }
.mb-0{ margin-bottom: 0; }

/* ===================== Responsive ===================== */
@media (max-width: 991px){
  .grid-3{ grid-template-columns: repeat(2, 1fr); }
  .grid-4{ grid-template-columns: repeat(2, 1fr); }
  .split{ grid-template-columns: 1fr; gap: 34px; }
  .hero h1{ font-size: 32px; }
  .section{ padding: 60px 0; }
}
@media (max-width: 600px){
  .grid-3, .grid-2, .grid-4{ grid-template-columns: 1fr; }
  .hero{ min-height: auto; }
  .hero-inner{ padding: 60px 0; }
  .hero h1{ font-size: 27px; }
  .section-head h2{ font-size: 26px; }
  .page-banner h1{ font-size: 26px; }
}

/* ===================== Apple touch icon safe-area helper ===================== */
.visually-hidden{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }
