/* =============================================================
   HealthRescue Partners — Premium Cherry Theme
   Rich Red-Burgundy Color Scheme
============================================================= */

:root{
  --navy: #1A0A0A;
  --navy-light: #2D1414;
  --teal: #C41E3A;
  --teal-dark: #8B1528;
  --teal-light: #FDE8EC;
  --accent: #E63946;
  --gray-50: #F8FAFE;
  --gray-100: #F0F4F9;
  --gray-200: #E2E8F0;
  --gray-500: #6B7A8F;
  --gray-700: #2D3748;
  --gray-900: #1A202C;
  --white: #ffffff;
  --radius: 14px;
  --shadow-sm: 0 2px 8px rgba(26,10,10,0.06);
  --shadow-md: 0 8px 30px rgba(26,10,10,0.08);
  --shadow-lg: 0 20px 50px rgba(26,10,10,0.12);
  --font-head: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
}

*{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family: var(--font-body);
  color: var(--gray-700);
  background: var(--white);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4,h5{ font-family: var(--font-head); color: var(--navy); line-height:1.2; font-weight:800;}
a{ text-decoration:none; color:inherit; }
ul{list-style:none;}
img{max-width:100%; display:block;}
.container{ max-width:1180px; margin:0 auto; padding:0 24px; }
section{ padding:88px 0; }
.section-tight{padding:60px 0;}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:14px 32px; border-radius:50px; font-weight:600; font-size:15px;
  border:2px solid transparent; cursor:pointer; transition:.3s ease;
  font-family: var(--font-head);
}
.btn-primary{ 
  background: var(--teal); 
  color:#fff; 
  box-shadow: 0 8px 24px rgba(196,30,58,0.3);
}
.btn-primary:hover{ 
  background: var(--teal-dark); 
  transform: translateY(-3px); 
  box-shadow: 0 12px 32px rgba(196,30,58,0.4);
}
.btn-outline{ background:transparent; border-color: rgba(255,255,255,.5); color:#fff;}
.btn-outline:hover{ background: rgba(255,255,255,.12); transform: translateY(-3px);}
.btn-navy{ background: var(--navy); color:#fff; }
.btn-navy:hover{ background: var(--navy-light); transform: translateY(-3px);}
.btn-accent{ background: var(--accent); color:#fff; box-shadow: 0 8px 24px rgba(230,57,70,0.3);}
.btn-accent:hover{ background: #C62840; transform: translateY(-3px); box-shadow: 0 12px 32px rgba(230,57,70,0.4);}
.btn-block{ width:100%; justify-content:center; }

/* ---------- Topbar ---------- */
.topbar{ background: var(--navy); color:#D4B8B8; font-size:13.5px; }
.topbar-inner{ display:flex; gap:28px; align-items:center; padding:9px 24px; flex-wrap:wrap; }
.topbar-item{ display:flex; align-items:center; gap:7px; }
.topbar-item a{ color:#D4B8B8; }
.topbar-item a:hover{ color: var(--accent); }
.topbar-address{ margin-left:auto; }

/* ---------- Header ---------- */
.site-header{ background:rgba(255,255,255,0.92); backdrop-filter:blur(12px); box-shadow: var(--shadow-sm); position:sticky; top:0; z-index:100; }
.header-inner{ display:flex; align-items:center; justify-content:space-between; padding:16px 24px; gap:20px; }
.brand{ display:flex; align-items:center; gap:12px; }
.brand-logo-img{ 
  height: 56px; 
  width: auto; 
  display: block; 
  object-fit: contain;
}

/* Responsive logo size */
@media (max-width: 768px) {
  .brand-logo-img {
    height: 44px;
  }
}

.footer-logo-wrap{ background:#fff; padding:12px 18px; border-radius:10px; display:inline-flex; margin-bottom:6px; }
.brand-icon{ width:46px; height:46px; border-radius:12px; background:linear-gradient(135deg,var(--teal),var(--navy)); color:#fff; display:flex; align-items:center; justify-content:center; font-size:20px; flex-shrink:0;}
.brand-text{ display:flex; flex-direction:column; line-height:1.1; }
.brand-name{ font-family: var(--font-head); font-weight:800; font-size:19px; color:var(--navy); }
.brand-accent{ color: var(--teal); }
.brand-tagline{ font-size:11px; color: var(--gray-500); font-weight:500; letter-spacing:.3px; }

.main-nav{ display:flex; gap:34px; }
.main-nav a{ font-weight:600; font-size:15px; color: var(--gray-700); position:relative; padding:6px 0; }
.main-nav a::after{ content:''; position:absolute; left:0; bottom:0; height:2.5px; width:0; background:var(--teal); transition:.3s; border-radius:2px;}
.main-nav a:hover::after, .main-nav a.active::after{ width:100%; }
.main-nav a:hover{ color: var(--navy); }

.header-cta{ display:flex; align-items:center; gap:16px; }
.nav-toggle{ display:none; background:none; border:none; font-size:22px; color:var(--navy); cursor:pointer; }

/* ---------- Hero ---------- */
.hero{
  background: linear-gradient(145deg, #0A0A0A 0%, #1A0A0A 40%, #2D1414 70%, #0A0A0A 100%);
  color:#fff; 
  position:relative; 
  overflow:hidden; 
  padding:100px 0 110px;
}

/* Right side black gradient overlay */
.hero::after{
  content:''; 
  position:absolute; 
  width:45%; 
  height:100%; 
  right:0; 
  top:0;
  background: linear-gradient(270deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
  z-index:1;
}

.hero-inner{ 
  display:grid; 
  grid-template-columns:1.1fr .9fr; 
  gap:56px; 
  align-items:center; 
  position:relative; 
  z-index:2;
}

.hero-eyebrow{ 
  display:inline-flex; 
  align-items:center; 
  gap:8px; 
  background:rgba(255,255,255,0.06); 
  padding:8px 20px; 
  border-radius:50px; 
  font-size:13px; 
  font-weight:600; 
  margin-bottom:22px;
  border:1px solid rgba(255,255,255,0.06);
}

.hero h1{ 
  color:#fff; 
  font-size:46px; 
  margin-bottom:20px; 
}

.hero h1 span{ 
  color: var(--accent);
}

.hero p{ 
  color:#C8B0B0; 
  font-size:18px; 
  margin-bottom:32px; 
  max-width:520px; 
}

/* ---------- HERO ACTIONS - BUTTONS ---------- */
.hero-actions{ 
  display:flex; 
  gap:16px; 
  flex-wrap:wrap; 
}

/* Primary Button with WHITE SHADOW */
.hero-actions .btn-primary{
  background: #C41E3A;
  color: #fff;
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-head);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.12),
              0 4px 20px rgba(255, 255, 255, 0.06),
              0 0 60px rgba(255, 255, 255, 0.04);
}

.hero-actions .btn-primary:hover{
  background: #8B1528;
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(255, 255, 255, 0.20),
              0 6px 25px rgba(255, 255, 255, 0.10),
              0 0 80px rgba(255, 255, 255, 0.06);
}

/* Outline Button */
.hero-actions .btn-outline{
  background: transparent;
  border: 2px solid rgba(255,255,255,0.25);
  color: #fff;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-head);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-actions .btn-outline:hover{
  background: rgba(255,255,255,0.08);
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.5);
  box-shadow: 0 8px 25px rgba(255,255,255,0.05);
}

/* ---------- HERO STATS ---------- */
.hero-stats{ 
  display:flex; 
  gap:36px; 
  margin-top:48px; 
  flex-wrap:wrap; 
}

.hero-stat h3{ 
  color:#fff; 
  font-size:30px; 
  font-weight:800;
}

.hero-stat span{ 
  color:#A88888; 
  font-size:13px; 
  font-weight:500;
}

/* ---------- HERO VISUAL CARDS ---------- */
.hero-visual{ 
  background:rgba(255,255,255,0.04); 
  border:1px solid rgba(255,255,255,0.08); 
  border-radius:24px; 
  padding:32px; 
  backdrop-filter:blur(12px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.hero-card{ 
  background:#000000;
  backdrop-filter:blur(8px);
  border:1px solid rgba(255,255,255,0.06);
  border-radius:16px; 
  padding:22px; 
  color:#fff; 
  margin-bottom:16px; 
  transition: all 0.3s ease;
  display:flex; 
  gap:16px; 
  align-items:flex-start;
}

.hero-card:last-child{margin-bottom:0;}

.hero-card:hover{
  background:rgba(255,255,255,0.08);
  transform: translateX(4px);
}

.hero-card i{ 
  font-size:22px; 
  color:#E63946; 
  background:rgba(230,57,70,0.12); 
  width:46px; 
  height:46px; 
  border-radius:12px; 
  display:flex; 
  align-items:center; 
  justify-content:center; 
  flex-shrink:0;
}

.hero-card h4{ 
  font-size:15px; 
  margin-bottom:4px;
  color:#fff;
}

.hero-card p{ 
  font-size:13px; 
  color:#B0A0A0; 
  margin:0; 
}

/* ---------- Section headers ---------- */
.section-head{ text-align:center; max-width:680px; margin:0 auto 56px; }
.eyebrow{ color: var(--teal); font-weight:700; letter-spacing:1.2px; text-transform:uppercase; font-size:13px; margin-bottom:10px; display:block;}
.section-head h2{ font-size:34px; margin-bottom:14px; }
.section-head p{ color: var(--gray-500); font-size:16px; }

/* ---------- Problem / Solution ---------- */
.two-col{ display:grid; grid-template-columns:1fr 1fr; gap:40px; }
.check-card{ background: var(--gray-50); border-radius:var(--radius); padding:36px; border:1px solid var(--gray-200);}
.check-card.solution{ background: var(--teal-light); border-color:#F5C8D2;}
.check-card h3{ font-size:21px; margin-bottom:22px; display:flex; align-items:center; gap:10px;}
.check-list li{ display:flex; gap:12px; margin-bottom:16px; font-size:15px; color:var(--gray-700); align-items:flex-start;}
.check-list i{ margin-top:3px; flex-shrink:0; }
.check-card:not(.solution) .check-list i{ color:#E63946; }
.check-card.solution .check-list i{ color: var(--teal); }

/* ---------- Service cards ---------- */
.services-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.service-card{ background:#fff; border:1px solid var(--gray-200); border-radius:var(--radius); padding:34px 28px; transition:.3s; box-shadow: var(--shadow-sm);}
.service-card:hover{ transform:translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--teal); }
.service-icon{ width:56px; height:56px; border-radius:14px; background: linear-gradient(135deg,var(--teal),var(--navy)); color:#fff; display:flex; align-items:center; justify-content:center; font-size:24px; margin-bottom:20px; }
.service-card h3{ font-size:19px; margin-bottom:10px; }
.service-card p{ color: var(--gray-500); font-size:14.5px; margin-bottom:18px;}
.service-link{ color: var(--teal); font-weight:700; font-size:14px; display:inline-flex; align-items:center; gap:6px;}
.service-link i{ transition:.25s; }
.service-card:hover .service-link i{ transform:translateX(4px); }

/* Service detail block (services.php) */
.service-detail{ display:grid; grid-template-columns:70px 1fr; gap:24px; padding:34px 0; border-bottom:1px solid var(--gray-200); }
.service-detail:last-child{ border-bottom:none; }
.service-detail .service-icon{ margin-bottom:0; }
.service-detail h3{ font-size:22px; margin-bottom:8px; }
.service-detail p{ color:var(--gray-500); }

/* ---------- Process steps ---------- */
.steps-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:30px; counter-reset:step; }
.step-card{ text-align:center; padding:20px; }
.step-num{ width:60px; height:60px; border-radius:50%; background: linear-gradient(135deg,var(--teal),var(--navy)); color:#fff; display:flex; align-items:center; justify-content:center; font-family:var(--font-head); font-weight:800; font-size:20px; margin:0 auto 20px; }
.step-card h4{ font-size:18px; margin-bottom:10px; }
.step-card p{ color: var(--gray-500); font-size:14.5px; }

/* ---------- Testimonials ---------- */
.testimonial-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:26px; }
.testimonial-card{ background:#fff; border:1px solid var(--gray-200); border-radius:var(--radius); padding:30px; box-shadow: var(--shadow-sm);}
.t-stars{ color:#FFB800; margin-bottom:14px; font-size:14px;}
.t-msg{ color:var(--gray-700); font-size:15px; margin-bottom:20px; }
.t-person{ display:flex; align-items:center; gap:12px; }
.t-avatar{ width:44px; height:44px; border-radius:50%; background: var(--teal-light); color:var(--teal-dark); display:flex; align-items:center; justify-content:center; font-weight:800; font-family:var(--font-head); }
.t-name{ font-weight:700; color:var(--navy); font-size:14.5px; }
.t-role{ font-size:12.5px; color:var(--gray-500); }

/* ---------- Stats band ---------- */
.stats-band{ background: var(--navy); color:#fff; }
.stats-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; text-align:center; }
.stat-item h3{ color:#fff; font-size:38px; }
.stat-item span{ color:#C8B0B0; font-size:13.5px; }

/* ---------- CTA band ---------- */
.cta-band{ background: linear-gradient(135deg, var(--teal-dark), var(--teal)); color:#fff; text-align:center; border-radius:24px; padding:56px 40px; margin:0 24px; }
.cta-band h2{ color:#fff; font-size:30px; margin-bottom:14px; }
.cta-band p{ color:#FDE8EC; margin-bottom:28px; max-width:560px; margin-left:auto; margin-right:auto;}

/* ---------- Forms ---------- */
.form-card{ background:#fff; border-radius:var(--radius); box-shadow: var(--shadow-md); padding:40px; border:1px solid var(--gray-200);}
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.form-group{ margin-bottom:20px; }
.form-group label{ display:block; font-weight:600; font-size:14px; color:var(--navy); margin-bottom:7px; }
.form-group input, .form-group select, .form-group textarea{
  width:100%; padding:13px 16px; border:1.5px solid var(--gray-200); border-radius:10px;
  font-family: var(--font-body); font-size:14.5px; color:var(--gray-900); transition:.2s;
  background: var(--gray-50);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus{
  outline:none; border-color: var(--teal); background:#fff; box-shadow:0 0 0 4px rgba(196,30,58,0.12);
}
.form-group textarea{ resize:vertical; min-height:120px; }
.alert{ padding:16px 20px; border-radius:10px; margin-bottom:24px; font-size:14.5px; display:flex; align-items:center; gap:10px;}
.alert-success{ background:#FDE8EC; color:#8B1528; border:1px solid #F5C8D2; }
.alert-error{ background:#FFF0EB; color:#CC5533; border:1px solid #FFCDB8; }

/* ---------- Contact info cards ---------- */
.contact-info-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-bottom:56px; }
.info-card{ background: var(--gray-50); border-radius:var(--radius); padding:30px; text-align:center; border:1px solid var(--gray-200); transition:.3s; }
.info-card:hover{ transform:translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--teal); }
.info-card i{ width:54px; height:54px; border-radius:50%; background: linear-gradient(135deg,var(--teal),var(--navy)); color:#fff; display:flex; align-items:center; justify-content:center; margin:0 auto 16px; font-size:20px;}
.info-card h4{ font-size:16px; margin-bottom:6px; }
.info-card p, .info-card a{ color: var(--gray-500); font-size:14.5px; }
.info-card a:hover{ color: var(--teal); }

/* ---------- Page banner (interior pages) ---------- */
.page-banner{ background: linear-gradient(135deg, var(--navy), var(--teal-dark)); color:#fff; padding:70px 0; text-align:center; }
.page-banner h1{ color:#fff; font-size:36px; margin-bottom:10px; }
.page-banner .crumb{ color:#D4B8B8; font-size:14px; }
.page-banner .crumb a{ color:#fff; font-weight:600;}

/* ---------- About page ---------- */
.about-grid{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
.about-grid img{ border-radius:var(--radius); box-shadow: var(--shadow-lg); }
.value-list li{ display:flex; gap:14px; margin-bottom:18px; align-items:flex-start; }
.value-list i{ color:var(--teal); font-size:20px; margin-top:2px; }
.value-list h4{ font-size:16px; margin-bottom:4px; }
.value-list p{ font-size:14px; color:var(--gray-500); }

/* ---------- Footer ---------- */
.site-footer{ background: var(--navy); color:#C8B0B0; padding-top:70px; }
.footer-grid{ display:grid; grid-template-columns:2fr 1fr 1fr 1.3fr; gap:40px; padding-bottom:50px; }
.footer-col h4{ color:#fff; font-size:16px; margin-bottom:20px; }
.footer-col p{ font-size:14px; color:#A88888; margin:16px 0; }
.footer-col ul li{ margin-bottom:12px; }
.footer-col ul li a{ font-size:14px; color:#A88888; }
.footer-col ul li a:hover{ color: var(--accent); }
.footer-contact li{ display:flex; gap:10px; align-items:flex-start; font-size:13.5px; }
.footer-contact i{ color: var(--accent); margin-top:3px; }
.social-links{ display:flex; gap:10px; }
.social-links a{ width:38px; height:38px; border-radius:50%; background: rgba(255,255,255,.08); display:flex; align-items:center; justify-content:center; transition:.25s; }
.social-links a:hover{ background: var(--teal); transform:translateY(-3px); }
.footer-bottom{ border-top:1px solid rgba(255,255,255,.08); padding:22px 0; }
.footer-bottom-inner{ display:flex; justify-content:space-between; font-size:13px; color:#887070; flex-wrap:wrap; gap:8px;}

#scrollTop{ position:fixed; bottom:26px; right:26px; width:46px; height:46px; border-radius:50%; background:var(--teal); color:#fff; border:none; font-size:16px; cursor:pointer; box-shadow: var(--shadow-md); opacity:0; visibility:hidden; transition:.3s; z-index:99;}
#scrollTop.show{ opacity:1; visibility:visible; }
#scrollTop:hover{ background:var(--teal-dark); transform:translateY(-3px); }

/* ---------- Responsive ---------- */
@media(max-width:980px){
  .hero-inner{ grid-template-columns:1fr; gap:40px; }
  .hero::after{ display:none; }
  .two-col, .services-grid, .steps-grid, .testimonial-grid, .contact-info-grid, .about-grid{ grid-template-columns:1fr; }
  .stats-grid{ grid-template-columns:repeat(2,1fr); }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .form-row{ grid-template-columns:1fr; }
}
@media(max-width:768px){
  .main-nav{ position:fixed; top:0; right:-280px; width:280px; height:100vh; background:#fff; flex-direction:column; padding:100px 30px; gap:24px; box-shadow:-10px 0 30px rgba(0,0,0,.1); transition:.3s; z-index:200; }
  .main-nav.open{ right:0; }
  .nav-toggle{ display:block; z-index:300; }
  .topbar-address{ display:none; }
  .hero{ padding:60px 0 70px; }
  .hero h1{ font-size:32px; }
  .hero-actions{ flex-direction:column; align-items:flex-start; }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline{ width:100%; justify-content:center; }
  .hero-stats{ gap:24px; }
  .hero-stat h3{ font-size:24px; }
  .hero-visual{ padding:20px; }
  .footer-grid{ grid-template-columns:1fr; }
  .footer-bottom-inner{ flex-direction:column; text-align:center; }
  .brand-logo-img{ height:44px; }
}