/*
Theme Name: Raiseque Healthcare
Theme URI: https://raiseque.in/
Author: Raiseque Agency
Author URI: https://raiseque.in/
Description: AI Healthcare Digital Marketing Agency Theme for Doctors, Clinics & Hospitals
Version: 3.5.0
License: GNU General Public License v2 or later
Text Domain: raiseque-theme
*/

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@500;600;700&family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@600;700;800&display=swap');

/* ==========================================================================
   RAISEQUE BRAND DESIGN SYSTEM — NON-NEGOTIABLE EXACT HEX PALETTE
   ========================================================================== */

:root {
  --rq-navy: #222831;        /* primary dark color, headings, footer, dark sections */
  --rq-navy-2: #2B323C;      /* lighter navy — hover states on dark surfaces */
  --rq-green: #94DC59;       /* exact brand green — accent color. Text on it MUST be dark navy */
  --rq-green-dark: #6FBF3D;  /* darker green — hover/pressed state for green buttons */
  --rq-green-ink: #4F8B1E;   /* darkened, accessible green for text/links on light BG */
  --rq-green-tint: #EAF7DE;  /* pale green tint — card/hover backgrounds */
  --rq-paper: #F6F8F6;       /* main light background — cool off-white */
  --rq-paper-2: #ECF1EA;     /* secondary light section background for alternating rhythm */
  --rq-ink: #1B2027;         /* body text color */
  --rq-ink-soft: #4A535C;    /* secondary/muted text */
  --rq-line: rgba(27,32,39,.10); /* borders and dividers */
  --rq-warn: #D64545;        /* ONLY for problem markers (✕ icons) */

  --rq-font-heading: 'Space Grotesk', sans-serif;
  --rq-font-body: 'Inter', sans-serif;
  --rq-font-mono: 'IBM Plex Mono', monospace;

  --rq-logo-width: 180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--rq-font-body);
  background-color: var(--rq-paper);
  color: var(--rq-ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* KEYFRAME ANIMATIONS */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 15px rgba(148, 220, 89, 0.2); }
  50% { box-shadow: 0 0 30px rgba(148, 220, 89, 0.5); }
}

.anim-float {
  animation: float 4s ease-in-out infinite;
}

.anim-glow {
  animation: pulseGlow 3s ease-in-out infinite;
}

/* TYPOGRAPHY RULES */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--rq-font-heading);
  color: var(--rq-navy);
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  color: var(--rq-ink-soft);
}

.mono-text {
  font-family: var(--rq-font-mono) !important;
}

.text-green-ink {
  color: var(--rq-green-ink) !important;
}

.text-navy {
  color: var(--rq-navy) !important;
}

/* EYEBROW / KICKER BADGE */
.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--rq-green-tint);
  color: var(--rq-green-ink);
  border: 1px solid rgba(79, 139, 30, 0.2);
  font-family: var(--rq-font-mono);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(30px, 4.2vw, 44px);
  font-weight: 800;
  color: var(--rq-navy);
  line-height: 1.18;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--rq-ink-soft);
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
  line-height: 1.6;
}

/* GLOBAL BUTTON SYSTEM */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--rq-green) !important;
  color: var(--rq-navy) !important;
  font-family: var(--rq-font-body);
  font-weight: 700 !important;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 999px !important;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(148, 220, 89, 0.35);
  transition: all 150ms ease;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap !important;
}

.btn-primary:hover {
  background: var(--rq-green-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(148, 220, 89, 0.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  color: var(--rq-ink) !important;
  font-family: var(--rq-font-body);
  font-weight: 600 !important;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 999px !important;
  border: 1px solid var(--rq-line) !important;
  cursor: pointer;
  transition: all 150ms ease;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap !important;
}

.btn-secondary:hover {
  border-color: var(--rq-green) !important;
  color: var(--rq-green-ink) !important;
  background: var(--rq-green-tint) !important;
}

.btn-ghost-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  color: #ffffff !important;
  font-family: var(--rq-font-body);
  font-weight: 600 !important;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 999px !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  cursor: pointer;
  transition: all 150ms ease;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap !important;
}

.btn-ghost-dark:hover {
  border-color: var(--rq-green) !important;
  color: var(--rq-green) !important;
  background: rgba(148, 220, 89, 0.1) !important;
}

/* HEADER & STICKY NAVIGATION */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(246, 248, 246, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rq-line);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
}

.site-logo img {
  max-width: var(--rq-logo-width, 180px);
  height: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
}

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-link {
  color: var(--rq-ink-soft) !important;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 150ms ease;
  text-decoration: none;
  white-space: nowrap !important;
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 4px !important;
}

.nav-link:hover, .nav-item:hover > .nav-link {
  background: var(--rq-green-tint);
  color: var(--rq-green-ink) !important;
}

/* COMPACT MEGAMENU PANELS */
.megamenu-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  transform: translateY(6px);
  background: #ffffff;
  border: 1px solid var(--rq-line);
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(27, 32, 39, 0.14);
  padding: 16px;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 150ms ease;
}

.nav-item:hover .megamenu-panel,
.nav-item:focus-within .megamenu-panel {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.megamenu-services {
  width: 580px;
}

.megamenu-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 12px;
}

.megamenu-item {
  display: flex;
  flex-direction: column;
  padding: 6px 10px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 150ms ease;
}

.megamenu-item:hover {
  background: var(--rq-green-tint);
}

.megamenu-item-title {
  color: var(--rq-navy);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.25;
}

.megamenu-item-desc {
  color: var(--rq-ink-soft);
  font-size: 11.5px;
  margin-top: 1px;
  line-height: 1.2;
}

.megamenu-footer {
  border-top: 1px solid var(--rq-line);
  margin-top: 10px;
  padding-top: 8px;
  text-align: right;
}

.megamenu-footer a {
  color: var(--rq-green-ink);
  font-family: var(--rq-font-mono);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.megamenu-specialties {
  width: 440px;
}

.megamenu-grid-dense {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 10px;
}

/* CARDS SYSTEM */
.rq-card {
  background: #ffffff;
  border: 1px solid var(--rq-line);
  border-radius: 10px;
  padding: 24px;
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.rq-card:hover {
  border-color: var(--rq-green);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(27, 32, 39, 0.08);
}

.rq-card-icon {
  font-size: 28px;
  line-height: 1;
  margin-bottom: 14px;
  display: inline-block;
}

section {
  padding: 80px 0;
}

@media (max-width: 768px) {
  section {
    padding: 56px 0;
  }
}

.bg-paper { background-color: var(--rq-paper) !important; }
.bg-white { background-color: #ffffff !important; }
.bg-paper-2 { background-color: var(--rq-paper-2) !important; }
.bg-navy { background-color: var(--rq-navy) !important; color: #ffffff !important; }

.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 {
  color: #ffffff !important;
}

.bg-navy p {
  color: rgba(255, 255, 255, 0.8) !important;
}

.warn-icon {
  color: var(--rq-warn) !important;
  font-weight: 800;
  font-family: var(--rq-font-mono);
}
