/*
Theme Name: CompassionateCare
Theme URI: https://compassionatecare.example.com
Author: Compassionate Care Dev Team
Author URI: https://compassionatecare.example.com
Description: A premium, modern, fully responsive WordPress theme for senior care, home health nursing, assisted living, and medical care services. Features interactive care cost estimator, custom post types for services & team members, emergency hotline header, booking modal, and elegant healthcare aesthetics.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: compassionatecare
Tags: healthcare, medical, senior-care, home-health, custom-theme, responsive-layout, full-width-template, custom-menu, custom-logo, post-formats, theme-options

CompassionateCare WordPress Theme, (C) 2026 Compassionate Care Inc.
*/

/* ==========================================================================
   1. DESIGN TOKENS & CSS VARIABLES
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Questrial&display=swap');

:root {
  /* Color Palette - Medical Emerald & Warm Teal Theme */
  --primary: #0d9488;
  --primary-hover: #0f766e;
  --primary-light: #ccfbf1;
  --primary-gradient: linear-gradient(135deg, #0d9488 0%, #0284c7 100%);
  --secondary: #e11d48;
  --secondary-hover: #be123c;
  --secondary-light: #ffe4e6;
  --accent: #f59e0b;
  --accent-light: #fef3c7;

  /* Neutral Tones */
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-alt: #f1f5f9;
  --bg-dark: #0f172a;
  --bg-dark-card: #1e293b;

  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;

  --border-light: #e2e8f0;
  --border-focus: #14b8a6;

  /* Status Colors */
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;

  /* Typography */
  --font-heading: 'Trebuchet MS', sans-serif;
  --font-body: 'Trebuchet MS', sans-serif;

  /* Elevation & Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 25px rgba(13, 148, 136, 0.25);

  /* Border Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: all 0.2s ease;
  --transition-normal: all 0.3s ease;
  --transition-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout Dimensions */
  --container-width: 1140px;
  --header-height: 80px;
  --topbar-height: 42px;
  --font-family-type-two: "Questrial", sans-serif;

}

/* ==========================================================================
   2. MODERN CSS RESET & BASE STYLES
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-main);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-color: #fff;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition-fast);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

h1 {
  font-size: 2.75rem;
}

h2 {
  font-size: 2.25rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.35rem;
}

h5 {
  font-size: 1.15rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}

ul,
ol {
  list-style-position: inside;
  margin-bottom: 1.25rem;
}

/* ==========================================================================
   3. LAYOUT & CONTAINERS
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  /* padding-left: 1.5rem;
  padding-right: 1.5rem; */
}

.site-main {
  flex: 1 0 auto;
}

.section-padding {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
}

.section-subtitle {
  display: inline-block;
  padding: 0.35rem 1rem;
  background-color: var(--primary-light);
  color: var(--primary-hover);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.125rem;
  color: var(--text-muted);
}

/* Grid Utilities */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* ==========================================================================
   4. BUTTONS & INTERACTIVE ELEMENTS
   ========================================================================== */
.btn {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0px;
  fill: #FFFFFF;
  color: #FFFFFF;
  background-color: #0479d1;
  border-radius: 30px 30px 30px 30px;
  padding: 15px 25px 15px 25px;
  font-family: var(--font-family-type-two);
}

.btn-primary {
  background: var(--primary-gradient);
  color: var(--text-white);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(13, 148, 136, 0.4);
  color: var(--text-white);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--text-white);
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-2px);
  color: var(--text-white);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--text-white);
}

.btn-white {
  background-color: var(--bg-card);
  color: var(--primary-hover);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background-color: var(--primary-light);
  color: var(--primary-hover);
}

.btn-sm {
  padding: 0.5rem 1.15rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1.1rem 2.25rem;
  font-size: 1.125rem;
}

/* ==========================================================================
   5. HEADER & TOPBAR STYLES
   ========================================================================== */
.topbar {
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-size: 0.875rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.topbar-item svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

.topbar-emergency {
  background: linear-gradient(90deg, #ef4444, #e11d48);
  color: white;
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
  0% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6);
  }

  70% {
    box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

/* Main Site Navigation Header */
/* .site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
} */

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding: 10px;
}

/* Logo */
/* .site-branding {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
} */
.custom-logo {
  width: 80%;
  max-width: 100%;
}

.brand-icon {
  width: 46px;
  height: 46px;
  background: var(--primary-gradient);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: var(--shadow-md);
}

.brand-icon svg {
  width: 26px;
  height: 26px;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--bg-dark);
  line-height: 1.1;
  display: flex;
  flex-direction: column;
}

.brand-title span.tagline {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* .btn-pill-primary {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0px;
  fill: #FFFFFF;
  color: #FFFFFF;
  background-color: #0479d1;
  border-radius: 30px 30px 30px 30px;
  padding: 15px 25px 15px 25px;
} */



/* Primary Navigation Menu & Dropdowns */
.primary-navigation>ul,
.primary-navigation #primary-menu-list {
  display: flex;
  align-items: center;

  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-navigation li {
  position: relative;
}

.primary-navigation a {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #000000;
  font-size: 18px;
  position: relative;
  padding: 15px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  transition: var(--transition-fast);
}

.primary-navigation a:hover,
.primary-navigation .current-menu-item>a {
  color: #053d68;
}

.dropdown-chevron {
  transition: transform 0.25s ease;
  color: #0f172a;
}

.primary-navigation li:hover>a .dropdown-chevron,
.primary-navigation li.menu-item-has-children:hover>a .dropdown-chevron {
  transform: rotate(180deg);
  color: #007ce2;
}

/* Dropdown Card Sub-menu */
.primary-navigation ul .sub-menu,
.primary-navigation .dropdown-menu {
  position: absolute;

  border-width: 0;

  background-color: #fff;
  font-size: 16px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
  min-width: 360px;
  max-width: 1000px;
  display: block;
  margin-top: 5px;
  border-radius: 15px;
  top: 100%;
  overflow: hidden;
}

.primary-navigation li:hover>.sub-menu,
.primary-navigation li:focus-within>.sub-menu,
.primary-navigation li:hover>.dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);

}



.primary-navigation ul .sub-menu li,
.primary-navigation .dropdown-menu li {
  width: 100%;
}

.primary-navigation ul .sub-menu a,
.primary-navigation .dropdown-menu a {
  font-size: 16px;
  font-weight: 500;
  color: #334155;
  padding: 15px 20px;
  width: 100%;
  box-sizing: border-box;
  display: block;
  line-height: 1.45;
  transition: all 0.2s ease;
}

.primary-navigation ul .sub-menu a:hover,
.primary-navigation .dropdown-menu a:hover {
  background-color: #0479d1;
  color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-main);
}

/* ==========================================================================
   6. HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #f0fdf4 0%, #e0f2fe 50%, #f8fafc 100%);
  padding: 5rem 0 6rem 0;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-hover);
  margin-bottom: 1.5rem;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--success);
  border-radius: 50%;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--bg-dark);
  margin-bottom: 1.5rem;
}

.hero-title span {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-features-strip {
  display: flex;
  gap: 2rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1.75rem;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.925rem;
  color: var(--text-main);
}

.hero-feature-item svg {
  color: var(--primary);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Hero Card Graphic / Quick Estimate Widget */
.hero-card-wrapper {
  position: relative;
}

.hero-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
}

.hero-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--bg-dark);
}

.hero-card-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.hero-float-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--bg-dark);
  color: white;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-float-badge .number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

/* ==========================================================================
   7. CARE SERVICES & CARDS
   ========================================================================== */
.services-section {
  background-color: var(--bg-main);
}

.care-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.care-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-gradient);
  opacity: 0;
  transition: var(--transition-fast);
}

.care-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(13, 148, 136, 0.3);
}

.care-card:hover::before {
  opacity: 1;
}

.care-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: var(--transition-bounce);
}

.care-card:hover .care-icon {
  background: var(--primary);
  color: white;
  transform: scale(1.08);
}

.care-icon svg {
  width: 32px;
  height: 32px;
}

.care-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.care-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  flex: 1 0 auto;
  margin-bottom: 1.5rem;
}

.care-features {
  list-style: none;
  margin-bottom: 1.5rem;
  padding: 0;
}

.care-features li {
  font-size: 0.875rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.care-features li svg {
  color: var(--success);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ==========================================================================
   8. CARE COST ESTIMATOR CALCULATOR WIDGET
   ========================================================================== */
.calculator-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  box-shadow: var(--shadow-xl);
  margin-top: 2rem;
  margin-bottom: 4rem;
}

.calculator-section h2 {
  color: white;
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 2rem;
}

.calc-control-group {
  margin-bottom: 1.75rem;
}

.calc-label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--text-light);
}

.calc-select,
.calc-range {
  width: 100%;
  padding: 0.85rem;
  background-color: #334155;
  border: 1px solid #475569;
  border-radius: var(--radius-sm);
  color: white;
  outline: none;
}

.calc-select:focus {
  border-color: var(--primary-hover);
}

.calc-range-output {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--primary-light);
  margin-top: 0.5rem;
  font-weight: 700;
}

.calc-result-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  text-align: center;
  backdrop-filter: blur(10px);
}

.calc-price-amount {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin: 1rem 0;
}

.calc-note {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 1rem;
}

/* ==========================================================================
   9. CAREGIVER & TEAM MEMBERS
   ========================================================================== */
.team-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition-normal);
  text-align: center;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.team-avatar-wrapper {
  height: 260px;
  background-color: var(--bg-alt);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-avatar-wrapper svg {
  width: 100px;
  height: 100px;
  color: var(--text-light);
}

.team-info {
  padding: 1.5rem;
}

.team-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.team-role {
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.team-badge {
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  background-color: var(--primary-light);
  color: var(--primary-hover);
  border-radius: var(--radius-full);
  font-weight: 600;
}

/* ==========================================================================
   10. TESTIMONIALS & RATING
   ========================================================================== */
.testimonial-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  position: relative;
}

.rating-stars {
  color: var(--accent);
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1rem;
}

.testimonial-quote {
  font-style: italic;
  color: var(--text-main);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.author-details h5 {
  margin: 0;
  font-size: 1rem;
}

.author-details span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   11. FAQ ACCORDION
   ========================================================================== */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  color: var(--primary);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.25rem 1.5rem;
}

/* ==========================================================================
   12. FORM STYLES & MODAL
   ========================================================================== */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  background-color: white;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.2);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Modal Window */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
  padding: 1.5rem;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: white;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px);
  transition: var(--transition-normal);
}

.modal-overlay.active .modal-container {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--bg-alt);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.modal-close:hover {
  background: var(--secondary-light);
  color: var(--secondary);
}

/* custom css */
.custom-accordian .e-n-accordion {
  width: 100%;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.custom-accordian .e-n-accordion .e-n-accordion-item {
  width: calc(50% - 10px);
}

.gradient-background {
  background-color: hsla(201, 74%, 87%, 1);
  background-image: radial-gradient(at 80% 0%, hsla(189, 90%, 73%, 1) 0px, transparent 50%), radial-gradient(at 0% 0%, hsla(339, 0%, 100%, 1) 0px, transparent 50%);
}

.healingSection {
  position: relative;
}

header {
  position: fixed;
  top: 50px;
  left: 0;
  right: 0;
  z-index: 99;

}

.accordian-single .e-n-accordion .e-n-accordion-item {
  width: 100%;
}

/* .elementskit-nav-identity-panel {
  text-align: center;
} */
.elementskit-submenu-panel {
  overflow: hidden;
}

/* .patient-img {
  position: relative;
} */

/* .img-two,
.img-one,
.img-three {
  position: absolute;
  left: -43px !important;
}

.img-two {
  left: -60px;
  z-index: 1;
}

.img-three {
  right: -60px !important;
  left: unset !important;
  z-index: 6;
} */

.img-two img,
.img-one img,
.img-three img {
  width: 50% !important;
  border-style: solid;
  border-width: 2px 2px 2px 2px;
  border-color: #FFFFFF;
  border-radius: 40px 40px 40px 40px !important;
}

.img-two {
  position: absolute;
}

.arrow-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #0479d1;
  color: #fff;
  transition: all 0.5s ease;
}


.arrow-icon:hover {
  transform: rotate(35deg);
}

.arrow-icon .elementor-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.arrow-icon .elementor-icon-wrapper svg {
  fill: #fff;
}

.healing-cards:hover * {
  color: #fff !important;
}

.arrow-icon {
  opacity: 0;
}
.arrow-icon.patients-arrow{
  opacity: 1;
}
.healing-cards:hover .arrow-icon {
  opacity: 1;
  transform: rotate(35deg);
}

.e-opened,
.e-closed {
  background-color: #0479d1;
  width: 25px !important;
  height: 25px !important;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.accordian-content {
  border: 1px solid #0479d1;
  background-color: #effaff;
}

.e-opened:hover,
.e-closed:hover {
  background-color: #000;
}

.e-opened svg,
.e-closed svg {
  fill: #fff !important;
}

.sticky-header {
  width: 100%;
  z-index: 9999;
  transition: background-color 1s ease !important;
  animation: slideInDown;
}

.sticky-header.scrolled {
  position: fixed !important;
  top: 0;
  /* left: 0; */
  width: 100%;
  background-color: #ffffff !important;
  z-index: 99999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.custom-contact-form .cf7-custom-form {
  max-width: 100%;
  border-radius: 20px 20px 20px 20px;
  box-shadow: 0px 0px 69px 0px rgba(0, 0, 0, 0.15);
  padding: 6%;
}

.custom-contact-form .cf7-custom-form br {
  display: none;
}

.custom-contact-form .cf7-custom-form label {
  font-size: 18px;
  font-family: 'Questrial', sans-serif;
  color: #000;
  width: 100%;
  display: block;
}

.custom-contact-form .cf7-custom-form .cf7-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
}

.custom-contact-form .cf7-custom-form .cf7-row .cf7-field {
  width: calc(100% / 2 - 10px);
}

.custom-contact-form .cf7-custom-form input:not([type=checkbox]),
.custom-contact-form .cf7-custom-form select,
.custom-contact-form .cf7-custom-form textarea {
  padding: 14px 24px;
  height: auto;
  border-radius: 8px;
  border: 1px solid #69727D;
  background-color: #fff;
  color: #1f2124;
  width: 100%;
}

.custom-contact-form .cf7-custom-form  label span:not(.wpcf7-list-item-label) {
  color: red;
}

.custom-contact-form .cf7-custom-form select {
  padding: 18px 24px;
}

.wpcf7-list-item-label {
  font-size: 16px;
  color: #000;
}

.custom-contact-form .cf7-submit p input[type=submit] {
  font-size: 18px;
  border-style: solid;
  border-width: 1px 1px 1px 1px;
  border-radius: 30px 30px 30px 30px;
  color: #ffffff;
  background-color: #0479d1;
  min-height: 47px;
  padding: 15px 30px;
  border: none;
}

.contact-us .cf7-row .date-feild{
  display: none;
}
.contact-us  .full-row .full-width{
  width: 100%!important;
}
.custom-listing{
  position: relative;
}
.custom-listing::before {
    content: '';
    position: absolute;
    top: 10px;
    left: -20px;
    width: 8px;
    height: 8px;
    background-color: #000;
    z-index: 1;
    border-radius: 100%;
}
@media screen and (max-width: 767px) {
.custom-contact-form .cf7-custom-form .cf7-row{
  flex-direction: column;
}
.custom-contact-form .cf7-custom-form .cf7-row .cf7-field{
  width: 100%;
}
}

/* @media screen  */
@media screen and (max-width: 575px) {

  .custom-accordian .e-n-accordion {
    width: 100%;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
  }

  .custom-accordian .e-n-accordion .e-n-accordion-item {
    width: 100%;
  }
header {
  
  top: 20px;

}
}

@keyframes slideInDown {
  from {
    transform: translate3d(0, -100%, 0);
    visibility: visible
  }

  to {
    transform: translate3d(0, 0, 0)
  }
}

.slideInDown {
  animation-name: slideInDown
}

/* ==========================================================================
   14. RESPONSIVE DESIGN MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .calculator-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .topbar-info {
    display: none;
  }

  .primary-navigation {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: white;
    box-shadow: var(--shadow-lg);
    padding: 2rem;
    display: none;
  }

  .primary-navigation.active {
    display: block;
  }

  .primary-navigation ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .calculator-section {
    padding: 2rem 1.5rem;
  }
}

/* ==========================================================================
   CUSTOM FOOTER STYLES
   ========================================================================== */


.site-footer {
  border-radius: 20px;
  background-color: hsla(201, 74%, 87%, 1);
  background-image: radial-gradient(at 80% 0%, hsla(189, 90%, 73%, 1) 0px, transparent 50%), radial-gradient(at 0% 0%, hsla(339, 0%, 100%, 1) 0px, transparent 50%);
  padding: 50px 0px;
}


.custom-footer-cta {
  text-align: center;
}

.custom-footer-cta h2 {
  color: #000000;
  font-family: "Trebuchet MS", Sans-serif;
  font-weight: 600;
  text-transform: capitalize;
  line-height: 55px;
  margin-bottom: 0;
}

.custom-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 3rem;
}

.custom-footer-title {
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  color: #1b3c74;
}

.footer-contact-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 18px;
  color: #000;
  line-height: 1.4;
  font-family: var(--font-family-type-two);
}

.contact-line svg {
  flex-shrink: 0;
}

.contact-link {
  color: #000;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-link:hover {
  color: #0479d1;
  text-decoration: underline;
}

.hipaa-badge-box {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  border: 1px solid #93c5fd;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hipaa-badge-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.2);
}

.custom-footer-menu,
.widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.custom-footer-menu a,
.widget a {
  font-size: 18px;
  color: #000;
  text-decoration: none;
  font-family: var(--font-family-type-two);
  display: inline-flex;
  gap: 0.4rem;
  transition: all 0.2s ease;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.custom-footer-cta {
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
}

.custom-footer-menu a:hover {
  color: #0479d1;
}

.chevron-icon {
  font-weight: 700;
  font-size: 1.15rem;
  color: #0f172a;
}

.footer-divider {
  height: 1px;
  background: rgba(15, 23, 42, 0.18);
  margin-bottom: 1.5rem;
}

.bottom-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  color: #1e293b;
  font-weight: 600;
}

.copyright-text {
  font-size: 18px;
  font-weight: 400;
  color: #1b3c74;

}

.legal-links {
  display: flex;
  align-items: center;
  font-size: 18px;
  color: #1b3c74;
}

.legal-links a {
  color: #000;
  text-decoration: none;
  font-weight: normal;
}

.legal-links a:hover {
  color: #0479d1;
}

.legal-links .sep {
  color: #64748b;
}

.social-fb-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: #0479d1;
  color: #ffffff !important;
  border-radius: 50%;
  margin-left: 0.75rem;
  transition: transform 0.2s ease;
}

.social-fb-icon:hover {
  transform: scale(1.1);
}

@media (max-width: 991px) {
  .custom-footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .bottom-flex {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}